@lovrabet/lovrabet-cli 2.2.1 → 2.2.2-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/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/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/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/ocr/index.js +1 -1
- package/lib/commands/personal-bff/index.js +1 -1
- package/lib/commands/registry.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/workspace/index.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/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/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/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/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/apply-jq-filter.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/platform.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 +2 -1
- package/skills/lovrabet/SKILL.md +1 -1
- package/skills/lovrabet.manifest.json +3 -3
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x179e82,_0x261785){const _0x29152b=a129_0x5200,_0x2448a1=_0x179e82();while(!![]){try{const _0x434893=parseInt(_0x29152b(0x9c))/0x1*(-parseInt(_0x29152b(0xa6))/0x2)+-parseInt(_0x29152b(0xa2))/0x3+-parseInt(_0x29152b(0xa1))/0x4*(parseInt(_0x29152b(0x96))/0x5)+parseInt(_0x29152b(0xa3))/0x6+-parseInt(_0x29152b(0xab))/0x7*(parseInt(_0x29152b(0xa7))/0x8)+parseInt(_0x29152b(0xae))/0x9+parseInt(_0x29152b(0xad))/0xa;if(_0x434893===_0x261785)break;else _0x2448a1['push'](_0x2448a1['shift']());}catch(_0x5d1d7d){_0x2448a1['push'](_0x2448a1['shift']());}}}(a129_0x5b18,0x24825));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;function a129_0x5200(_0x3d28b3,_0x2740fa){_0x3d28b3=_0x3d28b3-0x92;const _0x5b189d=a129_0x5b18();let _0x520056=_0x5b189d[_0x3d28b3];return _0x520056;}export function parseJsonParams(_0x5be6c1){if(!_0x5be6c1)return undefined;try{return parseLosslessJson(_0x5be6c1);}catch{throw CliErrors['validation']('Invalid\x20JSON\x20for\x20--params:\x20'+_0x5be6c1);}}function a129_0x5b18(){const _0x2acd31=['number','2408BMDUMk','map','5488260OtISOf','1315233WmisaC','id[','\x20records\x20per\x20call;\x20received\x20','items','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','260CNBMeg','test','length','join','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','Invalid\x20JSON\x20for\x20--params:\x20','6265gOVLLX','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','string','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','isSafeInteger','14972AzxQCB','450678uFssDw','1740786cbXoPq','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','object','70hjLUfp','6312gurklp','isArray','validation'];a129_0x5b18=function(){return _0x2acd31;};return a129_0x5b18();}export function parseJsonParamsValue(_0x20e9f8){const _0x22d4d3=a129_0x5200;if(!_0x20e9f8)return undefined;try{return parseLosslessJson(_0x20e9f8);}catch{throw CliErrors[_0x22d4d3(0xa9)](_0x22d4d3(0x9b)+_0x20e9f8);}}export function parseBatchCreateItemsFromParams(_0x3fa5b7){const _0x5a7cea=a129_0x5200;if(Array[_0x5a7cea(0xa8)](_0x3fa5b7))return _0x3fa5b7;if(_0x3fa5b7!==null&&_0x3fa5b7!==undefined&&typeof _0x3fa5b7===_0x5a7cea(0xa5)&&Array['isArray'](_0x3fa5b7[_0x5a7cea(0x94)]))return _0x3fa5b7[_0x5a7cea(0x94)];throw CliErrors['validation'](_0x5a7cea(0x95),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}function parseDataUpdateId(_0x50ebf1,_0x9fcc71){const _0x27a005=a129_0x5200;if(typeof _0x50ebf1===_0x27a005(0xaa)&&Number[_0x27a005(0xa0)](_0x50ebf1)&&_0x50ebf1>0x0)return _0x50ebf1;if(typeof _0x50ebf1===_0x27a005(0x9e)){if(/^[1-9]\d*$/[_0x27a005(0x97)](_0x50ebf1))return _0x50ebf1;}throw CliErrors[_0x27a005(0xa9)]('data\x20update\x20--params.'+_0x9fcc71+_0x27a005(0x9a));}export function parseUpdateIdsFromParams(_0x482343){const _0xaec3ed=a129_0x5200;if(_0x482343===null||_0x482343===undefined||typeof _0x482343!==_0xaec3ed(0xa5)||Array[_0xaec3ed(0xa8)](_0x482343))throw CliErrors[_0xaec3ed(0xa9)](_0xaec3ed(0x9d),_0xaec3ed(0x9f));const _0x4520cd=_0x482343['id'];if(_0x4520cd===undefined||_0x4520cd===null)throw CliErrors[_0xaec3ed(0xa9)]('data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.',_0xaec3ed(0x9f));const _0x38941d=Array[_0xaec3ed(0xa8)](_0x4520cd)?_0x4520cd:[_0x4520cd];if(_0x38941d[_0xaec3ed(0x98)]===0x0)throw CliErrors['validation'](_0xaec3ed(0xa4));if(_0x38941d['length']>MAX_DATA_UPDATE_IDS)throw CliErrors[_0xaec3ed(0xa9)]('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+_0xaec3ed(0x93)+_0x38941d[_0xaec3ed(0x98)]+'.');return _0x38941d[_0xaec3ed(0xac)]((_0x319c32,_0x5d4fdc)=>parseDataUpdateId(_0x319c32,Array[_0xaec3ed(0xa8)](_0x4520cd)?_0xaec3ed(0x92)+_0x5d4fdc+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x553d41,_0x8f78ff){const _0x5a9b44=a129_0x5200;if(Array[_0x5a9b44(0xa8)](_0x553d41['id'])&&_0x8f78ff[_0x5a9b44(0x98)]>0x1)return{..._0x553d41,'id':_0x8f78ff[_0x5a9b44(0x99)](',')};return _0x553d41;}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a130_0x1b41de=a130_0x11f3;function a130_0x11f3(_0xa7ccab,_0x44f70d){_0xa7ccab=_0xa7ccab-0x136;const _0x5279a5=a130_0x5279();let _0x11f352=_0x5279a5[_0xa7ccab];return _0x11f352;}function a130_0x5279(){const _0x17286b=['win32','330QKfmsK','117425JkFgtY','1117203havjcX','platform','248sEjsVC','783912BLuIYn','7oHVdpO','4290575HzDqhm','.cmd','3293352sUNETB','158733GBKvgG','5029230dqzwjJ','2ZqCtZf'];a130_0x5279=function(){return _0x17286b;};return a130_0x5279();}(function(_0x50e06b,_0x577a5e){const _0x23cd87=a130_0x11f3,_0x19559e=_0x50e06b();while(!![]){try{const _0x1cef2a=-parseInt(_0x23cd87(0x138))/0x1*(parseInt(_0x23cd87(0x142))/0x2)+-parseInt(_0x23cd87(0x13f))/0x3+parseInt(_0x23cd87(0x13b))/0x4+parseInt(_0x23cd87(0x13d))/0x5+parseInt(_0x23cd87(0x141))/0x6*(parseInt(_0x23cd87(0x13c))/0x7)+parseInt(_0x23cd87(0x13a))/0x8*(parseInt(_0x23cd87(0x140))/0x9)+-parseInt(_0x23cd87(0x136))/0xa*(-parseInt(_0x23cd87(0x137))/0xb);if(_0x1cef2a===_0x577a5e)break;else _0x19559e['push'](_0x19559e['shift']());}catch(_0x5915ac){_0x19559e['push'](_0x19559e['shift']());}}}(a130_0x5279,0x8cb4d));export const isWindows=process[a130_0x1b41de(0x139)]===a130_0x1b41de(0x143);export function resolveNpmBin(_0x3bded4){const _0x5c5430=a130_0x1b41de;return isWindows?_0x3bded4+_0x5c5430(0x13e):_0x3bded4;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4cd291,_0x2f903a){const _0x563553=a131_0x4630,_0x1146b2=_0x4cd291();while(!![]){try{const _0x2347f4=parseInt(_0x563553(0x14b))/0x1+parseInt(_0x563553(0x13d))/0x2*(parseInt(_0x563553(0x128))/0x3)+-parseInt(_0x563553(0x134))/0x4+-parseInt(_0x563553(0x143))/0x5*(parseInt(_0x563553(0x12c))/0x6)+-parseInt(_0x563553(0x12b))/0x7*(parseInt(_0x563553(0x148))/0x8)+parseInt(_0x563553(0x13a))/0x9*(-parseInt(_0x563553(0x13f))/0xa)+parseInt(_0x563553(0x139))/0xb;if(_0x2347f4===_0x2f903a)break;else _0x1146b2['push'](_0x1146b2['shift']());}catch(_0x3d177f){_0x1146b2['push'](_0x1146b2['shift']());}}}(a131_0x1c54,0x63a68));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';function a131_0x4630(_0x45273b,_0xbe28df){_0x45273b=_0x45273b-0x127;const _0x1c54a0=a131_0x1c54();let _0x463074=_0x1c54a0[_0x45273b];return _0x463074;}import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function parseSemver(_0x9b9cfb){const _0x5ecc9f=a131_0x4630,_0x57f5a6=_0x9b9cfb[_0x5ecc9f(0x135)]()[_0x5ecc9f(0x12f)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x57f5a6)return null;return{'major':Number(_0x57f5a6[0x1]),'minor':Number(_0x57f5a6[0x2]),'patch':Number(_0x57f5a6[0x3]),'prerelease':_0x57f5a6[0x4]};}function compareSemver(_0x3273ee,_0x5843f2){const _0x4b67a7=a131_0x4630,_0x2a9353=parseSemver(_0x3273ee),_0x4c2138=parseSemver(_0x5843f2);if(!_0x2a9353||!_0x4c2138)throw new Error(_0x4b67a7(0x12a));for(const _0x511350 of['major','minor',_0x4b67a7(0x13b)]){if(_0x2a9353[_0x511350]<_0x4c2138[_0x511350])return-0x1;if(_0x2a9353[_0x511350]>_0x4c2138[_0x511350])return 0x1;}if(!_0x2a9353[_0x4b67a7(0x14a)]&&!_0x4c2138[_0x4b67a7(0x14a)])return 0x0;if(!_0x2a9353['prerelease'])return 0x1;if(!_0x4c2138[_0x4b67a7(0x14a)])return-0x1;if(_0x2a9353[_0x4b67a7(0x14a)]===_0x4c2138['prerelease'])return 0x0;return _0x2a9353[_0x4b67a7(0x14a)]<_0x4c2138['prerelease']?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x5129ee=a131_0x4630,_0x154f12=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x5129ee(0x129)]();return _0x154f12==='1'||_0x154f12===_0x5129ee(0x133)||_0x154f12===_0x5129ee(0x131);}function a131_0x1c54(){const _0xa87112=['match','utf8','yes','lovrabet-cli','true','949544alYQLA','trim','latest','entries','string','8000894DSGQjc','9HKzOEE','patch','lastNotifiedAt','434kWEIfl','stringify','5375030cQJioR','now','update-check.json',',\x20run:\x20','1866785VzpTfv','https://www.npmjs.com/package/','/dist-tags','.cache','object','25496poqGbS','timeout','prerelease','353559LAHzdX','filter','number','9702MfKLBW','toLowerCase','Invalid\x20semver','497KvbfaB','6HVogHX','checkedAt','\x20available,\x20current\x20'];a131_0x1c54=function(){return _0xa87112;};return a131_0x1c54();}function cacheRoot(){const _0x22c587=a131_0x4630;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x22c587(0x146));}export function getUpdateNoticeCachePath(){const _0x20eda2=a131_0x4630;return join(cacheRoot(),_0x20eda2(0x132),_0x20eda2(0x141));}async function readUpdateNoticeCache(){const _0x39004a=a131_0x4630;try{const _0x282caf=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x2fe4cf=JSON['parse'](_0x282caf);if(!_0x2fe4cf||typeof _0x2fe4cf!==_0x39004a(0x147))return{};return _0x2fe4cf;}catch{return{};}}async function writeUpdateNoticeCache(_0x25c67f){const _0xd778d9=a131_0x4630;try{const _0x3ed16b=getUpdateNoticeCachePath();await mkdir(dirname(_0x3ed16b),{'recursive':!![]}),await writeFile(_0x3ed16b,JSON[_0xd778d9(0x13e)](_0x25c67f,null,0x2)+'\x0a',_0xd778d9(0x130));}catch{}}function isFreshCheck(_0x58bd6e,_0x4811b6){const _0x12d74=a131_0x4630;return typeof _0x58bd6e[_0x12d74(0x12d)]===_0x12d74(0x127)&&_0x4811b6-_0x58bd6e[_0x12d74(0x12d)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x45d3bb,_0x32bad3,_0x3cd1c8){const _0xbd3578=a131_0x4630;return _0x45d3bb['lastNotifiedVersion']===_0x32bad3&&typeof _0x45d3bb[_0xbd3578(0x13c)]==='number'&&_0x3cd1c8-_0x45d3bb['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0xbeb2e4=0x5dc){const _0x4dfc38=a131_0x4630;try{const _0x27be82=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x4dfc38(0x145),_0xadc203=await fetch(_0x27be82,{'signal':AbortSignal[_0x4dfc38(0x149)](_0xbeb2e4)});if(!_0xadc203['ok'])return null;const _0x254bd0=await _0xadc203['json']();if(!_0x254bd0||typeof _0x254bd0!==_0x4dfc38(0x147))return null;return Object['fromEntries'](Object[_0x4dfc38(0x137)](_0x254bd0)[_0x4dfc38(0x14c)](([,_0x30e369])=>typeof _0x30e369===_0x4dfc38(0x138)&&_0x30e369[_0x4dfc38(0x135)]())['map'](([_0x423242,_0x5aec61])=>[_0x423242,String(_0x5aec61)['trim']()]));}catch{return null;}}export function buildNpmVersionUrl(_0x4a7bf3){const _0x3bfc3c=a131_0x4630;return _0x3bfc3c(0x144)+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x4a7bf3;}export async function resolveLatestUpdateNotice(){const _0x264035=a131_0x4630;if(isUpdateNoticeDisabled())return null;try{const _0x571f32=Date[_0x264035(0x140)](),_0x2a8bd4=getCliVersion(),_0x2afc93=await readUpdateNoticeCache();let _0x288168=isFreshCheck(_0x2afc93,_0x571f32)?_0x2afc93[_0x264035(0x136)]?.[_0x264035(0x135)]():undefined;if(!_0x288168&&!isFreshCheck(_0x2afc93,_0x571f32)){const _0x534f5a=await fetchNpmDistTags();_0x288168=_0x534f5a?.[_0x264035(0x136)]?.[_0x264035(0x135)](),await writeUpdateNoticeCache({..._0x2afc93,'checkedAt':_0x571f32,'latest':_0x288168,'failed':!_0x288168});}if(!_0x288168||compareSemver(_0x2a8bd4,_0x288168)>=0x0)return null;if(isRecentlyNotified(_0x2afc93,_0x288168,_0x571f32))return null;const _0x464177=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x2afc93,'checkedAt':isFreshCheck(_0x2afc93,_0x571f32)?_0x2afc93[_0x264035(0x12d)]:_0x571f32,'latest':_0x288168,'failed':![],'lastNotifiedVersion':_0x288168,'lastNotifiedAt':_0x571f32}),{'command':_0x464177,'current':_0x2a8bd4,'latest':_0x288168,'url':buildNpmVersionUrl(_0x288168),'message':CLI_BIN_NAME+'\x20'+_0x288168+_0x264035(0x12e)+_0x2a8bd4+_0x264035(0x142)+_0x464177};}catch{return null;}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1bccde,_0x322f7c){const _0x2ed21c=a132_0x154d,_0x4daa87=_0x1bccde();while(!![]){try{const _0x872d7f=-parseInt(_0x2ed21c(0xb6))/0x1*(-parseInt(_0x2ed21c(0xbb))/0x2)+parseInt(_0x2ed21c(0xb9))/0x3+parseInt(_0x2ed21c(0xb5))/0x4*(parseInt(_0x2ed21c(0xbd))/0x5)+parseInt(_0x2ed21c(0xb8))/0x6+parseInt(_0x2ed21c(0xbc))/0x7*(-parseInt(_0x2ed21c(0xbf))/0x8)+parseInt(_0x2ed21c(0xbe))/0x9+-parseInt(_0x2ed21c(0xba))/0xa;if(_0x872d7f===_0x322f7c)break;else _0x4daa87['push'](_0x4daa87['shift']());}catch(_0x1c2d4a){_0x4daa87['push'](_0x4daa87['shift']());}}}(a132_0x3c23,0xc2979));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x3ccfe0=String(GIT_COMMIT);return _0x3ccfe0&&_0x3ccfe0!=='unknown'?_0x3ccfe0:'';}export function getCliVersionDisplay(){const _0x4a0f72=a132_0x154d,_0x95e456=getCliGitCommit(),_0x8aab0b=BUILD_TIME[_0x4a0f72(0xb7)](0x0,0xa);if(!_0x95e456||!_0x8aab0b)return VERSION;return VERSION+'\x20('+_0x95e456+',\x20'+_0x8aab0b+')';}function a132_0x154d(_0xaa9705,_0x3d9924){_0xaa9705=_0xaa9705-0xb5;const _0x3c23ab=a132_0x3c23();let _0x154d02=_0x3c23ab[_0xaa9705];return _0x154d02;}function a132_0x3c23(){const _0x35eebb=['slice','7707990bZUfgX','4625511TDUvJh','42278320IPKGnY','2492860ANXFpx','841253UcLZVp','239045cwOcPG','8800407CLeFoX','24UgVihW','28zPfhLj','1lVLmTm'];a132_0x3c23=function(){return _0x35eebb;};return a132_0x3c23();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5194c6,_0x1fbd9e){var _0x105bbd=a133_0x3cec,_0x2f079e=_0x5194c6();while(!![]){try{var _0x35b339=-parseInt(_0x105bbd(0xf6))/0x1*(-parseInt(_0x105bbd(0xee))/0x2)+parseInt(_0x105bbd(0xf1))/0x3*(parseInt(_0x105bbd(0xef))/0x4)+-parseInt(_0x105bbd(0xf5))/0x5+parseInt(_0x105bbd(0xf4))/0x6+-parseInt(_0x105bbd(0xf2))/0x7+-parseInt(_0x105bbd(0xeb))/0x8*(-parseInt(_0x105bbd(0xf3))/0x9)+-parseInt(_0x105bbd(0xed))/0xa;if(_0x35b339===_0x1fbd9e)break;else _0x2f079e['push'](_0x2f079e['shift']());}catch(_0x2b49c0){_0x2f079e['push'](_0x2f079e['shift']());}}}(a133_0x3141,0xc9b29));function a133_0x3cec(_0x37a073,_0x234b73){_0x37a073=_0x37a073-0xeb;var _0x31415d=a133_0x3141();var _0x3cec4d=_0x31415d[_0x37a073];return _0x3cec4d;}export function writeCliSideChannelLine(_0xb2084d){var _0x5735f8=a133_0x3cec;process[_0x5735f8(0xf0)][_0x5735f8(0xec)](_0xb2084d+'\x0a');}function a133_0x3141(){var _0x48eb86=['stderr','483AvOvnW','10467037hpBcDZ','9wELwiK','7971246OLloZo','809115FEDiUv','13dmXgwn','10071544InTHpC','write','20255450XRSMwI','203918kxUpYK','14804OogRHQ'];a133_0x3141=function(){return _0x48eb86;};return a133_0x3141();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovrabet/lovrabet-cli",
|
|
3
|
-
"version": "2.2.1",
|
|
3
|
+
"version": "2.2.2-beta.1",
|
|
4
4
|
"description": "Runtime CLI for Lovrabet apps, datasets, SQL, BFF, skills, and AI agent workflows.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"typecheck": "tsc --noEmit",
|
|
51
51
|
"verify:bundled-jq": "node scripts/verify-bundled-jq.mjs",
|
|
52
52
|
"regression:release-smoke": "node scripts/regression-release-smoke.mjs",
|
|
53
|
+
"deploy:verify": "node scripts/deploy-verify.mjs",
|
|
53
54
|
"pack:dry-run-summary": "node scripts/package-dry-run-summary.mjs",
|
|
54
55
|
"verify:release-package": "node scripts/verify-release-package.mjs",
|
|
55
56
|
"publish:github": "node scripts/publish-github.mjs",
|
package/skills/lovrabet/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lovrabet
|
|
3
3
|
displayName: Lovrabet 运行态 CLI
|
|
4
|
-
version: 2.2.1
|
|
4
|
+
version: 2.2.2-beta.1
|
|
5
5
|
description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、Service Tree 业务命令、API 文档发现、数据集查询、Instant API 数据操作、Custom SQL/Backend Function、personal BFF、文件上传、OCR 识别、定时任务、Skill、知识库与运行态 app-config key 状态检查。触发词:云图、lovrabet、lovrabet-cli、service tree、业务服务树、api-doc、dataset、data filter、file upload、file query-url、ocr recognize、发票识别、图片识别、附件上传、personal-bff、schedule、定时任务、cron、kb、skill、sql exec、bff exec、app-config、accessKey、compress、jq。"
|
|
6
6
|
metadata:
|
|
7
7
|
requires:
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "lovrabet",
|
|
4
4
|
"packageName": "@lovrabet/lovrabet-cli",
|
|
5
|
-
"packageVersion": "2.2.1",
|
|
6
|
-
"skillVersion": "2.2.1",
|
|
5
|
+
"packageVersion": "2.2.2-beta.1",
|
|
6
|
+
"skillVersion": "2.2.2-beta.1",
|
|
7
7
|
"files": [
|
|
8
8
|
"SKILL.md",
|
|
9
9
|
"guides/app-resolution.md",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"references/lovrabet-update.md",
|
|
35
35
|
"references/lovrabet-workspace.md"
|
|
36
36
|
],
|
|
37
|
-
"digest": "
|
|
37
|
+
"digest": "40befd9e0a2d8bc3029681e0c3cf0c5f91ea2d95ceb1f35c51e00f02402f4c4f"
|
|
38
38
|
}
|