@lovrabet/lovrabet-cli 2.3.5-beta.2 → 2.3.6-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.js +1 -1
- package/lib/commands/artifact/index.js +1 -1
- package/lib/commands/auth/device.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/auth/prompt.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/exec.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/common/config-policy.js +1 -1
- package/lib/commands/common/constraints.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/config/definitions.js +1 -1
- package/lib/commands/config/init.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/import-excel.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/sdk-doc.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/notification/shared.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/permit/dataset-get.js +1 -1
- package/lib/commands/permit/dataset-set.js +1 -1
- package/lib/commands/permit/index.js +1 -1
- package/lib/commands/permit/page-get.js +1 -1
- package/lib/commands/permit/page-set.js +1 -1
- package/lib/commands/permit/role-menus-set.js +1 -1
- package/lib/commands/permit/role-menus.js +1 -1
- package/lib/commands/permit/shared.js +1 -1
- package/lib/commands/personal-bff/index.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/role/create.js +1 -1
- package/lib/commands/role/delete.js +1 -1
- package/lib/commands/role/detail.js +1 -1
- package/lib/commands/role/index.js +1 -1
- package/lib/commands/role/list.js +1 -1
- package/lib/commands/role/shared.js +1 -1
- package/lib/commands/role/update.js +1 -1
- package/lib/commands/role/user-add.js +1 -1
- package/lib/commands/role/user-remove.js +1 -1
- package/lib/commands/schedule/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/service/dynamic.js +1 -1
- package/lib/commands/service/function-name-adapter.js +1 -1
- package/lib/commands/service/index.js +1 -1
- package/lib/commands/service/registry.js +1 -1
- package/lib/commands/skill/commands/create.js +1 -1
- package/lib/commands/skill/commands/diagram.js +1 -1
- package/lib/commands/skill/commands/install.js +1 -1
- package/lib/commands/skill/commands/list.js +1 -1
- package/lib/commands/skill/commands/push.js +1 -1
- package/lib/commands/skill/commands/validate.js +1 -1
- package/lib/commands/skill/diagram.js +1 -1
- package/lib/commands/skill/flags.js +1 -1
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/skill/manifest-helpers.js +1 -1
- package/lib/commands/skill/push-execute.js +1 -1
- package/lib/commands/skill/push-flow-helpers.js +1 -1
- package/lib/commands/skill/push-retarget.js +1 -1
- package/lib/commands/skill/scopes.js +1 -1
- package/lib/commands/skill/summary.js +1 -1
- package/lib/commands/skill/templates.js +1 -1
- package/lib/commands/skill/validate.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/update.js +1 -1
- package/lib/commands/user-account/bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/config/domain-config.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/app.js +1 -1
- package/lib/constant/auth-mode.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/distribution.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/product.js +1 -1
- package/lib/constant/region.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/url.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/api-client.d.ts +10 -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/access-error.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/dryrun.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/preparse.js +1 -1
- package/lib/framework/rate-limit.js +1 -1
- package/lib/framework/raw-flags.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-confirmation.js +1 -1
- package/lib/framework/runner-error.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/service-order.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.d.ts +4 -4
- package/lib/generated/build-info.js +1 -1
- package/lib/generated/official-routing.js +1 -1
- package/lib/generated/routing-contract.js +1 -1
- package/lib/help.js +1 -1
- package/lib/postinstall.js +1 -1
- package/lib/runtime/confirmation.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/services/dataset-import/auto-id-runner.d.ts +3 -1
- package/lib/services/dataset-import/auto-id-runner.js +1 -1
- package/lib/services/dataset-import/excel-reader.js +1 -1
- package/lib/services/dataset-import/image-bytes.d.ts +3 -0
- package/lib/services/dataset-import/image-bytes.js +1 -0
- package/lib/services/dataset-import/image-ooxml.d.ts +10 -0
- package/lib/services/dataset-import/image-ooxml.js +1 -0
- package/lib/services/dataset-import/image-runner.d.ts +48 -0
- package/lib/services/dataset-import/image-runner.js +1 -0
- package/lib/services/dataset-import/metadata.js +1 -1
- package/lib/services/dataset-import/preview.js +1 -1
- package/lib/services/dataset-import/runner.d.ts +10 -1
- package/lib/services/dataset-import/runner.js +1 -1
- package/lib/services/dataset-import/types.d.ts +28 -1
- package/lib/skills/builtin-skill.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/runtime-skill-sync/constants.js +1 -1
- package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
- package/lib/skills/runtime-skill-sync/hashing.js +1 -1
- package/lib/skills/runtime-skill-sync/install-target.js +1 -1
- package/lib/skills/runtime-skill-sync/links.js +1 -1
- package/lib/skills/runtime-skill-sync/list-local.js +1 -1
- package/lib/skills/runtime-skill-sync/local-files.js +1 -1
- package/lib/skills/runtime-skill-sync/materialize.js +1 -1
- package/lib/skills/runtime-skill-sync/metadata.js +1 -1
- package/lib/skills/runtime-skill-sync/paths.js +1 -1
- package/lib/skills/runtime-skill-sync/push.js +1 -1
- package/lib/skills/runtime-skill-sync/scopes.js +1 -1
- package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
- package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
- package/lib/skills/runtime-skill-sync.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/utils/access-key-redaction.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/lossless-json.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/positive-safe-integer.js +1 -1
- package/lib/utils/redaction.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +4 -1
- package/skills/lovrabet/SKILL.md +3 -1
- package/skills/lovrabet/references/lovrabet-excel-import.md +19 -0
- package/skills/lovrabet.manifest.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x389a3a,_0x3d62eb){const _0x1669d7=a117_0x2a6f,_0x1dde8d=_0x389a3a();while(!![]){try{const _0x2d6ecc=parseInt(_0x1669d7(0xcd))/0x1+-parseInt(_0x1669d7(0xd2))/0x2*(parseInt(_0x1669d7(0xd8))/0x3)+-parseInt(_0x1669d7(0xe2))/0x4*(-parseInt(_0x1669d7(0xe8))/0x5)+parseInt(_0x1669d7(0xe6))/0x6+parseInt(_0x1669d7(0xda))/0x7*(parseInt(_0x1669d7(0xed))/0x8)+parseInt(_0x1669d7(0xe4))/0x9+-parseInt(_0x1669d7(0xd1))/0xa;if(_0x2d6ecc===_0x3d62eb)break;else _0x1dde8d['push'](_0x1dde8d['shift']());}catch(_0x3d22be){_0x1dde8d['push'](_0x1dde8d['shift']());}}}(a117_0x2746,0x28679));export function toKebab(_0x3b69ba){const _0x3795e3=a117_0x2a6f;return _0x3b69ba[_0x3795e3(0xe3)](/_/g,'-')[_0x3795e3(0xe3)](/-([A-Z]+)/g,(_0x4ef813,_0x268a20)=>'-'+_0x268a20[_0x3795e3(0xeb)]())[_0x3795e3(0xe3)](/([a-z0-9])([A-Z])/g,(_0x595777,_0x12cb1d,_0x2b686c)=>_0x12cb1d+'-'+_0x2b686c)[_0x3795e3(0xeb)]();}function a117_0x2a6f(_0x32e094,_0x4cc7f6){_0x32e094=_0x32e094-0xcd;const _0x274614=a117_0x2746();let _0x2a6f9e=_0x274614[_0x32e094];return _0x2a6f9e;}function a117_0x2746(){const _0x3c6620=['513651mJEBYm','app','3451pItVRS','name','indexOf','entries','appcode','set','keys','version','228ZbjJQe','replace','466884ACuPCh','global','1541142lHVJMR','corrected','8185NfRMeE','non-interactive','original','toLowerCase','alias','1616UwvQBl','nonInteractive','format','271408EZgItB','dryRun','dry-run','add','4363220WUlsVO','2mnSWWn','get','slice','string','env','has'];a117_0x2746=function(){return _0x3c6620;};return a117_0x2746();}function buildKnownFlags(_0x3b6c9b){const _0x2aa596=a117_0x2a6f,_0x5ee817=new Set();for(const _0x34d581 of _0x3b6c9b){_0x5ee817['add'](_0x34d581[_0x2aa596(0xdb)]),_0x5ee817[_0x2aa596(0xd0)](toCamelCase(_0x34d581['name']));}for(const _0x405515 of[_0x2aa596(0xcf),_0x2aa596(0xce),'yes',_0x2aa596(0xef)]){_0x5ee817[_0x2aa596(0xd0)](_0x405515);}for(const _0x59fb8a of['help',_0x2aa596(0xd6),_0x2aa596(0xde),_0x2aa596(0xd9),_0x2aa596(0xee),_0x2aa596(0xe9),'ci',_0x2aa596(0xe5),_0x2aa596(0xe1)]){_0x5ee817[_0x2aa596(0xd0)](_0x59fb8a);}return _0x5ee817;}function buildFlagTypeMap(_0x13ca42){const _0x24b0b8=a117_0x2a6f,_0x2f8785=new Map();for(const _0x4928af of _0x13ca42){_0x2f8785[_0x24b0b8(0xdf)](_0x4928af[_0x24b0b8(0xdb)],_0x4928af['type']),_0x2f8785['set'](toCamelCase(_0x4928af[_0x24b0b8(0xdb)]),_0x4928af['type']);}return _0x2f8785;}function toCamelCase(_0x5a4f4a){const _0x16c0ac=a117_0x2a6f;return _0x5a4f4a[_0x16c0ac(0xe3)](/-([a-z])/g,(_0x2a6263,_0x417f7d)=>_0x417f7d['toUpperCase']());}function aliasHandler(_0x1784bc,_0x2db728){const _0x4b377f=a117_0x2a6f,_0x36d5ff=[];for(const _0x52eccd of Object[_0x4b377f(0xe0)](_0x1784bc)){if(_0x2db728[_0x4b377f(0xd7)](_0x52eccd))continue;const _0x3b32a1=toKebab(_0x52eccd);_0x3b32a1!==_0x52eccd&&_0x2db728[_0x4b377f(0xd7)](_0x3b32a1)&&_0x36d5ff['push']({'original':_0x52eccd,'corrected':_0x3b32a1,'handler':_0x4b377f(0xec)});}return _0x36d5ff;}function stickyHandler(_0x5b7f9a,_0x324cde,_0x26ffec){const _0x997cbe=a117_0x2a6f,_0x365e11=[];for(const [_0x396b5f,_0x4e2916]of Object[_0x997cbe(0xdd)](_0x5b7f9a)){if(_0x4e2916!==!![])continue;for(let _0x395ffe=_0x396b5f['length']-0x1;_0x395ffe>0x0;_0x395ffe--){const _0x5a8926=_0x396b5f[_0x997cbe(0xd4)](0x0,_0x395ffe),_0x3c935e=_0x396b5f[_0x997cbe(0xd4)](_0x395ffe),_0x533e2e=toKebab(_0x5a8926),_0x3f27cc=toCamelCase(_0x5a8926),_0x10893b=_0x324cde[_0x997cbe(0xd7)](_0x5a8926)?_0x5a8926:_0x324cde['has'](_0x533e2e)?_0x533e2e:_0x324cde[_0x997cbe(0xd7)](_0x3f27cc)?_0x3f27cc:null;if(!_0x10893b)continue;const _0x383297=_0x26ffec['get'](_0x10893b)??_0x997cbe(0xd5);let _0x2d755d;if(_0x383297==='number'){const _0x30058b=Number(_0x3c935e);if(isNaN(_0x30058b)||_0x3c935e==='')continue;_0x2d755d=_0x30058b;}else{if(_0x383297==='boolean')continue;else{if(_0x3c935e==='')continue;_0x2d755d=_0x3c935e;}}_0x365e11['push']({'original':_0x396b5f,'corrected':_0x10893b+'='+_0x2d755d,'handler':'sticky'});break;}}return _0x365e11;}export function correctFlags(_0x244f29,_0x3dacc8){const _0x45a7ad=a117_0x2a6f,_0x22a39d=buildKnownFlags(_0x3dacc8),_0x1ba849=buildFlagTypeMap(_0x3dacc8),_0x1f227d=aliasHandler(_0x244f29,_0x22a39d),_0x2b3596=stickyHandler(_0x244f29,_0x22a39d,_0x1ba849),_0x2cb110=[..._0x1f227d,..._0x2b3596];if(_0x2cb110['length']===0x0)return{'flags':_0x244f29,'corrections':[]};const _0x5bbcff={..._0x244f29},_0x4e51b9=new Set();for(const _0x583d8b of _0x1f227d){_0x5bbcff[_0x583d8b[_0x45a7ad(0xe7)]]=_0x244f29[_0x583d8b[_0x45a7ad(0xea)]],_0x4e51b9[_0x45a7ad(0xd0)](_0x583d8b['original']);}for(const _0x276f36 of _0x2b3596){const _0x2b6394=_0x276f36['corrected'][_0x45a7ad(0xdc)]('='),_0x3a2f90=_0x276f36[_0x45a7ad(0xe7)]['slice'](0x0,_0x2b6394),_0x42aecf=_0x276f36[_0x45a7ad(0xe7)]['slice'](_0x2b6394+0x1),_0x121954=_0x1ba849[_0x45a7ad(0xd3)](_0x3a2f90)??'string';_0x121954==='number'?_0x5bbcff[_0x3a2f90]=Number(_0x42aecf):_0x5bbcff[_0x3a2f90]=_0x42aecf,_0x4e51b9['add'](_0x276f36[_0x45a7ad(0xea)]);}for(const _0xc2be46 of _0x4e51b9){delete _0x5bbcff[_0xc2be46];}return{'flags':_0x5bbcff,'corrections':_0x2cb110};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118_0x1c9765=a118_0xf096;(function(_0x3aa2d7,_0x2a2610){const _0x3f2edc=a118_0xf096,_0x355beb=_0x3aa2d7();while(!![]){try{const _0x49160b=parseInt(_0x3f2edc(0x85))/0x1*(-parseInt(_0x3f2edc(0x9e))/0x2)+-parseInt(_0x3f2edc(0x98))/0x3*(-parseInt(_0x3f2edc(0x97))/0x4)+parseInt(_0x3f2edc(0x9f))/0x5*(-parseInt(_0x3f2edc(0x79))/0x6)+parseInt(_0x3f2edc(0x91))/0x7+parseInt(_0x3f2edc(0x7f))/0x8*(parseInt(_0x3f2edc(0x83))/0x9)+-parseInt(_0x3f2edc(0x99))/0xa*(-parseInt(_0x3f2edc(0x92))/0xb)+parseInt(_0x3f2edc(0x8b))/0xc*(-parseInt(_0x3f2edc(0x94))/0xd);if(_0x49160b===_0x2a2610)break;else _0x355beb['push'](_0x355beb['shift']());}catch(_0x5efb8c){_0x355beb['push'](_0x355beb['shift']());}}}(a118_0x52db,0x6264d));import{CliErrors}from'../errors.js';function a118_0xf096(_0xaa899f,_0x90b19){_0xaa899f=_0xaa899f-0x77;const _0x52dbd1=a118_0x52db();let _0xf0964d=_0x52dbd1[_0xaa899f];return _0xf0964d;}const RATE_LIMIT_ERROR_CODES=new Set([a118_0x1c9765(0x9b),a118_0x1c9765(0x77),a118_0x1c9765(0x8a)]);function nonEmptyString(_0x43d2db){const _0x1ed17d=a118_0x1c9765;if(typeof _0x43d2db!==_0x1ed17d(0x93))return undefined;const _0x4aeaa5=_0x43d2db[_0x1ed17d(0x9a)]();return _0x4aeaa5||undefined;}function a118_0x52db(){const _0x163ddd=['\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.','4425KdiAWX','rateLimited','number','call','object','IP_RATE_LIMIT_EXCEEDED','12aYSTca','function','isArray','toLowerCase','retryAfterSeconds','Request\x20rate\x20limit\x20exceeded.','3880982Sskvbw','121kpQHxK','string','7448883fidoBy','toUpperCase','\x20seconds\x20before\x20retrying.','455876SOrVzK','3RidNXM','191080OhlRqJ','trim','EXCEED_MAX_QPS_LIMIT','errorCode','retry-after','172RsjxJx','1203235hsLyCY','MAX_QPS_LIMIT','message','6sswwRW','Wait\x20','test','Retry\x20after\x20a\x20short\x20delay.','status','Retry-After','5749008KLmaQd','Retry\x20after\x20','retryAfter','get','9cPEPjj'];a118_0x52db=function(){return _0x163ddd;};return a118_0x52db();}function buildRetryHint(_0x22ca14){const _0x12756c=a118_0x1c9765,_0x343faa=nonEmptyString(_0x22ca14),_0x31c347=_0x343faa?/^\d+$/[_0x12756c(0x7b)](_0x343faa)?_0x12756c(0x7a)+_0x343faa+_0x12756c(0x96):_0x12756c(0x80)+_0x343faa+'.':_0x12756c(0x7c);return _0x31c347+_0x12756c(0x84);}export function createRateLimitError(_0x1adba8){const _0x1da208=a118_0x1c9765,_0xce15c4=nonEmptyString(_0x1adba8[_0x1da208(0x9c)])?.[_0x1da208(0x95)](),_0x578837=Number(_0x1adba8[_0x1da208(0x7d)])===0x1ad||_0xce15c4!==undefined&&RATE_LIMIT_ERROR_CODES['has'](_0xce15c4);if(!_0x578837)return undefined;return CliErrors[_0x1da208(0x86)](nonEmptyString(_0x1adba8[_0x1da208(0x78)])??_0x1da208(0x90),buildRetryHint(_0x1adba8[_0x1da208(0x81)]));}export function readRetryAfter(_0xadc7d1){const _0x1fc065=a118_0x1c9765;if(!_0xadc7d1||typeof _0xadc7d1!==_0x1fc065(0x89))return undefined;const _0x3be5f1=_0xadc7d1[_0x1fc065(0x82)];if(typeof _0x3be5f1===_0x1fc065(0x8c)){const _0x5032f2=_0x3be5f1['call'](_0xadc7d1,_0x1fc065(0x7e))??_0x3be5f1[_0x1fc065(0x88)](_0xadc7d1,'retry-after');return nonEmptyString(_0x5032f2);}for(const [_0x16341c,_0x78b6d2]of Object['entries'](_0xadc7d1)){if(_0x16341c[_0x1fc065(0x8e)]()===_0x1fc065(0x9d))return nonEmptyString(_0x78b6d2)??(typeof _0x78b6d2==='number'?String(_0x78b6d2):undefined);}return undefined;}export function readRetryAfterSeconds(_0x22ba69){const _0x1fc947=a118_0x1c9765;if(!_0x22ba69||typeof _0x22ba69!==_0x1fc947(0x89)||Array[_0x1fc947(0x8d)](_0x22ba69))return undefined;const _0x296d9c=_0x22ba69[_0x1fc947(0x8f)];if(typeof _0x296d9c===_0x1fc947(0x87))return Number['isInteger'](_0x296d9c)&&_0x296d9c>=0x0?String(_0x296d9c):undefined;const _0x20b1e1=nonEmptyString(_0x296d9c);return _0x20b1e1&&/^\d+$/[_0x1fc947(0x7b)](_0x20b1e1)?_0x20b1e1:undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119_0x4de1f0=a119_0x2432;function a119_0x5a12(){const _0x6a92ea=['20mKWQcX','currentpage','Example:\x20','name','7UAFYJT','entries','orderby','Put\x20where,\x20select,\x20orderBy,\x20currentPage,\x20and\x20pageSize\x20inside\x20one\x20--params\x20JSON\x20object.\x20','7107345uZCdXq','2PmBBeO','where','validation','current-page','meowKey','\x20--help`\x20to\x20see\x20accepted\x20flags.','page','stringify','\x20for\x20`','asc','has','191135PQHNtX','version','add','\x20data\x20filter\x20--code\x20<datasetCode>\x20--params\x20','service','filter','926922MPvKEN','434048TlSLcs','4404904rIcAvT','3335592CcsleL','Unknown\x20flag\x20--','12965370mIjQft'];a119_0x5a12=function(){return _0x6a92ea;};return a119_0x5a12();}(function(_0x1d794c,_0x2216c3){const _0xe5cea7=a119_0x2432,_0x42c884=_0x1d794c();while(!![]){try{const _0x4cd9d5=parseInt(_0xe5cea7(0xd8))/0x1+-parseInt(_0xe5cea7(0xc6))/0x2*(parseInt(_0xe5cea7(0xd7))/0x3)+parseInt(_0xe5cea7(0xdd))/0x4*(-parseInt(_0xe5cea7(0xd1))/0x5)+parseInt(_0xe5cea7(0xda))/0x6*(-parseInt(_0xe5cea7(0xe1))/0x7)+parseInt(_0xe5cea7(0xd9))/0x8+-parseInt(_0xe5cea7(0xc5))/0x9+parseInt(_0xe5cea7(0xdc))/0xa;if(_0x4cd9d5===_0x2216c3)break;else _0x42c884['push'](_0x42c884['shift']());}catch(_0xcf685e){_0x42c884['push'](_0x42c884['shift']());}}}(a119_0x5a12,0x6a4fc));import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a119_0x2432(_0x5846b3,_0xb1fd4d){_0x5846b3=_0x5846b3-0xc3;const _0x5a1297=a119_0x5a12();let _0x243238=_0x5a1297[_0x5846b3];return _0x243238;}import{toKebab}from'../framework/preparse.js';const FILTER_BODY_FIELDS=new Set([a119_0x4de1f0(0xc7),'select','order-by',a119_0x4de1f0(0xc3),a119_0x4de1f0(0xc9),a119_0x4de1f0(0xde),a119_0x4de1f0(0xcc),'page-size','pagesize']);export function assertKnownCommandFlags(_0x3182a6,_0x443cfb){const _0x5d6699=a119_0x4de1f0,_0x3f1253=new Set([_0x5d6699(0xd2)]);for(const _0x3bc575 of GLOBAL_FLAGS){_0x3f1253['add'](_0x3bc575[_0x5d6699(0xe0)]),_0x3f1253[_0x5d6699(0xd3)](toKebab(_0x3bc575[_0x5d6699(0xca)]));}for(const _0x377c9d of _0x3182a6['flags']??[]){_0x3f1253[_0x5d6699(0xd3)](_0x377c9d['name']);}for(const [_0x5dee1e,_0x856a6b]of Object[_0x5d6699(0xe2)](_0x443cfb)){const _0x3cadd9=toKebab(_0x5dee1e);if(_0x3f1253['has'](_0x3cadd9))continue;if(_0x856a6b===![]&&_0x3f1253[_0x5d6699(0xd0)]('no-'+_0x3cadd9))continue;if(_0x3182a6[_0x5d6699(0xd5)]==='data'&&_0x3182a6['command']===_0x5d6699(0xd6)&&FILTER_BODY_FIELDS['has'](_0x3cadd9))throw CliErrors[_0x5d6699(0xc8)]('--'+_0x3cadd9+'\x20is\x20not\x20a\x20CLI\x20flag\x20for\x20`'+CLI_BIN_NAME+'\x20data\x20filter`.',_0x5d6699(0xc4)+(_0x5d6699(0xdf)+CLI_BIN_NAME+_0x5d6699(0xd4))+('\x27'+JSON[_0x5d6699(0xcd)]({'where':{'status':{'$eq':'active'}},'orderBy':[{'id':_0x5d6699(0xcf)}],'currentPage':0x1,'pageSize':0x14})+'\x27'));throw CliErrors[_0x5d6699(0xc8)](_0x5d6699(0xdb)+_0x3cadd9+_0x5d6699(0xce)+CLI_BIN_NAME+'\x20'+_0x3182a6[_0x5d6699(0xd5)]+'\x20'+_0x3182a6['command']+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x3182a6[_0x5d6699(0xd5)]+'\x20'+_0x3182a6['command']+_0x5d6699(0xcb));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a120_0xa703(){var _0x2bcf40=['5607SjtLhU','1410880nkrbMo','7085800lEcPiw','8HKkdjA','1375821xMbFuI','341ukJNVG','1856290asYBvZ','5928tgBGzc','12JPQAoL','535632ZyQYQy','6278699vmANFi'];a120_0xa703=function(){return _0x2bcf40;};return a120_0xa703();}function a120_0x274c(_0x105f31,_0x182634){_0x105f31=_0x105f31-0xc9;var _0xa703b3=a120_0xa703();var _0x274c95=_0xa703b3[_0x105f31];return _0x274c95;}(function(_0x2b0afa,_0x5071d5){var _0x19c1a8=a120_0x274c,_0x1240ac=_0x2b0afa();while(!![]){try{var _0x3125e5=-parseInt(_0x19c1a8(0xd2))/0x1+parseInt(_0x19c1a8(0xcc))/0x2*(-parseInt(_0x19c1a8(0xcd))/0x3)+parseInt(_0x19c1a8(0xca))/0x4+-parseInt(_0x19c1a8(0xcb))/0x5+-parseInt(_0x19c1a8(0xd1))/0x6*(parseInt(_0x19c1a8(0xd3))/0x7)+parseInt(_0x19c1a8(0xd0))/0x8*(parseInt(_0x19c1a8(0xc9))/0x9)+-parseInt(_0x19c1a8(0xcf))/0xa*(-parseInt(_0x19c1a8(0xce))/0xb);if(_0x3125e5===_0x5071d5)break;else _0x1240ac['push'](_0x1240ac['shift']());}catch(_0x35d42c){_0x1240ac['push'](_0x1240ac['shift']());}}}(a120_0xa703,0xf1250));export{extractList,extractPaging}from'@lovrabet/cli-framework';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x569ae0,_0x6dbf83){const _0x295a9a=a121_0x5df5,_0x16a3bc=_0x569ae0();while(!![]){try{const _0x4cfc14=-parseInt(_0x295a9a(0x13f))/0x1*(-parseInt(_0x295a9a(0x136))/0x2)+-parseInt(_0x295a9a(0x149))/0x3+parseInt(_0x295a9a(0x14a))/0x4*(-parseInt(_0x295a9a(0x13a))/0x5)+parseInt(_0x295a9a(0x144))/0x6*(parseInt(_0x295a9a(0x15b))/0x7)+-parseInt(_0x295a9a(0x14d))/0x8*(parseInt(_0x295a9a(0x153))/0x9)+-parseInt(_0x295a9a(0x151))/0xa*(-parseInt(_0x295a9a(0x143))/0xb)+parseInt(_0x295a9a(0x138))/0xc*(parseInt(_0x295a9a(0x158))/0xd);if(_0x4cfc14===_0x6dbf83)break;else _0x16a3bc['push'](_0x16a3bc['shift']());}catch(_0x370c7d){_0x16a3bc['push'](_0x16a3bc['shift']());}}}(a121_0xb8c9,0x4a245));import{CLI_BIN_NAME}from'../constant/cli.js';import{isSensitiveFlagName}from'../utils/redaction.js';function a121_0x5df5(_0x511645,_0x4e9771){_0x511645=_0x511645-0x134;const _0xb8c918=a121_0xb8c9();let _0x5df5f9=_0xb8c918[_0x511645];return _0x5df5f9;}export function buildConfirmationLines(_0x1fd407,_0x3820e4,_0x4021c3){const _0xbdf0b1=a121_0x5df5,_0x22f081=buildConfirmationContext(_0x1fd407,_0x3820e4,_0x4021c3),_0x517034=[_0xbdf0b1(0x14e)+_0x22f081[_0xbdf0b1(0x134)]];return _0x22f081['description']&&_0x517034[_0xbdf0b1(0x14f)]('\x20\x20\x20'+_0x22f081[_0xbdf0b1(0x15c)]),_0x22f081[_0xbdf0b1(0x15e)]&&_0x517034[_0xbdf0b1(0x14f)](_0xbdf0b1(0x13b)+_0x22f081['affectedRecords']),_0x517034['push'](_0xbdf0b1(0x152)),_0x517034;}function a121_0xb8c9(){const _0x3acb65=['369edppjH','params','code=','id=','title=','247NXqcFP','name=','code','147hlOlgL','description','params=','affectedRecords','commandLabel','\x20[REDACTED]','16080lOxJZF','channel','72564CQeevf','kind=','2879785YvOqGI','\x20\x20\x20Affected:\x20','command','title','channel=','70vhksts','join','scheduled-at','scheduled-at=','429wHTMee','111978TLzSOm','stringify','schedule-id','name','cron','1234047fvRDGh','4ycwWVS','entries','kind','64696vLlUFn','⚠\x20\x20High-risk\x20operation:\x20','push','length','141780apfIKk','\x20\x20\x20Continue?\x20[y/N]\x20'];a121_0xb8c9=function(){return _0x3acb65;};return a121_0xb8c9();}export function reconstructCommandArgv(_0x257f55,_0xd8c04f){const _0x4db6d8=a121_0x5df5,_0x1452c8=[CLI_BIN_NAME,_0x257f55['service'],_0x257f55[_0x4db6d8(0x13c)]];for(const [_0x456ab6,_0x479ec9]of Object[_0x4db6d8(0x14b)](_0xd8c04f)){if(_0x479ec9===!![])_0x1452c8[_0x4db6d8(0x14f)]('--'+_0x456ab6);else{if(isSensitiveFlagName(_0x456ab6)&&_0x479ec9!==![]&&_0x479ec9!==undefined&&_0x479ec9!=='')_0x1452c8[_0x4db6d8(0x14f)]('--'+_0x456ab6+_0x4db6d8(0x135));else _0x479ec9!==![]&&_0x479ec9!==undefined&&_0x479ec9!==''&&_0x1452c8[_0x4db6d8(0x14f)]('--'+_0x456ab6+'\x20'+JSON[_0x4db6d8(0x145)](_0x479ec9));}}return _0x1452c8[_0x4db6d8(0x14f)]('--yes'),_0x1452c8[_0x4db6d8(0x140)]('\x20');}function buildConfirmationContext(_0x4bbbcf,_0x58f98b,_0x3a9053){const _0x48951c=a121_0x5df5,_0x570269=extractAffectedRecords(_0x3a9053);return{'commandLabel':_0x58f98b,'description':_0x4bbbcf[_0x48951c(0x15c)],'affectedRecords':_0x570269};}function extractAffectedRecords(_0x23bfcd){const _0x209411=a121_0x5df5,_0x1b2608=[];if(_0x23bfcd[_0x209411(0x15a)])_0x1b2608[_0x209411(0x14f)](_0x209411(0x155)+_0x23bfcd[_0x209411(0x15a)]);if(_0x23bfcd['id'])_0x1b2608[_0x209411(0x14f)](_0x209411(0x156)+_0x23bfcd['id']);if(_0x23bfcd[_0x209411(0x146)])_0x1b2608[_0x209411(0x14f)]('schedule-id='+_0x23bfcd[_0x209411(0x146)]);if(_0x23bfcd[_0x209411(0x147)])_0x1b2608[_0x209411(0x14f)](_0x209411(0x159)+_0x23bfcd[_0x209411(0x147)]);if(_0x23bfcd['title'])_0x1b2608[_0x209411(0x14f)](_0x209411(0x157)+_0x23bfcd[_0x209411(0x13d)]);if(_0x23bfcd[_0x209411(0x14c)])_0x1b2608[_0x209411(0x14f)](_0x209411(0x139)+_0x23bfcd[_0x209411(0x14c)]);if(_0x23bfcd['cron'])_0x1b2608['push']('cron='+_0x23bfcd[_0x209411(0x148)]);if(_0x23bfcd['scheduled-at'])_0x1b2608[_0x209411(0x14f)](_0x209411(0x142)+_0x23bfcd[_0x209411(0x141)]);if(_0x23bfcd['channel'])_0x1b2608[_0x209411(0x14f)](_0x209411(0x13e)+_0x23bfcd[_0x209411(0x137)]);if(_0x23bfcd[_0x209411(0x154)])_0x1b2608[_0x209411(0x14f)](_0x209411(0x15d)+_0x23bfcd[_0x209411(0x154)]);return _0x1b2608[_0x209411(0x150)]>0x0?_0x1b2608[_0x209411(0x140)](',\x20'):undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x41fad3,_0x14391e){const _0x5cc2b8=a122_0x2bc2,_0x476421=_0x41fad3();while(!![]){try{const _0x4d8298=-parseInt(_0x5cc2b8(0xd6))/0x1*(-parseInt(_0x5cc2b8(0xd4))/0x2)+parseInt(_0x5cc2b8(0xcf))/0x3+-parseInt(_0x5cc2b8(0xde))/0x4+-parseInt(_0x5cc2b8(0xd7))/0x5+parseInt(_0x5cc2b8(0xd0))/0x6+parseInt(_0x5cc2b8(0xda))/0x7*(-parseInt(_0x5cc2b8(0xd1))/0x8)+parseInt(_0x5cc2b8(0xd8))/0x9*(-parseInt(_0x5cc2b8(0xdd))/0xa);if(_0x4d8298===_0x14391e)break;else _0x476421['push'](_0x476421['shift']());}catch(_0x5afe1a){_0x476421['push'](_0x476421['shift']());}}}(a122_0x383c,0x705d7));import{LovrabetError}from'@lovrabet/sdk';function a122_0x2bc2(_0x2363a5,_0x555cc1){_0x2363a5=_0x2363a5-0xcd;const _0x383cea=a122_0x383c();let _0x2bc2e4=_0x383cea[_0x2363a5];return _0x2bc2e4;}import{CliErrors}from'../errors.js';function a122_0x383c(){const _0x10c99b=['code','26310yxrvCx','2728420XoYbQd','apiError','trim','1452030LeSmJS','2050578GRfCWk','64mzeRQa','stringify','headers','46534EpDQBR','validation','35TjBjcO','622275tWrBtf','1017mqNFMJ','response','66507omFrGn','string'];a122_0x383c=function(){return _0x10c99b;};return a122_0x383c();}import{createAccessError}from'../framework/access-error.js';import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';export function mapUserFacingExecuteError(_0x5b95ed){const _0x53ebfc=a122_0x2bc2;if(_0x5b95ed instanceof LovrabetError){const _0xe2e1fa=userFacingLovrabetMessage(_0x5b95ed),_0x33ef2f=_0x5b95ed,_0x15cb34=createRateLimitError({'status':_0x33ef2f['status'],'errorCode':_0x33ef2f[_0x53ebfc(0xdc)],'message':_0xe2e1fa,'retryAfter':readRetryAfter(_0x33ef2f[_0x53ebfc(0xd9)]?.[_0x53ebfc(0xd3)])??readRetryAfterSeconds(_0x33ef2f[_0x53ebfc(0xd9)])});return createAccessError(_0x33ef2f['response'],_0x33ef2f[_0x53ebfc(0xdc)])??_0x15cb34??(Number(_0x33ef2f['status'])===0x191?CliErrors[_0x53ebfc(0xcd)]('Request\x20rejected\x20(HTTP\x20401).','The\x20response\x20does\x20not\x20identify\x20whether\x20authentication\x20or\x20permission\x20checks\x20failed.'):CliErrors[_0x53ebfc(0xd5)](_0xe2e1fa));}return _0x5b95ed;}function userFacingLovrabetMessage(_0xef3ad6){const _0x23b348=a122_0x2bc2,_0x51dda1=_0xef3ad6['description'];if(_0x51dda1!==undefined&&_0x51dda1!==null){if(typeof _0x51dda1===_0x23b348(0xdb)&&_0x51dda1[_0x23b348(0xce)]())return _0x51dda1[_0x23b348(0xce)]();try{return JSON[_0x23b348(0xd2)](_0x51dda1);}catch{}}return _0xef3ad6['message'];}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2b7be5,_0x1cbc06){const _0x31a43f=a123_0x44dc,_0x15c257=_0x2b7be5();while(!![]){try{const _0x1709bb=-parseInt(_0x31a43f(0xb3))/0x1*(parseInt(_0x31a43f(0x85))/0x2)+parseInt(_0x31a43f(0xa0))/0x3+parseInt(_0x31a43f(0xa9))/0x4*(-parseInt(_0x31a43f(0xb5))/0x5)+parseInt(_0x31a43f(0x8a))/0x6*(-parseInt(_0x31a43f(0x8b))/0x7)+-parseInt(_0x31a43f(0xb4))/0x8+parseInt(_0x31a43f(0xab))/0x9+parseInt(_0x31a43f(0xaa))/0xa*(parseInt(_0x31a43f(0x92))/0xb);if(_0x1709bb===_0x1cbc06)break;else _0x15c257['push'](_0x15c257['shift']());}catch(_0x22cdef){_0x15c257['push'](_0x15c257['shift']());}}}(a123_0x3a5d,0xee492));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a123_0x44dc(_0x20a29f,_0x1ee8a3){_0x20a29f=_0x20a29f-0x72;const _0x3a5de2=a123_0x3a5d();let _0x44dcc8=_0x3a5de2[_0x20a29f];return _0x44dcc8;}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(_0x34c902){const _0x3f764c=a123_0x44dc;return void _0x34c902,AUTH_MODE[_0x3f764c(0x99)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x3b9fde,_0x41fc89){const _0x4c1f2a=a123_0x44dc,_0x3f0cb3=typeof _0x41fc89[_0x4c1f2a(0x83)]===_0x4c1f2a(0xa8)&&_0x41fc89[_0x4c1f2a(0x83)][_0x4c1f2a(0xb8)]();return{'rawFlags':_0x41fc89,'appCode':_0x3b9fde['appCode']||productEnv('APPCODE')||(_0x3f0cb3?undefined:readAppCodeFromConfig()),'appCodeSource':_0x3b9fde['appCodeSource'],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x41fc89),'defaultFormat':_0x3b9fde[_0x4c1f2a(0x91)],'defaultPageSize':_0x3b9fde[_0x4c1f2a(0x89)],'defaultVerbose':_0x3b9fde[_0x4c1f2a(0xad)],'riskLevel':_0x3b9fde['riskLevel'],'nativeToolAvailable':_0x3b9fde['nativeToolAvailable'],'accessKey':_0x3b9fde[_0x4c1f2a(0x9c)],'env':_0x3b9fde[_0x4c1f2a(0x81)],'mergedCli':{'defaultApp':_0x3b9fde['defaultApp'],'currentApp':_0x3b9fde['currentApp'],'appCode':_0x3b9fde[_0x4c1f2a(0x7c)]}};}export function createLovrabetRunnerAdapter(_0x253418={}){const _0x39eab9=a123_0x44dc,_0x2869f2={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x39eab9(0xb1)](_0x2ccbce=>PIPELINE_FLAG_NAMES[_0x39eab9(0x96)](_0x2ccbce[_0x39eab9(0x74)]))[_0x39eab9(0xa3)](({name:_0x73425,type:_0x3e51b5,description:_0x264d86})=>({'name':_0x73425,'type':_0x3e51b5,'description':_0x264d86})),'formatOutput':_0x253418[_0x39eab9(0x7d)]??formatOutput,'getCommandLabel'(_0x170d7f){const _0x3402f8=_0x39eab9;return CLI_BIN_NAME+'\x20'+_0x170d7f['service']+'\x20'+_0x170d7f[_0x3402f8(0xb9)];},'riskPolicy':{'onViolation'(_0x55c31d,{def:_0x176819,env:_0x23a7ef}){const _0x41095a=_0x39eab9;if(shouldRouteWriteToNativeTool(_0x176819,_0x23a7ef))return;console[_0x41095a(0xb0)](_0x55c31d);},'createError'(_0x4fa970,{def:_0x387c5f,env:_0x5a588a}){const _0x4de697=_0x39eab9;if(shouldRouteWriteToNativeTool(_0x387c5f,_0x5a588a))return CliErrors[_0x4de697(0x95)](CLI_BIN_NAME+'\x20'+_0x387c5f[_0x4de697(0x86)]+'\x20'+_0x387c5f[_0x4de697(0xb9)]);return CliErrors[_0x4de697(0x7a)](_0x4fa970);}},async 'prepare'(_0x9f9553,_0x489d23){const _0x2021ff=_0x39eab9,_0x2e3dec=resolveAuthMode(_0x489d23);if(_0x9f9553[_0x2021ff(0x7e)]!==![]){if(!_0x489d23[_0x2021ff(0x9c)])throw CliErrors['authRequired']('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG[_0x2021ff(0x8f)]+_0x2021ff(0xb6)+productEnvName(_0x2021ff(0xbe))+'.');const {setActiveAK:_0x500c2d}=await import(_0x2021ff(0x7f));_0x500c2d(_0x489d23[_0x2021ff(0x9c)]);}let _0x419a24='';if(_0x9f9553[_0x2021ff(0x9a)]!==![]){_0x419a24=_0x489d23[_0x2021ff(0x7c)]??'',_0x419a24=await resolveExplicitAppName(_0x9f9553,_0x489d23,_0x419a24);if(!_0x419a24){await assertSelectedAppNameIsRuntimeAccessible(_0x9f9553,_0x489d23);throw CliErrors[_0x2021ff(0xbd)](_0x2021ff(0xba)+PRODUCT_CONFIG[_0x2021ff(0x8f)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x9f9553,_0x489d23,_0x419a24);}if(_0x419a24){const {initSdkClient:_0x2d42bb}=await import(_0x2021ff(0x9b));_0x2d42bb({'appCode':_0x419a24,'env':_0x489d23[_0x2021ff(0x81)]??'production','runtimeDomain':_0x489d23[_0x2021ff(0x72)],'accessKey':_0x489d23['accessKey'],'authMode':_0x2e3dec}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x489d23[_0x2021ff(0x90)]},'numbers':{'pagesize':_0x489d23[_0x2021ff(0x76)]}},'extras':{'appCode':_0x419a24,'cookie':'','apiDomain':_0x489d23['apiDomain'],'apiDir':'','accessKey':_0x489d23[_0x2021ff(0x9c)],'envName':_0x489d23['env'],'mergedCli':_0x489d23[_0x2021ff(0xb2)]}};},'confirmHighRisk':_0x253418[_0x39eab9(0x93)]??(async({def:_0x56d0ec,env:_0x19609a,flags:_0x2eeef5,commandLabel:_0x4ee8ad})=>{const _0x48093b=_0x39eab9;if(_0x19609a[_0x48093b(0xaf)]){const _0x128ae8=reconstructCommandArgv(_0x56d0ec,_0x2eeef5);throw CliErrors[_0x48093b(0x9f)](_0x48093b(0x94)+_0x4ee8ad+_0x48093b(0x8e)+(_0x48093b(0xa5)+_0x128ae8));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x56d0ec,_0x4ee8ad,_0x2eeef5),'createCancelledError':_0x498ff3=>CliErrors['cancelled'](_0x498ff3)});}),'mapDryRunError'(_0x2841fb){return mapUserFacingExecuteError(_0x2841fb);},'mapExecuteError'(_0x194865){return mapUserFacingExecuteError(_0x194865);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x2869f2;}function shouldRouteWriteToNativeTool(_0x489f87,_0x4934ce){const _0xd8db09=a123_0x44dc;return _0x4934ce[_0xd8db09(0xa6)]===!![]&&(_0x489f87[_0xd8db09(0xae)]===_0xd8db09(0x73)||_0x489f87['risk']==='high-risk-write');}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x2933a1=a123_0x44dc;try{if(sdkClientInitialized){const {clearSdkClient:_0x56c513}=await import('../core/sdk-client.js');_0x56c513();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x284115}=await import(_0x2933a1(0x7f));_0x284115();}}async function resolveExplicitAppName(_0x354fa1,_0x4b3286,_0x377b26){const _0x5ace75=a123_0x44dc;if(_0x354fa1[_0x5ace75(0x9a)]===![])return _0x377b26;const _0x20b291=typeof _0x4b3286[_0x5ace75(0x79)][_0x5ace75(0x83)]==='string'?_0x4b3286[_0x5ace75(0x79)][_0x5ace75(0x83)][_0x5ace75(0xb8)]():'';if(!_0x20b291)return _0x377b26;const _0x3ed470=typeof _0x4b3286[_0x5ace75(0x79)][_0x5ace75(0x8d)]===_0x5ace75(0xa8)&&_0x4b3286[_0x5ace75(0x79)][_0x5ace75(0x8d)][_0x5ace75(0xb8)]()||productEnv(_0x5ace75(0x88));if(_0x3ed470||_0x4b3286[_0x5ace75(0xb7)]===_0x5ace75(0xa4))return _0x377b26;const {getRemoteAppList:_0x4e74c8}=await import(_0x5ace75(0x77)),_0x31c87c=await _0x4e74c8({'env':_0x4b3286['env']??'production','accessKey':_0x4b3286['accessKey']}),_0x3c213b=findAppByName(_0x31c87c[_0x5ace75(0xa7)],_0x20b291);if(_0x3c213b&&!isRuntimeAccessibleApp(_0x3c213b))throw runtimeInaccessibleAppError(_0x3c213b,'\x22'+_0x20b291+'\x22');const _0x151e61=_0x3c213b?.[_0x5ace75(0x7c)]?.[_0x5ace75(0xb8)]();if(_0x151e61)return _0x151e61;throw CliErrors['validation'](_0x5ace75(0xa2)+_0x20b291,_0x5ace75(0x97)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x20b291+_0x5ace75(0x9e)+PRODUCT_CONFIG[_0x5ace75(0x8f)]+'.');}function a123_0x3a5d(){const _0x304ac5=['runtimeDomain','write','name','update','defaultPageSize','../commands/app/remote-source.js','appcode\x20\x22','rawFlags','cancelled','cli-skill','appCode','formatOutput','requiresAuth','../core/api-client.js','execute','env','resolve','app','pretty','49846qzGcuX','service','currentApp','APPCODE','pageSize','1591026PDdEKD','49GmFQua','object','appcode','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','newConfigFileName','defaultVerbose','format','460834HAFoQq','confirmHighRisk','High-risk\x20operation\x20`','nativeToolRequired','has','Run\x20`','nonInteractive','ClientAk','requiresAppCode','../core/sdk-client.js','accessKey','catch','.appcode\x20to\x20','validation','1561890TZLWIT','_notice','Unknown\x20app:\x20','map','local-alias','\x20\x20To\x20proceed:\x20','nativeToolAvailable','items','string','692CIQzKK','1310jctXGm','1081395HdraEX','production','verbose','risk','isNonInteractive','error','filter','mergedCli','62LAeAZS','159208unEaLj','50045gYKcDv','\x20or\x20pass\x20','appCodeSource','trim','command','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','includes','doctor','configMissing','ACCESS_KEY','schema'];a123_0x3a5d=function(){return _0x304ac5;};return a123_0x3a5d();}async function assertSelectedAppNameIsRuntimeAccessible(_0x19f024,_0x6cc954){const _0x172a79=a123_0x44dc;if(_0x19f024[_0x172a79(0x9a)]===![]||!_0x6cc954[_0x172a79(0x9c)])return;const _0x3ab47c=(typeof _0x6cc954[_0x172a79(0x79)][_0x172a79(0x83)]===_0x172a79(0xa8)&&_0x6cc954[_0x172a79(0x79)][_0x172a79(0x83)][_0x172a79(0xb8)]()?_0x6cc954[_0x172a79(0x79)][_0x172a79(0x83)]:_0x6cc954[_0x172a79(0xb2)]?.[_0x172a79(0x87)]??_0x6cc954[_0x172a79(0xb2)]?.['defaultApp'])?.[_0x172a79(0xb8)]();if(!_0x3ab47c)return;const {getRemoteAppList:_0x263507}=await import(_0x172a79(0x77)),_0x1851f0=await _0x263507({'env':_0x6cc954[_0x172a79(0x81)]??'production','accessKey':_0x6cc954['accessKey']}),_0x41d499=findAppByName(_0x1851f0[_0x172a79(0xa7)],_0x3ab47c);if(_0x41d499&&!isRuntimeAccessibleApp(_0x41d499))throw runtimeInaccessibleAppError(_0x41d499,'\x22'+_0x3ab47c+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0xd7c417,_0x8d36c5,_0x13c5ac){const _0x55d1b7=a123_0x44dc;if(_0xd7c417[_0x55d1b7(0x9a)]===![]||!_0x8d36c5[_0x55d1b7(0x9c)])return;const {getRemoteAppList:_0x3e43ef}=await import('../commands/app/remote-source.js'),_0x24063f=await _0x3e43ef({'env':_0x8d36c5[_0x55d1b7(0x81)]??_0x55d1b7(0xac),'accessKey':_0x8d36c5[_0x55d1b7(0x9c)]}),_0x28fdc7=findAppByCode(_0x24063f[_0x55d1b7(0xa7)],_0x13c5ac);if(_0x28fdc7&&!isRuntimeAccessibleApp(_0x28fdc7))throw runtimeInaccessibleAppError(_0x28fdc7,_0x55d1b7(0x78)+_0x13c5ac+'\x22');}export async function runCommand(_0x2cf0f9,_0x203e48,_0x22bbf3=terminalRunnerAdapter){const _0x1ef6e3=a123_0x44dc;assertKnownCommandFlags(_0x2cf0f9,_0x203e48[_0x1ef6e3(0x79)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x2cf0f9)?withVersionPolicy(_0x2cf0f9):_0x2cf0f9,_0x203e48,_0x22bbf3);}function shouldApplyVersionPolicy(_0x529979){const _0x498f94=a123_0x44dc;if([_0x498f94(0x75),_0x498f94(0xbf),_0x498f94(0xbc)][_0x498f94(0xbb)](_0x529979[_0x498f94(0x86)]))return![];return!(_0x529979[_0x498f94(0x86)]===_0x498f94(0x7b)&&_0x529979[_0x498f94(0xb9)]==='install');}function withVersionPolicy(_0x4a1510){return{..._0x4a1510,async 'execute'(_0x55c639){const _0x1e0cc4=a123_0x44dc,_0x2b9637=await checkCliVersion();assertCliVersionSupported(_0x2b9637);const _0x7253a2=shouldResolveUpdateNotice(_0x55c639)?resolveLatestUpdateNotice(_0x2b9637)[_0x1e0cc4(0x9d)](()=>null):Promise[_0x1e0cc4(0x82)](null),_0x2f3c66=await _0x4a1510[_0x1e0cc4(0x80)](_0x55c639);return attachUpdateNotice(_0x2f3c66,await _0x7253a2);}};}function shouldResolveUpdateNotice(_0x16b3b1){const _0x239854=a123_0x44dc;return _0x16b3b1[_0x239854(0x91)]===_0x239854(0x84)&&!_0x16b3b1[_0x239854(0x98)];}function attachUpdateNotice(_0x35d03c,_0xf7b625){const _0x4c11d7=a123_0x44dc;if(!_0xf7b625||!_0x35d03c||typeof _0x35d03c!==_0x4c11d7(0x8c))return _0x35d03c;const _0x5d5c0b=_0x35d03c,_0x468b12=typeof _0x5d5c0b[_0x4c11d7(0xa1)]===_0x4c11d7(0x8c)&&_0x5d5c0b[_0x4c11d7(0xa1)]!==null?_0x5d5c0b[_0x4c11d7(0xa1)]:{};return{..._0x5d5c0b,'_notice':{..._0x468b12,'update':_0xf7b625}};}
|
|
1
|
+
(function(_0x5b1fa0,_0x452966){const _0x5d0d06=a123_0x553a,_0x48f281=_0x5b1fa0();while(!![]){try{const _0x11b356=parseInt(_0x5d0d06(0xa7))/0x1+parseInt(_0x5d0d06(0xe5))/0x2+parseInt(_0x5d0d06(0xc8))/0x3+parseInt(_0x5d0d06(0xa5))/0x4+-parseInt(_0x5d0d06(0xb0))/0x5*(-parseInt(_0x5d0d06(0xd0))/0x6)+parseInt(_0x5d0d06(0xbe))/0x7+parseInt(_0x5d0d06(0xe3))/0x8*(-parseInt(_0x5d0d06(0xde))/0x9);if(_0x11b356===_0x452966)break;else _0x48f281['push'](_0x48f281['shift']());}catch(_0x10380f){_0x48f281['push'](_0x48f281['shift']());}}}(a123_0x759a,0xa8941));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(_0x2b9631){const _0x4cde9d=a123_0x553a;return void _0x2b9631,AUTH_MODE[_0x4cde9d(0xdd)];}function a123_0x759a(){const _0x11bf13=['defaultApp','Unknown\x20app:\x20','error','update','object','risk','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','validation','execute','resolve','nonInteractive','env','ClientAk','9cZwMJx','string','appcode','verbose','pretty','27557176XlQfrF','newConfigFileName','1846094EzyHsA','_notice','nativeToolRequired','appcode\x20\x22','\x20\x20To\x20proceed:\x20','requiresAppCode','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','mergedCli','schema','local-alias','.appcode\x20to\x20','239136dZhfPi','accessKey','1234719fZFDLv','appCodeSource','cancelled','APPCODE','format','service','catch','app','trim','848665MDKwxD','production','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','rawFlags','filter','../commands/app/remote-source.js','appCode','doctor','cli-skill','items','configMissing','currentApp','name','includes','9140572GDnYaY','isNonInteractive','high-risk-write','../core/api-client.js','defaultVerbose','nativeToolAvailable','confirmHighRisk','apiDomain','formatOutput','pageSize','816996TuiXcs','runtimeDomain','has','\x20or\x20pass\x20','command','Set\x20accessKey\x20in\x20','../core/sdk-client.js','ACCESS_KEY','12VcDQEc'];a123_0x759a=function(){return _0x11bf13;};return a123_0x759a();}function a123_0x553a(_0x641d0,_0x188be0){_0x641d0=_0x641d0-0x9b;const _0x759a69=a123_0x759a();let _0x553acb=_0x759a69[_0x641d0];return _0x553acb;}let sdkClientInitialized=![];export function createPipelineEnv(_0x3df268,_0x1cc601){const _0x447339=a123_0x553a,_0x21946c=typeof _0x1cc601[_0x447339(0xae)]===_0x447339(0xdf)&&_0x1cc601[_0x447339(0xae)]['trim']();return{'rawFlags':_0x1cc601,'appCode':_0x3df268[_0x447339(0xb6)]||productEnv(_0x447339(0xaa))||(_0x21946c?undefined:readAppCodeFromConfig()),'appCodeSource':_0x3df268[_0x447339(0xa8)],'apiDomain':getApiDomain(),'runtimeDomain':getRuntimeDomain(),'isNonInteractive':isNonInteractiveMode(_0x1cc601),'defaultFormat':_0x3df268[_0x447339(0xab)],'defaultPageSize':_0x3df268[_0x447339(0xc7)],'defaultVerbose':_0x3df268[_0x447339(0xe1)],'riskLevel':_0x3df268['riskLevel'],'nativeToolAvailable':_0x3df268['nativeToolAvailable'],'accessKey':_0x3df268['accessKey'],'env':_0x3df268[_0x447339(0xdc)],'mergedCli':{'defaultApp':_0x3df268['defaultApp'],'currentApp':_0x3df268[_0x447339(0xbb)],'appCode':_0x3df268[_0x447339(0xb6)]}};}export function createLovrabetRunnerAdapter(_0x52004c={}){const _0x89ecf1=a123_0x553a,_0x49f891={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x89ecf1(0xb4)](_0x57cb46=>PIPELINE_FLAG_NAMES[_0x89ecf1(0xca)](_0x57cb46[_0x89ecf1(0xbc)]))['map'](({name:_0x32f078,type:_0x38b0ee,description:_0x3e7a3f})=>({'name':_0x32f078,'type':_0x38b0ee,'description':_0x3e7a3f})),'formatOutput':_0x52004c[_0x89ecf1(0xc6)]??formatOutput,'getCommandLabel'(_0x3f21d9){return CLI_BIN_NAME+'\x20'+_0x3f21d9['service']+'\x20'+_0x3f21d9['command'];},'riskPolicy':{'onViolation'(_0x1e7cf6,{def:_0x3bd31d,env:_0x2ed3b5}){const _0x4b0673=_0x89ecf1;if(shouldRouteWriteToNativeTool(_0x3bd31d,_0x2ed3b5))return;console[_0x4b0673(0xd3)](_0x1e7cf6);},'createError'(_0x1f32f5,{def:_0x2160d4,env:_0x4974a8}){const _0x5f0c7a=_0x89ecf1;if(shouldRouteWriteToNativeTool(_0x2160d4,_0x4974a8))return CliErrors[_0x5f0c7a(0x9c)](CLI_BIN_NAME+'\x20'+_0x2160d4[_0x5f0c7a(0xac)]+'\x20'+_0x2160d4[_0x5f0c7a(0xcc)]);return CliErrors[_0x5f0c7a(0xa9)](_0x1f32f5);}},async 'prepare'(_0x9f5d28,_0x5b53cb){const _0x43f38a=_0x89ecf1,_0x59d673=resolveAuthMode(_0x5b53cb);if(_0x9f5d28['requiresAuth']!==![]){if(!_0x5b53cb['accessKey'])throw CliErrors['authRequired'](_0x43f38a(0xcd)+PRODUCT_CONFIG[_0x43f38a(0xe4)]+_0x43f38a(0xcb)+productEnvName(_0x43f38a(0xcf))+'.');const {setActiveAK:_0x39b221}=await import(_0x43f38a(0xc1));_0x39b221(_0x5b53cb[_0x43f38a(0xa6)]);}let _0x585746='';if(_0x9f5d28[_0x43f38a(0x9f)]!==![]){_0x585746=_0x5b53cb[_0x43f38a(0xb6)]??'',_0x585746=await resolveExplicitAppName(_0x9f5d28,_0x5b53cb,_0x585746);if(!_0x585746){await assertSelectedAppNameIsRuntimeAccessible(_0x9f5d28,_0x5b53cb);throw CliErrors[_0x43f38a(0xba)](_0x43f38a(0xb2)+PRODUCT_CONFIG[_0x43f38a(0xe4)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x9f5d28,_0x5b53cb,_0x585746);}if(_0x585746){const {initSdkClient:_0x598221}=await import(_0x43f38a(0xce));_0x598221({'appCode':_0x585746,'env':_0x5b53cb[_0x43f38a(0xdc)]??'production','runtimeDomain':_0x5b53cb[_0x43f38a(0xc9)],'accessKey':_0x5b53cb[_0x43f38a(0xa6)],'authMode':_0x59d673}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x5b53cb[_0x43f38a(0xc2)]},'numbers':{'pagesize':_0x5b53cb['defaultPageSize']}},'extras':{'appCode':_0x585746,'cookie':'','apiDomain':_0x5b53cb[_0x43f38a(0xc5)],'apiDir':'','accessKey':_0x5b53cb[_0x43f38a(0xa6)],'envName':_0x5b53cb[_0x43f38a(0xdc)],'mergedCli':_0x5b53cb[_0x43f38a(0xa1)]}};},'confirmHighRisk':_0x52004c[_0x89ecf1(0xc4)]??(async({def:_0x4dc4df,env:_0x5c2770,flags:_0x8440ad,commandLabel:_0x38bfc1})=>{const _0x61a897=_0x89ecf1;if(_0x5c2770[_0x61a897(0xbf)]){const _0x2e4bc4=reconstructCommandArgv(_0x4dc4df,_0x8440ad);throw CliErrors[_0x61a897(0xd8)]('High-risk\x20operation\x20`'+_0x38bfc1+_0x61a897(0xa0)+(_0x61a897(0x9e)+_0x2e4bc4));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x4dc4df,_0x38bfc1,_0x8440ad),'createCancelledError':_0xeb3a6d=>CliErrors[_0x61a897(0xa9)](_0xeb3a6d)});}),'mapDryRunError'(_0x10ecc0){return mapUserFacingExecuteError(_0x10ecc0);},'mapExecuteError'(_0x32acd3){return mapUserFacingExecuteError(_0x32acd3);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x49f891;}function shouldRouteWriteToNativeTool(_0x1d4d6f,_0x48604b){const _0x530a7a=a123_0x553a;return _0x48604b[_0x530a7a(0xc3)]===!![]&&(_0x1d4d6f[_0x530a7a(0xd6)]==='write'||_0x1d4d6f[_0x530a7a(0xd6)]===_0x530a7a(0xc0));}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x1073db=a123_0x553a;try{if(sdkClientInitialized){const {clearSdkClient:_0x53bf93}=await import(_0x1073db(0xce));_0x53bf93();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x1fc185}=await import(_0x1073db(0xc1));_0x1fc185();}}async function resolveExplicitAppName(_0x3cb8d8,_0x203aaa,_0x43068c){const _0xda0683=a123_0x553a;if(_0x3cb8d8[_0xda0683(0x9f)]===![])return _0x43068c;const _0x3bfd73=typeof _0x203aaa[_0xda0683(0xb3)][_0xda0683(0xae)]==='string'?_0x203aaa['rawFlags'][_0xda0683(0xae)][_0xda0683(0xaf)]():'';if(!_0x3bfd73)return _0x43068c;const _0x1231b6=typeof _0x203aaa[_0xda0683(0xb3)][_0xda0683(0xe0)]===_0xda0683(0xdf)&&_0x203aaa[_0xda0683(0xb3)][_0xda0683(0xe0)][_0xda0683(0xaf)]()||productEnv(_0xda0683(0xaa));if(_0x1231b6||_0x203aaa[_0xda0683(0xa8)]===_0xda0683(0xa3))return _0x43068c;const {getRemoteAppList:_0x56c2c7}=await import(_0xda0683(0xb5)),_0x3c2c07=await _0x56c2c7({'env':_0x203aaa[_0xda0683(0xdc)]??'production','accessKey':_0x203aaa['accessKey']}),_0x305f4d=findAppByName(_0x3c2c07[_0xda0683(0xb9)],_0x3bfd73);if(_0x305f4d&&!isRuntimeAccessibleApp(_0x305f4d))throw runtimeInaccessibleAppError(_0x305f4d,'\x22'+_0x3bfd73+'\x22');const _0x3c1cfe=_0x305f4d?.[_0xda0683(0xb6)]?.['trim']();if(_0x3c1cfe)return _0x3c1cfe;throw CliErrors[_0xda0683(0xd8)](_0xda0683(0xd2)+_0x3bfd73,'Run\x20`'+CLI_BIN_NAME+_0xda0683(0xd7)+_0x3bfd73+_0xda0683(0xa4)+PRODUCT_CONFIG[_0xda0683(0xe4)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x5d1c5e,_0x46a6cb){const _0x34a72e=a123_0x553a;if(_0x5d1c5e[_0x34a72e(0x9f)]===![]||!_0x46a6cb[_0x34a72e(0xa6)])return;const _0x189ddd=(typeof _0x46a6cb['rawFlags'][_0x34a72e(0xae)]===_0x34a72e(0xdf)&&_0x46a6cb[_0x34a72e(0xb3)]['app'][_0x34a72e(0xaf)]()?_0x46a6cb[_0x34a72e(0xb3)][_0x34a72e(0xae)]:_0x46a6cb[_0x34a72e(0xa1)]?.['currentApp']??_0x46a6cb[_0x34a72e(0xa1)]?.[_0x34a72e(0xd1)])?.[_0x34a72e(0xaf)]();if(!_0x189ddd)return;const {getRemoteAppList:_0x98c0fe}=await import(_0x34a72e(0xb5)),_0xb8aa37=await _0x98c0fe({'env':_0x46a6cb[_0x34a72e(0xdc)]??'production','accessKey':_0x46a6cb[_0x34a72e(0xa6)]}),_0x588af6=findAppByName(_0xb8aa37['items'],_0x189ddd);if(_0x588af6&&!isRuntimeAccessibleApp(_0x588af6))throw runtimeInaccessibleAppError(_0x588af6,'\x22'+_0x189ddd+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x3f6697,_0xbd158a,_0x2af421){const _0x427e46=a123_0x553a;if(_0x3f6697[_0x427e46(0x9f)]===![]||!_0xbd158a[_0x427e46(0xa6)])return;const {getRemoteAppList:_0x44f158}=await import(_0x427e46(0xb5)),_0x1dd56f=await _0x44f158({'env':_0xbd158a[_0x427e46(0xdc)]??_0x427e46(0xb1),'accessKey':_0xbd158a[_0x427e46(0xa6)]}),_0x1d9dfd=findAppByCode(_0x1dd56f[_0x427e46(0xb9)],_0x2af421);if(_0x1d9dfd&&!isRuntimeAccessibleApp(_0x1d9dfd))throw runtimeInaccessibleAppError(_0x1d9dfd,_0x427e46(0x9d)+_0x2af421+'\x22');}export async function runCommand(_0x46e36c,_0x4c6d48,_0xa90574=terminalRunnerAdapter){const _0x592936=a123_0x553a;assertKnownCommandFlags(_0x46e36c,_0x4c6d48[_0x592936(0xb3)]),await runCommandWithAdapter(shouldApplyVersionPolicy(_0x46e36c)?withVersionPolicy(_0x46e36c):_0x46e36c,_0x4c6d48,_0xa90574);}function shouldApplyVersionPolicy(_0x292bab){const _0x476bd6=a123_0x553a;if([_0x476bd6(0xd4),_0x476bd6(0xa2),_0x476bd6(0xb7)][_0x476bd6(0xbd)](_0x292bab[_0x476bd6(0xac)]))return![];return!(_0x292bab[_0x476bd6(0xac)]===_0x476bd6(0xb8)&&_0x292bab[_0x476bd6(0xcc)]==='install');}function withVersionPolicy(_0x4431de){return{..._0x4431de,async 'execute'(_0x169cbd){const _0x114977=a123_0x553a,_0x2fb7e5=await checkCliVersion();assertCliVersionSupported(_0x2fb7e5);const _0x3661d2=shouldResolveUpdateNotice(_0x169cbd)?resolveLatestUpdateNotice(_0x2fb7e5)[_0x114977(0xad)](()=>null):Promise[_0x114977(0xda)](null),_0x4cae9f=await _0x4431de[_0x114977(0xd9)](_0x169cbd);return attachUpdateNotice(_0x4cae9f,await _0x3661d2);}};}function shouldResolveUpdateNotice(_0x21e379){const _0x28a673=a123_0x553a;return _0x21e379[_0x28a673(0xab)]===_0x28a673(0xe2)&&!_0x21e379[_0x28a673(0xdb)];}function attachUpdateNotice(_0x362302,_0x23824e){const _0x214497=a123_0x553a;if(!_0x23824e||!_0x362302||typeof _0x362302!=='object')return _0x362302;const _0x32d702=_0x362302,_0x555bbb=typeof _0x32d702[_0x214497(0x9b)]===_0x214497(0xd5)&&_0x32d702[_0x214497(0x9b)]!==null?_0x32d702['_notice']:{};return{..._0x32d702,'_notice':{..._0x555bbb,'update':_0x23824e}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2f3673,_0x572019){const _0x432224=a124_0x18cc,_0x5d9887=_0x2f3673();while(!![]){try{const _0x4411a8=-parseInt(_0x432224(0x1bc))/0x1*(-parseInt(_0x432224(0x1b1))/0x2)+parseInt(_0x432224(0x1ac))/0x3+-parseInt(_0x432224(0x1bb))/0x4*(-parseInt(_0x432224(0x1b3))/0x5)+-parseInt(_0x432224(0x1b9))/0x6*(-parseInt(_0x432224(0x1a9))/0x7)+-parseInt(_0x432224(0x1af))/0x8*(parseInt(_0x432224(0x1b5))/0x9)+parseInt(_0x432224(0x1b4))/0xa*(parseInt(_0x432224(0x1b6))/0xb)+-parseInt(_0x432224(0x1ba))/0xc;if(_0x4411a8===_0x572019)break;else _0x5d9887['push'](_0x5d9887['shift']());}catch(_0x4af5d5){_0x5d9887['push'](_0x5d9887['shift']());}}}(a124_0x39aa,0x49278));import{buildSchemaPayload as a124_0x27b454}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';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';function a124_0x39aa(){const _0x25a476=['124638mOhQtP','11645424zJqDkx','230060iIVeEc','1NFyRxh','21nFpYnN','../commands/registry.js','required','331416QRDUjl','services','map','712eUJNHN','service','794478olIaPH','none','35fntkwU','10RKjGlx','13986ADGNYB','4793393fKdPji','has','auth'];a124_0x39aa=function(){return _0x25a476;};return a124_0x39aa();}function a124_0x18cc(_0x475032,_0x1924a9){_0x475032=_0x475032-0x1a9;const _0x39aa68=a124_0x39aa();let _0x18cc5c=_0x39aa68[_0x475032];return _0x18cc5c;}export async function buildSchemaPayload(){const _0xc19ad0=a124_0x18cc,{serviceRegistry:_0x266b94,findDefinition:_0x13edf7}=await import(_0xc19ad0(0x1aa)),_0x458db3=new Set(_0x266b94[_0xc19ad0(0x1ae)](_0x578d4b=>_0x578d4b[_0xc19ad0(0x1b0)])),_0x42ba5a=listDynamicServiceEntries()['filter'](_0x5f01c1=>!_0x458db3[_0xc19ad0(0x1b7)](_0x5f01c1[_0xc19ad0(0x1b0)])),_0x5acba6=a124_0x27b454({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x266b94,_0x42ba5a),'buildAllFlags':buildAllFlags,'findDefinition':(_0x33066b,_0xfbdaff)=>_0x13edf7(_0x33066b,_0xfbdaff)??findDynamicServiceDefinition(_0x33066b,_0xfbdaff)});return normalizeSchemaPayload(_0x5acba6);}function normalizeSchemaPayload(_0x51bddf){const _0x52dbd4=a124_0x18cc;return{..._0x51bddf,'schemaVersion':0x2,'services':_0x51bddf[_0x52dbd4(0x1ad)][_0x52dbd4(0x1ae)](_0x57320d=>({..._0x57320d,'commands':_0x57320d['commands'][_0x52dbd4(0x1ae)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x34eafd){const _0x4fcc82=a124_0x18cc,_0x4115f7=_0x34eafd;return{..._0x34eafd,'auth':_0x4115f7[_0x4fcc82(0x1b8)]??(_0x34eafd['requiresAuth']?_0x4fcc82(0x1ab):_0x4fcc82(0x1b2))};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a125_0x30e8(){const _0x4012d3=['15629jzJVAO','12639330tFRdQb','7061466byyPHn','service','5235025lKLLsN','7hkBirf','slice','210GAoRTf','2779812qbdVlT','3194104GbJfvL','4DcJkgQ','36pkPZbQ','length','16606557yLvTGT'];a125_0x30e8=function(){return _0x4012d3;};return a125_0x30e8();}(function(_0x3659cb,_0x569319){const _0x485a89=a125_0x1d21,_0x185070=_0x3659cb();while(!![]){try{const _0x555f75=parseInt(_0x485a89(0x172))/0x1*(parseInt(_0x485a89(0x179))/0x2)+parseInt(_0x485a89(0x17a))/0x3*(parseInt(_0x485a89(0x17c))/0x4)+-parseInt(_0x485a89(0x176))/0x5+-parseInt(_0x485a89(0x174))/0x6*(-parseInt(_0x485a89(0x177))/0x7)+parseInt(_0x485a89(0x17b))/0x8*(-parseInt(_0x485a89(0x16f))/0x9)+parseInt(_0x485a89(0x173))/0xa+-parseInt(_0x485a89(0x171))/0xb;if(_0x555f75===_0x569319)break;else _0x185070['push'](_0x185070['shift']());}catch(_0x5de79b){_0x185070['push'](_0x185070['shift']());}}}(a125_0x30e8,0xd0add));function a125_0x1d21(_0x2d620c,_0x251c41){_0x2d620c=_0x2d620c-0x16f;const _0x30e8a2=a125_0x30e8();let _0x1d2191=_0x30e8a2[_0x2d620c];return _0x1d2191;}export function insertDynamicServicesAfterServiceTree(_0x307094,_0x194cc2){const _0x1bc902=a125_0x1d21;if(_0x194cc2[_0x1bc902(0x170)]===0x0)return[..._0x307094];const _0x213d6d=_0x307094['findIndex'](_0x1d4b80=>_0x1d4b80[_0x1bc902(0x175)]===_0x1bc902(0x175));if(_0x213d6d<0x0)return[..._0x307094,..._0x194cc2];return[..._0x307094['slice'](0x0,_0x213d6d+0x1),..._0x194cc2,..._0x307094[_0x1bc902(0x178)](_0x213d6d+0x1)];}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x50f773,_0x2ad452){var _0x5df32f=a126_0x38f3,_0x4a83c7=_0x50f773();while(!![]){try{var _0x4eface=parseInt(_0x5df32f(0x1cd))/0x1+-parseInt(_0x5df32f(0x1c6))/0x2+parseInt(_0x5df32f(0x1c9))/0x3*(parseInt(_0x5df32f(0x1c5))/0x4)+-parseInt(_0x5df32f(0x1c2))/0x5*(parseInt(_0x5df32f(0x1c4))/0x6)+-parseInt(_0x5df32f(0x1cb))/0x7*(-parseInt(_0x5df32f(0x1c8))/0x8)+parseInt(_0x5df32f(0x1c3))/0x9*(parseInt(_0x5df32f(0x1cc))/0xa)+-parseInt(_0x5df32f(0x1c7))/0xb*(-parseInt(_0x5df32f(0x1ca))/0xc);if(_0x4eface===_0x2ad452)break;else _0x4a83c7['push'](_0x4a83c7['shift']());}catch(_0xf1d2f5){_0x4a83c7['push'](_0x4a83c7['shift']());}}}(a126_0x3337,0xb490d));function a126_0x3337(){var _0x20b986=['619577SAxOnx','1199990frymmy','1414989XbDNJt','845ZIfoPM','9ErXtzn','36222tqAQyr','1042868iCkjPy','1667588tjOMEs','4642xukQfB','24fcWugv','9GrTZEN','312kMxbRs'];a126_0x3337=function(){return _0x20b986;};return a126_0x3337();}function a126_0x38f3(_0xf6a0b8,_0x1ebffb){_0xf6a0b8=_0xf6a0b8-0x1c2;var _0x33378e=a126_0x3337();var _0x38f3df=_0x33378e[_0xf6a0b8];return _0x38f3df;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "2.3.
|
|
2
|
-
export declare const GIT_TAG = "v2.3.
|
|
3
|
-
export declare const GIT_COMMIT = "
|
|
4
|
-
export declare const BUILD_TIME = "2026-10-
|
|
1
|
+
export declare const VERSION = "2.3.6-beta.1";
|
|
2
|
+
export declare const GIT_TAG = "v2.3.6-beta.1";
|
|
3
|
+
export declare const GIT_COMMIT = "2879bac";
|
|
4
|
+
export declare const BUILD_TIME = "2026-10-21T02:52:17.656Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a127_0x350f03=a127_0x35ea;(function(_0x29e51a,_0x254d14){const _0x544742=a127_0x35ea,_0x18c6ec=_0x29e51a();while(!![]){try{const _0x44eb83=-parseInt(_0x544742(0x10c))/0x1*(parseInt(_0x544742(0x10e))/0x2)+-parseInt(_0x544742(0x10b))/0x3+-parseInt(_0x544742(0x10d))/0x4+-parseInt(_0x544742(0x10f))/0x5+parseInt(_0x544742(0x109))/0x6+-parseInt(_0x544742(0x10a))/0x7*(-parseInt(_0x544742(0x105))/0x8)+parseInt(_0x544742(0x108))/0x9;if(_0x44eb83===_0x254d14)break;else _0x18c6ec['push'](_0x18c6ec['shift']());}catch(_0x3e4ba3){_0x18c6ec['push'](_0x18c6ec['shift']());}}}(a127_0x160a,0x5824e));export const VERSION='2.3.6-beta.1';export const GIT_TAG=a127_0x350f03(0x106);export const GIT_COMMIT=a127_0x350f03(0x107);export const BUILD_TIME='2026-10-21T02:52:17.656Z';function a127_0x35ea(_0x41fe35,_0x537d8c){_0x41fe35=_0x41fe35-0x105;const _0x160a1d=a127_0x160a();let _0x35ea8b=_0x160a1d[_0x41fe35];return _0x35ea8b;}function a127_0x160a(){const _0x372ca5=['40IqRhbz','v2.3.6-beta.1','2879bac','11401236Xteoaj','1160664RGCuuE','476707vbiktY','1372575bYKaeV','1jIlkbw','2573020KFOQNG','205174gZxtRe','1181740ykwNCl'];a127_0x160a=function(){return _0x372ca5;};return a127_0x160a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128_0x37064e=a128_0x520b;(function(_0x1e0f79,_0xe76c74){const _0x4de6fb=a128_0x520b,_0x5e9c54=_0x1e0f79();while(!![]){try{const _0x4b1b4f=parseInt(_0x4de6fb(0xc0))/0x1+-parseInt(_0x4de6fb(0xc4))/0x2+parseInt(_0x4de6fb(0xba))/0x3*(-parseInt(_0x4de6fb(0xca))/0x4)+-parseInt(_0x4de6fb(0xad))/0x5+parseInt(_0x4de6fb(0xb8))/0x6*(-parseInt(_0x4de6fb(0xa6))/0x7)+-parseInt(_0x4de6fb(0xb1))/0x8*(parseInt(_0x4de6fb(0xac))/0x9)+parseInt(_0x4de6fb(0xb3))/0xa*(parseInt(_0x4de6fb(0xbd))/0xb);if(_0x4b1b4f===_0xe76c74)break;else _0x5e9c54['push'](_0x5e9c54['shift']());}catch(_0x532e48){_0x5e9c54['push'](_0x5e9c54['shift']());}}}(a128_0x51e6,0x52777));export const ROUTING_CATALOG_DIGEST=a128_0x37064e(0xaf);function a128_0x520b(_0x357a49,_0x29facf){_0x357a49=_0x357a49-0xa5;const _0x51e6db=a128_0x51e6();let _0x520be5=_0x51e6db[_0x357a49];return _0x520be5;}function a128_0x51e6(){const _0x459ca0=['https://runtime.lovrabet.com','10XrMltk','Mainland\x20China','https://daily-runtime.lovrabet.ai','https://daily-api.lovrabet.com','https://runtime.lovrabet.id','6EAUfwd','https://api.lovrabet.id','507QdbjQY','https://skills-daily.lovrabet.com','Indonesia','17953837JXcHyo','https://skills.lovrabet.id','https://daily-runtime.lovrabet.com','116709gthAqF','https://api.lovrabet.com','https://skills.lovrabet.com','Global','1350194FMHWhd','https://kb-service.lovrabet.id','https://runtime.lovrabet.ai','https://user-daily.lovrabet.com','https://kb-service-daily.lovrabet.com','indonesia','7332HuUnid','https://user.lovrabet.com','https://kb-service.lovrabet.com','491365Eprenh','https://user.lovrabet.ai','china','https://user-daily.lovrabet.ai','https://api.lovrabet.ai','https://skills-daily.lovrabet.ai','9hHcigH','1756605ZZcOtO','https://user.lovrabet.id','886843ef89aa4ff2b36d612e8fbd1b6c1840b37728916fba5699be34129ef579','global','37624EiWGWb'];a128_0x51e6=function(){return _0x459ca0;};return a128_0x51e6();}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a128_0x37064e(0xb0)];export const ENABLED_REGION_VALUES=['cn','id','global'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a128_0x37064e(0xb4),'aliases':[a128_0x37064e(0xa8)],'serviceDomains':{'production':{'user':a128_0x37064e(0xcb),'api':a128_0x37064e(0xc1),'runtime':a128_0x37064e(0xb2),'skill':a128_0x37064e(0xc2),'kbService':a128_0x37064e(0xa5)},'daily':{'user':a128_0x37064e(0xc7),'api':a128_0x37064e(0xb6),'runtime':a128_0x37064e(0xbf),'skill':a128_0x37064e(0xbb),'kbService':a128_0x37064e(0xc8)}}},'id':{'enabled':!![],'label':a128_0x37064e(0xbc),'aliases':[a128_0x37064e(0xc9)],'serviceDomains':{'production':{'user':a128_0x37064e(0xae),'api':a128_0x37064e(0xb9),'runtime':a128_0x37064e(0xb7),'skill':a128_0x37064e(0xbe),'kbService':a128_0x37064e(0xc5)}}},'global':{'enabled':!![],'label':a128_0x37064e(0xc3),'aliases':[],'serviceDomains':{'production':{'user':a128_0x37064e(0xa7),'api':a128_0x37064e(0xaa),'runtime':a128_0x37064e(0xc6),'skill':'https://skills.lovrabet.ai'},'daily':{'user':a128_0x37064e(0xa9),'api':'https://daily-api.lovrabet.ai','runtime':a128_0x37064e(0xb5),'skill':a128_0x37064e(0xab)}}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a129_0x4adee3=a129_0xcfab;function a129_0x588f(){const _0x35ea60=['57ujhqwo','runtimeDomain','3227532MAWEzg','20534nhJSFQ','apiDomain','5370vlxpqC','2135676FXULXR','261sndalD','4195MINyEW','155180bzgfWf','userDomain','kbServiceDomain','2717824CXoBow','skillDomain','enterprise','1612597fhYfrJ','8LvayNQ','12tsYEVz','lovrabet-routing/v1'];a129_0x588f=function(){return _0x35ea60;};return a129_0x588f();}function a129_0xcfab(_0x512b3b,_0x2ad574){_0x512b3b=_0x512b3b-0x18a;const _0x588f76=a129_0x588f();let _0xcfab7b=_0x588f76[_0x512b3b];return _0xcfab7b;}(function(_0x4ab4f7,_0x5e6995){const _0x2d831e=a129_0xcfab,_0x144c88=_0x4ab4f7();while(!![]){try{const _0x5ab101=parseInt(_0x2d831e(0x18e))/0x1*(parseInt(_0x2d831e(0x191))/0x2)+parseInt(_0x2d831e(0x194))/0x3+-parseInt(_0x2d831e(0x19a))/0x4+-parseInt(_0x2d831e(0x196))/0x5*(parseInt(_0x2d831e(0x193))/0x6)+parseInt(_0x2d831e(0x18a))/0x7*(-parseInt(_0x2d831e(0x18b))/0x8)+parseInt(_0x2d831e(0x195))/0x9*(parseInt(_0x2d831e(0x197))/0xa)+parseInt(_0x2d831e(0x190))/0xb*(parseInt(_0x2d831e(0x18c))/0xc);if(_0x5ab101===_0x5e6995)break;else _0x144c88['push'](_0x144c88['shift']());}catch(_0x4d3c51){_0x144c88['push'](_0x144c88['shift']());}}}(a129_0x588f,0x5cba5));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST='e3423cad71c22edb18a8481be7bdb733ff2d4136c31aa3ae6da56271e32cced7';export const ENTERPRISE_ROUTING_PROTOCOL=a129_0x4adee3(0x18d);export const ENTERPRISE_ROUTING_KIND=a129_0x4adee3(0x19c);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a129_0x4adee3(0x192),a129_0x4adee3(0x18f),a129_0x4adee3(0x19b),a129_0x4adee3(0x199)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a129_0x4adee3(0x198),a129_0x4adee3(0x192),a129_0x4adee3(0x18f),a129_0x4adee3(0x19b)];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x38c819,_0x781cf0){const _0x5c1597=a130_0x14a9,_0x3eed96=_0x38c819();while(!![]){try{const _0x408ded=-parseInt(_0x5c1597(0x142))/0x1+parseInt(_0x5c1597(0x14a))/0x2*(parseInt(_0x5c1597(0x14b))/0x3)+-parseInt(_0x5c1597(0x149))/0x4*(parseInt(_0x5c1597(0x147))/0x5)+parseInt(_0x5c1597(0x141))/0x6+parseInt(_0x5c1597(0x144))/0x7+parseInt(_0x5c1597(0x148))/0x8*(-parseInt(_0x5c1597(0x13e))/0x9)+parseInt(_0x5c1597(0x143))/0xa*(parseInt(_0x5c1597(0x145))/0xb);if(_0x408ded===_0x781cf0)break;else _0x3eed96['push'](_0x3eed96['shift']());}catch(_0x13187d){_0x3eed96['push'](_0x3eed96['shift']());}}}(a130_0x2859,0xe60c6));import{jsx as a130_0x5160fe,jsxs as a130_0xc11f99}from'react/jsx-runtime';import{useEffect}from'react';function a130_0x2859(){const _0x1597b8=['4212100CaFfgs','8209292uxSGOi','11NRQOjT','\x20--help','40WieJfW','179656jZXFha','477652BvBTPj','1444302wbRLCQ','3ipLIGI','green','306rRDolZ','\x20\x20Use\x20','column','6581706KzZfYK','751948Wirlhg'];a130_0x2859=function(){return _0x1597b8;};return a130_0x2859();}import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a130_0x14a9(_0x16a22e,_0x1e5ab7){_0x16a22e=_0x16a22e-0x13d;const _0x285958=a130_0x2859();let _0x14a9e5=_0x285958[_0x16a22e];return _0x14a9e5;}export function Help(){const _0x4dabf8=a130_0x14a9,{exit:_0x28fe56}=useApp();return useEffect(()=>{_0x28fe56();},[_0x28fe56]),a130_0xc11f99(Box,{'flexDirection':_0x4dabf8(0x140),'marginTop':0x1,'marginBottom':0x1,'children':[a130_0x5160fe(Box,{'children':a130_0x5160fe(Text,{'bold':!![],'color':_0x4dabf8(0x13d),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a130_0xc11f99(Box,{'marginTop':0x1,'children':[a130_0x5160fe(Text,{'dimColor':!![],'children':_0x4dabf8(0x13f)}),a130_0x5160fe(Text,{'bold':!![],'color':_0x4dabf8(0x13d),'children':CLI_BIN_NAME+_0x4dabf8(0x146)}),a130_0x5160fe(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x52aced,_0x55b2e4){const _0x2e4f79=a131_0x4f97,_0x336c3b=_0x52aced();while(!![]){try{const _0x52355c=-parseInt(_0x2e4f79(0x76))/0x1*(-parseInt(_0x2e4f79(0x6c))/0x2)+-parseInt(_0x2e4f79(0x6a))/0x3+-parseInt(_0x2e4f79(0x7a))/0x4*(parseInt(_0x2e4f79(0x69))/0x5)+-parseInt(_0x2e4f79(0x74))/0x6+-parseInt(_0x2e4f79(0x73))/0x7*(parseInt(_0x2e4f79(0x79))/0x8)+parseInt(_0x2e4f79(0x75))/0x9+parseInt(_0x2e4f79(0x66))/0xa;if(_0x52355c===_0x55b2e4)break;else _0x336c3b['push'](_0x336c3b['shift']());}catch(_0x4e82d1){_0x336c3b['push'](_0x336c3b['shift']());}}}(a131_0x29cd,0x2041d));import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x1a4af9={}){const _0x3caac4=a131_0x4f97,_0x26fc45=installBuiltinSkill(_0x1a4af9);if(_0x26fc45['ok']){const _0x431228=_0x26fc45['changed']?'installed':_0x3caac4(0x68),_0x28f88d=_0x26fc45[_0x3caac4(0x7c)]?_0x3caac4(0x77)+_0x26fc45[_0x3caac4(0x7c)]:_0x3caac4(0x78);return console[_0x3caac4(0x6f)]('Lovrabet\x20Built-in\x20Skill\x20'+_0x26fc45[_0x3caac4(0x7d)]+'\x20'+_0x431228+_0x28f88d),_0x26fc45;}const _0x215988=_0x3caac4(0x7b)+(_0x26fc45[_0x3caac4(0x6b)]??'FAILED')+']\x20'+(_0x26fc45[_0x3caac4(0x6e)]??_0x3caac4(0x71))+'.\x20'+(_0x3caac4(0x72)+_0x26fc45[_0x3caac4(0x67)]);if(_0x26fc45[_0x3caac4(0x6b)]===_0x3caac4(0x70))throw new Error(_0x215988);return console[_0x3caac4(0x6d)](_0x215988),_0x26fc45;}function a131_0x4f97(_0x4cf5bd,_0x27d6cc){_0x4cf5bd=_0x4cf5bd-0x66;const _0x29cd45=a131_0x29cd();let _0x4f9783=_0x29cd45[_0x4cf5bd];return _0x4f9783;}function a131_0x29cd(){const _0x4825c6=['already\x20current','5ISJTYm','140871qmfXfR','code','2dXTiRE','warn','error','log','SOURCE_INVALID','Installation\x20failed','Repair\x20with:\x20','14aQOPOT','4854cqXhnZ','696582qDPbGQ','225583miBbYm','\x20at\x20','\x20via\x20skills@latest','498056LbTHel','314388hgASPQ','[BUILTIN_SKILL_INSTALL_','installedPath','skillVersion','800210GyWyQY','repairCommand'];a131_0x29cd=function(){return _0x4825c6;};return a131_0x29cd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x326e43,_0x360123){const _0x4de6db=a132_0x111c,_0x30a123=_0x326e43();while(!![]){try{const _0x99e13e=parseInt(_0x4de6db(0x11f))/0x1*(-parseInt(_0x4de6db(0x11d))/0x2)+-parseInt(_0x4de6db(0x112))/0x3*(-parseInt(_0x4de6db(0x119))/0x4)+-parseInt(_0x4de6db(0x118))/0x5+-parseInt(_0x4de6db(0x114))/0x6*(-parseInt(_0x4de6db(0x10d))/0x7)+parseInt(_0x4de6db(0x10f))/0x8*(parseInt(_0x4de6db(0x120))/0x9)+parseInt(_0x4de6db(0x115))/0xa*(parseInt(_0x4de6db(0x117))/0xb)+-parseInt(_0x4de6db(0x111))/0xc*(parseInt(_0x4de6db(0x113))/0xd);if(_0x99e13e===_0x360123)break;else _0x30a123['push'](_0x30a123['shift']());}catch(_0x3897c1){_0x30a123['push'](_0x30a123['shift']());}}}(a132_0x567d,0xea44d));function a132_0x111c(_0x5b289d,_0x1e0a93){_0x5b289d=_0x5b289d-0x10d;const _0x567db0=a132_0x567d();let _0x111c75=_0x567db0[_0x5b289d];return _0x111c75;}const DESCRIPTION_MAX_LENGTH=0x1f4;function a132_0x567d(){const _0x2ba74d=['5525641SsCbDc','5459850NEMAiR','3435592jVuRGu','trim','confirmationDescription','risk','6976RWrfyi','description','401tQYnxt','9eGtQQV','high-risk-write','10234gkmRvC','Run\x20this\x20write\x20operation','11928160wBNJKN','slice','207588sOpqGD','3vpZewL','156sJkaDZ','3306GrmEJN','10deEJaW','replace'];a132_0x567d=function(){return _0x2ba74d;};return a132_0x567d();}export function buildLovrabetConfirmationRequest(_0x51ff44,_0x3cbf88,_0x362bc0){const _0x473f19=a132_0x111c,_0x2b15b1=normalizeText(_0x51ff44[_0x473f19(0x11b)],DESCRIPTION_MAX_LENGTH),_0x437824=normalizeText(_0x51ff44[_0x473f19(0x11e)],DESCRIPTION_MAX_LENGTH);return{'operation':_0x3cbf88,'risk':requireWriteRisk(_0x51ff44),'description':_0x2b15b1||_0x437824||_0x473f19(0x10e),..._0x362bc0?{'signal':_0x362bc0}:{}};}function requireWriteRisk(_0x1bd5f4){const _0x1b9a41=a132_0x111c;if(_0x1bd5f4[_0x1b9a41(0x11c)]==='write'||_0x1bd5f4[_0x1b9a41(0x11c)]===_0x1b9a41(0x121))return _0x1bd5f4['risk'];throw new Error('Lovrabet\x20confirmation\x20requires\x20a\x20write\x20command.');}function normalizeText(_0x17a38c,_0x1d9d1e){const _0x553db4=a132_0x111c;if(typeof _0x17a38c!=='string')return'';return _0x17a38c[_0x553db4(0x116)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x553db4(0x116)](/\s+/g,'\x20')[_0x553db4(0x11a)]()[_0x553db4(0x110)](0x0,_0x1d9d1e);}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a133_0xcc84(_0x560baf,_0x147845){_0x560baf=_0x560baf-0x99;const _0x179301=a133_0x1793();let _0xcc8479=_0x179301[_0x560baf];return _0xcc8479;}(function(_0x1d01ae,_0x5a1b24){const _0x2b980f=a133_0xcc84,_0x524fe4=_0x1d01ae();while(!![]){try{const _0x31b23a=parseInt(_0x2b980f(0x9c))/0x1*(parseInt(_0x2b980f(0xab))/0x2)+-parseInt(_0x2b980f(0xaa))/0x3+-parseInt(_0x2b980f(0xa6))/0x4*(parseInt(_0x2b980f(0x9e))/0x5)+parseInt(_0x2b980f(0xa5))/0x6+-parseInt(_0x2b980f(0xa0))/0x7+parseInt(_0x2b980f(0x9f))/0x8*(-parseInt(_0x2b980f(0x9d))/0x9)+-parseInt(_0x2b980f(0xa9))/0xa*(-parseInt(_0x2b980f(0xa2))/0xb);if(_0x31b23a===_0x5a1b24)break;else _0x524fe4['push'](_0x524fe4['shift']());}catch(_0x85be7a){_0x524fe4['push'](_0x524fe4['shift']());}}}(a133_0x1793,0xce28e));export function canonicalLovrabetOperation(_0x11a672){const _0xe170fc=a133_0xcc84;return[_0x11a672[_0xe170fc(0x9a)],..._0x11a672[_0xe170fc(0x9b)][_0xe170fc(0x99)]()[_0xe170fc(0xa1)](/\s+/)][_0xe170fc(0xa8)](Boolean)[_0xe170fc(0xa7)]('.');}function a133_0x1793(){const _0x4b3f34=['service','command','34FhjAFY','603927xsDSvO','14090vhuWwa','136GWNzwS','9967370dDVCdr','split','11ldMRXz','write','risk','5579832CUvvVy','772vIBWPb','join','filter','27796030qZtwyo','3992634aRWjfy','92604urPfzj','trim'];a133_0x1793=function(){return _0x4b3f34;};return a133_0x1793();}export function createLovrabetWriteMetadata(_0x502b8e,_0x2a2192,_0x4e3342,_0x2dbdce){const _0x106177=a133_0xcc84;if(_0x2dbdce||_0x4e3342['ok']!==!![]||_0x502b8e[_0x106177(0xa4)]!==_0x106177(0xa3)&&_0x502b8e['risk']!=='high-risk-write')return undefined;const _0x39305f=_0x502b8e['writeEventSubject']?.(_0x4e3342),_0x51c2ac={'type':'lovrabet.write.completed','operation':_0x2a2192,'risk':_0x502b8e[_0x106177(0xa4)],..._0x39305f?{'subject':_0x39305f}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x51c2ac}};}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2f1ab2,_0x7defda){const _0x1c4d60=a134_0x39d7,_0x3d4789=_0x2f1ab2();while(!![]){try{const _0x94e0c3=parseInt(_0x1c4d60(0x209))/0x1+parseInt(_0x1c4d60(0x1ff))/0x2+parseInt(_0x1c4d60(0x1fa))/0x3*(-parseInt(_0x1c4d60(0x1f2))/0x4)+-parseInt(_0x1c4d60(0x201))/0x5+parseInt(_0x1c4d60(0x207))/0x6*(-parseInt(_0x1c4d60(0x1f8))/0x7)+-parseInt(_0x1c4d60(0x1f3))/0x8*(-parseInt(_0x1c4d60(0x1f7))/0x9)+parseInt(_0x1c4d60(0x206))/0xa*(parseInt(_0x1c4d60(0x1e8))/0xb);if(_0x94e0c3===_0x7defda)break;else _0x3d4789['push'](_0x3d4789['shift']());}catch(_0x2d11cb){_0x3d4789['push'](_0x3d4789['shift']());}}}(a134_0x4fe0,0x6ceb4));function a134_0x39d7(_0x584fd5,_0x4557d1){_0x584fd5=_0x584fd5-0x1e5;const _0x4fe064=a134_0x4fe0();let _0x39d780=_0x4fe064[_0x584fd5];return _0x39d780;}import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';function a134_0x4fe0(){const _0x11f263=['yes','isNonInteractive','risk','result','write','reason','86312CIVvCW','200nqNMYI','execute','dryRun','confirm','15048LlrTui','427FBrdwr','data','21uSaByQ','definition','Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.','aborted','command','399204YDtdHn','riskLevel','1566250KstXbd','rawFlags','confirmation','Lovrabet\x20invocation\x20aborted.','presentation','6430930YFcxwQ','41946CjxSzJ','present','452384dgwCkE','AbortError','format','stringify','dry-run','Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','11REtyjC','args','high-risk-write','signal'];a134_0x4fe0=function(){return _0x11f263;};return a134_0x4fe0();}import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{buildLovrabetConfirmationRequest}from'../runtime/confirmation.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x5d472d,command:_0x445359,risk:_0x3256c3,dryRun:_0x2d4466}){const _0x4074aa=a134_0x39d7;return JSON[_0x4074aa(0x1e5)]({'ok':_0x5d472d['ok'],'command':_0x445359,'risk':_0x3256c3,..._0x2d4466?{'dryRun':!![]}:{},..._0x5d472d[_0x4074aa(0x1f9)]!==undefined?{'data':_0x5d472d[_0x4074aa(0x1f9)]}:{},..._0x5d472d['message']?{'message':_0x5d472d['message']}:{}});}};export async function invokeLovrabet(_0x3b528b,_0x292dc2){const _0x3c5b67=a134_0x39d7;throwIfAborted(_0x292dc2[_0x3c5b67(0x1eb)]);const _0x2051e0=await resolveLovrabetInvocation(_0x3b528b),_0x283e9e=canonicalLovrabetOperation(_0x2051e0[_0x3c5b67(0x1fb)]);return await confirmWriteBeforeQueue(_0x2051e0[_0x3c5b67(0x1fb)],_0x2051e0[_0x3c5b67(0x202)],_0x283e9e,_0x292dc2),runSerialized(async()=>{const _0x21036b=_0x3c5b67;throwIfAborted(_0x292dc2[_0x21036b(0x1eb)]);const _0x207187={},_0x3bd5c9=buildConfigFromFlags(_0x2051e0['rawFlags']);await initGlobalEnvironment(_0x3bd5c9);const _0xa3cfef=createPipelineEnv(_0x3bd5c9,{..._0x2051e0[_0x21036b(0x202)],'yes':_0x2051e0['definition'][_0x21036b(0x1ee)]==='high-risk-write'?!![]:_0x2051e0[_0x21036b(0x202)][_0x21036b(0x1ec)],'nonInteractive':!![]});_0xa3cfef[_0x21036b(0x1e9)]=_0x2051e0[_0x21036b(0x1e9)],_0xa3cfef[_0x21036b(0x1ed)]=!![],_0xa3cfef[_0x21036b(0x200)]=_0x21036b(0x1ea);const _0x5c4808=withAbortSignal(_0x2051e0['definition'],_0x292dc2['signal']),_0x3c03a4=createLovrabetRunnerAdapter({'formatOutput'(_0x5da713,_0x52c61e){const _0x52469d=_0x21036b;_0x207187['result']=_0x5da713,_0x207187['command']=_0x52c61e['command'],_0x207187[_0x52469d(0x1ee)]=_0x52c61e['risk'],_0x207187[_0x52469d(0x20b)]=_0x52c61e[_0x52469d(0x20b)],_0x207187[_0x52469d(0x1f5)]=_0x52c61e[_0x52469d(0x1f5)]===!![];},async 'confirmHighRisk'(){const _0x16f32c=_0x21036b;throw new Error(_0x16f32c(0x1fc));}});try{await runCommand(_0x5c4808,_0xa3cfef,_0x3c03a4);if(!_0x207187[_0x21036b(0x1ef)]||!_0x207187[_0x21036b(0x1fe)]||!_0x207187['risk']||!_0x207187[_0x21036b(0x20b)])throw new Error(_0x21036b(0x1e7));const _0x116004=_0x292dc2[_0x21036b(0x205)]??defaultPresentation,_0x405a0e=_0x207187['dryRun']===!![],_0x22660d={'result':_0x207187[_0x21036b(0x1ef)],'command':_0x207187[_0x21036b(0x1fe)],'operation':_0x283e9e,'risk':_0x207187[_0x21036b(0x1ee)],'format':_0x207187[_0x21036b(0x20b)],'dryRun':_0x405a0e},_0x5941ac=createLovrabetWriteMetadata(_0x2051e0[_0x21036b(0x1fb)],_0x283e9e,_0x207187[_0x21036b(0x1ef)],_0x405a0e);let _0x488df4;try{_0x488df4=await _0x116004[_0x21036b(0x208)](_0x22660d);}catch(_0x5ebe70){if(!_0x5941ac||_0x116004===defaultPresentation)throw _0x5ebe70;_0x488df4=await defaultPresentation[_0x21036b(0x208)](_0x22660d);}return{'operation':_0x283e9e,'risk':_0x207187['risk'],'mode':_0x405a0e?_0x21036b(0x1e6):_0x21036b(0x1f4),'result':_0x207187[_0x21036b(0x1ef)],'output':_0x488df4,..._0x5941ac?{'metadata':_0x5941ac}:{}};}finally{await finalizeLovrabetRuntimeState();}});}async function confirmWriteBeforeQueue(_0x1bf520,_0x488e6c,_0xa6f662,_0x193058){const _0x4c761a=a134_0x39d7;if(_0x488e6c['dryRun']===!![]||_0x1bf520[_0x4c761a(0x1ee)]!==_0x4c761a(0x1f0)&&_0x1bf520[_0x4c761a(0x1ee)]!==_0x4c761a(0x1ea))return;await _0x193058[_0x4c761a(0x203)][_0x4c761a(0x1f6)](buildLovrabetConfirmationRequest(_0x1bf520,_0xa6f662,_0x193058[_0x4c761a(0x1eb)]));}function withAbortSignal(_0x3a094e,_0x2f4143){return{..._0x3a094e,async 'execute'(_0xbb74d6){const _0x51f26a=a134_0x39d7;return throwIfAborted(_0x2f4143),_0x3a094e[_0x51f26a(0x1f4)]({..._0xbb74d6,'signal':_0x2f4143});}};}function throwIfAborted(_0xb6b896){const _0x412514=a134_0x39d7;if(_0xb6b896?.[_0x412514(0x1fd)])throw _0xb6b896[_0x412514(0x1f1)]instanceof Error?_0xb6b896[_0x412514(0x1f1)]:new DOMException(_0x412514(0x204),_0x412514(0x20a));}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135_0x47c072=a135_0x4323;(function(_0x6d6017,_0x28a8b7){const _0x2011dc=a135_0x4323,_0x4f537e=_0x6d6017();while(!![]){try{const _0x132594=parseInt(_0x2011dc(0xdc))/0x1+parseInt(_0x2011dc(0xe4))/0x2*(-parseInt(_0x2011dc(0xda))/0x3)+-parseInt(_0x2011dc(0xdf))/0x4+-parseInt(_0x2011dc(0xdd))/0x5*(-parseInt(_0x2011dc(0xe2))/0x6)+-parseInt(_0x2011dc(0xe0))/0x7*(-parseInt(_0x2011dc(0xd9))/0x8)+-parseInt(_0x2011dc(0xdb))/0x9+parseInt(_0x2011dc(0xe1))/0xa*(parseInt(_0x2011dc(0xde))/0xb);if(_0x132594===_0x28a8b7)break;else _0x4f537e['push'](_0x4f537e['shift']());}catch(_0xa42687){_0x4f537e['push'](_0x4f537e['shift']());}}}(a135_0x2d05,0x9fde4));let tail=Promise[a135_0x47c072(0xe5)]();function a135_0x2d05(){const _0x4eb2ad=['catch','226742jYnZam','resolve','9799336vNPcMH','27XdECrm','4355793bemhIr','410604oQqzyV','1362220nadDkw','33sRGTpG','1635460SdMySN','7ssyQAE','2200120AqIKFd','6bgFXsQ'];a135_0x2d05=function(){return _0x4eb2ad;};return a135_0x2d05();}function a135_0x4323(_0x21ad28,_0x5e8b2e){_0x21ad28=_0x21ad28-0xd9;const _0x2d0560=a135_0x2d05();let _0x4323e4=_0x2d0560[_0x21ad28];return _0x4323e4;}export async function runSerialized(_0x351c4c){const _0x187238=a135_0x47c072,_0x5c85e4=tail;let _0x563900;tail=new Promise(_0x49819a=>{_0x563900=_0x49819a;}),await _0x5c85e4[_0x187238(0xe3)](()=>undefined);try{return await _0x351c4c();}finally{_0x563900();}}
|
package/lib/runtime/resolve.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3af22b,_0x99070c){const _0x12c87e=a136_0x46a3,_0x55a2e2=_0x3af22b();while(!![]){try{const _0x7a0a2=parseInt(_0x12c87e(0x1e7))/0x1*(parseInt(_0x12c87e(0x1dd))/0x2)+parseInt(_0x12c87e(0x1dc))/0x3+parseInt(_0x12c87e(0x1ec))/0x4*(parseInt(_0x12c87e(0x1e3))/0x5)+parseInt(_0x12c87e(0x1ef))/0x6*(-parseInt(_0x12c87e(0x1e2))/0x7)+parseInt(_0x12c87e(0x1f3))/0x8*(parseInt(_0x12c87e(0x1e1))/0x9)+parseInt(_0x12c87e(0x1eb))/0xa*(parseInt(_0x12c87e(0x1e5))/0xb)+-parseInt(_0x12c87e(0x1df))/0xc*(parseInt(_0x12c87e(0x1e9))/0xd);if(_0x7a0a2===_0x99070c)break;else _0x55a2e2['push'](_0x55a2e2['shift']());}catch(_0xdf04ee){_0x55a2e2['push'](_0x55a2e2['shift']());}}}(a136_0x51b1,0x48aa5));import a136_0x58cc5a from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';function a136_0x51b1(){const _0x67ff58=['11yiFbrQ','../commands/registry.js','5vTXOLA','assign','299HErCCH','slice','1652180NplVXh','416HZDqqi','message','definition','1410tYiduZ','args','validation','hint','40FCkeKq','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','663303gUBxpt','179062GSmlcJ','unknownCommand','235776qgYpWr','input','15246lnqKlu','5859EDTznL','4990SKKwgQ','flags'];a136_0x51b1=function(){return _0x67ff58;};return a136_0x51b1();}function a136_0x46a3(_0x1bb568,_0x5e1adc){_0x1bb568=_0x1bb568-0x1db;const _0x51b119=a136_0x51b1();let _0x46a365=_0x51b119[_0x1bb568];return _0x46a365;}import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';export async function resolveLovrabetInvocation(_0x4c4b4c){const _0x21dd8e=a136_0x46a3,_0x275664=a136_0x58cc5a('',{'importMeta':import.meta,'argv':_0x4c4b4c,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x56a022=[..._0x275664[_0x21dd8e(0x1e0)]],_0x4982da=_0x275664[_0x21dd8e(0x1e4)];await correctFlags(_0x4982da);const _0x1007b2=_0x56a022[0x0];if(!_0x1007b2)throw CliErrors[_0x21dd8e(0x1f1)](_0x21dd8e(0x1db));const _0x354727=resolveRemovedCommand(_0x1007b2,_0x56a022[0x1]);if(_0x354727)throw CliErrors[_0x21dd8e(0x1f1)](_0x354727[_0x21dd8e(0x1ed)],_0x354727[_0x21dd8e(0x1f2)]);if(!isKnownService(_0x1007b2)){const _0x227ce5=resolveDynamicServiceCommand(_0x56a022,_0x4982da);if(!_0x227ce5)throw CliErrors[_0x21dd8e(0x1de)](_0x56a022['join']('\x20'));return Object[_0x21dd8e(0x1e8)](_0x4982da,_0x227ce5[_0x21dd8e(0x1e4)]),{'definition':_0x227ce5[_0x21dd8e(0x1ee)],'rawFlags':_0x4982da,'args':_0x227ce5[_0x21dd8e(0x1f0)]};}const _0x3bf85b=getServiceEntry(_0x1007b2),_0x5baa25=_0x56a022[0x1]||_0x3bf85b['defaultCommand'];if(!_0x5baa25)throw CliErrors[_0x21dd8e(0x1f1)]('Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x1007b2+'\x22.');const _0x2bc81a=findDefinition(_0x1007b2,_0x5baa25);if(!_0x2bc81a)throw CliErrors[_0x21dd8e(0x1de)](_0x1007b2+'\x20'+_0x5baa25);return{'definition':_0x2bc81a,'rawFlags':_0x4982da,'args':_0x56a022[_0x21dd8e(0x1ea)](0x2)};}async function correctFlags(_0x5ea457){const _0x109e8e=a136_0x46a3;try{const {correctFlags:_0x3210c7}=await import('../framework/preparse.js'),{getAllDefinitions:_0x378b01}=await import(_0x109e8e(0x1e6)),_0x107166=_0x378b01()['flatMap'](_0x257d78=>_0x257d78[_0x109e8e(0x1e4)]??[]),_0x52b009=_0x3210c7(_0x5ea457,_0x107166);Object[_0x109e8e(0x1e8)](_0x5ea457,_0x52b009[_0x109e8e(0x1e4)]);}catch{}}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type ImportOptions } from "./runner.js";
|
|
2
|
-
export declare function runAutoIdExcelImport(input: ImportOptions
|
|
2
|
+
export declare function runAutoIdExcelImport(input: ImportOptions & {
|
|
3
|
+
reconcileImageConflicts?: boolean;
|
|
4
|
+
}): Promise<{
|
|
3
5
|
importId: string | undefined;
|
|
4
6
|
sourceRows: number;
|
|
5
7
|
emptyRows: number;
|