@lovrabet/rabetbase-cli 2.5.2-beta.6 → 2.5.2-beta.7
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/api/generate-sdk-config-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/delete.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/init.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/dataset/business-group-update.js +1 -1
- package/lib/commands/dataset/business-groups.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-restore.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/dataset/user-deleted-field-list.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-refresh-start.js +1 -1
- package/lib/commands/db/diff-refresh-status.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/table-diff-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/deployment/index.js +1 -1
- package/lib/commands/deployment/sync-all.js +1 -1
- package/lib/commands/deployment/sync-jobs.js +1 -1
- package/lib/commands/deployment/sync-status.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/instant-api-policy/current.js +1 -1
- package/lib/commands/instant-api-policy/index.js +1 -1
- package/lib/commands/instant-api-policy/init.js +1 -1
- package/lib/commands/instant-api-policy/publish.js +1 -1
- package/lib/commands/instant-api-policy/pull.js +1 -1
- package/lib/commands/instant-api-policy/revision.js +1 -1
- package/lib/commands/instant-api-policy/revisions.js +1 -1
- package/lib/commands/instant-api-policy/rollback.js +1 -1
- package/lib/commands/instant-api-policy/shared.js +1 -1
- package/lib/commands/instant-api-policy/validate.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/search.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/menu/visibility-update.js +1 -1
- package/lib/commands/notification/config-create.js +1 -1
- package/lib/commands/notification/config-delete.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/config-update.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/page/create.js +1 -1
- package/lib/commands/page/custom/detail.js +1 -1
- package/lib/commands/page/custom/list.js +1 -1
- package/lib/commands/page/custom/publish.js +1 -1
- package/lib/commands/page/custom/shared.js +1 -1
- package/lib/commands/page/custom/syntax.js +1 -1
- package/lib/commands/page/custom/update.js +1 -1
- package/lib/commands/page/data-list-status.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/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/sync.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/materialize-project-template.js +1 -1
- package/lib/commands/project/create/project-name.js +1 -1
- package/lib/commands/project/create/project-template-archive.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/domain-routing-sync.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/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/rule/get.js +1 -1
- package/lib/commands/rule/index.js +1 -1
- package/lib/commands/rule/list.js +1 -1
- package/lib/commands/rule/set.js +1 -1
- package/lib/commands/rule/shared.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/domain-config.js +1 -1
- package/lib/config/project-domain-routing.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/region.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/routing-profile.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/instant-api-policy/config.js +1 -1
- package/lib/core/kb-search-client.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/supported-flags.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/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/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/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.manifest.json +3 -3
package/lib/utils/guides-cdn.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a312_0x2145ef=a312_0xec9c;(function(_0x4540bb,_0x51fe0b){const _0x232fb9=a312_0xec9c,_0xf690cc=_0x4540bb();while(!![]){try{const _0x445ce2=-parseInt(_0x232fb9(0x1c8))/0x1+-parseInt(_0x232fb9(0x1ce))/0x2*(parseInt(_0x232fb9(0x1c1))/0x3)+-parseInt(_0x232fb9(0x1c5))/0x4*(parseInt(_0x232fb9(0x1ca))/0x5)+parseInt(_0x232fb9(0x1c7))/0x6*(-parseInt(_0x232fb9(0x1d9))/0x7)+-parseInt(_0x232fb9(0x1e0))/0x8*(-parseInt(_0x232fb9(0x1cb))/0x9)+-parseInt(_0x232fb9(0x1d0))/0xa*(-parseInt(_0x232fb9(0x1db))/0xb)+parseInt(_0x232fb9(0x1e4))/0xc;if(_0x445ce2===_0x51fe0b)break;else _0xf690cc['push'](_0xf690cc['shift']());}catch(_0x2f2c0d){_0xf690cc['push'](_0xf690cc['shift']());}}}(a312_0x3ddf,0x30954));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0xce83d8=a312_0xec9c,_0x2ca3d6=getTemplateBaseUrl();return _0x2ca3d6+_0xce83d8(0x1c3);}const CACHE_DIR=join(homedir(),a312_0x2145ef(0x1d2),a312_0x2145ef(0x1dd));export async function fetchGuidesFromCDN(){const _0x4c9a43=a312_0x2145ef,_0x41fc57=getGuidesCdnUrl(),_0x2a044d=await fetch(_0x41fc57,{'headers':{'Accept':_0x4c9a43(0x1d3)}});if(!_0x2a044d['ok'])throw new Error('CDN\x20request\x20failed:\x20'+_0x2a044d[_0x4c9a43(0x1bf)]+'\x20'+_0x2a044d[_0x4c9a43(0x1d5)]);const _0x47e35a=await _0x2a044d[_0x4c9a43(0x1cc)]();if(!_0x47e35a[_0x4c9a43(0x1c4)]||typeof _0x47e35a[_0x4c9a43(0x1c4)]!==_0x4c9a43(0x1da))throw new Error('CDN\x20returned\x20invalid\x20data');return _0x47e35a;}function a312_0x3ddf(){const _0x480034=['extendContent','320028ajQfzK','49445eRsruW','utf-8','330985EYqSQb','34443qYVpWH','json','lastUpdated','585232xDwZkb','entries','2131430TqvZrx','skillTemplate','.lovrabet','application/json','path','statusText','title','.lovrabet/skill/guides','join','28XLTKcj','object','11LxCznI','replace','cache','\x0a\x0a>更新时间:','content','72vRLyAs','CDN\x20data\x20is\x20missing\x20skillTemplate','map','length','7670604ZqmbKq','trimEnd','status','push','3TvkzGh','keys','/skills/guides.json','guides','8dZdZlR'];a312_0x3ddf=function(){return _0x480034;};return a312_0x3ddf();}export function writeGuidesToProject(_0x402ab1,_0x490954,_0x5090af=a312_0x2145ef(0x1d7),_0x306054){const _0x59fdb3=a312_0x2145ef,_0x4199d6=join(_0x490954,_0x5090af);mkdirSync(_0x4199d6,{'recursive':!![]});for(const [_0x49e9c5,_0x37cbd8]of Object[_0x59fdb3(0x1cf)](_0x402ab1['guides'])){let _0x10a1b6=_0x37cbd8['content'];_0x37cbd8[_0x59fdb3(0x1cd)]&&(_0x10a1b6=appendUpdateTime(_0x10a1b6,_0x37cbd8[_0x59fdb3(0x1cd)])),writeFileSync(join(_0x4199d6,_0x49e9c5+'.md'),_0x10a1b6,'utf-8');}}function a312_0xec9c(_0xe45a99,_0x471620){_0xe45a99=_0xe45a99-0x1be;const _0x3ddf08=a312_0x3ddf();let _0xec9c20=_0x3ddf08[_0xe45a99];return _0xec9c20;}export function appendUpdateTime(_0x3bc8ef,_0x3ffaff){const _0x1bc2fb=a312_0x2145ef;return _0x3bc8ef=_0x3bc8ef[_0x1bc2fb(0x1dc)](/\n*>更新时间:.*$/m,''),_0x3bc8ef[_0x1bc2fb(0x1be)]()+(_0x1bc2fb(0x1de)+_0x3ffaff);}export function getSkillTemplate(_0x5bae2c){const _0x2e46b0=a312_0x2145ef;return _0x5bae2c[_0x2e46b0(0x1d1)]?.[_0x2e46b0(0x1df)]||'';}export function appendExtendContents(_0x55aef0,_0x208ddb,_0x4616f1){const _0x5e1c9c=a312_0x2145ef,_0x482e4f=[];for(const [,_0x270a6f]of Object[_0x5e1c9c(0x1cf)](_0x208ddb['guides'])){_0x270a6f[_0x5e1c9c(0x1c6)]&&_0x482e4f[_0x5e1c9c(0x1c0)](_0x270a6f['extendContent'][_0x5e1c9c(0x1be)]());}if(_0x482e4f[_0x5e1c9c(0x1e3)]===0x0)return _0x55aef0;return _0x55aef0[_0x5e1c9c(0x1be)]()+'\x0a\x0a'+_0x482e4f[_0x5e1c9c(0x1d8)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0xc84865,_0x48c32b,_0x5794a6){const _0x4b3faf=a312_0x2145ef,_0x5b58c0=getSkillTemplate(_0xc84865);if(!_0x5b58c0)throw new Error(_0x4b3faf(0x1e1));const _0x1e9628=dirname(_0x48c32b);mkdirSync(_0x1e9628,{'recursive':!![]});let _0x4e0895=_0x5b58c0[_0x4b3faf(0x1dc)](/\{\{IDE_NAME\}\}/g,_0x5794a6);_0x4e0895=appendExtendContents(_0x4e0895,_0xc84865),_0xc84865[_0x4b3faf(0x1d1)]['lastUpdated']&&(_0x4e0895=appendUpdateTime(_0x4e0895,_0xc84865[_0x4b3faf(0x1d1)][_0x4b3faf(0x1cd)])),writeFileSync(_0x48c32b,_0x4e0895,_0x4b3faf(0x1c9));}export async function installGuides(_0x38ced4){const _0x374358=a312_0x2145ef,_0xe8bc7=await fetchGuidesFromCDN();return writeGuidesToProject(_0xe8bc7,_0x38ced4),Object[_0x374358(0x1c2)](_0xe8bc7[_0x374358(0x1c4)])['length'];}export function getGuidesSummary(_0x332989){const _0x34e9b9=a312_0x2145ef;return Object[_0x34e9b9(0x1cf)](_0x332989[_0x34e9b9(0x1c4)])[_0x34e9b9(0x1e2)](([_0x5c96fa,_0x2094fc])=>({'key':_0x5c96fa,'title':_0x2094fc[_0x34e9b9(0x1d6)],'path':_0x2094fc[_0x34e9b9(0x1d4)]}));}
|
package/lib/utils/http-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a313_0x2fef(){const _0x428ec2=['17910ZsHFEN','fetch','headers','30236eSQEkn','url','ENOTFOUND','status','statusText','AbortError','abort','22337EgbMQV','Request\x20failed','log','application/json','TypeError','980046eSUzXl','262026dSBciw','312QtuHTV','1042554OTHquM','2jwFdSj','json','920fcwKkf','150nafkUo','75251ZZDgZL','message','includes','signal','content-type','\x20in\x20','get','text','*\x20Request\x20failed;\x20retry\x20','name','25swBTaS'];a313_0x2fef=function(){return _0x428ec2;};return a313_0x2fef();}(function(_0x11cc9c,_0x262a7c){const _0x390073=a313_0x4a9b,_0x154080=_0x11cc9c();while(!![]){try{const _0x2c0e59=-parseInt(_0x390073(0x16f))/0x1*(-parseInt(_0x390073(0x172))/0x2)+parseInt(_0x390073(0x171))/0x3+-parseInt(_0x390073(0x184))/0x4*(parseInt(_0x390073(0x180))/0x5)+-parseInt(_0x390073(0x16e))/0x6+parseInt(_0x390073(0x18b))/0x7*(-parseInt(_0x390073(0x174))/0x8)+-parseInt(_0x390073(0x181))/0x9*(parseInt(_0x390073(0x175))/0xa)+parseInt(_0x390073(0x176))/0xb*(parseInt(_0x390073(0x170))/0xc);if(_0x2c0e59===_0x262a7c)break;else _0x154080['push'](_0x154080['shift']());}catch(_0x325899){_0x154080['push'](_0x154080['shift']());}}}(a313_0x2fef,0x2e413));function a313_0x4a9b(_0x47d2fa,_0x41c1b9){_0x47d2fa=_0x47d2fa-0x16d;const _0x2fef9b=a313_0x2fef();let _0x4a9b03=_0x2fef9b[_0x47d2fa];return _0x4a9b03;}export async function httpRequest(_0x76d284,_0x18bf57={}){const _0x43a87c=a313_0x4a9b,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x18bf57;let _0xf56028=null;for(let _0x3bce6f=0x0;_0x3bce6f<=retries;_0x3bce6f++){try{const _0x1936d3=new AbortController(),_0x3bc0ef=setTimeout(()=>_0x1936d3[_0x43a87c(0x18a)](),timeout),_0xcffb4d=await fetch(_0x76d284,{'headers':headers,'signal':_0x1936d3[_0x43a87c(0x179)]});clearTimeout(_0x3bc0ef);let _0x515c0a;const _0x1e7821=_0xcffb4d['headers'][_0x43a87c(0x17c)](_0x43a87c(0x17a));return _0x1e7821?.['includes'](_0x43a87c(0x18e))?_0x515c0a=await _0xcffb4d[_0x43a87c(0x173)]():_0x515c0a=await _0xcffb4d[_0x43a87c(0x17d)](),{'ok':_0xcffb4d['ok'],'status':_0xcffb4d[_0x43a87c(0x187)],'statusText':_0xcffb4d[_0x43a87c(0x188)],'data':_0x515c0a,'headers':_0xcffb4d[_0x43a87c(0x183)],'url':_0xcffb4d[_0x43a87c(0x185)],'text':()=>_0xcffb4d[_0x43a87c(0x17d)]()};}catch(_0x2e388d){_0xf56028=_0x2e388d instanceof Error?_0x2e388d:new Error(String(_0x2e388d));if(_0x3bce6f===retries)break;if(shouldRetry(_0x2e388d)){console[_0x43a87c(0x18d)](_0x43a87c(0x17e)+(_0x3bce6f+0x1)+_0x43a87c(0x17b)+retryDelay+'ms...'),await sleep(retryDelay);continue;}else break;}}throw _0xf56028||new Error(_0x43a87c(0x18c));}function shouldRetry(_0x96be50){const _0x576922=a313_0x4a9b;if(_0x96be50 instanceof Error){if(_0x96be50[_0x576922(0x17f)]===_0x576922(0x189))return![];if(_0x96be50[_0x576922(0x17f)]===_0x576922(0x16d)&&_0x96be50[_0x576922(0x177)][_0x576922(0x178)](_0x576922(0x182)))return!![];if(_0x96be50[_0x576922(0x177)][_0x576922(0x178)]('ECONNRESET'))return!![];if(_0x96be50[_0x576922(0x177)]['includes'](_0x576922(0x186)))return![];}return![];}function sleep(_0x339c7d){return new Promise(_0x19e3e7=>setTimeout(_0x19e3e7,_0x339c7d));}export function validateUrl(_0x25e8cc){try{return new URL(_0x25e8cc),!![];}catch{return![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x162a47,_0xac81e9){const _0x3a0f30=a314_0x3896,_0x336eb1=_0x162a47();while(!![]){try{const _0x471f8a=parseInt(_0x3a0f30(0x7f))/0x1+parseInt(_0x3a0f30(0x7a))/0x2*(-parseInt(_0x3a0f30(0x71))/0x3)+-parseInt(_0x3a0f30(0x79))/0x4+parseInt(_0x3a0f30(0x76))/0x5*(-parseInt(_0x3a0f30(0x74))/0x6)+-parseInt(_0x3a0f30(0x7e))/0x7*(parseInt(_0x3a0f30(0x73))/0x8)+parseInt(_0x3a0f30(0x77))/0x9+-parseInt(_0x3a0f30(0x75))/0xa*(-parseInt(_0x3a0f30(0x7c))/0xb);if(_0x471f8a===_0xac81e9)break;else _0x336eb1['push'](_0x336eb1['shift']());}catch(_0x4d8b88){_0x336eb1['push'](_0x336eb1['shift']());}}}(a314_0x3534,0x41f68));function env(_0x196bc5){return process.env[`RABETBASE_${_0x196bc5}`]||process.env[`LOVRABET_${_0x196bc5}`]||undefined;}export function isNonInteractive(_0x155170){const _0x335e4e=a314_0x3896;return!!(_0x155170[_0x335e4e(0x80)]||_0x155170['ci']||env('CI')===_0x335e4e(0x6f)||process.env.CI===_0x335e4e(0x6f)||!process[_0x335e4e(0x78)][_0x335e4e(0x72)]||!isStdinRawModeSupported());}function a314_0x3534(){const _0x7be9d0=['stdin','3NTmZDM','isTTY','9896nLKunO','6kBassS','4992670RxPWFe','785830qivgcF','3421098PFvxNZ','stdout','599532nMHYJC','1069204uqoiIN','isRaw','22hUQPwy','setRawMode','2086tPDGBy','101805XJbdTj','nonInteractive','true'];a314_0x3534=function(){return _0x7be9d0;};return a314_0x3534();}function a314_0x3896(_0x58f3c5,_0x4ad4e7){_0x58f3c5=_0x58f3c5-0x6f;const _0x353437=a314_0x3534();let _0x3896bc=_0x353437[_0x58f3c5];return _0x3896bc;}function isStdinRawModeSupported(){const _0x5b4726=a314_0x3896;if(!process[_0x5b4726(0x70)][_0x5b4726(0x72)])return![];try{const _0xcd9986=process[_0x5b4726(0x70)][_0x5b4726(0x7b)];return process[_0x5b4726(0x70)][_0x5b4726(0x7d)](!![]),process[_0x5b4726(0x70)]['setRawMode'](_0xcd9986??![]),!![];}catch{return![];}}
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a315_0xcfeb82=a315_0x3e7d;(function(_0x4af04a,_0x2b5e83){const _0x260096=a315_0x3e7d,_0x21c756=_0x4af04a();while(!![]){try{const _0x45e3aa=-parseInt(_0x260096(0x1fa))/0x1*(-parseInt(_0x260096(0x1e6))/0x2)+-parseInt(_0x260096(0x1de))/0x3*(-parseInt(_0x260096(0x20f))/0x4)+parseInt(_0x260096(0x203))/0x5+parseInt(_0x260096(0x1e4))/0x6*(parseInt(_0x260096(0x1fc))/0x7)+-parseInt(_0x260096(0x1f9))/0x8+parseInt(_0x260096(0x1ea))/0x9+-parseInt(_0x260096(0x1e3))/0xa*(parseInt(_0x260096(0x210))/0xb);if(_0x45e3aa===_0x2b5e83)break;else _0x21c756['push'](_0x21c756['shift']());}catch(_0x1b3a25){_0x21c756['push'](_0x21c756['shift']());}}}(a315_0x2581,0xe51d8));import a315_0x43a6d3 from'winston';function a315_0x3e7d(_0x5c30f2,_0x5e0d64){_0x5c30f2=_0x5c30f2-0x1db;const _0x258128=a315_0x2581();let _0x3e7d8d=_0x258128[_0x5c30f2];return _0x3e7d8d;}import a315_0x41ffe8 from'node:fs';import a315_0x42a014 from'node:path';class Logger{[a315_0xcfeb82(0x1fd)];['logFilePath'];[a315_0xcfeb82(0x204)]='';constructor(){const _0xa02300=a315_0xcfeb82;this[_0xa02300(0x1f7)]='';}['setRawCommand'](_0x6dadb){const _0x1299df=a315_0xcfeb82;this[_0x1299df(0x204)]=_0x6dadb;}[a315_0xcfeb82(0x1ec)](){const _0xe5b12a=a315_0xcfeb82,_0xf549d5=a315_0x42a014['dirname'](this['logFilePath']);!a315_0x41ffe8[_0xe5b12a(0x1f0)](_0xf549d5)&&a315_0x41ffe8[_0xe5b12a(0x1eb)](_0xf549d5,{'recursive':!![]});const _0x4aab39=a315_0x43a6d3[_0xe5b12a(0x1dc)][_0xe5b12a(0x1e1)](a315_0x43a6d3[_0xe5b12a(0x1dc)][_0xe5b12a(0x202)](),a315_0x43a6d3[_0xe5b12a(0x1dc)][_0xe5b12a(0x1ff)]({'stack':!![]}),a315_0x43a6d3[_0xe5b12a(0x1dc)]['printf'](_0x22033c=>{const _0x15487a=_0xe5b12a,_0x200832={'timestamp':_0x22033c[_0x15487a(0x202)]||new Date()[_0x15487a(0x201)](),'level':_0x22033c[_0x15487a(0x1fb)]||_0x15487a(0x208),'command':_0x22033c[_0x15487a(0x207)]||_0x15487a(0x1e9),'rawCommand':_0x22033c[_0x15487a(0x1fe)]||this[_0x15487a(0x204)]||undefined,'message':_0x22033c[_0x15487a(0x206)]||'','duration':_0x22033c[_0x15487a(0x1dd)]||undefined,'details':_0x22033c[_0x15487a(0x212)]||undefined};return JSON[_0x15487a(0x20a)](_0x200832);}));this[_0xe5b12a(0x1fd)]=a315_0x43a6d3[_0xe5b12a(0x1f1)]({'level':_0xe5b12a(0x208),'format':_0x4aab39,'transports':[new a315_0x43a6d3[(_0xe5b12a(0x1e2))]['File']({'filename':this[_0xe5b12a(0x1f7)],'level':_0xe5b12a(0x208)})],'silent':![]}),a315_0x43a6d3[_0xe5b12a(0x1f2)]({'success':_0xe5b12a(0x209),'error':_0xe5b12a(0x1db),'warn':'yellow','info':'blue'});}[a315_0xcfeb82(0x1ee)](_0x40aeee){const _0x4d118a=a315_0xcfeb82;this[_0x4d118a(0x1f7)]=a315_0x42a014['join'](_0x40aeee,_0x4d118a(0x205)),this['winstonLogger']&&this[_0x4d118a(0x1fd)][_0x4d118a(0x1f6)](),this[_0x4d118a(0x1ec)]();}[a315_0xcfeb82(0x208)](_0x288022,_0x5555fa,_0x5c1acd){const _0x5bbde0=a315_0xcfeb82;if(!this[_0x5bbde0(0x1f7)]||!this[_0x5bbde0(0x1fd)])return;this[_0x5bbde0(0x1fd)]['info'](_0x5555fa,{'command':_0x288022,'details':_0x5c1acd});}[a315_0xcfeb82(0x20c)](_0x17487e,_0x45433c,_0x3eb15f,_0x3348d9){const _0xaaf314=a315_0xcfeb82;if(!this[_0xaaf314(0x1f7)]||!this['winstonLogger'])return;this['winstonLogger'][_0xaaf314(0x1e7)](_0xaaf314(0x208),_0x45433c,{'level':_0xaaf314(0x20c),'command':_0x17487e,'duration':_0x3eb15f,'details':_0x3348d9});}['error'](_0x1e8e95,_0x5594b6,_0x3cdee0){const _0x45d220=a315_0xcfeb82;if(!this[_0x45d220(0x1f7)]||!this[_0x45d220(0x1fd)])return;this[_0x45d220(0x1fd)]['error'](_0x5594b6,{'command':_0x1e8e95,'details':_0x3cdee0});}[a315_0xcfeb82(0x1f8)](_0x44230e,_0x502eda,_0x27b5ce){const _0x40fc39=a315_0xcfeb82;if(!this['logFilePath']||!this[_0x40fc39(0x1fd)])return;this['winstonLogger'][_0x40fc39(0x1f8)](_0x502eda,{'command':_0x44230e,'details':_0x27b5ce});}async['logTask'](_0x32908f,_0x58b44d,_0x548e2d){const _0x182bfc=a315_0xcfeb82,_0x3b7bb9=Date[_0x182bfc(0x1f4)]();this[_0x182bfc(0x208)](_0x32908f,'Starting:\x20'+_0x58b44d);try{const _0x3e8e9b=await _0x548e2d(),_0xd88107=Date[_0x182bfc(0x1f4)]()-_0x3b7bb9;return this[_0x182bfc(0x20c)](_0x32908f,_0x182bfc(0x1ed)+_0x58b44d,_0xd88107),_0x3e8e9b;}catch(_0x55d9f9){const _0x4a8164=Date['now']()-_0x3b7bb9;this[_0x182bfc(0x213)](_0x32908f,_0x182bfc(0x1f5)+_0x58b44d,{'error':_0x55d9f9 instanceof Error?_0x55d9f9[_0x182bfc(0x206)]:String(_0x55d9f9),'duration':_0x4a8164});throw _0x55d9f9;}}[a315_0xcfeb82(0x1ef)](){const _0x5e66fa=a315_0xcfeb82;try{if(!a315_0x41ffe8[_0x5e66fa(0x1f0)](this['logFilePath']))return[];const _0xa4c44e=a315_0x41ffe8[_0x5e66fa(0x20d)](this['logFilePath'],_0x5e66fa(0x211));return _0xa4c44e[_0x5e66fa(0x1e5)]('\x0a')[_0x5e66fa(0x200)](_0x31c072=>_0x31c072[_0x5e66fa(0x1df)]())[_0x5e66fa(0x1f3)](_0x4b3a45=>JSON[_0x5e66fa(0x20b)](_0x4b3a45));}catch(_0x10b3fa){return console[_0x5e66fa(0x1f8)](_0x5e66fa(0x1e8),_0x10b3fa),[];}}['clearLogs'](){const _0x5eb2e8=a315_0xcfeb82;try{a315_0x41ffe8[_0x5eb2e8(0x1f0)](this[_0x5eb2e8(0x1f7)])&&a315_0x41ffe8[_0x5eb2e8(0x1e0)](this[_0x5eb2e8(0x1f7)],'',_0x5eb2e8(0x211));}catch(_0x31dbac){console['warn'](_0x5eb2e8(0x20e),_0x31dbac);}}['getWinstonInstance'](){const _0x2d30f3=a315_0xcfeb82;return this[_0x2d30f3(0x1fd)];}}export const logger=new Logger();function a315_0x2581(){const _0x2c12a4=['16313NtwEYn','utf8','details','error','red','format','duration','15ahxMmr','trim','writeFileSync','combine','transports','19670mkHnEB','300sQRrIb','split','10VUJqRK','log','Failed\x20to\x20read\x20logs:','unknown','8828784AlDAGO','mkdirSync','initWinstonLogger','Completed:\x20','setLogPath','readLogs','existsSync','createLogger','addColors','map','now','Failed:\x20','clear','logFilePath','warn','8157024sRAeQA','35518TBSqiw','level','40075NavkmZ','winstonLogger','rawCommand','errors','filter','toISOString','timestamp','8749270NbdEog','currentRawCommand','.lovrabet.log','message','command','info','green','stringify','parse','success','readFileSync','Failed\x20to\x20clear\x20logs:','1344380nxuLmy'];a315_0x2581=function(){return _0x2c12a4;};return a315_0x2581();}
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a316_0x106a(_0x571aaa,_0x2cc838){_0x571aaa=_0x571aaa-0x15a;const _0x2d4bbf=a316_0x2d4b();let _0x106a8d=_0x2d4bbf[_0x571aaa];return _0x106a8d;}(function(_0x295a86,_0x2915e4){const _0x131a79=a316_0x106a,_0x15c8cb=_0x295a86();while(!![]){try{const _0x2d7ec6=parseInt(_0x131a79(0x163))/0x1*(parseInt(_0x131a79(0x15e))/0x2)+-parseInt(_0x131a79(0x165))/0x3*(parseInt(_0x131a79(0x166))/0x4)+parseInt(_0x131a79(0x15d))/0x5+-parseInt(_0x131a79(0x15c))/0x6+-parseInt(_0x131a79(0x167))/0x7+-parseInt(_0x131a79(0x160))/0x8+parseInt(_0x131a79(0x15f))/0x9*(parseInt(_0x131a79(0x15b))/0xa);if(_0x2d7ec6===_0x2915e4)break;else _0x15c8cb['push'](_0x15c8cb['shift']());}catch(_0x295b46){_0x15c8cb['push'](_0x15c8cb['shift']());}}}(a316_0x2d4b,0xb11b5));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x2dd3b2){const _0x4960bd=a316_0x106a;if(!_0x2dd3b2)return undefined;let _0x1f0d85;try{_0x1f0d85=JSON['parse'](_0x2dd3b2);}catch{throw CliErrors[_0x4960bd(0x15a)](_0x4960bd(0x161)+_0x2dd3b2);}if(!_0x1f0d85||typeof _0x1f0d85!==_0x4960bd(0x162)||Array['isArray'](_0x1f0d85))throw CliErrors[_0x4960bd(0x15a)](_0x4960bd(0x168),_0x4960bd(0x164));return _0x1f0d85;}function a316_0x2d4b(){const _0xf23245=['11546152bvUOOT','Invalid\x20JSON\x20for\x20--params:\x20','object','1TQYbrP','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','33twGjgR','296124ROjTmN','2937200cSxoCl','--params\x20must\x20be\x20a\x20JSON\x20object','validation','1730niQsUS','43806JQyurL','4403375zoGSdS','2647948osfcJj','62703nVDrjT'];a316_0x2d4b=function(){return _0xf23245;};return a316_0x2d4b();}
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a317_0x4a29(){const _0x4896d0=['platform','20XTHApQ','5kNtAZp','696441zzHXVo','127860iHpfXF','66SLWQMW','7417509luTnQg','3764646BpzvGl','2170875vqVEbX','3161637mUcKve','.cmd','win32','8BrleqO','491666yaLQKr'];a317_0x4a29=function(){return _0x4896d0;};return a317_0x4a29();}const a317_0xe6256a=a317_0x2d34;(function(_0x23ca9d,_0x4c7c6d){const _0x294ed8=a317_0x2d34,_0x3cb5c6=_0x23ca9d();while(!![]){try{const _0x5382d3=parseInt(_0x294ed8(0x115))/0x1+-parseInt(_0x294ed8(0x111))/0x2+-parseInt(_0x294ed8(0x117))/0x3*(parseInt(_0x294ed8(0x116))/0x4)+parseInt(_0x294ed8(0x114))/0x5*(-parseInt(_0x294ed8(0x119))/0x6)+parseInt(_0x294ed8(0x11a))/0x7+parseInt(_0x294ed8(0x110))/0x8*(-parseInt(_0x294ed8(0x10d))/0x9)+parseInt(_0x294ed8(0x113))/0xa*(parseInt(_0x294ed8(0x118))/0xb);if(_0x5382d3===_0x4c7c6d)break;else _0x3cb5c6['push'](_0x3cb5c6['shift']());}catch(_0x571d7c){_0x3cb5c6['push'](_0x3cb5c6['shift']());}}}(a317_0x4a29,0x6858f));function a317_0x2d34(_0x1d29f1,_0x56bec8){_0x1d29f1=_0x1d29f1-0x10d;const _0x4a29f5=a317_0x4a29();let _0x2d3469=_0x4a29f5[_0x1d29f1];return _0x2d3469;}export const isWindows=process[a317_0xe6256a(0x112)]===a317_0xe6256a(0x10f);export function resolveNpmBin(_0x3717fc){const _0x38094c=a317_0xe6256a;return isWindows?_0x3717fc+_0x38094c(0x10e):_0x3717fc;}
|
package/lib/utils/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function sleep(
|
|
1
|
+
export function sleep(_0x3e4ed5){return new Promise(_0x23638e=>setTimeout(_0x23638e,_0x3e4ed5));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a319_0x1af683=a319_0x4942;(function(_0x11990b,_0x119d67){const _0x5caa7c=a319_0x4942,_0x212899=_0x11990b();while(!![]){try{const _0x3d3c37=-parseInt(_0x5caa7c(0x1d2))/0x1+parseInt(_0x5caa7c(0x1e2))/0x2+parseInt(_0x5caa7c(0x1d0))/0x3*(-parseInt(_0x5caa7c(0x1f1))/0x4)+-parseInt(_0x5caa7c(0x1ef))/0x5*(parseInt(_0x5caa7c(0x1dd))/0x6)+parseInt(_0x5caa7c(0x1e4))/0x7*(-parseInt(_0x5caa7c(0x1cf))/0x8)+parseInt(_0x5caa7c(0x1e3))/0x9*(parseInt(_0x5caa7c(0x1e9))/0xa)+parseInt(_0x5caa7c(0x1cd))/0xb*(parseInt(_0x5caa7c(0x1ff))/0xc);if(_0x3d3c37===_0x119d67)break;else _0x212899['push'](_0x212899['shift']());}catch(_0x103564){_0x212899['push'](_0x212899['shift']());}}}(a319_0x2ba7,0x28ad2));import a319_0xa8f962 from'node:fs';import a319_0x22e31c from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();function a319_0x4942(_0x5298d3,_0x5d824c){_0x5298d3=_0x5298d3-0x1b8;const _0x2ba7d2=a319_0x2ba7();let _0x49422e=_0x2ba7d2[_0x5298d3];return _0x49422e;}export class TemplateReplacer{static[a319_0x1af683(0x1d1)](_0xb9be77){const _0x575a53=a319_0x1af683;return String(_0xb9be77)[_0x575a53(0x1da)](0x2,'0');}static[a319_0x1af683(0x1d8)](_0x2721ec){const _0x4e9817=a319_0x1af683,_0x3ecd06=_0x2721ec[_0x4e9817(0x1e1)](),_0x1ba46a=this[_0x4e9817(0x1d1)](_0x2721ec[_0x4e9817(0x1bc)]()+0x1),_0x13804f=this['pad'](_0x2721ec[_0x4e9817(0x1f6)]()),_0x2425cd=this[_0x4e9817(0x1d1)](_0x2721ec[_0x4e9817(0x1df)]()),_0x401167=this[_0x4e9817(0x1d1)](_0x2721ec['getMinutes']()),_0x4e4512=this[_0x4e9817(0x1d1)](_0x2721ec[_0x4e9817(0x1fa)]());return{'createdAt':_0x3ecd06+'-'+_0x1ba46a+'-'+_0x13804f+'\x20'+_0x2425cd+':'+_0x401167+':'+_0x4e4512,'createdDate':_0x3ecd06+'-'+_0x1ba46a+'-'+_0x13804f,'createdTime':_0x2425cd+':'+_0x401167+':'+_0x4e4512};}static[a319_0x1af683(0x1d5)](_0x33c3b9){const _0x27c1a6=a319_0x1af683,_0x2d6290=_0x33c3b9[_0x27c1a6(0x1c5)]('/')[_0x27c1a6(0x1e6)]()||_0x33c3b9;return _0x2d6290[_0x27c1a6(0x1c5)]('-')[_0x27c1a6(0x1c9)](_0x527e67=>_0x527e67['charAt'](0x0)[_0x27c1a6(0x1c4)]()+_0x527e67['slice'](0x1)[_0x27c1a6(0x1d6)]())[_0x27c1a6(0x1c1)]('');}static[a319_0x1af683(0x1c6)](_0x507a54){const _0x30b2e8=a319_0x1af683,_0xa7521f=_0x507a54[_0x30b2e8(0x1c5)]('/')[_0x30b2e8(0x1e6)]()||_0x507a54;return _0xa7521f['split']('-')[_0x30b2e8(0x1c9)](_0x231c5c=>_0x231c5c[_0x30b2e8(0x1c3)](0x0)['toUpperCase']()+_0x231c5c[_0x30b2e8(0x1c2)](0x1)[_0x30b2e8(0x1d6)]())[_0x30b2e8(0x1c1)]('\x20');}static[a319_0x1af683(0x1e8)](_0x5f5b43,_0x36e154,_0x437fd8){const _0x45aeba=a319_0x1af683,_0x4ccb21=this[_0x45aeba(0x1d5)](_0x36e154),_0xc350af=this[_0x45aeba(0x1c6)](_0x36e154),{createdAt:_0x486e1c,createdDate:_0x264693,createdTime:_0x5dc067}=this[_0x45aeba(0x1d8)](new Date());let _0x4d35e3=_0x5f5b43[_0x45aeba(0x1ee)](/\{CliVersion\}/g,CLI_VERSION)[_0x45aeba(0x1ee)](/\{ComponentName\}/g,_0x4ccb21)[_0x45aeba(0x1ee)](/\{DisplayTitle\}/g,_0xc350af)[_0x45aeba(0x1ee)](/\{PageName\}/g,_0x36e154)['replace'](/\{TemplateName\}/g,_0x437fd8)[_0x45aeba(0x1ee)](/\{CreatedAt\}/g,_0x486e1c)[_0x45aeba(0x1ee)](/\{CreatedDate\}/g,_0x264693)['replace'](/\{CreatedTime\}/g,_0x5dc067);return _0x4d35e3;}static['replaceApiContent'](_0x2f24c2,_0x179487,_0x1eecb3,_0x347597,_0x1429f6,_0x2600f2,_0x427136,_0x546dd9){const _0x2ca15a=a319_0x1af683,_0xdc4240=new Date(),_0x333189=_0xdc4240[_0x2ca15a(0x1f4)](),_0x5b937d=_0x1eecb3[_0x2ca15a(0x1c9)](_0x26a66f=>{const _0x5cf585=_0x2ca15a,_0x530896=[_0x5cf585(0x1ec)+_0x26a66f['datasetCode']+'\x22',_0x5cf585(0x1d7)+_0x26a66f[_0x5cf585(0x1f9)]+'\x22',_0x5cf585(0x1d3)+_0x26a66f[_0x5cf585(0x1f0)]+'\x22'];return _0x26a66f[_0x5cf585(0x1de)]&&_0x530896[_0x5cf585(0x1bb)](_0x5cf585(0x1fe)+_0x26a66f[_0x5cf585(0x1de)]+'\x22'),_0x5cf585(0x1ce)+_0x530896[_0x5cf585(0x1c1)](',\x20')+_0x5cf585(0x1bf);})[_0x2ca15a(0x1c1)](''),_0x282156=_0x347597||_0x1eecb3[0x0]?.[_0x2ca15a(0x1de)]||_0x2ca15a(0x1b8);let _0x3a8e5a=_0x2f24c2[_0x2ca15a(0x1ee)](/\{AppCode\}/g,_0x179487)[_0x2ca15a(0x1ee)](/\{ModelConfigs\}/g,_0x5b937d)['replace'](/\{ExampleModelName\}/g,_0x282156)[_0x2ca15a(0x1ee)](/\{ApiFileName\}/g,_0x1429f6||'api')[_0x2ca15a(0x1ee)](/\{ConfigName\}/g,_0x2600f2||_0x2ca15a(0x1dc))[_0x2ca15a(0x1ee)](/\{ClientConfigParam\}/g,_0x427136||'')['replace'](/\{VarPrefix\}/g,_0x546dd9||_0x2ca15a(0x1c0))[_0x2ca15a(0x1ee)](/\{CreatedAt\}/g,_0x333189);return _0x3a8e5a;}static async[a319_0x1af683(0x1f7)](_0x181005,_0x1de14d,_0x228d10,_0x14fd02,_0xb1223b=!![]){const _0x21e153=a319_0x1af683,_0x54454b=Date['now']();try{_0xb1223b&&logger[_0x21e153(0x1fc)](_0x21e153(0x1e0),_0x21e153(0x1c7),{'templatePath':_0x181005,'targetPath':_0x1de14d,'pageName':_0x228d10,'templateName':_0x14fd02});await a319_0xa8f962[_0x21e153(0x1e5)][_0x21e153(0x1ed)](_0x1de14d,{'recursive':!![]}),await this[_0x21e153(0x1fd)](_0x181005,_0x1de14d,_0x228d10,_0x14fd02);if(_0xb1223b){const _0x3cc958=Date['now']()-_0x54454b;logger['success']('template',_0x21e153(0x1f8),_0x3cc958,{'pageName':_0x228d10,'templateName':_0x14fd02});}}catch(_0x283529){if(_0xb1223b){const _0x4af710=Date[_0x21e153(0x1e7)]()-_0x54454b;logger[_0x21e153(0x1f2)](_0x21e153(0x1e0),'Template\x20content\x20replacement\x20failed',{'templatePath':_0x181005,'targetPath':_0x1de14d,'pageName':_0x228d10,'templateName':_0x14fd02,'error':_0x283529 instanceof Error?_0x283529[_0x21e153(0x1be)]:String(_0x283529),'duration':_0x4af710});}throw _0x283529;}}static async[a319_0x1af683(0x1fd)](_0xd0f618,_0x5bdd90,_0x28d100,_0x56bb4a){const _0x2f7c57=a319_0x1af683,_0x3df17f=await a319_0xa8f962['promises']['readdir'](_0xd0f618,{'withFileTypes':!![]});for(const _0x44b0b1 of _0x3df17f){const _0x439af2=a319_0x22e31c[_0x2f7c57(0x1c1)](_0xd0f618,_0x44b0b1['name']);let _0x35b71b=a319_0x22e31c[_0x2f7c57(0x1c1)](_0x5bdd90,_0x44b0b1[_0x2f7c57(0x1f0)]);_0x44b0b1['name'][_0x2f7c57(0x1f5)](_0x2f7c57(0x1db))&&(_0x35b71b=a319_0x22e31c[_0x2f7c57(0x1c1)](_0x5bdd90,_0x44b0b1[_0x2f7c57(0x1f0)][_0x2f7c57(0x1ee)](/\.tpl$/,'')));if(_0x44b0b1[_0x2f7c57(0x1eb)]())await a319_0xa8f962[_0x2f7c57(0x1e5)]['mkdir'](_0x35b71b,{'recursive':!![]}),await this[_0x2f7c57(0x1fd)](_0x439af2,_0x35b71b,_0x28d100,_0x56bb4a);else _0x44b0b1[_0x2f7c57(0x1cb)]()&&await this[_0x2f7c57(0x1bd)](_0x439af2,_0x35b71b,_0x28d100,_0x56bb4a);}}static async[a319_0x1af683(0x1bd)](_0x1bf23d,_0x460ce7,_0x52da1a,_0x510d63){const _0x306258=a319_0x1af683,_0x22060a=a319_0x22e31c[_0x306258(0x1ba)](_0x1bf23d)[_0x306258(0x1d6)]();_0x1bf23d['endsWith'](_0x306258(0x1db))&&(_0x460ce7=_0x460ce7[_0x306258(0x1ee)](/\.tpl$/,''));const _0x2a6ea6=[_0x306258(0x1c8),_0x306258(0x1ea),'.jsx','.js',_0x306258(0x1cc),_0x306258(0x1d4),'.css',_0x306258(0x1d9),_0x306258(0x1db)];if(_0x2a6ea6[_0x306258(0x1ca)](_0x22060a)||_0x1bf23d['endsWith'](_0x306258(0x1db))){const _0x1ec47e=await a319_0xa8f962[_0x306258(0x1e5)][_0x306258(0x1f3)](_0x1bf23d,_0x306258(0x1b9)),_0x27a0d4=this[_0x306258(0x1e8)](_0x1ec47e,_0x52da1a,_0x510d63);await a319_0xa8f962[_0x306258(0x1e5)][_0x306258(0x1fb)](_0x460ce7,_0x27a0d4,_0x306258(0x1b9));}else await a319_0xa8f962['promises']['copyFile'](_0x1bf23d,_0x460ce7);}}function a319_0x2ba7(){const _0x2bc7e6=['message','\x20},','LOVRABET','join','slice','charAt','toUpperCase','split','toDisplayTitle','Starting\x20template\x20content\x20replacement','.tsx','map','includes','isFile','.json','3843697tZslFb','\x0a\x20\x20\x20\x20{\x20','696152GtgLzq','144807hwxCrP','pad','57000TekDNK','name:\x20\x22','.md','toComponentName','toLowerCase','tableName:\x20\x22','formatLocalTimestamp','.scss','padStart','.tpl','default','6lUqzxM','alias','getHours','template','getFullYear','343844gCyBAL','6345zfeLpo','21bieBVU','promises','pop','now','replaceContent','970VfgkoL','.ts','isDirectory','datasetCode:\x20\x22','mkdir','replace','1065745ZMEOSp','name','20hMzrqe','error','readFile','toISOString','endsWith','getDate','processTemplate','Template\x20content\x20replacement\x20completed','tableName','getSeconds','writeFile','info','processDirectory','alias:\x20\x22','24nqxhEq','YourModel','utf8','extname','push','getMonth','processFile'];a319_0x2ba7=function(){return _0x2bc7e6;};return a319_0x2ba7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x48947b,_0xbf6959){const _0x56925d=a320_0xc0bb,_0x7686f5=_0x48947b();while(!![]){try{const _0x34b809=parseInt(_0x56925d(0xaf))/0x1*(-parseInt(_0x56925d(0xa7))/0x2)+-parseInt(_0x56925d(0xa4))/0x3*(parseInt(_0x56925d(0xb8))/0x4)+parseInt(_0x56925d(0xb9))/0x5*(-parseInt(_0x56925d(0xbb))/0x6)+-parseInt(_0x56925d(0xb3))/0x7+-parseInt(_0x56925d(0xa8))/0x8+-parseInt(_0x56925d(0xa9))/0x9*(parseInt(_0x56925d(0xb0))/0xa)+-parseInt(_0x56925d(0xba))/0xb*(-parseInt(_0x56925d(0xaa))/0xc);if(_0x34b809===_0xbf6959)break;else _0x7686f5['push'](_0x7686f5['shift']());}catch(_0x40346a){_0x7686f5['push'](_0x7686f5['shift']());}}}(a320_0x1b82,0x80da1));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a320_0x4362c3 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 _0x37c7d2=a320_0xc0bb,_0x1bdc33=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x37c7d2(0xb7)]()[_0x37c7d2(0xbe)]();return _0x1bdc33==='1'||_0x1bdc33==='true'||_0x1bdc33==='yes';}function cacheRoot(){const _0x2dacc9=a320_0xc0bb;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x2dacc9(0xbd));}export function getUpdateNoticeCachePath(){return join(cacheRoot(),'rabetbase-cli','update-check.json');}async function readUpdateNoticeCache(){const _0x2c92f5=a320_0xc0bb;try{const _0x156395=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x3b7dc2=JSON[_0x2c92f5(0xb2)](_0x156395);if(!_0x3b7dc2||typeof _0x3b7dc2!=='object')return{};return _0x3b7dc2;}catch{return{};}}async function writeUpdateNoticeCache(_0x3019ce){const _0x5ddb45=a320_0xc0bb;try{const _0x4a3097=getUpdateNoticeCachePath();await mkdir(dirname(_0x4a3097),{'recursive':!![]}),await writeFile(_0x4a3097,JSON[_0x5ddb45(0xab)](_0x3019ce,null,0x2)+'\x0a',_0x5ddb45(0xa5));}catch{}}function isFreshCheck(_0x3a0609,_0x9bc875){const _0x39108a=a320_0xc0bb;return typeof _0x3a0609[_0x39108a(0xae)]===_0x39108a(0xac)&&_0x9bc875-_0x3a0609[_0x39108a(0xae)]<UPDATE_CHECK_TTL_MS;}function a320_0xc0bb(_0x18d0ce,_0xfce855){_0x18d0ce=_0x18d0ce-0xa4;const _0x1b820b=a320_0x1b82();let _0xc0bb80=_0x1b820b[_0x18d0ce];return _0xc0bb80;}function isRecentlyNotified(_0x291f90,_0x2d5e20,_0x386731){const _0x441997=a320_0xc0bb;return _0x291f90[_0x441997(0xb1)]===_0x2d5e20&&typeof _0x291f90[_0x441997(0xb6)]===_0x441997(0xac)&&_0x386731-_0x291f90[_0x441997(0xb6)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x504fdc){const _0x58515b=a320_0xc0bb;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0x58515b(0xb4)+_0x504fdc;}export async function resolveLatestUpdateNotice(){const _0xa6fc85=a320_0xc0bb;if(isUpdateNoticeDisabled())return null;try{const _0x5626ca=Date[_0xa6fc85(0xc1)](),_0x51a49b=getCliVersion(),_0x124152=await readUpdateNoticeCache();let _0x2bca59=isFreshCheck(_0x124152,_0x5626ca)?_0x124152[_0xa6fc85(0xbc)]?.[_0xa6fc85(0xb7)]():undefined;if(!_0x2bca59&&!isFreshCheck(_0x124152,_0x5626ca)){const _0x5bd700=await getCliVersionPolicy();_0x2bca59=_0x5bd700?.[_0xa6fc85(0xa6)]?.[_0xa6fc85(0xb7)]()||undefined,await writeUpdateNoticeCache({..._0x124152,'checkedAt':_0x5626ca,'latest':_0x2bca59,'failed':!_0x2bca59});}if(!_0x2bca59||!a320_0x4362c3[_0xa6fc85(0xc0)](_0x51a49b)||!a320_0x4362c3[_0xa6fc85(0xc0)](_0x2bca59))return null;if(a320_0x4362c3[_0xa6fc85(0xad)](_0x51a49b,_0x2bca59))return null;if(isRecentlyNotified(_0x124152,_0x2bca59,_0x5626ca))return null;const _0xe65066=CLI_BIN_NAME+_0xa6fc85(0xb5);return await writeUpdateNoticeCache({..._0x124152,'checkedAt':isFreshCheck(_0x124152,_0x5626ca)?_0x124152[_0xa6fc85(0xae)]:_0x5626ca,'latest':_0x2bca59,'failed':![],'lastNotifiedVersion':_0x2bca59,'lastNotifiedAt':_0x5626ca}),{'command':_0xe65066,'current':_0x51a49b,'latest':_0x2bca59,'url':buildNpmVersionUrl(_0x2bca59),'message':CLI_BIN_NAME+'\x20'+_0x2bca59+_0xa6fc85(0xbf)+_0x51a49b+',\x20run:\x20'+_0xe65066};}catch{return null;}}function a320_0x1b82(){const _0x1ac3d8=['38OktvBa','10XAzIyO','lastNotifiedVersion','parse','2768682qLPMjz','/v/','\x20update','lastNotifiedAt','trim','56kLJnGx','2242525fGHLoA','40792235YHiKOI','12uwdRXV','latest','.cache','toLowerCase','\x20available,\x20current\x20','valid','now','17700vMVKqh','utf8','stableVersion','42088phCDKc','6034160uAsTaw','2263770pNwcks','12hPmAnA','stringify','number','gte','checkedAt'];a320_0x1b82=function(){return _0x1ac3d8;};return a320_0x1b82();}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x317217,_0x260ce5){var _0x18abd7=a321_0x4fe6,_0x3b4663=_0x317217();while(!![]){try{var _0xe54592=parseInt(_0x18abd7(0xf2))/0x1*(-parseInt(_0x18abd7(0xf1))/0x2)+-parseInt(_0x18abd7(0xed))/0x3*(parseInt(_0x18abd7(0xf0))/0x4)+parseInt(_0x18abd7(0xee))/0x5+-parseInt(_0x18abd7(0xef))/0x6+-parseInt(_0x18abd7(0xeb))/0x7*(-parseInt(_0x18abd7(0xea))/0x8)+-parseInt(_0x18abd7(0xf3))/0x9+parseInt(_0x18abd7(0xec))/0xa;if(_0xe54592===_0x260ce5)break;else _0x3b4663['push'](_0x3b4663['shift']());}catch(_0x5edaf7){_0x3b4663['push'](_0x3b4663['shift']());}}}(a321_0x1871,0xeecfc));import{VERSION}from'../generated/build-info.js';function a321_0x4fe6(_0x131dce,_0xa6b7a5){_0x131dce=_0x131dce-0xea;var _0x18714b=a321_0x1871();var _0x4fe6a3=_0x18714b[_0x131dce];return _0x4fe6a3;}export function getCliVersion(){return VERSION;}function a321_0x1871(){var _0x4213ca=['10616760CcdcoX','2952uymzWn','11053XOzBWo','48040310ggwJQB','9mtHoxb','101630XqaJMu','6196200gQuymA','1736368FOTlZw','6yyNdlz','304740pUDqvQ'];a321_0x1871=function(){return _0x4213ca;};return a321_0x1871();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3cc2b1,_0x22d2d3){var _0x2776a6=a322_0x4c4f,_0x5938f4=_0x3cc2b1();while(!![]){try{var _0x10700e=-parseInt(_0x2776a6(0xb0))/0x1+-parseInt(_0x2776a6(0xae))/0x2*(-parseInt(_0x2776a6(0xb6))/0x3)+-parseInt(_0x2776a6(0xb3))/0x4*(-parseInt(_0x2776a6(0xb4))/0x5)+parseInt(_0x2776a6(0xb5))/0x6*(-parseInt(_0x2776a6(0xb7))/0x7)+parseInt(_0x2776a6(0xb2))/0x8+parseInt(_0x2776a6(0xb8))/0x9+-parseInt(_0x2776a6(0xb1))/0xa*(parseInt(_0x2776a6(0xaf))/0xb);if(_0x10700e===_0x22d2d3)break;else _0x5938f4['push'](_0x5938f4['shift']());}catch(_0x2c019c){_0x5938f4['push'](_0x5938f4['shift']());}}}(a322_0x41af,0x21556));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a322_0x4c4f(_0x172240,_0x9288be){_0x172240=_0x172240-0xae;var _0x41af4a=a322_0x41af();var _0x4c4f8d=_0x41af4a[_0x172240];return _0x4c4f8d;}export async function withActiveCookie(_0x1b5bbe,_0x2384c5){setActiveCookie(_0x1b5bbe);try{return await _0x2384c5();}finally{clearActiveCookie();}}function a322_0x41af(){var _0x582937=['474862uVWRiR','3179uXfQTY','163938tltAiG','8830vTCpRy','1898888FocVgo','44rfKmfM','87590ooERXz','977034eFLzwx','3ovvQok','7Mqlrtx','459072wXtygB'];a322_0x41af=function(){return _0x582937;};return a322_0x41af();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a323_0x1c77(){var _0x551983=['1476eVdqxP','290qPgDpi','11NiugsS','2607SRArcz','6478zjTVUv','7532GaZRWu','217sFtMub','5112510nvAHXH','3903272FloVHq','29748564xyHwlR','14cLYtJS','26glUbfD','1228122ZaGXBV'];a323_0x1c77=function(){return _0x551983;};return a323_0x1c77();}(function(_0x1e083a,_0x1c9565){var _0x560f23=a323_0x3c67,_0x1fe3b7=_0x1e083a();while(!![]){try{var _0x2de087=parseInt(_0x560f23(0xca))/0x1*(-parseInt(_0x560f23(0xd5))/0x2)+parseInt(_0x560f23(0xd4))/0x3*(-parseInt(_0x560f23(0xd6))/0x4)+-parseInt(_0x560f23(0xd2))/0x5*(parseInt(_0x560f23(0xd1))/0x6)+-parseInt(_0x560f23(0xce))/0x7*(parseInt(_0x560f23(0xcc))/0x8)+-parseInt(_0x560f23(0xd0))/0x9+-parseInt(_0x560f23(0xcb))/0xa*(parseInt(_0x560f23(0xd3))/0xb)+-parseInt(_0x560f23(0xcd))/0xc*(-parseInt(_0x560f23(0xcf))/0xd);if(_0x2de087===_0x1c9565)break;else _0x1fe3b7['push'](_0x1fe3b7['shift']());}catch(_0x19b841){_0x1fe3b7['push'](_0x1fe3b7['shift']());}}}(a323_0x1c77,0xef875));function a323_0x3c67(_0x57b6fc,_0x4af8c9){_0x57b6fc=_0x57b6fc-0xca;var _0x1c77f2=a323_0x1c77();var _0x3c670d=_0x1c77f2[_0x57b6fc];return _0x3c670d;}export function writeCliSideChannelLine(_0x4f50d9){process['stderr']['write'](_0x4f50d9+'\x0a');}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovrabet/rabetbase-cli",
|
|
3
|
-
"version": "2.5.2-beta.
|
|
3
|
+
"version": "2.5.2-beta.7",
|
|
4
4
|
"description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, Backend Function, 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.5.2-beta.
|
|
3
|
+
version: 2.5.2-beta.7
|
|
4
4
|
description: "Use for Lovrabet development work through the rabetbase CLI: create or bind projects (including creating an AppCode project in the current folder), pull Dataset/API facts and maintain SDK clients, or manage datasets, Instant API access policies, database connections, pages, SQL, Backend Functions, menus, notifications, knowledge bases and kb search, Agent Context Rules, roles, files, OCR, deployment metadata, platform issues, and 钉钉沙箱账号绑定. Trigger when the user mentions rabetbase, Lovrabet development, AppCode, Dataset, Instant API allow/deny/route policy, project creation, api pull/codegen, dblink, page, SQL, BFF, menu, notification, knowledge base, kb search, Agent Context Rules, RULES.md, DATABASE.md, rule list/get/set, role, file/OCR, or related development workflows."
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "rabetbase",
|
|
4
4
|
"packageName": "@lovrabet/rabetbase-cli",
|
|
5
|
-
"packageVersion": "2.5.2-beta.
|
|
6
|
-
"skillVersion": "2.5.2-beta.
|
|
5
|
+
"packageVersion": "2.5.2-beta.7",
|
|
6
|
+
"skillVersion": "2.5.2-beta.7",
|
|
7
7
|
"files": [
|
|
8
8
|
"SKILL.md",
|
|
9
9
|
"guides/backend-function.md",
|
|
@@ -140,5 +140,5 @@
|
|
|
140
140
|
"references/rabetbase-user-account.md",
|
|
141
141
|
"references/rabetbase-workspace.md"
|
|
142
142
|
],
|
|
143
|
-
"digest": "
|
|
143
|
+
"digest": "c398ae461dd9b549c11a2cde8ebf8848beb3a93a478ba765d00b8ebfdbbe77aa"
|
|
144
144
|
}
|