@lovrabet/lovrabet-cli 2.0.7 → 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.
Files changed (68) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/app/cache.js +1 -1
  3. package/lib/commands/app/definitions.js +1 -1
  4. package/lib/commands/app/mock-loader.js +1 -1
  5. package/lib/commands/app/remote-source.js +1 -1
  6. package/lib/commands/app/shared.js +1 -1
  7. package/lib/commands/auth/index.js +1 -1
  8. package/lib/commands/auth/prompt.js +1 -1
  9. package/lib/commands/bff/detail.js +1 -1
  10. package/lib/commands/bff/exec.js +1 -1
  11. package/lib/commands/bff/index.js +1 -1
  12. package/lib/commands/common/config-policy.js +1 -1
  13. package/lib/commands/common/constraints.js +1 -1
  14. package/lib/commands/common/flags.js +1 -1
  15. package/lib/commands/config/definitions.js +1 -1
  16. package/lib/commands/config/shared.js +1 -1
  17. package/lib/commands/data/index.js +1 -1
  18. package/lib/commands/dataset/detail.js +1 -1
  19. package/lib/commands/dataset/index.js +1 -1
  20. package/lib/commands/dataset/list.js +1 -1
  21. package/lib/commands/doctor.js +1 -1
  22. package/lib/commands/init.js +1 -1
  23. package/lib/commands/logs/index.js +1 -1
  24. package/lib/commands/registry.js +1 -1
  25. package/lib/commands/schema.js +1 -1
  26. package/lib/commands/skill/index.js +1 -1
  27. package/lib/commands/sql/detail.js +1 -1
  28. package/lib/commands/sql/exec.js +1 -1
  29. package/lib/commands/sql/index.js +1 -1
  30. package/lib/commands/update.js +1 -1
  31. package/lib/config/schema.js +1 -1
  32. package/lib/constant/auth-mode.js +1 -1
  33. package/lib/constant/cli.js +1 -1
  34. package/lib/constant/defaults.js +1 -1
  35. package/lib/constant/distribution.js +1 -1
  36. package/lib/constant/domain.js +1 -1
  37. package/lib/constant/env.js +1 -1
  38. package/lib/constant/output.js +1 -1
  39. package/lib/constant/product.js +1 -1
  40. package/lib/constant/risk.js +1 -1
  41. package/lib/constant/url.js +1 -1
  42. package/lib/context.js +1 -1
  43. package/lib/core/api-client.js +1 -1
  44. package/lib/core/db-resolver.js +1 -1
  45. package/lib/core/sdk-client.js +1 -1
  46. package/lib/errors.js +1 -1
  47. package/lib/framework/build-all-flags.js +1 -1
  48. package/lib/framework/dryrun.js +1 -1
  49. package/lib/framework/flags.js +1 -1
  50. package/lib/framework/help.js +1 -1
  51. package/lib/framework/index.js +1 -1
  52. package/lib/framework/output.js +1 -1
  53. package/lib/framework/preparse.js +1 -1
  54. package/lib/framework/response.js +1 -1
  55. package/lib/framework/runner-confirmation.js +1 -1
  56. package/lib/framework/runner-error.js +1 -1
  57. package/lib/framework/runner.js +1 -1
  58. package/lib/framework/schema-export.js +1 -1
  59. package/lib/framework/types.js +1 -1
  60. package/lib/help.js +1 -1
  61. package/lib/skills/npx-skills-add.js +1 -1
  62. package/lib/utils/apply-jq-filter.js +1 -1
  63. package/lib/utils/logger.js +1 -1
  64. package/lib/utils/params.js +1 -1
  65. package/lib/utils/platform.js +1 -1
  66. package/lib/utils/version.js +1 -1
  67. package/lib/utils/write-cli-side-channel.js +1 -1
  68. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x32a371,_0x71bf92){const _0x589767=a57_0x5b74,_0x2c047f=_0x32a371();while(!![]){try{const _0x1d6318=-parseInt(_0x589767(0xd6))/0x1+-parseInt(_0x589767(0xdf))/0x2*(-parseInt(_0x589767(0xd7))/0x3)+-parseInt(_0x589767(0xda))/0x4*(-parseInt(_0x589767(0xe0))/0x5)+-parseInt(_0x589767(0xd8))/0x6*(-parseInt(_0x589767(0xd4))/0x7)+-parseInt(_0x589767(0xdc))/0x8*(parseInt(_0x589767(0xd5))/0x9)+-parseInt(_0x589767(0xde))/0xa+-parseInt(_0x589767(0xdb))/0xb*(-parseInt(_0x589767(0xd9))/0xc);if(_0x1d6318===_0x71bf92)break;else _0x2c047f['push'](_0x2c047f['shift']());}catch(_0x597d32){_0x2c047f['push'](_0x2c047f['shift']());}}}(a57_0x305f,0x65ca8));function a57_0x5b74(_0x3d90d3,_0xc96e6f){_0x3d90d3=_0x3d90d3-0xd4;const _0x305f71=a57_0x305f();let _0x5b74a2=_0x305f71[_0x3d90d3];return _0x5b74a2;}import{buildSchemaPayload as a57_0x251bf0}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';function a57_0x305f(){const _0x3fcfca=['2090935BsGESt','72OqPcTQ','467655HqfkTB','120HiDHWA','6tYuoGR','828PFcnku','1894388vMHauW','58069ahyylB','804184WEOfJs','../commands/registry.js','366580ctdZgG','29444tEIQyv','5kCTFiD'];a57_0x305f=function(){return _0x3fcfca;};return a57_0x305f();}export async function buildSchemaPayload(){const _0x16134b=a57_0x5b74,{serviceRegistry:_0xd01cd6,findDefinition:_0x3eef19}=await import(_0x16134b(0xdd));return a57_0x251bf0({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0xd01cd6,'buildAllFlags':buildAllFlags,'findDefinition':_0x3eef19});}
1
+ function a57_0x4e99(_0x1eed9c,_0x28afcd){_0x1eed9c=_0x1eed9c-0xa9;const _0x736d8e=a57_0x736d();let _0x4e9920=_0x736d8e[_0x1eed9c];return _0x4e9920;}function a57_0x736d(){const _0x1c9c00=['5161JmqEYP','240WPhFFv','198CnXoKQ','828876IpubHl','1436127HnMPcL','4aXzksB','1189137CugmBZ','277083vLXvLI','8hrRUzz','../commands/registry.js','29036062OpxOWD','2693120jxWIzk'];a57_0x736d=function(){return _0x1c9c00;};return a57_0x736d();}(function(_0x2bc2cc,_0x54d97c){const _0x5964b6=a57_0x4e99,_0x46adc0=_0x2bc2cc();while(!![]){try{const _0x1272d4=-parseInt(_0x5964b6(0xb3))/0x1*(parseInt(_0x5964b6(0xa9))/0x2)+parseInt(_0x5964b6(0xad))/0x3*(-parseInt(_0x5964b6(0xac))/0x4)+-parseInt(_0x5964b6(0xb2))/0x5+parseInt(_0x5964b6(0xaa))/0x6+-parseInt(_0x5964b6(0xab))/0x7*(parseInt(_0x5964b6(0xaf))/0x8)+parseInt(_0x5964b6(0xae))/0x9*(-parseInt(_0x5964b6(0xb4))/0xa)+parseInt(_0x5964b6(0xb1))/0xb;if(_0x1272d4===_0x54d97c)break;else _0x46adc0['push'](_0x46adc0['shift']());}catch(_0xc204b0){_0x46adc0['push'](_0x46adc0['shift']());}}}(a57_0x736d,0x5ead5));import{buildSchemaPayload as a57_0x6da70b}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x331fd8=a57_0x4e99,{serviceRegistry:_0xb6006e,findDefinition:_0x1729ff}=await import(_0x331fd8(0xb0));return a57_0x6da70b({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0xb6006e,'buildAllFlags':buildAllFlags,'findDefinition':_0x1729ff});}
@@ -1 +1 @@
1
- function a58_0x24bf(_0x483328,_0x1fe919){_0x483328=_0x483328-0x18d;var _0x3eb12f=a58_0x3eb1();var _0x24bff5=_0x3eb12f[_0x483328];return _0x24bff5;}function a58_0x3eb1(){var _0x509de9=['517384crYMhr','4774026DhZpOY','15857487GNvWBN','843064oUGPBN','4621078ipXJoW','7723864gznpVY','5qlADvI','12RocxZc','745852LOPkTm'];a58_0x3eb1=function(){return _0x509de9;};return a58_0x3eb1();}(function(_0x5efbe2,_0x3ad4eb){var _0x96eb2b=a58_0x24bf,_0x2e87d3=_0x5efbe2();while(!![]){try{var _0x10464c=-parseInt(_0x96eb2b(0x190))/0x1+parseInt(_0x96eb2b(0x18d))/0x2*(parseInt(_0x96eb2b(0x194))/0x3)+-parseInt(_0x96eb2b(0x195))/0x4*(parseInt(_0x96eb2b(0x193))/0x5)+-parseInt(_0x96eb2b(0x18e))/0x6+parseInt(_0x96eb2b(0x191))/0x7+-parseInt(_0x96eb2b(0x192))/0x8+parseInt(_0x96eb2b(0x18f))/0x9;if(_0x10464c===_0x3ad4eb)break;else _0x2e87d3['push'](_0x2e87d3['shift']());}catch(_0x2d7481){_0x2e87d3['push'](_0x2e87d3['shift']());}}}(a58_0x3eb1,0xa2a48));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ (function(_0x33437a,_0x2a2199){var _0x4dd5ad=a58_0x4048,_0x5cd4eb=_0x33437a();while(!![]){try{var _0x241a23=parseInt(_0x4dd5ad(0x1af))/0x1*(-parseInt(_0x4dd5ad(0x1ab))/0x2)+parseInt(_0x4dd5ad(0x1ad))/0x3+-parseInt(_0x4dd5ad(0x1a9))/0x4*(parseInt(_0x4dd5ad(0x1ae))/0x5)+-parseInt(_0x4dd5ad(0x1a7))/0x6+parseInt(_0x4dd5ad(0x1aa))/0x7*(-parseInt(_0x4dd5ad(0x1a8))/0x8)+parseInt(_0x4dd5ad(0x1ac))/0x9+parseInt(_0x4dd5ad(0x1a6))/0xa;if(_0x241a23===_0x2a2199)break;else _0x5cd4eb['push'](_0x5cd4eb['shift']());}catch(_0x245244){_0x5cd4eb['push'](_0x5cd4eb['shift']());}}}(a58_0x260e,0x371e5));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a58_0x4048(_0x531695,_0x4d359d){_0x531695=_0x531695-0x1a6;var _0x260eac=a58_0x260e();var _0x4048a7=_0x260eac[_0x531695];return _0x4048a7;}function a58_0x260e(){var _0x3518ca=['1626834kxHyye','32736jGMIxM','3668HhmGhi','539MuRxqs','619774rxupRV','1926522jeLXTN','447759CeSiBy','170aDsJqJ','1NYZMPa','7897420XlCdvz'];a58_0x260e=function(){return _0x3518ca;};return a58_0x260e();}
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- function a59_0x53b1(_0x447ce4,_0x2668a4){_0x447ce4=_0x447ce4-0xd7;const _0x421b13=a59_0x421b();let _0x53b115=_0x421b13[_0x447ce4];return _0x53b115;}(function(_0x486c75,_0x5a5806){const _0x493a25=a59_0x53b1,_0x3afa3b=_0x486c75();while(!![]){try{const _0x5001e8=parseInt(_0x493a25(0xd8))/0x1*(parseInt(_0x493a25(0xde))/0x2)+-parseInt(_0x493a25(0xdf))/0x3*(parseInt(_0x493a25(0xe2))/0x4)+parseInt(_0x493a25(0xe5))/0x5*(-parseInt(_0x493a25(0xe7))/0x6)+-parseInt(_0x493a25(0xe0))/0x7+parseInt(_0x493a25(0xe4))/0x8*(parseInt(_0x493a25(0xd7))/0x9)+parseInt(_0x493a25(0xdd))/0xa+parseInt(_0x493a25(0xe3))/0xb*(parseInt(_0x493a25(0xe1))/0xc);if(_0x5001e8===_0x5a5806)break;else _0x3afa3b['push'](_0x3afa3b['shift']());}catch(_0x41145b){_0x3afa3b['push'](_0x3afa3b['shift']());}}}(a59_0x421b,0x2505a));import{jsx as a59_0x416848,jsxs as a59_0x3fda02}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x459443=a59_0x53b1,{exit:_0x46b4eb}=useApp();return useEffect(()=>{_0x46b4eb();},[_0x46b4eb]),a59_0x3fda02(Box,{'flexDirection':_0x459443(0xda),'marginTop':0x1,'marginBottom':0x1,'children':[a59_0x416848(Box,{'children':a59_0x416848(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a59_0x3fda02(Box,{'marginTop':0x1,'children':[a59_0x416848(Text,{'dimColor':!![],'children':_0x459443(0xe6)}),a59_0x416848(Text,{'bold':!![],'color':_0x459443(0xd9),'children':CLI_BIN_NAME+_0x459443(0xdb)}),a59_0x416848(Text,{'dimColor':!![],'children':_0x459443(0xdc)})]})]});}function a59_0x421b(){const _0x366c8c=['1813084qXbTJg','450348fUuWmw','32XLRHnr','121ekCZhS','473232xSSbzL','26115nCfxcJ','\x20\x20Use\x20','234lfRVeb','45mMmQzm','79098mHtQzA','green','column','\x20--help','\x20to\x20view\x20available\x20commands.','266300fPecsT','4xPaKPK','104649QQtjxE'];a59_0x421b=function(){return _0x366c8c;};return a59_0x421b();}
1
+ function a59_0x5f43(_0x2e3ac0,_0x33880e){_0x2e3ac0=_0x2e3ac0-0x1cb;const _0x329521=a59_0x3295();let _0x5f436d=_0x329521[_0x2e3ac0];return _0x5f436d;}(function(_0x198747,_0x285ee2){const _0xc5fb6e=a59_0x5f43,_0x5623bc=_0x198747();while(!![]){try{const _0x2a657f=-parseInt(_0xc5fb6e(0x1d4))/0x1+-parseInt(_0xc5fb6e(0x1d6))/0x2*(parseInt(_0xc5fb6e(0x1d0))/0x3)+-parseInt(_0xc5fb6e(0x1cc))/0x4+parseInt(_0xc5fb6e(0x1d1))/0x5+parseInt(_0xc5fb6e(0x1d3))/0x6+parseInt(_0xc5fb6e(0x1d2))/0x7+-parseInt(_0xc5fb6e(0x1cb))/0x8*(parseInt(_0xc5fb6e(0x1ce))/0x9);if(_0x2a657f===_0x285ee2)break;else _0x5623bc['push'](_0x5623bc['shift']());}catch(_0xf3f98c){_0x5623bc['push'](_0x5623bc['shift']());}}}(a59_0x3295,0xcf1c3));import{jsx as a59_0x259b5b,jsxs as a59_0x32b657}from'react/jsx-runtime';function a59_0x3295(){const _0x4cbcf5=['96082ZeLzAF','592bYJSYo','1295656PKwPNn','\x20\x20Use\x20','84312zvBszH','column','87ZDMUCw','4319365QGWQsH','5616884jcsGCN','9577932ZhnBmp','3949hwOtwp','\x20to\x20view\x20available\x20commands.'];a59_0x3295=function(){return _0x4cbcf5;};return a59_0x3295();}import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x2c6daf=a59_0x5f43,{exit:_0x510c25}=useApp();return useEffect(()=>{_0x510c25();},[_0x510c25]),a59_0x32b657(Box,{'flexDirection':_0x2c6daf(0x1cf),'marginTop':0x1,'marginBottom':0x1,'children':[a59_0x259b5b(Box,{'children':a59_0x259b5b(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a59_0x32b657(Box,{'marginTop':0x1,'children':[a59_0x259b5b(Text,{'dimColor':!![],'children':_0x2c6daf(0x1cd)}),a59_0x259b5b(Text,{'bold':!![],'color':'green','children':CLI_BIN_NAME+'\x20--help'}),a59_0x259b5b(Text,{'dimColor':!![],'children':_0x2c6daf(0x1d5)})]})]});}
@@ -1 +1 @@
1
- const a60_0x7673fb=a60_0x4ce7;(function(_0x44d355,_0x1aa14e){const _0x4794fe=a60_0x4ce7,_0x492fda=_0x44d355();while(!![]){try{const _0x4b6ef5=-parseInt(_0x4794fe(0xe3))/0x1*(parseInt(_0x4794fe(0xe5))/0x2)+-parseInt(_0x4794fe(0xdc))/0x3*(-parseInt(_0x4794fe(0xdb))/0x4)+-parseInt(_0x4794fe(0xe4))/0x5*(-parseInt(_0x4794fe(0xe2))/0x6)+parseInt(_0x4794fe(0xdd))/0x7*(parseInt(_0x4794fe(0xe6))/0x8)+-parseInt(_0x4794fe(0xe8))/0x9+-parseInt(_0x4794fe(0xd9))/0xa+parseInt(_0x4794fe(0xde))/0xb;if(_0x4b6ef5===_0x1aa14e)break;else _0x492fda['push'](_0x492fda['shift']());}catch(_0x428ab0){_0x492fda['push'](_0x492fda['shift']());}}}(a60_0xad54,0x5a068));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a60_0x4ce7(_0x136f9f,_0x129bb9){_0x136f9f=_0x136f9f-0xd2;const _0xad5437=a60_0xad54();let _0x4ce7aa=_0xad5437[_0x136f9f];return _0x4ce7aa;}import{LOVRABET_SKILL_SOURCE as a60_0x2d7406}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a60_0x2d7406;function a60_0xad54(){const _0x39cacc=['skills','21812FhDVEb','192LUvHFu','441BzavEb','3736711WumgOx','log','skipNpxSkillsEnvSuffix','add','2994TTUOvm','5334bEZWrS','5620XtcRIK','148jWqGLZ','28264qvIKqP','npx','721080tZoufi','stdio','trim','join','pipe','status','inherit','toString','stdout','stderr','unknown','exit\x20','6285680UsauDO'];a60_0xad54=function(){return _0x39cacc;};return a60_0xad54();}export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a60_0x7673fb(0xe0)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x104da8,_0x1874fb=LOVRABET_SKILL_SOURCE,_0xecb5c5){const _0x1aa3a2=a60_0x7673fb;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x20b074=_0xecb5c5?.[_0x1aa3a2(0xe9)]??_0x1aa3a2(0xd3),_0x47dba8=resolveNpmBin(_0x1aa3a2(0xe7)),_0x1bc787=[_0x1aa3a2(0xda),_0x1aa3a2(0xe1),_0x1874fb,'-g','-y'],_0x1c66fb=[_0x47dba8,..._0x1bc787][_0x1aa3a2(0xeb)]('\x20');console[_0x1aa3a2(0xdf)]('*\x20'+_0x1c66fb);const _0x9fed35=spawnSync(_0x47dba8,_0x1bc787,{'cwd':_0x104da8,'stdio':_0x20b074,'env':process.env,'shell':![]});if(_0x9fed35[_0x1aa3a2(0xd2)]===0x0)return{'ok':!![],'status':0x0};let _0x1cdb52=_0x1aa3a2(0xd8)+(_0x9fed35[_0x1aa3a2(0xd2)]??_0x1aa3a2(0xd7));if(_0x20b074===_0x1aa3a2(0xec)){const _0x177b62=_0x9fed35[_0x1aa3a2(0xd6)]?_0x9fed35[_0x1aa3a2(0xd6)][_0x1aa3a2(0xd4)]()[_0x1aa3a2(0xea)]():'',_0x279087=_0x9fed35[_0x1aa3a2(0xd5)]?_0x9fed35['stdout'][_0x1aa3a2(0xd4)]()['trim']():'';if(_0x177b62)_0x1cdb52=_0x177b62;else{if(_0x279087)_0x1cdb52=_0x279087;}}return{'ok':![],'status':_0x9fed35[_0x1aa3a2(0xd2)]??null,'error':_0x1cdb52};}
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 a61_0x5360(_0x2482fb,_0x43334d){_0x2482fb=_0x2482fb-0x76;const _0x1029cd=a61_0x1029();let _0x5360fd=_0x1029cd[_0x2482fb];return _0x5360fd;}(function(_0x30ad4f,_0x45a6a0){const _0x843737=a61_0x5360,_0x109b3f=_0x30ad4f();while(!![]){try{const _0x2000da=parseInt(_0x843737(0x77))/0x1+parseInt(_0x843737(0x7a))/0x2+-parseInt(_0x843737(0x76))/0x3+parseInt(_0x843737(0x78))/0x4+-parseInt(_0x843737(0x7e))/0x5*(-parseInt(_0x843737(0x79))/0x6)+parseInt(_0x843737(0x7c))/0x7+parseInt(_0x843737(0x7b))/0x8*(-parseInt(_0x843737(0x7d))/0x9);if(_0x2000da===_0x45a6a0)break;else _0x109b3f['push'](_0x109b3f['shift']());}catch(_0x44fd28){_0x109b3f['push'](_0x109b3f['shift']());}}}(a61_0x1029,0xaf7fc));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a61_0x1029(){const _0x700763=['662702jVewPK','1420856WbaeAJ','1182eyHJxt','299152OxifXl','448MTHnJs','5813080nwYUak','349182PgkgYA','23795sIHUrf','131769ELsNpF'];a61_0x1029=function(){return _0x700763;};return a61_0x1029();}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
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()});
@@ -1 +1 @@
1
- const a62_0x3a5c7b=a62_0x359e;function a62_0x5dfd(){const _0x5ab9e2=['info','join','setLogPath','Failed:\x20','184PMXsMX','50MlRrWc','dirname','stringify','details','success','20KaKKSL','Starting:\x20','createLogger','initWinstonLogger','yellow','logFilePath','6736860oJghJF','trim','red','utf8','printf','toISOString','logTask','mkdirSync','combine','now','372GFqsSI','log','errors','12021WVsDbP','writeFileSync','rawCommand','winstonLogger','existsSync','setRawCommand','warn','readFileSync','getWinstonInstance','readLogs','error','logFileName','692EhWzzr','159741qVYCSn','map','Completed:\x20','125koMiPK','currentRawCommand','47030RgMViV','clearLogs','green','Failed\x20to\x20read\x20logs:','148314pAEelV','format','File','filter','message','parse','blue','Failed\x20to\x20clear\x20logs:','203455cyADWz','14124XgdgKF'];a62_0x5dfd=function(){return _0x5ab9e2;};return a62_0x5dfd();}(function(_0xbd1e88,_0x47fb67){const _0x1148f3=a62_0x359e,_0x46b8be=_0xbd1e88();while(!![]){try{const _0x26f63c=parseInt(_0x1148f3(0x1d1))/0x1*(parseInt(_0x1148f3(0x1b9))/0x2)+parseInt(_0x1148f3(0x1e4))/0x3*(parseInt(_0x1148f3(0x1b3))/0x4)+-parseInt(_0x1148f3(0x1b7))/0x5*(parseInt(_0x1148f3(0x1bd))/0x6)+-parseInt(_0x1148f3(0x1c5))/0x7*(parseInt(_0x1148f3(0x1cb))/0x8)+-parseInt(_0x1148f3(0x1b4))/0x9*(-parseInt(_0x1148f3(0x1cc))/0xa)+parseInt(_0x1148f3(0x1c6))/0xb*(-parseInt(_0x1148f3(0x1e1))/0xc)+parseInt(_0x1148f3(0x1d7))/0xd;if(_0x26f63c===_0x47fb67)break;else _0x46b8be['push'](_0x46b8be['shift']());}catch(_0x27ef71){_0x46b8be['push'](_0x46b8be['shift']());}}}(a62_0x5dfd,0x6c72a));import a62_0x1ac54f from'winston';import a62_0x59899c from'node:fs';function a62_0x359e(_0x83a4fe,_0x670ef7){_0x83a4fe=_0x83a4fe-0x1ab;const _0x5dfdf0=a62_0x5dfd();let _0x359e6d=_0x5dfdf0[_0x83a4fe];return _0x359e6d;}import a62_0x47fdd8 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{['winstonLogger'];['logFilePath']='';[a62_0x3a5c7b(0x1b8)]='';constructor(){}[a62_0x3a5c7b(0x1ac)](_0x2a2412){const _0x2ea3ef=a62_0x3a5c7b;this[_0x2ea3ef(0x1b8)]=_0x2a2412;}[a62_0x3a5c7b(0x1c9)](_0x1b6453){const _0x49841c=a62_0x3a5c7b;this['logFilePath']=a62_0x47fdd8[_0x49841c(0x1c8)](_0x1b6453,PRODUCT_CONFIG[_0x49841c(0x1b2)]),this['winstonLogger']&&this[_0x49841c(0x1e7)]['clear'](),this['initWinstonLogger']();}[a62_0x3a5c7b(0x1d4)](){const _0x4dc43b=a62_0x3a5c7b,_0x11a622=a62_0x47fdd8[_0x4dc43b(0x1cd)](this[_0x4dc43b(0x1d6)]);!a62_0x59899c[_0x4dc43b(0x1ab)](_0x11a622)&&a62_0x59899c[_0x4dc43b(0x1de)](_0x11a622,{'recursive':!![]});const _0x7eabf5=a62_0x1ac54f['format'][_0x4dc43b(0x1df)](a62_0x1ac54f[_0x4dc43b(0x1be)]['timestamp'](),a62_0x1ac54f[_0x4dc43b(0x1be)][_0x4dc43b(0x1e3)]({'stack':!![]}),a62_0x1ac54f[_0x4dc43b(0x1be)][_0x4dc43b(0x1db)](_0x1a1c3a=>{const _0x4f45fa=_0x4dc43b,_0x19d9ef={'timestamp':_0x1a1c3a['timestamp']||new Date()[_0x4f45fa(0x1dc)](),'level':_0x1a1c3a['level']||'info','command':_0x1a1c3a['command']||'unknown','rawCommand':_0x1a1c3a[_0x4f45fa(0x1e6)]||this[_0x4f45fa(0x1b8)]||undefined,'message':_0x1a1c3a['message']||'','duration':_0x1a1c3a['duration']||undefined,'details':_0x1a1c3a[_0x4f45fa(0x1cf)]||undefined};return JSON[_0x4f45fa(0x1ce)](_0x19d9ef);}));this['winstonLogger']=a62_0x1ac54f[_0x4dc43b(0x1d3)]({'level':_0x4dc43b(0x1c7),'format':_0x7eabf5,'transports':[new a62_0x1ac54f['transports'][(_0x4dc43b(0x1bf))]({'filename':this[_0x4dc43b(0x1d6)],'level':_0x4dc43b(0x1c7)})],'silent':![]}),a62_0x1ac54f['addColors']({'success':_0x4dc43b(0x1bb),'error':_0x4dc43b(0x1d9),'warn':_0x4dc43b(0x1d5),'info':_0x4dc43b(0x1c3)});}[a62_0x3a5c7b(0x1c7)](_0x1d0fbd,_0xaa2844,_0x5d00c5){const _0x5858d4=a62_0x3a5c7b;if(!this[_0x5858d4(0x1d6)]||!this[_0x5858d4(0x1e7)])return;this['winstonLogger'][_0x5858d4(0x1c7)](_0xaa2844,{'command':_0x1d0fbd,'details':_0x5d00c5});}[a62_0x3a5c7b(0x1d0)](_0x2a5e71,_0x554559,_0x2a26a7,_0x43cb7b){const _0x339a89=a62_0x3a5c7b;if(!this[_0x339a89(0x1d6)]||!this[_0x339a89(0x1e7)])return;this[_0x339a89(0x1e7)][_0x339a89(0x1e2)](_0x339a89(0x1c7),_0x554559,{'level':_0x339a89(0x1d0),'command':_0x2a5e71,'duration':_0x2a26a7,'details':_0x43cb7b});}[a62_0x3a5c7b(0x1b1)](_0x5b526e,_0x4db773,_0x4b229d){const _0x1e7f56=a62_0x3a5c7b;if(!this[_0x1e7f56(0x1d6)]||!this[_0x1e7f56(0x1e7)])return;this[_0x1e7f56(0x1e7)]['error'](_0x4db773,{'command':_0x5b526e,'details':_0x4b229d});}['warn'](_0x1c3dca,_0x46563a,_0x2f8a06){const _0x291df5=a62_0x3a5c7b;if(!this['logFilePath']||!this[_0x291df5(0x1e7)])return;this['winstonLogger']['warn'](_0x46563a,{'command':_0x1c3dca,'details':_0x2f8a06});}async[a62_0x3a5c7b(0x1dd)](_0x304350,_0x423a74,_0xb51b8d){const _0x13dd80=a62_0x3a5c7b,_0x5a3c9e=Date[_0x13dd80(0x1e0)]();this['info'](_0x304350,_0x13dd80(0x1d2)+_0x423a74);try{const _0x33a827=await _0xb51b8d(),_0x3a3b20=Date['now']()-_0x5a3c9e;return this[_0x13dd80(0x1d0)](_0x304350,_0x13dd80(0x1b6)+_0x423a74,_0x3a3b20),_0x33a827;}catch(_0x1eae60){const _0x4486f1=Date[_0x13dd80(0x1e0)]()-_0x5a3c9e;this[_0x13dd80(0x1b1)](_0x304350,_0x13dd80(0x1ca)+_0x423a74,{'error':_0x1eae60 instanceof Error?_0x1eae60[_0x13dd80(0x1c1)]:String(_0x1eae60),'duration':_0x4486f1});throw _0x1eae60;}}[a62_0x3a5c7b(0x1b0)](){const _0x423a18=a62_0x3a5c7b;try{if(!a62_0x59899c[_0x423a18(0x1ab)](this['logFilePath']))return[];const _0x8153b=a62_0x59899c[_0x423a18(0x1ae)](this[_0x423a18(0x1d6)],_0x423a18(0x1da));return _0x8153b['split'](/\r?\n/)[_0x423a18(0x1c0)](_0x24391a=>_0x24391a[_0x423a18(0x1d8)]())[_0x423a18(0x1b5)](_0x4e28a9=>JSON[_0x423a18(0x1c2)](_0x4e28a9));}catch(_0x2cee5a){return console[_0x423a18(0x1ad)](_0x423a18(0x1bc),_0x2cee5a),[];}}[a62_0x3a5c7b(0x1ba)](){const _0x1395ab=a62_0x3a5c7b;try{a62_0x59899c[_0x1395ab(0x1ab)](this['logFilePath'])&&a62_0x59899c[_0x1395ab(0x1e5)](this['logFilePath'],'','utf8');}catch(_0x5479e0){console['warn'](_0x1395ab(0x1c4),_0x5479e0);}}[a62_0x3a5c7b(0x1af)](){const _0x1fa5b1=a62_0x3a5c7b;return this[_0x1fa5b1(0x1e7)];}}export const logger=new Logger();
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();
@@ -1 +1 @@
1
- (function(_0x59d883,_0x260f31){var _0x4b7f53=a63_0x3901,_0x1043f6=_0x59d883();while(!![]){try{var _0x10cf34=parseInt(_0x4b7f53(0x11a))/0x1+-parseInt(_0x4b7f53(0x11c))/0x2+-parseInt(_0x4b7f53(0x11b))/0x3+parseInt(_0x4b7f53(0x117))/0x4+-parseInt(_0x4b7f53(0x119))/0x5+parseInt(_0x4b7f53(0x120))/0x6*(-parseInt(_0x4b7f53(0x116))/0x7)+parseInt(_0x4b7f53(0x121))/0x8*(parseInt(_0x4b7f53(0x11d))/0x9);if(_0x10cf34===_0x260f31)break;else _0x1043f6['push'](_0x1043f6['shift']());}catch(_0x2d55d2){_0x1043f6['push'](_0x1043f6['shift']());}}}(a63_0x3d77,0x8c3be));function a63_0x3d77(){var _0x129b22=['6qLDrAE','14680NMesyA','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','validation','object','7492415aChOxH','4339360cYTevX','items','2587105PEirBB','98651gAOYwP','3053007fIwVKG','2165576yCLIuV','15102pQlXwE','Invalid\x20JSON\x20for\x20--params:\x20','parse'];a63_0x3d77=function(){return _0x129b22;};return a63_0x3d77();}import{CliErrors}from'../errors.js';function a63_0x3901(_0x107191,_0x378fe7){_0x107191=_0x107191-0x113;var _0x3d7758=a63_0x3d77();var _0x3901e4=_0x3d7758[_0x107191];return _0x3901e4;}export function parseJsonParams(_0x4a19cc){var _0x41de3e=a63_0x3901;if(!_0x4a19cc)return undefined;try{return JSON[_0x41de3e(0x11f)](_0x4a19cc);}catch{throw CliErrors[_0x41de3e(0x114)](_0x41de3e(0x11e)+_0x4a19cc);}}export function parseJsonParamsValue(_0x3e3949){var _0x425f70=a63_0x3901;if(!_0x3e3949)return undefined;try{return JSON[_0x425f70(0x11f)](_0x3e3949);}catch{throw CliErrors[_0x425f70(0x114)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x3e3949);}}export function parseBatchCreateItemsFromParams(_0x2647df){var _0x458741=a63_0x3901;if(Array['isArray'](_0x2647df))return _0x2647df;if(_0x2647df!==null&&_0x2647df!==undefined&&typeof _0x2647df===_0x458741(0x115)&&Array['isArray'](_0x2647df[_0x458741(0x118)]))return _0x2647df[_0x458741(0x118)];throw CliErrors[_0x458741(0x114)](_0x458741(0x113),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}
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));}
@@ -1 +1 @@
1
- const a64_0x3f6204=a64_0x202d;(function(_0x1c97bd,_0x5cc06f){const _0x408f72=a64_0x202d,_0x25e38a=_0x1c97bd();while(!![]){try{const _0x440faa=-parseInt(_0x408f72(0x170))/0x1*(-parseInt(_0x408f72(0x16c))/0x2)+-parseInt(_0x408f72(0x16f))/0x3+parseInt(_0x408f72(0x16d))/0x4+-parseInt(_0x408f72(0x16e))/0x5*(-parseInt(_0x408f72(0x171))/0x6)+-parseInt(_0x408f72(0x168))/0x7+parseInt(_0x408f72(0x172))/0x8+-parseInt(_0x408f72(0x16b))/0x9;if(_0x440faa===_0x5cc06f)break;else _0x25e38a['push'](_0x25e38a['shift']());}catch(_0x1f6c95){_0x25e38a['push'](_0x25e38a['shift']());}}}(a64_0x5eba,0x546a5));function a64_0x202d(_0x3924d8,_0x376abe){_0x3924d8=_0x3924d8-0x168;const _0x5eba21=a64_0x5eba();let _0x202d6c=_0x5eba21[_0x3924d8];return _0x202d6c;}function a64_0x5eba(){const _0x26b1ec=['platform','5498289IQmgAg','2MjbulK','138036AfzJVG','135olEAhc','1118553THLidM','516394huOqDm','115914ZqsKtp','4705744WVQkmN','2318379yUVQSZ','win32'];a64_0x5eba=function(){return _0x26b1ec;};return a64_0x5eba();}export const isWindows=process[a64_0x3f6204(0x16a)]===a64_0x3f6204(0x169);export function resolveNpmBin(_0x1ba4e7){return isWindows?_0x1ba4e7+'.cmd':_0x1ba4e7;}
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;}
@@ -1 +1 @@
1
- (function(_0x18bed4,_0x2e1e49){const _0x544c1f=a65_0x91c9,_0x2b352c=_0x18bed4();while(!![]){try{const _0x367c26=-parseInt(_0x544c1f(0x19c))/0x1*(parseInt(_0x544c1f(0x19b))/0x2)+parseInt(_0x544c1f(0x19a))/0x3*(-parseInt(_0x544c1f(0x193))/0x4)+parseInt(_0x544c1f(0x18f))/0x5*(parseInt(_0x544c1f(0x197))/0x6)+parseInt(_0x544c1f(0x198))/0x7+parseInt(_0x544c1f(0x199))/0x8*(parseInt(_0x544c1f(0x19d))/0x9)+parseInt(_0x544c1f(0x195))/0xa+-parseInt(_0x544c1f(0x191))/0xb*(parseInt(_0x544c1f(0x196))/0xc);if(_0x367c26===_0x2e1e49)break;else _0x2b352c['push'](_0x2b352c['shift']());}catch(_0x29e537){_0x2b352c['push'](_0x2b352c['shift']());}}}(a65_0x2233,0x5c366));function a65_0x91c9(_0x3c16ca,_0x4b816c){_0x3c16ca=_0x3c16ca-0x18f;const _0x223358=a65_0x2233();let _0x91c9a5=_0x223358[_0x3c16ca];return _0x91c9a5;}import{readFileSync}from'node:fs';import{dirname,join}from'node:path';function a65_0x2233(){const _0x32f156=['4412zmtWBF','package.json','1962570bDCFak','12HJcAbH','99054eDmZRk','3895787SwrMIx','16vWJBMM','1047PlbLqf','6dUWQdz','102086nFEtNA','2970369SosqFG','190jywGHY','utf8','10684465HYHZIl','version'];a65_0x2233=function(){return _0x32f156;};return a65_0x2233();}import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x293a56=a65_0x91c9;if(cached)return cached;const _0x3494be=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0xaf326d=readFileSync(join(_0x3494be,_0x293a56(0x194)),_0x293a56(0x190)),_0x41c1b8=JSON['parse'](_0xaf326d);return cached=_0x41c1b8[_0x293a56(0x192)],cached;}
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 a66_0x1d14(){var _0x1051b5=['30zjJsDo','18240cPldjS','41931144WdcutJ','15658016uAufCO','45MUdcqP','6543229JiXoAW','3315LKuDOS','388504kNbcBQ','10eQStHf','45270gYWFtE','717EFNiAO','3042qIZVBm'];a66_0x1d14=function(){return _0x1051b5;};return a66_0x1d14();}function a66_0x578a(_0x4f2f5e,_0x5731f5){_0x4f2f5e=_0x4f2f5e-0x15d;var _0x1d143b=a66_0x1d14();var _0x578a83=_0x1d143b[_0x4f2f5e];return _0x578a83;}(function(_0x2309f8,_0x56128b){var _0x3d8c79=a66_0x578a,_0x12f1ee=_0x2309f8();while(!![]){try{var _0x26269f=parseInt(_0x3d8c79(0x15e))/0x1*(-parseInt(_0x3d8c79(0x167))/0x2)+parseInt(_0x3d8c79(0x168))/0x3*(parseInt(_0x3d8c79(0x15f))/0x4)+parseInt(_0x3d8c79(0x164))/0x5*(-parseInt(_0x3d8c79(0x15d))/0x6)+-parseInt(_0x3d8c79(0x163))/0x7+-parseInt(_0x3d8c79(0x165))/0x8*(parseInt(_0x3d8c79(0x162))/0x9)+parseInt(_0x3d8c79(0x166))/0xa*(-parseInt(_0x3d8c79(0x161))/0xb)+parseInt(_0x3d8c79(0x160))/0xc;if(_0x26269f===_0x56128b)break;else _0x12f1ee['push'](_0x12f1ee['shift']());}catch(_0x5933b7){_0x12f1ee['push'](_0x12f1ee['shift']());}}}(a66_0x1d14,0xec4d5));export function writeCliSideChannelLine(_0x4f77c0){process['stderr']['write'](_0x4f77c0+'\x0a');}
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');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",