@lovrabet/lovrabet-cli 2.0.13-beta.2 → 2.0.13-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) 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/kb/index.js +1 -1
  24. package/lib/commands/logs/index.js +1 -1
  25. package/lib/commands/registry.js +1 -1
  26. package/lib/commands/schema.js +1 -1
  27. package/lib/commands/skill/index.js +1 -1
  28. package/lib/commands/sql/detail.js +1 -1
  29. package/lib/commands/sql/exec.js +1 -1
  30. package/lib/commands/sql/index.js +1 -1
  31. package/lib/commands/update.js +1 -1
  32. package/lib/config/schema.js +1 -1
  33. package/lib/constant/auth-mode.js +1 -1
  34. package/lib/constant/cli.js +1 -1
  35. package/lib/constant/defaults.js +1 -1
  36. package/lib/constant/distribution.js +1 -1
  37. package/lib/constant/domain.js +1 -1
  38. package/lib/constant/env.js +1 -1
  39. package/lib/constant/output.js +1 -1
  40. package/lib/constant/product.js +1 -1
  41. package/lib/constant/risk.js +1 -1
  42. package/lib/constant/url.js +1 -1
  43. package/lib/context.js +1 -1
  44. package/lib/core/api-client.js +1 -1
  45. package/lib/core/db-resolver.js +1 -1
  46. package/lib/core/sdk-client.js +1 -1
  47. package/lib/errors.js +1 -1
  48. package/lib/framework/build-all-flags.js +1 -1
  49. package/lib/framework/dryrun.js +1 -1
  50. package/lib/framework/flags.js +1 -1
  51. package/lib/framework/help.js +1 -1
  52. package/lib/framework/index.js +1 -1
  53. package/lib/framework/output.js +1 -1
  54. package/lib/framework/preparse.js +1 -1
  55. package/lib/framework/response.js +1 -1
  56. package/lib/framework/runner-confirmation.js +1 -1
  57. package/lib/framework/runner-error.js +1 -1
  58. package/lib/framework/runner.js +1 -1
  59. package/lib/framework/schema-export.js +1 -1
  60. package/lib/framework/types.js +1 -1
  61. package/lib/help.js +1 -1
  62. package/lib/skills/npx-skills-add.js +1 -1
  63. package/lib/skills/runtime-skill-sync.js +1 -1
  64. package/lib/utils/apply-jq-filter.js +1 -1
  65. package/lib/utils/logger.js +1 -1
  66. package/lib/utils/params.js +1 -1
  67. package/lib/utils/platform.js +1 -1
  68. package/lib/utils/version.js +1 -1
  69. package/lib/utils/write-cli-side-channel.js +1 -1
  70. package/package.json +3 -3
@@ -1 +1 @@
1
- (function(_0x3862b4,_0x58db3f){var _0x264268=a65_0x38eb,_0x13f05a=_0x3862b4();while(!![]){try{var _0x177524=parseInt(_0x264268(0x168))/0x1+-parseInt(_0x264268(0x16d))/0x2+-parseInt(_0x264268(0x16c))/0x3*(-parseInt(_0x264268(0x167))/0x4)+-parseInt(_0x264268(0x172))/0x5*(-parseInt(_0x264268(0x163))/0x6)+-parseInt(_0x264268(0x16a))/0x7+parseInt(_0x264268(0x171))/0x8+parseInt(_0x264268(0x16e))/0x9*(-parseInt(_0x264268(0x166))/0xa);if(_0x177524===_0x58db3f)break;else _0x13f05a['push'](_0x13f05a['shift']());}catch(_0x518431){_0x13f05a['push'](_0x13f05a['shift']());}}}(a65_0x1484,0xd0087));function a65_0x38eb(_0xe0b24a,_0x62f74d){_0xe0b24a=_0xe0b24a-0x161;var _0x14840b=a65_0x1484();var _0x38eb59=_0x14840b[_0xe0b24a];return _0x38eb59;}import{CliErrors}from'../errors.js';export function parseJsonParams(_0x2e616d){var _0x3b2643=a65_0x38eb;if(!_0x2e616d)return undefined;try{return JSON['parse'](_0x2e616d);}catch{throw CliErrors['validation'](_0x3b2643(0x16b)+_0x2e616d);}}export function parseJsonParamsValue(_0x1c244a){var _0x29f09e=a65_0x38eb;if(!_0x1c244a)return undefined;try{return JSON[_0x29f09e(0x169)](_0x1c244a);}catch{throw CliErrors[_0x29f09e(0x16f)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x1c244a);}}function a65_0x1484(){var _0x15a3ad=['Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','2056288WwvNNY','5WJnbvv','isArray','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','5667318HShBWs','items','object','1452470RmRnuU','72mDYKxn','1484028JAhmYl','parse','32207svUwsV','Invalid\x20JSON\x20for\x20--params:\x20','51141ZyczpU','1947566bOIujB','72ZjOMdC','validation'];a65_0x1484=function(){return _0x15a3ad;};return a65_0x1484();}export function parseBatchCreateItemsFromParams(_0x45ac1a){var _0x381d17=a65_0x38eb;if(Array[_0x381d17(0x161)](_0x45ac1a))return _0x45ac1a;if(_0x45ac1a!==null&&_0x45ac1a!==undefined&&typeof _0x45ac1a===_0x381d17(0x165)&&Array[_0x381d17(0x161)](_0x45ac1a[_0x381d17(0x164)]))return _0x45ac1a[_0x381d17(0x164)];throw CliErrors['validation'](_0x381d17(0x162),_0x381d17(0x170));}
1
+ (function(_0x2f7e7a,_0x44922c){var _0x4b96e9=a65_0x478f,_0x3f099c=_0x2f7e7a();while(!![]){try{var _0x4e5e4d=parseInt(_0x4b96e9(0x10b))/0x1+-parseInt(_0x4b96e9(0x107))/0x2+-parseInt(_0x4b96e9(0x106))/0x3*(-parseInt(_0x4b96e9(0x10f))/0x4)+parseInt(_0x4b96e9(0x10c))/0x5+parseInt(_0x4b96e9(0x113))/0x6*(-parseInt(_0x4b96e9(0x10d))/0x7)+parseInt(_0x4b96e9(0x10a))/0x8*(-parseInt(_0x4b96e9(0x111))/0x9)+parseInt(_0x4b96e9(0x109))/0xa*(parseInt(_0x4b96e9(0x110))/0xb);if(_0x4e5e4d===_0x44922c)break;else _0x3f099c['push'](_0x3f099c['shift']());}catch(_0x312f78){_0x3f099c['push'](_0x3f099c['shift']());}}}(a65_0x34f9,0xcfa6c));function a65_0x34f9(){var _0x4dde98=['11862PKhidI','isArray','12JBGEtr','Invalid\x20JSON\x20for\x20--params:\x20','validation','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','items','1043697OEpLZD','1279242WuKUcU','parse','40CpmHik','424YJYmuT','1049822lcEOgr','792540fUNTLs','5584971XucxsP','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','4UzYNRu','4398603tssCgF'];a65_0x34f9=function(){return _0x4dde98;};return a65_0x34f9();}import{CliErrors}from'../errors.js';export function parseJsonParams(_0x22e071){var _0xe1a3c7=a65_0x478f;if(!_0x22e071)return undefined;try{return JSON[_0xe1a3c7(0x108)](_0x22e071);}catch{throw CliErrors[_0xe1a3c7(0x115)](_0xe1a3c7(0x114)+_0x22e071);}}export function parseJsonParamsValue(_0x4ed99a){var _0x26ca3c=a65_0x478f;if(!_0x4ed99a)return undefined;try{return JSON[_0x26ca3c(0x108)](_0x4ed99a);}catch{throw CliErrors[_0x26ca3c(0x115)](_0x26ca3c(0x114)+_0x4ed99a);}}function a65_0x478f(_0x2667fa,_0x236f44){_0x2667fa=_0x2667fa-0x105;var _0x34f9bd=a65_0x34f9();var _0x478ffb=_0x34f9bd[_0x2667fa];return _0x478ffb;}export function parseBatchCreateItemsFromParams(_0x286314){var _0x405a18=a65_0x478f;if(Array[_0x405a18(0x112)](_0x286314))return _0x286314;if(_0x286314!==null&&_0x286314!==undefined&&typeof _0x286314==='object'&&Array[_0x405a18(0x112)](_0x286314[_0x405a18(0x105)]))return _0x286314[_0x405a18(0x105)];throw CliErrors[_0x405a18(0x115)](_0x405a18(0x116),_0x405a18(0x10e));}
@@ -1 +1 @@
1
- function a66_0x121d(_0x352819,_0x1316c8){_0x352819=_0x352819-0x17f;const _0xf425ab=a66_0xf425();let _0x121da9=_0xf425ab[_0x352819];return _0x121da9;}const a66_0x2a6612=a66_0x121d;(function(_0x1948bf,_0x1849e6){const _0x1c3863=a66_0x121d,_0x10be4d=_0x1948bf();while(!![]){try{const _0x1974d5=parseInt(_0x1c3863(0x181))/0x1*(-parseInt(_0x1c3863(0x180))/0x2)+-parseInt(_0x1c3863(0x182))/0x3+-parseInt(_0x1c3863(0x18d))/0x4*(-parseInt(_0x1c3863(0x187))/0x5)+-parseInt(_0x1c3863(0x18c))/0x6*(-parseInt(_0x1c3863(0x18b))/0x7)+parseInt(_0x1c3863(0x17f))/0x8+-parseInt(_0x1c3863(0x185))/0x9*(-parseInt(_0x1c3863(0x183))/0xa)+-parseInt(_0x1c3863(0x189))/0xb*(parseInt(_0x1c3863(0x184))/0xc);if(_0x1974d5===_0x1849e6)break;else _0x10be4d['push'](_0x10be4d['shift']());}catch(_0x3974e7){_0x10be4d['push'](_0x10be4d['shift']());}}}(a66_0xf425,0xd5898));export const isWindows=process[a66_0x2a6612(0x186)]===a66_0x2a6612(0x18a);function a66_0xf425(){const _0x51b95d=['1731024vqxYYT','6017750ePoNQw','60xXMmvM','18ebEyMM','platform','3858375gtrYYb','.cmd','3645389FUlXMy','win32','212982MdpVGO','192LFVFCx','4fdIlij','6841472bvYXmE','20ILdMUm','69539YNDWhb'];a66_0xf425=function(){return _0x51b95d;};return a66_0xf425();}export function resolveNpmBin(_0x504246){const _0x195f37=a66_0x2a6612;return isWindows?_0x504246+_0x195f37(0x188):_0x504246;}
1
+ const a66_0x46b0ca=a66_0x4749;(function(_0x1bef7c,_0x37165b){const _0x5c6e8e=a66_0x4749,_0x41befd=_0x1bef7c();while(!![]){try{const _0x2c673c=-parseInt(_0x5c6e8e(0x1f0))/0x1+-parseInt(_0x5c6e8e(0x1f2))/0x2+parseInt(_0x5c6e8e(0x1f5))/0x3*(parseInt(_0x5c6e8e(0x1f4))/0x4)+-parseInt(_0x5c6e8e(0x1f7))/0x5+parseInt(_0x5c6e8e(0x1f6))/0x6*(-parseInt(_0x5c6e8e(0x1ef))/0x7)+parseInt(_0x5c6e8e(0x1f8))/0x8*(-parseInt(_0x5c6e8e(0x1f3))/0x9)+parseInt(_0x5c6e8e(0x1f9))/0xa;if(_0x2c673c===_0x37165b)break;else _0x41befd['push'](_0x41befd['shift']());}catch(_0x3d4d52){_0x41befd['push'](_0x41befd['shift']());}}}(a66_0x7855,0x853cc));function a66_0x4749(_0x254de7,_0x10d47e){_0x254de7=_0x254de7-0x1ef;const _0x7855e8=a66_0x7855();let _0x474958=_0x7855e8[_0x254de7];return _0x474958;}export const isWindows=process['platform']===a66_0x46b0ca(0x1f1);export function resolveNpmBin(_0x571787){return isWindows?_0x571787+'.cmd':_0x571787;}function a66_0x7855(){const _0x48f4df=['45pjeMik','1660040QPgOke','6OIPeWI','1780536IFGXKt','993275STVEgI','615656JTOiAH','15024620LgDouP','7YziyFX','676070nhWBMh','win32','460952GwiVrj'];a66_0x7855=function(){return _0x48f4df;};return a66_0x7855();}
@@ -1 +1 @@
1
- function a67_0x296b(_0x163936,_0x56457f){_0x163936=_0x163936-0x6c;const _0x5c185a=a67_0x5c18();let _0x296be0=_0x5c185a[_0x163936];return _0x296be0;}(function(_0x3f9c6e,_0x1381a3){const _0x5833b5=a67_0x296b,_0x8cda22=_0x3f9c6e();while(!![]){try{const _0x2e0ac6=-parseInt(_0x5833b5(0x74))/0x1*(parseInt(_0x5833b5(0x78))/0x2)+parseInt(_0x5833b5(0x7a))/0x3*(-parseInt(_0x5833b5(0x77))/0x4)+parseInt(_0x5833b5(0x73))/0x5*(parseInt(_0x5833b5(0x6e))/0x6)+-parseInt(_0x5833b5(0x6c))/0x7*(-parseInt(_0x5833b5(0x6f))/0x8)+parseInt(_0x5833b5(0x71))/0x9+parseInt(_0x5833b5(0x79))/0xa+parseInt(_0x5833b5(0x75))/0xb*(parseInt(_0x5833b5(0x76))/0xc);if(_0x2e0ac6===_0x1381a3)break;else _0x8cda22['push'](_0x8cda22['shift']());}catch(_0x3fe05c){_0x8cda22['push'](_0x8cda22['shift']());}}}(a67_0x5c18,0x2aa5d));import{readFileSync}from'node:fs';import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x5930c0=a67_0x296b;if(cached)return cached;const _0x1b4d0b=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x395707=readFileSync(join(_0x1b4d0b,_0x5930c0(0x72)),_0x5930c0(0x6d)),_0x16c818=JSON[_0x5930c0(0x70)](_0x395707);return cached=_0x16c818['version'],cached;}function a67_0x5c18(){const _0x1ec584=['714040geCdEL','12BqJsWQ','346871evYdHq','utf8','964692MisEgZ','24XRdnbe','parse','718488BqZVpG','package.json','10wydxPd','10735PSkgle','1056CaNsoj','20412xAVwYW','288020WLBsTR','60mqTFNa'];a67_0x5c18=function(){return _0x1ec584;};return a67_0x5c18();}
1
+ (function(_0x4f1f2f,_0x49383c){const _0x9b7740=a67_0x14c0,_0x592747=_0x4f1f2f();while(!![]){try{const _0x4ab96b=-parseInt(_0x9b7740(0x1cc))/0x1*(parseInt(_0x9b7740(0x1d4))/0x2)+-parseInt(_0x9b7740(0x1d3))/0x3*(parseInt(_0x9b7740(0x1d5))/0x4)+-parseInt(_0x9b7740(0x1d8))/0x5*(parseInt(_0x9b7740(0x1cd))/0x6)+parseInt(_0x9b7740(0x1ca))/0x7+parseInt(_0x9b7740(0x1d2))/0x8*(parseInt(_0x9b7740(0x1ce))/0x9)+parseInt(_0x9b7740(0x1d7))/0xa+parseInt(_0x9b7740(0x1d0))/0xb;if(_0x4ab96b===_0x49383c)break;else _0x592747['push'](_0x592747['shift']());}catch(_0x522b49){_0x592747['push'](_0x592747['shift']());}}}(a67_0x1607,0x957c2));import{readFileSync}from'node:fs';function a67_0x1607(){const _0xa150d8=['432FdTugf','582OTmDmf','644taoNNQ','23772KZGNrQ','package.json','2121520kkIlcD','4508470KoDqum','7878241IfwNYL','parse','610RjudqA','6uxVNdH','85464SeBYbn','version','11142417JqnPgl','utf8'];a67_0x1607=function(){return _0xa150d8;};return a67_0x1607();}function a67_0x14c0(_0x321c32,_0x18eff9){_0x321c32=_0x321c32-0x1ca;const _0x16073e=a67_0x1607();let _0x14c0ce=_0x16073e[_0x321c32];return _0x14c0ce;}import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x21869b=a67_0x14c0;if(cached)return cached;const _0x42101f=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x59a2b7=readFileSync(join(_0x42101f,_0x21869b(0x1d6)),_0x21869b(0x1d1)),_0x4e59f3=JSON[_0x21869b(0x1cb)](_0x59a2b7);return cached=_0x4e59f3[_0x21869b(0x1cf)],cached;}
@@ -1 +1 @@
1
- function a68_0x15a1(_0x2f38b1,_0x15621d){_0x2f38b1=_0x2f38b1-0x133;var _0x2f1c40=a68_0x2f1c();var _0x15a1eb=_0x2f1c40[_0x2f38b1];return _0x15a1eb;}(function(_0x565f83,_0x3b62ed){var _0x1b0b49=a68_0x15a1,_0x2cc575=_0x565f83();while(!![]){try{var _0xab4d1f=-parseInt(_0x1b0b49(0x136))/0x1*(-parseInt(_0x1b0b49(0x138))/0x2)+parseInt(_0x1b0b49(0x135))/0x3*(-parseInt(_0x1b0b49(0x13d))/0x4)+parseInt(_0x1b0b49(0x13a))/0x5+parseInt(_0x1b0b49(0x13c))/0x6+parseInt(_0x1b0b49(0x139))/0x7+parseInt(_0x1b0b49(0x133))/0x8+-parseInt(_0x1b0b49(0x137))/0x9;if(_0xab4d1f===_0x3b62ed)break;else _0x2cc575['push'](_0x2cc575['shift']());}catch(_0x1b128a){_0x2cc575['push'](_0x2cc575['shift']());}}}(a68_0x2f1c,0xb07ff));function a68_0x2f1c(){var _0x2f64b7=['16393221LXocPG','7654KjPNIp','5126205VtxuZq','2991145VzKkla','stderr','5136492RAtSFc','1012bMdFcs','5530360LrJfON','write','4953dLjoki','22RAbaSh'];a68_0x2f1c=function(){return _0x2f64b7;};return a68_0x2f1c();}export function writeCliSideChannelLine(_0x44c39c){var _0x3fb6f1=a68_0x15a1;process[_0x3fb6f1(0x13b)][_0x3fb6f1(0x134)](_0x44c39c+'\x0a');}
1
+ function a68_0x3ebe(_0x19e14b,_0x2f8437){_0x19e14b=_0x19e14b-0x1a3;var _0x42d148=a68_0x42d1();var _0x3ebe41=_0x42d148[_0x19e14b];return _0x3ebe41;}(function(_0x4db7c2,_0x32fee6){var _0x540bf9=a68_0x3ebe,_0x5c8d58=_0x4db7c2();while(!![]){try{var _0x3878ed=parseInt(_0x540bf9(0x1ad))/0x1+-parseInt(_0x540bf9(0x1a9))/0x2*(-parseInt(_0x540bf9(0x1a5))/0x3)+parseInt(_0x540bf9(0x1ae))/0x4*(parseInt(_0x540bf9(0x1a7))/0x5)+parseInt(_0x540bf9(0x1aa))/0x6*(parseInt(_0x540bf9(0x1a3))/0x7)+parseInt(_0x540bf9(0x1a8))/0x8+-parseInt(_0x540bf9(0x1a6))/0x9+-parseInt(_0x540bf9(0x1ab))/0xa;if(_0x3878ed===_0x32fee6)break;else _0x5c8d58['push'](_0x5c8d58['shift']());}catch(_0x5441a4){_0x5c8d58['push'](_0x5c8d58['shift']());}}}(a68_0x42d1,0x79c01));export function writeCliSideChannelLine(_0x54817a){var _0x4786e0=a68_0x3ebe;process[_0x4786e0(0x1ac)][_0x4786e0(0x1a4)](_0x54817a+'\x0a');}function a68_0x42d1(){var _0x37dc25=['832443XNPWxg','28ZnJvzl','1925DguAuw','write','141JJJYqL','4973382VaeiTG','339675IqkzIM','228728hPduGd','31166KUMbAq','10518IitJOc','14997680nxGHOf','stderr'];a68_0x42d1=function(){return _0x37dc25;};return a68_0x42d1();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.0.13-beta.2",
3
+ "version": "2.0.13-beta.3",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,8 +26,8 @@
26
26
  "verify:bundled-jq": "node scripts/verify-bundled-jq.mjs",
27
27
  "publish:github": "node scripts/publish-github.mjs",
28
28
  "lint": "echo 'No linter configured yet'",
29
- "beta-release": "node scripts/ensure-mr-release-branch.mjs && sh scripts/update-beta-version.sh && bun run build && git push && sh scripts/push-current-tag.sh && npm publish --tag beta --registry=https://registry.npmjs.org --access public",
30
- "release": "node scripts/ensure-mr-release-branch.mjs && sh scripts/update-latest-version.sh && bun run build && git push && sh scripts/push-current-tag.sh && npm run publish:github && npm publish --registry=https://registry.npmjs.org --access public",
29
+ "beta-release": "node scripts/beta-release.mjs",
30
+ "release": "node scripts/latest-release.mjs",
31
31
  "check:lockfile": "node scripts/check-lockfile-integrity.mjs",
32
32
  "check:skill-version": "node scripts/check-skill-version.mjs",
33
33
  "ci": "npm run typecheck && npm run check:skill-version && npm run check:lockfile && npm run build",