@lovrabet/rabetbase-cli 2.5.2-beta.4 → 2.5.2-beta.5
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/auto-sync.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/deployment/sync.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.d.ts +6 -5
- 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
|
-
const
|
|
1
|
+
const a314_0x838b93=a314_0x1162;(function(_0x3d5d68,_0x35b348){const _0x2ea467=a314_0x1162,_0x514cc8=_0x3d5d68();while(!![]){try{const _0x22be10=parseInt(_0x2ea467(0x195))/0x1+-parseInt(_0x2ea467(0x1a8))/0x2*(-parseInt(_0x2ea467(0x19e))/0x3)+-parseInt(_0x2ea467(0x194))/0x4+parseInt(_0x2ea467(0x1ae))/0x5*(-parseInt(_0x2ea467(0x1b4))/0x6)+parseInt(_0x2ea467(0x19f))/0x7*(parseInt(_0x2ea467(0x197))/0x8)+-parseInt(_0x2ea467(0x1b0))/0x9*(parseInt(_0x2ea467(0x199))/0xa)+parseInt(_0x2ea467(0x1ac))/0xb;if(_0x22be10===_0x35b348)break;else _0x514cc8['push'](_0x514cc8['shift']());}catch(_0x209a4c){_0x514cc8['push'](_0x514cc8['shift']());}}}(a314_0x348e,0xce179));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 _0x58a0cd=a314_0x1162,_0x3edddc=getTemplateBaseUrl();return _0x3edddc+_0x58a0cd(0x1b3);}const CACHE_DIR=join(homedir(),a314_0x838b93(0x196),a314_0x838b93(0x192));export async function fetchGuidesFromCDN(){const _0x1bf3a8=a314_0x838b93,_0x2dab70=getGuidesCdnUrl(),_0x1d1f5d=await fetch(_0x2dab70,{'headers':{'Accept':_0x1bf3a8(0x1a1)}});if(!_0x1d1f5d['ok'])throw new Error(_0x1bf3a8(0x1a6)+_0x1d1f5d[_0x1bf3a8(0x18f)]+'\x20'+_0x1d1f5d[_0x1bf3a8(0x1a4)]);const _0x36490a=await _0x1d1f5d[_0x1bf3a8(0x198)]();if(!_0x36490a[_0x1bf3a8(0x1ab)]||typeof _0x36490a['guides']!==_0x1bf3a8(0x1a0))throw new Error(_0x1bf3a8(0x19d));return _0x36490a;}export function writeGuidesToProject(_0x1a3426,_0x193f0,_0x1bb1dc='.lovrabet/skill/guides',_0x4f3407){const _0x17f427=a314_0x838b93,_0x43b130=join(_0x193f0,_0x1bb1dc);mkdirSync(_0x43b130,{'recursive':!![]});for(const [_0x3aa262,_0x468823]of Object[_0x17f427(0x191)](_0x1a3426['guides'])){let _0x4ce141=_0x468823[_0x17f427(0x1a3)];_0x468823[_0x17f427(0x1ad)]&&(_0x4ce141=appendUpdateTime(_0x4ce141,_0x468823[_0x17f427(0x1ad)])),writeFileSync(join(_0x43b130,_0x3aa262+_0x17f427(0x1aa)),_0x4ce141,_0x17f427(0x19a));}}export function appendUpdateTime(_0x4a4e53,_0x374143){const _0x301c63=a314_0x838b93;return _0x4a4e53=_0x4a4e53[_0x301c63(0x190)](/\n*>更新时间:.*$/m,''),_0x4a4e53[_0x301c63(0x1a2)]()+(_0x301c63(0x1b2)+_0x374143);}function a314_0x1162(_0x3c03dd,_0x462b56){_0x3c03dd=_0x3c03dd-0x18e;const _0x348e17=a314_0x348e();let _0x1162d1=_0x348e17[_0x3c03dd];return _0x1162d1;}export function getSkillTemplate(_0x8af455){const _0xbb8995=a314_0x838b93;return _0x8af455[_0xbb8995(0x1af)]?.['content']||'';}export function appendExtendContents(_0xffd7e6,_0x118e8f,_0x452d3b){const _0xb8ddef=a314_0x838b93,_0x39c92c=[];for(const [,_0xd4761]of Object[_0xb8ddef(0x191)](_0x118e8f['guides'])){_0xd4761[_0xb8ddef(0x1a5)]&&_0x39c92c[_0xb8ddef(0x1a9)](_0xd4761[_0xb8ddef(0x1a5)][_0xb8ddef(0x1a2)]());}if(_0x39c92c[_0xb8ddef(0x1a7)]===0x0)return _0xffd7e6;return _0xffd7e6[_0xb8ddef(0x1a2)]()+'\x0a\x0a'+_0x39c92c[_0xb8ddef(0x1b1)]('\x0a\x0a')+'\x0a';}function a314_0x348e(){const _0x2dbd0f=['application/json','trimEnd','content','statusText','extendContent','CDN\x20request\x20failed:\x20','length','12mDBCFi','push','.md','guides','17107607xVqoGG','lastUpdated','171845oEpZeQ','skillTemplate','9oNDDvM','join','\x0a\x0a>更新时间:','/skills/guides.json','126KYVkmS','map','status','replace','entries','cache','CDN\x20data\x20is\x20missing\x20skillTemplate','6208888aChMLV','343010pDGnLF','.lovrabet','1328olJfce','json','12966830KKdzSE','utf-8','title','path','CDN\x20returned\x20invalid\x20data','824439HOitZp','36589ZKdtny','object'];a314_0x348e=function(){return _0x2dbd0f;};return a314_0x348e();}export function writeSkillFile(_0x4593aa,_0x19b988,_0x27a7a2){const _0x16020e=a314_0x838b93,_0x5ac646=getSkillTemplate(_0x4593aa);if(!_0x5ac646)throw new Error(_0x16020e(0x193));const _0x3bbe70=dirname(_0x19b988);mkdirSync(_0x3bbe70,{'recursive':!![]});let _0x4e07b0=_0x5ac646[_0x16020e(0x190)](/\{\{IDE_NAME\}\}/g,_0x27a7a2);_0x4e07b0=appendExtendContents(_0x4e07b0,_0x4593aa),_0x4593aa['skillTemplate'][_0x16020e(0x1ad)]&&(_0x4e07b0=appendUpdateTime(_0x4e07b0,_0x4593aa[_0x16020e(0x1af)][_0x16020e(0x1ad)])),writeFileSync(_0x19b988,_0x4e07b0,_0x16020e(0x19a));}export async function installGuides(_0x8a9d43){const _0x129168=a314_0x838b93,_0x13eeab=await fetchGuidesFromCDN();return writeGuidesToProject(_0x13eeab,_0x8a9d43),Object['keys'](_0x13eeab[_0x129168(0x1ab)])[_0x129168(0x1a7)];}export function getGuidesSummary(_0x750fd8){const _0x309677=a314_0x838b93;return Object[_0x309677(0x191)](_0x750fd8[_0x309677(0x1ab)])[_0x309677(0x18e)](([_0x59b3e7,_0x47964b])=>({'key':_0x59b3e7,'title':_0x47964b[_0x309677(0x19b)],'path':_0x47964b[_0x309677(0x19c)]}));}
|
package/lib/utils/http-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x37db87,_0x4c22e5){const _0x3a1574=a315_0x51bc,_0x1207df=_0x37db87();while(!![]){try{const _0x3a0b65=-parseInt(_0x3a1574(0xa1))/0x1*(-parseInt(_0x3a1574(0x9b))/0x2)+parseInt(_0x3a1574(0xae))/0x3*(-parseInt(_0x3a1574(0xb4))/0x4)+parseInt(_0x3a1574(0xa6))/0x5*(parseInt(_0x3a1574(0xa4))/0x6)+-parseInt(_0x3a1574(0xb5))/0x7*(-parseInt(_0x3a1574(0xa3))/0x8)+parseInt(_0x3a1574(0xa2))/0x9+parseInt(_0x3a1574(0xa0))/0xa*(parseInt(_0x3a1574(0x9a))/0xb)+-parseInt(_0x3a1574(0xab))/0xc*(parseInt(_0x3a1574(0xad))/0xd);if(_0x3a0b65===_0x4c22e5)break;else _0x1207df['push'](_0x1207df['shift']());}catch(_0x34b3fb){_0x1207df['push'](_0x1207df['shift']());}}}(a315_0x4877,0x95116));function a315_0x4877(){const _0x26c072=['includes','2860yqlgLo','109051fkDMIJ','1514205pqbtfn','5566816kQFRRz','1649178gvNxxS','message','5rEKiNz','application/json','text','ENOTFOUND','Request\x20failed','48nbQUoU','*\x20Request\x20failed;\x20retry\x20','2002663IFKHNX','3BfjVLY','AbortError','signal','headers','TypeError','get','4780772cMPTkj','7ZcOVIJ','fetch','statusText','ECONNRESET','19987ykmVXn','14AIKdYC','\x20in\x20','ms...','log'];a315_0x4877=function(){return _0x26c072;};return a315_0x4877();}export async function httpRequest(_0x2e14a6,_0x475dbf={}){const _0x5bb096=a315_0x51bc,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x475dbf;let _0x2f7f1e=null;for(let _0x30ca11=0x0;_0x30ca11<=retries;_0x30ca11++){try{const _0x18286b=new AbortController(),_0x591fd3=setTimeout(()=>_0x18286b['abort'](),timeout),_0xf4e739=await fetch(_0x2e14a6,{'headers':headers,'signal':_0x18286b[_0x5bb096(0xb0)]});clearTimeout(_0x591fd3);let _0xe36f50;const _0x15f7e7=_0xf4e739['headers'][_0x5bb096(0xb3)]('content-type');return _0x15f7e7?.[_0x5bb096(0x9f)](_0x5bb096(0xa7))?_0xe36f50=await _0xf4e739['json']():_0xe36f50=await _0xf4e739[_0x5bb096(0xa8)](),{'ok':_0xf4e739['ok'],'status':_0xf4e739['status'],'statusText':_0xf4e739[_0x5bb096(0x98)],'data':_0xe36f50,'headers':_0xf4e739[_0x5bb096(0xb1)],'url':_0xf4e739['url'],'text':()=>_0xf4e739[_0x5bb096(0xa8)]()};}catch(_0x1637c9){_0x2f7f1e=_0x1637c9 instanceof Error?_0x1637c9:new Error(String(_0x1637c9));if(_0x30ca11===retries)break;if(shouldRetry(_0x1637c9)){console[_0x5bb096(0x9e)](_0x5bb096(0xac)+(_0x30ca11+0x1)+_0x5bb096(0x9c)+retryDelay+_0x5bb096(0x9d)),await sleep(retryDelay);continue;}else break;}}throw _0x2f7f1e||new Error(_0x5bb096(0xaa));}function shouldRetry(_0xf4736a){const _0x3daccb=a315_0x51bc;if(_0xf4736a instanceof Error){if(_0xf4736a['name']===_0x3daccb(0xaf))return![];if(_0xf4736a['name']===_0x3daccb(0xb2)&&_0xf4736a['message']['includes'](_0x3daccb(0xb6)))return!![];if(_0xf4736a['message']['includes'](_0x3daccb(0x99)))return!![];if(_0xf4736a[_0x3daccb(0xa5)][_0x3daccb(0x9f)](_0x3daccb(0xa9)))return![];}return![];}function a315_0x51bc(_0x2cf996,_0x241be7){_0x2cf996=_0x2cf996-0x98;const _0x4877ef=a315_0x4877();let _0x51bc21=_0x4877ef[_0x2cf996];return _0x51bc21;}function sleep(_0xb28c6b){return new Promise(_0x299bb1=>setTimeout(_0x299bb1,_0xb28c6b));}export function validateUrl(_0xd1705){try{return new URL(_0xd1705),!![];}catch{return![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3ba22c,_0x183e34){const _0x2e817c=a316_0x33a3,_0x3cb4b8=_0x3ba22c();while(!![]){try{const _0x3ca190=-parseInt(_0x2e817c(0x8b))/0x1+-parseInt(_0x2e817c(0x99))/0x2*(-parseInt(_0x2e817c(0x8a))/0x3)+-parseInt(_0x2e817c(0x89))/0x4*(parseInt(_0x2e817c(0x91))/0x5)+parseInt(_0x2e817c(0x88))/0x6*(-parseInt(_0x2e817c(0x90))/0x7)+parseInt(_0x2e817c(0x96))/0x8*(parseInt(_0x2e817c(0x93))/0x9)+-parseInt(_0x2e817c(0x8e))/0xa+parseInt(_0x2e817c(0x8d))/0xb*(parseInt(_0x2e817c(0x92))/0xc);if(_0x3ca190===_0x183e34)break;else _0x3cb4b8['push'](_0x3cb4b8['shift']());}catch(_0x25f8c7){_0x3cb4b8['push'](_0x3cb4b8['shift']());}}}(a316_0x1f8f,0xdbcbf));function a316_0x1f8f(){const _0x2a88ea=['1388495cXuDQo','isTTY','2830366mwUyvA','775990FpRpkc','setRawMode','2996637CVMrGV','63475wOkbHJ','192JOQhIc','96696iCrmEx','nonInteractive','stdout','200SLkIqS','stdin','isRaw','2eqVCAP','true','24TSgdAy','508zHEQbk','3916542jutvyz'];a316_0x1f8f=function(){return _0x2a88ea;};return a316_0x1f8f();}function env(_0x55f64d){return process.env[`RABETBASE_${_0x55f64d}`]||process.env[`LOVRABET_${_0x55f64d}`]||undefined;}function a316_0x33a3(_0x2d5a0c,_0x20c40c){_0x2d5a0c=_0x2d5a0c-0x88;const _0x1f8f3f=a316_0x1f8f();let _0x33a3ec=_0x1f8f3f[_0x2d5a0c];return _0x33a3ec;}export function isNonInteractive(_0x3628ee){const _0x540c77=a316_0x33a3;return!!(_0x3628ee[_0x540c77(0x94)]||_0x3628ee['ci']||env('CI')===_0x540c77(0x9a)||process.env.CI===_0x540c77(0x9a)||!process[_0x540c77(0x95)][_0x540c77(0x8c)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x29b455=a316_0x33a3;if(!process[_0x29b455(0x97)][_0x29b455(0x8c)])return![];try{const _0x22ce66=process[_0x29b455(0x97)][_0x29b455(0x98)];return process[_0x29b455(0x97)][_0x29b455(0x8f)](!![]),process['stdin'][_0x29b455(0x8f)](_0x22ce66??![]),!![];}catch{return![];}}
|
package/lib/utils/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a317_0x519f7a=a317_0x1b6d;(function(_0x5684df,_0x504c00){const _0x567704=a317_0x1b6d,_0x44acc7=_0x5684df();while(!![]){try{const _0x568fcf=parseInt(_0x567704(0xcb))/0x1*(-parseInt(_0x567704(0xd6))/0x2)+-parseInt(_0x567704(0xbf))/0x3+parseInt(_0x567704(0xe6))/0x4*(parseInt(_0x567704(0xf1))/0x5)+parseInt(_0x567704(0xbd))/0x6+-parseInt(_0x567704(0xc0))/0x7*(-parseInt(_0x567704(0xc6))/0x8)+parseInt(_0x567704(0xdd))/0x9+-parseInt(_0x567704(0xdb))/0xa;if(_0x568fcf===_0x504c00)break;else _0x44acc7['push'](_0x44acc7['shift']());}catch(_0x49e611){_0x44acc7['push'](_0x44acc7['shift']());}}}(a317_0x4f04,0x5b010));import a317_0x14c810 from'winston';import a317_0x59d307 from'node:fs';function a317_0x4f04(){const _0x56865a=['.lovrabet.log','message','level','4562680ctyDPd','duration','split','errors','format','1MbUysi','clearLogs','readFileSync','info','printf','clear','stringify','mkdirSync','getWinstonInstance','logFilePath','setRawCommand','1176478IyjAKm','Failed:\x20','join','initWinstonLogger','setLogPath','10019830NdPXuj','timestamp','2279133ngImEW','log','now','details','Starting:\x20','rawCommand','dirname','Failed\x20to\x20read\x20logs:','blue','8VUcnYZ','yellow','currentRawCommand','error','addColors','green','existsSync','readLogs','writeFileSync','winstonLogger','utf8','1081135xEZoAM','logTask','warn','4320498FoSNgN','success','39405CDdDAz','7qbPWbX','Completed:\x20','createLogger'];a317_0x4f04=function(){return _0x56865a;};return a317_0x4f04();}function a317_0x1b6d(_0x117441,_0x5df11b){_0x117441=_0x117441-0xbc;const _0x4f0419=a317_0x4f04();let _0x1b6dc7=_0x4f0419[_0x117441];return _0x1b6dc7;}import a317_0x2df783 from'node:path';class Logger{['winstonLogger'];['logFilePath'];[a317_0x519f7a(0xe8)]='';constructor(){const _0x38b648=a317_0x519f7a;this[_0x38b648(0xd4)]='';}[a317_0x519f7a(0xd5)](_0x1d242d){const _0x192c98=a317_0x519f7a;this[_0x192c98(0xe8)]=_0x1d242d;}[a317_0x519f7a(0xd9)](){const _0x2d6f2f=a317_0x519f7a,_0x473e77=a317_0x2df783[_0x2d6f2f(0xe3)](this['logFilePath']);!a317_0x59d307[_0x2d6f2f(0xec)](_0x473e77)&&a317_0x59d307[_0x2d6f2f(0xd2)](_0x473e77,{'recursive':!![]});const _0x2e12ea=a317_0x14c810[_0x2d6f2f(0xca)]['combine'](a317_0x14c810['format']['timestamp'](),a317_0x14c810[_0x2d6f2f(0xca)][_0x2d6f2f(0xc9)]({'stack':!![]}),a317_0x14c810[_0x2d6f2f(0xca)][_0x2d6f2f(0xcf)](_0x4b45a7=>{const _0x413410=_0x2d6f2f,_0x4b516e={'timestamp':_0x4b45a7[_0x413410(0xdc)]||new Date()['toISOString'](),'level':_0x4b45a7[_0x413410(0xc5)]||'info','command':_0x4b45a7['command']||'unknown','rawCommand':_0x4b45a7[_0x413410(0xe2)]||this[_0x413410(0xe8)]||undefined,'message':_0x4b45a7[_0x413410(0xc4)]||'','duration':_0x4b45a7[_0x413410(0xc7)]||undefined,'details':_0x4b45a7[_0x413410(0xe0)]||undefined};return JSON[_0x413410(0xd1)](_0x4b516e);}));this['winstonLogger']=a317_0x14c810[_0x2d6f2f(0xc2)]({'level':_0x2d6f2f(0xce),'format':_0x2e12ea,'transports':[new a317_0x14c810['transports']['File']({'filename':this['logFilePath'],'level':_0x2d6f2f(0xce)})],'silent':![]}),a317_0x14c810[_0x2d6f2f(0xea)]({'success':_0x2d6f2f(0xeb),'error':'red','warn':_0x2d6f2f(0xe7),'info':_0x2d6f2f(0xe5)});}[a317_0x519f7a(0xda)](_0x491cd4){const _0x38ae19=a317_0x519f7a;this[_0x38ae19(0xd4)]=a317_0x2df783[_0x38ae19(0xd8)](_0x491cd4,_0x38ae19(0xc3)),this[_0x38ae19(0xef)]&&this[_0x38ae19(0xef)][_0x38ae19(0xd0)](),this['initWinstonLogger']();}[a317_0x519f7a(0xce)](_0x14ef51,_0x12d2f0,_0x434ed9){const _0x4b5fc2=a317_0x519f7a;if(!this[_0x4b5fc2(0xd4)]||!this[_0x4b5fc2(0xef)])return;this[_0x4b5fc2(0xef)][_0x4b5fc2(0xce)](_0x12d2f0,{'command':_0x14ef51,'details':_0x434ed9});}[a317_0x519f7a(0xbe)](_0x52fb4b,_0x2f2313,_0x574cdf,_0x46f3b8){const _0x4020e7=a317_0x519f7a;if(!this[_0x4020e7(0xd4)]||!this['winstonLogger'])return;this[_0x4020e7(0xef)][_0x4020e7(0xde)](_0x4020e7(0xce),_0x2f2313,{'level':'success','command':_0x52fb4b,'duration':_0x574cdf,'details':_0x46f3b8});}['error'](_0x1e0ad5,_0x1fc240,_0x364acb){const _0x53304d=a317_0x519f7a;if(!this[_0x53304d(0xd4)]||!this[_0x53304d(0xef)])return;this[_0x53304d(0xef)]['error'](_0x1fc240,{'command':_0x1e0ad5,'details':_0x364acb});}[a317_0x519f7a(0xbc)](_0x23e07b,_0x4cefeb,_0x13e08e){const _0x89e85c=a317_0x519f7a;if(!this[_0x89e85c(0xd4)]||!this['winstonLogger'])return;this[_0x89e85c(0xef)][_0x89e85c(0xbc)](_0x4cefeb,{'command':_0x23e07b,'details':_0x13e08e});}async[a317_0x519f7a(0xf2)](_0x1034ef,_0x747ee8,_0x1a492d){const _0x5d0a04=a317_0x519f7a,_0x4d881f=Date['now']();this['info'](_0x1034ef,_0x5d0a04(0xe1)+_0x747ee8);try{const _0x9e8d76=await _0x1a492d(),_0x47e7c5=Date[_0x5d0a04(0xdf)]()-_0x4d881f;return this[_0x5d0a04(0xbe)](_0x1034ef,_0x5d0a04(0xc1)+_0x747ee8,_0x47e7c5),_0x9e8d76;}catch(_0x328d1d){const _0x5d2e36=Date[_0x5d0a04(0xdf)]()-_0x4d881f;this[_0x5d0a04(0xe9)](_0x1034ef,_0x5d0a04(0xd7)+_0x747ee8,{'error':_0x328d1d instanceof Error?_0x328d1d[_0x5d0a04(0xc4)]:String(_0x328d1d),'duration':_0x5d2e36});throw _0x328d1d;}}[a317_0x519f7a(0xed)](){const _0x54acfd=a317_0x519f7a;try{if(!a317_0x59d307[_0x54acfd(0xec)](this['logFilePath']))return[];const _0x45c53d=a317_0x59d307[_0x54acfd(0xcd)](this['logFilePath'],_0x54acfd(0xf0));return _0x45c53d[_0x54acfd(0xc8)]('\x0a')['filter'](_0x43e6d0=>_0x43e6d0['trim']())['map'](_0x229c8e=>JSON['parse'](_0x229c8e));}catch(_0x2adb69){return console[_0x54acfd(0xbc)](_0x54acfd(0xe4),_0x2adb69),[];}}[a317_0x519f7a(0xcc)](){const _0xdef51=a317_0x519f7a;try{a317_0x59d307['existsSync'](this['logFilePath'])&&a317_0x59d307[_0xdef51(0xee)](this[_0xdef51(0xd4)],'','utf8');}catch(_0x11921c){console[_0xdef51(0xbc)]('Failed\x20to\x20clear\x20logs:',_0x11921c);}}[a317_0x519f7a(0xd3)](){return this['winstonLogger'];}}export const logger=new Logger();
|
package/lib/utils/params.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x49b064,_0x2be338){const _0x4355a5=a318_0x99a7,_0x57fd8f=_0x49b064();while(!![]){try{const _0x1e16c1=-parseInt(_0x4355a5(0x9c))/0x1*(-parseInt(_0x4355a5(0x9d))/0x2)+-parseInt(_0x4355a5(0x96))/0x3+parseInt(_0x4355a5(0xa3))/0x4*(parseInt(_0x4355a5(0xa1))/0x5)+-parseInt(_0x4355a5(0xa0))/0x6*(parseInt(_0x4355a5(0x98))/0x7)+-parseInt(_0x4355a5(0x94))/0x8*(-parseInt(_0x4355a5(0xa2))/0x9)+-parseInt(_0x4355a5(0x95))/0xa*(parseInt(_0x4355a5(0x9e))/0xb)+parseInt(_0x4355a5(0x9a))/0xc*(parseInt(_0x4355a5(0x93))/0xd);if(_0x1e16c1===_0x2be338)break;else _0x57fd8f['push'](_0x57fd8f['shift']());}catch(_0x3670a4){_0x57fd8f['push'](_0x57fd8f['shift']());}}}(a318_0x1b50,0x297fc));import{CliErrors}from'../errors.js';function a318_0x1b50(){const _0x1a2ad4=['--params\x20must\x20be\x20a\x20JSON\x20object','29851BJdtAK','6rDgGDp','28875qrwuSq','object','24rLWOVy','4250rQwYtD','151677nTzBsw','924cSxVvf','Invalid\x20JSON\x20for\x20--params:\x20','parse','13ffKgLt','16OqovHF','290BxhGXI','785529LqAnVC','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','276178KsRFlc','validation','4153860MBjhMY'];a318_0x1b50=function(){return _0x1a2ad4;};return a318_0x1b50();}function a318_0x99a7(_0x37570e,_0x5a1458){_0x37570e=_0x37570e-0x92;const _0x1b501d=a318_0x1b50();let _0x99a7b8=_0x1b501d[_0x37570e];return _0x99a7b8;}export function parseJsonParams(_0x3c1bb7){const _0x5b4482=a318_0x99a7;if(!_0x3c1bb7)return undefined;let _0x18d282;try{_0x18d282=JSON[_0x5b4482(0x92)](_0x3c1bb7);}catch{throw CliErrors[_0x5b4482(0x99)](_0x5b4482(0xa4)+_0x3c1bb7);}if(!_0x18d282||typeof _0x18d282!==_0x5b4482(0x9f)||Array['isArray'](_0x18d282))throw CliErrors[_0x5b4482(0x99)](_0x5b4482(0x9b),_0x5b4482(0x97));return _0x18d282;}
|
package/lib/utils/platform.d.ts
CHANGED
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
* Platform-specific utilities for cross-platform CLI execution.
|
|
3
3
|
*
|
|
4
4
|
* On Windows, npm-installed CLIs (npm, npx, pnpm, yarn) are .cmd batch
|
|
5
|
-
* wrappers.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* wrappers. Execa resolves these wrappers cross-platform when given the
|
|
6
|
+
* unmodified command name. Native spawn/spawnSync callers must not assume that
|
|
7
|
+
* appending `.cmd` makes a batch wrapper directly executable with shell disabled.
|
|
8
8
|
*
|
|
9
9
|
* NOTE: Native executables like bun.exe do NOT need this treatment.
|
|
10
10
|
* Only use resolveNpmBin for npm-ecosystem batch wrappers.
|
|
11
11
|
*/
|
|
12
12
|
export declare const isWindows: boolean;
|
|
13
13
|
/**
|
|
14
|
-
* Resolve the
|
|
15
|
-
*
|
|
14
|
+
* Resolve the historical executable name used by existing Execa callers.
|
|
15
|
+
* New cross-platform calls should prefer passing the unmodified command name
|
|
16
|
+
* directly to Execa. Do not use this helper with native spawn/spawnSync.
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
19
|
* resolveNpmBin("npx") // "npx" on macOS/Linux, "npx.cmd" on Windows
|
package/lib/utils/platform.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a319_0x2c7c54=a319_0xfdd5;(function(_0x14ece9,_0x16c01c){const _0x2ded6d=a319_0xfdd5,_0x501f42=_0x14ece9();while(!![]){try{const _0x4510cb=parseInt(_0x2ded6d(0x9c))/0x1+-parseInt(_0x2ded6d(0x93))/0x2*(parseInt(_0x2ded6d(0x95))/0x3)+parseInt(_0x2ded6d(0x9d))/0x4*(parseInt(_0x2ded6d(0x9b))/0x5)+parseInt(_0x2ded6d(0x9f))/0x6*(-parseInt(_0x2ded6d(0x91))/0x7)+parseInt(_0x2ded6d(0x9e))/0x8*(-parseInt(_0x2ded6d(0x97))/0x9)+parseInt(_0x2ded6d(0x90))/0xa*(-parseInt(_0x2ded6d(0x9a))/0xb)+-parseInt(_0x2ded6d(0x99))/0xc*(-parseInt(_0x2ded6d(0x94))/0xd);if(_0x4510cb===_0x16c01c)break;else _0x501f42['push'](_0x501f42['shift']());}catch(_0x1c5ede){_0x501f42['push'](_0x501f42['shift']());}}}(a319_0x33c6,0x5c33d));function a319_0x33c6(){const _0x3f45ca=['win32','30812kUZkxA','22552127tNJoOr','123bJVjeN','platform','297eLDOMg','.cmd','12zuwRvh','5914018tAPPUw','1416155cJPqyM','356091rsuHvk','4ApTHQp','87792YEISlD','253644vgQLZk','10JIzdVR','77XfCYGA'];a319_0x33c6=function(){return _0x3f45ca;};return a319_0x33c6();}function a319_0xfdd5(_0x1d1dd4,_0x172436){_0x1d1dd4=_0x1d1dd4-0x90;const _0x33c632=a319_0x33c6();let _0xfdd593=_0x33c632[_0x1d1dd4];return _0xfdd593;}export const isWindows=process[a319_0x2c7c54(0x96)]===a319_0x2c7c54(0x92);export function resolveNpmBin(_0x440c1c){const _0x3b0626=a319_0x2c7c54;return isWindows?_0x440c1c+_0x3b0626(0x98):_0x440c1c;}
|
package/lib/utils/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function sleep(
|
|
1
|
+
export function sleep(_0x5c3570){return new Promise(_0x379d6e=>setTimeout(_0x379d6e,_0x5c3570));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a321_0x103ba7=a321_0x2bb8;function a321_0x4732(){const _0x39bd8e=['includes','getMinutes','push','default','join','tableName','552951PHHtCM','processFile','pad','endsWith','api','alias','.tpl','.tsx','mkdir','113409mCivWm','isFile','map','968AzMrPC','alias:\x20\x22','replaceApiContent','Starting\x20template\x20content\x20replacement','utf8','toISOString','.md','padStart','2170640ZruLWF','writeFile','\x20},','copyFile','template','\x0a\x20\x20\x20\x20{\x20','3823116CJsmHH','processTemplate','getFullYear','replaceContent','toLowerCase','readFile','4930962uUriAS','message','.jsx','info','name:\x20\x22','charAt','getMonth','error','toUpperCase','slice','name','replace','3vHclKn','10CspMOI','promises','getDate','13201293AlBmWJ','toComponentName','toDisplayTitle','pop','readdir','processDirectory','4408432ReBqXC','now','split','Template\x20content\x20replacement\x20failed'];a321_0x4732=function(){return _0x39bd8e;};return a321_0x4732();}(function(_0x304b6f,_0x58371d){const _0x3321fd=a321_0x2bb8,_0x4df5d9=_0x304b6f();while(!![]){try{const _0x533d53=-parseInt(_0x3321fd(0x190))/0x1+parseInt(_0x3321fd(0x1aa))/0x2+parseInt(_0x3321fd(0x17c))/0x3*(parseInt(_0x3321fd(0x186))/0x4)+parseInt(_0x3321fd(0x17d))/0x5*(-parseInt(_0x3321fd(0x1b0))/0x6)+parseInt(_0x3321fd(0x180))/0x7+parseInt(_0x3321fd(0x19c))/0x8*(-parseInt(_0x3321fd(0x199))/0x9)+-parseInt(_0x3321fd(0x1a4))/0xa;if(_0x533d53===_0x58371d)break;else _0x4df5d9['push'](_0x4df5d9['shift']());}catch(_0x355359){_0x4df5d9['push'](_0x4df5d9['shift']());}}}(a321_0x4732,0xeaa97));import a321_0x2d3e33 from'node:fs';import a321_0x5f7852 from'node:path';import{logger}from'../utils/logger.js';function a321_0x2bb8(_0x66428,_0x4d3449){_0x66428=_0x66428-0x175;const _0x47328e=a321_0x4732();let _0x2bb8b7=_0x47328e[_0x66428];return _0x2bb8b7;}import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a321_0x103ba7(0x192)](_0x240fe7){const _0x2a062c=a321_0x103ba7;return String(_0x240fe7)[_0x2a062c(0x1a3)](0x2,'0');}static['formatLocalTimestamp'](_0x290364){const _0x52c6e0=a321_0x103ba7,_0x1301ad=_0x290364[_0x52c6e0(0x1ac)](),_0xe8c5ec=this[_0x52c6e0(0x192)](_0x290364[_0x52c6e0(0x176)]()+0x1),_0x10fdd1=this['pad'](_0x290364[_0x52c6e0(0x17f)]()),_0x13df2e=this[_0x52c6e0(0x192)](_0x290364['getHours']()),_0x174478=this[_0x52c6e0(0x192)](_0x290364[_0x52c6e0(0x18b)]()),_0x4b7801=this[_0x52c6e0(0x192)](_0x290364['getSeconds']());return{'createdAt':_0x1301ad+'-'+_0xe8c5ec+'-'+_0x10fdd1+'\x20'+_0x13df2e+':'+_0x174478+':'+_0x4b7801,'createdDate':_0x1301ad+'-'+_0xe8c5ec+'-'+_0x10fdd1,'createdTime':_0x13df2e+':'+_0x174478+':'+_0x4b7801};}static['toComponentName'](_0x592ab8){const _0x3ea818=a321_0x103ba7,_0x201903=_0x592ab8[_0x3ea818(0x188)]('/')[_0x3ea818(0x183)]()||_0x592ab8;return _0x201903[_0x3ea818(0x188)]('-')[_0x3ea818(0x19b)](_0x2d7dc1=>_0x2d7dc1[_0x3ea818(0x175)](0x0)[_0x3ea818(0x178)]()+_0x2d7dc1[_0x3ea818(0x179)](0x1)[_0x3ea818(0x1ae)]())['join']('');}static[a321_0x103ba7(0x182)](_0x12a3c4){const _0x3b0a76=a321_0x103ba7,_0x3683b7=_0x12a3c4['split']('/')[_0x3b0a76(0x183)]()||_0x12a3c4;return _0x3683b7['split']('-')[_0x3b0a76(0x19b)](_0x276026=>_0x276026[_0x3b0a76(0x175)](0x0)[_0x3b0a76(0x178)]()+_0x276026[_0x3b0a76(0x179)](0x1)['toLowerCase']())[_0x3b0a76(0x18e)]('\x20');}static[a321_0x103ba7(0x1ad)](_0x296344,_0x5a619a,_0x252606){const _0x588452=a321_0x103ba7,_0x334f08=this[_0x588452(0x181)](_0x5a619a),_0x462d5c=this[_0x588452(0x182)](_0x5a619a),{createdAt:_0x13386d,createdDate:_0x4d4586,createdTime:_0x53a03a}=this['formatLocalTimestamp'](new Date());let _0x4f57b2=_0x296344[_0x588452(0x17b)](/\{CliVersion\}/g,CLI_VERSION)[_0x588452(0x17b)](/\{ComponentName\}/g,_0x334f08)['replace'](/\{DisplayTitle\}/g,_0x462d5c)[_0x588452(0x17b)](/\{PageName\}/g,_0x5a619a)['replace'](/\{TemplateName\}/g,_0x252606)[_0x588452(0x17b)](/\{CreatedAt\}/g,_0x13386d)[_0x588452(0x17b)](/\{CreatedDate\}/g,_0x4d4586)['replace'](/\{CreatedTime\}/g,_0x53a03a);return _0x4f57b2;}static[a321_0x103ba7(0x19e)](_0x2fbe7c,_0xa399f7,_0x267790,_0x75b11a,_0x2022c0,_0xf4c14f,_0x1d317e,_0x14ac72){const _0x2fa59a=a321_0x103ba7,_0x4cdefc=new Date(),_0x4be397=_0x4cdefc[_0x2fa59a(0x1a1)](),_0x13db78=_0x267790[_0x2fa59a(0x19b)](_0x4dc047=>{const _0x1e8dec=_0x2fa59a,_0x4aaeab=['datasetCode:\x20\x22'+_0x4dc047['datasetCode']+'\x22','tableName:\x20\x22'+_0x4dc047[_0x1e8dec(0x18f)]+'\x22',_0x1e8dec(0x1b4)+_0x4dc047[_0x1e8dec(0x17a)]+'\x22'];return _0x4dc047[_0x1e8dec(0x195)]&&_0x4aaeab[_0x1e8dec(0x18c)](_0x1e8dec(0x19d)+_0x4dc047[_0x1e8dec(0x195)]+'\x22'),_0x1e8dec(0x1a9)+_0x4aaeab['join'](',\x20')+_0x1e8dec(0x1a6);})[_0x2fa59a(0x18e)](''),_0x95a461=_0x75b11a||_0x267790[0x0]?.[_0x2fa59a(0x195)]||'YourModel';let _0x2e88f3=_0x2fbe7c[_0x2fa59a(0x17b)](/\{AppCode\}/g,_0xa399f7)['replace'](/\{ModelConfigs\}/g,_0x13db78)[_0x2fa59a(0x17b)](/\{ExampleModelName\}/g,_0x95a461)['replace'](/\{ApiFileName\}/g,_0x2022c0||_0x2fa59a(0x194))[_0x2fa59a(0x17b)](/\{ConfigName\}/g,_0xf4c14f||_0x2fa59a(0x18d))[_0x2fa59a(0x17b)](/\{ClientConfigParam\}/g,_0x1d317e||'')['replace'](/\{VarPrefix\}/g,_0x14ac72||'LOVRABET')['replace'](/\{CreatedAt\}/g,_0x4be397);return _0x2e88f3;}static async[a321_0x103ba7(0x1ab)](_0x35cae2,_0x5d8e9a,_0x59f080,_0x53ea14,_0x4ffffe=!![]){const _0xad09d2=a321_0x103ba7,_0x261fed=Date['now']();try{_0x4ffffe&&logger[_0xad09d2(0x1b3)](_0xad09d2(0x1a8),_0xad09d2(0x19f),{'templatePath':_0x35cae2,'targetPath':_0x5d8e9a,'pageName':_0x59f080,'templateName':_0x53ea14});await a321_0x2d3e33['promises'][_0xad09d2(0x198)](_0x5d8e9a,{'recursive':!![]}),await this[_0xad09d2(0x185)](_0x35cae2,_0x5d8e9a,_0x59f080,_0x53ea14);if(_0x4ffffe){const _0x576742=Date[_0xad09d2(0x187)]()-_0x261fed;logger['success'](_0xad09d2(0x1a8),'Template\x20content\x20replacement\x20completed',_0x576742,{'pageName':_0x59f080,'templateName':_0x53ea14});}}catch(_0x187b19){if(_0x4ffffe){const _0x4ab838=Date['now']()-_0x261fed;logger[_0xad09d2(0x177)](_0xad09d2(0x1a8),_0xad09d2(0x189),{'templatePath':_0x35cae2,'targetPath':_0x5d8e9a,'pageName':_0x59f080,'templateName':_0x53ea14,'error':_0x187b19 instanceof Error?_0x187b19[_0xad09d2(0x1b1)]:String(_0x187b19),'duration':_0x4ab838});}throw _0x187b19;}}static async[a321_0x103ba7(0x185)](_0x3686d1,_0x2ff0c8,_0xe7abf6,_0x21f30e){const _0x3e3c3e=a321_0x103ba7,_0x3c1c1a=await a321_0x2d3e33['promises'][_0x3e3c3e(0x184)](_0x3686d1,{'withFileTypes':!![]});for(const _0x169733 of _0x3c1c1a){const _0x1b8758=a321_0x5f7852[_0x3e3c3e(0x18e)](_0x3686d1,_0x169733[_0x3e3c3e(0x17a)]);let _0x5c8083=a321_0x5f7852[_0x3e3c3e(0x18e)](_0x2ff0c8,_0x169733['name']);_0x169733[_0x3e3c3e(0x17a)][_0x3e3c3e(0x193)](_0x3e3c3e(0x196))&&(_0x5c8083=a321_0x5f7852[_0x3e3c3e(0x18e)](_0x2ff0c8,_0x169733[_0x3e3c3e(0x17a)]['replace'](/\.tpl$/,'')));if(_0x169733['isDirectory']())await a321_0x2d3e33[_0x3e3c3e(0x17e)]['mkdir'](_0x5c8083,{'recursive':!![]}),await this[_0x3e3c3e(0x185)](_0x1b8758,_0x5c8083,_0xe7abf6,_0x21f30e);else _0x169733[_0x3e3c3e(0x19a)]()&&await this[_0x3e3c3e(0x191)](_0x1b8758,_0x5c8083,_0xe7abf6,_0x21f30e);}}static async[a321_0x103ba7(0x191)](_0x33c31f,_0x3c13b2,_0x36b710,_0x12061f){const _0x592315=a321_0x103ba7,_0x5781f1=a321_0x5f7852['extname'](_0x33c31f)[_0x592315(0x1ae)]();_0x33c31f[_0x592315(0x193)](_0x592315(0x196))&&(_0x3c13b2=_0x3c13b2[_0x592315(0x17b)](/\.tpl$/,''));const _0x5e7900=[_0x592315(0x197),'.ts',_0x592315(0x1b2),'.js','.json',_0x592315(0x1a2),'.css','.scss',_0x592315(0x196)];if(_0x5e7900[_0x592315(0x18a)](_0x5781f1)||_0x33c31f[_0x592315(0x193)](_0x592315(0x196))){const _0x346659=await a321_0x2d3e33['promises'][_0x592315(0x1af)](_0x33c31f,_0x592315(0x1a0)),_0x10e5d0=this[_0x592315(0x1ad)](_0x346659,_0x36b710,_0x12061f);await a321_0x2d3e33['promises'][_0x592315(0x1a5)](_0x3c13b2,_0x10e5d0,_0x592315(0x1a0));}else await a321_0x2d3e33[_0x592315(0x17e)][_0x592315(0x1a7)](_0x33c31f,_0x3c13b2);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a322_0x177b(){const _0x2b5a9b=['stableVersion','3967250RDZSQe','7110770dQmSia','.cache','/v/','checkedAt','834292zsamyL','lastNotifiedVersion','https://www.npmjs.com/package/','trim','gte','toLowerCase',',\x20run:\x20','valid','8WoJiiM','2280645SgOQHz','object','\x20update','parse','yes','\x20available,\x20current\x20','number','update-check.json','true','utf8','lastNotifiedAt','rabetbase-cli','116WcQuvD','latest','194796HRdPbO','stringify','102445QYkBZz','3219SOtRtD','138UqWmGX'];a322_0x177b=function(){return _0x2b5a9b;};return a322_0x177b();}(function(_0xa051e2,_0x2a8ea8){const _0x22a128=a322_0x3200,_0x2988e3=_0xa051e2();while(!![]){try{const _0x4ba41c=-parseInt(_0x22a128(0x198))/0x1+parseInt(_0x22a128(0x1a3))/0x2+-parseInt(_0x22a128(0x19b))/0x3*(-parseInt(_0x22a128(0x196))/0x4)+parseInt(_0x22a128(0x19a))/0x5*(parseInt(_0x22a128(0x19c))/0x6)+parseInt(_0x22a128(0x19e))/0x7+parseInt(_0x22a128(0x1ab))/0x8*(-parseInt(_0x22a128(0x1ac))/0x9)+-parseInt(_0x22a128(0x19f))/0xa;if(_0x4ba41c===_0x2a8ea8)break;else _0x2988e3['push'](_0x2988e3['shift']());}catch(_0x5e1b5c){_0x2988e3['push'](_0x2988e3['shift']());}}}(a322_0x177b,0x4fd46));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a322_0x3297e4 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';function a322_0x3200(_0x250c5f,_0x515626){_0x250c5f=_0x250c5f-0x190;const _0x177b41=a322_0x177b();let _0x320059=_0x177b41[_0x250c5f];return _0x320059;}const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x3d8a91=a322_0x3200,_0x427cf3=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x3d8a91(0x1a6)]()[_0x3d8a91(0x1a8)]();return _0x427cf3==='1'||_0x427cf3===_0x3d8a91(0x192)||_0x427cf3===_0x3d8a91(0x1b0);}function cacheRoot(){const _0x3882f1=a322_0x3200;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x3882f1(0x1a0));}export function getUpdateNoticeCachePath(){const _0x4e99cf=a322_0x3200;return join(cacheRoot(),_0x4e99cf(0x195),_0x4e99cf(0x191));}async function readUpdateNoticeCache(){const _0x2d9e98=a322_0x3200;try{const _0x8826b8=await readFile(getUpdateNoticeCachePath(),_0x2d9e98(0x193)),_0x5d11e6=JSON[_0x2d9e98(0x1af)](_0x8826b8);if(!_0x5d11e6||typeof _0x5d11e6!==_0x2d9e98(0x1ad))return{};return _0x5d11e6;}catch{return{};}}async function writeUpdateNoticeCache(_0x3227af){const _0x580b8e=a322_0x3200;try{const _0x1b67ae=getUpdateNoticeCachePath();await mkdir(dirname(_0x1b67ae),{'recursive':!![]}),await writeFile(_0x1b67ae,JSON[_0x580b8e(0x199)](_0x3227af,null,0x2)+'\x0a','utf8');}catch{}}function isFreshCheck(_0x16f26b,_0x485917){const _0x4b182e=a322_0x3200;return typeof _0x16f26b[_0x4b182e(0x1a2)]===_0x4b182e(0x190)&&_0x485917-_0x16f26b[_0x4b182e(0x1a2)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x1be939,_0x11cafd,_0xade769){const _0x3e8226=a322_0x3200;return _0x1be939[_0x3e8226(0x1a4)]===_0x11cafd&&typeof _0x1be939['lastNotifiedAt']===_0x3e8226(0x190)&&_0xade769-_0x1be939[_0x3e8226(0x194)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x5ad7d9){const _0x5e4241=a322_0x3200;return _0x5e4241(0x1a5)+NPM_PACKAGE_NAME+_0x5e4241(0x1a1)+_0x5ad7d9;}export async function resolveLatestUpdateNotice(){const _0x4bea4f=a322_0x3200;if(isUpdateNoticeDisabled())return null;try{const _0x1c206a=Date['now'](),_0x5bd573=getCliVersion(),_0x32e640=await readUpdateNoticeCache();let _0x10c6fc=isFreshCheck(_0x32e640,_0x1c206a)?_0x32e640[_0x4bea4f(0x197)]?.[_0x4bea4f(0x1a6)]():undefined;if(!_0x10c6fc&&!isFreshCheck(_0x32e640,_0x1c206a)){const _0x20fa0b=await getCliVersionPolicy();_0x10c6fc=_0x20fa0b?.[_0x4bea4f(0x19d)]?.[_0x4bea4f(0x1a6)]()||undefined,await writeUpdateNoticeCache({..._0x32e640,'checkedAt':_0x1c206a,'latest':_0x10c6fc,'failed':!_0x10c6fc});}if(!_0x10c6fc||!a322_0x3297e4[_0x4bea4f(0x1aa)](_0x5bd573)||!a322_0x3297e4[_0x4bea4f(0x1aa)](_0x10c6fc))return null;if(a322_0x3297e4[_0x4bea4f(0x1a7)](_0x5bd573,_0x10c6fc))return null;if(isRecentlyNotified(_0x32e640,_0x10c6fc,_0x1c206a))return null;const _0x3ad579=CLI_BIN_NAME+_0x4bea4f(0x1ae);return await writeUpdateNoticeCache({..._0x32e640,'checkedAt':isFreshCheck(_0x32e640,_0x1c206a)?_0x32e640[_0x4bea4f(0x1a2)]:_0x1c206a,'latest':_0x10c6fc,'failed':![],'lastNotifiedVersion':_0x10c6fc,'lastNotifiedAt':_0x1c206a}),{'command':_0x3ad579,'current':_0x5bd573,'latest':_0x10c6fc,'url':buildNpmVersionUrl(_0x10c6fc),'message':CLI_BIN_NAME+'\x20'+_0x10c6fc+_0x4bea4f(0x1b1)+_0x5bd573+_0x4bea4f(0x1a9)+_0x3ad579};}catch{return null;}}
|
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a323_0x203e(){var _0x10eab5=['931300zbSQoL','1VJFlAk','10YFGPql','9939xYMKyD','13089840xiwrZj','1144248VkTHRd','761480ayWfRE','244rCNpWL','117CqIbED','38357077EsQNbA','1479288wleaHQ'];a323_0x203e=function(){return _0x10eab5;};return a323_0x203e();}(function(_0xcd3b48,_0x329a39){var _0xfad155=a323_0x6bd3,_0x299e96=_0xcd3b48();while(!![]){try{var _0x3b73df=parseInt(_0xfad155(0xbc))/0x1*(-parseInt(_0xfad155(0xbb))/0x2)+parseInt(_0xfad155(0xbe))/0x3*(parseInt(_0xfad155(0xc2))/0x4)+-parseInt(_0xfad155(0xbd))/0x5*(-parseInt(_0xfad155(0xba))/0x6)+-parseInt(_0xfad155(0xc0))/0x7+-parseInt(_0xfad155(0xbf))/0x8+parseInt(_0xfad155(0xb8))/0x9*(-parseInt(_0xfad155(0xc1))/0xa)+parseInt(_0xfad155(0xb9))/0xb;if(_0x3b73df===_0x329a39)break;else _0x299e96['push'](_0x299e96['shift']());}catch(_0x43eec5){_0x299e96['push'](_0x299e96['shift']());}}}(a323_0x203e,0xe24d0));import{VERSION}from'../generated/build-info.js';function a323_0x6bd3(_0x5786b7,_0x30365a){_0x5786b7=_0x5786b7-0xb8;var _0x203efd=a323_0x203e();var _0x6bd352=_0x203efd[_0x5786b7];return _0x6bd352;}export function getCliVersion(){return VERSION;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x37881a,_0x26aa76){var _0x1c9542=a324_0x3490,_0x413b46=_0x37881a();while(!![]){try{var _0x561f81=-parseInt(_0x1c9542(0xe6))/0x1+-parseInt(_0x1c9542(0xdc))/0x2+parseInt(_0x1c9542(0xe1))/0x3*(parseInt(_0x1c9542(0xde))/0x4)+-parseInt(_0x1c9542(0xe3))/0x5*(-parseInt(_0x1c9542(0xdf))/0x6)+-parseInt(_0x1c9542(0xe4))/0x7+-parseInt(_0x1c9542(0xe2))/0x8*(parseInt(_0x1c9542(0xe5))/0x9)+-parseInt(_0x1c9542(0xdd))/0xa*(-parseInt(_0x1c9542(0xe0))/0xb);if(_0x561f81===_0x26aa76)break;else _0x413b46['push'](_0x413b46['shift']());}catch(_0x5ead09){_0x413b46['push'](_0x413b46['shift']());}}}(a324_0x4aeb,0xbba88));function a324_0x3490(_0x52c217,_0x87995a){_0x52c217=_0x52c217-0xdc;var _0x4aeb94=a324_0x4aeb();var _0x3490d9=_0x4aeb94[_0x52c217];return _0x3490d9;}function a324_0x4aeb(){var _0x23a355=['3015728xBWWOo','96QFiifx','11yyPlnY','6fqkGGQ','584984CRgfXW','13055yhKyPd','6570396kywsza','81HhJAyC','463043uowYkO','282934lVMFaI','14202530ktcqtf'];a324_0x4aeb=function(){return _0x23a355;};return a324_0x4aeb();}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x2f4738,_0x134fc7){setActiveCookie(_0x2f4738);try{return await _0x134fc7();}finally{clearActiveCookie();}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a325_0x441d(_0x2688f3,_0x1ca942){_0x2688f3=_0x2688f3-0x83;var _0x332806=a325_0x3328();var _0x441d3e=_0x332806[_0x2688f3];return _0x441d3e;}(function(_0x3d9418,_0x1fc52e){var _0x472c60=a325_0x441d,_0x396e71=_0x3d9418();while(!![]){try{var _0xcbf45e=-parseInt(_0x472c60(0x8c))/0x1*(-parseInt(_0x472c60(0x88))/0x2)+parseInt(_0x472c60(0x8a))/0x3+parseInt(_0x472c60(0x84))/0x4*(-parseInt(_0x472c60(0x83))/0x5)+parseInt(_0x472c60(0x87))/0x6*(-parseInt(_0x472c60(0x8d))/0x7)+-parseInt(_0x472c60(0x85))/0x8+parseInt(_0x472c60(0x8b))/0x9+parseInt(_0x472c60(0x86))/0xa;if(_0xcbf45e===_0x1fc52e)break;else _0x396e71['push'](_0x396e71['shift']());}catch(_0x4d3978){_0x396e71['push'](_0x396e71['shift']());}}}(a325_0x3328,0xae253));export function writeCliSideChannelLine(_0x2d655d){var _0x299ae0=a325_0x441d;process['stderr'][_0x299ae0(0x89)](_0x2d655d+'\x0a');}function a325_0x3328(){var _0x27208f=['410415vREjsM','2238082QQLOAy','5KRgEOc','5267736eQoRIq','7373296oNerZK','18192170XRQxIH','12YUvPNW','6RUNcyr','write','1454295JMBpLw','505080sXaXCg'];a325_0x3328=function(){return _0x27208f;};return a325_0x3328();}
|
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.5",
|
|
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.5
|
|
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.5",
|
|
6
|
+
"skillVersion": "2.5.2-beta.5",
|
|
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": "291e93b8ad32502a5278e0d094cbf257c5b19fbf395f997bfdc54fe5dc3c2084"
|
|
144
144
|
}
|