@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.
- 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/kb/index.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 -1
- 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 -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/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/skills/runtime-skill-sync.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 +3 -3
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
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));}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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();}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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
|
|
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.
|
|
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/
|
|
30
|
-
"release": "node scripts/
|
|
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",
|