@lovrabet/lovrabet-cli 2.0.6 → 2.0.8
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/app/cache.js +1 -1
- package/lib/commands/app/definitions.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/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/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/config/definitions.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/doctor.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/skill/index.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 -0
- package/lib/config/schema.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 -0
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/product.js +1 -0
- package/lib/constant/risk.js +1 -1
- package/lib/constant/url.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/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/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/types.js +1 -1
- package/lib/help.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.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
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a60_0x3e80(_0x3f04d1,_0x5c7d9e){_0x3f04d1=_0x3f04d1-0x140;const _0x3273a7=a60_0x3273();let _0x3e809f=_0x3273a7[_0x3f04d1];return _0x3e809f;}(function(_0x15bfd8,_0x5ec30f){const _0x149b69=a60_0x3e80,_0x406b65=_0x15bfd8();while(!![]){try{const _0x34525d=-parseInt(_0x149b69(0x14c))/0x1+parseInt(_0x149b69(0x140))/0x2+parseInt(_0x149b69(0x141))/0x3+-parseInt(_0x149b69(0x142))/0x4*(parseInt(_0x149b69(0x143))/0x5)+parseInt(_0x149b69(0x145))/0x6+parseInt(_0x149b69(0x14b))/0x7+-parseInt(_0x149b69(0x14f))/0x8;if(_0x34525d===_0x5ec30f)break;else _0x406b65['push'](_0x406b65['shift']());}catch(_0x416149){_0x406b65['push'](_0x406b65['shift']());}}}(a60_0x3273,0x4072a));function a60_0x3273(){const _0x2df86b=['toString','1624966Mjhtjx','96165dRGtGE','stdout','npx','5381240dpUmDq','240878WeVboC','1083663dHJfEA','8GziIGW','377065SbzHfA','unknown','2818956VcnEQj','inherit','status','stderr','log'];a60_0x3273=function(){return _0x2df86b;};return a60_0x3273();}import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a60_0x4bbf78}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a60_0x4bbf78;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG['skipNpxSkillsEnvSuffix']);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0xac8d86,_0x417ed6=LOVRABET_SKILL_SOURCE,_0x4040d5){const _0x545f77=a60_0x3e80;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x3e6db0=_0x4040d5?.['stdio']??_0x545f77(0x146),_0x3258eb=resolveNpmBin(_0x545f77(0x14e)),_0x12638a=['skills','add',_0x417ed6,'-g','-y'],_0x35fa17=[_0x3258eb,..._0x12638a]['join']('\x20');console[_0x545f77(0x149)]('*\x20'+_0x35fa17);const _0x1d39cf=spawnSync(_0x3258eb,_0x12638a,{'cwd':_0xac8d86,'stdio':_0x3e6db0,'env':process.env,'shell':![]});if(_0x1d39cf['status']===0x0)return{'ok':!![],'status':0x0};let _0x4bc4e0='exit\x20'+(_0x1d39cf[_0x545f77(0x147)]??_0x545f77(0x144));if(_0x3e6db0==='pipe'){const _0x45d15d=_0x1d39cf[_0x545f77(0x148)]?_0x1d39cf[_0x545f77(0x148)][_0x545f77(0x14a)]()['trim']():'',_0x48fa2a=_0x1d39cf['stdout']?_0x1d39cf[_0x545f77(0x14d)]['toString']()['trim']():'';if(_0x45d15d)_0x4bc4e0=_0x45d15d;else{if(_0x48fa2a)_0x4bc4e0=_0x48fa2a;}}return{'ok':![],'status':_0x1d39cf[_0x545f77(0x147)]??null,'error':_0x4bc4e0};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a61_0x49b8(){const _0x61ca6e=['48FLgsTH','9567648mmvsVM','9042201RRQcCj','122vvpGkN','8355LBUjcM','243zhwYKQ','268610IFIsIQ','1614FYliAH','352VnJMeE','674792DzQLHY','192352nZOeVI'];a61_0x49b8=function(){return _0x61ca6e;};return a61_0x49b8();}(function(_0x1aef39,_0x299eb4){const _0x33cb56=a61_0x341b,_0x2590ad=_0x1aef39();while(!![]){try{const _0x304bfc=parseInt(_0x33cb56(0xe3))/0x1*(parseInt(_0x33cb56(0xe1))/0x2)+parseInt(_0x33cb56(0xde))/0x3*(-parseInt(_0x33cb56(0xdd))/0x4)+-parseInt(_0x33cb56(0xe2))/0x5*(-parseInt(_0x33cb56(0xda))/0x6)+parseInt(_0x33cb56(0xe0))/0x7+-parseInt(_0x33cb56(0xdc))/0x8+-parseInt(_0x33cb56(0xdf))/0x9+-parseInt(_0x33cb56(0xd9))/0xa*(-parseInt(_0x33cb56(0xdb))/0xb);if(_0x304bfc===_0x299eb4)break;else _0x2590ad['push'](_0x2590ad['shift']());}catch(_0x1cbe83){_0x2590ad['push'](_0x2590ad['shift']());}}}(a61_0x49b8,0xaa9a4));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a61_0x341b(_0x5b7e39,_0x44dbf9){_0x5b7e39=_0x5b7e39-0xd9;const _0x49b83e=a61_0x49b8();let _0x341b9b=_0x49b83e[_0x5b7e39];return _0x341b9b;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a62_0x2fd2(){const _0x46047e=['writeFileSync','blue','winstonLogger','trim','green','Failed\x20to\x20clear\x20logs:','printf','unknown','dirname','logFilePath','info','format','utf8','yellow','errors','toISOString','addColors','Completed:\x20','8456103HQMAiC','join','readLogs','red','stringify','3663704kWHXmx','error','getWinstonInstance','mkdirSync','initWinstonLogger','3838360wLQSkW','File','now','1909245nbaEBr','duration','map','setRawCommand','log','warn','4336JjWONE','4ctkyvu','existsSync','message','details','497ZPWcvh','success','rawCommand','logTask','17634WbDBeo','split','currentRawCommand','parse','clearLogs','logFileName','timestamp','clear','Starting:\x20','54072rrgLZb','984fZNjKJ','command'];a62_0x2fd2=function(){return _0x46047e;};return a62_0x2fd2();}function a62_0x5e5f(_0x41822b,_0x489844){_0x41822b=_0x41822b-0x8c;const _0x2fd23b=a62_0x2fd2();let _0x5e5fa0=_0x2fd23b[_0x41822b];return _0x5e5fa0;}const a62_0x3864dc=a62_0x5e5f;(function(_0x1c36f9,_0x1eb4a0){const _0x8c2089=a62_0x5e5f,_0x1e7ce7=_0x1c36f9();while(!![]){try{const _0x16ac60=-parseInt(_0x8c2089(0xa9))/0x1*(parseInt(_0x8c2089(0x98))/0x2)+parseInt(_0x8c2089(0xaa))/0x3*(parseInt(_0x8c2089(0x97))/0x4)+parseInt(_0x8c2089(0x91))/0x5+-parseInt(_0x8c2089(0xa0))/0x6*(parseInt(_0x8c2089(0x9c))/0x7)+-parseInt(_0x8c2089(0xc3))/0x8+parseInt(_0x8c2089(0xbe))/0x9+-parseInt(_0x8c2089(0x8e))/0xa;if(_0x16ac60===_0x1eb4a0)break;else _0x1e7ce7['push'](_0x1e7ce7['shift']());}catch(_0x57db99){_0x1e7ce7['push'](_0x1e7ce7['shift']());}}}(a62_0x2fd2,0x7e8d4));import a62_0x2df222 from'winston';import a62_0xabc5c3 from'node:fs';import a62_0x583bde from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a62_0x3864dc(0xae)];[a62_0x3864dc(0xb5)]='';['currentRawCommand']='';constructor(){}[a62_0x3864dc(0x94)](_0x2237ce){const _0x442b14=a62_0x3864dc;this[_0x442b14(0xa2)]=_0x2237ce;}['setLogPath'](_0x43fabd){const _0x305dde=a62_0x3864dc;this[_0x305dde(0xb5)]=a62_0x583bde[_0x305dde(0xbf)](_0x43fabd,PRODUCT_CONFIG[_0x305dde(0xa5)]),this[_0x305dde(0xae)]&&this['winstonLogger'][_0x305dde(0xa7)](),this['initWinstonLogger']();}[a62_0x3864dc(0x8d)](){const _0x5dc60b=a62_0x3864dc,_0x28e4f2=a62_0x583bde[_0x5dc60b(0xb4)](this['logFilePath']);!a62_0xabc5c3[_0x5dc60b(0x99)](_0x28e4f2)&&a62_0xabc5c3[_0x5dc60b(0x8c)](_0x28e4f2,{'recursive':!![]});const _0x2afbc8=a62_0x2df222[_0x5dc60b(0xb7)]['combine'](a62_0x2df222['format'][_0x5dc60b(0xa6)](),a62_0x2df222['format'][_0x5dc60b(0xba)]({'stack':!![]}),a62_0x2df222[_0x5dc60b(0xb7)][_0x5dc60b(0xb2)](_0x302b0d=>{const _0x24e3e9=_0x5dc60b,_0x4a5584={'timestamp':_0x302b0d[_0x24e3e9(0xa6)]||new Date()[_0x24e3e9(0xbb)](),'level':_0x302b0d['level']||_0x24e3e9(0xb6),'command':_0x302b0d[_0x24e3e9(0xab)]||_0x24e3e9(0xb3),'rawCommand':_0x302b0d[_0x24e3e9(0x9e)]||this[_0x24e3e9(0xa2)]||undefined,'message':_0x302b0d[_0x24e3e9(0x9a)]||'','duration':_0x302b0d[_0x24e3e9(0x92)]||undefined,'details':_0x302b0d[_0x24e3e9(0x9b)]||undefined};return JSON[_0x24e3e9(0xc2)](_0x4a5584);}));this[_0x5dc60b(0xae)]=a62_0x2df222['createLogger']({'level':'info','format':_0x2afbc8,'transports':[new a62_0x2df222['transports'][(_0x5dc60b(0x8f))]({'filename':this[_0x5dc60b(0xb5)],'level':'info'})],'silent':![]}),a62_0x2df222[_0x5dc60b(0xbc)]({'success':_0x5dc60b(0xb0),'error':_0x5dc60b(0xc1),'warn':_0x5dc60b(0xb9),'info':_0x5dc60b(0xad)});}[a62_0x3864dc(0xb6)](_0x2c208f,_0x484f2f,_0x3056af){const _0xf96620=a62_0x3864dc;if(!this[_0xf96620(0xb5)]||!this[_0xf96620(0xae)])return;this[_0xf96620(0xae)][_0xf96620(0xb6)](_0x484f2f,{'command':_0x2c208f,'details':_0x3056af});}[a62_0x3864dc(0x9d)](_0x324787,_0x3a13d8,_0x5bbfab,_0x4bfb68){const _0x324687=a62_0x3864dc;if(!this[_0x324687(0xb5)]||!this[_0x324687(0xae)])return;this[_0x324687(0xae)][_0x324687(0x95)](_0x324687(0xb6),_0x3a13d8,{'level':_0x324687(0x9d),'command':_0x324787,'duration':_0x5bbfab,'details':_0x4bfb68});}[a62_0x3864dc(0xc4)](_0x390a43,_0x16b00d,_0xb0bc4a){const _0x12ba5c=a62_0x3864dc;if(!this['logFilePath']||!this[_0x12ba5c(0xae)])return;this[_0x12ba5c(0xae)][_0x12ba5c(0xc4)](_0x16b00d,{'command':_0x390a43,'details':_0xb0bc4a});}[a62_0x3864dc(0x96)](_0x141355,_0x5994b9,_0x38fed2){const _0x43e41b=a62_0x3864dc;if(!this[_0x43e41b(0xb5)]||!this[_0x43e41b(0xae)])return;this[_0x43e41b(0xae)][_0x43e41b(0x96)](_0x5994b9,{'command':_0x141355,'details':_0x38fed2});}async[a62_0x3864dc(0x9f)](_0x179892,_0x5459b5,_0x2dccb7){const _0x16a014=a62_0x3864dc,_0x509c2d=Date[_0x16a014(0x90)]();this[_0x16a014(0xb6)](_0x179892,_0x16a014(0xa8)+_0x5459b5);try{const _0x1fc69f=await _0x2dccb7(),_0x2cd4ec=Date[_0x16a014(0x90)]()-_0x509c2d;return this[_0x16a014(0x9d)](_0x179892,_0x16a014(0xbd)+_0x5459b5,_0x2cd4ec),_0x1fc69f;}catch(_0x419c67){const _0x2e953c=Date[_0x16a014(0x90)]()-_0x509c2d;this[_0x16a014(0xc4)](_0x179892,'Failed:\x20'+_0x5459b5,{'error':_0x419c67 instanceof Error?_0x419c67['message']:String(_0x419c67),'duration':_0x2e953c});throw _0x419c67;}}[a62_0x3864dc(0xc0)](){const _0x41f4be=a62_0x3864dc;try{if(!a62_0xabc5c3[_0x41f4be(0x99)](this[_0x41f4be(0xb5)]))return[];const _0x22c343=a62_0xabc5c3['readFileSync'](this[_0x41f4be(0xb5)],_0x41f4be(0xb8));return _0x22c343[_0x41f4be(0xa1)](/\r?\n/)['filter'](_0x1a54de=>_0x1a54de[_0x41f4be(0xaf)]())[_0x41f4be(0x93)](_0x342c08=>JSON[_0x41f4be(0xa3)](_0x342c08));}catch(_0x2a67f6){return console['warn']('Failed\x20to\x20read\x20logs:',_0x2a67f6),[];}}[a62_0x3864dc(0xa4)](){const _0x264deb=a62_0x3864dc;try{a62_0xabc5c3[_0x264deb(0x99)](this['logFilePath'])&&a62_0xabc5c3[_0x264deb(0xac)](this['logFilePath'],'',_0x264deb(0xb8));}catch(_0x1098ee){console[_0x264deb(0x96)](_0x264deb(0xb1),_0x1098ee);}}[a62_0x3864dc(0xc5)](){const _0x404cd4=a62_0x3864dc;return this[_0x404cd4(0xae)];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3237e3,_0x193594){var _0x590ca4=a63_0x2579,_0x2fa291=_0x3237e3();while(!![]){try{var _0xd001e8=-parseInt(_0x590ca4(0x156))/0x1*(parseInt(_0x590ca4(0x163))/0x2)+parseInt(_0x590ca4(0x155))/0x3+-parseInt(_0x590ca4(0x161))/0x4+-parseInt(_0x590ca4(0x159))/0x5*(parseInt(_0x590ca4(0x15c))/0x6)+parseInt(_0x590ca4(0x15d))/0x7+-parseInt(_0x590ca4(0x157))/0x8+-parseInt(_0x590ca4(0x160))/0x9*(-parseInt(_0x590ca4(0x15e))/0xa);if(_0xd001e8===_0x193594)break;else _0x2fa291['push'](_0x2fa291['shift']());}catch(_0x7759e2){_0x2fa291['push'](_0x2fa291['shift']());}}}(a63_0x5a1e,0xe7aa8));function a63_0x5a1e(){var _0xb23bec=['Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','Invalid\x20JSON\x20for\x20--params:\x20','object','325776uFhpIt','5429hMajjI','11474384SclCuN','isArray','5mRxUAR','items','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','8281410CVtAdi','8446466umCeyt','55420370rrkWdc','validation','9zzlFNL','6425136YBCXlG','parse','548jvpRjf'];a63_0x5a1e=function(){return _0xb23bec;};return a63_0x5a1e();}import{CliErrors}from'../errors.js';export function parseJsonParams(_0x5c62a0){var _0x22210b=a63_0x2579;if(!_0x5c62a0)return undefined;try{return JSON[_0x22210b(0x162)](_0x5c62a0);}catch{throw CliErrors[_0x22210b(0x15f)](_0x22210b(0x165)+_0x5c62a0);}}function a63_0x2579(_0x55ac79,_0x15d437){_0x55ac79=_0x55ac79-0x154;var _0x5a1eba=a63_0x5a1e();var _0x2579b3=_0x5a1eba[_0x55ac79];return _0x2579b3;}export function parseJsonParamsValue(_0x314346){var _0x313669=a63_0x2579;if(!_0x314346)return undefined;try{return JSON['parse'](_0x314346);}catch{throw CliErrors[_0x313669(0x15f)](_0x313669(0x165)+_0x314346);}}export function parseBatchCreateItemsFromParams(_0x3b2edb){var _0x5c45cf=a63_0x2579;if(Array[_0x5c45cf(0x158)](_0x3b2edb))return _0x3b2edb;if(_0x3b2edb!==null&&_0x3b2edb!==undefined&&typeof _0x3b2edb===_0x5c45cf(0x154)&&Array[_0x5c45cf(0x158)](_0x3b2edb[_0x5c45cf(0x15a)]))return _0x3b2edb['items'];throw CliErrors['validation'](_0x5c45cf(0x15b),_0x5c45cf(0x164));}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a64_0x498496=a64_0x1ac0;function a64_0x1ac0(_0x44a6f0,_0x10f4dc){_0x44a6f0=_0x44a6f0-0x1d9;const _0x5d5eff=a64_0x5d5e();let _0x1ac09c=_0x5d5eff[_0x44a6f0];return _0x1ac09c;}(function(_0x1b6501,_0x3d24ad){const _0x719037=a64_0x1ac0,_0x3f451d=_0x1b6501();while(!![]){try{const _0x122768=parseInt(_0x719037(0x1de))/0x1*(parseInt(_0x719037(0x1db))/0x2)+-parseInt(_0x719037(0x1dc))/0x3*(parseInt(_0x719037(0x1e6))/0x4)+-parseInt(_0x719037(0x1e5))/0x5+parseInt(_0x719037(0x1e2))/0x6+-parseInt(_0x719037(0x1e3))/0x7+-parseInt(_0x719037(0x1dd))/0x8*(-parseInt(_0x719037(0x1e4))/0x9)+-parseInt(_0x719037(0x1d9))/0xa*(-parseInt(_0x719037(0x1da))/0xb);if(_0x122768===_0x3d24ad)break;else _0x3f451d['push'](_0x3f451d['shift']());}catch(_0x284161){_0x3f451d['push'](_0x3f451d['shift']());}}}(a64_0x5d5e,0x428fe));export const isWindows=process[a64_0x498496(0x1df)]===a64_0x498496(0x1e1);function a64_0x5d5e(){const _0x2db8eb=['.cmd','win32','1853916gpDWRu','1380309UzSkwj','9ZwPOnb','823830eDalsR','1444ScLmrF','10ShxYwc','659241QZxFjk','86148LTbSuh','2445voIhzg','3445336ZLmdib','3QtptUU','platform'];a64_0x5d5e=function(){return _0x2db8eb;};return a64_0x5d5e();}export function resolveNpmBin(_0x1c868c){const _0x28572e=a64_0x498496;return isWindows?_0x1c868c+_0x28572e(0x1e0):_0x1c868c;}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4b83e0,_0x3805b7){const _0x40317d=a65_0x3299,_0x536571=_0x4b83e0();while(!![]){try{const _0x4d806d=-parseInt(_0x40317d(0xd2))/0x1*(-parseInt(_0x40317d(0xd6))/0x2)+-parseInt(_0x40317d(0xd1))/0x3*(parseInt(_0x40317d(0xd7))/0x4)+-parseInt(_0x40317d(0xd3))/0x5+-parseInt(_0x40317d(0xd9))/0x6+parseInt(_0x40317d(0xd8))/0x7*(-parseInt(_0x40317d(0xdb))/0x8)+parseInt(_0x40317d(0xda))/0x9+-parseInt(_0x40317d(0xd0))/0xa*(-parseInt(_0x40317d(0xd4))/0xb);if(_0x4d806d===_0x3805b7)break;else _0x536571['push'](_0x536571['shift']());}catch(_0x3f2489){_0x536571['push'](_0x536571['shift']());}}}(a65_0x49cc,0xb01da));function a65_0x49cc(){const _0x679ce7=['3016422UNfpWj','7456923cdFZnS','136DZZJvJ','package.json','utf8','parse','733030HdZDEn','352581uigDuq','199gQjAck','1063700ejvXOk','187eBQxPG','version','9626XbOSlm','12BqZNKg','511847TTYXaq'];a65_0x49cc=function(){return _0x679ce7;};return a65_0x49cc();}import{readFileSync}from'node:fs';import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;function a65_0x3299(_0x2b02d6,_0x207e60){_0x2b02d6=_0x2b02d6-0xd0;const _0x49cc28=a65_0x49cc();let _0x3299a3=_0x49cc28[_0x2b02d6];return _0x3299a3;}export function getCliVersion(){const _0x41572c=a65_0x3299;if(cached)return cached;const _0x55e924=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x38bfc5=readFileSync(join(_0x55e924,_0x41572c(0xdc)),_0x41572c(0xdd)),_0x43daf3=JSON[_0x41572c(0xde)](_0x38bfc5);return cached=_0x43daf3[_0x41572c(0xd5)],cached;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a66_0x1e6d(_0x29773f,_0x559460){_0x29773f=_0x29773f-0x97;var _0x58ebc4=a66_0x58eb();var _0x1e6d7b=_0x58ebc4[_0x29773f];return _0x1e6d7b;}function a66_0x58eb(){var _0x3eaf84=['135YAxeje','write','787761ErkwRN','stderr','591792VDmdMh','1539852cocMQC','2689299DIveei','2utWIHy','8033304reamuo','6974310uKqMWd','189608hfZSAO'];a66_0x58eb=function(){return _0x3eaf84;};return a66_0x58eb();}(function(_0x21c77b,_0x52e08a){var _0xc4aa72=a66_0x1e6d,_0x5c1620=_0x21c77b();while(!![]){try{var _0x1f9bbe=-parseInt(_0xc4aa72(0x9f))/0x1+-parseInt(_0xc4aa72(0x99))/0x2*(parseInt(_0xc4aa72(0x97))/0x3)+parseInt(_0xc4aa72(0x9c))/0x4*(parseInt(_0xc4aa72(0x9d))/0x5)+parseInt(_0xc4aa72(0x9a))/0x6+-parseInt(_0xc4aa72(0x9b))/0x7+parseInt(_0xc4aa72(0xa1))/0x8+parseInt(_0xc4aa72(0x98))/0x9;if(_0x1f9bbe===_0x52e08a)break;else _0x5c1620['push'](_0x5c1620['shift']());}catch(_0x311b06){_0x5c1620['push'](_0x5c1620['shift']());}}}(a66_0x58eb,0xa9784));export function writeCliSideChannelLine(_0x3d4462){var _0x38ece0=a66_0x1e6d;process[_0x38ece0(0xa0)][_0x38ece0(0x9e)](_0x3d4462+'\x0a');}
|