@lovrabet/rabetbase-cli 2.4.1 → 2.4.2
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/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/members-list.js +1 -1
- package/lib/commands/app/remote-directory.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/delete.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/app-config/list.js +1 -1
- package/lib/commands/app-config/set.js +1 -1
- package/lib/commands/app-config/shared.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-registry.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/async-task.js +1 -1
- package/lib/commands/common/dry-run.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/filter.js +1 -1
- package/lib/commands/data/getOne.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/data/shared.js +1 -1
- package/lib/commands/dataset/business-group-update.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/generate.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-audit.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/dataset/restore.js +1 -1
- package/lib/commands/db/analysis-batching.js +1 -1
- package/lib/commands/db/analyze-batch-plan.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/init/index.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/nudge.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/issue/shared.js +1 -1
- package/lib/commands/kb/create.js +1 -1
- package/lib/commands/kb/delete.js +1 -1
- package/lib/commands/kb/detail.js +1 -1
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/kb/list.js +1 -1
- package/lib/commands/kb/shared.js +1 -1
- package/lib/commands/kb/update.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/asset-update.js +1 -1
- package/lib/commands/menu/delete.js +1 -1
- package/lib/commands/menu/external-link-create.js +1 -1
- package/lib/commands/menu/external-link-update.js +1 -1
- package/lib/commands/menu/group-create.js +1 -1
- package/lib/commands/menu/group-update.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/list.js +1 -1
- package/lib/commands/menu/move.js +1 -1
- package/lib/commands/menu/regroup-start.js +1 -1
- package/lib/commands/menu/rename.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/delete-plan.js +1 -1
- package/lib/commands/menu/shared/facts.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/mutations.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/react/create.js +1 -1
- package/lib/commands/page/react/detail.js +1 -1
- package/lib/commands/page/react/list.js +1 -1
- package/lib/commands/page/react/publish.js +1 -1
- package/lib/commands/page/react/shared.js +1 -1
- package/lib/commands/page/react/syntax.js +1 -1
- package/lib/commands/page/react/template.js +1 -1
- package/lib/commands/page/react/update.js +1 -1
- package/lib/commands/page/relation-audit.js +1 -1
- package/lib/commands/page/restore.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/standard-page-status.js +1 -1
- package/lib/commands/page/sync.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-apis-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/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/non-interactive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/upgrade.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/role/user-resolve.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.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/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/commands/task/index.js +1 -1
- package/lib/commands/task/status.js +1 -1
- package/lib/commands/tenant/index.js +1 -1
- package/lib/commands/tenant/members-list.js +1 -1
- package/lib/commands/tenant/shared.js +1 -1
- package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/add.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/commands/workspace/remove.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.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/paths.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/context/app-resolver.js +1 -1
- package/lib/context/auth-resolver.js +1 -1
- package/lib/context/config-loader.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-index-auditor.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/error-output.js +1 -1
- package/lib/framework/explicit-yes.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/response.js +1 -1
- package/lib/framework/runner-alias.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/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/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/copy-directory.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.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/rules-cdn.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
- package/skills/rabetbase/SKILL.md +1 -1
- package/skills/rabetbase/references/rabetbase-page-react-detail.md +1 -1
- package/skills/rabetbase.manifest.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1a1199,_0x224434){const _0x4de649=a290_0x5b44,_0x257526=_0x1a1199();while(!![]){try{const _0x5d6f7b=-parseInt(_0x4de649(0xc6))/0x1+parseInt(_0x4de649(0xbe))/0x2+-parseInt(_0x4de649(0xa9))/0x3+parseInt(_0x4de649(0xc0))/0x4+parseInt(_0x4de649(0xb1))/0x5*(-parseInt(_0x4de649(0xaa))/0x6)+-parseInt(_0x4de649(0xb5))/0x7+parseInt(_0x4de649(0xb0))/0x8*(parseInt(_0x4de649(0xb9))/0x9);if(_0x5d6f7b===_0x224434)break;else _0x257526['push'](_0x257526['shift']());}catch(_0x18a6a6){_0x257526['push'](_0x257526['shift']());}}}(a290_0x4a3c,0xb2482));function a290_0x5b44(_0x5f6f28,_0xc3894e){_0x5f6f28=_0x5f6f28-0xa9;const _0x4a3c2d=a290_0x4a3c();let _0x5b441b=_0x4a3c2d[_0x5f6f28];return _0x5b441b;}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a290_0x32c7b1 from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.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 isUpdateNoticeDisabled(){const _0x3c63e8=a290_0x5b44,_0x390e30=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x3c63e8(0xc5)]()[_0x3c63e8(0xb3)]();return _0x390e30==='1'||_0x390e30===_0x3c63e8(0xae)||_0x390e30===_0x3c63e8(0xb2);}function cacheRoot(){const _0x34c6a6=a290_0x5b44;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x34c6a6(0xba));}export function getUpdateNoticeCachePath(){const _0x4a7dc7=a290_0x5b44;return join(cacheRoot(),_0x4a7dc7(0xbb),_0x4a7dc7(0xbc));}async function readUpdateNoticeCache(){const _0x4f319f=a290_0x5b44;try{const _0x464c70=await readFile(getUpdateNoticeCachePath(),_0x4f319f(0xc1)),_0x88a3f5=JSON['parse'](_0x464c70);if(!_0x88a3f5||typeof _0x88a3f5!==_0x4f319f(0xb4))return{};return _0x88a3f5;}catch{return{};}}async function writeUpdateNoticeCache(_0x402f92){const _0x54e14c=a290_0x5b44;try{const _0x3418b7=getUpdateNoticeCachePath();await mkdir(dirname(_0x3418b7),{'recursive':!![]}),await writeFile(_0x3418b7,JSON[_0x54e14c(0xc9)](_0x402f92,null,0x2)+'\x0a',_0x54e14c(0xc1));}catch{}}function isFreshCheck(_0xf9f623,_0x242a9f){const _0x34fed1=a290_0x5b44;return typeof _0xf9f623[_0x34fed1(0xc3)]===_0x34fed1(0xc7)&&_0x242a9f-_0xf9f623[_0x34fed1(0xc3)]<UPDATE_CHECK_TTL_MS;}function a290_0x4a3c(){const _0x5bd73f=['6awanBx','https://www.npmjs.com/package/',',\x20run:\x20','gte','true','\x20update','130472TmoAqt','2292965aOCsil','yes','toLowerCase','object','1602923JfsySB','now','\x20available,\x20current\x20','lastNotifiedVersion','1008ATURrg','.cache','rabetbase-cli','update-check.json','latest','1657578UlEtFZ','lastNotifiedAt','361012xignLQ','utf8','stableVersion','checkedAt','/v/','trim','1256936zIaLJR','number','valid','stringify','212670EfjFBf'];a290_0x4a3c=function(){return _0x5bd73f;};return a290_0x4a3c();}function isRecentlyNotified(_0x5e3e6f,_0x3660d4,_0x1fc0c5){const _0x1c5646=a290_0x5b44;return _0x5e3e6f[_0x1c5646(0xb8)]===_0x3660d4&&typeof _0x5e3e6f['lastNotifiedAt']===_0x1c5646(0xc7)&&_0x1fc0c5-_0x5e3e6f[_0x1c5646(0xbf)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x4ef402){const _0x2052e3=a290_0x5b44;return _0x2052e3(0xab)+NPM_PACKAGE_NAME+_0x2052e3(0xc4)+_0x4ef402;}export async function resolveLatestUpdateNotice(){const _0x5eef5e=a290_0x5b44;if(isUpdateNoticeDisabled())return null;try{const _0x2d5a05=Date[_0x5eef5e(0xb6)](),_0x247a05=getCliVersion(),_0x5995a5=await readUpdateNoticeCache();let _0x572f1c=isFreshCheck(_0x5995a5,_0x2d5a05)?_0x5995a5[_0x5eef5e(0xbd)]?.['trim']():undefined;if(!_0x572f1c&&!isFreshCheck(_0x5995a5,_0x2d5a05)){const _0x238177=await getCliVersionPolicy();_0x572f1c=_0x238177?.[_0x5eef5e(0xc2)]?.[_0x5eef5e(0xc5)]()||undefined,await writeUpdateNoticeCache({..._0x5995a5,'checkedAt':_0x2d5a05,'latest':_0x572f1c,'failed':!_0x572f1c});}if(!_0x572f1c||!a290_0x32c7b1[_0x5eef5e(0xc8)](_0x247a05)||!a290_0x32c7b1['valid'](_0x572f1c))return null;if(a290_0x32c7b1[_0x5eef5e(0xad)](_0x247a05,_0x572f1c))return null;if(isRecentlyNotified(_0x5995a5,_0x572f1c,_0x2d5a05))return null;const _0xcb3c19=CLI_BIN_NAME+_0x5eef5e(0xaf);return await writeUpdateNoticeCache({..._0x5995a5,'checkedAt':isFreshCheck(_0x5995a5,_0x2d5a05)?_0x5995a5[_0x5eef5e(0xc3)]:_0x2d5a05,'latest':_0x572f1c,'failed':![],'lastNotifiedVersion':_0x572f1c,'lastNotifiedAt':_0x2d5a05}),{'command':_0xcb3c19,'current':_0x247a05,'latest':_0x572f1c,'url':buildNpmVersionUrl(_0x572f1c),'message':CLI_BIN_NAME+'\x20'+_0x572f1c+_0x5eef5e(0xb7)+_0x247a05+_0x5eef5e(0xac)+_0xcb3c19};}catch{return null;}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a291_0x31d8(_0x381315,_0x543927){_0x381315=_0x381315-0xb0;var _0x3ea625=a291_0x3ea6();var _0x31d8f1=_0x3ea625[_0x381315];return _0x31d8f1;}(function(_0x1d28cb,_0x4e7985){var _0x5c1f98=a291_0x31d8,_0x4727a6=_0x1d28cb();while(!![]){try{var _0x48263d=-parseInt(_0x5c1f98(0xb1))/0x1+parseInt(_0x5c1f98(0xb9))/0x2*(parseInt(_0x5c1f98(0xb8))/0x3)+parseInt(_0x5c1f98(0xb4))/0x4*(parseInt(_0x5c1f98(0xb2))/0x5)+-parseInt(_0x5c1f98(0xb5))/0x6+parseInt(_0x5c1f98(0xba))/0x7*(-parseInt(_0x5c1f98(0xb7))/0x8)+parseInt(_0x5c1f98(0xb6))/0x9*(parseInt(_0x5c1f98(0xb3))/0xa)+parseInt(_0x5c1f98(0xb0))/0xb;if(_0x48263d===_0x4e7985)break;else _0x4727a6['push'](_0x4727a6['shift']());}catch(_0x2a931f){_0x4727a6['push'](_0x4727a6['shift']());}}}(a291_0x3ea6,0xf12bf));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a291_0x3ea6(){var _0x3c6ddb=['2912AnXdZB','15128102dvlprm','1569370XBCxNk','275buMPfl','83320GWrsgC','103832plUfBR','7756254OXSnpk','612ipFarx','14264iAWXft','9xLbUpP','814732kGqjEg'];a291_0x3ea6=function(){return _0x3c6ddb;};return a291_0x3ea6();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2b829e,_0x1f9f38){var _0x3c4fbd=a292_0x3bfb,_0x34e844=_0x2b829e();while(!![]){try{var _0x276338=-parseInt(_0x3c4fbd(0xe6))/0x1+-parseInt(_0x3c4fbd(0xe7))/0x2*(-parseInt(_0x3c4fbd(0xe1))/0x3)+-parseInt(_0x3c4fbd(0xe2))/0x4*(parseInt(_0x3c4fbd(0xe3))/0x5)+-parseInt(_0x3c4fbd(0xe9))/0x6+parseInt(_0x3c4fbd(0xe0))/0x7*(parseInt(_0x3c4fbd(0xe5))/0x8)+-parseInt(_0x3c4fbd(0xe4))/0x9*(-parseInt(_0x3c4fbd(0xe8))/0xa)+parseInt(_0x3c4fbd(0xdf))/0xb;if(_0x276338===_0x1f9f38)break;else _0x34e844['push'](_0x34e844['shift']());}catch(_0x3ef826){_0x34e844['push'](_0x34e844['shift']());}}}(a292_0x573d,0x4c2e1));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x4745d0,_0x4c1d9b){setActiveCookie(_0x4745d0);try{return await _0x4c1d9b();}finally{clearActiveCookie();}}function a292_0x3bfb(_0x2c7583,_0x573fb9){_0x2c7583=_0x2c7583-0xdf;var _0x573d35=a292_0x573d();var _0x3bfb3e=_0x573d35[_0x2c7583];return _0x3bfb3e;}function a292_0x573d(){var _0x216e04=['4JTCoMG','1505320fbTEED','5715YsykkS','9752kVoHJD','339619NFBOdU','71490IJgvoZ','1010VTbszk','1234740yYoEyz','10201455FZPTXj','343bwqTbr','9CPcBud'];a292_0x573d=function(){return _0x216e04;};return a292_0x573d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2b8a2a,_0x35a378){var _0x315099=a293_0x5d2d,_0x255da4=_0x2b8a2a();while(!![]){try{var _0x112e6d=-parseInt(_0x315099(0x141))/0x1+-parseInt(_0x315099(0x13e))/0x2*(-parseInt(_0x315099(0x138))/0x3)+parseInt(_0x315099(0x139))/0x4*(-parseInt(_0x315099(0x13d))/0x5)+-parseInt(_0x315099(0x140))/0x6+-parseInt(_0x315099(0x13a))/0x7*(parseInt(_0x315099(0x144))/0x8)+parseInt(_0x315099(0x13f))/0x9*(-parseInt(_0x315099(0x145))/0xa)+-parseInt(_0x315099(0x13c))/0xb*(-parseInt(_0x315099(0x143))/0xc);if(_0x112e6d===_0x35a378)break;else _0x255da4['push'](_0x255da4['shift']());}catch(_0x145b99){_0x255da4['push'](_0x255da4['shift']());}}}(a293_0x4846,0xc7c96));function a293_0x4846(){var _0x320a16=['135uJRpGs','3871218IOocYC','1287463EzBrgi','stderr','1195608iCvIdP','8696816BIKmFt','769430TgZXTJ','1119KATbIj','328wgeXpo','7zOuzqs','write','649jTiwsf','90675xeaKdi','3222SyzuUy'];a293_0x4846=function(){return _0x320a16;};return a293_0x4846();}function a293_0x5d2d(_0x5e6df4,_0x45b443){_0x5e6df4=_0x5e6df4-0x138;var _0x484675=a293_0x4846();var _0x5d2d65=_0x484675[_0x5e6df4];return _0x5d2d65;}export function writeCliSideChannelLine(_0x1e882d){var _0x7d3fda=a293_0x5d2d;process[_0x7d3fda(0x142)][_0x7d3fda(0x13b)](_0x1e882d+'\x0a');}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovrabet/rabetbase-cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, BFF, database connections, skills, and AI agent workflows.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"keywords": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: rabetbase
|
|
3
|
-
version: 2.4.
|
|
3
|
+
version: 2.4.2
|
|
4
4
|
description: "Lovrabet 开发工作流 CLI — 通过 rabetbase 命令管理数据集、数据库连接(dblink)、智能列表页(Smart List Page)、React 自定义页面(JSX 页面)、SQL 查询、BFF 脚本、通知配置、菜单事实读取与同步、应用文件、OCR 识别、代码生成,以及平台问题上报。触发词:数据集、数据表、dataset relation-audit、dataset delete、dataset restore、废弃数据集、恢复数据集、dataset rename、dataset field-update、dataset extend-update、dataset business-group-update、businessGroup、字段对象更新、doType、options、智能列表页、Smart List Page、React 自定义页面、JSX 页面、page react-create、page react-list、page react-detail、page react-update、page react-publish、page generate-start、page generate-status、page relation-audit、page sync、page pull、page push、page restore、恢复已删除页面、dblink、数据库连接、schema 分析、db list、db detail、db test、db tables、db diff、db diff --table、db analyze-batch-plan、db analyze-start、analyze-cancel、analyze-status、traceId、自定义 SQL、sql.execute、bff.execute、BF 消息通知、BFF 消息通知、Backend Function 消息通知、notification config-list、EMAIL configCode、通知配置、notification.send、get_dataset_detail、validate_sql_content、save_or_update_custom_sql、@lovrabet/sdk、lovrabet 开发、rabetbase、filter、codegen、init、appcode、app list、app members-list、tenant members-list、应用人员列表、租户人员列表、workspace、workspace init、workspace use、workspace add、workspace remove、多应用、默认应用、menu list、menu external-link-create、menu external-link-update、menu rename、菜单改名、外链菜单创建、外链 URL 更新、菜单异常审计、菜单手动删除清单、menu sync、menu asset-update、菜单资源更新、menu move、菜单移动、角色、用户组、权限、role、permit、role list、role create、role user-add、role user-remove、user-resolve、销售组、加入开发者、page-set、page-get、row-roles、SELF、ALL、行级权限、role-menus-set、role-apis-set、菜单权限、API 权限、DEV、CUSTOM、project create、project upgrade、schema、jq、compress、file upload、file query-url、ocr recognize、文件上传、OCR 识别、发票识别、图片识别、长期链接、issue report、平台问题、platform issue、问题上报、user-account dingding-sandbox-bind、钉钉沙箱账号绑定。"
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|
|
@@ -20,7 +20,7 @@ rabetbase page react-detail --id <pageId> --format compress
|
|
|
20
20
|
地址说明(按当前环境):
|
|
21
21
|
|
|
22
22
|
- `pageUrl`:查看最新保存内容的页面地址,包含尚未发布的修改
|
|
23
|
-
- `runtimePageUrl`:查看已发布内容的页面地址,仅在有已发布内容时返回;格式为 `https://<appCode>.lovrabet.com/<pageCode>`(线上)或 `https://<appCode>.daily.lovrabet.com/<pageCode>`(日常)
|
|
23
|
+
- `runtimePageUrl`:查看已发布内容的页面地址,仅在有已发布内容时返回;格式为 `https://<appCode>.app.lovrabet.com/<pageCode>`(线上)或 `https://<appCode>.daily.lovrabet.com/<pageCode>`(日常)
|
|
24
24
|
- `editPageUrl`:打开页面编辑器的地址,可继续修改页面;格式为 `https://<env>.lovrabet.com/web-app/app/<appCode>/ide/<pageId>`(线上为 `app.lovrabet.com`,日常为 `daily.lovrabet.com`)
|
|
25
25
|
|
|
26
26
|
`data.codeContent` 是当前完整页面文件,可在本地完成新增、修改或删除后,作为 `page react-update --page-content <json>` 的完整页面内容提交。
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "rabetbase",
|
|
4
4
|
"packageName": "@lovrabet/rabetbase-cli",
|
|
5
|
-
"packageVersion": "2.4.
|
|
6
|
-
"skillVersion": "2.4.
|
|
5
|
+
"packageVersion": "2.4.2",
|
|
6
|
+
"skillVersion": "2.4.2",
|
|
7
7
|
"files": [
|
|
8
8
|
"SKILL.md",
|
|
9
9
|
"guides/backend-function.md",
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"references/rabetbase-user-account.md",
|
|
134
134
|
"references/rabetbase-workspace.md"
|
|
135
135
|
],
|
|
136
|
-
"digest": "
|
|
136
|
+
"digest": "36ccf9516fdbfaf9666ef97811e6bfb7b89208dd395bfdbdbfb02593901c89c4"
|
|
137
137
|
}
|