@lovrabet/lovrabet-cli 2.3.1-beta.3 → 2.3.1-beta.4
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/init.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/notification/config-list.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/notification/shared.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/permit/dataset-get.js +1 -1
- package/lib/commands/permit/dataset-set.js +1 -1
- package/lib/commands/permit/index.js +1 -1
- package/lib/commands/permit/page-get.js +1 -1
- package/lib/commands/permit/page-set.js +1 -1
- package/lib/commands/permit/role-menus-set.js +1 -1
- package/lib/commands/permit/role-menus.js +1 -1
- package/lib/commands/permit/shared.js +1 -1
- package/lib/commands/personal-bff/index.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/role/create.js +1 -1
- package/lib/commands/role/delete.js +1 -1
- package/lib/commands/role/detail.js +1 -1
- package/lib/commands/role/index.js +1 -1
- package/lib/commands/role/list.js +1 -1
- package/lib/commands/role/shared.js +1 -1
- package/lib/commands/role/update.js +1 -1
- package/lib/commands/role/user-add.js +1 -1
- package/lib/commands/role/user-remove.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/user-account/bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/config/domain-config.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.d.ts +3 -3
- 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/region.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.d.ts +0 -16
- package/lib/core/api-client.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/kb-search-client.d.ts +30 -0
- package/lib/core/kb-search-client.js +1 -0
- 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.d.ts +2 -0
- 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/generated/official-routing.js +1 -1
- package/lib/generated/routing-contract.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/access-key-redaction.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.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 +1 -1
- package/skills/lovrabet/SKILL.md +2 -2
- package/skills/lovrabet/references/lovrabet-config-commands.md +3 -1
- package/skills/lovrabet/references/lovrabet-config.md +2 -2
- package/skills/lovrabet/references/lovrabet-doctor.md +2 -0
- package/skills/lovrabet/references/lovrabet-kb-workflow.md +3 -1
- package/skills/lovrabet.manifest.json +3 -3
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a161_0x56df7d=a161_0x5e35;(function(_0x12d390,_0x3d9459){const _0x31a057=a161_0x5e35,_0x149b0a=_0x12d390();while(!![]){try{const _0x3e7df1=-parseInt(_0x31a057(0x1f4))/0x1*(parseInt(_0x31a057(0x202))/0x2)+-parseInt(_0x31a057(0x1f6))/0x3*(parseInt(_0x31a057(0x1fa))/0x4)+-parseInt(_0x31a057(0x1fb))/0x5+-parseInt(_0x31a057(0x1f7))/0x6*(parseInt(_0x31a057(0x200))/0x7)+parseInt(_0x31a057(0x1ff))/0x8*(parseInt(_0x31a057(0x1f9))/0x9)+-parseInt(_0x31a057(0x1f8))/0xa*(-parseInt(_0x31a057(0x1fd))/0xb)+parseInt(_0x31a057(0x201))/0xc*(parseInt(_0x31a057(0x1f5))/0xd);if(_0x3e7df1===_0x3d9459)break;else _0x149b0a['push'](_0x149b0a['shift']());}catch(_0x1cd591){_0x149b0a['push'](_0x149b0a['shift']());}}}(a161_0x9445,0x60cae));export const isWindows=process[a161_0x56df7d(0x1f3)]===a161_0x56df7d(0x1fc);function a161_0x5e35(_0x3e7a2d,_0x540044){_0x3e7a2d=_0x3e7a2d-0x1f3;const _0x944589=a161_0x9445();let _0x5e35ea=_0x944589[_0x3e7a2d];return _0x5e35ea;}function a161_0x9445(){const _0xdc0516=['396SNLwWK','116vOaMVj','2716370gulzuh','win32','218471jYORLq','.cmd','120944FItXgr','7378WsBrEi','972CPlBwO','10IHxTTM','platform','137529ZOWrnT','289185rqJqbu','77685RnNzyr','618CwSqJz','10nHlzEz'];a161_0x9445=function(){return _0xdc0516;};return a161_0x9445();}export function resolveNpmBin(_0x5c3a2a){const _0x329150=a161_0x56df7d;return isWindows?_0x5c3a2a+_0x329150(0x1fe):_0x5c3a2a;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a162_0x2b36(_0xcd4462,_0x48a9f5){_0xcd4462=_0xcd4462-0x136;const _0x5f0d8c=a162_0x5f0d();let _0x2b3641=_0x5f0d8c[_0xcd4462];return _0x2b3641;}(function(_0x513af8,_0x46acf9){const _0x378560=a162_0x2b36,_0x5e0d34=_0x513af8();while(!![]){try{const _0x11ef45=-parseInt(_0x378560(0x14e))/0x1*(parseInt(_0x378560(0x14a))/0x2)+-parseInt(_0x378560(0x143))/0x3*(-parseInt(_0x378560(0x13e))/0x4)+parseInt(_0x378560(0x144))/0x5+-parseInt(_0x378560(0x136))/0x6*(-parseInt(_0x378560(0x156))/0x7)+parseInt(_0x378560(0x14f))/0x8*(parseInt(_0x378560(0x138))/0x9)+parseInt(_0x378560(0x13c))/0xa*(-parseInt(_0x378560(0x14d))/0xb)+-parseInt(_0x378560(0x14c))/0xc*(parseInt(_0x378560(0x13a))/0xd);if(_0x11ef45===_0x46acf9)break;else _0x5e0d34['push'](_0x5e0d34['shift']());}catch(_0x5d69cc){_0x5e0d34['push'](_0x5e0d34['shift']());}}}(a162_0x5f0d,0x69f75));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{checkCliVersion,getCliUpgradeCommand}from'../utils/cli-version-check.js';const UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x6cd6c6=a162_0x2b36,_0x4e7202=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x6cd6c6(0x149)]()['toLowerCase']();return _0x4e7202==='1'||_0x4e7202==='true'||_0x4e7202===_0x6cd6c6(0x154);}function cacheRoot(){const _0x3816ba=a162_0x2b36;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x3816ba(0x155));}function a162_0x5f0d(){const _0x3a33fe=['1031736KoGbXQ','parse','54333YubPxt','update-check.json','4957927PsElXb','\x20is\x20recommended,\x20current\x20','310340MXdZYZ','lovrabet-cli','44PmnzGT','https://www.npmjs.com/package/','object',',\x20run:\x20','belowMinimum','165147DQyiDS','3515640fjGqax','filter','needsUpgrade','stringify','join','trim','2QoTmgv','lastNotifiedVersion','36ngutBq','275dbpKmJ','86285duzBLc','816NvlYMe','stableVersion','now','/v/','number','yes','.cache','21StIXaV','lastNotifiedAt'];a162_0x5f0d=function(){return _0x3a33fe;};return a162_0x5f0d();}export function getUpdateNoticeCachePath(){const _0x52f833=a162_0x2b36;return join(cacheRoot(),_0x52f833(0x13d),_0x52f833(0x139));}async function readUpdateNoticeCache(){const _0x116bf5=a162_0x2b36;try{const _0x4fef5e=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x505051=JSON[_0x116bf5(0x137)](_0x4fef5e);if(!_0x505051||typeof _0x505051!==_0x116bf5(0x140))return{};return _0x505051;}catch{return{};}}async function writeUpdateNoticeCache(_0x31cba4){const _0x2a26a7=a162_0x2b36;try{const _0x5f283d=getUpdateNoticeCachePath();await mkdir(dirname(_0x5f283d),{'recursive':!![]}),await writeFile(_0x5f283d,JSON[_0x2a26a7(0x147)](_0x31cba4,null,0x2)+'\x0a','utf8');}catch{}}function isRecentlyNotified(_0x3154df,_0x3f7134,_0x2d1858){const _0x1b4c07=a162_0x2b36;return _0x3154df[_0x1b4c07(0x14b)]===_0x3f7134&&typeof _0x3154df[_0x1b4c07(0x157)]===_0x1b4c07(0x153)&&_0x2d1858-_0x3154df[_0x1b4c07(0x157)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x1eb335){const _0x2e1f81=a162_0x2b36;return _0x2e1f81(0x13f)+LOVRABET_NPM_PACKAGE_NAME+_0x2e1f81(0x152)+_0x1eb335;}export async function resolveLatestUpdateNotice(_0x464963){const _0x5051aa=a162_0x2b36;if(isUpdateNoticeDisabled())return null;try{const _0x3600f0=Date[_0x5051aa(0x151)](),_0x11386a=_0x464963??await checkCliVersion(),_0x2047c1=_0x11386a['currentVersion'],_0x22c91f=_0x11386a[_0x5051aa(0x150)],_0x2698c0=await readUpdateNoticeCache();if(!_0x22c91f||!_0x11386a[_0x5051aa(0x146)]||_0x11386a[_0x5051aa(0x142)])return null;if(isRecentlyNotified(_0x2698c0,_0x22c91f,_0x3600f0))return null;const _0x2c9663=getCliUpgradeCommand(_0x11386a);return await writeUpdateNoticeCache({..._0x2698c0,'checkedAt':_0x3600f0,'latest':_0x22c91f,'failed':![],'lastNotifiedVersion':_0x22c91f,'lastNotifiedAt':_0x3600f0}),{'command':_0x2c9663,'current':_0x2047c1,'latest':_0x22c91f,'url':buildNpmVersionUrl(_0x22c91f),'message':[_0x11386a['upgradeMessage'],CLI_BIN_NAME+'\x20'+_0x22c91f+_0x5051aa(0x13b)+_0x2047c1+_0x5051aa(0x141)+_0x2c9663][_0x5051aa(0x145)](Boolean)[_0x5051aa(0x148)]('\x20')};}catch{return null;}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x50978b,_0x44a6e9){const _0x59b014=a163_0x4e6e,_0xede663=_0x50978b();while(!![]){try{const _0xd039d8=parseInt(_0x59b014(0x75))/0x1+parseInt(_0x59b014(0x73))/0x2+parseInt(_0x59b014(0x78))/0x3*(parseInt(_0x59b014(0x7a))/0x4)+parseInt(_0x59b014(0x7d))/0x5+parseInt(_0x59b014(0x7e))/0x6*(-parseInt(_0x59b014(0x76))/0x7)+parseInt(_0x59b014(0x79))/0x8+parseInt(_0x59b014(0x77))/0x9*(-parseInt(_0x59b014(0x74))/0xa);if(_0xd039d8===_0x44a6e9)break;else _0xede663['push'](_0xede663['shift']());}catch(_0x3b40bd){_0xede663['push'](_0xede663['shift']());}}}(a163_0x35bd,0x9b20c));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x95739f=a163_0x4e6e,_0x576444=String(GIT_COMMIT);return _0x576444&&_0x576444!==_0x95739f(0x7b)?_0x576444:'';}export function getCliVersionDisplay(){const _0x4efcc8=a163_0x4e6e,_0x56ccbe=getCliGitCommit(),_0x3eb813=BUILD_TIME[_0x4efcc8(0x7c)](0x0,0xa);if(!_0x56ccbe||!_0x3eb813)return VERSION;return VERSION+'\x20('+_0x56ccbe+',\x20'+_0x3eb813+')';}function a163_0x4e6e(_0x16f86d,_0x55d80a){_0x16f86d=_0x16f86d-0x73;const _0x35bde6=a163_0x35bd();let _0x4e6e5f=_0x35bde6[_0x16f86d];return _0x4e6e5f;}function a163_0x35bd(){const _0x45c077=['508722QSpYxJ','748792KwpLMC','2930810HshWfW','184310ZowheO','91DwYady','36RfNEOh','795VXYoMX','8245680HYfZmD','7148KCImBn','unknown','slice','4234940eZmqqv'];a163_0x35bd=function(){return _0x45c077;};return a163_0x35bd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a164_0x411d(_0x285a60,_0x20b2b6){_0x285a60=_0x285a60-0x69;var _0x2dca45=a164_0x2dca();var _0x411dba=_0x2dca45[_0x285a60];return _0x411dba;}function a164_0x2dca(){var _0x47d7b6=['602756GfduTZ','40556eXOCLa','904uEBked','12NFMiQI','108kCMUuO','write','1892810KxtjiC','365890mmmfAP','93LqvHzp','1872595StZCQl','11457RMNLlh','19413ethuJg'];a164_0x2dca=function(){return _0x47d7b6;};return a164_0x2dca();}(function(_0x275a7a,_0x3f8c0f){var _0x5bdb6a=a164_0x411d,_0x715daa=_0x275a7a();while(!![]){try{var _0xee693f=parseInt(_0x5bdb6a(0x6a))/0x1*(parseInt(_0x5bdb6a(0x6f))/0x2)+parseInt(_0x5bdb6a(0x73))/0x3*(-parseInt(_0x5bdb6a(0x6c))/0x4)+parseInt(_0x5bdb6a(0x74))/0x5+-parseInt(_0x5bdb6a(0x6e))/0x6*(parseInt(_0x5bdb6a(0x72))/0x7)+-parseInt(_0x5bdb6a(0x6d))/0x8*(-parseInt(_0x5bdb6a(0x69))/0x9)+-parseInt(_0x5bdb6a(0x71))/0xa+-parseInt(_0x5bdb6a(0x6b))/0xb;if(_0xee693f===_0x3f8c0f)break;else _0x715daa['push'](_0x715daa['shift']());}catch(_0x25792b){_0x715daa['push'](_0x715daa['shift']());}}}(a164_0x2dca,0xdca40));export function writeCliSideChannelLine(_0x1a75d2){var _0x444e60=a164_0x411d;process['stderr'][_0x444e60(0x70)](_0x1a75d2+'\x0a');}
|
package/package.json
CHANGED
package/skills/lovrabet/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lovrabet
|
|
3
3
|
displayName: Lovrabet 运行态 CLI
|
|
4
|
-
version: 2.3.1-beta.
|
|
4
|
+
version: 2.3.1-beta.4
|
|
5
5
|
description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、业务角色与权限、用户级外部账号、Service Tree 业务命令、API 文档发现、数据集查询、Instant API 数据操作、Custom SQL/Backend Function、Personal Backend Function、文件上传、面向票证类业务材料文字与结构化字段提取的 OCR、定时任务、Skill、知识库与运行态 app-config key 状态检查。触发词:云图、lovrabet、lovrabet-cli、业务角色、角色成员、页面权限、菜单权限、数据集权限、user-account bind、provider 外部账号绑定、钉钉 userId 绑定、service tree、业务服务树、api-doc、dataset、data filter、file upload、file query-url、ocr recognize、OCR 识别、票证文字提取、票证字段提取、发票识别、票据识别、证照识别、附件上传、personal-bff、schedule、定时任务、cron、kb、skill、sql exec、bff exec、app-config、accessKey、compress、jq。"
|
|
6
6
|
metadata:
|
|
7
7
|
requires:
|
|
@@ -331,7 +331,7 @@ Service Tree 未命中不是失败条件,也不代表业务能力不存在。
|
|
|
331
331
|
| **kb** | `detail` | 查看 personal 知识库正文与 RAG 状态 | read | AK |
|
|
332
332
|
| **kb** | `create` | 从本地文件创建 personal 知识库 | write | AK |
|
|
333
333
|
| **kb** | `update` | 从本地文件更新 personal 知识库 | write | AK |
|
|
334
|
-
| **kb** | `search` |
|
|
334
|
+
| **kb** | `search` | 检索可见公共、公司和个人知识 | read | AK |
|
|
335
335
|
| **schedule** | `validate` | 校验 UTC 定时任务,不创建计划 | read | AK |
|
|
336
336
|
| **schedule** | `create` | 创建周期或单次定时任务(需确认) | high-risk-write | AK |
|
|
337
337
|
| **schedule** | `list` | 分页查看当前应用的定时任务 | read | AK |
|
|
@@ -65,7 +65,9 @@ lovrabet config init --domain-config ./lovrabet-domains.json
|
|
|
65
65
|
|
|
66
66
|
新版企业清单会保存为带协议标识的 `routing` 对象,并整体优先于旧顶层 Domain;旧扁平配置继续保持既有回退行为。
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
进入旧扁平独立部署模式会删除全局 `region` 和旧 Domain 字段,再写入本次提供的 Domain。未提供的 Domain 仍按默认 `cn` 节点和当前 `env` 回退到 Lovrabet 公共服务。企业部署需要所有请求进入私有服务时,应完整提供五个 Domain;KB Service 下游地址由 Runtime Java 独立配置。
|
|
69
|
+
|
|
70
|
+
两种模式都保留 AccessKey、env、format、locale、应用绑定等其他全局配置。当前目录 `.lovrabet.json` 的旧扁平同名字段仍会覆盖全局旧扁平配置;初始化后用 `lovrabet doctor` 核对最终生效的国家/地区和五个 Domain。
|
|
69
71
|
|
|
70
72
|
## config list — 查看完整配置
|
|
71
73
|
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
| `apiDomain` | string | 节点内置值 | 平台 API HTTPS origin 覆盖 |
|
|
58
58
|
| `runtimeDomain` | string | 节点内置值 | 普通 Runtime HTTPS origin 覆盖 |
|
|
59
59
|
| `skillDomain` | string | 节点默认 | SkillHub HTTPS origin 覆盖 |
|
|
60
|
-
| `kbDomain` | string | 节点默认 |
|
|
60
|
+
| `kbDomain` | string | 节点默认 | Personal KB 管理与 `kb search` Runtime 网关 HTTPS origin 覆盖 |
|
|
61
61
|
|
|
62
|
-
五个 Domain 各自独立覆盖同名服务地址。没有显式配置时,CLI 按 `region` 使用内置节点:`cn` 对应中国大陆,`id` 对应 Indonesia,且 Indonesia 的最终服务地址统一使用 `*.lovrabet.id
|
|
62
|
+
五个 Domain 各自独立覆盖同名服务地址。没有显式配置时,CLI 按 `region` 和 `env` 使用内置节点:`cn` 对应中国大陆,`id` 对应 Indonesia,且 Indonesia 的最终服务地址统一使用 `*.lovrabet.id`。`development` 与 `daily` 共用非生产地址;KB Service 下游地址由 Runtime Java 配置管理。执行 `lovrabet doctor` 可查看当前实际生效的五个 Domain,无需理解内部地址层级。
|
|
63
63
|
|
|
64
64
|
`config init` 的完整模式切换、独立部署 JSON 和校验规则见 [配置管理](lovrabet-config-commands.md#config-init--初始化连接配置)。
|
|
65
65
|
|
|
@@ -10,7 +10,9 @@ lovrabet kb detail --id <id> --format compress
|
|
|
10
10
|
lovrabet kb search --query "订单审批" --topk 5 --format compress
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
`kb search`
|
|
13
|
+
`kb search` 只携带当前 AK,通过 `kbDomain` 调用固定 Runtime 搜索网关;Runtime 再按其 Java 环境配置访问 KB Service。返回范围是 `public/company/personal`,使用 `scope` 区分来源。
|
|
14
|
+
|
|
15
|
+
结构化输出固定为 `data: { schemaVersion:2, profile:"runtime", total, strategyFingerprint, timingsMs, hits }`。`--topk` 可选且必须是 1–50 的整数;命中完整保留 `documentId/revision/chunkId/scope/title/text/tags/rank/rawScore/finalScore/scoreKind` 的服务端顺序和值,不输出 legacy 别名。无命中是 `total:0/hits:[]` 的成功;字段、rank、score、timing、`no-store` 或 scope 漂移都会以脱敏错误失败。
|
|
14
16
|
|
|
15
17
|
## 业务执行中的 KB 消费
|
|
16
18
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "lovrabet",
|
|
4
4
|
"packageName": "@lovrabet/lovrabet-cli",
|
|
5
|
-
"packageVersion": "2.3.1-beta.
|
|
6
|
-
"skillVersion": "2.3.1-beta.
|
|
5
|
+
"packageVersion": "2.3.1-beta.4",
|
|
6
|
+
"skillVersion": "2.3.1-beta.4",
|
|
7
7
|
"files": [
|
|
8
8
|
"SKILL.md",
|
|
9
9
|
"guides/app-resolution.md",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"references/lovrabet-user-account.md",
|
|
38
38
|
"references/lovrabet-workspace.md"
|
|
39
39
|
],
|
|
40
|
-
"digest": "
|
|
40
|
+
"digest": "5385142daa77dcdfc19aa51c9d612f34eccc01544777048316ecacb1bc094005"
|
|
41
41
|
}
|