@lovrabet/rabetbase-cli 2.5.10-beta.1 → 2.5.10-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/api-doc.js +1 -1
- package/lib/api/api-group.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/api/legacy-api-file.js +1 -1
- package/lib/api/model-registry-file.js +1 -1
- package/lib/api/model-registry-scaffold.js +1 -1
- package/lib/api/model-source.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/detail.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/logs.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/batch-design.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/cross-relation-create.js +1 -1
- package/lib/commands/dataset/cross-relation-delete.js +1 -1
- package/lib/commands/dataset/cross-relation-list.js +1 -1
- package/lib/commands/dataset/cross-relation-shared.js +1 -1
- package/lib/commands/dataset/cross-relation-update.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/design-context.js +1 -1
- package/lib/commands/dataset/design-start.js +1 -1
- package/lib/commands/dataset/design-status.js +1 -1
- package/lib/commands/dataset/design-sync-retry.js +1 -1
- package/lib/commands/dataset/design-sync-status.js +1 -1
- package/lib/commands/dataset/design-validate.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/cross-db-analysis-shared.js +1 -1
- package/lib/commands/db/cross-db-analyze-latest.js +1 -1
- package/lib/commands/db/cross-db-analyze-start.js +1 -1
- package/lib/commands/db/cross-db-analyze-status.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/flow/create.js +1 -1
- package/lib/commands/flow/detail.js +1 -1
- package/lib/commands/flow/index.js +1 -1
- package/lib/commands/flow/list.js +1 -1
- package/lib/commands/flow/page-list.js +1 -1
- package/lib/commands/flow/publish.js +1 -1
- package/lib/commands/flow/runtime-resources-shared.js +1 -1
- package/lib/commands/flow/runtime-role-list.js +1 -1
- package/lib/commands/flow/runtime-role-user-list.js +1 -1
- package/lib/commands/flow/runtime-user-search.js +1 -1
- package/lib/commands/flow/shared.js +1 -1
- package/lib/commands/flow/update.js +1 -1
- package/lib/commands/flow/validate.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.d.ts +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/path.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/subapp-assets.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/subapp-assets-status.js +1 -1
- package/lib/commands/menu/subapp-assets-update.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/api-architecture-upgrade.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/feishu-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/region-config.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.d.ts +0 -28
- 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/hook-directory.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/cross-db-analysis.js +1 -1
- package/lib/core/cross-db-relation.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/flow-config.js +1 -1
- package/lib/core/instant-api-policy/config.js +1 -1
- package/lib/core/instant-api-policy/endpoints.d.ts +8 -0
- package/lib/core/instant-api-policy/endpoints.js +1 -0
- package/lib/core/kb-management-client.d.ts +3 -9
- package/lib/core/kb-management-client.js +1 -1
- package/lib/core/kb-search-client.d.ts +1 -4
- 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/page/lr-smart-jsx.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/services/dataset-design/checkpoint.js +1 -1
- package/lib/services/dataset-design/commands.js +1 -1
- package/lib/services/dataset-design/contract.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 +2 -1
- package/skills/rabetbase/SKILL.md +1 -1
- package/skills/rabetbase-dataset-generation/SKILL.md +1 -1
- package/skills/rabetbase-page-generation/SKILL.md +1 -1
- package/skills/rabetbase.manifest.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a320_0xd58e7a=a320_0x49da;(function(_0x75d7f4,_0x157c4b){const _0x23176b=a320_0x49da,_0x37359a=_0x75d7f4();while(!![]){try{const _0x5e092a=-parseInt(_0x23176b(0xb6))/0x1*(-parseInt(_0x23176b(0xae))/0x2)+parseInt(_0x23176b(0xab))/0x3*(-parseInt(_0x23176b(0xb5))/0x4)+parseInt(_0x23176b(0xa8))/0x5+-parseInt(_0x23176b(0xb2))/0x6*(-parseInt(_0x23176b(0xb3))/0x7)+-parseInt(_0x23176b(0xb1))/0x8*(parseInt(_0x23176b(0xb4))/0x9)+parseInt(_0x23176b(0xa9))/0xa*(parseInt(_0x23176b(0xaf))/0xb)+-parseInt(_0x23176b(0xb7))/0xc;if(_0x5e092a===_0x157c4b)break;else _0x37359a['push'](_0x37359a['shift']());}catch(_0x575da7){_0x37359a['push'](_0x37359a['shift']());}}}(a320_0x2cae,0x4551d));const EXPLICIT_YES_COMMANDS=new Set(['menu\x20delete','kb\x20delete',a320_0xd58e7a(0xa7),a320_0xd58e7a(0xaa)]);function a320_0x2cae(){const _0x7561bf=['has','118OjkoEG','453211tFvHMX','command','3944YQPJbq','58494CxlCdc','210WWRfEo','9081XgZfht','355084TPCbqM','8795okOVDO','487428sRonqB','notification\x20config-update','1654330yjFDTM','30HTwkrq','notification\x20config-delete','15YjHkrv','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan'];a320_0x2cae=function(){return _0x7561bf;};return a320_0x2cae();}function a320_0x49da(_0x179788,_0x2217dc){_0x179788=_0x179788-0xa7;const _0x2cae16=a320_0x2cae();let _0x49daa4=_0x2cae16[_0x179788];return _0x49daa4;}export const EXPLICIT_YES_FLAG_DESCRIPTION=a320_0xd58e7a(0xac);export function requiresExplicitYes(_0x2cdc6c){const _0xa58bf8=a320_0xd58e7a;return EXPLICIT_YES_COMMANDS[_0xa58bf8(0xad)](_0x2cdc6c['service']+'\x20'+_0x2cdc6c[_0xa58bf8(0xb0)]);}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a321_0x39d01a=a321_0x36e1;(function(_0x3b0380,_0x4516d6){const _0x34c875=a321_0x36e1,_0x16dc51=_0x3b0380();while(!![]){try{const _0x206836=-parseInt(_0x34c875(0x14e))/0x1*(-parseInt(_0x34c875(0x148))/0x2)+parseInt(_0x34c875(0x14f))/0x3*(parseInt(_0x34c875(0x149))/0x4)+parseInt(_0x34c875(0x152))/0x5*(parseInt(_0x34c875(0x147))/0x6)+-parseInt(_0x34c875(0x146))/0x7+-parseInt(_0x34c875(0x14b))/0x8+parseInt(_0x34c875(0x151))/0x9*(-parseInt(_0x34c875(0x14d))/0xa)+parseInt(_0x34c875(0x14a))/0xb;if(_0x206836===_0x4516d6)break;else _0x16dc51['push'](_0x16dc51['shift']());}catch(_0x3df50d){_0x16dc51['push'](_0x16dc51['shift']());}}}(a321_0x2e98,0x2e4ec));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a321_0x2e98(){const _0x4e98dd=['165oFPuXv','1116192QyzMEy','38244ONQBih','156066dVAKgM','8hYXaSG','2737966wFguft','1416760FjWhyV','validateFlags','440uSjUEo','1iPzAoN','511419eFFvue','parseFlags','72000AhYqDC'];a321_0x2e98=function(){return _0x4e98dd;};return a321_0x2e98();}function a321_0x36e1(_0x5859a2,_0x3df4ec){_0x5859a2=_0x5859a2-0x146;const _0x2e98c4=a321_0x2e98();let _0x36e198=_0x2e98c4[_0x5859a2];return _0x36e198;}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a321_0x39d01a(0x150)];export const validateFlags=helpers[a321_0x39d01a(0x14c)];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a322_0x3949(){const _0xba4188=['Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','replace','19554849MeYEgR','3010fExvQB','8GsNAqH','1567992rOMVmn','1575456JcbkUE','1263477BFyDiT','956246uVrjzF','2147055mcspkN','get','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','generateServiceHelp','6126UgWtER'];a322_0x3949=function(){return _0xba4188;};return a322_0x3949();}(function(_0x3731ef,_0x23575c){const _0x2b47cb=a322_0x5399,_0x5c5f48=_0x3731ef();while(!![]){try{const _0x291026=parseInt(_0x2b47cb(0x189))/0x1+-parseInt(_0x2b47cb(0x195))/0x2+-parseInt(_0x2b47cb(0x196))/0x3+-parseInt(_0x2b47cb(0x194))/0x4+-parseInt(_0x2b47cb(0x18a))/0x5+-parseInt(_0x2b47cb(0x18e))/0x6*(parseInt(_0x2b47cb(0x192))/0x7)+parseInt(_0x2b47cb(0x193))/0x8*(parseInt(_0x2b47cb(0x191))/0x9);if(_0x291026===_0x23575c)break;else _0x5c5f48['push'](_0x5c5f48['shift']());}catch(_0x4b4cf0){_0x5c5f48['push'](_0x5c5f48['shift']());}}}(a322_0x3949,0xa10e1));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a322_0x5399(_0x2057a8,_0x566aec){_0x2057a8=_0x2057a8-0x189;const _0x3949a1=a322_0x3949();let _0x5399c0=_0x3949a1[_0x2057a8];return _0x5399c0;}import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function createGenerators(){const _0x1d9d07=a322_0x5399;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x35c840=>serviceGroups[_0x1d9d07(0x18b)](_0x35c840),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':'\x20[args]\x20[flags]'});}export function generateCommandHelp(_0x5a170){const _0x1fc707=a322_0x5399,_0x19f2a9=createGenerators()['generateCommandHelp'](_0x5a170);if(!requiresExplicitYes(_0x5a170))return _0x19f2a9;return _0x19f2a9[_0x1fc707(0x190)](_0x1fc707(0x18f),_0x1fc707(0x18c));}export function generateServiceHelp(_0x9da563){const _0x3f3a4c=a322_0x5399;return createGenerators()[_0x3f3a4c(0x18d)](_0x9da563);}export function generateFullHelp(){return createGenerators()['generateFullHelp']();}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x32e769,_0x289ba5){var _0x21281d=a323_0x5054,_0x21ed32=_0x32e769();while(!![]){try{var _0xbde34e=parseInt(_0x21281d(0x1af))/0x1*(parseInt(_0x21281d(0x1ac))/0x2)+-parseInt(_0x21281d(0x1b2))/0x3*(parseInt(_0x21281d(0x1b5))/0x4)+-parseInt(_0x21281d(0x1b3))/0x5*(parseInt(_0x21281d(0x1aa))/0x6)+parseInt(_0x21281d(0x1b1))/0x7*(-parseInt(_0x21281d(0x1b4))/0x8)+parseInt(_0x21281d(0x1b0))/0x9*(parseInt(_0x21281d(0x1ab))/0xa)+parseInt(_0x21281d(0x1ae))/0xb*(parseInt(_0x21281d(0x1ad))/0xc)+parseInt(_0x21281d(0x1b6))/0xd;if(_0xbde34e===_0x289ba5)break;else _0x21ed32['push'](_0x21ed32['shift']());}catch(_0x177afe){_0x21ed32['push'](_0x21ed32['shift']());}}}(a323_0x3129,0xe3838));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a323_0x5054(_0x421351,_0x5bd1f6){_0x421351=_0x421351-0x1aa;var _0x312964=a323_0x3129();var _0x50545b=_0x312964[_0x421351];return _0x50545b;}export{extractList,extractPaging}from'../framework/response.js';function a323_0x3129(){var _0x19a37e=['50rCMaMk','706JCiJMs','420ZmpnFe','249667gtsUnP','3057kxjUwH','1594035INZkMz','21iysYFr','4571463SLBZwm','30045nizLID','2005384JrkXPR','4bnwcmb','29658070krzRGl','1830AElXUg'];a323_0x3129=function(){return _0x19a37e;};return a323_0x3129();}export{riskLevelOrder}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x41a967,_0x308193){const _0x430df4=a324_0x4f4d,_0x1729ed=_0x41a967();while(!![]){try{const _0x14c5ac=-parseInt(_0x430df4(0xb5))/0x1+-parseInt(_0x430df4(0x9e))/0x2*(-parseInt(_0x430df4(0xb6))/0x3)+-parseInt(_0x430df4(0xa7))/0x4*(parseInt(_0x430df4(0xaf))/0x5)+parseInt(_0x430df4(0xaa))/0x6+-parseInt(_0x430df4(0xac))/0x7*(-parseInt(_0x430df4(0xa2))/0x8)+-parseInt(_0x430df4(0x9d))/0x9+-parseInt(_0x430df4(0xb0))/0xa*(-parseInt(_0x430df4(0xa0))/0xb);if(_0x14c5ac===_0x308193)break;else _0x1729ed['push'](_0x1729ed['shift']());}catch(_0x1338fd){_0x1729ed['push'](_0x1729ed['shift']());}}}(a324_0x161b,0x311c1));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a324_0x161b(){const _0x186f84=['150HGJLIG','json','format','_notice','command','30831DEHTxw','3BuvmNu','update','pretty','jqFilter','3568734eesqqS','221470axUAlR','write','108933cBzRhC','error','16DZhvSy','url','data','risk','code','220vXmcUJ','validation','hint','1087758flDCwH','trim','861637lqziqS','message','stringify','5295ahpTac'];a324_0x161b=function(){return _0x186f84;};return a324_0x161b();}import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x515678,_0x5defc6){const _0x4fdbed=a324_0x4f4d,_0x3756b=_0x515678[_0x4fdbed(0xb3)],{_notice:_0x23dbed,..._0x2712ab}=_0x515678;void _0x23dbed,baseFormatOutput(_0x2712ab,_0x5defc6),_0x5defc6[_0x4fdbed(0xb2)]===_0x4fdbed(0xb8)&&printPrettyNotice(_0x3756b);}function a324_0x4f4d(_0x35092f,_0x30801e){_0x35092f=_0x35092f-0x9c;const _0x161b8a=a324_0x161b();let _0x4f4d48=_0x161b8a[_0x35092f];return _0x4f4d48;}export function formatCliError(_0x4eadb1,_0x2de2bf){const _0x205802=a324_0x4f4d;if(_0x2de2bf[_0x205802(0xb2)]==='pretty')return![];const _0x219d1d=_0x4eadb1[_0x205802(0xa4)],_0x1ece69={'ok':![],'command':_0x2de2bf[_0x205802(0xb4)],'risk':_0x2de2bf[_0x205802(0xa5)],'data':_0x219d1d??null,'error':{'code':_0x4eadb1[_0x205802(0xa6)],'message':_0x4eadb1['message'],..._0x4eadb1[_0x205802(0xa9)]?{'hint':_0x4eadb1[_0x205802(0xa9)]}:{}}},_0x31a8f4=_0x2de2bf[_0x205802(0xb2)]===_0x205802(0xb1)?JSON[_0x205802(0xae)](_0x1ece69,null,0x2):JSON['stringify'](_0x1ece69);let _0x4924f3=_0x31a8f4;if(_0x2de2bf[_0x205802(0x9c)]?.[_0x205802(0xab)]())try{_0x4924f3=applyJqFilter(_0x31a8f4,_0x2de2bf[_0x205802(0x9c)]);}catch(_0x4b5cbf){const _0x5793b1=_0x4b5cbf instanceof CliError?_0x4b5cbf:CliErrors[_0x205802(0xa8)]('jq:\x20'+(_0x4b5cbf instanceof Error?_0x4b5cbf['message']:String(_0x4b5cbf))),_0x318679={..._0x1ece69,'error':{'code':_0x5793b1[_0x205802(0xa6)],'message':_0x5793b1['message'],..._0x5793b1[_0x205802(0xa9)]?{'hint':_0x5793b1[_0x205802(0xa9)]}:{},'cause':_0x1ece69[_0x205802(0xa1)]}};_0x4924f3=_0x2de2bf[_0x205802(0xb2)]==='json'?JSON[_0x205802(0xae)](_0x318679,null,0x2):JSON[_0x205802(0xae)](_0x318679);}return process['stdout'][_0x205802(0x9f)](_0x4924f3['endsWith']('\x0a')?_0x4924f3:_0x4924f3+'\x0a'),!![];}function printPrettyNotice(_0xdb5fd8){const _0x521dc4=a324_0x4f4d;if(!_0xdb5fd8?.[_0x521dc4(0xb7)])return;console[_0x521dc4(0xa1)](_0xdb5fd8[_0x521dc4(0xb7)][_0x521dc4(0xad)]+'\x20('+_0xdb5fd8['update'][_0x521dc4(0xa3)]+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a325_0x5a44(_0x291b9f,_0x46ea92){_0x291b9f=_0x291b9f-0x123;var _0x316388=a325_0x3163();var _0x5a441d=_0x316388[_0x291b9f];return _0x5a441d;}(function(_0x5a4d9a,_0x1c0c48){var _0x266767=a325_0x5a44,_0x276962=_0x5a4d9a();while(!![]){try{var _0x66a566=parseInt(_0x266767(0x123))/0x1+parseInt(_0x266767(0x12e))/0x2*(parseInt(_0x266767(0x124))/0x3)+-parseInt(_0x266767(0x127))/0x4+parseInt(_0x266767(0x128))/0x5*(-parseInt(_0x266767(0x12d))/0x6)+parseInt(_0x266767(0x12b))/0x7*(-parseInt(_0x266767(0x125))/0x8)+-parseInt(_0x266767(0x129))/0x9*(parseInt(_0x266767(0x126))/0xa)+-parseInt(_0x266767(0x12c))/0xb*(-parseInt(_0x266767(0x12a))/0xc);if(_0x66a566===_0x1c0c48)break;else _0x276962['push'](_0x276962['shift']());}catch(_0x223b64){_0x276962['push'](_0x276962['shift']());}}}(a325_0x3163,0x72019));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a325_0x3163(){var _0x3dc1e4=['10328WVKIQM','10fFDkZd','1143376vimBqb','200UBBgkB','1218258sFeggG','12poOIwC','1379QCCpuS','5906681IeHXMU','67746Onrocd','1670426YBrREB','221958liEKgS','3jvnIBU'];a325_0x3163=function(){return _0x3dc1e4;};return a325_0x3163();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xf526c7,_0x2b6a90){const _0x418ace=a326_0x5118,_0x40d971=_0xf526c7();while(!![]){try{const _0x146f5c=parseInt(_0x418ace(0x120))/0x1*(-parseInt(_0x418ace(0x11f))/0x2)+parseInt(_0x418ace(0x12a))/0x3*(parseInt(_0x418ace(0x12b))/0x4)+-parseInt(_0x418ace(0x127))/0x5+parseInt(_0x418ace(0x126))/0x6*(-parseInt(_0x418ace(0x118))/0x7)+parseInt(_0x418ace(0x124))/0x8*(parseInt(_0x418ace(0x114))/0x9)+parseInt(_0x418ace(0x116))/0xa+-parseInt(_0x418ace(0x11e))/0xb*(-parseInt(_0x418ace(0x123))/0xc);if(_0x146f5c===_0x2b6a90)break;else _0x40d971['push'](_0x40d971['shift']());}catch(_0xe47436){_0x40d971['push'](_0x40d971['shift']());}}}(a326_0x18a3,0x1b8f2));function a326_0x18a3(){const _0x196b77=['288OmDfcI','`\x20requires\x20either\x20--code\x20or\x20--alias.','profileName','132tDZOgT','1038040MIttlt','alias','78RfJYSu','60925GeiVgd','code','join','193704JDHzde','4EJIzIR','string','No\x20model\x20aliases\x20found\x20in\x20','filePath','9GTaIfv','type','1821440xXHyjk','Unknown\x20alias\x20\x22','111615ZzgaIx','length','flags','some','validation','.\x20Run\x20`','59565TmxoVt','720RXNPkv'];a326_0x18a3=function(){return _0x196b77;};return a326_0x18a3();}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a326_0x5118(_0x5bb3d6,_0x48b3a2){_0x5bb3d6=_0x5bb3d6-0x111;const _0x18a394=a326_0x18a3();let _0x51189d=_0x18a394[_0x5bb3d6];return _0x51189d;}import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x4b61b0,_0xd1f604,_0x2f8679,_0x1cce59,_0x76da99,_0x1f03b0){const _0x2e7305=a326_0x5118,_0x9ac046=_0x4b61b0[_0x2e7305(0x11a)][_0x2e7305(0x11b)](_0x2cbacc=>_0x2cbacc['name']===_0x2e7305(0x128)&&_0x2cbacc[_0x2e7305(0x115)]===_0x2e7305(0x111)),_0x58b218=_0x4b61b0[_0x2e7305(0x11a)][_0x2e7305(0x11b)](_0x2bf5fa=>_0x2bf5fa['name']==='alias'&&_0x2bf5fa[_0x2e7305(0x115)]===_0x2e7305(0x111));if(!_0x9ac046||!_0x58b218)return;const _0x3b9644=_0xd1f604[_0x2e7305(0x128)]?String(_0xd1f604[_0x2e7305(0x128)]):'',_0x39f38b=_0xd1f604['alias']?String(_0xd1f604['alias']):'';if(!_0x3b9644&&!_0x39f38b)throw CliErrors['validation']('`'+_0x1cce59+_0x2e7305(0x121));if(_0x39f38b&&!_0x3b9644){const _0x3a7c2f=resolveApiModelSource(_0x2f8679,_0x76da99,_0x1f03b0),_0x417919=resolveAlias(_0x2f8679,_0x39f38b,undefined,_0x3a7c2f['filePath'],_0x3a7c2f[_0x2e7305(0x122)]);if(!_0x417919){const _0x1df2d6=listAliases(_0x2f8679,undefined,_0x3a7c2f[_0x2e7305(0x113)],_0x3a7c2f[_0x2e7305(0x122)])['map'](_0xcfa0c0=>_0xcfa0c0[_0x2e7305(0x125)]),_0x1a916b=_0x1df2d6[_0x2e7305(0x119)]?'Available\x20aliases:\x20'+_0x1df2d6[_0x2e7305(0x129)](',\x20'):_0x2e7305(0x112)+_0x2f8679+_0x2e7305(0x11d)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0x2e7305(0x11c)](_0x2e7305(0x117)+_0x39f38b+'\x22.\x20'+_0x1a916b);}_0xd1f604[_0x2e7305(0x128)]=_0x417919;}}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4252cf,_0x2090c7){const _0x157387=a326_0x25f9,_0x4f5047=_0x4252cf();while(!![]){try{const _0x4a287d=-parseInt(_0x157387(0x91))/0x1*(-parseInt(_0x157387(0xd2))/0x2)+parseInt(_0x157387(0xdd))/0x3*(-parseInt(_0x157387(0xa6))/0x4)+-parseInt(_0x157387(0x8e))/0x5+-parseInt(_0x157387(0xa8))/0x6*(-parseInt(_0x157387(0xa4))/0x7)+-parseInt(_0x157387(0xa0))/0x8*(parseInt(_0x157387(0xce))/0x9)+parseInt(_0x157387(0xc9))/0xa+-parseInt(_0x157387(0x9c))/0xb*(-parseInt(_0x157387(0xb9))/0xc);if(_0x4a287d===_0x2090c7)break;else _0x4f5047['push'](_0x4f5047['shift']());}catch(_0xd71ce2){_0x4f5047['push'](_0x4f5047['shift']());}}}(a326_0x8c58,0x2e88f));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a326_0x25f9(_0x3e469f,_0x392cab){_0x3e469f=_0x3e469f-0x8e;const _0x8c58d1=a326_0x8c58();let _0x25f93b=_0x8c58d1[_0x3e469f];return _0x25f93b;}import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a326_0x169b78}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5dd177){const _0x4cf0a5=a326_0x25f9;return typeof _0x5dd177==='string'&&_0x5dd177[_0x4cf0a5(0xad)]()?_0x5dd177[_0x4cf0a5(0xad)]():undefined;}function resolveEnvAppCode(){const _0x43fdc1=a326_0x25f9,_0x2a1638=stringFlag(process.env.RABETBASE_APPCODE);if(_0x2a1638)return{'name':_0x43fdc1(0xc5),'value':_0x2a1638};const _0x818fe1=stringFlag(process.env.LOVRABET_APPCODE);if(_0x818fe1)return{'name':_0x43fdc1(0xdc),'value':_0x818fe1};return undefined;}function hasExplicitAppCode(_0x2e8311,_0x1402f0){const _0x355dc8=a326_0x25f9;return!!(stringFlag(_0x2e8311[_0x355dc8(0x90)])||stringFlag(_0x1402f0[_0x355dc8(0x90)]));}function assertEnvAppCodeNotIgnored(_0x340c27,_0x53e6bc,_0x80e9f1){const _0x2f826a=a326_0x25f9;if(!_0x53e6bc||_0x80e9f1||_0x340c27===_0x53e6bc[_0x2f826a(0xb7)])return;const _0x5d2847=_0x340c27?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x340c27+'\x22.':_0x2f826a(0xcd);throw CliErrors[_0x2f826a(0xd9)](_0x53e6bc['name']+'='+_0x53e6bc[_0x2f826a(0xb7)]+_0x2f826a(0xb5)+_0x5d2847+'\x20'+(_0x2f826a(0x92)+_0x53e6bc['name']+'\x22.'));}export function createPipelineEnv(_0x7c16a4,_0x2c9ed3,_0x1b2cc9=[]){const _0x1dc909=a326_0x25f9;return{'rawFlags':_0x2c9ed3,'args':_0x1b2cc9,'resolveAppCode':()=>_0x7c16a4[_0x1dc909(0xbe)],'resolveCookie':()=>_0x7c16a4['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a326_0x169b78(_0x2c9ed3),'defaultFormat':_0x7c16a4[_0x1dc909(0x9f)],'defaultPageSize':_0x7c16a4[_0x1dc909(0xaa)],'defaultVerbose':_0x7c16a4['verbose'],'apiDir':_0x7c16a4[_0x1dc909(0xbb)],'riskLevel':_0x7c16a4[_0x1dc909(0xcc)],'selectedAppName':_0x7c16a4[_0x1dc909(0x9a)],'mergedCli':{'defaultApp':_0x7c16a4[_0x1dc909(0xb3)],'currentApp':_0x7c16a4[_0x1dc909(0xc0)],'appCode':_0x7c16a4['appCode'],'apps':_0x7c16a4['apps']}};}export function createRabetbaseRunnerAdapter(_0x574c0a={}){const _0x15b52d=a326_0x25f9;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x15b52d(0xa5)](_0x704ced=>PIPELINE_FLAG_NAMES[_0x15b52d(0xc4)](_0x704ced[_0x15b52d(0xb2)]))['map'](({name:_0x1b5fc5,type:_0x5203db,description:_0x551f6a})=>({'name':_0x1b5fc5,'type':_0x5203db,'description':_0x551f6a})),'formatOutput':_0x574c0a['formatOutput']??formatOutput,'getCommandLabel'(_0x246475){const _0x25406b=_0x15b52d;return CLI_BIN_NAME+'\x20'+_0x246475[_0x25406b(0xd1)]+'\x20'+_0x246475['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x486ef3,{def:_0x47e117}){const _0x262cc9=_0x15b52d,_0x428d45=_0x486ef3[_0x262cc9(0xa2)](_0x262cc9(0x9d))?'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.':_0x262cc9(0xcf)+_0x47e117['risk']+_0x262cc9(0x9e)+_0x262cc9(0x96);return CliErrors[_0x262cc9(0xd9)](_0x486ef3+_0x262cc9(0xaf)+_0x428d45);}},async 'prepare'(_0x5df29a,_0x46318f,_0x195c03,_0x1edddd){const _0x25ecba=_0x15b52d,_0x3ac56d=_0x46318f[_0x25ecba(0xbb)]||DEFAULT_API_DIR,_0x4e83d9=hasExplicitAppCode(_0x195c03,_0x46318f[_0x25ecba(0xab)]),_0x7a83fc=stringFlag(_0x195c03['appcode'])||stringFlag(_0x46318f[_0x25ecba(0xab)][_0x25ecba(0x90)]),_0x21b505=_0x46318f[_0x25ecba(0xd3)]?.['apps']??{},_0x504726=_0x46318f[_0x25ecba(0xc3)]||_0x46318f[_0x25ecba(0xd3)]?.[_0x25ecba(0xc0)]||_0x46318f[_0x25ecba(0xd3)]?.[_0x25ecba(0xb3)],_0x3a6746=_0x7a83fc?Object[_0x25ecba(0xb6)](_0x21b505)['filter'](([,_0x59da2c])=>_0x59da2c[_0x25ecba(0x90)]===_0x7a83fc)['map'](([_0x16a8c0])=>_0x16a8c0):[];if(_0x3a6746[_0x25ecba(0xb0)]>0x1&&!_0x46318f[_0x25ecba(0xc3)])throw CliErrors[_0x25ecba(0xd9)]('AppCode\x20\x22'+_0x7a83fc+'\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20'+_0x3a6746['join'](',\x20')+'.',_0x25ecba(0x95));resolveAliasToCode(_0x5df29a,_0x195c03,_0x3ac56d,_0x1edddd,_0x46318f['resolveAppCode'](),_0x504726);const _0x27f285=resolveCommandAuthMode(_0x5df29a);let _0x353a21='';if(_0x27f285!==_0x25ecba(0xc8)){_0x353a21=_0x46318f[_0x25ecba(0xb1)]()||'';if(!_0x353a21){if(_0x27f285==='required')throw CliErrors[_0x25ecba(0xa3)]();}else{const {setActiveCookie:_0x5c6763}=await import(_0x25ecba(0xd7));_0x5c6763(_0x353a21);}}const _0x130749=_0x46318f['resolveAppCode']()??'';if(_0x5df29a[_0x25ecba(0xbf)]!==![]){if(!_0x4e83d9&&_0x504726&&!_0x21b505[_0x504726]){const _0x4bc833=Object['keys'](_0x21b505);throw CliErrors[_0x25ecba(0xd9)]('App\x20\x22'+_0x504726+_0x25ecba(0xcb),_0x4bc833[_0x25ecba(0xb0)]>0x0?_0x25ecba(0xca)+_0x4bc833[_0x25ecba(0xd5)](',\x20')+'.\x20Use\x20--app/--appcode,\x20or\x20run\x20`'+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.':'Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x25ecba(0xde));}assertEnvAppCodeNotIgnored(_0x130749,resolveEnvAppCode(),_0x4e83d9);if(!_0x130749){const _0x15a199=Object[_0x25ecba(0xd6)](_0x21b505);if(!_0x504726&&_0x15a199[_0x25ecba(0xb0)]>0x1)throw CliErrors[_0x25ecba(0xc6)](_0x25ecba(0xbc)+CLI_BIN_NAME+_0x25ecba(0x98)+_0x15a199[_0x25ecba(0xd5)](',\x20')+'.');throw CliErrors[_0x25ecba(0xc6)](_0x25ecba(0xac)+CLI_BIN_NAME+_0x25ecba(0x93));}}return{'defaults':{'booleans':{'verbose':_0x46318f['defaultVerbose']},'numbers':{'pagesize':_0x46318f[_0x25ecba(0xd8)]}},'extras':{'appCode':_0x130749,'cookie':_0x353a21,'apiDomain':_0x46318f[_0x25ecba(0xbd)](),'apiDir':_0x3ac56d,'selectedAppName':_0x46318f[_0x25ecba(0xc3)],'mergedCli':_0x46318f[_0x25ecba(0xd3)]}};},'confirmHighRisk':_0x574c0a[_0x15b52d(0xc2)]??(async({env:_0x4c30c2,commandLabel:_0xca2968})=>{const _0x1215e3=_0x15b52d;if(_0x4c30c2['isNonInteractive'])throw CliErrors['validation'](_0x1215e3(0xdb)+_0xca2968+_0x1215e3(0xd0));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0xca2968,_0x1215e3(0xd4)],'createCancelledError':_0x1e45b5=>CliErrors[_0x1215e3(0xa7)](_0x1e45b5)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x248cac=a326_0x25f9,{clearActiveCookie:_0x4f2601}=await import(_0x248cac(0xd7));_0x4f2601();}export async function finalizeRabetbaseRuntimeState(){const _0x3ff067=a326_0x25f9;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x2b97a5},{initEnv:_0x36e49d}]=await Promise['all']([import(_0x3ff067(0xb4)),import('../constant/env.js')]);_0x2b97a5(),_0x36e49d(_0x3ff067(0xa9));}}export async function runCommand(_0x4f1f56,_0x39b814,_0x412599=terminalRunnerAdapter){assertRejectedFlags(_0x4f1f56,_0x39b814['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x4f1f56)?withUpdateNotice(_0x4f1f56):_0x4f1f56,_0x39b814,_0x412599);}function assertRejectedFlags(_0x9d881,_0x3bc307){const _0x7fe1ce=a326_0x25f9;for(const _0x2a198c of _0x9d881['rejectedFlags']??[]){const _0x3c3ae1=GLOBAL_FLAGS[_0x7fe1ce(0x9b)](_0x3d5b33=>_0x3d5b33['name']===_0x2a198c['name']),_0x6e05ba=new Set([_0x2a198c['name'],toCamelCase(_0x2a198c['name']),_0x3c3ae1?.['meowKey']]),_0x399af5=[..._0x6e05ba]['some'](_0x12bb96=>{if(!_0x12bb96)return![];const _0x186826=_0x3bc307[_0x12bb96];return _0x186826!==undefined&&_0x186826!==null&&_0x186826!==![];});if(_0x399af5)throw CliErrors[_0x7fe1ce(0xd9)](_0x2a198c[_0x7fe1ce(0x8f)],_0x2a198c['hint']);}}function toCamelCase(_0x19e48a){const _0x1f460d=a326_0x25f9;return _0x19e48a[_0x1f460d(0xdf)](/-([a-z])/g,(_0x5ef98d,_0x4a28dd)=>_0x4a28dd[_0x1f460d(0xc7)]());}function shouldAttachUpdateNotice(_0x5cd700){const _0xad305b=a326_0x25f9;if(_0x5cd700['hasFormat']===![])return![];return![_0xad305b(0x94),_0xad305b(0xc1),_0xad305b(0xba)][_0xad305b(0xa2)](_0x5cd700['service']);}function withUpdateNotice(_0x45eaa2){return{..._0x45eaa2,async 'execute'(_0xa9da50){const _0x1c867b=a326_0x25f9,_0x16a55a=shouldResolveUpdateNotice(_0xa9da50)?resolveLatestUpdateNotice()[_0x1c867b(0xda)](()=>null):Promise[_0x1c867b(0x97)](null),_0x1b3c45=await _0x45eaa2[_0x1c867b(0xb8)](_0xa9da50);return attachUpdateNotice(_0x1b3c45,await _0x16a55a);}};}function a326_0x8c58(){const _0x2eeef6=['object','includes','authRequired','7HIjdNt','filter','76CXRlGR','cancelled','1459818QGbKsD','production','pageSize','rawFlags','Set\x20appcode\x20via\x20`','trim','nonInteractive','\x0a\x20\x20','length','resolveCookie','name','defaultApp','../constant/domain.js','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','entries','value','execute','2267676bJehAU','doctor','apiDir','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','resolveApiDomain','appCode','requiresAppCode','currentApp','schema','confirmHighRisk','selectedAppName','has','RABETBASE_APPCODE','configMissing','toUpperCase','none','890870LsJUxq','Available:\x20','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','riskLevel','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','20187bGlVao','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','service','1774vHSNNn','mergedCli','\x20\x20\x20Continue?\x20[y/N]\x20','join','keys','../core/api-client.js','defaultPageSize','validation','catch','High-risk\x20operation\x20`','LOVRABET_APPCODE','20793LspMtQ','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','replace','147170mtJNIu','message','appcode','226eRcOTp','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','update','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','resolve','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','_notice','explicitAppName','find','11oYaxgp','Edit\x20the\x20config\x20file\x20manually','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','format','1320eeuKAH'];a326_0x8c58=function(){return _0x2eeef6;};return a326_0x8c58();}function shouldResolveUpdateNotice(_0x14d097){const _0x542897=a326_0x25f9;return _0x14d097[_0x542897(0x9f)]==='pretty'&&!_0x14d097[_0x542897(0xae)];}function attachUpdateNotice(_0x53bd93,_0x26dd79){const _0x1e0953=a326_0x25f9;if(!_0x26dd79||!_0x53bd93||typeof _0x53bd93!==_0x1e0953(0xa1))return _0x53bd93;const _0x3f91ae=_0x53bd93,_0xdc89a4=typeof _0x3f91ae[_0x1e0953(0x99)]==='object'&&_0x3f91ae[_0x1e0953(0x99)]!==null?_0x3f91ae[_0x1e0953(0x99)]:{};return{..._0x3f91ae,'_notice':{..._0xdc89a4,'update':_0x26dd79}};}
|
|
1
|
+
(function(_0x319ce5,_0x2fbb76){const _0x286217=a327_0xa135,_0x5eecd2=_0x319ce5();while(!![]){try{const _0xe64c9d=-parseInt(_0x286217(0x19a))/0x1+-parseInt(_0x286217(0x1c6))/0x2+-parseInt(_0x286217(0x1b5))/0x3+-parseInt(_0x286217(0x1d9))/0x4+parseInt(_0x286217(0x1d2))/0x5*(-parseInt(_0x286217(0x1ad))/0x6)+parseInt(_0x286217(0x1b1))/0x7*(-parseInt(_0x286217(0x1b8))/0x8)+parseInt(_0x286217(0x1ab))/0x9*(parseInt(_0x286217(0x1a7))/0xa);if(_0xe64c9d===_0x2fbb76)break;else _0x5eecd2['push'](_0x5eecd2['shift']());}catch(_0x349bac){_0x5eecd2['push'](_0x5eecd2['shift']());}}}(a327_0x7811,0x5e0c6));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';function a327_0x7811(){const _0x31cc3e=['join','cookie','configMissing','appCode','nonInteractive','1045oEFena','keys','execute','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','format','message','_notice','2504124WxQMPn','mergedCli','has','\x0a\x20\x20','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','defaultPageSize','service','defaultVerbose','includes','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','Edit\x20the\x20config\x20file\x20manually','../core/api-client.js','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','currentApp','apiDir','3938SfympA','name','App\x20\x22','length','meowKey','requiresAppCode','some','selectedAppName','apps','filter','value','verbose','resolve','10IvpPdV','map','rejectedFlags','string','17820018YVCUKd','rawFlags','2598kizddt','resolveCookie','risk','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','14mrsKvF','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','trim','toUpperCase','1578258wwqAUU','cancelled','validation','184192DxBXeZ','entries','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','doctor','LOVRABET_APPCODE','RABETBASE_APPCODE','update','High-risk\x20operation\x20`','⚠\x20\x20High-risk\x20operation:\x20','all','find','Available:\x20','\x20\x20\x20Continue?\x20[y/N]\x20','pageSize','604360kAwvHR','object','none','production','defaultApp','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','appcode'];a327_0x7811=function(){return _0x31cc3e;};return a327_0x7811();}import{getCookie}from'../auth/get-cookie.js';function a327_0xa135(_0x3b5698,_0x58ddac){_0x3b5698=_0x3b5698-0x18f;const _0x781191=a327_0x7811();let _0xa1359e=_0x781191[_0x3b5698];return _0xa1359e;}import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a327_0x5f7e19}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x10ad0e){const _0x46cb09=a327_0xa135;return typeof _0x10ad0e===_0x46cb09(0x1aa)&&_0x10ad0e[_0x46cb09(0x1b3)]()?_0x10ad0e[_0x46cb09(0x1b3)]():undefined;}function resolveEnvAppCode(){const _0x565ed5=a327_0xa135,_0x506506=stringFlag(process.env.RABETBASE_APPCODE);if(_0x506506)return{'name':_0x565ed5(0x1bd),'value':_0x506506};const _0xfe143c=stringFlag(process.env.LOVRABET_APPCODE);if(_0xfe143c)return{'name':_0x565ed5(0x1bc),'value':_0xfe143c};return undefined;}function hasExplicitAppCode(_0x240390,_0x306d5f){return!!(stringFlag(_0x240390['appcode'])||stringFlag(_0x306d5f['appcode']));}function assertEnvAppCodeNotIgnored(_0x253084,_0x3b4e30,_0x232547){const _0x544239=a327_0xa135;if(!_0x3b4e30||_0x232547||_0x253084===_0x3b4e30['value'])return;const _0x4874d1=_0x253084?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x253084+'\x22.':_0x544239(0x1d5);throw CliErrors[_0x544239(0x1b7)](_0x3b4e30[_0x544239(0x19b)]+'='+_0x3b4e30[_0x544239(0x1a4)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x4874d1+'\x20'+(_0x544239(0x1cb)+_0x3b4e30[_0x544239(0x19b)]+'\x22.'));}export function createPipelineEnv(_0x3814c8,_0x315db0,_0x38a97a=[]){const _0x141e5b=a327_0xa135;return{'rawFlags':_0x315db0,'args':_0x38a97a,'resolveAppCode':()=>_0x3814c8[_0x141e5b(0x1d0)],'resolveCookie':()=>_0x3814c8[_0x141e5b(0x1ce)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a327_0x5f7e19(_0x315db0),'defaultFormat':_0x3814c8[_0x141e5b(0x1d6)],'defaultPageSize':_0x3814c8[_0x141e5b(0x1c5)],'defaultVerbose':_0x3814c8[_0x141e5b(0x1a5)],'apiDir':_0x3814c8[_0x141e5b(0x199)],'riskLevel':_0x3814c8['riskLevel'],'selectedAppName':_0x3814c8['explicitAppName'],'mergedCli':{'defaultApp':_0x3814c8[_0x141e5b(0x1ca)],'currentApp':_0x3814c8[_0x141e5b(0x198)],'appCode':_0x3814c8[_0x141e5b(0x1d0)],'apps':_0x3814c8[_0x141e5b(0x1a2)]}};}export function createRabetbaseRunnerAdapter(_0x363e08={}){const _0x37cc46=a327_0xa135;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x37cc46(0x1a3)](_0x22439a=>PIPELINE_FLAG_NAMES[_0x37cc46(0x1db)](_0x22439a[_0x37cc46(0x19b)]))[_0x37cc46(0x1a8)](({name:_0x31088a,type:_0x3be820,description:_0x199430})=>({'name':_0x31088a,'type':_0x3be820,'description':_0x199430})),'formatOutput':_0x363e08['formatOutput']??formatOutput,'getCommandLabel'(_0x409903){const _0x43163b=_0x37cc46;return CLI_BIN_NAME+'\x20'+_0x409903[_0x43163b(0x191)]+'\x20'+_0x409903['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x559556,{def:_0x5d0e94}){const _0x1931ca=_0x37cc46,_0x47b5de=_0x559556[_0x1931ca(0x193)](_0x1931ca(0x195))?_0x1931ca(0x1b0):'A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22'+_0x5d0e94[_0x1931ca(0x1af)]+_0x1931ca(0x1b2)+_0x1931ca(0x1b0);return CliErrors[_0x1931ca(0x1b7)](_0x559556+_0x1931ca(0x1dc)+_0x47b5de);}},async 'prepare'(_0x580d88,_0xd6d24b,_0x506655,_0x42795f){const _0x21d54c=_0x37cc46,_0x1183e7=_0xd6d24b[_0x21d54c(0x199)]||DEFAULT_API_DIR,_0x2d16c6=hasExplicitAppCode(_0x506655,_0xd6d24b[_0x21d54c(0x1ac)]),_0x1ed78c=stringFlag(_0x506655[_0x21d54c(0x1cc)])||stringFlag(_0xd6d24b[_0x21d54c(0x1ac)]['appcode']),_0x55cd8a=_0xd6d24b[_0x21d54c(0x1da)]?.[_0x21d54c(0x1a2)]??{},_0x25ee89=_0xd6d24b[_0x21d54c(0x1a1)]||_0xd6d24b[_0x21d54c(0x1da)]?.[_0x21d54c(0x198)]||_0xd6d24b[_0x21d54c(0x1da)]?.['defaultApp'],_0x47afb2=_0x1ed78c?Object[_0x21d54c(0x1b9)](_0x55cd8a)['filter'](([,_0x572fe0])=>_0x572fe0['appcode']===_0x1ed78c)[_0x21d54c(0x1a8)](([_0x335ee9])=>_0x335ee9):[];if(_0x47afb2[_0x21d54c(0x19d)]>0x1&&!_0xd6d24b[_0x21d54c(0x1a1)])throw CliErrors[_0x21d54c(0x1b7)]('AppCode\x20\x22'+_0x1ed78c+_0x21d54c(0x1ba)+_0x47afb2[_0x21d54c(0x1cd)](',\x20')+'.','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.');resolveAliasToCode(_0x580d88,_0x506655,_0x1183e7,_0x42795f,_0xd6d24b['resolveAppCode'](),_0x25ee89);const _0x5f314b=resolveCommandAuthMode(_0x580d88);let _0x35fd31='';if(_0x5f314b!==_0x21d54c(0x1c8)){_0x35fd31=_0xd6d24b[_0x21d54c(0x1ae)]()||'';if(!_0x35fd31){if(_0x5f314b==='required')throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x3aa53f}=await import('../core/api-client.js');_0x3aa53f(_0x35fd31);}}const _0x532696=_0xd6d24b['resolveAppCode']()??'';if(_0x580d88[_0x21d54c(0x19f)]!==![]){if(!_0x2d16c6&&_0x25ee89&&!_0x55cd8a[_0x25ee89]){const _0x5975c9=Object[_0x21d54c(0x1d3)](_0x55cd8a);throw CliErrors['validation'](_0x21d54c(0x19c)+_0x25ee89+_0x21d54c(0x1dd),_0x5975c9[_0x21d54c(0x19d)]>0x0?_0x21d54c(0x1c3)+_0x5975c9[_0x21d54c(0x1cd)](',\x20')+'.\x20Use\x20--app/--appcode,\x20or\x20run\x20`'+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.':_0x21d54c(0x197)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.');}assertEnvAppCodeNotIgnored(_0x532696,resolveEnvAppCode(),_0x2d16c6);if(!_0x532696){const _0x4f1542=Object[_0x21d54c(0x1d3)](_0x55cd8a);if(!_0x25ee89&&_0x4f1542[_0x21d54c(0x19d)]>0x1)throw CliErrors[_0x21d54c(0x1cf)](_0x21d54c(0x18f)+CLI_BIN_NAME+_0x21d54c(0x194)+_0x4f1542['join'](',\x20')+'.');throw CliErrors[_0x21d54c(0x1cf)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}}return{'defaults':{'booleans':{'verbose':_0xd6d24b[_0x21d54c(0x192)]},'numbers':{'pagesize':_0xd6d24b[_0x21d54c(0x190)]}},'extras':{'appCode':_0x532696,'cookie':_0x35fd31,'apiDomain':_0xd6d24b['resolveApiDomain'](),'apiDir':_0x1183e7,'selectedAppName':_0xd6d24b['selectedAppName'],'mergedCli':_0xd6d24b[_0x21d54c(0x1da)]}};},'confirmHighRisk':_0x363e08['confirmHighRisk']??(async({env:_0x5cdcd8,commandLabel:_0x384c8c})=>{const _0x3cf260=_0x37cc46;if(_0x5cdcd8['isNonInteractive'])throw CliErrors['validation'](_0x3cf260(0x1bf)+_0x384c8c+_0x3cf260(0x1de));await requireConfirmationPrompt({'lines':[_0x3cf260(0x1c0)+_0x384c8c,_0x3cf260(0x1c4)],'createCancelledError':_0x46d221=>CliErrors[_0x3cf260(0x1b6)](_0x46d221)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x4fbadc=a327_0xa135,{clearActiveCookie:_0x621faa}=await import(_0x4fbadc(0x196));_0x621faa();}export async function finalizeRabetbaseRuntimeState(){const _0x438bab=a327_0xa135;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x291d86},{initEnv:_0xf88bb1}]=await Promise[_0x438bab(0x1c1)]([import('../constant/domain.js'),import('../constant/env.js')]);_0x291d86(),_0xf88bb1(_0x438bab(0x1c9));}}export async function runCommand(_0x2b6feb,_0x55f8d0,_0x3332fe=terminalRunnerAdapter){assertRejectedFlags(_0x2b6feb,_0x55f8d0['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x2b6feb)?withUpdateNotice(_0x2b6feb):_0x2b6feb,_0x55f8d0,_0x3332fe);}function assertRejectedFlags(_0x12aaca,_0x4b0d93){const _0x8a7510=a327_0xa135;for(const _0x21723c of _0x12aaca[_0x8a7510(0x1a9)]??[]){const _0x9623f0=GLOBAL_FLAGS[_0x8a7510(0x1c2)](_0x1d2b79=>_0x1d2b79[_0x8a7510(0x19b)]===_0x21723c['name']),_0x5d9aff=new Set([_0x21723c[_0x8a7510(0x19b)],toCamelCase(_0x21723c['name']),_0x9623f0?.[_0x8a7510(0x19e)]]),_0x4256b0=[..._0x5d9aff][_0x8a7510(0x1a0)](_0x12bc81=>{if(!_0x12bc81)return![];const _0x5da744=_0x4b0d93[_0x12bc81];return _0x5da744!==undefined&&_0x5da744!==null&&_0x5da744!==![];});if(_0x4256b0)throw CliErrors[_0x8a7510(0x1b7)](_0x21723c[_0x8a7510(0x1d7)],_0x21723c['hint']);}}function toCamelCase(_0x4ba473){const _0x43b240=a327_0xa135;return _0x4ba473['replace'](/-([a-z])/g,(_0x472081,_0x3392cb)=>_0x3392cb[_0x43b240(0x1b4)]());}function shouldAttachUpdateNotice(_0xb3656a){const _0x4c55d6=a327_0xa135;if(_0xb3656a['hasFormat']===![])return![];return![_0x4c55d6(0x1be),'schema',_0x4c55d6(0x1bb)][_0x4c55d6(0x193)](_0xb3656a[_0x4c55d6(0x191)]);}function withUpdateNotice(_0x3a23e9){return{..._0x3a23e9,async 'execute'(_0xecba30){const _0x3b98a1=a327_0xa135,_0x545083=shouldResolveUpdateNotice(_0xecba30)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x3b98a1(0x1a6)](null),_0x2bbf6d=await _0x3a23e9[_0x3b98a1(0x1d4)](_0xecba30);return attachUpdateNotice(_0x2bbf6d,await _0x545083);}};}function shouldResolveUpdateNotice(_0xf3d4da){const _0x1de8ba=a327_0xa135;return _0xf3d4da[_0x1de8ba(0x1d6)]==='pretty'&&!_0xf3d4da[_0x1de8ba(0x1d1)];}function attachUpdateNotice(_0x3783de,_0x23e30c){const _0x29eaf1=a327_0xa135;if(!_0x23e30c||!_0x3783de||typeof _0x3783de!==_0x29eaf1(0x1c7))return _0x3783de;const _0x155e07=_0x3783de,_0x27dbee=typeof _0x155e07[_0x29eaf1(0x1d8)]===_0x29eaf1(0x1c7)&&_0x155e07[_0x29eaf1(0x1d8)]!==null?_0x155e07[_0x29eaf1(0x1d8)]:{};return{..._0x155e07,'_notice':{..._0x27dbee,'update':_0x23e30c}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x50127b,_0xab98bf){const _0x18ca76=a328_0x3da1,_0x15719e=_0x50127b();while(!![]){try{const _0x99f7b=parseInt(_0x18ca76(0x7a))/0x1+parseInt(_0x18ca76(0x7e))/0x2+-parseInt(_0x18ca76(0x7d))/0x3+parseInt(_0x18ca76(0x79))/0x4+parseInt(_0x18ca76(0x7c))/0x5*(-parseInt(_0x18ca76(0x78))/0x6)+-parseInt(_0x18ca76(0x7b))/0x7+-parseInt(_0x18ca76(0x7f))/0x8;if(_0x99f7b===_0xab98bf)break;else _0x15719e['push'](_0x15719e['shift']());}catch(_0x4ff64b){_0x15719e['push'](_0x15719e['shift']());}}}(a328_0x1757,0x5b5b2));function a328_0x1757(){const _0x5268a3=['1776210PjkrUk','1482982SyTFgu','4792752RyPRLj','86916ZlPQVK','2332548xyuZUP','609934eOTWYJ','2280222Gxycgh','15IGNOEA'];a328_0x1757=function(){return _0x5268a3;};return a328_0x1757();}import{buildSchemaPayload as a328_0x565d0c}from'@lovrabet/cli-framework';function a328_0x3da1(_0x564741,_0x48e04e){_0x564741=_0x564741-0x78;const _0x1757c2=a328_0x1757();let _0x3da1b3=_0x1757c2[_0x564741];return _0x3da1b3;}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0x1f782a,findDefinition:_0x30d627}=await import('../commands/registry.js');return a328_0x565d0c({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x1f782a,'buildAllFlags':buildAllFlags,'findDefinition':_0x30d627});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1a1029,_0xdacae7){const _0xe9535=a329_0x4fd2,_0x165ba8=_0x1a1029();while(!![]){try{const _0x57fa26=parseInt(_0xe9535(0xb5))/0x1*(parseInt(_0xe9535(0xb9))/0x2)+parseInt(_0xe9535(0xba))/0x3+-parseInt(_0xe9535(0xbf))/0x4+-parseInt(_0xe9535(0xb6))/0x5*(parseInt(_0xe9535(0xb2))/0x6)+parseInt(_0xe9535(0xb4))/0x7*(parseInt(_0xe9535(0xc6))/0x8)+-parseInt(_0xe9535(0xbc))/0x9*(parseInt(_0xe9535(0xbe))/0xa)+parseInt(_0xe9535(0xb8))/0xb;if(_0x57fa26===_0xdacae7)break;else _0x165ba8['push'](_0x165ba8['shift']());}catch(_0x1abe98){_0x165ba8['push'](_0x165ba8['shift']());}}}(a329_0x341a,0x491c9));function a329_0x4fd2(_0x39eba6,_0x123ae0){_0x39eba6=_0x39eba6-0xb2;const _0x341a94=a329_0x341a();let _0x4fd2f4=_0x341a94[_0x39eba6];return _0x4fd2f4;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a329_0x341a(){const _0x2f6a6c=['filter','help','232OMhtub','name','flags','length','find','replace','\x20for\x20`','toUpperCase','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','alias','3564QzkiTL','meowKey','86891ReqsCd','2rPrUVG','3545TbvsfT','version','7521976Ifzmry','61760MYNsxA','988065scDing','add','369TkTQrr','has','122330YqkDKq','850976IMlqFp','command','entries','service','$1-$2'];a329_0x341a=function(){return _0x2f6a6c;};return a329_0x341a();}export function assertSupportedCommandFlags(_0x508e3c,_0x3b0f7f){const _0x48a8f5=a329_0x4fd2;if(!_0x508e3c['strictFlags'])return;const _0x385746=new Set([_0x48a8f5(0xc5),_0x48a8f5(0xb7)]),_0x569dbe=GLOBAL_FLAGS[_0x48a8f5(0xc4)](_0x491732=>PIPELINE_FLAG_NAMES[_0x48a8f5(0xbd)](_0x491732[_0x48a8f5(0xc7)]));for(const _0x403ba2 of[..._0x508e3c[_0x48a8f5(0xc8)],..._0x569dbe]){addFlagCandidates(_0x385746,_0x403ba2);}for(const [_0x20da18,_0x215409]of Object[_0x48a8f5(0xc1)](_0x3b0f7f)){if(!isExplicitValue(_0x215409)||_0x385746['has'](_0x20da18))continue;const _0x2f91e2=GLOBAL_FLAGS[_0x48a8f5(0xca)](_0x2bf846=>_0x2bf846[_0x48a8f5(0xb3)]===_0x20da18)?.[_0x48a8f5(0xc7)]??toKebabCase(_0x20da18);throw CliErrors['validation']('Unsupported\x20flag\x20--'+_0x2f91e2+_0x48a8f5(0xcc)+CLI_BIN_NAME+'\x20'+_0x508e3c['service']+'\x20'+_0x508e3c[_0x48a8f5(0xc0)]+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x508e3c[_0x48a8f5(0xc2)]+'\x20'+_0x508e3c[_0x48a8f5(0xc0)]+_0x48a8f5(0xce));}}function addFlagCandidates(_0x485bdc,_0x407068){const _0x41370b=a329_0x4fd2,_0x1cf97e=_0x41370b(0xb3)in _0x407068?[_0x407068[_0x41370b(0xc7)],_0x407068['meowKey']]:[_0x407068[_0x41370b(0xc7)],_0x407068[_0x41370b(0xcf)]];for(const _0x5e1e10 of _0x1cf97e){if(!_0x5e1e10)continue;_0x485bdc[_0x41370b(0xbb)](_0x5e1e10),_0x485bdc[_0x41370b(0xbb)](toCamelCase(_0x5e1e10));}}function isExplicitValue(_0x58c93d){const _0x1e1119=a329_0x4fd2;return _0x58c93d!==undefined&&_0x58c93d!==null&&_0x58c93d!==![]&&(!Array['isArray'](_0x58c93d)||_0x58c93d[_0x1e1119(0xc9)]>0x0);}function toCamelCase(_0xa64b3b){const _0x2fa216=a329_0x4fd2;return _0xa64b3b['replace'](/-([a-z])/g,(_0x196928,_0x14d68e)=>_0x14d68e[_0x2fa216(0xcd)]());}function toKebabCase(_0x32b771){const _0x4bcfae=a329_0x4fd2;return _0x32b771[_0x4bcfae(0xcb)](/([a-z0-9])([A-Z])/g,_0x4bcfae(0xc3))['toLowerCase']();}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a330_0x2f21(){var _0x3d249c=['370vlHhnY','5274QNnsNy','10SGOdEI','1197879IPMmQS','4gcurhJ','4730341lDxtWB','5404368cFWSCp','36TGRGKn','142764Kbnpcb','4233782UwwviW','32022pANZKX','30whBDVP'];a330_0x2f21=function(){return _0x3d249c;};return a330_0x2f21();}function a330_0x5875(_0x452e62,_0xf33a8f){_0x452e62=_0x452e62-0x104;var _0x2f21b8=a330_0x2f21();var _0x587597=_0x2f21b8[_0x452e62];return _0x587597;}(function(_0x3313d1,_0xf66dc){var _0x13aa07=a330_0x5875,_0x7f8903=_0x3313d1();while(!![]){try{var _0x395829=parseInt(_0x13aa07(0x10e))/0x1*(-parseInt(_0x13aa07(0x10d))/0x2)+-parseInt(_0x13aa07(0x10f))/0x3*(-parseInt(_0x13aa07(0x104))/0x4)+-parseInt(_0x13aa07(0x10b))/0x5*(-parseInt(_0x13aa07(0x108))/0x6)+parseInt(_0x13aa07(0x109))/0x7+parseInt(_0x13aa07(0x106))/0x8+parseInt(_0x13aa07(0x10a))/0x9*(-parseInt(_0x13aa07(0x10c))/0xa)+parseInt(_0x13aa07(0x105))/0xb*(-parseInt(_0x13aa07(0x107))/0xc);if(_0x395829===_0xf66dc)break;else _0x7f8903['push'](_0x7f8903['shift']());}catch(_0x37ce1f){_0x7f8903['push'](_0x7f8903['shift']());}}}(a330_0x2f21,0x5b630));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "2.5.10-beta.
|
|
2
|
-
export declare const GIT_TAG = "v2.5.10-beta.
|
|
3
|
-
export declare const GIT_COMMIT = "
|
|
4
|
-
export declare const BUILD_TIME = "2026-
|
|
1
|
+
export declare const VERSION = "2.5.10-beta.2";
|
|
2
|
+
export declare const GIT_TAG = "v2.5.10-beta.2";
|
|
3
|
+
export declare const GIT_COMMIT = "9f816428";
|
|
4
|
+
export declare const BUILD_TIME = "2026-11-02T03:49:28.574Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a331_0x11e688=a331_0x5e21;function a331_0x5e21(_0x41ece4,_0xd02504){_0x41ece4=_0x41ece4-0x1f3;const _0xd58438=a331_0xd584();let _0x5e21f8=_0xd58438[_0x41ece4];return _0x5e21f8;}(function(_0x3ab471,_0x54aca9){const _0x4e836c=a331_0x5e21,_0x45db12=_0x3ab471();while(!![]){try{const _0xa34af8=-parseInt(_0x4e836c(0x1fe))/0x1+parseInt(_0x4e836c(0x1f8))/0x2+-parseInt(_0x4e836c(0x1f9))/0x3*(parseInt(_0x4e836c(0x1fb))/0x4)+-parseInt(_0x4e836c(0x1f7))/0x5*(-parseInt(_0x4e836c(0x1f6))/0x6)+-parseInt(_0x4e836c(0x1ff))/0x7*(parseInt(_0x4e836c(0x1f3))/0x8)+-parseInt(_0x4e836c(0x1fc))/0x9*(parseInt(_0x4e836c(0x1fa))/0xa)+parseInt(_0x4e836c(0x1f4))/0xb;if(_0xa34af8===_0x54aca9)break;else _0x45db12['push'](_0x45db12['shift']());}catch(_0x1d9120){_0x45db12['push'](_0x45db12['shift']());}}}(a331_0xd584,0xbb1c1));export const VERSION='2.5.10-beta.2';export const GIT_TAG='v2.5.10-beta.2';export const GIT_COMMIT=a331_0x11e688(0x1f5);function a331_0xd584(){const _0x6026cc=['490isiBFX','313672tWHUKV','18GKXYyQ','7610xIXmwo','795736iPBowd','16911JCRZxa','2026-11-02T03:49:28.574Z','1520913LmbpDR','7057022NlQTzj','8GyFrfH','49631571CriYIf','9f816428','76542tSVFEl'];a331_0xd584=function(){return _0x6026cc;};return a331_0xd584();}export const BUILD_TIME=a331_0x11e688(0x1fd);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a332_0x36e849=a332_0x156b;(function(_0xc5cd6e,_0x5b5202){const _0x3cb925=a332_0x156b,_0x2f153d=_0xc5cd6e();while(!![]){try{const _0x388407=parseInt(_0x3cb925(0x1ed))/0x1+-parseInt(_0x3cb925(0x1eb))/0x2+parseInt(_0x3cb925(0x1e1))/0x3*(-parseInt(_0x3cb925(0x1dd))/0x4)+parseInt(_0x3cb925(0x1d8))/0x5*(-parseInt(_0x3cb925(0x1ef))/0x6)+parseInt(_0x3cb925(0x1cb))/0x7*(parseInt(_0x3cb925(0x1f2))/0x8)+parseInt(_0x3cb925(0x1dc))/0x9*(parseInt(_0x3cb925(0x1de))/0xa)+parseInt(_0x3cb925(0x1e5))/0xb*(parseInt(_0x3cb925(0x1c6))/0xc);if(_0x388407===_0x5b5202)break;else _0x2f153d['push'](_0x2f153d['shift']());}catch(_0x45fef0){_0x2f153d['push'](_0x2f153d['shift']());}}}(a332_0x538c,0x36dc6));export const ROUTING_CATALOG_DIGEST='57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587';export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id','global'];function a332_0x156b(_0x40b766,_0x1a1600){_0x40b766=_0x40b766-0x1c6;const _0x538c0e=a332_0x538c();let _0x156b06=_0x538c0e[_0x40b766];return _0x156b06;}export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a332_0x36e849(0x1c9),'aliases':[a332_0x36e849(0x1e9)],'serviceDomains':{'production':{'user':a332_0x36e849(0x1cf),'api':'https://api.lovrabet.com','runtime':'https://runtime.lovrabet.com','skill':'https://skills.lovrabet.com','kb':a332_0x36e849(0x1e3),'kbService':'https://kb-service.lovrabet.com','app':a332_0x36e849(0x1cc)},'daily':{'user':a332_0x36e849(0x1e0),'api':a332_0x36e849(0x1ca),'runtime':a332_0x36e849(0x1e2),'skill':a332_0x36e849(0x1d9),'kb':a332_0x36e849(0x1ca),'kbService':a332_0x36e849(0x1d3),'app':'https://daily.lovrabet.com'}},'cdn':{'libraries':a332_0x36e849(0x1f1),'lovrabet':a332_0x36e849(0x1c8)},'local':{'origin':a332_0x36e849(0x1e8)}},'id':{'enabled':!![],'label':a332_0x36e849(0x1e7),'aliases':[a332_0x36e849(0x1ec)],'serviceDomains':{'production':{'user':a332_0x36e849(0x1e6),'api':a332_0x36e849(0x1d7),'runtime':a332_0x36e849(0x1db),'skill':'https://skills.lovrabet.id','kb':a332_0x36e849(0x1d7),'kbService':'https://kb-service.lovrabet.id','app':a332_0x36e849(0x1cd)}},'cdn':{'libraries':a332_0x36e849(0x1d5),'lovrabet':a332_0x36e849(0x1d6)},'local':{'origin':a332_0x36e849(0x1d2)}},'global':{'enabled':!![],'label':a332_0x36e849(0x1c7),'aliases':[],'serviceDomains':{'production':{'user':a332_0x36e849(0x1d1),'api':'https://api.lovrabet.ai','runtime':a332_0x36e849(0x1ee),'skill':a332_0x36e849(0x1f0),'kb':'https://api.lovrabet.ai','app':a332_0x36e849(0x1d0)},'daily':{'user':a332_0x36e849(0x1d4),'api':a332_0x36e849(0x1ce),'runtime':a332_0x36e849(0x1ea),'skill':a332_0x36e849(0x1da),'kb':a332_0x36e849(0x1ce),'app':'https://daily.lovrabet.ai'}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs','lovrabet':a332_0x36e849(0x1df)},'local':{'origin':a332_0x36e849(0x1e4)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};function a332_0x538c(){const _0x369ab9=['https://kb-service-daily.lovrabet.com','https://user-daily.lovrabet.ai','https://cdnjs.cloudflare.com/ajax/libs','https://g.lovrabet.id','https://api.lovrabet.id','2161070QKHXFw','https://skills-daily.lovrabet.com','https://skills-daily.lovrabet.ai','https://runtime.lovrabet.id','72rHqMyw','828OcmmgJ','502840bkVzcT','https://g.lovrabet.ai','https://user-daily.lovrabet.com','4293uCsKFT','https://daily-runtime.lovrabet.com','https://api.lovrabet.com','https://dev.lovrabet.ai','2078483mTxxZq','https://user.lovrabet.id','Indonesia','https://dev.lovrabet.com','china','https://daily-runtime.lovrabet.ai','197604OSQaAQ','indonesia','299981vVSynn','https://runtime.lovrabet.ai','6wUTwzN','https://skills.lovrabet.ai','https://g.alicdn.com/code/lib','9816FrvRKM','12pvgkkL','Global','https://g.lovrabet.com','Mainland\x20China','https://daily-api.lovrabet.com','917aBJLSD','https://app.lovrabet.com','https://app.lovrabet.id','https://daily-api.lovrabet.ai','https://user.lovrabet.com','https://app.lovrabet.ai','https://user.lovrabet.ai','https://dev.lovrabet.id'];a332_0x538c=function(){return _0x369ab9;};return a332_0x538c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a333_0x1866b9=a333_0xcf46;function a333_0xcf46(_0x7b2efa,_0x50506a){_0x7b2efa=_0x7b2efa-0xa9;const _0x2d59e1=a333_0x2d59();let _0xcf46c=_0x2d59e1[_0x7b2efa];return _0xcf46c;}(function(_0xf2584b,_0x395208){const _0x212efc=a333_0xcf46,_0x3eb64d=_0xf2584b();while(!![]){try{const _0xd238ff=-parseInt(_0x212efc(0xac))/0x1+-parseInt(_0x212efc(0xb3))/0x2*(-parseInt(_0x212efc(0xbd))/0x3)+-parseInt(_0x212efc(0xad))/0x4*(-parseInt(_0x212efc(0xb8))/0x5)+-parseInt(_0x212efc(0xaa))/0x6*(parseInt(_0x212efc(0xb4))/0x7)+parseInt(_0x212efc(0xb0))/0x8*(parseInt(_0x212efc(0xb7))/0x9)+parseInt(_0x212efc(0xba))/0xa+-parseInt(_0x212efc(0xae))/0xb;if(_0xd238ff===_0x395208)break;else _0x3eb64d['push'](_0x3eb64d['shift']());}catch(_0x5d6622){_0x3eb64d['push'](_0x3eb64d['shift']());}}}(a333_0x2d59,0x8dac9));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST='a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3';export const ENTERPRISE_ROUTING_PROTOCOL=a333_0x1866b9(0xaf);export const ENTERPRISE_ROUTING_KIND=a333_0x1866b9(0xbc);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a333_0x1866b9(0xb5),a333_0x1866b9(0xa9),a333_0x1866b9(0xbb),a333_0x1866b9(0xbe),a333_0x1866b9(0xb2),'kbServiceDomain',a333_0x1866b9(0xb9),a333_0x1866b9(0xab),'certificateDomain'];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a333_0x1866b9(0xa9),'runtimeDomain',a333_0x1866b9(0xbe),'kbDomain',a333_0x1866b9(0xb9)];export const ENTERPRISE_ROUTING_CDN_FIELDS=[a333_0x1866b9(0xb1),'lovrabet'];function a333_0x2d59(){const _0x43abbf=['enterprise','93YvhkZj','skillDomain','apiDomain','6VXypAE','localDomain','738137tNlVnv','132128vXasbM','13309813VpwuQG','lovrabet-routing/v1','95896wnRFvM','libraries','kbDomain','23520oSUtSj','8729yZqGWu','userDomain','lovrabet','621LEVIUD','30HOrnKg','appDomain','11398090VKJPhh','runtimeDomain'];a333_0x2d59=function(){return _0x43abbf;};return a333_0x2d59();}export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a333_0x1866b9(0xb1),a333_0x1866b9(0xb6)];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x284bf9,_0x28ad09){var _0x5aa3ad=a334_0x4b96,_0x3e6066=_0x284bf9();while(!![]){try{var _0x440134=-parseInt(_0x5aa3ad(0x121))/0x1+-parseInt(_0x5aa3ad(0x125))/0x2+-parseInt(_0x5aa3ad(0x128))/0x3+parseInt(_0x5aa3ad(0x11d))/0x4*(-parseInt(_0x5aa3ad(0x129))/0x5)+parseInt(_0x5aa3ad(0x124))/0x6*(parseInt(_0x5aa3ad(0x122))/0x7)+-parseInt(_0x5aa3ad(0x123))/0x8*(-parseInt(_0x5aa3ad(0x126))/0x9)+-parseInt(_0x5aa3ad(0x11e))/0xa*(-parseInt(_0x5aa3ad(0x120))/0xb);if(_0x440134===_0x28ad09)break;else _0x3e6066['push'](_0x3e6066['shift']());}catch(_0x1d4ff2){_0x3e6066['push'](_0x3e6066['shift']());}}}(a334_0x1760,0x54d4f));import a334_0x3c636f from'chalk';function a334_0x1760(){var _0x1f534c=['\x20to\x20view\x20available\x20commands.','12807894comnVV','16088PEUzXo','1337EDoeon','1413632iWvkHI','4566VcTNwy','847816luLaCJ','18bWWpAV','\x20\x20Use\x20','1781037MUKAuO','16205DHTTom','green','log','\x20--help','bold','348ghUyuh','10PUbdur'];a334_0x1760=function(){return _0x1f534c;};return a334_0x1760();}function a334_0x4b96(_0x1dfd7b,_0x15550f){_0x1dfd7b=_0x1dfd7b-0x119;var _0x176012=a334_0x1760();var _0x4b9648=_0x176012[_0x1dfd7b];return _0x4b9648;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x43b9b6=a334_0x4b96;console['log'](),console[_0x43b9b6(0x11a)](a334_0x3c636f[_0x43b9b6(0x119)][_0x43b9b6(0x11c)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x43b9b6(0x11a)](),console[_0x43b9b6(0x11a)](_0x43b9b6(0x127)+a334_0x3c636f['green'][_0x43b9b6(0x11c)](CLI_BIN_NAME+_0x43b9b6(0x11b))+_0x43b9b6(0x11f)),console[_0x43b9b6(0x11a)]();}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xf59709,_0xb8d93e){const _0x1e3f64=a335_0x1e36,_0x48db95=_0xf59709();while(!![]){try{const _0x5155b8=parseInt(_0x1e3f64(0xbd))/0x1+-parseInt(_0x1e3f64(0xb7))/0x2+parseInt(_0x1e3f64(0xc1))/0x3*(parseInt(_0x1e3f64(0xb9))/0x4)+parseInt(_0x1e3f64(0xb5))/0x5*(-parseInt(_0x1e3f64(0xb1))/0x6)+-parseInt(_0x1e3f64(0xb6))/0x7*(parseInt(_0x1e3f64(0xb2))/0x8)+parseInt(_0x1e3f64(0xaf))/0x9+-parseInt(_0x1e3f64(0xba))/0xa*(-parseInt(_0x1e3f64(0xb8))/0xb);if(_0x5155b8===_0xb8d93e)break;else _0x48db95['push'](_0x48db95['shift']());}catch(_0x1107d5){_0x48db95['push'](_0x48db95['shift']());}}}(a335_0x48e0,0x2ac65));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a335_0x48e0(){const _0x1268bc=['906105gGJcok','log','installedPath','changed','915930QvkFKZ','repairCommand','10788gkZIdk','40WObMvQ','Rabetbase\x20Built-in\x20Skill\x20','warn','890hBfocr','37849fignhD','611718llrPwb','19030uykwBI','4uNMjnR','650vJqRXQ','Installation\x20failed','installed','311888QDiNkw','\x20via\x20skills@latest','skillVersion','Repair\x20with:\x20'];a335_0x48e0=function(){return _0x1268bc;};return a335_0x48e0();}function a335_0x1e36(_0x4d684c,_0xc52bdf){_0x4d684c=_0x4d684c-0xad;const _0x48e0ff=a335_0x48e0();let _0x1e36a4=_0x48e0ff[_0x4d684c];return _0x1e36a4;}export async function runPostinstall(_0x519c91={}){const _0x94e95c=a335_0x1e36,_0x224c84=installBuiltinSkill(_0x519c91);if(_0x224c84['ok']){const _0x43eb41=_0x224c84[_0x94e95c(0xae)]?_0x94e95c(0xbc):'already\x20current',_0x294478=_0x224c84['installedPath']?'\x20at\x20'+_0x224c84[_0x94e95c(0xad)]:_0x94e95c(0xbe);return console[_0x94e95c(0xc2)](_0x94e95c(0xb3)+_0x224c84[_0x94e95c(0xbf)]+'\x20'+_0x43eb41+_0x294478),_0x224c84;}const _0x25cdd3='[BUILTIN_SKILL_INSTALL_'+(_0x224c84['code']??'FAILED')+']\x20'+(_0x224c84['error']??_0x94e95c(0xbb))+'.\x20'+(_0x94e95c(0xc0)+_0x224c84[_0x94e95c(0xb0)]);if(_0x224c84['code']==='SOURCE_INVALID')throw new Error(_0x25cdd3);return console[_0x94e95c(0xb4)](_0x25cdd3),_0x224c84;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a336_0x359a(_0x483ccf,_0x1f2009){_0x483ccf=_0x483ccf-0xd8;const _0x470fc8=a336_0x470f();let _0x359aa3=_0x470fc8[_0x483ccf];return _0x359aa3;}function a336_0x470f(){const _0x153a63=['Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','trim','risk','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','441726wYMqyn','This\x20will\x20run\x20the\x20write\x20','3790872PkTyfI','This\x20will\x20run\x20the\x20high-risk\x20write\x20','8peKGtu','high-risk-write','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','write','slice','350766fKVKvk','32013378JVnVyq','2273440djGCEY','42xOKjZg','608930ofHqDT','string','confirmationDescription','6873272QnyniU'];a336_0x470f=function(){return _0x153a63;};return a336_0x470f();}(function(_0x3f9631,_0x5c5dfb){const _0x1d41d4=a336_0x359a,_0x193d0f=_0x3f9631();while(!![]){try{const _0x287df8=parseInt(_0x1d41d4(0xd8))/0x1+parseInt(_0x1d41d4(0xe4))/0x2+parseInt(_0x1d41d4(0xe6))/0x3+parseInt(_0x1d41d4(0xda))/0x4+parseInt(_0x1d41d4(0xdc))/0x5*(parseInt(_0x1d41d4(0xdb))/0x6)+parseInt(_0x1d41d4(0xdf))/0x7*(parseInt(_0x1d41d4(0xe8))/0x8)+-parseInt(_0x1d41d4(0xd9))/0x9;if(_0x287df8===_0x5c5dfb)break;else _0x193d0f['push'](_0x193d0f['shift']());}catch(_0x4b2159){_0x193d0f['push'](_0x193d0f['shift']());}}}(a336_0x470f,0xa6409));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x4111ca,_0x110b48,_0x1e3459){const _0x12337c=a336_0x359a,_0x235f32=normalizeText(_0x4111ca[_0x12337c(0xde)],DESCRIPTION_MAX_LENGTH),_0x19ba47=_0x235f32||normalizeText(defaultDescription(requireWriteRisk(_0x4111ca),_0x110b48),DESCRIPTION_MAX_LENGTH);return{'operation':_0x110b48,'risk':requireWriteRisk(_0x4111ca),'description':_0x19ba47,..._0x1e3459?{'signal':_0x1e3459}:{}};}function requireWriteRisk(_0xf9b4e1){const _0x56da7b=a336_0x359a;if(_0xf9b4e1['risk']===_0x56da7b(0xeb)||_0xf9b4e1[_0x56da7b(0xe2)]===_0x56da7b(0xe9))return _0xf9b4e1['risk'];throw new Error(_0x56da7b(0xe0));}function defaultDescription(_0x243666,_0x2045c0){const _0x5567cc=a336_0x359a;if(_0x243666===_0x5567cc(0xe9))return _0x5567cc(0xe7)+_0x2045c0+_0x5567cc(0xea);return _0x5567cc(0xe5)+_0x2045c0+_0x5567cc(0xe3);}function normalizeText(_0x1f10f7,_0x49af53){const _0x47d1c7=a336_0x359a;if(typeof _0x1f10f7!==_0x47d1c7(0xdd))return'';return _0x1f10f7['replace'](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')[_0x47d1c7(0xe1)]()[_0x47d1c7(0xec)](0x0,_0x49af53);}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x418f5a,_0x49617c){const _0xcf164b=a337_0x119f,_0x3b3489=_0x418f5a();while(!![]){try{const _0x1098e8=-parseInt(_0xcf164b(0x87))/0x1*(parseInt(_0xcf164b(0x8f))/0x2)+parseInt(_0xcf164b(0x91))/0x3*(parseInt(_0xcf164b(0x8a))/0x4)+parseInt(_0xcf164b(0x9a))/0x5*(parseInt(_0xcf164b(0x8e))/0x6)+parseInt(_0xcf164b(0x8d))/0x7+-parseInt(_0xcf164b(0x99))/0x8+-parseInt(_0xcf164b(0x90))/0x9*(parseInt(_0xcf164b(0x84))/0xa)+-parseInt(_0xcf164b(0x8c))/0xb*(parseInt(_0xcf164b(0x92))/0xc);if(_0x1098e8===_0x49617c)break;else _0x3b3489['push'](_0x3b3489['shift']());}catch(_0x4bc4a8){_0x3b3489['push'](_0x3b3489['shift']());}}}(a337_0x3ed4,0x5bb4c));function a337_0x3ed4(){const _0x4c07e6=['296975rOsDyF','split','10sZQRKN','object','filter','14171wxceEq','write','data','32848GTYWJc','risk','137269vReRcR','3412220dwCuEE','66zlCxVX','68FcIfjr','2716569rGBqWy','267hUSIKe','12rkoueA','isArray','length','high-risk-write','join','conflicts','command','5599288hdaeYn'];a337_0x3ed4=function(){return _0x4c07e6;};return a337_0x3ed4();}export function canonicalRabetbaseOperation(_0x61f27d){const _0xf22aca=a337_0x119f;return[_0x61f27d['service'],..._0x61f27d[_0xf22aca(0x98)]['trim']()[_0xf22aca(0x9b)](/\s+/)][_0xf22aca(0x86)](Boolean)[_0xf22aca(0x96)]('.');}export function createRabetbaseWriteMetadata(_0x3dec45,_0x28d046,_0x202c24,_0x508f42){const _0x52c720=a337_0x119f;if(_0x508f42||_0x202c24['ok']!==!![]||hasUnresolvedConflicts(_0x202c24)||_0x3dec45['risk']!==_0x52c720(0x88)&&_0x3dec45[_0x52c720(0x8b)]!==_0x52c720(0x95))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':'rabetbase.write.completed','operation':_0x28d046,'risk':_0x3dec45[_0x52c720(0x8b)]}}};}function a337_0x119f(_0x46baf6,_0x542204){_0x46baf6=_0x46baf6-0x84;const _0x3ed47a=a337_0x3ed4();let _0x119faa=_0x3ed47a[_0x46baf6];return _0x119faa;}function hasUnresolvedConflicts(_0x9141fd){const _0x17a489=a337_0x119f,_0x271a1d=_0x9141fd[_0x17a489(0x89)];return Boolean(_0x271a1d&&typeof _0x271a1d===_0x17a489(0x85)&&!Array[_0x17a489(0x93)](_0x271a1d)&&Array[_0x17a489(0x93)](_0x271a1d[_0x17a489(0x97)])&&_0x271a1d[_0x17a489(0x97)][_0x17a489(0x94)]>0x0);}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3af29a,_0xc5c54a){const _0x20169e=a338_0x495d,_0x5ab078=_0x3af29a();while(!![]){try{const _0xb58386=-parseInt(_0x20169e(0xef))/0x1+-parseInt(_0x20169e(0xe6))/0x2*(-parseInt(_0x20169e(0xe7))/0x3)+-parseInt(_0x20169e(0xf3))/0x4+parseInt(_0x20169e(0xfb))/0x5*(-parseInt(_0x20169e(0xf0))/0x6)+-parseInt(_0x20169e(0xff))/0x7+-parseInt(_0x20169e(0xf5))/0x8+parseInt(_0x20169e(0xf2))/0x9;if(_0xb58386===_0xc5c54a)break;else _0x5ab078['push'](_0x5ab078['shift']());}catch(_0x217c92){_0x5ab078['push'](_0x5ab078['shift']());}}}(a338_0x1479,0xc8057));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x698963,command:_0x2a8ea7,risk:_0x5be162,dryRun:_0x83e2b5}){const _0x1d5468=a338_0x495d;return JSON['stringify']({'ok':_0x698963['ok'],'command':_0x2a8ea7,'risk':_0x5be162,..._0x83e2b5?{'dryRun':!![]}:{},..._0x698963[_0x1d5468(0x100)]!==undefined?{'data':_0x698963[_0x1d5468(0x100)]}:{},..._0x698963['message']?{'message':_0x698963[_0x1d5468(0x104)]}:{}});}};export async function invokeRabetbase(_0xf33fb1,_0x42a15d){const _0x13c27b=a338_0x495d;throwIfAborted(_0x42a15d[_0x13c27b(0x106)]);const _0x4643c4=await resolveRabetbaseInvocation(_0xf33fb1),_0x301908=canonicalRabetbaseOperation(_0x4643c4[_0x13c27b(0xf9)]);return await confirmWriteBeforeQueue(_0x4643c4[_0x13c27b(0xf9)],_0x4643c4[_0x13c27b(0xeb)],_0x301908,_0x42a15d),runSerialized(async()=>{const _0x1971a5=_0x13c27b,_0x59aef8={};try{throwIfAborted(_0x42a15d['signal']);const _0x5e658b=buildConfigFromFlags(_0x4643c4[_0x1971a5(0xeb)]);!isRoutingRecoveryService(_0x4643c4[_0x1971a5(0xf9)][_0x1971a5(0xea)])&&await initGlobalEnvironment(_0x5e658b);const _0x4dbfb9=createPipelineEnv(_0x5e658b,{..._0x4643c4['rawFlags'],'yes':_0x4643c4['definition'][_0x1971a5(0xfe)]===_0x1971a5(0xe5)?!![]:_0x4643c4[_0x1971a5(0xeb)][_0x1971a5(0xe9)],'nonInteractive':!![]},_0x4643c4[_0x1971a5(0xe8)]);_0x4dbfb9[_0x1971a5(0xf8)]=!![],_0x4dbfb9['riskLevel']='high-risk-write';const _0x229f9e=withAbortSignal(_0x4643c4[_0x1971a5(0xf9)],_0x42a15d[_0x1971a5(0x106)]),_0x9e1931=createRabetbaseRunnerAdapter({'formatOutput'(_0x3d2e58,_0x8c1229){const _0x4e1961=_0x1971a5;_0x59aef8[_0x4e1961(0xfc)]=_0x3d2e58,_0x59aef8[_0x4e1961(0xf6)]=_0x8c1229[_0x4e1961(0xf6)],_0x59aef8[_0x4e1961(0xfe)]=_0x8c1229[_0x4e1961(0xfe)],_0x59aef8['format']=_0x8c1229[_0x4e1961(0xfd)],_0x59aef8[_0x4e1961(0x107)]=_0x8c1229[_0x4e1961(0x107)]===!![];},async 'confirmHighRisk'(){const _0x10696c=_0x1971a5;throw new Error(_0x10696c(0xed));}});await runCommand(_0x229f9e,_0x4dbfb9,_0x9e1931);if(!_0x59aef8[_0x1971a5(0xfc)]||!_0x59aef8[_0x1971a5(0xf6)]||!_0x59aef8[_0x1971a5(0xfe)]||!_0x59aef8['format'])throw new Error('Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x319d87=_0x59aef8['dryRun']===!![],_0x48bd5f=_0x42a15d[_0x1971a5(0x105)]??defaultPresentation,_0x5eeb81={'result':_0x59aef8['result'],'command':_0x59aef8['command'],'operation':_0x301908,'risk':_0x59aef8['risk'],'format':_0x59aef8['format'],'dryRun':_0x319d87},_0x3c8922=createRabetbaseWriteMetadata(_0x4643c4[_0x1971a5(0xf9)],_0x301908,_0x59aef8[_0x1971a5(0xfc)],_0x319d87);let _0x103359;try{_0x103359=await _0x48bd5f[_0x1971a5(0x103)](_0x5eeb81);}catch(_0x3a62eb){if(!_0x3c8922||_0x48bd5f===defaultPresentation)throw _0x3a62eb;_0x103359=await defaultPresentation[_0x1971a5(0x103)](_0x5eeb81);}return{'operation':_0x301908,'risk':_0x59aef8['risk'],'mode':_0x319d87?_0x1971a5(0xee):_0x1971a5(0x102),'result':_0x59aef8[_0x1971a5(0xfc)],'output':_0x103359,..._0x3c8922?{'metadata':_0x3c8922}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}function a338_0x1479(){const _0x275d62=['write','55mSbVHp','result','format','risk','8946301LFrvmj','data','confirm','execute','present','message','presentation','signal','dryRun','high-risk-write','2aFdRVk','156123FTZIAu','args','yes','service','rawFlags','reason','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','dry-run','1096999dLPZHY','349764PYoola','confirmation','45296073RKCmxY','1096276fMZgwd','aborted','7802448JYejEP','command','Rabetbase\x20invocation\x20aborted.','isNonInteractive','definition'];a338_0x1479=function(){return _0x275d62;};return a338_0x1479();}async function confirmWriteBeforeQueue(_0xbecd6d,_0xba9aeb,_0x5327cb,_0x3aaac8){const _0x236749=a338_0x495d;if(_0xba9aeb[_0x236749(0x107)]===!![]||_0xbecd6d[_0x236749(0xfe)]!==_0x236749(0xfa)&&_0xbecd6d['risk']!==_0x236749(0xe5))return;await _0x3aaac8[_0x236749(0xf1)][_0x236749(0x101)](buildRabetbaseConfirmationRequest(_0xbecd6d,_0x5327cb,_0x3aaac8[_0x236749(0x106)]));}function withAbortSignal(_0x3e763a,_0x176255){return{..._0x3e763a,async 'execute'(_0x242952){return throwIfAborted(_0x176255),_0x3e763a['execute']({..._0x242952,'signal':_0x176255});}};}function a338_0x495d(_0xda9c09,_0x2b4105){_0xda9c09=_0xda9c09-0xe5;const _0x1479f0=a338_0x1479();let _0x495dde=_0x1479f0[_0xda9c09];return _0x495dde;}function throwIfAborted(_0x4cf1ac){const _0x1fa8a6=a338_0x495d;if(_0x4cf1ac?.[_0x1fa8a6(0xf4)])throw _0x4cf1ac[_0x1fa8a6(0xec)]instanceof Error?_0x4cf1ac['reason']:new DOMException(_0x1fa8a6(0xf7),'AbortError');}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a339_0x2779(_0x172396,_0x3df58c){_0x172396=_0x172396-0x1ef;const _0x4150cc=a339_0x4150();let _0x27792b=_0x4150cc[_0x172396];return _0x27792b;}function a339_0x4150(){const _0x2ef632=['1416aNZelf','1649945tTpwvx','12YbkynT','30818HYPhBe','5995545DgEEMP','45rYXVys','1499608BztLOp','resolve','64376WaRQMv','15CGqonB','1059224EQvjKU','90YSrlwh','catch','1353186qsSVxl','21kPPhIG'];a339_0x4150=function(){return _0x2ef632;};return a339_0x4150();}const a339_0x4f157c=a339_0x2779;(function(_0x502ef7,_0x48932f){const _0x2c71be=a339_0x2779,_0x5c5cae=_0x502ef7();while(!![]){try{const _0x884e1e=parseInt(_0x2c71be(0x1f1))/0x1*(-parseInt(_0x2c71be(0x1fa))/0x2)+-parseInt(_0x2c71be(0x1f9))/0x3*(parseInt(_0x2c71be(0x1f2))/0x4)+parseInt(_0x2c71be(0x1fb))/0x5+parseInt(_0x2c71be(0x1f5))/0x6*(parseInt(_0x2c71be(0x1f6))/0x7)+parseInt(_0x2c71be(0x1fd))/0x8*(parseInt(_0x2c71be(0x1fc))/0x9)+parseInt(_0x2c71be(0x1f3))/0xa*(-parseInt(_0x2c71be(0x1f8))/0xb)+parseInt(_0x2c71be(0x1f7))/0xc*(parseInt(_0x2c71be(0x1f0))/0xd);if(_0x884e1e===_0x48932f)break;else _0x5c5cae['push'](_0x5c5cae['shift']());}catch(_0x23c090){_0x5c5cae['push'](_0x5c5cae['shift']());}}}(a339_0x4150,0xb8cf3));let tail=Promise[a339_0x4f157c(0x1ef)]();export async function runSerialized(_0x31993c){const _0x3a44a5=a339_0x4f157c,_0x3ff912=tail;let _0x2577ce;tail=new Promise(_0xd217d8=>{_0x2577ce=_0xd217d8;}),await _0x3ff912[_0x3a44a5(0x1f4)](()=>undefined);try{return await _0x31993c();}finally{_0x2577ce();}}
|
package/lib/runtime/resolve.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x9f965f,_0x45ffa2){const _0x589aa8=a340_0x3cd4,_0x3ff762=_0x9f965f();while(!![]){try{const _0x5421af=parseInt(_0x589aa8(0x99))/0x1+parseInt(_0x589aa8(0x97))/0x2+-parseInt(_0x589aa8(0x9d))/0x3*(parseInt(_0x589aa8(0xa0))/0x4)+parseInt(_0x589aa8(0x9b))/0x5+parseInt(_0x589aa8(0xab))/0x6*(parseInt(_0x589aa8(0x9a))/0x7)+parseInt(_0x589aa8(0xa9))/0x8+-parseInt(_0x589aa8(0xaa))/0x9*(parseInt(_0x589aa8(0xa6))/0xa);if(_0x5421af===_0x45ffa2)break;else _0x3ff762['push'](_0x3ff762['shift']());}catch(_0x1cae35){_0x3ff762['push'](_0x3ff762['shift']());}}}(a340_0x2532,0x874f3));function a340_0x2532(){const _0x468f57=['10qcZYBK','hint','wildcardDef','1749752DVOGZz','13740309NOxFWn','48738EAHclC','validation','595804WWRraf','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','968159xoJlom','763dcsnAF','868715YDymOT','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','231501ASUrlt','join','slice','24TrFEtf','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','run','message','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','flags'];a340_0x2532=function(){return _0x468f57;};return a340_0x2532();}import a340_0x477d9c from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a340_0x3cd4(_0x242967,_0x379474){_0x242967=_0x242967-0x97;const _0x25322f=a340_0x2532();let _0x3cd49c=_0x25322f[_0x242967];return _0x3cd49c;}import{assertSupportedCommandFlags}from'../framework/supported-flags.js';export async function resolveRabetbaseInvocation(_0x530156){const _0x38fe37=a340_0x3cd4,_0x142628=a340_0x477d9c('',{'importMeta':import.meta,'argv':[..._0x530156],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x1f4277=[..._0x142628['input']],_0x2efe58=_0x142628[_0x38fe37(0xa5)],_0x52e63d=_0x1f4277[0x0];if(!_0x52e63d)throw CliErrors[_0x38fe37(0xac)](_0x38fe37(0x98));const _0x1f12b7=resolveRemovedCommand(_0x52e63d,_0x1f4277[0x1]);if(_0x1f12b7)throw CliErrors['validation'](_0x1f12b7[_0x38fe37(0xa3)],_0x1f12b7[_0x38fe37(0xa7)]);if(_0x52e63d===_0x38fe37(0xa2))throw CliErrors['validation'](_0x38fe37(0xa4),_0x38fe37(0x9c));if(!isKnownService(_0x52e63d))throw CliErrors['unknownCommand'](_0x1f4277[_0x38fe37(0x9e)]('\x20'));const _0x56d255=getServiceEntry(_0x52e63d),_0x3b0dea=_0x1f4277[0x1],_0xe599f0=_0x3b0dea||_0x56d255['defaultCommand'];if(!_0xe599f0){if(_0x56d255[_0x38fe37(0xa8)])return{'definition':_0x56d255[_0x38fe37(0xa8)],'rawFlags':_0x2efe58,'args':[]};throw CliErrors[_0x38fe37(0xac)](_0x38fe37(0xa1)+_0x52e63d+'\x22.');}const _0x12996a=findDefinition(_0x52e63d,_0xe599f0);if(_0x12996a)return assertSupportedCommandFlags(_0x12996a,_0x2efe58),{'definition':_0x12996a,'rawFlags':_0x2efe58,'args':_0x1f4277[_0x38fe37(0x9f)](0x2)};if(_0x56d255[_0x38fe37(0xa8)])return{'definition':_0x56d255['wildcardDef'],'rawFlags':_0x2efe58,'args':[_0xe599f0,..._0x1f4277['slice'](0x2)]};throw CliErrors['unknownCommand'](_0x52e63d+'\x20'+_0xe599f0);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x27d9a7,_0x235e3d){const _0x46192b=a342_0x58ed,_0x436901=_0x27d9a7();while(!![]){try{const _0x3bd18b=parseInt(_0x46192b(0x18c))/0x1+-parseInt(_0x46192b(0x185))/0x2*(-parseInt(_0x46192b(0x18b))/0x3)+-parseInt(_0x46192b(0x19b))/0x4*(parseInt(_0x46192b(0x194))/0x5)+parseInt(_0x46192b(0x183))/0x6*(parseInt(_0x46192b(0x186))/0x7)+parseInt(_0x46192b(0x187))/0x8*(parseInt(_0x46192b(0x191))/0x9)+-parseInt(_0x46192b(0x190))/0xa+-parseInt(_0x46192b(0x199))/0xb;if(_0x3bd18b===_0x235e3d)break;else _0x436901['push'](_0x436901['shift']());}catch(_0x3fa232){_0x436901['push'](_0x436901['shift']());}}}(a342_0x187c,0xf2e61));function a342_0x58ed(_0x2794d6,_0x454c4f){_0x2794d6=_0x2794d6-0x17c;const _0x187c6e=a342_0x187c();let _0x58ed95=_0x187c6e[_0x2794d6];return _0x58ed95;}import{randomUUID}from'node:crypto';import{dirname}from'node:path';function a342_0x187c(){const _0x232f91=['writeFile','parse','17237800qdzdzX','1341CrHzIA','isSymbolicLink','EEXIST','5CMysnv','isFile','dataset-design-operation','string','clientOperationId','1249215dzlimY','identityKey','5348636Kbpuwb','code','stringify','.tmp','size','length','schemaVersion','kind','manifest','6MnMOrI','inputHash','14tNifOk','13581169BRaBov','60040yLcGDD','ENOENT','test','catch','295113qOwMxS','422408CndSRs','Invalid\x20checkpoint;\x20reconcile\x20its\x20original\x20operation\x20before\x20submitting\x20again.'];a342_0x187c=function(){return _0x232f91;};return a342_0x187c();}import{mkdir,open,link,unlink,rename,lstat,readFile}from'node:fs/promises';import{isObject,requireValue}from'./contract.js';export async function readCheckpoint(_0x260ddf){const _0x38e0b3=a342_0x58ed;try{const _0x2c5408=await lstat(_0x260ddf);requireValue(_0x2c5408[_0x38e0b3(0x195)]()&&!_0x2c5408[_0x38e0b3(0x192)]()&&_0x2c5408[_0x38e0b3(0x17e)]<=0x3d0900,'Checkpoint\x20must\x20be\x20a\x20regular\x20JSON\x20file.');const _0x50df90=JSON[_0x38e0b3(0x18f)](await readFile(_0x260ddf,'utf8'));return requireValue(isObject(_0x50df90)&&_0x50df90[_0x38e0b3(0x181)]===_0x38e0b3(0x196)&&_0x50df90[_0x38e0b3(0x180)]===0x1&&typeof _0x50df90['clientOperationId']===_0x38e0b3(0x197)&&/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/[_0x38e0b3(0x189)](_0x50df90[_0x38e0b3(0x198)])&&typeof _0x50df90[_0x38e0b3(0x184)]===_0x38e0b3(0x197)&&/^[a-f0-9]{64}$/[_0x38e0b3(0x189)](_0x50df90[_0x38e0b3(0x184)])&&typeof _0x50df90[_0x38e0b3(0x19a)]===_0x38e0b3(0x197)&&_0x50df90['identityKey'][_0x38e0b3(0x17f)]>0x0&&isObject(_0x50df90[_0x38e0b3(0x182)]),_0x38e0b3(0x18d)),_0x50df90;}catch(_0x1ed820){if(_0x1ed820[_0x38e0b3(0x19c)]===_0x38e0b3(0x188))return undefined;throw _0x1ed820;}}export async function saveCheckpoint(_0x4f4b96,_0x2591ff,_0x32b0c3=![]){const _0x48ed76=a342_0x58ed;await mkdir(dirname(_0x4f4b96),{'recursive':!![]});const _0x150209=_0x4f4b96+'.'+randomUUID()+_0x48ed76(0x17d),_0x40d57a=await open(_0x150209,'wx',0x180);try{await _0x40d57a[_0x48ed76(0x18e)](JSON[_0x48ed76(0x17c)](_0x2591ff,null,0x2)+'\x0a'),await _0x40d57a['sync']();}finally{await _0x40d57a['close']();}try{if(_0x32b0c3)await link(_0x150209,_0x4f4b96);else await rename(_0x150209,_0x4f4b96);return!![];}catch(_0x16a8ed){if(_0x32b0c3&&_0x16a8ed[_0x48ed76(0x19c)]===_0x48ed76(0x193))return![];throw _0x16a8ed;}finally{await unlink(_0x150209)[_0x48ed76(0x18a)](_0x366816=>{const _0x5e7fb5=_0x48ed76;if(_0x366816[_0x5e7fb5(0x19c)]!==_0x5e7fb5(0x188))throw _0x366816;});}}
|