@lovrabet/lovrabet-cli 2.3.8 → 2.3.9-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/approval/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/import-excel.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/issue/context.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/report.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.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.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/kb-management-client.js +1 -1
- package/lib/core/kb-sdk-errors.js +1 -1
- package/lib/core/kb-search-client.js +1 -1
- package/lib/core/sdk-client.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/access-error.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/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/services/dataset-import/auto-id-runner.js +1 -1
- package/lib/services/dataset-import/excel-reader.js +1 -1
- package/lib/services/dataset-import/image-bytes.js +1 -1
- package/lib/services/dataset-import/image-ooxml.js +1 -1
- package/lib/services/dataset-import/image-runner.js +1 -1
- package/lib/services/dataset-import/metadata.js +1 -1
- package/lib/services/dataset-import/preview.js +1 -1
- package/lib/services/dataset-import/runner.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/positive-safe-integer.js +1 -1
- package/lib/utils/redaction.js +1 -1
- package/lib/utils/runtime-user-id.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 +1 -1
- package/skills/lovrabet.manifest.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3445b1,_0x7b1539){const _0x16f028=a181_0x5c64,_0x3549ea=_0x3445b1();while(!![]){try{const _0x1702b1=-parseInt(_0x16f028(0x1a3))/0x1+parseInt(_0x16f028(0x193))/0x2*(-parseInt(_0x16f028(0x1a0))/0x3)+parseInt(_0x16f028(0x195))/0x4+parseInt(_0x16f028(0x1a7))/0x5+-parseInt(_0x16f028(0x191))/0x6+-parseInt(_0x16f028(0x197))/0x7+-parseInt(_0x16f028(0x1aa))/0x8*(-parseInt(_0x16f028(0x19a))/0x9);if(_0x1702b1===_0x7b1539)break;else _0x3549ea['push'](_0x3549ea['shift']());}catch(_0x1211ea){_0x3549ea['push'](_0x3549ea['shift']());}}}(a181_0x2c5d,0x7a67b));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 _0x48f15d=a181_0x5c64,_0x4ce343=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x48f15d(0x1a1)]()['toLowerCase']();return _0x4ce343==='1'||_0x4ce343===_0x48f15d(0x190)||_0x4ce343===_0x48f15d(0x192);}function a181_0x5c64(_0x2fcfe3,_0xbc2001){_0x2fcfe3=_0x2fcfe3-0x18e;const _0x2c5d75=a181_0x2c5d();let _0x5c6411=_0x2c5d75[_0x2fcfe3];return _0x5c6411;}function cacheRoot(){const _0x128cff=a181_0x5c64;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x128cff(0x198));}export function getUpdateNoticeCachePath(){const _0x231200=a181_0x5c64;return join(cacheRoot(),'lovrabet-cli',_0x231200(0x194));}async function readUpdateNoticeCache(){const _0x4707d2=a181_0x5c64;try{const _0x422d9a=await readFile(getUpdateNoticeCachePath(),_0x4707d2(0x1a6)),_0x4b56b5=JSON[_0x4707d2(0x18e)](_0x422d9a);if(!_0x4b56b5||typeof _0x4b56b5!==_0x4707d2(0x1a2))return{};return _0x4b56b5;}catch{return{};}}function a181_0x2c5d(){const _0x43dd1=['belowMinimum','now','547668kkWLHr','trim','object','728594TsZmMz','needsUpgrade','currentVersion','utf8','1549315urdlyW','number','lastNotifiedVersion','16LAqYDR','parse','stringify','true','2826168cVmKnP','yes','2qRiLsm','update-check.json','2458916smgNbE','upgradeMessage','4715025UrOKzP','.cache','join','7346394iMBqNJ','lastNotifiedAt','filter','stableVersion'];a181_0x2c5d=function(){return _0x43dd1;};return a181_0x2c5d();}async function writeUpdateNoticeCache(_0xc2771d){const _0x505977=a181_0x5c64;try{const _0xec865c=getUpdateNoticeCachePath();await mkdir(dirname(_0xec865c),{'recursive':!![]}),await writeFile(_0xec865c,JSON[_0x505977(0x18f)](_0xc2771d,null,0x2)+'\x0a','utf8');}catch{}}function isRecentlyNotified(_0x2dc28c,_0x4bb77,_0x1b8e03){const _0x1e8025=a181_0x5c64;return _0x2dc28c[_0x1e8025(0x1a9)]===_0x4bb77&&typeof _0x2dc28c[_0x1e8025(0x19b)]===_0x1e8025(0x1a8)&&_0x1b8e03-_0x2dc28c[_0x1e8025(0x19b)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x2634e2){return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x2634e2;}export async function resolveLatestUpdateNotice(_0x4c6f57){const _0x1de84f=a181_0x5c64;if(isUpdateNoticeDisabled())return null;try{const _0x4c454e=Date[_0x1de84f(0x19f)](),_0x3e137f=_0x4c6f57??await checkCliVersion(),_0x33ca30=_0x3e137f[_0x1de84f(0x1a5)],_0x2276e7=_0x3e137f[_0x1de84f(0x19d)],_0x2ff8a0=await readUpdateNoticeCache();if(!_0x2276e7||!_0x3e137f[_0x1de84f(0x1a4)]||_0x3e137f[_0x1de84f(0x19e)])return null;if(isRecentlyNotified(_0x2ff8a0,_0x2276e7,_0x4c454e))return null;const _0x36d2a8=getCliUpgradeCommand(_0x3e137f);return await writeUpdateNoticeCache({..._0x2ff8a0,'checkedAt':_0x4c454e,'latest':_0x2276e7,'failed':![],'lastNotifiedVersion':_0x2276e7,'lastNotifiedAt':_0x4c454e}),{'command':_0x36d2a8,'current':_0x33ca30,'latest':_0x2276e7,'url':buildNpmVersionUrl(_0x2276e7),'message':[_0x3e137f[_0x1de84f(0x196)],CLI_BIN_NAME+'\x20'+_0x2276e7+'\x20is\x20recommended,\x20current\x20'+_0x33ca30+',\x20run:\x20'+_0x36d2a8][_0x1de84f(0x19c)](Boolean)[_0x1de84f(0x199)]('\x20')};}catch{return null;}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a182_0x3b2c(){const _0x3b5b7a=['709457OeeoEp','4YdPpvo','753399Hjwetg','9941514TEtQPQ','3149358ypILMn','16CyIJJt','1638460vSLoVy','1122279kKnMAB','40JJWLWR','13105XEIQyA','18LHbQCK'];a182_0x3b2c=function(){return _0x3b5b7a;};return a182_0x3b2c();}(function(_0x52a334,_0x7bd451){const _0x2b2a2c=a182_0x5c19,_0x586cb8=_0x52a334();while(!![]){try{const _0x2c4528=-parseInt(_0x2b2a2c(0x16a))/0x1*(-parseInt(_0x2b2a2c(0x16b))/0x2)+parseInt(_0x2b2a2c(0x173))/0x3*(-parseInt(_0x2b2a2c(0x16d))/0x4)+-parseInt(_0x2b2a2c(0x172))/0x5+parseInt(_0x2b2a2c(0x170))/0x6+parseInt(_0x2b2a2c(0x16c))/0x7*(-parseInt(_0x2b2a2c(0x171))/0x8)+-parseInt(_0x2b2a2c(0x16e))/0x9*(parseInt(_0x2b2a2c(0x174))/0xa)+parseInt(_0x2b2a2c(0x16f))/0xb;if(_0x2c4528===_0x7bd451)break;else _0x586cb8['push'](_0x586cb8['shift']());}catch(_0x2f6eba){_0x586cb8['push'](_0x586cb8['shift']());}}}(a182_0x3b2c,0x4b051));function a182_0x5c19(_0x290191,_0x1bc758){_0x290191=_0x290191-0x16a;const _0x3b2c76=a182_0x3b2c();let _0x5c199e=_0x3b2c76[_0x290191];return _0x5c199e;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x173486=String(GIT_COMMIT);return _0x173486&&_0x173486!=='unknown'?_0x173486:'';}export function getCliVersionDisplay(){const _0x3a1c2c=getCliGitCommit(),_0x142374=BUILD_TIME['slice'](0x0,0xa);if(!_0x3a1c2c||!_0x142374)return VERSION;return VERSION+'\x20('+_0x3a1c2c+',\x20'+_0x142374+')';}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a183_0x1a82(){var _0xc8bf96=['19658375diTqHK','1409519acXBAd','206532KsVUwx','3237104IIyWIs','14nIfEoY','1864702oLUraX','9YzToQY','979768aRpzWl','1543995tMthuo','10JDZjwT','3dIWAqr','stderr','write'];a183_0x1a82=function(){return _0xc8bf96;};return a183_0x1a82();}(function(_0x196d09,_0xebf074){var _0xa491c5=a183_0x4704,_0x6204aa=_0x196d09();while(!![]){try{var _0xca537f=-parseInt(_0xa491c5(0x1f4))/0x1+parseInt(_0xa491c5(0x1eb))/0x2+parseInt(_0xa491c5(0x1f0))/0x3*(-parseInt(_0xa491c5(0x1ed))/0x4)+parseInt(_0xa491c5(0x1ee))/0x5+-parseInt(_0xa491c5(0x1f5))/0x6*(parseInt(_0xa491c5(0x1ea))/0x7)+parseInt(_0xa491c5(0x1e9))/0x8*(-parseInt(_0xa491c5(0x1ec))/0x9)+-parseInt(_0xa491c5(0x1ef))/0xa*(-parseInt(_0xa491c5(0x1f3))/0xb);if(_0xca537f===_0xebf074)break;else _0x6204aa['push'](_0x6204aa['shift']());}catch(_0x430e17){_0x6204aa['push'](_0x6204aa['shift']());}}}(a183_0x1a82,0xdbcec));function a183_0x4704(_0x4fe82f,_0x48a2ff){_0x4fe82f=_0x4fe82f-0x1e9;var _0x1a8247=a183_0x1a82();var _0x470496=_0x1a8247[_0x4fe82f];return _0x470496;}export function writeCliSideChannelLine(_0xd9ee2){var _0x2b58fe=a183_0x4704;process[_0x2b58fe(0x1f1)][_0x2b58fe(0x1f2)](_0xd9ee2+'\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.
|
|
4
|
+
version: 2.3.9-beta.1
|
|
5
5
|
description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、业务角色与权限、用户级外部账号、Service Tree 业务命令、API 文档发现、数据集查询、Instant API 数据操作、可恢复 Excel 导入、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、Excel 导入、data import-excel、file upload、file query-url、ocr recognize、OCR 识别、票证文字提取、票证字段提取、发票识别、票据识别、证照识别、附件上传、personal-bff、approval、审批、待办、approve、reject、transfer、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.3.
|
|
6
|
-
"skillVersion": "2.3.
|
|
5
|
+
"packageVersion": "2.3.9-beta.1",
|
|
6
|
+
"skillVersion": "2.3.9-beta.1",
|
|
7
7
|
"files": [
|
|
8
8
|
"SKILL.md",
|
|
9
9
|
"guides/app-resolution.md",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"references/lovrabet-user-account.md",
|
|
43
43
|
"references/lovrabet-workspace.md"
|
|
44
44
|
],
|
|
45
|
-
"digest": "
|
|
45
|
+
"digest": "59ed6c82d47cf5bf6d3c6c465be45fa0df8299cc44119fb2d41ba39b0131a051"
|
|
46
46
|
}
|