@lovrabet/lovrabet-cli 2.3.11 → 2.3.12-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.d.ts +13 -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.d.ts +3 -2
- 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 a178_0x2404(_0xf38f34,_0x348417){_0xf38f34=_0xf38f34-0x180;const _0x183451=a178_0x1834();let _0x2404e4=_0x183451[_0xf38f34];return _0x2404e4;}(function(_0x495370,_0x58bebe){const _0x42d1be=a178_0x2404,_0xad8ff9=_0x495370();while(!![]){try{const _0x283f77=parseInt(_0x42d1be(0x189))/0x1+parseInt(_0x42d1be(0x187))/0x2+parseInt(_0x42d1be(0x18b))/0x3*(parseInt(_0x42d1be(0x180))/0x4)+parseInt(_0x42d1be(0x18a))/0x5+parseInt(_0x42d1be(0x181))/0x6+parseInt(_0x42d1be(0x184))/0x7*(parseInt(_0x42d1be(0x185))/0x8)+-parseInt(_0x42d1be(0x182))/0x9*(parseInt(_0x42d1be(0x183))/0xa);if(_0x283f77===_0x58bebe)break;else _0xad8ff9['push'](_0xad8ff9['shift']());}catch(_0x4c49d6){_0xad8ff9['push'](_0xad8ff9['shift']());}}}(a178_0x1834,0x519c3));export function normalizePositiveSafeInteger(_0xb3663){const _0x516573=a178_0x2404;if(typeof _0xb3663===_0x516573(0x188))return Number['isSafeInteger'](_0xb3663)&&_0xb3663>0x0?_0xb3663:undefined;if(typeof _0xb3663!==_0x516573(0x186)||!/^\d+$/['test'](_0xb3663))return undefined;const _0x1f3156=Number(_0xb3663);return Number['isSafeInteger'](_0x1f3156)&&_0x1f3156>0x0?_0x1f3156:undefined;}function a178_0x1834(){const _0x11be8c=['1798176BrXScx','3321DvNYXJ','43630jOUhws','14WYqoHK','881096fypsxR','string','418392awgQHl','number','667228OSaSpN','458895dodVar','363NNJYNh','15076ziSDDj'];a178_0x1834=function(){return _0x11be8c;};return a178_0x1834();}
|
package/lib/utils/redaction.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a179_0x171102=a179_0x1a5a;(function(_0x4bd054,_0x2db829){const _0x4c0bf5=a179_0x1a5a,_0x18e8c3=_0x4bd054();while(!![]){try{const _0x362591=parseInt(_0x4c0bf5(0x198))/0x1+-parseInt(_0x4c0bf5(0x199))/0x2+-parseInt(_0x4c0bf5(0x1ac))/0x3+-parseInt(_0x4c0bf5(0x19c))/0x4*(-parseInt(_0x4c0bf5(0x19b))/0x5)+-parseInt(_0x4c0bf5(0x1a3))/0x6*(-parseInt(_0x4c0bf5(0x19d))/0x7)+parseInt(_0x4c0bf5(0x1a0))/0x8*(parseInt(_0x4c0bf5(0x19e))/0x9)+-parseInt(_0x4c0bf5(0x1a2))/0xa;if(_0x362591===_0x2db829)break;else _0x18e8c3['push'](_0x18e8c3['shift']());}catch(_0x457729){_0x18e8c3['push'](_0x18e8c3['shift']());}}}(a179_0x3685,0x2e2ed));const REDACTED_VALUE=a179_0x171102(0x1a7),SENSITIVE_KEY_PATTERN=/(?:access.?key|api.?key|authorization|cookie|credential|password|passwd|private.?key|secret|token|webhook)/i,SENSITIVE_FLAG_NAMES=new Set(['comment',a179_0x171102(0x19f)]),SENSITIVE_VALUE_KEYS=new Set(['comment']);function a179_0x3685(){const _0x5a9eb9=['match','38529qYbgfJ','96776zePagC','map','5RzCVAf','1199636lwSZBw','35BKoxwY','72rHzXBR','variables','155416KqSjbW','object','363680NtqYkB','174498iTreWq','push','has','entries','[REDACTED]','isArray','toLowerCase','test','replace','1096044pURpCR'];a179_0x3685=function(){return _0x5a9eb9;};return a179_0x3685();}export function isSensitiveKey(_0x169f8a){const _0x1d1b8c=a179_0x171102,_0x35aeaa=_0x169f8a[_0x1d1b8c(0x1ab)](/_/g,'-')[_0x1d1b8c(0x1a9)]();return SENSITIVE_KEY_PATTERN[_0x1d1b8c(0x1aa)](_0x35aeaa);}export function isSensitiveFlagName(_0x52e5a9){const _0x1046e9=a179_0x171102,_0x2cc4a2=_0x52e5a9[_0x1046e9(0x1ab)](/_/g,'-')[_0x1046e9(0x1a9)]();return isSensitiveKey(_0x2cc4a2)||SENSITIVE_FLAG_NAMES[_0x1046e9(0x1a5)](_0x2cc4a2);}function a179_0x1a5a(_0x2ba75e,_0x411b03){_0x2ba75e=_0x2ba75e-0x198;const _0x3685a3=a179_0x3685();let _0x1a5af3=_0x3685a3[_0x2ba75e];return _0x1a5af3;}function redactVariableValues(_0x472e7c){const _0x4d2e45=a179_0x171102;if(Array['isArray'](_0x472e7c))return _0x472e7c[_0x4d2e45(0x19a)](_0x3a008b=>redactVariableValues(_0x3a008b));if(_0x472e7c&&typeof _0x472e7c===_0x4d2e45(0x1a1))return Object['fromEntries'](Object[_0x4d2e45(0x1a6)](_0x472e7c)[_0x4d2e45(0x19a)](([_0x104199,_0x87f588])=>[_0x104199,redactVariableValues(_0x87f588)]));return REDACTED_VALUE;}export function redactSensitiveValue(_0x26a83b){const _0x41fd1d=a179_0x171102;if(Array[_0x41fd1d(0x1a8)](_0x26a83b))return _0x26a83b[_0x41fd1d(0x19a)](_0x10f604=>redactSensitiveValue(_0x10f604));if(!_0x26a83b||typeof _0x26a83b!==_0x41fd1d(0x1a1))return _0x26a83b;const _0x29a1c1={};for(const [_0x373ccf,_0x1221eb]of Object[_0x41fd1d(0x1a6)](_0x26a83b)){const _0x2f1697=_0x373ccf[_0x41fd1d(0x1ab)](/_/g,'-')[_0x41fd1d(0x1a9)]();_0x29a1c1[_0x373ccf]=_0x2f1697===_0x41fd1d(0x19f)?redactVariableValues(_0x1221eb):SENSITIVE_VALUE_KEYS['has'](_0x2f1697)||isSensitiveKey(_0x373ccf)?REDACTED_VALUE:redactSensitiveValue(_0x1221eb);}return _0x29a1c1;}export function redactCommandArgv(_0x104a11){const _0x54ff5b=a179_0x171102,_0x508ec3=[];let _0x41a0ea=![];for(const _0xcd31ce of _0x104a11){if(_0x41a0ea){_0x508ec3[_0x54ff5b(0x1a4)](REDACTED_VALUE),_0x41a0ea=![];continue;}const _0x5d7bfc=_0xcd31ce[_0x54ff5b(0x1ad)](/^--([^=]+)(?:=(.*))?$/);if(!_0x5d7bfc||!isSensitiveFlagName(_0x5d7bfc[0x1]??'')){_0x508ec3[_0x54ff5b(0x1a4)](_0xcd31ce);continue;}_0x508ec3[_0x54ff5b(0x1a4)]('--'+_0x5d7bfc[0x1]+(_0x5d7bfc[0x2]===undefined?'':'='+REDACTED_VALUE)),_0x5d7bfc[0x2]===undefined&&(_0x41a0ea=!![]);}return _0x508ec3;}export{REDACTED_VALUE};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a180_0x13f8(_0x6f298b,_0x405dc6){_0x6f298b=_0x6f298b-0x1e9;const _0x45d0fa=a180_0x45d0();let _0x13f8d2=_0x45d0fa[_0x6f298b];return _0x13f8d2;}(function(_0x1a1fd0,_0x3e4b93){const _0x44c32a=a180_0x13f8,_0x59f058=_0x1a1fd0();while(!![]){try{const _0x1ddb95=-parseInt(_0x44c32a(0x1f5))/0x1+parseInt(_0x44c32a(0x1ec))/0x2*(-parseInt(_0x44c32a(0x1e9))/0x3)+-parseInt(_0x44c32a(0x1f6))/0x4+parseInt(_0x44c32a(0x1f2))/0x5*(parseInt(_0x44c32a(0x1eb))/0x6)+parseInt(_0x44c32a(0x1ee))/0x7*(parseInt(_0x44c32a(0x1ea))/0x8)+parseInt(_0x44c32a(0x1f1))/0x9*(-parseInt(_0x44c32a(0x1ed))/0xa)+parseInt(_0x44c32a(0x1f3))/0xb;if(_0x1ddb95===_0x3e4b93)break;else _0x59f058['push'](_0x59f058['shift']());}catch(_0x15da65){_0x59f058['push'](_0x59f058['shift']());}}}(a180_0x45d0,0x71feb));export function normalizeRuntimeUserId(_0x48a82e){const _0x5f5d5e=a180_0x13f8;if(typeof _0x48a82e==='number')return Number[_0x5f5d5e(0x1ef)](_0x48a82e)&&_0x48a82e>0x0?String(_0x48a82e):undefined;if(typeof _0x48a82e!==_0x5f5d5e(0x1f0)||!/^\d+$/['test'](_0x48a82e))return undefined;const _0x4152d2=_0x48a82e[_0x5f5d5e(0x1f4)](/^0+/,'');return _0x4152d2||undefined;}function a180_0x45d0(){const _0xc6579=['20390zMDdXk','6529300rbLFKD','842331GsUjvX','isSafeInteger','string','9rlsoqy','5kehbpM','21603945yjcjss','replace','614672WnBquv','3578020DijHOl','78ARtbUC','48YRtWiX','1248642MtkRBS'];a180_0x45d0=function(){return _0xc6579;};return a180_0x45d0();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2980f4,_0x47b745){const _0x2607a6=a181_0x5bad,_0x2ea417=_0x2980f4();while(!![]){try{const _0x1af685=parseInt(_0x2607a6(0xf5))/0x1+-parseInt(_0x2607a6(0xfb))/0x2*(-parseInt(_0x2607a6(0xe9))/0x3)+parseInt(_0x2607a6(0x102))/0x4+-parseInt(_0x2607a6(0x103))/0x5+parseInt(_0x2607a6(0xf3))/0x6*(parseInt(_0x2607a6(0xea))/0x7)+parseInt(_0x2607a6(0xf1))/0x8*(-parseInt(_0x2607a6(0x101))/0x9)+-parseInt(_0x2607a6(0xfc))/0xa;if(_0x1af685===_0x47b745)break;else _0x2ea417['push'](_0x2ea417['shift']());}catch(_0x115495){_0x2ea417['push'](_0x2ea417['shift']());}}}(a181_0x42f3,0xa0b80));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';function a181_0x5bad(_0x39427d,_0x558fec){_0x39427d=_0x39427d-0xe8;const _0x42f372=a181_0x42f3();let _0x5badde=_0x42f372[_0x39427d];return _0x5badde;}import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';function a181_0x42f3(){const _0x10d811=['116118vjbttO','1818612uHMvBj','4627850QoUxBL','stableVersion','utf8','3ReSGvm','7CentrH','/v/','join','lovrabet-cli','true','number','.cache','328WRIMmd','upgradeMessage','1718862WFtcDT','lastNotifiedAt','814350mAyLpB','trim','now','\x20is\x20recommended,\x20current\x20','stringify','filter','2337598QqieES','6114230rRCTvK','belowMinimum','toLowerCase','needsUpgrade','lastNotifiedVersion'];a181_0x42f3=function(){return _0x10d811;};return a181_0x42f3();}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 _0x527220=a181_0x5bad,_0x532c76=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x527220(0xf6)]()[_0x527220(0xfe)]();return _0x532c76==='1'||_0x532c76===_0x527220(0xee)||_0x532c76==='yes';}function cacheRoot(){const _0x54f7f0=a181_0x5bad;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x54f7f0(0xf0));}export function getUpdateNoticeCachePath(){const _0x199e8e=a181_0x5bad;return join(cacheRoot(),_0x199e8e(0xed),'update-check.json');}async function readUpdateNoticeCache(){const _0x2d0d2f=a181_0x5bad;try{const _0x381e8d=await readFile(getUpdateNoticeCachePath(),_0x2d0d2f(0xe8)),_0x18ccbf=JSON['parse'](_0x381e8d);if(!_0x18ccbf||typeof _0x18ccbf!=='object')return{};return _0x18ccbf;}catch{return{};}}async function writeUpdateNoticeCache(_0x3468d0){const _0x49c49e=a181_0x5bad;try{const _0x1154f4=getUpdateNoticeCachePath();await mkdir(dirname(_0x1154f4),{'recursive':!![]}),await writeFile(_0x1154f4,JSON[_0x49c49e(0xf9)](_0x3468d0,null,0x2)+'\x0a',_0x49c49e(0xe8));}catch{}}function isRecentlyNotified(_0x58dc6e,_0x3a2435,_0xa6c8b9){const _0x48d3c2=a181_0x5bad;return _0x58dc6e[_0x48d3c2(0x100)]===_0x3a2435&&typeof _0x58dc6e[_0x48d3c2(0xf4)]===_0x48d3c2(0xef)&&_0xa6c8b9-_0x58dc6e['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x4ba462){const _0x5bcef5=a181_0x5bad;return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+_0x5bcef5(0xeb)+_0x4ba462;}export async function resolveLatestUpdateNotice(_0x59e4f4){const _0xec53fc=a181_0x5bad;if(isUpdateNoticeDisabled())return null;try{const _0x17cc7f=Date[_0xec53fc(0xf7)](),_0x3e88ec=_0x59e4f4??await checkCliVersion(),_0x522294=_0x3e88ec['currentVersion'],_0x19e1a6=_0x3e88ec[_0xec53fc(0x104)],_0x1305ba=await readUpdateNoticeCache();if(!_0x19e1a6||!_0x3e88ec[_0xec53fc(0xff)]||_0x3e88ec[_0xec53fc(0xfd)])return null;if(isRecentlyNotified(_0x1305ba,_0x19e1a6,_0x17cc7f))return null;const _0x1e3ec2=getCliUpgradeCommand(_0x3e88ec);return await writeUpdateNoticeCache({..._0x1305ba,'checkedAt':_0x17cc7f,'latest':_0x19e1a6,'failed':![],'lastNotifiedVersion':_0x19e1a6,'lastNotifiedAt':_0x17cc7f}),{'command':_0x1e3ec2,'current':_0x522294,'latest':_0x19e1a6,'url':buildNpmVersionUrl(_0x19e1a6),'message':[_0x3e88ec[_0xec53fc(0xf2)],CLI_BIN_NAME+'\x20'+_0x19e1a6+_0xec53fc(0xf8)+_0x522294+',\x20run:\x20'+_0x1e3ec2][_0xec53fc(0xfa)](Boolean)[_0xec53fc(0xec)]('\x20')};}catch{return null;}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x38174c,_0x313512){const _0x3bb425=a182_0x1ee5,_0x4f8588=_0x38174c();while(!![]){try{const _0x2cfc39=-parseInt(_0x3bb425(0x1b9))/0x1*(parseInt(_0x3bb425(0x1b4))/0x2)+-parseInt(_0x3bb425(0x1b8))/0x3+-parseInt(_0x3bb425(0x1b6))/0x4+parseInt(_0x3bb425(0x1b5))/0x5*(-parseInt(_0x3bb425(0x1ba))/0x6)+-parseInt(_0x3bb425(0x1bc))/0x7*(parseInt(_0x3bb425(0x1b3))/0x8)+parseInt(_0x3bb425(0x1b7))/0x9+parseInt(_0x3bb425(0x1bb))/0xa;if(_0x2cfc39===_0x313512)break;else _0x4f8588['push'](_0x4f8588['shift']());}catch(_0x2dc233){_0x4f8588['push'](_0x4f8588['shift']());}}}(a182_0x1a97,0xd6bae));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a182_0x1ee5(_0x3bad8c,_0x136118){_0x3bad8c=_0x3bad8c-0x1b2;const _0x1a978e=a182_0x1a97();let _0x1ee55f=_0x1a978e[_0x3bad8c];return _0x1ee55f;}function a182_0x1a97(){const _0x1dcc36=['973gSYxwO','unknown','62632dZKcpN','2MbhWtw','75siCtDq','4424756nIqalh','14651964WngAcv','1015770FAYaHo','687311mXwqIo','686388XyQcPi','41878290IQBQZI'];a182_0x1a97=function(){return _0x1dcc36;};return a182_0x1a97();}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x24cc96=a182_0x1ee5,_0x3774b3=String(GIT_COMMIT);return _0x3774b3&&_0x3774b3!==_0x24cc96(0x1b2)?_0x3774b3:'';}export function getCliVersionDisplay(){const _0x405a7d=getCliGitCommit(),_0x1fc137=BUILD_TIME['slice'](0x0,0xa);if(!_0x405a7d||!_0x1fc137)return VERSION;return VERSION+'\x20('+_0x405a7d+',\x20'+_0x1fc137+')';}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a183_0x99b1(){var _0x305484=['6775470ihAHTd','574260XBGRjk','159066LxCxYT','stderr','341580wStkVB','347972fXmHlP','2721509jieLTk','3359766KcOwpr','write'];a183_0x99b1=function(){return _0x305484;};return a183_0x99b1();}function a183_0x24b6(_0x25efcc,_0x43bee9){_0x25efcc=_0x25efcc-0x15f;var _0x99b1aa=a183_0x99b1();var _0x24b6d8=_0x99b1aa[_0x25efcc];return _0x24b6d8;}(function(_0x2fb005,_0x3849e9){var _0x2f3f45=a183_0x24b6,_0x390ac0=_0x2fb005();while(!![]){try{var _0x3bd655=parseInt(_0x2f3f45(0x15f))/0x1+parseInt(_0x2f3f45(0x162))/0x2+parseInt(_0x2f3f45(0x164))/0x3+parseInt(_0x2f3f45(0x161))/0x4+-parseInt(_0x2f3f45(0x167))/0x5+-parseInt(_0x2f3f45(0x166))/0x6+parseInt(_0x2f3f45(0x163))/0x7;if(_0x3bd655===_0x3849e9)break;else _0x390ac0['push'](_0x390ac0['shift']());}catch(_0x3d1bd0){_0x390ac0['push'](_0x390ac0['shift']());}}}(a183_0x99b1,0xa6c33));export function writeCliSideChannelLine(_0x46093a){var _0x570dbc=a183_0x24b6;process[_0x570dbc(0x160)][_0x570dbc(0x165)](_0x46093a+'\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.12-beta.1
|
|
5
5
|
description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、业务角色与权限、用户级外部账号、API 文档发现、数据集查询、Instant API 数据操作、可恢复 Excel 导入、Custom SQL/Backend Function、Personal Backend Function、文件上传、面向票证类业务材料文字与结构化字段提取的 OCR、审批待办与任务办理、定时任务、Skill、知识库与运行态 app-config key 状态检查。触发词:云图、lovrabet、lovrabet-cli、业务角色、角色成员、页面权限、菜单权限、数据集权限、user-account bind、provider 外部账号绑定、钉钉 userId 绑定、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.12-beta.1",
|
|
6
|
+
"skillVersion": "2.3.12-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": "a8de63ed4030f8af64facdb6407afe370cd85ec105238c588d6eb2b4c0fdfa5f"
|
|
46
46
|
}
|