@lovrabet/rabetbase-cli 2.5.2-beta.1 → 2.5.2-beta.3
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/README.md +1 -1
- package/lib/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/api/generate-sdk-config-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/members-list.js +1 -1
- package/lib/commands/app/remote-directory.js +1 -1
- package/lib/commands/app/shared.d.ts +1 -0
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/delete.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/app-config/list.js +1 -1
- package/lib/commands/app-config/set.js +1 -1
- package/lib/commands/app-config/shared.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-registry.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/async-task.js +1 -1
- package/lib/commands/common/dry-run.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/delete.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/init.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/dataset/business-group-update.js +1 -1
- package/lib/commands/dataset/business-groups.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-restore.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/generate.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-audit.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/dataset/restore.js +1 -1
- package/lib/commands/dataset/user-deleted-field-list.js +1 -1
- package/lib/commands/db/analysis-batching.js +1 -1
- package/lib/commands/db/analyze-batch-plan.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff-refresh-start.js +1 -1
- package/lib/commands/db/diff-refresh-status.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/table-diff-shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/deployment/auto-sync.js +1 -1
- package/lib/commands/deployment/index.js +1 -1
- package/lib/commands/deployment/sync-all.d.ts +2 -0
- package/lib/commands/deployment/sync-all.js +1 -0
- package/lib/commands/deployment/sync-jobs.d.ts +2 -0
- package/lib/commands/deployment/sync-jobs.js +1 -0
- package/lib/commands/deployment/sync-status.d.ts +2 -0
- package/lib/commands/deployment/sync-status.js +1 -0
- package/lib/commands/deployment/sync.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/instant-api-policy/current.d.ts +2 -0
- package/lib/commands/instant-api-policy/current.js +1 -0
- package/lib/commands/instant-api-policy/index.d.ts +2 -0
- package/lib/commands/instant-api-policy/index.js +1 -0
- package/lib/commands/instant-api-policy/init.d.ts +2 -0
- package/lib/commands/instant-api-policy/init.js +1 -0
- package/lib/commands/instant-api-policy/publish.d.ts +2 -0
- package/lib/commands/instant-api-policy/publish.js +1 -0
- package/lib/commands/instant-api-policy/pull.d.ts +2 -0
- package/lib/commands/instant-api-policy/pull.js +1 -0
- package/lib/commands/instant-api-policy/revision.d.ts +2 -0
- package/lib/commands/instant-api-policy/revision.js +1 -0
- package/lib/commands/instant-api-policy/revisions.d.ts +2 -0
- package/lib/commands/instant-api-policy/revisions.js +1 -0
- package/lib/commands/instant-api-policy/rollback.d.ts +2 -0
- package/lib/commands/instant-api-policy/rollback.js +1 -0
- package/lib/commands/instant-api-policy/shared.d.ts +82 -0
- package/lib/commands/instant-api-policy/shared.js +1 -0
- package/lib/commands/instant-api-policy/validate.d.ts +2 -0
- package/lib/commands/instant-api-policy/validate.js +1 -0
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/nudge.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/issue/shared.js +1 -1
- package/lib/commands/kb/create.js +1 -1
- package/lib/commands/kb/delete.js +1 -1
- package/lib/commands/kb/detail.js +1 -1
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/kb/list.js +1 -1
- package/lib/commands/kb/search.js +1 -1
- package/lib/commands/kb/shared.js +1 -1
- package/lib/commands/kb/update.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/asset-update.js +1 -1
- package/lib/commands/menu/delete.js +1 -1
- package/lib/commands/menu/external-link-create.js +1 -1
- package/lib/commands/menu/external-link-update.js +1 -1
- package/lib/commands/menu/group-create.js +1 -1
- package/lib/commands/menu/group-update.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/list.js +1 -1
- package/lib/commands/menu/move.js +1 -1
- package/lib/commands/menu/regroup-start.js +1 -1
- package/lib/commands/menu/rename.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/delete-plan.js +1 -1
- package/lib/commands/menu/shared/facts.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/mutations.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/visibility-update.js +1 -1
- package/lib/commands/notification/config-create.js +1 -1
- package/lib/commands/notification/config-delete.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/config-update.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/notification/shared.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/page/create.js +1 -1
- package/lib/commands/page/custom/detail.js +1 -1
- package/lib/commands/page/custom/list.js +1 -1
- package/lib/commands/page/custom/publish.js +1 -1
- package/lib/commands/page/custom/shared.js +1 -1
- package/lib/commands/page/custom/syntax.js +1 -1
- package/lib/commands/page/custom/template.js +1 -1
- package/lib/commands/page/custom/update.js +1 -1
- package/lib/commands/page/data-list-status.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/relation-audit.js +1 -1
- package/lib/commands/page/restore.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/materialize-project-template.js +1 -1
- package/lib/commands/project/create/project-name.js +1 -1
- package/lib/commands/project/create/project-template-archive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/domain-routing-sync.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/role/delete.js +1 -1
- package/lib/commands/role/detail.js +1 -1
- package/lib/commands/role/index.js +1 -1
- package/lib/commands/role/list.js +1 -1
- package/lib/commands/role/shared.js +1 -1
- package/lib/commands/role/update.js +1 -1
- package/lib/commands/role/user-add.js +1 -1
- package/lib/commands/role/user-remove.js +1 -1
- package/lib/commands/role/user-resolve.js +1 -1
- package/lib/commands/rule/get.js +1 -1
- package/lib/commands/rule/index.js +1 -1
- package/lib/commands/rule/list.js +1 -1
- package/lib/commands/rule/set.js +1 -1
- package/lib/commands/rule/shared.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/commands/task/index.js +1 -1
- package/lib/commands/task/status.js +1 -1
- package/lib/commands/tenant/index.js +1 -1
- package/lib/commands/tenant/members-list.js +1 -1
- package/lib/commands/tenant/shared.js +1 -1
- package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/add.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/commands/workspace/remove.js +1 -1
- package/lib/config/domain-config.d.ts +3 -7
- package/lib/config/domain-config.js +1 -1
- package/lib/config/project-domain-routing.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/paths.js +1 -1
- package/lib/constant/region.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/routing-profile.js +1 -1
- package/lib/context/app-resolver.js +1 -1
- package/lib/context/auth-resolver.js +1 -1
- package/lib/context/config-loader.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.d.ts +114 -0
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/instant-api-policy/config.d.ts +23 -0
- package/lib/core/instant-api-policy/config.js +1 -0
- package/lib/core/kb-search-client.js +1 -1
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-index-auditor.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/error-output.js +1 -1
- package/lib/framework/explicit-yes.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-alias.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/supported-flags.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.d.ts +4 -4
- package/lib/generated/build-info.js +1 -1
- package/lib/generated/official-routing.d.ts +1 -1
- package/lib/generated/official-routing.js +1 -1
- package/lib/generated/routing-contract.d.ts +1 -3
- package/lib/generated/routing-contract.js +1 -1
- package/lib/help.js +1 -1
- package/lib/postinstall.js +1 -1
- package/lib/runtime/confirmation.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/skills/builtin-skill.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
- package/skills/rabetbase/SKILL.md +12 -6
- package/skills/rabetbase/references/rabetbase-app-members-list.md +2 -0
- package/skills/rabetbase/references/rabetbase-deployment-sync.md +41 -5
- package/skills/rabetbase/references/rabetbase-instant-api-policy.md +92 -0
- package/skills/rabetbase.manifest.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4511cd,_0x435fa2){const _0x1675e9=a271_0xbd43,_0x145800=_0x4511cd();while(!![]){try{const _0x584fb9=-parseInt(_0x1675e9(0xa9))/0x1*(parseInt(_0x1675e9(0xaa))/0x2)+-parseInt(_0x1675e9(0xac))/0x3+-parseInt(_0x1675e9(0xab))/0x4*(-parseInt(_0x1675e9(0xa7))/0x5)+parseInt(_0x1675e9(0xaf))/0x6+parseInt(_0x1675e9(0xad))/0x7*(-parseInt(_0x1675e9(0xae))/0x8)+parseInt(_0x1675e9(0xa8))/0x9+-parseInt(_0x1675e9(0xb0))/0xa;if(_0x584fb9===_0x435fa2)break;else _0x145800['push'](_0x145800['shift']());}catch(_0x1c812c){_0x145800['push'](_0x145800['shift']());}}}(a271_0x542e,0xe91df));function a271_0xbd43(_0x43e44b,_0x255f3b){_0x43e44b=_0x43e44b-0xa7;const _0x542e05=a271_0x542e();let _0xbd436f=_0x542e05[_0x43e44b];return _0xbd436f;}function a271_0x542e(){const _0x52cd2e=['7387194cnRdti','2847040bXOHDK','name','map','yes','7834415kyjWNB','8426592brsatE','2XuabrT','928118AXBlTf','4nqHsPC','3282756tsETPO','1102381TCkkJA','24LjwOsq'];a271_0x542e=function(){return _0x52cd2e;};return a271_0x542e();}import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a271_0xd5d50e}from'@lovrabet/cli-framework';import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';export function buildAllFlags(_0x58191e){const _0x4f82f8=a271_0xbd43,_0x4fe38a=a271_0xd5d50e(_0x58191e,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x58191e))return _0x4fe38a;return _0x4fe38a[_0x4f82f8(0xb2)](_0x13cdc3=>_0x13cdc3[_0x4f82f8(0xb1)]===_0x4f82f8(0xb3)?{..._0x13cdc3,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x13cdc3);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a272_0x5e83(){var _0x2d1c07=['15160LAZvPg','defaultFormat','143304HLbhZV','compress','350212RyPxEX','217oOKDJY','flags','format','43075tscuoj','def','1605699mxWjdi','structuredErrors','20IvgFAN','88448uTMvCE','508203fLOodF'];a272_0x5e83=function(){return _0x2d1c07;};return a272_0x5e83();}(function(_0x460d65,_0xba01c2){var _0x26d62f=a272_0xadef,_0x272732=_0x460d65();while(!![]){try{var _0x33b1f6=parseInt(_0x26d62f(0xd2))/0x1+parseInt(_0x26d62f(0xc9))/0x2+parseInt(_0x26d62f(0xd3))/0x3+parseInt(_0x26d62f(0xd1))/0x4*(-parseInt(_0x26d62f(0xcd))/0x5)+-parseInt(_0x26d62f(0xc7))/0x6+-parseInt(_0x26d62f(0xca))/0x7*(parseInt(_0x26d62f(0xd4))/0x8)+-parseInt(_0x26d62f(0xcf))/0x9;if(_0x33b1f6===_0xba01c2)break;else _0x272732['push'](_0x272732['shift']());}catch(_0x11cf8a){_0x272732['push'](_0x272732['shift']());}}}(a272_0x5e83,0x1f748));function a272_0xadef(_0x274315,_0x1425c9){_0x274315=_0x274315-0xc7;var _0x5e8327=a272_0x5e83();var _0xadef2a=_0x5e8327[_0x274315];return _0xadef2a;}import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x51f9df){var _0x39ab18=a272_0xadef;return _0x51f9df?.[_0x39ab18(0xd0)]===!![];}export function resolveErrorOutputFormat(_0x580b14){var _0x42d41e=a272_0xadef;if(!_0x580b14[_0x42d41e(0xce)])return _0x580b14[_0x42d41e(0xd5)]??_0x42d41e(0xc8);return resolveOutputConfig({'flags':_0x580b14[_0x42d41e(0xcb)]??{},'def':_0x580b14[_0x42d41e(0xce)],'configDefault':_0x580b14['defaultFormat']})[_0x42d41e(0xcc)];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a273_0x129514=a273_0x5758;(function(_0x3b5df3,_0x23975c){const _0x42834e=a273_0x5758,_0x306c2f=_0x3b5df3();while(!![]){try{const _0x4a0c5c=parseInt(_0x42834e(0x16a))/0x1*(-parseInt(_0x42834e(0x165))/0x2)+-parseInt(_0x42834e(0x16d))/0x3*(-parseInt(_0x42834e(0x170))/0x4)+-parseInt(_0x42834e(0x16f))/0x5*(-parseInt(_0x42834e(0x173))/0x6)+-parseInt(_0x42834e(0x174))/0x7+-parseInt(_0x42834e(0x16c))/0x8*(-parseInt(_0x42834e(0x168))/0x9)+-parseInt(_0x42834e(0x177))/0xa*(parseInt(_0x42834e(0x166))/0xb)+-parseInt(_0x42834e(0x169))/0xc;if(_0x4a0c5c===_0x23975c)break;else _0x306c2f['push'](_0x306c2f['shift']());}catch(_0x59a8d7){_0x306c2f['push'](_0x306c2f['shift']());}}}(a273_0x4574,0x9eb12));const EXPLICIT_YES_COMMANDS=new Set([a273_0x129514(0x172),a273_0x129514(0x171),a273_0x129514(0x16e),a273_0x129514(0x167)]);export const EXPLICIT_YES_FLAG_DESCRIPTION=a273_0x129514(0x176);function a273_0x4574(){const _0xfb1620=['81328aflNRQ','has','7442992OfEFEs','17163tgVpmQ','notification\x20config-update','5hLUgJL','548wYDngj','kb\x20delete','menu\x20delete','7394046uaMfGI','5900559Fxtkrn','command','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','880420sSLWmA','26ULFUbK','22FOVGIo','notification\x20config-delete','9nZBdtf','2642460EweJvE'];a273_0x4574=function(){return _0xfb1620;};return a273_0x4574();}function a273_0x5758(_0x4ea48f,_0x1146b1){_0x4ea48f=_0x4ea48f-0x165;const _0x4574b2=a273_0x4574();let _0x575857=_0x4574b2[_0x4ea48f];return _0x575857;}export function requiresExplicitYes(_0x176d61){const _0x515e36=a273_0x129514;return EXPLICIT_YES_COMMANDS[_0x515e36(0x16b)](_0x176d61['service']+'\x20'+_0x176d61[_0x515e36(0x175)]);}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a274_0x13e8(){const _0x537e35=['parseFlags','60WQQbcF','65277BvhciK','80039IdceFs','2fnzerK','validateFlags','1042909ZJKzFA','4bjHtdF','226446MLSpQo','302675ONlXGb','73032zDORPJ','8ehmsUr','2631882dfQkSb'];a274_0x13e8=function(){return _0x537e35;};return a274_0x13e8();}const a274_0x1b375d=a274_0x3770;(function(_0xdafd1c,_0x4f71e4){const _0x526ddf=a274_0x3770,_0x4ccd4c=_0xdafd1c();while(!![]){try{const _0xef98ae=-parseInt(_0x526ddf(0x1b1))/0x1*(-parseInt(_0x526ddf(0x1a5))/0x2)+-parseInt(_0x526ddf(0x1ab))/0x3+parseInt(_0x526ddf(0x1a8))/0x4*(parseInt(_0x526ddf(0x1aa))/0x5)+parseInt(_0x526ddf(0x1a9))/0x6+-parseInt(_0x526ddf(0x1a7))/0x7*(-parseInt(_0x526ddf(0x1ac))/0x8)+parseInt(_0x526ddf(0x1b0))/0x9*(parseInt(_0x526ddf(0x1af))/0xa)+-parseInt(_0x526ddf(0x1ad))/0xb;if(_0xef98ae===_0x4f71e4)break;else _0x4ccd4c['push'](_0x4ccd4c['shift']());}catch(_0xa995e3){_0x4ccd4c['push'](_0x4ccd4c['shift']());}}}(a274_0x13e8,0x1a2ce));import{createFlagHelpers}from'@lovrabet/cli-framework';function a274_0x3770(_0x477529,_0x5ba9ba){_0x477529=_0x477529-0x1a5;const _0x13e861=a274_0x13e8();let _0x377011=_0x13e861[_0x477529];return _0x377011;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a274_0x1b375d(0x1ae)];export const validateFlags=helpers[a274_0x1b375d(0x1a6)];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3bd4a6,_0x4cf4d9){const _0x1e9ea1=a275_0x2dc3,_0x4ece40=_0x3bd4a6();while(!![]){try{const _0xdaa8fa=parseInt(_0x1e9ea1(0xc0))/0x1+parseInt(_0x1e9ea1(0xb4))/0x2*(parseInt(_0x1e9ea1(0xaf))/0x3)+parseInt(_0x1e9ea1(0xba))/0x4+-parseInt(_0x1e9ea1(0xb8))/0x5+parseInt(_0x1e9ea1(0xbb))/0x6+parseInt(_0x1e9ea1(0xb3))/0x7*(parseInt(_0x1e9ea1(0xbd))/0x8)+parseInt(_0x1e9ea1(0xb2))/0x9*(-parseInt(_0x1e9ea1(0xb6))/0xa);if(_0xdaa8fa===_0x4cf4d9)break;else _0x4ece40['push'](_0x4ece40['shift']());}catch(_0xf2e3b){_0x4ece40['push'](_0x4ece40['shift']());}}}(a275_0x1c59,0xd0314));import{createHelpGenerators}from'@lovrabet/cli-framework';function a275_0x1c59(){const _0x343dc0=['\x20[args]\x20[flags]','152deMlYW','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','\x20workspace\x20init`\x20or\x20--appcode).','1281891lHFVsA','2184012aldlYW','generateServiceHelp','replace','12269727SZBHUZ','253281zTSxii','2ICkoQy','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','20hSvvWt','generateFullHelp','5916925TvSOpQ','Requires\x20appcode\x20(set\x20via\x20`','4940364kcmTFl','4981704gWDgsV'];a275_0x1c59=function(){return _0x343dc0;};return a275_0x1c59();}import{buildAllFlags}from'../framework/build-all-flags.js';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 a275_0x2dc3(_0x43a1f0,_0x5c44dd){_0x43a1f0=_0x43a1f0-0xaf;const _0x1c59e4=a275_0x1c59();let _0x2dc323=_0x1c59e4[_0x43a1f0];return _0x2dc323;}function createGenerators(){const _0x15a6d0=a275_0x2dc3;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x432d3a=>serviceGroups['get'](_0x432d3a),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x15a6d0(0xb9)+CLI_BIN_NAME+_0x15a6d0(0xbf),'serviceUsageSuffix':_0x15a6d0(0xbc)});}export function generateCommandHelp(_0x1115d9){const _0x10a93f=a275_0x2dc3,_0x5431e0=createGenerators()['generateCommandHelp'](_0x1115d9);if(!requiresExplicitYes(_0x1115d9))return _0x5431e0;return _0x5431e0[_0x10a93f(0xb1)](_0x10a93f(0xb5),_0x10a93f(0xbe));}export function generateServiceHelp(_0x222dbb){const _0x516d3d=a275_0x2dc3;return createGenerators()[_0x516d3d(0xb0)](_0x222dbb);}export function generateFullHelp(){const _0x2a8b97=a275_0x2dc3;return createGenerators()[_0x2a8b97(0xb7)]();}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a276_0x5df3(_0x28854e,_0x3ac9e5){_0x28854e=_0x28854e-0x19d;var _0x94fa73=a276_0x94fa();var _0x5df3c6=_0x94fa73[_0x28854e];return _0x5df3c6;}(function(_0xee9d29,_0x3942b4){var _0x5616eb=a276_0x5df3,_0x2c0503=_0xee9d29();while(!![]){try{var _0xd66f8a=-parseInt(_0x5616eb(0x1a3))/0x1+-parseInt(_0x5616eb(0x19f))/0x2*(-parseInt(_0x5616eb(0x19d))/0x3)+-parseInt(_0x5616eb(0x1a1))/0x4+-parseInt(_0x5616eb(0x19e))/0x5+parseInt(_0x5616eb(0x1a2))/0x6*(parseInt(_0x5616eb(0x1a0))/0x7)+-parseInt(_0x5616eb(0x1a7))/0x8*(parseInt(_0x5616eb(0x1a6))/0x9)+-parseInt(_0x5616eb(0x1a5))/0xa*(-parseInt(_0x5616eb(0x1a4))/0xb);if(_0xd66f8a===_0x3942b4)break;else _0x2c0503['push'](_0x2c0503['shift']());}catch(_0x3ff73c){_0x2c0503['push'](_0x2c0503['shift']());}}}(a276_0x94fa,0xaf75b));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';export{extractList,extractPaging}from'../framework/response.js';function a276_0x94fa(){var _0x3bd419=['8145064qqCSjN','1680hDmBBu','3957255MfUjjq','614FZjzAN','2495969CcZBUo','5080624iEdinR','12dndyFj','432626NwsFeV','11YUiXVY','33459950goGFdr','9AlBRXz'];a276_0x94fa=function(){return _0x3bd419;};return a276_0x94fa();}export{riskLevelOrder}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x28ecc6,_0x3f06f6){const _0x23fbfc=a277_0x2627,_0x45634e=_0x28ecc6();while(!![]){try{const _0x2fdd9c=-parseInt(_0x23fbfc(0x1a2))/0x1+parseInt(_0x23fbfc(0x1af))/0x2+parseInt(_0x23fbfc(0x1b0))/0x3+parseInt(_0x23fbfc(0x1a9))/0x4+parseInt(_0x23fbfc(0x1b5))/0x5+parseInt(_0x23fbfc(0x1a7))/0x6+parseInt(_0x23fbfc(0x1ad))/0x7*(-parseInt(_0x23fbfc(0x1b6))/0x8);if(_0x2fdd9c===_0x3f06f6)break;else _0x45634e['push'](_0x45634e['shift']());}catch(_0x529056){_0x45634e['push'](_0x45634e['shift']());}}}(a277_0x1197,0xd82e5));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a277_0x1197(){const _0x59abf7=['risk','jqFilter','9143676qhrNhQ','command','6814604urMHKd','stringify','url','error','301XblWRz','stdout','33382LTGiRL','4881063YXuLBt','validation','format','code','pretty','7914170RgJQor','866472Txhfii','trim','hint','endsWith','data','message','json','update','911379ITHyvM','jq:\x20','_notice'];a277_0x1197=function(){return _0x59abf7;};return a277_0x1197();}import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a277_0x2627(_0x1b74a0,_0x4efa44){_0x1b74a0=_0x1b74a0-0x19b;const _0x1197ca=a277_0x1197();let _0x2627d9=_0x1197ca[_0x1b74a0];return _0x2627d9;}export function formatOutput(_0x12c7f2,_0x5d002b){const _0x13c987=a277_0x2627,_0x55d4ba=_0x12c7f2[_0x13c987(0x1a4)],{_notice:_0xc01303,..._0x5ed398}=_0x12c7f2;void _0xc01303,baseFormatOutput(_0x5ed398,_0x5d002b),_0x5d002b[_0x13c987(0x1b2)]===_0x13c987(0x1b4)&&printPrettyNotice(_0x55d4ba);}export function formatCliError(_0x54864a,_0x74042){const _0x46fc71=a277_0x2627;if(_0x74042['format']==='pretty')return![];const _0x1674a2=_0x54864a[_0x46fc71(0x19e)],_0x4d79b3={'ok':![],'command':_0x74042[_0x46fc71(0x1a8)],'risk':_0x74042[_0x46fc71(0x1a5)],'data':_0x1674a2??null,'error':{'code':_0x54864a[_0x46fc71(0x1b3)],'message':_0x54864a[_0x46fc71(0x19f)],..._0x54864a[_0x46fc71(0x19c)]?{'hint':_0x54864a[_0x46fc71(0x19c)]}:{}}},_0x198c2c=_0x74042['format']===_0x46fc71(0x1a0)?JSON[_0x46fc71(0x1aa)](_0x4d79b3,null,0x2):JSON[_0x46fc71(0x1aa)](_0x4d79b3);let _0x3dd67b=_0x198c2c;if(_0x74042[_0x46fc71(0x1a6)]?.[_0x46fc71(0x19b)]())try{_0x3dd67b=applyJqFilter(_0x198c2c,_0x74042[_0x46fc71(0x1a6)]);}catch(_0x34cc10){const _0xa185b1=_0x34cc10 instanceof CliError?_0x34cc10:CliErrors[_0x46fc71(0x1b1)](_0x46fc71(0x1a3)+(_0x34cc10 instanceof Error?_0x34cc10[_0x46fc71(0x19f)]:String(_0x34cc10))),_0x171c6b={..._0x4d79b3,'error':{'code':_0xa185b1['code'],'message':_0xa185b1[_0x46fc71(0x19f)],..._0xa185b1[_0x46fc71(0x19c)]?{'hint':_0xa185b1[_0x46fc71(0x19c)]}:{},'cause':_0x4d79b3[_0x46fc71(0x1ac)]}};_0x3dd67b=_0x74042[_0x46fc71(0x1b2)]===_0x46fc71(0x1a0)?JSON['stringify'](_0x171c6b,null,0x2):JSON[_0x46fc71(0x1aa)](_0x171c6b);}return process[_0x46fc71(0x1ae)]['write'](_0x3dd67b[_0x46fc71(0x19d)]('\x0a')?_0x3dd67b:_0x3dd67b+'\x0a'),!![];}function printPrettyNotice(_0x38617f){const _0x1fefa3=a277_0x2627;if(!_0x38617f?.[_0x1fefa3(0x1a1)])return;console[_0x1fefa3(0x1ac)](_0x38617f['update'][_0x1fefa3(0x19f)]+'\x20('+_0x38617f[_0x1fefa3(0x1a1)][_0x1fefa3(0x1ab)]+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xdef5f1,_0x4eb8cb){var _0x844192=a278_0x5a78,_0x54e7f4=_0xdef5f1();while(!![]){try{var _0x3df5b3=-parseInt(_0x844192(0xfc))/0x1*(-parseInt(_0x844192(0x106))/0x2)+-parseInt(_0x844192(0x103))/0x3+-parseInt(_0x844192(0x105))/0x4*(-parseInt(_0x844192(0x100))/0x5)+-parseInt(_0x844192(0x104))/0x6*(-parseInt(_0x844192(0x101))/0x7)+parseInt(_0x844192(0xfe))/0x8*(-parseInt(_0x844192(0xfb))/0x9)+parseInt(_0x844192(0xff))/0xa*(-parseInt(_0x844192(0xfd))/0xb)+parseInt(_0x844192(0x102))/0xc;if(_0x3df5b3===_0x4eb8cb)break;else _0x54e7f4['push'](_0x54e7f4['shift']());}catch(_0x436392){_0x54e7f4['push'](_0x54e7f4['shift']());}}}(a278_0x94d9,0xde8ae));function a278_0x5a78(_0x3b8c34,_0x542ec2){_0x3b8c34=_0x3b8c34-0xfb;var _0x94d9df=a278_0x94d9();var _0x5a7800=_0x94d9df[_0x3b8c34];return _0x5a7800;}function a278_0x94d9(){var _0x38c0c1=['2639346DRCsvf','457112qRZCNu','1774244Xsbydu','4115169MKUkKM','1iJBQZh','18628159ImYblL','8gzmIFH','10uODKAx','55OMNNiW','7ABGFaW','9235500geAzvt','874356mlJiFn'];a278_0x94d9=function(){return _0x38c0c1;};return a278_0x94d9();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2a1104,_0x5286f0){const _0x4a75fa=a279_0x3542,_0x19b372=_0x2a1104();while(!![]){try{const _0x5d36e7=parseInt(_0x4a75fa(0x70))/0x1+-parseInt(_0x4a75fa(0x74))/0x2*(parseInt(_0x4a75fa(0x72))/0x3)+-parseInt(_0x4a75fa(0x83))/0x4*(-parseInt(_0x4a75fa(0x7f))/0x5)+-parseInt(_0x4a75fa(0x76))/0x6*(parseInt(_0x4a75fa(0x7a))/0x7)+parseInt(_0x4a75fa(0x88))/0x8*(-parseInt(_0x4a75fa(0x87))/0x9)+parseInt(_0x4a75fa(0x7b))/0xa*(parseInt(_0x4a75fa(0x78))/0xb)+parseInt(_0x4a75fa(0x81))/0xc*(-parseInt(_0x4a75fa(0x6e))/0xd);if(_0x5d36e7===_0x5286f0)break;else _0x19b372['push'](_0x19b372['shift']());}catch(_0xad499f){_0x19b372['push'](_0x19b372['shift']());}}}(a279_0x1fc5,0x77fde));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';function a279_0x3542(_0x583cb3,_0x3b5099){_0x583cb3=_0x583cb3-0x6c;const _0x1fc56b=a279_0x1fc5();let _0x354276=_0x1fc56b[_0x583cb3];return _0x354276;}import{CLI_BIN_NAME}from'../constant/cli.js';function a279_0x1fc5(){const _0x4bab60=['flags','2830dRBzSk','type','661002qOCIII','Available\x20aliases:\x20','6611DnZZoP','\x20api\x20pull`\x20first.','14bawlVG','14320jNiLqH','join','code','string','5gSvHai','alias','1649316PAbDXm','validation','3632612EBTWbb','some','length','name','207vEjHfv','322888vobsrv','No\x20api.ts\x20found\x20in\x20','map','39pwnmOy','.\x20Run\x20`','841177PKxOhx','`\x20requires\x20either\x20--code\x20or\x20--alias.','1182vTiybh'];a279_0x1fc5=function(){return _0x4bab60;};return a279_0x1fc5();}export function resolveAliasToCode(_0x5a49d8,_0x2b2d9b,_0xffdcf0,_0x44bf49){const _0x17094d=a279_0x3542,_0x515de2=_0x5a49d8['flags']['some'](_0x4eb252=>_0x4eb252[_0x17094d(0x86)]===_0x17094d(0x7d)&&_0x4eb252['type']===_0x17094d(0x7e)),_0x35e0c8=_0x5a49d8[_0x17094d(0x73)][_0x17094d(0x84)](_0x2730ea=>_0x2730ea['name']===_0x17094d(0x80)&&_0x2730ea[_0x17094d(0x75)]==='string');if(!_0x515de2||!_0x35e0c8)return;const _0x1caa7b=_0x2b2d9b[_0x17094d(0x7d)]?String(_0x2b2d9b['code']):'',_0x3cdf63=_0x2b2d9b[_0x17094d(0x80)]?String(_0x2b2d9b[_0x17094d(0x80)]):'';if(!_0x1caa7b&&!_0x3cdf63)throw CliErrors[_0x17094d(0x82)]('`'+_0x44bf49+_0x17094d(0x71));if(_0x3cdf63&&!_0x1caa7b){const _0x4458af=resolveAlias(_0xffdcf0,_0x3cdf63);if(!_0x4458af){const _0x25d473=listAliases(_0xffdcf0)[_0x17094d(0x6d)](_0x100698=>_0x100698[_0x17094d(0x80)]),_0x59376f=_0x25d473[_0x17094d(0x85)]?_0x17094d(0x77)+_0x25d473[_0x17094d(0x7c)](',\x20'):_0x17094d(0x6c)+_0xffdcf0+_0x17094d(0x6f)+CLI_BIN_NAME+_0x17094d(0x79);throw CliErrors['validation']('Unknown\x20alias\x20\x22'+_0x3cdf63+'\x22.\x20'+_0x59376f);}_0x2b2d9b[_0x17094d(0x7d)]=_0x4458af;}}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x48dbc9,_0x149609){const _0x4f857f=a266_0x540c,_0x13399e=_0x48dbc9();while(!![]){try{const _0x5b08f9=-parseInt(_0x4f857f(0x1d6))/0x1*(-parseInt(_0x4f857f(0x1dc))/0x2)+parseInt(_0x4f857f(0x1b5))/0x3+-parseInt(_0x4f857f(0x1c6))/0x4+-parseInt(_0x4f857f(0x1d0))/0x5+parseInt(_0x4f857f(0x1b6))/0x6+parseInt(_0x4f857f(0x1f3))/0x7+-parseInt(_0x4f857f(0x1ab))/0x8;if(_0x5b08f9===_0x149609)break;else _0x13399e['push'](_0x13399e['shift']());}catch(_0x4ccf1c){_0x13399e['push'](_0x13399e['shift']());}}}(a266_0x3e19,0x934a7));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';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a266_0x3e4292}from'../utils/is-non-interactive.js';function a266_0x540c(_0x13290f,_0x4cd5d8){_0x13290f=_0x13290f-0x1a5;const _0x3e19e3=a266_0x3e19();let _0x540c39=_0x3e19e3[_0x13290f];return _0x540c39;}import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function a266_0x3e19(){const _0x252f37=['\x20\x20\x20Continue?\x20[y/N]\x20','2573790glQeho','4546242wAHlNw','name','Available:\x20','filter','toUpperCase','defaultVerbose','find','has','pageSize','appCode','map','confirmHighRisk','\x0a\x20\x20','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','validation','apiDir','3943212yAvtIS','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','defaultPageSize','catch','⚠\x20\x20High-risk\x20operation:\x20','_notice','Set\x20appcode\x20via\x20`','../constant/env.js','resolveApiDomain','execute','3160340IBIVCk','Edit\x20the\x20config\x20file\x20manually','replace','RABETBASE_APPCODE','pretty','message','1AKdNyD','length','all','join','../core/api-client.js','string','2389678TSJQAJ','some','mergedCli','apps','appcode','configMissing','hasFormat','meowKey','trim','selectedAppName','nonInteractive','hint','defaultApp','service','../constant/domain.js','format','rejectedFlags','App\x20\x22','explicitAppName','cancelled','includes','none','High-risk\x20operation\x20`','8397319mYGmSu','resolve','formatOutput','object','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','isNonInteractive','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','14311352EPxGwN','cookie','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','resolveAppCode','value','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','rawFlags','keys','currentApp'];a266_0x3e19=function(){return _0x252f37;};return a266_0x3e19();}function stringFlag(_0xbacc90){const _0x415d7f=a266_0x540c;return typeof _0xbacc90===_0x415d7f(0x1db)&&_0xbacc90[_0x415d7f(0x1e4)]()?_0xbacc90[_0x415d7f(0x1e4)]():undefined;}function resolveEnvAppCode(){const _0x9a88f0=a266_0x540c,_0x1b8a2c=stringFlag(process.env.RABETBASE_APPCODE);if(_0x1b8a2c)return{'name':_0x9a88f0(0x1d3),'value':_0x1b8a2c};const _0x3723fe=stringFlag(process.env.LOVRABET_APPCODE);if(_0x3723fe)return{'name':'LOVRABET_APPCODE','value':_0x3723fe};return undefined;}function hasExplicitAppCode(_0x2f3abc,_0x4754a4){const _0x3169ab=a266_0x540c;return!!(stringFlag(_0x2f3abc['appcode'])||stringFlag(_0x4754a4[_0x3169ab(0x1e0)]));}function assertEnvAppCodeNotIgnored(_0x30533b,_0x2673ad,_0x3ea94a){const _0x30fb42=a266_0x540c;if(!_0x2673ad||_0x3ea94a||_0x30533b===_0x2673ad[_0x30fb42(0x1af)])return;const _0x3e6b19=_0x30533b?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x30533b+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors[_0x30fb42(0x1c4)](_0x2673ad['name']+'='+_0x2673ad[_0x30fb42(0x1af)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x3e6b19+'\x20'+(_0x30fb42(0x1c7)+_0x2673ad[_0x30fb42(0x1b7)]+'\x22.'));}export function createPipelineEnv(_0x43791b,_0x4600bd,_0x4e64c3=[]){const _0x45f5b0=a266_0x540c;return{'rawFlags':_0x4600bd,'args':_0x4e64c3,'resolveAppCode':()=>_0x43791b['appCode'],'resolveCookie':()=>_0x43791b[_0x45f5b0(0x1ac)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a266_0x3e4292(_0x4600bd),'defaultFormat':_0x43791b[_0x45f5b0(0x1eb)],'defaultPageSize':_0x43791b[_0x45f5b0(0x1be)],'defaultVerbose':_0x43791b['verbose'],'apiDir':_0x43791b['apiDir'],'riskLevel':_0x43791b['riskLevel'],'selectedAppName':_0x43791b[_0x45f5b0(0x1ee)],'mergedCli':{'defaultApp':_0x43791b['defaultApp'],'currentApp':_0x43791b[_0x45f5b0(0x1b3)],'appCode':_0x43791b[_0x45f5b0(0x1bf)],'apps':_0x43791b['apps']}};}export function createRabetbaseRunnerAdapter(_0x2aa259={}){const _0x163185=a266_0x540c;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x163185(0x1b9)](_0x501bb3=>PIPELINE_FLAG_NAMES[_0x163185(0x1bd)](_0x501bb3[_0x163185(0x1b7)]))[_0x163185(0x1c0)](({name:_0xa833ec,type:_0x25b579,description:_0x4b007a})=>({'name':_0xa833ec,'type':_0x25b579,'description':_0x4b007a})),'formatOutput':_0x2aa259[_0x163185(0x1a6)]??formatOutput,'getCommandLabel'(_0x2d9a3a){return CLI_BIN_NAME+'\x20'+_0x2d9a3a['service']+'\x20'+_0x2d9a3a['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x57d844,{def:_0x36f221}){const _0x473018=_0x163185,_0x37871b=_0x57d844[_0x473018(0x1f0)](_0x473018(0x1d1))?_0x473018(0x1aa):'A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22'+_0x36f221['risk']+_0x473018(0x1c3)+_0x473018(0x1aa);return CliErrors[_0x473018(0x1c4)](_0x57d844+_0x473018(0x1c2)+_0x37871b);}},async 'prepare'(_0x346b88,_0x4a5b5d,_0x2588ef,_0x507a12){const _0x4df1fa=_0x163185,_0xc2193b=_0x4a5b5d[_0x4df1fa(0x1c5)]||DEFAULT_API_DIR;resolveAliasToCode(_0x346b88,_0x2588ef,_0xc2193b,_0x507a12);const _0x5d92a1=resolveCommandAuthMode(_0x346b88);let _0x30efac='';if(_0x5d92a1!==_0x4df1fa(0x1f1)){_0x30efac=_0x4a5b5d['resolveCookie']()||'';if(!_0x30efac){if(_0x5d92a1==='required')throw CliErrors['authRequired']();}else{const {setActiveCookie:_0x3738ac}=await import(_0x4df1fa(0x1da));_0x3738ac(_0x30efac);}}const _0x1eee04=_0x4a5b5d[_0x4df1fa(0x1ae)]()??'';if(_0x346b88['requiresAppCode']!==![]){const _0x36479d=hasExplicitAppCode(_0x2588ef,_0x4a5b5d['rawFlags']),_0x214d4a=_0x4a5b5d[_0x4df1fa(0x1de)]?.[_0x4df1fa(0x1df)]??{},_0x42856e=_0x4a5b5d[_0x4df1fa(0x1e5)]||_0x4a5b5d[_0x4df1fa(0x1de)]?.[_0x4df1fa(0x1b3)]||_0x4a5b5d['mergedCli']?.[_0x4df1fa(0x1e8)];if(!_0x36479d&&_0x42856e&&!_0x214d4a[_0x42856e]){const _0x3d5c22=Object['keys'](_0x214d4a);throw CliErrors[_0x4df1fa(0x1c4)](_0x4df1fa(0x1ed)+_0x42856e+'\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.',_0x3d5c22['length']>0x0?_0x4df1fa(0x1b8)+_0x3d5c22[_0x4df1fa(0x1d9)](',\x20')+_0x4df1fa(0x1a8)+CLI_BIN_NAME+_0x4df1fa(0x1ad):'Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x4df1fa(0x1ad));}assertEnvAppCodeNotIgnored(_0x1eee04,resolveEnvAppCode(),_0x36479d);if(!_0x1eee04){const _0x531249=Object[_0x4df1fa(0x1b2)](_0x214d4a);if(!_0x42856e&&_0x531249[_0x4df1fa(0x1d7)]>0x1)throw CliErrors[_0x4df1fa(0x1e1)](_0x4df1fa(0x1b0)+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20'+_0x531249[_0x4df1fa(0x1d9)](',\x20')+'.');throw CliErrors['configMissing'](_0x4df1fa(0x1cc)+CLI_BIN_NAME+'\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.');}}return{'defaults':{'booleans':{'verbose':_0x4a5b5d[_0x4df1fa(0x1bb)]},'numbers':{'pagesize':_0x4a5b5d[_0x4df1fa(0x1c8)]}},'extras':{'appCode':_0x1eee04,'cookie':_0x30efac,'apiDomain':_0x4a5b5d[_0x4df1fa(0x1ce)](),'apiDir':_0xc2193b,'selectedAppName':_0x4a5b5d[_0x4df1fa(0x1e5)],'mergedCli':_0x4a5b5d[_0x4df1fa(0x1de)]}};},'confirmHighRisk':_0x2aa259[_0x163185(0x1c1)]??(async({env:_0xa6a7d8,commandLabel:_0x450053})=>{const _0x44a50f=_0x163185;if(_0xa6a7d8[_0x44a50f(0x1a9)])throw CliErrors[_0x44a50f(0x1c4)](_0x44a50f(0x1f2)+_0x450053+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0x44a50f(0x1ca)+_0x450053,_0x44a50f(0x1b4)],'createCancelledError':_0x2c92f1=>CliErrors[_0x44a50f(0x1ef)](_0x2c92f1)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x346232=a266_0x540c,{clearActiveCookie:_0x4dab11}=await import(_0x346232(0x1da));_0x4dab11();}export async function finalizeRabetbaseRuntimeState(){const _0x144233=a266_0x540c;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x398441},{initEnv:_0x2794fc}]=await Promise[_0x144233(0x1d8)]([import(_0x144233(0x1ea)),import(_0x144233(0x1cd))]);_0x398441(),_0x2794fc('production');}}export async function runCommand(_0x114ce2,_0xfaea77,_0xdffcb0=terminalRunnerAdapter){const _0x2853a9=a266_0x540c;assertRejectedFlags(_0x114ce2,_0xfaea77[_0x2853a9(0x1b1)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x114ce2)?withUpdateNotice(_0x114ce2):_0x114ce2,_0xfaea77,_0xdffcb0);}function assertRejectedFlags(_0x49e12e,_0x3bf228){const _0x434086=a266_0x540c;for(const _0x5b93ed of _0x49e12e[_0x434086(0x1ec)]??[]){const _0x17dc11=GLOBAL_FLAGS[_0x434086(0x1bc)](_0xe6d7f=>_0xe6d7f[_0x434086(0x1b7)]===_0x5b93ed[_0x434086(0x1b7)]),_0xbfeed9=new Set([_0x5b93ed[_0x434086(0x1b7)],toCamelCase(_0x5b93ed[_0x434086(0x1b7)]),_0x17dc11?.[_0x434086(0x1e3)]]),_0x5d9246=[..._0xbfeed9][_0x434086(0x1dd)](_0x2f7683=>{if(!_0x2f7683)return![];const _0x88dca4=_0x3bf228[_0x2f7683];return _0x88dca4!==undefined&&_0x88dca4!==null&&_0x88dca4!==![];});if(_0x5d9246)throw CliErrors[_0x434086(0x1c4)](_0x5b93ed[_0x434086(0x1d5)],_0x5b93ed[_0x434086(0x1e7)]);}}function toCamelCase(_0x39beed){const _0x133904=a266_0x540c;return _0x39beed[_0x133904(0x1d2)](/-([a-z])/g,(_0x3219b5,_0x9e7152)=>_0x9e7152[_0x133904(0x1ba)]());}function shouldAttachUpdateNotice(_0x221b66){const _0x1284ae=a266_0x540c;if(_0x221b66[_0x1284ae(0x1e2)]===![])return![];return!['update','schema','doctor'][_0x1284ae(0x1f0)](_0x221b66[_0x1284ae(0x1e9)]);}function withUpdateNotice(_0xdc360c){return{..._0xdc360c,async 'execute'(_0x4e6db2){const _0x17af20=a266_0x540c,_0x379188=shouldResolveUpdateNotice(_0x4e6db2)?resolveLatestUpdateNotice()[_0x17af20(0x1c9)](()=>null):Promise[_0x17af20(0x1a5)](null),_0xcd3a9e=await _0xdc360c[_0x17af20(0x1cf)](_0x4e6db2);return attachUpdateNotice(_0xcd3a9e,await _0x379188);}};}function shouldResolveUpdateNotice(_0x247ea6){const _0xd17197=a266_0x540c;return _0x247ea6['format']===_0xd17197(0x1d4)&&!_0x247ea6[_0xd17197(0x1e6)];}function attachUpdateNotice(_0x53e2d1,_0x17dc47){const _0x316e0f=a266_0x540c;if(!_0x17dc47||!_0x53e2d1||typeof _0x53e2d1!==_0x316e0f(0x1a7))return _0x53e2d1;const _0x20ebb4=_0x53e2d1,_0x803d63=typeof _0x20ebb4['_notice']===_0x316e0f(0x1a7)&&_0x20ebb4[_0x316e0f(0x1cb)]!==null?_0x20ebb4[_0x316e0f(0x1cb)]:{};return{..._0x20ebb4,'_notice':{..._0x803d63,'update':_0x17dc47}};}
|
|
1
|
+
function a280_0x206c(){const _0xbd672c=['216gBXQwx','177620mKSBHd','resolveCookie','catch','includes','pageSize','RABETBASE_APPCODE','pretty','Set\x20appcode\x20via\x20`','Current\x20resolved\x20appcode\x20is\x20\x22','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','meowKey','apiDir','241694ZNsvZz','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','999480MHAPzB','configMissing','riskLevel','App\x20\x22','defaultApp','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','schema','object','replace','update','High-risk\x20operation\x20`','resolveApiDomain','Edit\x20the\x20config\x20file\x20manually','apps','none','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','cancelled','hasFormat','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','join','confirmHighRisk','all','authRequired','hint','currentApp','Available:\x20','message','selectedAppName','../core/api-client.js','map','⚠\x20\x20High-risk\x20operation:\x20','\x20\x20\x20Continue?\x20[y/N]\x20','3818970EHOnWQ','service','value','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','_notice','LOVRABET_APPCODE','defaultVerbose','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','required','toUpperCase','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','production','15yUdFNr','keys','execute','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','trim','command','find','risk','length','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','resolve','3486528CuUDUR','7165971bcHBxc','defaultPageSize','validation','appcode','isNonInteractive','../constant/env.js','115745ROXcDL','filter','mergedCli','format','name','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','string','rawFlags','explicitAppName','\x0a\x20\x20','appCode','resolveAppCode','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.'];a280_0x206c=function(){return _0xbd672c;};return a280_0x206c();}(function(_0xba5943,_0x735baf){const _0x472c27=a280_0x2b80,_0x20230b=_0xba5943();while(!![]){try{const _0xc48931=-parseInt(_0x472c27(0x182))/0x1+-parseInt(_0x472c27(0x184))/0x2+-parseInt(_0x472c27(0x1b0))/0x3*(parseInt(_0x472c27(0x176))/0x4)+parseInt(_0x472c27(0x1a4))/0x5+parseInt(_0x472c27(0x175))/0x6*(-parseInt(_0x472c27(0x168))/0x7)+parseInt(_0x472c27(0x161))/0x8+parseInt(_0x472c27(0x162))/0x9;if(_0xc48931===_0x735baf)break;else _0x20230b['push'](_0x20230b['shift']());}catch(_0x593444){_0x20230b['push'](_0x20230b['shift']());}}}(a280_0x206c,0x6ab76));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';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a280_0x37b68a}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x136ac3){const _0x3e618f=a280_0x2b80;return typeof _0x136ac3===_0x3e618f(0x16e)&&_0x136ac3[_0x3e618f(0x1b4)]()?_0x136ac3[_0x3e618f(0x1b4)]():undefined;}function resolveEnvAppCode(){const _0x2cf282=a280_0x2b80,_0x4ed629=stringFlag(process.env.RABETBASE_APPCODE);if(_0x4ed629)return{'name':_0x2cf282(0x17b),'value':_0x4ed629};const _0x322438=stringFlag(process.env.LOVRABET_APPCODE);if(_0x322438)return{'name':_0x2cf282(0x1a9),'value':_0x322438};return undefined;}function hasExplicitAppCode(_0x41cfbe,_0x23e2bf){const _0x1c8071=a280_0x2b80;return!!(stringFlag(_0x41cfbe['appcode'])||stringFlag(_0x23e2bf[_0x1c8071(0x165)]));}function assertEnvAppCodeNotIgnored(_0xc5b8b3,_0x53f13d,_0xeee782){const _0xbf3976=a280_0x2b80;if(!_0x53f13d||_0xeee782||_0xc5b8b3===_0x53f13d['value'])return;const _0x5d90c0=_0xc5b8b3?_0xbf3976(0x17e)+_0xc5b8b3+'\x22.':_0xbf3976(0x174);throw CliErrors[_0xbf3976(0x164)](_0x53f13d[_0xbf3976(0x16c)]+'='+_0x53f13d[_0xbf3976(0x1a6)]+_0xbf3976(0x196)+_0x5d90c0+'\x20'+(_0xbf3976(0x1ae)+_0x53f13d[_0xbf3976(0x16c)]+'\x22.'));}export function createPipelineEnv(_0x469461,_0x1ebad3,_0x3a02bf=[]){const _0xc34a1b=a280_0x2b80;return{'rawFlags':_0x1ebad3,'args':_0x3a02bf,'resolveAppCode':()=>_0x469461[_0xc34a1b(0x172)],'resolveCookie':()=>_0x469461['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a280_0x37b68a(_0x1ebad3),'defaultFormat':_0x469461[_0xc34a1b(0x16b)],'defaultPageSize':_0x469461[_0xc34a1b(0x17a)],'defaultVerbose':_0x469461['verbose'],'apiDir':_0x469461[_0xc34a1b(0x181)],'riskLevel':_0x469461[_0xc34a1b(0x186)],'selectedAppName':_0x469461[_0xc34a1b(0x170)],'mergedCli':{'defaultApp':_0x469461[_0xc34a1b(0x188)],'currentApp':_0x469461['currentApp'],'appCode':_0x469461[_0xc34a1b(0x172)],'apps':_0x469461[_0xc34a1b(0x191)]}};}export function createRabetbaseRunnerAdapter(_0x440f26={}){const _0xd82683=a280_0x2b80;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0xd82683(0x169)](_0x108bcf=>PIPELINE_FLAG_NAMES['has'](_0x108bcf[_0xd82683(0x16c)]))[_0xd82683(0x1a1)](({name:_0x23b274,type:_0x31e572,description:_0x35aa45})=>({'name':_0x23b274,'type':_0x31e572,'description':_0x35aa45})),'formatOutput':_0x440f26['formatOutput']??formatOutput,'getCommandLabel'(_0x54757f){const _0x2c82e6=_0xd82683;return CLI_BIN_NAME+'\x20'+_0x54757f['service']+'\x20'+_0x54757f[_0x2c82e6(0x1b5)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0xc661eb,{def:_0x3149ba}){const _0x5ac8fb=_0xd82683,_0x4e0eb2=_0xc661eb['includes'](_0x5ac8fb(0x190))?_0x5ac8fb(0x1a7):_0x5ac8fb(0x183)+_0x3149ba[_0x5ac8fb(0x15d)]+_0x5ac8fb(0x193)+_0x5ac8fb(0x1a7);return CliErrors[_0x5ac8fb(0x164)](_0xc661eb+_0x5ac8fb(0x171)+_0x4e0eb2);}},async 'prepare'(_0xe4d016,_0x3e70bf,_0x39ab7a,_0x5bf11a){const _0x8c4e83=_0xd82683,_0x5a3c38=_0x3e70bf['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0xe4d016,_0x39ab7a,_0x5a3c38,_0x5bf11a);const _0x5df9b0=resolveCommandAuthMode(_0xe4d016);let _0x1abb9b='';if(_0x5df9b0!==_0x8c4e83(0x192)){_0x1abb9b=_0x3e70bf[_0x8c4e83(0x177)]()||'';if(!_0x1abb9b){if(_0x5df9b0===_0x8c4e83(0x1ac))throw CliErrors[_0x8c4e83(0x19a)]();}else{const {setActiveCookie:_0x2a0bf8}=await import('../core/api-client.js');_0x2a0bf8(_0x1abb9b);}}const _0x3bed78=_0x3e70bf[_0x8c4e83(0x173)]()??'';if(_0xe4d016['requiresAppCode']!==![]){const _0x34cd98=hasExplicitAppCode(_0x39ab7a,_0x3e70bf[_0x8c4e83(0x16f)]),_0x2eb097=_0x3e70bf[_0x8c4e83(0x16a)]?.[_0x8c4e83(0x191)]??{},_0x460c7f=_0x3e70bf[_0x8c4e83(0x19f)]||_0x3e70bf['mergedCli']?.[_0x8c4e83(0x19c)]||_0x3e70bf[_0x8c4e83(0x16a)]?.[_0x8c4e83(0x188)];if(!_0x34cd98&&_0x460c7f&&!_0x2eb097[_0x460c7f]){const _0x350518=Object[_0x8c4e83(0x1b1)](_0x2eb097);throw CliErrors['validation'](_0x8c4e83(0x187)+_0x460c7f+_0x8c4e83(0x15f),_0x350518[_0x8c4e83(0x15e)]>0x0?_0x8c4e83(0x19d)+_0x350518[_0x8c4e83(0x197)](',\x20')+_0x8c4e83(0x189)+CLI_BIN_NAME+_0x8c4e83(0x16d):'Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x8c4e83(0x16d));}assertEnvAppCodeNotIgnored(_0x3bed78,resolveEnvAppCode(),_0x34cd98);if(!_0x3bed78){const _0x262392=Object[_0x8c4e83(0x1b1)](_0x2eb097);if(!_0x460c7f&&_0x262392['length']>0x1)throw CliErrors[_0x8c4e83(0x185)](_0x8c4e83(0x17f)+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20'+_0x262392['join'](',\x20')+'.');throw CliErrors[_0x8c4e83(0x185)](_0x8c4e83(0x17d)+CLI_BIN_NAME+_0x8c4e83(0x1b3));}}return{'defaults':{'booleans':{'verbose':_0x3e70bf[_0x8c4e83(0x1aa)]},'numbers':{'pagesize':_0x3e70bf[_0x8c4e83(0x163)]}},'extras':{'appCode':_0x3bed78,'cookie':_0x1abb9b,'apiDomain':_0x3e70bf[_0x8c4e83(0x18f)](),'apiDir':_0x5a3c38,'selectedAppName':_0x3e70bf[_0x8c4e83(0x19f)],'mergedCli':_0x3e70bf['mergedCli']}};},'confirmHighRisk':_0x440f26[_0xd82683(0x198)]??(async({env:_0x74fc11,commandLabel:_0x69a9da})=>{const _0x386d1f=_0xd82683;if(_0x74fc11[_0x386d1f(0x166)])throw CliErrors[_0x386d1f(0x164)](_0x386d1f(0x18e)+_0x69a9da+_0x386d1f(0x1ab));await requireConfirmationPrompt({'lines':[_0x386d1f(0x1a2)+_0x69a9da,_0x386d1f(0x1a3)],'createCancelledError':_0x3668c5=>CliErrors[_0x386d1f(0x194)](_0x3668c5)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x9ff25a=a280_0x2b80,{clearActiveCookie:_0x1847c3}=await import(_0x9ff25a(0x1a0));_0x1847c3();}function a280_0x2b80(_0x9d8915,_0x4b9294){_0x9d8915=_0x9d8915-0x15d;const _0x206c59=a280_0x206c();let _0x2b80da=_0x206c59[_0x9d8915];return _0x2b80da;}export async function finalizeRabetbaseRuntimeState(){const _0x33d29b=a280_0x2b80;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x14f907},{initEnv:_0x3e4e1b}]=await Promise[_0x33d29b(0x199)]([import('../constant/domain.js'),import(_0x33d29b(0x167))]);_0x14f907(),_0x3e4e1b(_0x33d29b(0x1af));}}export async function runCommand(_0xb1547,_0x4d6f5f,_0x493a58=terminalRunnerAdapter){const _0x5cee50=a280_0x2b80;assertRejectedFlags(_0xb1547,_0x4d6f5f[_0x5cee50(0x16f)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0xb1547)?withUpdateNotice(_0xb1547):_0xb1547,_0x4d6f5f,_0x493a58);}function assertRejectedFlags(_0x32e10d,_0x4cccf4){const _0x5aec06=a280_0x2b80;for(const _0xefeacf of _0x32e10d['rejectedFlags']??[]){const _0x3e1407=GLOBAL_FLAGS[_0x5aec06(0x1b6)](_0x37e0c7=>_0x37e0c7['name']===_0xefeacf[_0x5aec06(0x16c)]),_0x24aec9=new Set([_0xefeacf[_0x5aec06(0x16c)],toCamelCase(_0xefeacf['name']),_0x3e1407?.[_0x5aec06(0x180)]]),_0xae5ab6=[..._0x24aec9]['some'](_0xfbfcc3=>{if(!_0xfbfcc3)return![];const _0x5356db=_0x4cccf4[_0xfbfcc3];return _0x5356db!==undefined&&_0x5356db!==null&&_0x5356db!==![];});if(_0xae5ab6)throw CliErrors[_0x5aec06(0x164)](_0xefeacf[_0x5aec06(0x19e)],_0xefeacf[_0x5aec06(0x19b)]);}}function toCamelCase(_0x1d15aa){const _0x184c8f=a280_0x2b80;return _0x1d15aa[_0x184c8f(0x18c)](/-([a-z])/g,(_0x9e0bf6,_0xaef580)=>_0xaef580[_0x184c8f(0x1ad)]());}function shouldAttachUpdateNotice(_0x56de63){const _0x451b6e=a280_0x2b80;if(_0x56de63[_0x451b6e(0x195)]===![])return![];return![_0x451b6e(0x18d),_0x451b6e(0x18a),'doctor'][_0x451b6e(0x179)](_0x56de63[_0x451b6e(0x1a5)]);}function withUpdateNotice(_0x3914d1){return{..._0x3914d1,async 'execute'(_0x15aa77){const _0x5b58a6=a280_0x2b80,_0x463db0=shouldResolveUpdateNotice(_0x15aa77)?resolveLatestUpdateNotice()[_0x5b58a6(0x178)](()=>null):Promise[_0x5b58a6(0x160)](null),_0x4942ea=await _0x3914d1[_0x5b58a6(0x1b2)](_0x15aa77);return attachUpdateNotice(_0x4942ea,await _0x463db0);}};}function shouldResolveUpdateNotice(_0x3b82b0){const _0x5dba36=a280_0x2b80;return _0x3b82b0[_0x5dba36(0x16b)]===_0x5dba36(0x17c)&&!_0x3b82b0['nonInteractive'];}function attachUpdateNotice(_0x2b63b5,_0x2f24f3){const _0xa8d41b=a280_0x2b80;if(!_0x2f24f3||!_0x2b63b5||typeof _0x2b63b5!==_0xa8d41b(0x18b))return _0x2b63b5;const _0x1a276b=_0x2b63b5,_0x406326=typeof _0x1a276b['_notice']===_0xa8d41b(0x18b)&&_0x1a276b['_notice']!==null?_0x1a276b[_0xa8d41b(0x1a8)]:{};return{..._0x1a276b,'_notice':{..._0x406326,'update':_0x2f24f3}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a281_0x5ca0(_0x2e75f4,_0x2e1194){_0x2e75f4=_0x2e75f4-0x91;const _0x4ab95b=a281_0x4ab9();let _0x5ca00a=_0x4ab95b[_0x2e75f4];return _0x5ca00a;}(function(_0x2fa867,_0x212bd3){const _0x315efd=a281_0x5ca0,_0x4a1e1a=_0x2fa867();while(!![]){try{const _0x4792fc=-parseInt(_0x315efd(0x93))/0x1*(-parseInt(_0x315efd(0x9b))/0x2)+parseInt(_0x315efd(0x91))/0x3*(parseInt(_0x315efd(0x98))/0x4)+-parseInt(_0x315efd(0x96))/0x5*(parseInt(_0x315efd(0x9c))/0x6)+parseInt(_0x315efd(0x92))/0x7*(-parseInt(_0x315efd(0x95))/0x8)+parseInt(_0x315efd(0x94))/0x9*(parseInt(_0x315efd(0x97))/0xa)+-parseInt(_0x315efd(0x99))/0xb+-parseInt(_0x315efd(0x9a))/0xc;if(_0x4792fc===_0x212bd3)break;else _0x4a1e1a['push'](_0x4a1e1a['shift']());}catch(_0x17214a){_0x4a1e1a['push'](_0x4a1e1a['shift']());}}}(a281_0x4ab9,0xa17cf));function a281_0x4ab9(){const _0x45fc6b=['3UsGsnZ','1563723zJFbgV','7671YnCBTD','5115690abQLWY','40oOglDh','332265aMFHyI','10RmJtMQ','3864132WRMPlj','3414411RJBLNs','930132NINIXB','338afjPwp','60cPKwHq','../commands/registry.js'];a281_0x4ab9=function(){return _0x45fc6b;};return a281_0x4ab9();}import{buildSchemaPayload as a281_0x2aa9ad}from'@lovrabet/cli-framework';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 _0x305b44=a281_0x5ca0,{serviceRegistry:_0x38bde4,findDefinition:_0x14995e}=await import(_0x305b44(0x9d));return a281_0x2aa9ad({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x38bde4,'buildAllFlags':buildAllFlags,'findDefinition':_0x14995e});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x45f1ff,_0x4244d0){const _0x5f183c=a282_0x1f9f,_0x2e9a99=_0x45f1ff();while(!![]){try{const _0x24185e=-parseInt(_0x5f183c(0xca))/0x1+-parseInt(_0x5f183c(0xd8))/0x2*(-parseInt(_0x5f183c(0xd0))/0x3)+-parseInt(_0x5f183c(0xce))/0x4*(-parseInt(_0x5f183c(0xcb))/0x5)+-parseInt(_0x5f183c(0xcd))/0x6*(-parseInt(_0x5f183c(0xc5))/0x7)+-parseInt(_0x5f183c(0xcc))/0x8+parseInt(_0x5f183c(0xc4))/0x9+parseInt(_0x5f183c(0xc9))/0xa;if(_0x24185e===_0x4244d0)break;else _0x2e9a99['push'](_0x2e9a99['shift']());}catch(_0x34f054){_0x2e9a99['push'](_0x2e9a99['shift']());}}}(a282_0x5a7d,0x62aa0));function a282_0x1f9f(_0x2667df,_0x3da491){_0x2667df=_0x2667df-0xbb;const _0x5a7d5e=a282_0x5a7d();let _0x1f9f97=_0x5a7d5e[_0x2667df];return _0x1f9f97;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x4c4edc,_0x138b8f){const _0x1b538a=a282_0x1f9f;if(!_0x4c4edc[_0x1b538a(0xd1)])return;const _0xe7901=new Set([_0x1b538a(0xc0),_0x1b538a(0xc7)]),_0x43493b=GLOBAL_FLAGS['filter'](_0x2709a1=>PIPELINE_FLAG_NAMES[_0x1b538a(0xc8)](_0x2709a1[_0x1b538a(0xd6)]));for(const _0x4d882b of[..._0x4c4edc[_0x1b538a(0xc1)],..._0x43493b]){addFlagCandidates(_0xe7901,_0x4d882b);}for(const [_0x30796c,_0x5ac8ad]of Object[_0x1b538a(0xd2)](_0x138b8f)){if(!isExplicitValue(_0x5ac8ad)||_0xe7901[_0x1b538a(0xc8)](_0x30796c))continue;const _0x3c6219=GLOBAL_FLAGS[_0x1b538a(0xbc)](_0x1cb960=>_0x1cb960[_0x1b538a(0xc3)]===_0x30796c)?.[_0x1b538a(0xd6)]??toKebabCase(_0x30796c);throw CliErrors['validation'](_0x1b538a(0xc2)+_0x3c6219+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x4c4edc['service']+'\x20'+_0x4c4edc[_0x1b538a(0xc6)]+'`.',_0x1b538a(0xda)+CLI_BIN_NAME+'\x20'+_0x4c4edc[_0x1b538a(0xd9)]+'\x20'+_0x4c4edc[_0x1b538a(0xc6)]+_0x1b538a(0xd3));}}function a282_0x5a7d(){const _0x51608e=['flags','Unsupported\x20flag\x20--','meowKey','3200229fQsrNg','1709232qppDJj','command','version','has','766360lgQWaU','709482HdHQZR','1090hSOhCH','1660000jBMQIX','6wxWKEm','11064cdXOUe','add','125187eFeIpn','strictFlags','entries','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','replace','isArray','name','alias','2HZxfKu','service','Run\x20`','toLowerCase','find','length','$1-$2','toUpperCase','help'];a282_0x5a7d=function(){return _0x51608e;};return a282_0x5a7d();}function addFlagCandidates(_0xa73d8b,_0x2883ce){const _0x2d769c=a282_0x1f9f,_0x460328=_0x2d769c(0xc3)in _0x2883ce?[_0x2883ce[_0x2d769c(0xd6)],_0x2883ce[_0x2d769c(0xc3)]]:[_0x2883ce[_0x2d769c(0xd6)],_0x2883ce[_0x2d769c(0xd7)]];for(const _0x4fe2ce of _0x460328){if(!_0x4fe2ce)continue;_0xa73d8b[_0x2d769c(0xcf)](_0x4fe2ce),_0xa73d8b[_0x2d769c(0xcf)](toCamelCase(_0x4fe2ce));}}function isExplicitValue(_0x13175d){const _0x1cb7ea=a282_0x1f9f;return _0x13175d!==undefined&&_0x13175d!==null&&_0x13175d!==![]&&(!Array[_0x1cb7ea(0xd5)](_0x13175d)||_0x13175d[_0x1cb7ea(0xbd)]>0x0);}function toCamelCase(_0x346795){const _0x500a03=a282_0x1f9f;return _0x346795[_0x500a03(0xd4)](/-([a-z])/g,(_0x3b20f1,_0x3f3af8)=>_0x3f3af8[_0x500a03(0xbf)]());}function toKebabCase(_0x520969){const _0x413fb5=a282_0x1f9f;return _0x520969[_0x413fb5(0xd4)](/([a-z0-9])([A-Z])/g,_0x413fb5(0xbe))[_0x413fb5(0xbb)]();}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5c2ca3,_0x354422){var _0xbc578b=a283_0x240a,_0x55d18b=_0x5c2ca3();while(!![]){try{var _0x5f07fc=-parseInt(_0xbc578b(0x195))/0x1+parseInt(_0xbc578b(0x198))/0x2+parseInt(_0xbc578b(0x19d))/0x3*(-parseInt(_0xbc578b(0x19e))/0x4)+-parseInt(_0xbc578b(0x19c))/0x5+-parseInt(_0xbc578b(0x199))/0x6+parseInt(_0xbc578b(0x19a))/0x7*(parseInt(_0xbc578b(0x196))/0x8)+-parseInt(_0xbc578b(0x19b))/0x9*(-parseInt(_0xbc578b(0x197))/0xa);if(_0x5f07fc===_0x354422)break;else _0x55d18b['push'](_0x55d18b['shift']());}catch(_0x2d34e8){_0x55d18b['push'](_0x55d18b['shift']());}}}(a283_0x3420,0x4fd4e));function a283_0x3420(){var _0x37ca8d=['12BlILvQ','165176zcaWii','8HJpZqr','170vCGBDm','1206426KrbAUO','64650TWnmhi','1562701wpagwU','13059xcQYYh','609190JKFOEA','226344wLdVmp'];a283_0x3420=function(){return _0x37ca8d;};return a283_0x3420();}function a283_0x240a(_0x1f4a58,_0x22e032){_0x1f4a58=_0x1f4a58-0x195;var _0x342073=a283_0x3420();var _0x240ac1=_0x342073[_0x1f4a58];return _0x240ac1;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "2.5.2-beta.
|
|
2
|
-
export declare const GIT_TAG = "v2.5.2-beta.
|
|
3
|
-
export declare const GIT_COMMIT = "
|
|
4
|
-
export declare const BUILD_TIME = "2026-
|
|
1
|
+
export declare const VERSION = "2.5.2-beta.3";
|
|
2
|
+
export declare const GIT_TAG = "v2.5.2-beta.3";
|
|
3
|
+
export declare const GIT_COMMIT = "31ff6c20";
|
|
4
|
+
export declare const BUILD_TIME = "2026-09-01T15:02:43.844Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a284_0x2d9aea=a284_0x2a25;(function(_0x5178b4,_0x4f67e6){const _0x28f937=a284_0x2a25,_0x685a90=_0x5178b4();while(!![]){try{const _0x164a81=-parseInt(_0x28f937(0xf2))/0x1*(-parseInt(_0x28f937(0xe7))/0x2)+-parseInt(_0x28f937(0xec))/0x3+-parseInt(_0x28f937(0xf0))/0x4+parseInt(_0x28f937(0xe5))/0x5*(parseInt(_0x28f937(0xea))/0x6)+-parseInt(_0x28f937(0xe8))/0x7*(parseInt(_0x28f937(0xef))/0x8)+parseInt(_0x28f937(0xeb))/0x9*(-parseInt(_0x28f937(0xed))/0xa)+parseInt(_0x28f937(0xee))/0xb;if(_0x164a81===_0x4f67e6)break;else _0x685a90['push'](_0x685a90['shift']());}catch(_0x3a6da6){_0x685a90['push'](_0x685a90['shift']());}}}(a284_0x4560,0x96166));function a284_0x2a25(_0x5f0f06,_0x424fc7){_0x5f0f06=_0x5f0f06-0xe5;const _0x45601a=a284_0x4560();let _0x2a2547=_0x45601a[_0x5f0f06];return _0x2a2547;}export const VERSION=a284_0x2d9aea(0xf1);export const GIT_TAG=a284_0x2d9aea(0xe6);function a284_0x4560(){const _0x245ecd=['v2.5.2-beta.3','16QPLjNR','1412117kZNxuO','2026-09-01T15:02:43.844Z','6721674thudBR','1956942mBFCbv','1041825elKLHj','10rDwyuj','14742156dLxxzp','48TRfuwu','1930056VwkdVv','2.5.2-beta.3','51487avsPMG','5ZPRaWO'];a284_0x4560=function(){return _0x245ecd;};return a284_0x4560();}export const GIT_COMMIT='31ff6c20';export const BUILD_TIME=a284_0x2d9aea(0xe9);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ROUTING_CATALOG_DIGEST: "
|
|
1
|
+
export declare const ROUTING_CATALOG_DIGEST: "3106fb4f7940b1f4446307e8a7f0c6f6e4a71affd6f8ebe7e5f23e055c08ca3f";
|
|
2
2
|
export declare const DEFAULT_REGION: "cn";
|
|
3
3
|
export declare const REGION_VALUES: readonly ["cn", "id", "global"];
|
|
4
4
|
export declare const ENABLED_REGION_VALUES: readonly ["cn", "id"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a285_0x2e6c(_0x10180a,_0x5ddfbd){_0x10180a=_0x10180a-0x175;const _0xb1bc86=a285_0xb1bc();let _0x2e6cc4=_0xb1bc86[_0x10180a];return _0x2e6cc4;}const a285_0x3f41ae=a285_0x2e6c;(function(_0x16140a,_0x46670f){const _0x1b8072=a285_0x2e6c,_0x2207a5=_0x16140a();while(!![]){try{const _0x55f7a7=parseInt(_0x1b8072(0x182))/0x1*(-parseInt(_0x1b8072(0x17d))/0x2)+parseInt(_0x1b8072(0x191))/0x3+-parseInt(_0x1b8072(0x192))/0x4*(-parseInt(_0x1b8072(0x187))/0x5)+-parseInt(_0x1b8072(0x17b))/0x6*(parseInt(_0x1b8072(0x194))/0x7)+parseInt(_0x1b8072(0x180))/0x8*(-parseInt(_0x1b8072(0x190))/0x9)+-parseInt(_0x1b8072(0x196))/0xa*(parseInt(_0x1b8072(0x18a))/0xb)+parseInt(_0x1b8072(0x17c))/0xc;if(_0x55f7a7===_0x46670f)break;else _0x2207a5['push'](_0x2207a5['shift']());}catch(_0x3ab654){_0x2207a5['push'](_0x2207a5['shift']());}}}(a285_0xb1bc,0xac7c5));export const ROUTING_CATALOG_DIGEST=a285_0x3f41ae(0x183);function a285_0xb1bc(){const _0x5baba4=['2623698GtvLBm','Mainland\x20China','china','https://user.lovrabet.ai','https://api.lovrabet.com','https://runtime.lovrabet.com','79758JQldjM','2379315fbPyYi','404POtStE','global','75663qTHexU','https://api.lovrabet.id','40xuqswB','https://app.lovrabet.ai','https://app.lovrabet.com','https://dev.lovrabet.ai','https://g.lovrabet.com','https://app.lovrabet.id','indonesia','522BQCAhD','19121592UdDJKU','36MzzpEN','https://daily-api.lovrabet.com','https://cdnjs.cloudflare.com/ajax/libs','392nhJecd','https://user.lovrabet.com','39317uApwZC','3106fb4f7940b1f4446307e8a7f0c6f6e4a71affd6f8ebe7e5f23e055c08ca3f','https://user.lovrabet.id','https://skills-daily.lovrabet.com','https://skills.lovrabet.com','67145TGnvzU','https://dev.lovrabet.id','https://dev.lovrabet.com'];a285_0xb1bc=function(){return _0x5baba4;};return a285_0xb1bc();}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a285_0x3f41ae(0x193)];export const ENABLED_REGION_VALUES=['cn','id'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a285_0x3f41ae(0x18b),'aliases':[a285_0x3f41ae(0x18c)],'serviceDomains':{'production':{'user':a285_0x3f41ae(0x181),'api':a285_0x3f41ae(0x18e),'runtime':a285_0x3f41ae(0x18f),'skill':a285_0x3f41ae(0x186),'kb':a285_0x3f41ae(0x18e),'app':a285_0x3f41ae(0x176)},'daily':{'user':'https://user-daily.lovrabet.com','api':a285_0x3f41ae(0x17e),'runtime':'https://daily-runtime.lovrabet.com','skill':a285_0x3f41ae(0x185),'kb':a285_0x3f41ae(0x17e),'app':'https://daily.lovrabet.com'}},'cdn':{'libraries':'https://g.alicdn.com/code/lib','lovrabet':a285_0x3f41ae(0x178)},'local':{'origin':a285_0x3f41ae(0x189)}},'id':{'enabled':!![],'label':'Indonesia','aliases':[a285_0x3f41ae(0x17a)],'serviceDomains':{'production':{'user':a285_0x3f41ae(0x184),'api':a285_0x3f41ae(0x195),'runtime':'https://runtime.lovrabet.id','skill':'https://skills.lovrabet.id','kb':a285_0x3f41ae(0x195),'app':a285_0x3f41ae(0x179)}},'cdn':{'libraries':a285_0x3f41ae(0x17f),'lovrabet':'https://g.lovrabet.id'},'local':{'origin':a285_0x3f41ae(0x188)}},'global':{'enabled':![],'label':'Global','aliases':[],'serviceDomains':{'production':{'user':a285_0x3f41ae(0x18d),'api':'https://api.lovrabet.ai','runtime':'https://runtime.lovrabet.ai','skill':'https://skills.lovrabet.ai','kb':'https://api.lovrabet.ai','app':a285_0x3f41ae(0x175)}},'cdn':{'libraries':a285_0x3f41ae(0x17f)},'local':{'origin':a285_0x3f41ae(0x177)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export declare const ENTERPRISE_ROUTING_SCHEMA_DIGEST: "
|
|
1
|
+
export declare const ENTERPRISE_ROUTING_SCHEMA_DIGEST: "d83929cbced3959b68435d16131e5ff12a4bfc6095e6b7f15bada2bfd03a72cc";
|
|
2
2
|
export declare const ENTERPRISE_ROUTING_PROTOCOL: "lovrabet-routing/v1";
|
|
3
3
|
export declare const ENTERPRISE_ROUTING_KIND: "enterprise";
|
|
4
|
-
export declare const ENTERPRISE_ROUTING_TOP_LEVEL_FIELDS: readonly ["protocol", "kind", "domains", "cdn"];
|
|
5
|
-
export declare const ENTERPRISE_ROUTING_CONSUMERS: readonly ["rabetbase-cli", "lovrabet-cli", "lovrabet-node-sdk"];
|
|
6
4
|
export declare const ENTERPRISE_ROUTING_DOMAIN_FIELDS: readonly ["userDomain", "apiDomain", "runtimeDomain", "skillDomain", "kbDomain", "appDomain", "localDomain", "certificateDomain"];
|
|
7
5
|
export declare const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS: readonly ["userDomain", "apiDomain", "runtimeDomain", "skillDomain", "kbDomain", "appDomain"];
|
|
8
6
|
export declare const ENTERPRISE_ROUTING_CDN_FIELDS: readonly ["libraries", "lovrabet"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a286_0x38c089=a286_0x23be;(function(_0x2ea746,_0x359d6b){const _0x1335cf=a286_0x23be,_0x5463ac=_0x2ea746();while(!![]){try{const _0x381d0b=-parseInt(_0x1335cf(0x129))/0x1*(-parseInt(_0x1335cf(0x131))/0x2)+-parseInt(_0x1335cf(0x120))/0x3+-parseInt(_0x1335cf(0x12a))/0x4+parseInt(_0x1335cf(0x132))/0x5+-parseInt(_0x1335cf(0x123))/0x6*(-parseInt(_0x1335cf(0x12c))/0x7)+-parseInt(_0x1335cf(0x11e))/0x8*(-parseInt(_0x1335cf(0x122))/0x9)+-parseInt(_0x1335cf(0x121))/0xa;if(_0x381d0b===_0x359d6b)break;else _0x5463ac['push'](_0x5463ac['shift']());}catch(_0x54d473){_0x5463ac['push'](_0x5463ac['shift']());}}}(a286_0x199f,0xdd488));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a286_0x38c089(0x12b);function a286_0x23be(_0x438e27,_0xae76a0){_0x438e27=_0x438e27-0x11e;const _0x199f77=a286_0x199f();let _0x23bedf=_0x199f77[_0x438e27];return _0x23bedf;}function a286_0x199f(){const _0x261c16=['4952868vmyvLR','userDomain','libraries','appDomain','certificateDomain','lovrabet','1DKeNZs','2692368hYPbSR','d83929cbced3959b68435d16131e5ff12a4bfc6095e6b7f15bada2bfd03a72cc','7FYWRYK','enterprise','kbDomain','apiDomain','skillDomain','1294142AvSHcy','5745300iDSXfA','2230376WrWUiY','runtimeDomain','2208660eGZUCh','8635150mqHiVa','18QMVDWm'];a286_0x199f=function(){return _0x261c16;};return a286_0x199f();}export const ENTERPRISE_ROUTING_PROTOCOL='lovrabet-routing/v1';export const ENTERPRISE_ROUTING_KIND=a286_0x38c089(0x12d);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a286_0x38c089(0x12f),a286_0x38c089(0x11f),a286_0x38c089(0x130),a286_0x38c089(0x12e),'appDomain','localDomain',a286_0x38c089(0x127)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a286_0x38c089(0x124),a286_0x38c089(0x12f),'runtimeDomain','skillDomain',a286_0x38c089(0x12e),a286_0x38c089(0x126)];export const ENTERPRISE_ROUTING_CDN_FIELDS=[a286_0x38c089(0x125),a286_0x38c089(0x128)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a286_0x38c089(0x125),a286_0x38c089(0x128)];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x40fd78,_0x1cb889){var _0x515768=a287_0x1504,_0x13bf67=_0x40fd78();while(!![]){try{var _0x2b5b48=-parseInt(_0x515768(0x1f5))/0x1*(-parseInt(_0x515768(0x1ed))/0x2)+-parseInt(_0x515768(0x1f1))/0x3*(-parseInt(_0x515768(0x1f4))/0x4)+parseInt(_0x515768(0x1ec))/0x5+parseInt(_0x515768(0x1ee))/0x6*(parseInt(_0x515768(0x1e9))/0x7)+-parseInt(_0x515768(0x1e7))/0x8+-parseInt(_0x515768(0x1ea))/0x9*(-parseInt(_0x515768(0x1f2))/0xa)+-parseInt(_0x515768(0x1f0))/0xb;if(_0x2b5b48===_0x1cb889)break;else _0x13bf67['push'](_0x13bf67['shift']());}catch(_0x42c28e){_0x13bf67['push'](_0x13bf67['shift']());}}}(a287_0x52d7,0x4d3e2));import a287_0x58c3b8 from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a287_0x1504(_0x35449f,_0x2afc7e){_0x35449f=_0x35449f-0x1e7;var _0x52d76c=a287_0x52d7();var _0x1504de=_0x52d76c[_0x35449f];return _0x1504de;}function a287_0x52d7(){var _0x1b2b89=['green','7tzsxpR','1224tHWttv','log','608980TAkgrT','8hTcOfL','3277464nigMKx','\x20--help','10781947uyhepd','3wlQUbQ','34660BOPyPu','bold','1978556OuEuBP','38662oyfvoU','3937120QrBQXg'];a287_0x52d7=function(){return _0x1b2b89;};return a287_0x52d7();}export function showHelp(){var _0x264667=a287_0x1504;console[_0x264667(0x1eb)](),console[_0x264667(0x1eb)](a287_0x58c3b8['green']['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console['log'](),console[_0x264667(0x1eb)]('\x20\x20Use\x20'+a287_0x58c3b8[_0x264667(0x1e8)][_0x264667(0x1f3)](CLI_BIN_NAME+_0x264667(0x1ef))+'\x20to\x20view\x20available\x20commands.'),console[_0x264667(0x1eb)]();}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x10e61a,_0x5a7c60){const _0x452e95=a288_0x688c,_0x22cea0=_0x10e61a();while(!![]){try{const _0xa955b5=-parseInt(_0x452e95(0x189))/0x1+-parseInt(_0x452e95(0x199))/0x2+parseInt(_0x452e95(0x196))/0x3+-parseInt(_0x452e95(0x19a))/0x4*(parseInt(_0x452e95(0x18f))/0x5)+parseInt(_0x452e95(0x197))/0x6+parseInt(_0x452e95(0x198))/0x7+parseInt(_0x452e95(0x185))/0x8;if(_0xa955b5===_0x5a7c60)break;else _0x22cea0['push'](_0x22cea0['shift']());}catch(_0x304319){_0x22cea0['push'](_0x22cea0['shift']());}}}(a288_0x5a1f,0xd3ede));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a288_0x688c(_0x93f096,_0x55c383){_0x93f096=_0x93f096-0x183;const _0x5a1fb4=a288_0x5a1f();let _0x688cc6=_0x5a1fb4[_0x93f096];return _0x688cc6;}function a288_0x5a1f(){const _0x3f19b2=['7566888EhPTSH','3084496UZsLMO','4NXIpvO','SOURCE_INVALID','repairCommand','9324032TyXWRk','\x20at\x20','installedPath','Rabetbase\x20Built-in\x20Skill\x20','811325locKHK','error','warn','log','changed','FAILED','4891655QNXTEn','[BUILTIN_SKILL_INSTALL_','installed','skillVersion','Installation\x20failed','\x20via\x20skills@latest','code','1932765xUXvxo','7855338dhNgch'];a288_0x5a1f=function(){return _0x3f19b2;};return a288_0x5a1f();}export async function runPostinstall(_0x5ade21={}){const _0x14c2fb=a288_0x688c,_0x9c1c4d=installBuiltinSkill(_0x5ade21);if(_0x9c1c4d['ok']){const _0x51001e=_0x9c1c4d[_0x14c2fb(0x18d)]?_0x14c2fb(0x191):'already\x20current',_0xd4aec=_0x9c1c4d['installedPath']?_0x14c2fb(0x186)+_0x9c1c4d[_0x14c2fb(0x187)]:_0x14c2fb(0x194);return console[_0x14c2fb(0x18c)](_0x14c2fb(0x188)+_0x9c1c4d[_0x14c2fb(0x192)]+'\x20'+_0x51001e+_0xd4aec),_0x9c1c4d;}const _0x436ae6=_0x14c2fb(0x190)+(_0x9c1c4d['code']??_0x14c2fb(0x18e))+']\x20'+(_0x9c1c4d[_0x14c2fb(0x18a)]??_0x14c2fb(0x193))+'.\x20'+('Repair\x20with:\x20'+_0x9c1c4d[_0x14c2fb(0x184)]);if(_0x9c1c4d[_0x14c2fb(0x195)]===_0x14c2fb(0x183))throw new Error(_0x436ae6);return console[_0x14c2fb(0x18b)](_0x436ae6),_0x9c1c4d;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x259d24,_0x2a98b2){const _0xa2b130=a289_0x1860,_0x1701dc=_0x259d24();while(!![]){try{const _0x3f9ab3=-parseInt(_0xa2b130(0x1f9))/0x1*(-parseInt(_0xa2b130(0x1ee))/0x2)+parseInt(_0xa2b130(0x1ed))/0x3+parseInt(_0xa2b130(0x1f4))/0x4+-parseInt(_0xa2b130(0x1ef))/0x5*(parseInt(_0xa2b130(0x1e6))/0x6)+parseInt(_0xa2b130(0x1ec))/0x7*(parseInt(_0xa2b130(0x1f1))/0x8)+-parseInt(_0xa2b130(0x1e8))/0x9+-parseInt(_0xa2b130(0x1eb))/0xa*(-parseInt(_0xa2b130(0x1ea))/0xb);if(_0x3f9ab3===_0x2a98b2)break;else _0x1701dc['push'](_0x1701dc['shift']());}catch(_0x5cbcc0){_0x1701dc['push'](_0x1701dc['shift']());}}}(a289_0x4c55,0x2480d));const DESCRIPTION_MAX_LENGTH=0x1f4;function a289_0x1860(_0x55b376,_0xb29f04){_0x55b376=_0x55b376-0x1e5;const _0x4c5585=a289_0x4c55();let _0x1860af=_0x4c5585[_0x55b376];return _0x1860af;}export function buildRabetbaseConfirmationRequest(_0x490860,_0x1ec089,_0x34c0e3){const _0x154721=a289_0x1860,_0x2957a4=normalizeText(_0x490860[_0x154721(0x1e5)],DESCRIPTION_MAX_LENGTH),_0xd24caa=_0x2957a4||normalizeText(defaultDescription(requireWriteRisk(_0x490860),_0x1ec089),DESCRIPTION_MAX_LENGTH);return{'operation':_0x1ec089,'risk':requireWriteRisk(_0x490860),'description':_0xd24caa,..._0x34c0e3?{'signal':_0x34c0e3}:{}};}function requireWriteRisk(_0x406a59){const _0xf4c6f6=a289_0x1860;if(_0x406a59[_0xf4c6f6(0x1f6)]===_0xf4c6f6(0x1f2)||_0x406a59['risk']===_0xf4c6f6(0x1fa))return _0x406a59['risk'];throw new Error(_0xf4c6f6(0x1f7));}function defaultDescription(_0x3eb96e,_0x3b1ef8){const _0x2029ff=a289_0x1860;if(_0x3eb96e===_0x2029ff(0x1fa))return _0x2029ff(0x1f3)+_0x3b1ef8+_0x2029ff(0x1f8);return _0x2029ff(0x1e9)+_0x3b1ef8+_0x2029ff(0x1e7);}function normalizeText(_0xdd590d,_0x4428fa){const _0xb0f9f6=a289_0x1860;if(typeof _0xdd590d!=='string')return'';return _0xdd590d[_0xb0f9f6(0x1f0)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0xb0f9f6(0x1f0)](/\s+/g,'\x20')[_0xb0f9f6(0x1f5)]()['slice'](0x0,_0x4428fa);}function a289_0x4c55(){const _0x31348f=['replace','19960niOiFO','write','This\x20will\x20run\x20the\x20high-risk\x20write\x20','678988pMXvHR','trim','risk','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','2uXFNOC','high-risk-write','confirmationDescription','594618ZMJLKc','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','2155167JakngS','This\x20will\x20run\x20the\x20write\x20','1910777nxJiKU','10kfRGwF','553RQCsvH','73887dhYlGb','21998HlMmSq','10OUBYVA'];a289_0x4c55=function(){return _0x31348f;};return a289_0x4c55();}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x13ccba,_0x548fd7){var _0x4c3f1a=a290_0x27e5,_0x2b8314=_0x13ccba();while(!![]){try{var _0x542bc9=-parseInt(_0x4c3f1a(0x1c1))/0x1*(-parseInt(_0x4c3f1a(0x1bc))/0x2)+-parseInt(_0x4c3f1a(0x1c3))/0x3*(parseInt(_0x4c3f1a(0x1c8))/0x4)+parseInt(_0x4c3f1a(0x1c2))/0x5*(parseInt(_0x4c3f1a(0x1c5))/0x6)+parseInt(_0x4c3f1a(0x1b8))/0x7*(-parseInt(_0x4c3f1a(0x1c7))/0x8)+-parseInt(_0x4c3f1a(0x1b9))/0x9*(-parseInt(_0x4c3f1a(0x1ba))/0xa)+-parseInt(_0x4c3f1a(0x1c6))/0xb+-parseInt(_0x4c3f1a(0x1c0))/0xc;if(_0x542bc9===_0x548fd7)break;else _0x2b8314['push'](_0x2b8314['shift']());}catch(_0x172d54){_0x2b8314['push'](_0x2b8314['shift']());}}}(a290_0x2e1d,0xa1354));function a290_0x27e5(_0x446b53,_0x5b206a){_0x446b53=_0x446b53-0x1b6;var _0x2e1d55=a290_0x2e1d();var _0x27e503=_0x2e1d55[_0x446b53];return _0x27e503;}export function canonicalRabetbaseOperation(_0x26e423){var _0x1acfe9=a290_0x27e5;return[_0x26e423[_0x1acfe9(0x1bb)],..._0x26e423[_0x1acfe9(0x1be)]['trim']()[_0x1acfe9(0x1b7)](/\s+/)][_0x1acfe9(0x1bd)](Boolean)[_0x1acfe9(0x1b6)]('.');}export function createRabetbaseWriteMetadata(_0x36ce88,_0xdfb203,_0x1553e2,_0x4e0083){var _0x123f8f=a290_0x27e5;if(_0x4e0083||_0x1553e2['ok']!==!![]||_0x36ce88['risk']!=='write'&&_0x36ce88['risk']!==_0x123f8f(0x1c4))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':'rabetbase.write.completed','operation':_0xdfb203,'risk':_0x36ce88[_0x123f8f(0x1bf)]}}};}function a290_0x2e1d(){var _0x35dd78=['10fTDitd','service','2381428HwwiTs','filter','command','risk','23387580nxfRGz','1QcwHLI','5XPJbyZ','267507VHHHAr','high-risk-write','7140486IYtjLB','2644191QLxRJU','59624TctIcA','24JEXNbP','join','split','273HuNmXp','11650860LUcEwL'];a290_0x2e1d=function(){return _0x35dd78;};return a290_0x2e1d();}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x36d3b9,_0xcf8213){const _0x462788=a291_0x41a7,_0x2b1c25=_0x36d3b9();while(!![]){try{const _0x4650af=parseInt(_0x462788(0x91))/0x1*(parseInt(_0x462788(0xa8))/0x2)+parseInt(_0x462788(0x8f))/0x3+parseInt(_0x462788(0xab))/0x4*(parseInt(_0x462788(0x93))/0x5)+-parseInt(_0x462788(0xa0))/0x6+-parseInt(_0x462788(0xa5))/0x7*(parseInt(_0x462788(0xa6))/0x8)+-parseInt(_0x462788(0xa2))/0x9+-parseInt(_0x462788(0x9b))/0xa;if(_0x4650af===_0xcf8213)break;else _0x2b1c25['push'](_0x2b1c25['shift']());}catch(_0x242145){_0x2b1c25['push'](_0x2b1c25['shift']());}}}(a291_0x521f,0xb40dd));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';function a291_0x521f(){const _0x3dd21b=['rawFlags','definition','format','confirm','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','risk','Rabetbase\x20invocation\x20aborted.','1434320tKKJmh','present','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','execute','message','2020278PdEgCt','yes','10170108QXgVcq','result','AbortError','35WTOPGG','353584HAhPgh','signal','6yDPcEU','command','presentation','7392jkxRVL','dry-run','isNonInteractive','write','high-risk-write','dryRun','args','riskLevel','3278295RhhAYr','service','457465EgkDPP','reason','280qpnHsO'];a291_0x521f=function(){return _0x3dd21b;};return a291_0x521f();}function a291_0x41a7(_0x3afc31,_0xe5e41b){_0x3afc31=_0x3afc31-0x8f;const _0x521fa9=a291_0x521f();let _0x41a729=_0x521fa9[_0x3afc31];return _0x41a729;}import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x1ec199,command:_0x16cdb2,risk:_0x3f126c,dryRun:_0x3ef461}){const _0x28bce5=a291_0x41a7;return JSON['stringify']({'ok':_0x1ec199['ok'],'command':_0x16cdb2,'risk':_0x3f126c,..._0x3ef461?{'dryRun':!![]}:{},..._0x1ec199['data']!==undefined?{'data':_0x1ec199['data']}:{},..._0x1ec199[_0x28bce5(0x9f)]?{'message':_0x1ec199[_0x28bce5(0x9f)]}:{}});}};export async function invokeRabetbase(_0x56bd8e,_0x31deed){const _0x220474=a291_0x41a7;throwIfAborted(_0x31deed[_0x220474(0xa7)]);const _0x247cbe=await resolveRabetbaseInvocation(_0x56bd8e),_0x2c99c9=canonicalRabetbaseOperation(_0x247cbe[_0x220474(0x95)]);return await confirmWriteBeforeQueue(_0x247cbe[_0x220474(0x95)],_0x247cbe[_0x220474(0x94)],_0x2c99c9,_0x31deed),runSerialized(async()=>{const _0x5da3bf=_0x220474,_0x3406cc={};try{throwIfAborted(_0x31deed[_0x5da3bf(0xa7)]);const _0x87d73e=buildConfigFromFlags(_0x247cbe[_0x5da3bf(0x94)]);!isRoutingRecoveryService(_0x247cbe[_0x5da3bf(0x95)][_0x5da3bf(0x90)])&&await initGlobalEnvironment(_0x87d73e);const _0x13933f=createPipelineEnv(_0x87d73e,{..._0x247cbe[_0x5da3bf(0x94)],'yes':_0x247cbe[_0x5da3bf(0x95)][_0x5da3bf(0x99)]===_0x5da3bf(0xaf)?!![]:_0x247cbe[_0x5da3bf(0x94)][_0x5da3bf(0xa1)],'nonInteractive':!![]},_0x247cbe[_0x5da3bf(0xb1)]);_0x13933f[_0x5da3bf(0xad)]=!![],_0x13933f[_0x5da3bf(0xb2)]='high-risk-write';const _0x4b729b=withAbortSignal(_0x247cbe[_0x5da3bf(0x95)],_0x31deed[_0x5da3bf(0xa7)]),_0x381886=createRabetbaseRunnerAdapter({'formatOutput'(_0x452495,_0x4ea467){const _0x4aeef8=_0x5da3bf;_0x3406cc[_0x4aeef8(0xa3)]=_0x452495,_0x3406cc[_0x4aeef8(0xa9)]=_0x4ea467['command'],_0x3406cc[_0x4aeef8(0x99)]=_0x4ea467['risk'],_0x3406cc[_0x4aeef8(0x96)]=_0x4ea467[_0x4aeef8(0x96)],_0x3406cc['dryRun']=_0x4ea467['dryRun']===!![];},async 'confirmHighRisk'(){const _0x175b8d=_0x5da3bf;throw new Error(_0x175b8d(0x98));}});await runCommand(_0x4b729b,_0x13933f,_0x381886);if(!_0x3406cc[_0x5da3bf(0xa3)]||!_0x3406cc['command']||!_0x3406cc[_0x5da3bf(0x99)]||!_0x3406cc[_0x5da3bf(0x96)])throw new Error(_0x5da3bf(0x9d));const _0x471682=_0x3406cc[_0x5da3bf(0xb0)]===!![],_0x1d4f0c=_0x31deed[_0x5da3bf(0xaa)]??defaultPresentation,_0xe433a1={'result':_0x3406cc[_0x5da3bf(0xa3)],'command':_0x3406cc[_0x5da3bf(0xa9)],'operation':_0x2c99c9,'risk':_0x3406cc[_0x5da3bf(0x99)],'format':_0x3406cc[_0x5da3bf(0x96)],'dryRun':_0x471682},_0x54ddf3=createRabetbaseWriteMetadata(_0x247cbe['definition'],_0x2c99c9,_0x3406cc['result'],_0x471682);let _0x3fece1;try{_0x3fece1=await _0x1d4f0c['present'](_0xe433a1);}catch(_0xa82398){if(!_0x54ddf3||_0x1d4f0c===defaultPresentation)throw _0xa82398;_0x3fece1=await defaultPresentation[_0x5da3bf(0x9c)](_0xe433a1);}return{'operation':_0x2c99c9,'risk':_0x3406cc[_0x5da3bf(0x99)],'mode':_0x471682?_0x5da3bf(0xac):_0x5da3bf(0x9e),'result':_0x3406cc[_0x5da3bf(0xa3)],'output':_0x3fece1,..._0x54ddf3?{'metadata':_0x54ddf3}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x31cafc,_0x57723e,_0x4e2a44,_0x317e53){const _0x56ce03=a291_0x41a7;if(_0x57723e['dryRun']===!![]||_0x31cafc[_0x56ce03(0x99)]!==_0x56ce03(0xae)&&_0x31cafc[_0x56ce03(0x99)]!==_0x56ce03(0xaf))return;await _0x317e53['confirmation'][_0x56ce03(0x97)](buildRabetbaseConfirmationRequest(_0x31cafc,_0x4e2a44,_0x317e53['signal']));}function withAbortSignal(_0x4ea2dd,_0x473f5d){return{..._0x4ea2dd,async 'execute'(_0x2af47f){const _0x3d4591=a291_0x41a7;return throwIfAborted(_0x473f5d),_0x4ea2dd[_0x3d4591(0x9e)]({..._0x2af47f,'signal':_0x473f5d});}};}function throwIfAborted(_0x79505c){const _0x2a95a3=a291_0x41a7;if(_0x79505c?.['aborted'])throw _0x79505c[_0x2a95a3(0x92)]instanceof Error?_0x79505c[_0x2a95a3(0x92)]:new DOMException(_0x2a95a3(0x9a),_0x2a95a3(0xa4));}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a292_0x4ded(){const _0x310380=['1142736mmqSiJ','14374ZQSiZB','1049064LHftYh','231GyxcUb','12TAtSdB','50LZmsNU','resolve','155210GVRVPK','catch','326763kTvBoE','62352TLVazs','13608XmAkdG'];a292_0x4ded=function(){return _0x310380;};return a292_0x4ded();}const a292_0x12b158=a292_0x4780;(function(_0x198352,_0x1bf994){const _0x525512=a292_0x4780,_0x2b04f2=_0x198352();while(!![]){try{const _0x36e2f0=parseInt(_0x525512(0xdd))/0x1+-parseInt(_0x525512(0xdf))/0x2*(parseInt(_0x525512(0xe2))/0x3)+parseInt(_0x525512(0xde))/0x4+-parseInt(_0x525512(0xe5))/0x5+-parseInt(_0x525512(0xdc))/0x6*(parseInt(_0x525512(0xe1))/0x7)+parseInt(_0x525512(0xe0))/0x8+parseInt(_0x525512(0xdb))/0x9*(parseInt(_0x525512(0xe3))/0xa);if(_0x36e2f0===_0x1bf994)break;else _0x2b04f2['push'](_0x2b04f2['shift']());}catch(_0x4869f3){_0x2b04f2['push'](_0x2b04f2['shift']());}}}(a292_0x4ded,0x33152));function a292_0x4780(_0x214aa4,_0x21dc75){_0x214aa4=_0x214aa4-0xda;const _0x4ded27=a292_0x4ded();let _0x47807e=_0x4ded27[_0x214aa4];return _0x47807e;}let tail=Promise[a292_0x12b158(0xe4)]();export async function runSerialized(_0x104364){const _0x4cc6e9=a292_0x12b158,_0x17fb57=tail;let _0x25dad9;tail=new Promise(_0x36192e=>{_0x25dad9=_0x36192e;}),await _0x17fb57[_0x4cc6e9(0xda)](()=>undefined);try{return await _0x104364();}finally{_0x25dad9();}}
|
package/lib/runtime/resolve.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x327e52,_0x5a07b9){const _0x1d16c9=a293_0x2846,_0x3c10f5=_0x327e52();while(!![]){try{const _0x32e452=-parseInt(_0x1d16c9(0x9e))/0x1+-parseInt(_0x1d16c9(0xa3))/0x2+-parseInt(_0x1d16c9(0xa6))/0x3+parseInt(_0x1d16c9(0x96))/0x4+-parseInt(_0x1d16c9(0x95))/0x5*(parseInt(_0x1d16c9(0xa1))/0x6)+parseInt(_0x1d16c9(0xa7))/0x7+-parseInt(_0x1d16c9(0x9d))/0x8*(-parseInt(_0x1d16c9(0x9f))/0x9);if(_0x32e452===_0x5a07b9)break;else _0x3c10f5['push'](_0x3c10f5['shift']());}catch(_0x1cff68){_0x3c10f5['push'](_0x3c10f5['shift']());}}}(a293_0x3138,0xd2e19));function a293_0x2846(_0x7882cf,_0x17d5fe){_0x7882cf=_0x7882cf-0x92;const _0x3138d7=a293_0x3138();let _0x2846b6=_0x3138d7[_0x7882cf];return _0x2846b6;}import a293_0x1c893e from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';import{assertSupportedCommandFlags}from'../framework/supported-flags.js';export async function resolveRabetbaseInvocation(_0x252392){const _0x1d2452=a293_0x2846,_0x471125=a293_0x1c893e('',{'importMeta':import.meta,'argv':[..._0x252392],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x14182c=[..._0x471125[_0x1d2452(0xa5)]],_0x490dcd=_0x471125[_0x1d2452(0x9a)],_0x17c384=_0x14182c[0x0];if(!_0x17c384)throw CliErrors['validation'](_0x1d2452(0xa4));const _0x1f1edd=resolveRemovedCommand(_0x17c384,_0x14182c[0x1]);if(_0x1f1edd)throw CliErrors[_0x1d2452(0xa0)](_0x1f1edd[_0x1d2452(0x9b)],_0x1f1edd[_0x1d2452(0x9c)]);if(_0x17c384===_0x1d2452(0x98))throw CliErrors['validation']('`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.',_0x1d2452(0x92));if(!isKnownService(_0x17c384))throw CliErrors[_0x1d2452(0x93)](_0x14182c[_0x1d2452(0xa2)]('\x20'));const _0x599fb5=getServiceEntry(_0x17c384),_0xfa77c2=_0x14182c[0x1],_0x63326f=_0xfa77c2||_0x599fb5['defaultCommand'];if(!_0x63326f){if(_0x599fb5[_0x1d2452(0x97)])return{'definition':_0x599fb5[_0x1d2452(0x97)],'rawFlags':_0x490dcd,'args':[]};throw CliErrors[_0x1d2452(0xa0)](_0x1d2452(0x99)+_0x17c384+'\x22.');}const _0x3e6741=findDefinition(_0x17c384,_0x63326f);if(_0x3e6741)return assertSupportedCommandFlags(_0x3e6741,_0x490dcd),{'definition':_0x3e6741,'rawFlags':_0x490dcd,'args':_0x14182c[_0x1d2452(0x94)](0x2)};if(_0x599fb5[_0x1d2452(0x97)])return{'definition':_0x599fb5['wildcardDef'],'rawFlags':_0x490dcd,'args':[_0x63326f,..._0x14182c[_0x1d2452(0x94)](0x2)]};throw CliErrors[_0x1d2452(0x93)](_0x17c384+'\x20'+_0x63326f);}function a293_0x3138(){const _0x30bc74=['flags','message','hint','624CaxJve','1436333EzGcfF','317439umGfHm','validation','9318KVjQZZ','join','2194698dpODxY','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','input','3197265lLgwgg','6203806FHhBEN','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','unknownCommand','slice','1695xWazpT','5409108OmQClK','wildcardDef','run','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'];a293_0x3138=function(){return _0x30bc74;};return a293_0x3138();}
|