@lovrabet/rabetbase-cli 2.5.2-beta.1 → 2.5.2-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/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/api/generate-sdk-config-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/members-list.js +1 -1
- package/lib/commands/app/remote-directory.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/delete.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/app-config/list.js +1 -1
- package/lib/commands/app-config/set.js +1 -1
- package/lib/commands/app-config/shared.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-registry.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/async-task.js +1 -1
- package/lib/commands/common/dry-run.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/delete.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/init.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/dataset/business-group-update.js +1 -1
- package/lib/commands/dataset/business-groups.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-restore.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/generate.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-audit.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/dataset/restore.js +1 -1
- package/lib/commands/dataset/user-deleted-field-list.js +1 -1
- package/lib/commands/db/analysis-batching.js +1 -1
- package/lib/commands/db/analyze-batch-plan.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff-refresh-start.js +1 -1
- package/lib/commands/db/diff-refresh-status.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/table-diff-shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/deployment/auto-sync.js +1 -1
- package/lib/commands/deployment/index.js +1 -1
- package/lib/commands/deployment/sync-all.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.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 +113 -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.js +1 -1
- package/lib/generated/routing-contract.js +1 -1
- package/lib/help.js +1 -1
- package/lib/postinstall.js +1 -1
- package/lib/runtime/confirmation.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/skills/builtin-skill.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
- package/skills/rabetbase/SKILL.md +11 -5
- 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 a271_0x7a62(){const _0x56fd61=['1999398wyFyRs','10790024YrBVgB','2367920lLtZwM','10524uDtClp','22820sRlvcO','yes','8YnbLoj','152ghCLCt','map','9869436OehbVx','name','650664jwIZml'];a271_0x7a62=function(){return _0x56fd61;};return a271_0x7a62();}(function(_0x1ae1ae,_0x4d2998){const _0x3cbc95=a271_0xac6a,_0x56c6da=_0x1ae1ae();while(!![]){try{const _0xedf36d=-parseInt(_0x3cbc95(0x1b3))/0x1*(-parseInt(_0x3cbc95(0x1b7))/0x2)+parseInt(_0x3cbc95(0x1bc))/0x3+-parseInt(_0x3cbc95(0x1b2))/0x4+parseInt(_0x3cbc95(0x1b4))/0x5+-parseInt(_0x3cbc95(0x1b9))/0x6+parseInt(_0x3cbc95(0x1b1))/0x7*(parseInt(_0x3cbc95(0x1b6))/0x8)+parseInt(_0x3cbc95(0x1bb))/0x9;if(_0xedf36d===_0x4d2998)break;else _0x56c6da['push'](_0x56c6da['shift']());}catch(_0xa97af6){_0x56c6da['push'](_0x56c6da['shift']());}}}(a271_0x7a62,0xcef50));import{DEFAULT_COMMAND_OUTPUT_FORMAT}from'../constant/defaults.js';import{buildAllFlags as a271_0x42dd9a}from'@lovrabet/cli-framework';import{EXPLICIT_YES_FLAG_DESCRIPTION,requiresExplicitYes}from'../framework/explicit-yes.js';function a271_0xac6a(_0xfe7209,_0xeb837c){_0xfe7209=_0xfe7209-0x1b1;const _0x7a6212=a271_0x7a62();let _0xac6a90=_0x7a6212[_0xfe7209];return _0xac6a90;}export function buildAllFlags(_0x53ab1c){const _0x4f1537=a271_0xac6a,_0x3dcac4=a271_0x42dd9a(_0x53ab1c,{'defaultOutputFormat':DEFAULT_COMMAND_OUTPUT_FORMAT});if(!requiresExplicitYes(_0x53ab1c))return _0x3dcac4;return _0x3dcac4[_0x4f1537(0x1b8)](_0x202fb1=>_0x202fb1[_0x4f1537(0x1ba)]===_0x4f1537(0x1b5)?{..._0x202fb1,'description':EXPLICIT_YES_FLAG_DESCRIPTION}:_0x202fb1);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a272_0x4eeb(){var _0x20328e=['flags','156407xhMtMQ','1864262qHPoNj','4612192IhUvmz','771EhxrlV','4916705gbHzNQ','7SIpXCN','5230930ALLccF','structuredErrors','defaultFormat','compress','33kqdaTv','def','format','13712FHLlBR','6qsJJnK','4118805bqaDDL'];a272_0x4eeb=function(){return _0x20328e;};return a272_0x4eeb();}(function(_0x526903,_0x5cc6ca){var _0x3e5e3a=a272_0x38b1,_0x5bb664=_0x526903();while(!![]){try{var _0x29b851=-parseInt(_0x3e5e3a(0x1e2))/0x1+parseInt(_0x3e5e3a(0x1e3))/0x2+-parseInt(_0x3e5e3a(0x1e5))/0x3*(parseInt(_0x3e5e3a(0x1de))/0x4)+-parseInt(_0x3e5e3a(0x1e6))/0x5*(parseInt(_0x3e5e3a(0x1df))/0x6)+parseInt(_0x3e5e3a(0x1e7))/0x7*(parseInt(_0x3e5e3a(0x1e4))/0x8)+-parseInt(_0x3e5e3a(0x1e0))/0x9+parseInt(_0x3e5e3a(0x1d7))/0xa*(parseInt(_0x3e5e3a(0x1db))/0xb);if(_0x29b851===_0x5cc6ca)break;else _0x5bb664['push'](_0x5bb664['shift']());}catch(_0x3e52c2){_0x5bb664['push'](_0x5bb664['shift']());}}}(a272_0x4eeb,0x925f9));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a272_0x38b1(_0xc9aa10,_0x4cffc4){_0xc9aa10=_0xc9aa10-0x1d7;var _0x4eeb9d=a272_0x4eeb();var _0x38b180=_0x4eeb9d[_0xc9aa10];return _0x38b180;}export function usesStructuredErrorOutput(_0x4d4781){var _0x56a637=a272_0x38b1;return _0x4d4781?.[_0x56a637(0x1d8)]===!![];}export function resolveErrorOutputFormat(_0x18dcd9){var _0x116083=a272_0x38b1;if(!_0x18dcd9[_0x116083(0x1dc)])return _0x18dcd9['defaultFormat']??_0x116083(0x1da);return resolveOutputConfig({'flags':_0x18dcd9[_0x116083(0x1e1)]??{},'def':_0x18dcd9[_0x116083(0x1dc)],'configDefault':_0x18dcd9[_0x116083(0x1d9)]})[_0x116083(0x1dd)];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a273_0x1fa425=a273_0x2bdb;(function(_0xb6fe95,_0x118457){const _0x4e1861=a273_0x2bdb,_0x450770=_0xb6fe95();while(!![]){try{const _0x40179c=parseInt(_0x4e1861(0x19b))/0x1+-parseInt(_0x4e1861(0x198))/0x2+parseInt(_0x4e1861(0x1a0))/0x3*(parseInt(_0x4e1861(0x199))/0x4)+-parseInt(_0x4e1861(0x19e))/0x5*(-parseInt(_0x4e1861(0x1a5))/0x6)+-parseInt(_0x4e1861(0x197))/0x7*(parseInt(_0x4e1861(0x1a3))/0x8)+parseInt(_0x4e1861(0x19d))/0x9*(parseInt(_0x4e1861(0x19c))/0xa)+parseInt(_0x4e1861(0x19a))/0xb;if(_0x40179c===_0x118457)break;else _0x450770['push'](_0x450770['shift']());}catch(_0x2e873c){_0x450770['push'](_0x450770['shift']());}}}(a273_0x2599,0x9300d));const EXPLICIT_YES_COMMANDS=new Set([a273_0x1fa425(0x19f),a273_0x1fa425(0x1a1),a273_0x1fa425(0x1a2),a273_0x1fa425(0x1a4)]);function a273_0x2bdb(_0x3d8243,_0x4483ac){_0x3d8243=_0x3d8243-0x197;const _0x25995f=a273_0x2599();let _0x2bdbe4=_0x25995f[_0x3d8243];return _0x2bdbe4;}export const EXPLICIT_YES_FLAG_DESCRIPTION=a273_0x1fa425(0x1a7);function a273_0x2599(){const _0x1a4194=['8529840BqAQNS','157210UUyydG','30yTCWNd','1956159ImILyE','2160dzPnKG','menu\x20delete','45969dgxArt','kb\x20delete','notification\x20config-update','2659656JwRzbo','notification\x20config-delete','4470zXwgAe','has','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','21QZnIGL','2360916TlFKZc','228jfFeYp'];a273_0x2599=function(){return _0x1a4194;};return a273_0x2599();}export function requiresExplicitYes(_0x27044a){const _0xf6db89=a273_0x1fa425;return EXPLICIT_YES_COMMANDS[_0xf6db89(0x1a6)](_0x27044a['service']+'\x20'+_0x27044a['command']);}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a274_0x37e5e6=a274_0x25b0;(function(_0x30325f,_0x3104ef){const _0x565291=a274_0x25b0,_0x217a48=_0x30325f();while(!![]){try{const _0x381b2a=parseInt(_0x565291(0xb4))/0x1*(-parseInt(_0x565291(0xaf))/0x2)+parseInt(_0x565291(0xaa))/0x3*(-parseInt(_0x565291(0xb3))/0x4)+-parseInt(_0x565291(0xab))/0x5+-parseInt(_0x565291(0xad))/0x6*(-parseInt(_0x565291(0xb0))/0x7)+-parseInt(_0x565291(0xb2))/0x8*(parseInt(_0x565291(0xae))/0x9)+parseInt(_0x565291(0xb1))/0xa*(parseInt(_0x565291(0xa8))/0xb)+parseInt(_0x565291(0xa9))/0xc;if(_0x381b2a===_0x3104ef)break;else _0x217a48['push'](_0x217a48['shift']());}catch(_0x174ecf){_0x217a48['push'](_0x217a48['shift']());}}}(a274_0x56ef,0x1b294));import{createFlagHelpers}from'@lovrabet/cli-framework';function a274_0x25b0(_0x471c14,_0x4b1909){_0x471c14=_0x471c14-0xa8;const _0x56ef06=a274_0x56ef();let _0x25b087=_0x56ef06[_0x471c14];return _0x25b087;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a274_0x37e5e6(0xac)];export const validateFlags=helpers[a274_0x37e5e6(0xb5)];function a274_0x56ef(){const _0xc1c7cc=['248340CnNiVI','279720cAwaTN','115452GXCAYR','14ZtgSnN','20CwhWzb','16vrbKar','72ktoXSr','2JRsQeQ','validateFlags','986744PzwwDj','3917868LQqBQp','33318hMdnqW','499525UKctwn','parseFlags'];a274_0x56ef=function(){return _0xc1c7cc;};return a274_0x56ef();}
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x206284,_0xc660df){const _0x1fab52=a275_0x30b8,_0x45a574=_0x206284();while(!![]){try{const _0x5753d8=parseInt(_0x1fab52(0xcc))/0x1+parseInt(_0x1fab52(0xd7))/0x2+parseInt(_0x1fab52(0xda))/0x3*(parseInt(_0x1fab52(0xd4))/0x4)+parseInt(_0x1fab52(0xd9))/0x5+-parseInt(_0x1fab52(0xd5))/0x6+-parseInt(_0x1fab52(0xd2))/0x7+-parseInt(_0x1fab52(0xcf))/0x8*(parseInt(_0x1fab52(0xce))/0x9);if(_0x5753d8===_0xc660df)break;else _0x45a574['push'](_0x45a574['shift']());}catch(_0x24a56c){_0x45a574['push'](_0x45a574['shift']());}}}(a275_0x2949,0x94f9c));import{createHelpGenerators}from'@lovrabet/cli-framework';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 createGenerators(){const _0x48318c=a275_0x30b8;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x2430ab=>serviceGroups[_0x48318c(0xd3)](_0x2430ab),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x48318c(0xd1)+CLI_BIN_NAME+'\x20workspace\x20init`\x20or\x20--appcode).','serviceUsageSuffix':_0x48318c(0xcb)});}function a275_0x30b8(_0x3a2929,_0x46985b){_0x3a2929=_0x3a2929-0xcb;const _0x294995=a275_0x2949();let _0x30b883=_0x294995[_0x3a2929];return _0x30b883;}function a275_0x2949(){const _0x4ca815=['Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','2283054ObitqN','generateServiceHelp','3121075qvKZBL','2649WuXwtw','generateCommandHelp','generateFullHelp','\x20[args]\x20[flags]','164670dwRxgo','replace','962469OLGxlv','88lVrWBp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','Requires\x20appcode\x20(set\x20via\x20`','413896xqXzTa','get','1876wXttgw','2993136bzmQwG'];a275_0x2949=function(){return _0x4ca815;};return a275_0x2949();}export function generateCommandHelp(_0x101f37){const _0x5ef730=a275_0x30b8,_0x4f30b4=createGenerators()[_0x5ef730(0xdb)](_0x101f37);if(!requiresExplicitYes(_0x101f37))return _0x4f30b4;return _0x4f30b4[_0x5ef730(0xcd)](_0x5ef730(0xd0),_0x5ef730(0xd6));}export function generateServiceHelp(_0x5b3ca1){const _0x72582e=a275_0x30b8;return createGenerators()[_0x72582e(0xd8)](_0x5b3ca1);}export function generateFullHelp(){const _0x43178b=a275_0x30b8;return createGenerators()[_0x43178b(0xdc)]();}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x43af26,_0x1feccb){var _0xb73984=a276_0x3887,_0x2d9a63=_0x43af26();while(!![]){try{var _0x160ff8=-parseInt(_0xb73984(0xf2))/0x1+-parseInt(_0xb73984(0xee))/0x2*(parseInt(_0xb73984(0xf1))/0x3)+-parseInt(_0xb73984(0xef))/0x4*(parseInt(_0xb73984(0xed))/0x5)+parseInt(_0xb73984(0xf3))/0x6*(parseInt(_0xb73984(0xf4))/0x7)+parseInt(_0xb73984(0xec))/0x8*(-parseInt(_0xb73984(0xeb))/0x9)+parseInt(_0xb73984(0xf5))/0xa+parseInt(_0xb73984(0xf0))/0xb*(parseInt(_0xb73984(0xf6))/0xc);if(_0x160ff8===_0x1feccb)break;else _0x2d9a63['push'](_0x2d9a63['shift']());}catch(_0x13ecff){_0x2d9a63['push'](_0x2d9a63['shift']());}}}(a276_0x5a6a,0x48a36));function a276_0x3887(_0x29fd3c,_0x4fc8d2){_0x29fd3c=_0x29fd3c-0xeb;var _0x5a6aa6=a276_0x5a6a();var _0x3887b5=_0x5a6aa6[_0x29fd3c];return _0x3887b5;}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 a276_0x5a6a(){var _0x4ef19d=['1314464FmlWyx','11fbakIN','151701ubZkOQ','222523HFSXbh','5784RZjxpE','658AsjsJb','911080hLXCvS','14921112eaTMuE','45FvJuen','113304KARrUn','5PlwGzt','20DqCKun'];a276_0x5a6a=function(){return _0x4ef19d;};return a276_0x5a6a();}export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a277_0x38c7(_0x254be4,_0x1625d7){_0x254be4=_0x254be4-0xed;const _0x33f268=a277_0x33f2();let _0x38c7ac=_0x33f268[_0x254be4];return _0x38c7ac;}(function(_0x2dd5a6,_0x177583){const _0x1000cf=a277_0x38c7,_0x40cc09=_0x2dd5a6();while(!![]){try{const _0x526103=parseInt(_0x1000cf(0xf9))/0x1+parseInt(_0x1000cf(0xf7))/0x2*(parseInt(_0x1000cf(0xed))/0x3)+-parseInt(_0x1000cf(0xf2))/0x4*(-parseInt(_0x1000cf(0xf6))/0x5)+-parseInt(_0x1000cf(0xfc))/0x6+parseInt(_0x1000cf(0x102))/0x7*(parseInt(_0x1000cf(0x101))/0x8)+parseInt(_0x1000cf(0x103))/0x9*(-parseInt(_0x1000cf(0x108))/0xa)+parseInt(_0x1000cf(0xf1))/0xb*(-parseInt(_0x1000cf(0x104))/0xc);if(_0x526103===_0x177583)break;else _0x40cc09['push'](_0x40cc09['shift']());}catch(_0x19e05b){_0x40cc09['push'](_0x40cc09['shift']());}}}(a277_0x33f2,0xc54fe));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';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(_0x44d201,_0x5d3d27){const _0x2e561d=a277_0x38c7,_0xf9e53d=_0x44d201[_0x2e561d(0xf4)],{_notice:_0x53ee11,..._0x9daf1e}=_0x44d201;void _0x53ee11,baseFormatOutput(_0x9daf1e,_0x5d3d27),_0x5d3d27[_0x2e561d(0xff)]==='pretty'&&printPrettyNotice(_0xf9e53d);}export function formatCliError(_0x3e268d,_0x15494c){const _0x5c0bd0=a277_0x38c7;if(_0x15494c[_0x5c0bd0(0xff)]===_0x5c0bd0(0xfb))return![];const _0x5a8685=_0x3e268d[_0x5c0bd0(0xee)],_0x52c89c={'ok':![],'command':_0x15494c[_0x5c0bd0(0x107)],'risk':_0x15494c['risk'],'data':_0x5a8685??null,'error':{'code':_0x3e268d['code'],'message':_0x3e268d[_0x5c0bd0(0x100)],..._0x3e268d['hint']?{'hint':_0x3e268d[_0x5c0bd0(0xfa)]}:{}}},_0x91655e=_0x15494c['format']===_0x5c0bd0(0xf8)?JSON[_0x5c0bd0(0xf5)](_0x52c89c,null,0x2):JSON[_0x5c0bd0(0xf5)](_0x52c89c);let _0x29cd09=_0x91655e;if(_0x15494c[_0x5c0bd0(0x106)]?.[_0x5c0bd0(0xfd)]())try{_0x29cd09=applyJqFilter(_0x91655e,_0x15494c[_0x5c0bd0(0x106)]);}catch(_0x161467){const _0x58dfc1=_0x161467 instanceof CliError?_0x161467:CliErrors[_0x5c0bd0(0x105)](_0x5c0bd0(0xf3)+(_0x161467 instanceof Error?_0x161467[_0x5c0bd0(0x100)]:String(_0x161467))),_0x5ea09f={..._0x52c89c,'error':{'code':_0x58dfc1[_0x5c0bd0(0xf0)],'message':_0x58dfc1['message'],..._0x58dfc1[_0x5c0bd0(0xfa)]?{'hint':_0x58dfc1[_0x5c0bd0(0xfa)]}:{},'cause':_0x52c89c['error']}};_0x29cd09=_0x15494c[_0x5c0bd0(0xff)]===_0x5c0bd0(0xf8)?JSON[_0x5c0bd0(0xf5)](_0x5ea09f,null,0x2):JSON['stringify'](_0x5ea09f);}return process['stdout']['write'](_0x29cd09['endsWith']('\x0a')?_0x29cd09:_0x29cd09+'\x0a'),!![];}function printPrettyNotice(_0x112c87){const _0x574387=a277_0x38c7;if(!_0x112c87?.['update'])return;console['error'](_0x112c87[_0x574387(0xfe)]['message']+'\x20('+_0x112c87[_0x574387(0xfe)][_0x574387(0xef)]+')');}function a277_0x33f2(){const _0x16fca4=['1188MQmTXZ','150532qRWbgt','jq:\x20','_notice','stringify','170gpkOlY','568BEOuGE','json','203039ECmfoA','hint','pretty','5841492BBvzCi','trim','update','format','message','380168hqjYGR','119JpHWod','603HLytpP','211368pdLLHo','validation','jqFilter','command','23980YOAEaI','16419VoAMQU','data','url','code'];a277_0x33f2=function(){return _0x16fca4;};return a277_0x33f2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1a1319,_0x11b01f){var _0x55f0d2=a278_0x475c,_0x2d1425=_0x1a1319();while(!![]){try{var _0xbb144b=-parseInt(_0x55f0d2(0x1d2))/0x1+parseInt(_0x55f0d2(0x1d0))/0x2*(-parseInt(_0x55f0d2(0x1d4))/0x3)+parseInt(_0x55f0d2(0x1d3))/0x4*(-parseInt(_0x55f0d2(0x1d5))/0x5)+parseInt(_0x55f0d2(0x1da))/0x6*(-parseInt(_0x55f0d2(0x1d7))/0x7)+parseInt(_0x55f0d2(0x1d6))/0x8*(parseInt(_0x55f0d2(0x1d8))/0x9)+parseInt(_0x55f0d2(0x1d9))/0xa+-parseInt(_0x55f0d2(0x1d1))/0xb*(-parseInt(_0x55f0d2(0x1cf))/0xc);if(_0xbb144b===_0x11b01f)break;else _0x2d1425['push'](_0x2d1425['shift']());}catch(_0x1353d3){_0x2d1425['push'](_0x2d1425['shift']());}}}(a278_0x892e,0x200da));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a278_0x475c(_0x133988,_0x36d209){_0x133988=_0x133988-0x1cf;var _0x892eeb=a278_0x892e();var _0x475cd3=_0x892eeb[_0x133988];return _0x475cd3;}function a278_0x892e(){var _0x209d5a=['1270Datajf','16YoJODF','7vGDOay','906642eljJgJ','243770gdcqRH','877902dJrukJ','4449072gGkHjk','134BqDXHt','11tqNgeb','124757HqNRZV','724VqZURH','6639TZsCJZ'];a278_0x892e=function(){return _0x209d5a;};return a278_0x892e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4706cd,_0x30df8a){const _0x7909fe=a279_0x500d,_0x5937c0=_0x4706cd();while(!![]){try{const _0x187520=parseInt(_0x7909fe(0x165))/0x1*(-parseInt(_0x7909fe(0x170))/0x2)+-parseInt(_0x7909fe(0x171))/0x3+parseInt(_0x7909fe(0x168))/0x4+parseInt(_0x7909fe(0x15f))/0x5*(-parseInt(_0x7909fe(0x15d))/0x6)+-parseInt(_0x7909fe(0x158))/0x7*(-parseInt(_0x7909fe(0x15c))/0x8)+-parseInt(_0x7909fe(0x167))/0x9+-parseInt(_0x7909fe(0x16a))/0xa*(-parseInt(_0x7909fe(0x160))/0xb);if(_0x187520===_0x30df8a)break;else _0x5937c0['push'](_0x5937c0['shift']());}catch(_0x306770){_0x5937c0['push'](_0x5937c0['shift']());}}}(a279_0x4e8b,0x8908c));function a279_0x500d(_0x323766,_0x2cc967){_0x323766=_0x323766-0x157;const _0x4e8bde=a279_0x4e8b();let _0x500da5=_0x4e8bde[_0x323766];return _0x500da5;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';export function resolveAliasToCode(_0x696f23,_0x5da2f7,_0x51a22a,_0x404d3d){const _0xe99c13=a279_0x500d,_0x5dee83=_0x696f23[_0xe99c13(0x16d)][_0xe99c13(0x163)](_0x36a281=>_0x36a281['name']===_0xe99c13(0x16e)&&_0x36a281[_0xe99c13(0x16f)]===_0xe99c13(0x16c)),_0x300a63=_0x696f23[_0xe99c13(0x16d)][_0xe99c13(0x163)](_0x32f9df=>_0x32f9df[_0xe99c13(0x169)]===_0xe99c13(0x161)&&_0x32f9df[_0xe99c13(0x16f)]===_0xe99c13(0x16c));if(!_0x5dee83||!_0x300a63)return;const _0x283a90=_0x5da2f7[_0xe99c13(0x16e)]?String(_0x5da2f7[_0xe99c13(0x16e)]):'',_0x8e5302=_0x5da2f7[_0xe99c13(0x161)]?String(_0x5da2f7['alias']):'';if(!_0x283a90&&!_0x8e5302)throw CliErrors[_0xe99c13(0x157)]('`'+_0x404d3d+_0xe99c13(0x164));if(_0x8e5302&&!_0x283a90){const _0x365bc5=resolveAlias(_0x51a22a,_0x8e5302);if(!_0x365bc5){const _0xae4d77=listAliases(_0x51a22a)['map'](_0x369a80=>_0x369a80[_0xe99c13(0x161)]),_0x55beff=_0xae4d77[_0xe99c13(0x15a)]?_0xe99c13(0x166)+_0xae4d77[_0xe99c13(0x15b)](',\x20'):_0xe99c13(0x162)+_0x51a22a+_0xe99c13(0x15e)+CLI_BIN_NAME+'\x20api\x20pull`\x20first.';throw CliErrors[_0xe99c13(0x157)](_0xe99c13(0x16b)+_0x8e5302+_0xe99c13(0x159)+_0x55beff);}_0x5da2f7['code']=_0x365bc5;}}function a279_0x4e8b(){const _0x344739=['.\x20Run\x20`','5OezGJI','11583NPBmPQ','alias','No\x20api.ts\x20found\x20in\x20','some','`\x20requires\x20either\x20--code\x20or\x20--alias.','802589ITrEoG','Available\x20aliases:\x20','3199914SNTvSn','285824SoYgAF','name','16420UBlmZN','Unknown\x20alias\x20\x22','string','flags','code','type','2kzFdzK','1134021gBaTbm','validation','7TUaQVa','\x22.\x20','length','join','2977336WDOBnB','451290SWyYom'];a279_0x4e8b=function(){return _0x344739;};return a279_0x4e8b();}
|
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(_0x36d8b4,_0x1b01d5){const _0xd7e13d=a280_0x1d44,_0x2a4319=_0x36d8b4();while(!![]){try{const _0x5ec09d=parseInt(_0xd7e13d(0x187))/0x1*(parseInt(_0xd7e13d(0x1b3))/0x2)+-parseInt(_0xd7e13d(0x194))/0x3+-parseInt(_0xd7e13d(0x180))/0x4+parseInt(_0xd7e13d(0x1bf))/0x5+-parseInt(_0xd7e13d(0x184))/0x6+parseInt(_0xd7e13d(0x1a3))/0x7*(-parseInt(_0xd7e13d(0x175))/0x8)+parseInt(_0xd7e13d(0x1bc))/0x9*(parseInt(_0xd7e13d(0x18b))/0xa);if(_0x5ec09d===_0x1b01d5)break;else _0x2a4319['push'](_0x2a4319['shift']());}catch(_0x2416a5){_0x2a4319['push'](_0x2a4319['shift']());}}}(a280_0x5798,0x4a409));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a280_0x1d44(_0x246491,_0x1e5dba){_0x246491=_0x246491-0x16f;const _0x579807=a280_0x5798();let _0x1d44e8=_0x579807[_0x246491];return _0x1d44e8;}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_0x570a29}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x27a55c){const _0x15b675=a280_0x1d44;return typeof _0x27a55c===_0x15b675(0x18e)&&_0x27a55c[_0x15b675(0x172)]()?_0x27a55c['trim']():undefined;}function resolveEnvAppCode(){const _0x55f783=a280_0x1d44,_0x54dfb1=stringFlag(process.env.RABETBASE_APPCODE);if(_0x54dfb1)return{'name':'RABETBASE_APPCODE','value':_0x54dfb1};const _0x186dc1=stringFlag(process.env.LOVRABET_APPCODE);if(_0x186dc1)return{'name':_0x55f783(0x177),'value':_0x186dc1};return undefined;}function hasExplicitAppCode(_0x19bba7,_0x57d4ac){const _0x543567=a280_0x1d44;return!!(stringFlag(_0x19bba7[_0x543567(0x181)])||stringFlag(_0x57d4ac['appcode']));}function assertEnvAppCodeNotIgnored(_0x201544,_0x393ceb,_0x2a563e){const _0x21c3a1=a280_0x1d44;if(!_0x393ceb||_0x2a563e||_0x201544===_0x393ceb[_0x21c3a1(0x191)])return;const _0x3bf021=_0x201544?_0x21c3a1(0x19d)+_0x201544+'\x22.':_0x21c3a1(0x1c3);throw CliErrors[_0x21c3a1(0x1b1)](_0x393ceb[_0x21c3a1(0x190)]+'='+_0x393ceb[_0x21c3a1(0x191)]+_0x21c3a1(0x196)+_0x3bf021+'\x20'+(_0x21c3a1(0x1b0)+_0x393ceb['name']+'\x22.'));}export function createPipelineEnv(_0x5a6f97,_0x133089,_0x5acc5c=[]){const _0x1d7085=a280_0x1d44;return{'rawFlags':_0x133089,'args':_0x5acc5c,'resolveAppCode':()=>_0x5a6f97[_0x1d7085(0x17b)],'resolveCookie':()=>_0x5a6f97['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a280_0x570a29(_0x133089),'defaultFormat':_0x5a6f97[_0x1d7085(0x1be)],'defaultPageSize':_0x5a6f97[_0x1d7085(0x1a5)],'defaultVerbose':_0x5a6f97['verbose'],'apiDir':_0x5a6f97[_0x1d7085(0x1c1)],'riskLevel':_0x5a6f97[_0x1d7085(0x178)],'selectedAppName':_0x5a6f97[_0x1d7085(0x17f)],'mergedCli':{'defaultApp':_0x5a6f97['defaultApp'],'currentApp':_0x5a6f97['currentApp'],'appCode':_0x5a6f97[_0x1d7085(0x17b)],'apps':_0x5a6f97[_0x1d7085(0x1af)]}};}export function createRabetbaseRunnerAdapter(_0x20f876={}){const _0x3251a0=a280_0x1d44;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x3251a0(0x1bd)](_0x347337=>PIPELINE_FLAG_NAMES[_0x3251a0(0x1aa)](_0x347337[_0x3251a0(0x190)]))[_0x3251a0(0x193)](({name:_0x8afd91,type:_0x57dbcf,description:_0x18b46d})=>({'name':_0x8afd91,'type':_0x57dbcf,'description':_0x18b46d})),'formatOutput':_0x20f876[_0x3251a0(0x1a8)]??formatOutput,'getCommandLabel'(_0x5039be){const _0x35d338=_0x3251a0;return CLI_BIN_NAME+'\x20'+_0x5039be[_0x35d338(0x1ac)]+'\x20'+_0x5039be['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x15f661,{def:_0x2cc99a}){const _0x56d601=_0x3251a0,_0x16f8f9=_0x15f661[_0x56d601(0x1b8)](_0x56d601(0x197))?_0x56d601(0x1c2):'A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22'+_0x2cc99a[_0x56d601(0x1bb)]+_0x56d601(0x18d)+'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.';return CliErrors[_0x56d601(0x1b1)](_0x15f661+_0x56d601(0x1a4)+_0x16f8f9);}},async 'prepare'(_0x53943e,_0x545672,_0x43b83f,_0x447ee8){const _0x1cfee2=_0x3251a0,_0x43de66=_0x545672['apiDir']||DEFAULT_API_DIR;resolveAliasToCode(_0x53943e,_0x43b83f,_0x43de66,_0x447ee8);const _0x3ed6d2=resolveCommandAuthMode(_0x53943e);let _0x5479f3='';if(_0x3ed6d2!=='none'){_0x5479f3=_0x545672[_0x1cfee2(0x1c4)]()||'';if(!_0x5479f3){if(_0x3ed6d2==='required')throw CliErrors[_0x1cfee2(0x195)]();}else{const {setActiveCookie:_0x33fcac}=await import(_0x1cfee2(0x19e));_0x33fcac(_0x5479f3);}}const _0x3edcd9=_0x545672[_0x1cfee2(0x1a1)]()??'';if(_0x53943e[_0x1cfee2(0x182)]!==![]){const _0x209389=hasExplicitAppCode(_0x43b83f,_0x545672['rawFlags']),_0x139e2=_0x545672[_0x1cfee2(0x1ae)]?.['apps']??{},_0x248a50=_0x545672[_0x1cfee2(0x17a)]||_0x545672[_0x1cfee2(0x1ae)]?.[_0x1cfee2(0x176)]||_0x545672[_0x1cfee2(0x1ae)]?.[_0x1cfee2(0x1c5)];if(!_0x209389&&_0x248a50&&!_0x139e2[_0x248a50]){const _0x23b9a4=Object[_0x1cfee2(0x18c)](_0x139e2);throw CliErrors[_0x1cfee2(0x1b1)]('App\x20\x22'+_0x248a50+_0x1cfee2(0x19b),_0x23b9a4[_0x1cfee2(0x1b4)]>0x0?'Available:\x20'+_0x23b9a4[_0x1cfee2(0x1a7)](',\x20')+_0x1cfee2(0x183)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.':_0x1cfee2(0x19c)+CLI_BIN_NAME+_0x1cfee2(0x174));}assertEnvAppCodeNotIgnored(_0x3edcd9,resolveEnvAppCode(),_0x209389);if(!_0x3edcd9){const _0x1e8277=Object['keys'](_0x139e2);if(!_0x248a50&&_0x1e8277[_0x1cfee2(0x1b4)]>0x1)throw CliErrors[_0x1cfee2(0x170)](_0x1cfee2(0x1b2)+CLI_BIN_NAME+_0x1cfee2(0x192)+_0x1e8277[_0x1cfee2(0x1a7)](',\x20')+'.');throw CliErrors[_0x1cfee2(0x170)](_0x1cfee2(0x19a)+CLI_BIN_NAME+_0x1cfee2(0x16f));}}return{'defaults':{'booleans':{'verbose':_0x545672[_0x1cfee2(0x199)]},'numbers':{'pagesize':_0x545672[_0x1cfee2(0x171)]}},'extras':{'appCode':_0x3edcd9,'cookie':_0x5479f3,'apiDomain':_0x545672[_0x1cfee2(0x1a2)](),'apiDir':_0x43de66,'selectedAppName':_0x545672[_0x1cfee2(0x17a)],'mergedCli':_0x545672[_0x1cfee2(0x1ae)]}};},'confirmHighRisk':_0x20f876[_0x3251a0(0x198)]??(async({env:_0x257dd9,commandLabel:_0x4b4565})=>{const _0x57695d=_0x3251a0;if(_0x257dd9[_0x57695d(0x17d)])throw CliErrors[_0x57695d(0x1b1)](_0x57695d(0x1ba)+_0x4b4565+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0x57695d(0x188)+_0x4b4565,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x5684f2=>CliErrors[_0x57695d(0x1ad)](_0x5684f2)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x44549c=a280_0x1d44,{clearActiveCookie:_0x53abf5}=await import(_0x44549c(0x19e));_0x53abf5();}export async function finalizeRabetbaseRuntimeState(){const _0x7436fd=a280_0x1d44;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x27a690},{initEnv:_0x7e428c}]=await Promise[_0x7436fd(0x17c)]([import(_0x7436fd(0x18f)),import(_0x7436fd(0x189))]);_0x27a690(),_0x7e428c(_0x7436fd(0x1c0));}}export async function runCommand(_0x5314f7,_0x5bc813,_0x4382e2=terminalRunnerAdapter){const _0x15e43b=a280_0x1d44;assertRejectedFlags(_0x5314f7,_0x5bc813[_0x15e43b(0x185)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x5314f7)?withUpdateNotice(_0x5314f7):_0x5314f7,_0x5bc813,_0x4382e2);}function assertRejectedFlags(_0x11f93d,_0x2fe892){const _0x42c01c=a280_0x1d44;for(const _0x57e04c of _0x11f93d['rejectedFlags']??[]){const _0x3f8d37=GLOBAL_FLAGS[_0x42c01c(0x1b9)](_0x482fc8=>_0x482fc8[_0x42c01c(0x190)]===_0x57e04c[_0x42c01c(0x190)]),_0x123ffb=new Set([_0x57e04c[_0x42c01c(0x190)],toCamelCase(_0x57e04c[_0x42c01c(0x190)]),_0x3f8d37?.[_0x42c01c(0x173)]]),_0x187111=[..._0x123ffb][_0x42c01c(0x1b5)](_0x53ee34=>{if(!_0x53ee34)return![];const _0x3c9871=_0x2fe892[_0x53ee34];return _0x3c9871!==undefined&&_0x3c9871!==null&&_0x3c9871!==![];});if(_0x187111)throw CliErrors[_0x42c01c(0x1b1)](_0x57e04c[_0x42c01c(0x1a6)],_0x57e04c[_0x42c01c(0x18a)]);}}function toCamelCase(_0x184be5){const _0x2b87ca=a280_0x1d44;return _0x184be5[_0x2b87ca(0x1a0)](/-([a-z])/g,(_0x289108,_0x1afc2c)=>_0x1afc2c[_0x2b87ca(0x186)]());}function a280_0x5798(){const _0x258554=['To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','validation','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','2feRhcr','length','some','hasFormat','catch','includes','find','High-risk\x20operation\x20`','risk','1703052WZyFfG','filter','format','334565vjxLtz','production','apiDir','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','resolveCookie','defaultApp','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','configMissing','defaultPageSize','trim','meowKey','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','114808ndqtRY','currentApp','LOVRABET_APPCODE','riskLevel','object','selectedAppName','appCode','all','isNonInteractive','schema','explicitAppName','1915856SlKwYW','appcode','requiresAppCode','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','1720530HTCZhO','rawFlags','toUpperCase','11156HJpsCy','⚠\x20\x20High-risk\x20operation:\x20','../constant/env.js','hint','90EHDzlg','keys','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','string','../constant/domain.js','name','value','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','map','1746318cwmyWk','authRequired','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','Edit\x20the\x20config\x20file\x20manually','confirmHighRisk','defaultVerbose','Set\x20appcode\x20via\x20`','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','Current\x20resolved\x20appcode\x20is\x20\x22','../core/api-client.js','doctor','replace','resolveAppCode','resolveApiDomain','63XFxEsr','\x0a\x20\x20','pageSize','message','join','formatOutput','resolve','has','_notice','service','cancelled','mergedCli','apps'];a280_0x5798=function(){return _0x258554;};return a280_0x5798();}function shouldAttachUpdateNotice(_0x277161){const _0x58902f=a280_0x1d44;if(_0x277161[_0x58902f(0x1b6)]===![])return![];return!['update',_0x58902f(0x17e),_0x58902f(0x19f)]['includes'](_0x277161[_0x58902f(0x1ac)]);}function withUpdateNotice(_0x30afdc){return{..._0x30afdc,async 'execute'(_0xceb5a4){const _0x10c620=a280_0x1d44,_0x3478bb=shouldResolveUpdateNotice(_0xceb5a4)?resolveLatestUpdateNotice()[_0x10c620(0x1b7)](()=>null):Promise[_0x10c620(0x1a9)](null),_0x46a382=await _0x30afdc['execute'](_0xceb5a4);return attachUpdateNotice(_0x46a382,await _0x3478bb);}};}function shouldResolveUpdateNotice(_0x30deab){const _0x323b40=a280_0x1d44;return _0x30deab[_0x323b40(0x1be)]==='pretty'&&!_0x30deab['nonInteractive'];}function attachUpdateNotice(_0x15514e,_0x512c60){const _0x71f65=a280_0x1d44;if(!_0x512c60||!_0x15514e||typeof _0x15514e!==_0x71f65(0x179))return _0x15514e;const _0x10a98e=_0x15514e,_0x16d848=typeof _0x10a98e['_notice']===_0x71f65(0x179)&&_0x10a98e[_0x71f65(0x1ab)]!==null?_0x10a98e[_0x71f65(0x1ab)]:{};return{..._0x10a98e,'_notice':{..._0x16d848,'update':_0x512c60}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a281_0x187c(_0x41df3c,_0x209c11){_0x41df3c=_0x41df3c-0x7a;const _0x15e86d=a281_0x15e8();let _0x187cf5=_0x15e86d[_0x41df3c];return _0x187cf5;}(function(_0x403d67,_0x3e27b0){const _0x4f6afe=a281_0x187c,_0x6a2277=_0x403d67();while(!![]){try{const _0x9b2994=parseInt(_0x4f6afe(0x7e))/0x1*(parseInt(_0x4f6afe(0x7c))/0x2)+-parseInt(_0x4f6afe(0x81))/0x3*(parseInt(_0x4f6afe(0x84))/0x4)+parseInt(_0x4f6afe(0x7f))/0x5+parseInt(_0x4f6afe(0x7d))/0x6*(parseInt(_0x4f6afe(0x7b))/0x7)+-parseInt(_0x4f6afe(0x83))/0x8*(-parseInt(_0x4f6afe(0x7a))/0x9)+parseInt(_0x4f6afe(0x82))/0xa*(parseInt(_0x4f6afe(0x85))/0xb)+-parseInt(_0x4f6afe(0x86))/0xc;if(_0x9b2994===_0x3e27b0)break;else _0x6a2277['push'](_0x6a2277['shift']());}catch(_0x50915e){_0x6a2277['push'](_0x6a2277['shift']());}}}(a281_0x15e8,0x4fc76));import{buildSchemaPayload as a281_0x21dadf}from'@lovrabet/cli-framework';function a281_0x15e8(){const _0x4d895f=['125696cYiqSr','136PlauBI','22QuCczN','9815604eRvaxT','99eqgHiG','2735159vEUqXT','940778ryreoD','6yvoxaa','1hIdihK','631345tRRbZg','../commands/registry.js','46806AmtdOo','2574910zyubvE'];a281_0x15e8=function(){return _0x4d895f;};return a281_0x15e8();}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 _0x84019d=a281_0x187c,{serviceRegistry:_0x4986ea,findDefinition:_0x27d3ed}=await import(_0x84019d(0x80));return a281_0x21dadf({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x4986ea,'buildAllFlags':buildAllFlags,'findDefinition':_0x27d3ed});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3717a5,_0x13cd9c){const _0x555f4c=a282_0x2869,_0x560774=_0x3717a5();while(!![]){try{const _0x2e52e4=parseInt(_0x555f4c(0x189))/0x1+-parseInt(_0x555f4c(0x17f))/0x2+parseInt(_0x555f4c(0x17e))/0x3*(-parseInt(_0x555f4c(0x17c))/0x4)+-parseInt(_0x555f4c(0x177))/0x5+-parseInt(_0x555f4c(0x17a))/0x6*(parseInt(_0x555f4c(0x175))/0x7)+-parseInt(_0x555f4c(0x188))/0x8*(parseInt(_0x555f4c(0x179))/0x9)+parseInt(_0x555f4c(0x178))/0xa*(parseInt(_0x555f4c(0x180))/0xb);if(_0x2e52e4===_0x13cd9c)break;else _0x560774['push'](_0x560774['shift']());}catch(_0x3dff9c){_0x560774['push'](_0x560774['shift']());}}}(a282_0x5164,0xbc9e0));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x4681b6,_0xcd76d9){const _0x5d3a70=a282_0x2869;if(!_0x4681b6[_0x5d3a70(0x17b)])return;const _0x5b66a0=new Set([_0x5d3a70(0x176),_0x5d3a70(0x174)]),_0x2ce165=GLOBAL_FLAGS['filter'](_0x1a824e=>PIPELINE_FLAG_NAMES[_0x5d3a70(0x18e)](_0x1a824e[_0x5d3a70(0x185)]));for(const _0x498d3b of[..._0x4681b6[_0x5d3a70(0x183)],..._0x2ce165]){addFlagCandidates(_0x5b66a0,_0x498d3b);}for(const [_0x3f2313,_0x3ff18c]of Object[_0x5d3a70(0x181)](_0xcd76d9)){if(!isExplicitValue(_0x3ff18c)||_0x5b66a0[_0x5d3a70(0x18e)](_0x3f2313))continue;const _0x509350=GLOBAL_FLAGS['find'](_0x45f15b=>_0x45f15b[_0x5d3a70(0x182)]===_0x3f2313)?.[_0x5d3a70(0x185)]??toKebabCase(_0x3f2313);throw CliErrors[_0x5d3a70(0x184)]('Unsupported\x20flag\x20--'+_0x509350+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x4681b6[_0x5d3a70(0x17d)]+'\x20'+_0x4681b6[_0x5d3a70(0x186)]+'`.','Run\x20`'+CLI_BIN_NAME+'\x20'+_0x4681b6[_0x5d3a70(0x17d)]+'\x20'+_0x4681b6[_0x5d3a70(0x186)]+'\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.');}}function a282_0x5164(){const _0x2f50b0=['4151YctCkm','help','732240DmUefm','3444410pMWNKn','56052sFPiJd','13326Ciewnu','strictFlags','5888244GbyvrV','service','3SANGSW','719366KKjkJw','143bLjbNt','entries','meowKey','flags','validation','name','command','alias','712hzbPdU','144380OaBdMR','isArray','toLowerCase','add','replace','has','$1-$2','version'];a282_0x5164=function(){return _0x2f50b0;};return a282_0x5164();}function addFlagCandidates(_0x4bd4c4,_0x1331cb){const _0x2990cf=a282_0x2869,_0x598282='meowKey'in _0x1331cb?[_0x1331cb[_0x2990cf(0x185)],_0x1331cb['meowKey']]:[_0x1331cb[_0x2990cf(0x185)],_0x1331cb[_0x2990cf(0x187)]];for(const _0x19c7dc of _0x598282){if(!_0x19c7dc)continue;_0x4bd4c4['add'](_0x19c7dc),_0x4bd4c4[_0x2990cf(0x18c)](toCamelCase(_0x19c7dc));}}function isExplicitValue(_0x34c58d){const _0x792ceb=a282_0x2869;return _0x34c58d!==undefined&&_0x34c58d!==null&&_0x34c58d!==![]&&(!Array[_0x792ceb(0x18a)](_0x34c58d)||_0x34c58d['length']>0x0);}function a282_0x2869(_0x5abece,_0x569c0c){_0x5abece=_0x5abece-0x173;const _0x516418=a282_0x5164();let _0x286965=_0x516418[_0x5abece];return _0x286965;}function toCamelCase(_0x11eb33){const _0x1cfce3=a282_0x2869;return _0x11eb33[_0x1cfce3(0x18d)](/-([a-z])/g,(_0x46345a,_0x1c9df3)=>_0x1c9df3['toUpperCase']());}function toKebabCase(_0x302f2d){const _0x4e4832=a282_0x2869;return _0x302f2d[_0x4e4832(0x18d)](/([a-z0-9])([A-Z])/g,_0x4e4832(0x173))[_0x4e4832(0x18b)]();}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1a39d5,_0x3cfbc7){var _0x2ee60f=a283_0x55f0,_0x3155ce=_0x1a39d5();while(!![]){try{var _0x59244d=-parseInt(_0x2ee60f(0x11a))/0x1*(-parseInt(_0x2ee60f(0x11d))/0x2)+-parseInt(_0x2ee60f(0x11b))/0x3+-parseInt(_0x2ee60f(0x11f))/0x4+-parseInt(_0x2ee60f(0x121))/0x5*(-parseInt(_0x2ee60f(0x11e))/0x6)+parseInt(_0x2ee60f(0x120))/0x7+parseInt(_0x2ee60f(0x11c))/0x8+-parseInt(_0x2ee60f(0x119))/0x9;if(_0x59244d===_0x3cfbc7)break;else _0x3155ce['push'](_0x3155ce['shift']());}catch(_0x38199c){_0x3155ce['push'](_0x3155ce['shift']());}}}(a283_0xd90b,0x31149));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a283_0x55f0(_0x44fd41,_0x509967){_0x44fd41=_0x44fd41-0x119;var _0xd90b49=a283_0xd90b();var _0x55f0df=_0xd90b49[_0x44fd41];return _0x55f0df;}function a283_0xd90b(){var _0x5604e3=['1055096ohHiTo','170FmxXJk','1046340zRbPCh','33691pkzOmG','407472sThjTi','1151968zHKfNO','2MkRWFY','28626eNLHaQ','150048FrTAzh'];a283_0xd90b=function(){return _0x5604e3;};return a283_0xd90b();}
|
|
@@ -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.2";
|
|
2
|
+
export declare const GIT_TAG = "v2.5.2-beta.2";
|
|
3
|
+
export declare const GIT_COMMIT = "1d36aa1c";
|
|
4
|
+
export declare const BUILD_TIME = "2026-09-01T12:10:29.812Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a284_0x515ded=a284_0x4fb3;(function(_0x2be900,_0x295eaa){const _0x25a7c0=a284_0x4fb3,_0x20cac4=_0x2be900();while(!![]){try{const _0x26cdb0=parseInt(_0x25a7c0(0x182))/0x1+parseInt(_0x25a7c0(0x17d))/0x2*(parseInt(_0x25a7c0(0x17f))/0x3)+-parseInt(_0x25a7c0(0x184))/0x4*(parseInt(_0x25a7c0(0x181))/0x5)+-parseInt(_0x25a7c0(0x17e))/0x6+-parseInt(_0x25a7c0(0x17a))/0x7+-parseInt(_0x25a7c0(0x178))/0x8+parseInt(_0x25a7c0(0x17c))/0x9;if(_0x26cdb0===_0x295eaa)break;else _0x20cac4['push'](_0x20cac4['shift']());}catch(_0x1a4769){_0x20cac4['push'](_0x20cac4['shift']());}}}(a284_0x4c24,0x93666));function a284_0x4c24(){const _0x512eb4=['155814gLHuNj','7710XkGWtl','v2.5.2-beta.2','5wVulqo','1127991seSZBk','1d36aa1c','4809100TCqjnK','8682496NozEiA','2.5.2-beta.2','2205259WnxNmv','2026-09-01T12:10:29.812Z','15076458rZIXis','334EyrbxN'];a284_0x4c24=function(){return _0x512eb4;};return a284_0x4c24();}export const VERSION=a284_0x515ded(0x179);export const GIT_TAG=a284_0x515ded(0x180);export const GIT_COMMIT=a284_0x515ded(0x183);function a284_0x4fb3(_0x45b2f9,_0x227b3b){_0x45b2f9=_0x45b2f9-0x178;const _0x4c24f3=a284_0x4c24();let _0x4fb33f=_0x4c24f3[_0x45b2f9];return _0x4fb33f;}export const BUILD_TIME=a284_0x515ded(0x17b);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a285_0x31d2(_0x305239,_0x248996){_0x305239=_0x305239-0x156;const _0x582af6=a285_0x582a();let _0x31d209=_0x582af6[_0x305239];return _0x31d209;}function a285_0x582a(){const _0x2ffad4=['https://skills.lovrabet.com','https://g.alicdn.com/code/lib','7TDRXnQ','china','264198slqRAw','https://user.lovrabet.ai','https://api.lovrabet.id','https://runtime.lovrabet.id','https://dev.lovrabet.com','https://app.lovrabet.com','https://user-daily.lovrabet.com','ad100799ce7bf5b9cb94d2b350b42d3b42aa5956faea0e371c7bd8abc2b8c75b','https://app.lovrabet.id','1089130ubNoBC','https://skills-daily.lovrabet.com','https://runtime.lovrabet.ai','https://g.lovrabet.com','https://runtime.lovrabet.com','https://dev.lovrabet.id','https://daily-runtime.lovrabet.com','https://api.lovrabet.ai','Mainland\x20China','https://g.lovrabet.id','7353lqdRhb','https://app.lovrabet.ai','https://user.lovrabet.id','5147544XmhxuW','7BltMqn','https://user.lovrabet.com','255693SNtWFD','12oKXNuY','https://api.lovrabet.com','https://daily-api.lovrabet.com','14973497OeqfRf','https://daily.lovrabet.com','Global','indonesia','4381134ovfasU','global','9860WBkFYK','https://skills.lovrabet.id'];a285_0x582a=function(){return _0x2ffad4;};return a285_0x582a();}const a285_0x3022a1=a285_0x31d2;(function(_0x43ffa2,_0x23e0aa){const _0x4141e6=a285_0x31d2,_0x94803f=_0x43ffa2();while(!![]){try{const _0x1983e4=-parseInt(_0x4141e6(0x156))/0x1*(-parseInt(_0x4141e6(0x158))/0x2)+parseInt(_0x4141e6(0x171))/0x3*(parseInt(_0x4141e6(0x172))/0x4)+parseInt(_0x4141e6(0x161))/0x5+-parseInt(_0x4141e6(0x179))/0x6+parseInt(_0x4141e6(0x16f))/0x7*(-parseInt(_0x4141e6(0x16e))/0x8)+parseInt(_0x4141e6(0x16b))/0x9*(-parseInt(_0x4141e6(0x17b))/0xa)+parseInt(_0x4141e6(0x175))/0xb;if(_0x1983e4===_0x23e0aa)break;else _0x94803f['push'](_0x94803f['shift']());}catch(_0x67c4fa){_0x94803f['push'](_0x94803f['shift']());}}}(a285_0x582a,0x8da95));export const ROUTING_CATALOG_DIGEST=a285_0x3022a1(0x15f);export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a285_0x3022a1(0x17a)];export const ENABLED_REGION_VALUES=['cn','id'];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a285_0x3022a1(0x169),'aliases':[a285_0x3022a1(0x157)],'serviceDomains':{'production':{'user':a285_0x3022a1(0x170),'api':a285_0x3022a1(0x173),'runtime':a285_0x3022a1(0x165),'skill':a285_0x3022a1(0x17d),'kb':'https://api.lovrabet.com','app':a285_0x3022a1(0x15d)},'daily':{'user':a285_0x3022a1(0x15e),'api':a285_0x3022a1(0x174),'runtime':a285_0x3022a1(0x167),'skill':a285_0x3022a1(0x162),'kb':a285_0x3022a1(0x174),'app':a285_0x3022a1(0x176)}},'cdn':{'libraries':a285_0x3022a1(0x17e),'lovrabet':a285_0x3022a1(0x164)},'local':{'origin':a285_0x3022a1(0x15c)}},'id':{'enabled':!![],'label':'Indonesia','aliases':[a285_0x3022a1(0x178)],'serviceDomains':{'production':{'user':a285_0x3022a1(0x16d),'api':a285_0x3022a1(0x15a),'runtime':a285_0x3022a1(0x15b),'skill':a285_0x3022a1(0x17c),'kb':a285_0x3022a1(0x15a),'app':a285_0x3022a1(0x160)}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs','lovrabet':a285_0x3022a1(0x16a)},'local':{'origin':a285_0x3022a1(0x166)}},'global':{'enabled':![],'label':a285_0x3022a1(0x177),'aliases':[],'serviceDomains':{'production':{'user':a285_0x3022a1(0x159),'api':a285_0x3022a1(0x168),'runtime':a285_0x3022a1(0x163),'skill':'https://skills.lovrabet.ai','kb':a285_0x3022a1(0x168),'app':a285_0x3022a1(0x16c)}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs'},'local':{'origin':'https://dev.lovrabet.ai'}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a286_0x56b477=a286_0x5f2b;(function(_0x453b6e,_0x17af53){const _0x33544f=a286_0x5f2b,_0x1064d4=_0x453b6e();while(!![]){try{const _0x3108c4=parseInt(_0x33544f(0x1af))/0x1*(-parseInt(_0x33544f(0x1b8))/0x2)+parseInt(_0x33544f(0x1a9))/0x3+parseInt(_0x33544f(0x1b0))/0x4*(-parseInt(_0x33544f(0x1a4))/0x5)+parseInt(_0x33544f(0x1a1))/0x6+parseInt(_0x33544f(0x1ba))/0x7+-parseInt(_0x33544f(0x1b6))/0x8*(-parseInt(_0x33544f(0x1a2))/0x9)+parseInt(_0x33544f(0x1b4))/0xa;if(_0x3108c4===_0x17af53)break;else _0x1064d4['push'](_0x1064d4['shift']());}catch(_0x343343){_0x1064d4['push'](_0x1064d4['shift']());}}}(a286_0x969b,0x18e14));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a286_0x56b477(0x1aa);export const ENTERPRISE_ROUTING_PROTOCOL=a286_0x56b477(0x1a7);export const ENTERPRISE_ROUTING_KIND=a286_0x56b477(0x1ae);export const ENTERPRISE_ROUTING_TOP_LEVEL_FIELDS=['protocol',a286_0x56b477(0x1b7),a286_0x56b477(0x1b9),a286_0x56b477(0x1b1)];export const ENTERPRISE_ROUTING_CONSUMERS=['rabetbase-cli','lovrabet-cli','lovrabet-node-sdk'];function a286_0x5f2b(_0x5d0510,_0x210fc1){_0x5d0510=_0x5d0510-0x1a1;const _0x969b07=a286_0x969b();let _0x5f2b6a=_0x969b07[_0x5d0510];return _0x5f2b6a;}export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a286_0x56b477(0x1ab),a286_0x56b477(0x1a5),a286_0x56b477(0x1a3),a286_0x56b477(0x1ac),'kbDomain',a286_0x56b477(0x1b5),a286_0x56b477(0x1ad),a286_0x56b477(0x1a6)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a286_0x56b477(0x1ab),a286_0x56b477(0x1a5),a286_0x56b477(0x1a3),a286_0x56b477(0x1ac),a286_0x56b477(0x1a8),a286_0x56b477(0x1b5)];function a286_0x969b(){const _0x18cb93=['localDomain','enterprise','8285uaHHdD','4NxevpF','cdn','libraries','lovrabet','1527490vTgYmP','appDomain','80nxCjNS','kind','28oRsGmi','domains','249760PIfDyf','1854yjIFiA','129006lppnIv','runtimeDomain','852905YAwYAB','apiDomain','certificateDomain','lovrabet-routing/v1','kbDomain','169203qVwwbg','0bc465ada0b5c1621a0dfd5441b91b5d7c69d95ef7417f07cc7afd3548593d8a','userDomain','skillDomain'];a286_0x969b=function(){return _0x18cb93;};return a286_0x969b();}export const ENTERPRISE_ROUTING_CDN_FIELDS=[a286_0x56b477(0x1b2),a286_0x56b477(0x1b3)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=[a286_0x56b477(0x1b2),'lovrabet'];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a287_0x40cd(_0x4c69fd,_0x2efbba){_0x4c69fd=_0x4c69fd-0x1a9;var _0x187d0a=a287_0x187d();var _0x40cd65=_0x187d0a[_0x4c69fd];return _0x40cd65;}(function(_0xe04478,_0x23e3b7){var _0x4b9053=a287_0x40cd,_0x3c461f=_0xe04478();while(!![]){try{var _0x50199=-parseInt(_0x4b9053(0x1b2))/0x1+-parseInt(_0x4b9053(0x1b4))/0x2*(-parseInt(_0x4b9053(0x1ab))/0x3)+-parseInt(_0x4b9053(0x1aa))/0x4*(-parseInt(_0x4b9053(0x1af))/0x5)+parseInt(_0x4b9053(0x1b1))/0x6*(-parseInt(_0x4b9053(0x1b3))/0x7)+-parseInt(_0x4b9053(0x1b6))/0x8+parseInt(_0x4b9053(0x1ac))/0x9+-parseInt(_0x4b9053(0x1b0))/0xa;if(_0x50199===_0x23e3b7)break;else _0x3c461f['push'](_0x3c461f['shift']());}catch(_0x41d4c2){_0x3c461f['push'](_0x3c461f['shift']());}}}(a287_0x187d,0x5a741));import a287_0x53e9f0 from'chalk';function a287_0x187d(){var _0xf9b1f5=['2180952jtcSkV','\x20\x20Use\x20','green','1238455XQUwwL','336860shtDdk','6qWaUvS','231701TrDLwq','796341EBKyet','2sPOPBk','\x20to\x20view\x20available\x20commands.','1238864RWVLHH','log','bold','4nZHmPP','1243458oJuIXc'];a287_0x187d=function(){return _0xf9b1f5;};return a287_0x187d();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0xd8ea08=a287_0x40cd;console[_0xd8ea08(0x1b7)](),console[_0xd8ea08(0x1b7)](a287_0x53e9f0[_0xd8ea08(0x1ae)][_0xd8ea08(0x1a9)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0xd8ea08(0x1b7)](),console[_0xd8ea08(0x1b7)](_0xd8ea08(0x1ad)+a287_0x53e9f0['green'][_0xd8ea08(0x1a9)](CLI_BIN_NAME+'\x20--help')+_0xd8ea08(0x1b5)),console[_0xd8ea08(0x1b7)]();}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x45babd,_0x5d7526){const _0x9c732b=a288_0x37cb,_0x569f9c=_0x45babd();while(!![]){try{const _0x5c4f80=parseInt(_0x9c732b(0x199))/0x1+-parseInt(_0x9c732b(0x19f))/0x2*(parseInt(_0x9c732b(0x198))/0x3)+-parseInt(_0x9c732b(0x19e))/0x4+-parseInt(_0x9c732b(0x195))/0x5+parseInt(_0x9c732b(0x1aa))/0x6+parseInt(_0x9c732b(0x1ab))/0x7+parseInt(_0x9c732b(0x19d))/0x8;if(_0x5c4f80===_0x5d7526)break;else _0x569f9c['push'](_0x569f9c['shift']());}catch(_0xa3ea2e){_0x569f9c['push'](_0x569f9c['shift']());}}}(a288_0xa764,0x8606a));function a288_0x37cb(_0x263417,_0x2d46cf){_0x263417=_0x263417-0x195;const _0xa7649=a288_0xa764();let _0x37cbc0=_0xa7649[_0x263417];return _0x37cbc0;}import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x134f7a={}){const _0x57d984=a288_0x37cb,_0x37a8f4=installBuiltinSkill(_0x134f7a);if(_0x37a8f4['ok']){const _0x453e3a=_0x37a8f4[_0x57d984(0x1a1)]?_0x57d984(0x1a3):_0x57d984(0x19b),_0x5871f1=_0x37a8f4[_0x57d984(0x196)]?_0x57d984(0x1a8)+_0x37a8f4[_0x57d984(0x196)]:_0x57d984(0x1a5);return console[_0x57d984(0x1a4)](_0x57d984(0x197)+_0x37a8f4[_0x57d984(0x1a9)]+'\x20'+_0x453e3a+_0x5871f1),_0x37a8f4;}const _0x282ba9=_0x57d984(0x1ac)+(_0x37a8f4[_0x57d984(0x1a6)]??_0x57d984(0x1ad))+']\x20'+(_0x37a8f4[_0x57d984(0x1a7)]??_0x57d984(0x19a))+'.\x20'+(_0x57d984(0x19c)+_0x37a8f4['repairCommand']);if(_0x37a8f4[_0x57d984(0x1a6)]===_0x57d984(0x1a2))throw new Error(_0x282ba9);return console[_0x57d984(0x1a0)](_0x282ba9),_0x37a8f4;}function a288_0xa764(){const _0x269854=['Installation\x20failed','already\x20current','Repair\x20with:\x20','8868872lCFWUB','1752472Gfzxbt','2cMkSXW','warn','changed','SOURCE_INVALID','installed','log','\x20via\x20skills@latest','code','error','\x20at\x20','skillVersion','3603924hNunst','6638961zYSSMS','[BUILTIN_SKILL_INSTALL_','FAILED','3881385aYdpib','installedPath','Rabetbase\x20Built-in\x20Skill\x20','2778039swzwIi','31692rlbsej'];a288_0xa764=function(){return _0x269854;};return a288_0xa764();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5243c6,_0x53139d){const _0x21b6be=a289_0x5d39,_0x3896b9=_0x5243c6();while(!![]){try{const _0x4b5404=parseInt(_0x21b6be(0x19b))/0x1+-parseInt(_0x21b6be(0x1a7))/0x2+-parseInt(_0x21b6be(0x197))/0x3+parseInt(_0x21b6be(0x196))/0x4+parseInt(_0x21b6be(0x195))/0x5*(-parseInt(_0x21b6be(0x1a3))/0x6)+parseInt(_0x21b6be(0x1a6))/0x7+parseInt(_0x21b6be(0x19c))/0x8;if(_0x4b5404===_0x53139d)break;else _0x3896b9['push'](_0x3896b9['shift']());}catch(_0x3d7064){_0x3896b9['push'](_0x3896b9['shift']());}}}(a289_0x572f,0xf2e7c));const DESCRIPTION_MAX_LENGTH=0x1f4;function a289_0x5d39(_0x50ce4c,_0x17e1c3){_0x50ce4c=_0x50ce4c-0x195;const _0x572f19=a289_0x572f();let _0x5d391f=_0x572f19[_0x50ce4c];return _0x5d391f;}export function buildRabetbaseConfirmationRequest(_0x1e3be7,_0xc0de6,_0x3d24cb){const _0x3ffae9=a289_0x5d39,_0x3ac4c8=normalizeText(_0x1e3be7[_0x3ffae9(0x1a4)],DESCRIPTION_MAX_LENGTH),_0x114101=_0x3ac4c8||normalizeText(defaultDescription(requireWriteRisk(_0x1e3be7),_0xc0de6),DESCRIPTION_MAX_LENGTH);return{'operation':_0xc0de6,'risk':requireWriteRisk(_0x1e3be7),'description':_0x114101,..._0x3d24cb?{'signal':_0x3d24cb}:{}};}function requireWriteRisk(_0x5390e4){const _0x5a450f=a289_0x5d39;if(_0x5390e4[_0x5a450f(0x19a)]==='write'||_0x5390e4[_0x5a450f(0x19a)]===_0x5a450f(0x1a0))return _0x5390e4[_0x5a450f(0x19a)];throw new Error(_0x5a450f(0x1a1));}function defaultDescription(_0x436415,_0xb74d6a){const _0x1100b7=a289_0x5d39;if(_0x436415===_0x1100b7(0x1a0))return _0x1100b7(0x199)+_0xb74d6a+_0x1100b7(0x19d);return _0x1100b7(0x19e)+_0xb74d6a+_0x1100b7(0x1a8);}function normalizeText(_0x35da2f,_0x2a07e7){const _0x19201e=a289_0x5d39;if(typeof _0x35da2f!==_0x19201e(0x19f))return'';return _0x35da2f[_0x19201e(0x1a2)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x19201e(0x1a2)](/\s+/g,'\x20')[_0x19201e(0x1a5)]()[_0x19201e(0x198)](0x0,_0x2a07e7);}function a289_0x572f(){const _0x52b385=['2048124jUTdGx','3191733UfePwQ','slice','This\x20will\x20run\x20the\x20high-risk\x20write\x20','risk','1395202cOPoeK','18962272RJDflg','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','This\x20will\x20run\x20the\x20write\x20','string','high-risk-write','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','replace','12MebQmP','confirmationDescription','trim','5470892xjWRUH','2096204uADLAO','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','4880300GkVzVF'];a289_0x572f=function(){return _0x52b385;};return a289_0x572f();}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a290_0xab4b(){var _0x195229=['8akSwPH','6327rEUlDs','write','10XrSYBH','8hmtdkO','filter','service','3192135XlEvtj','60JKpxcD','781CXPIrB','193020ujKfTi','8432557nBGHlN','risk','4904OAyPfU','rabetbase.write.completed','trim','3946212zBJKob','2308975TmOgys'];a290_0xab4b=function(){return _0x195229;};return a290_0xab4b();}(function(_0x4aac59,_0x46db1c){var _0x320e5c=a290_0x5033,_0x59988f=_0x4aac59();while(!![]){try{var _0x3d0150=parseInt(_0x320e5c(0xfd))/0x1*(parseInt(_0x320e5c(0xf8))/0x2)+-parseInt(_0x320e5c(0xf7))/0x3+-parseInt(_0x320e5c(0x102))/0x4*(-parseInt(_0x320e5c(0x101))/0x5)+parseInt(_0x320e5c(0x100))/0x6+-parseInt(_0x320e5c(0xfb))/0x7*(parseInt(_0x320e5c(0x106))/0x8)+parseInt(_0x320e5c(0x103))/0x9*(parseInt(_0x320e5c(0x105))/0xa)+-parseInt(_0x320e5c(0xf9))/0xb*(-parseInt(_0x320e5c(0xfa))/0xc);if(_0x3d0150===_0x46db1c)break;else _0x59988f['push'](_0x59988f['shift']());}catch(_0x1072aa){_0x59988f['push'](_0x59988f['shift']());}}}(a290_0xab4b,0x93156));export function canonicalRabetbaseOperation(_0x244b47){var _0x349e11=a290_0x5033;return[_0x244b47[_0x349e11(0xf6)],..._0x244b47['command'][_0x349e11(0xff)]()['split'](/\s+/)][_0x349e11(0x107)](Boolean)['join']('.');}function a290_0x5033(_0x27e557,_0x766518){_0x27e557=_0x27e557-0xf6;var _0xab4b77=a290_0xab4b();var _0x50337f=_0xab4b77[_0x27e557];return _0x50337f;}export function createRabetbaseWriteMetadata(_0x26283e,_0x44a36c,_0x4febb0,_0xf57fc){var _0x502749=a290_0x5033;if(_0xf57fc||_0x4febb0['ok']!==!![]||_0x26283e['risk']!==_0x502749(0x104)&&_0x26283e[_0x502749(0xfc)]!=='high-risk-write')return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x502749(0xfe),'operation':_0x44a36c,'risk':_0x26283e[_0x502749(0xfc)]}}};}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4f6f03,_0x2cf8b1){const _0x51e72d=a291_0x45dc,_0x108c72=_0x4f6f03();while(!![]){try{const _0x48f0fa=parseInt(_0x51e72d(0x1f9))/0x1+-parseInt(_0x51e72d(0x1e0))/0x2+parseInt(_0x51e72d(0x202))/0x3+-parseInt(_0x51e72d(0x1f5))/0x4*(-parseInt(_0x51e72d(0x201))/0x5)+parseInt(_0x51e72d(0x1f2))/0x6+parseInt(_0x51e72d(0x1e5))/0x7*(parseInt(_0x51e72d(0x1f3))/0x8)+-parseInt(_0x51e72d(0x1f8))/0x9*(parseInt(_0x51e72d(0x1f4))/0xa);if(_0x48f0fa===_0x2cf8b1)break;else _0x108c72['push'](_0x108c72['shift']());}catch(_0x2f42f6){_0x108c72['push'](_0x108c72['shift']());}}}(a291_0x16f2,0xb840b));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';function a291_0x45dc(_0x3ab1c3,_0x35aa03){_0x3ab1c3=_0x3ab1c3-0x1e0;const _0x16f298=a291_0x16f2();let _0x45dc80=_0x16f298[_0x3ab1c3];return _0x45dc80;}import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x38b35b,command:_0x3757d9,risk:_0x5f4bf8,dryRun:_0x9b8568}){const _0x12022d=a291_0x45dc;return JSON[_0x12022d(0x1fb)]({'ok':_0x38b35b['ok'],'command':_0x3757d9,'risk':_0x5f4bf8,..._0x9b8568?{'dryRun':!![]}:{},..._0x38b35b[_0x12022d(0x204)]!==undefined?{'data':_0x38b35b[_0x12022d(0x204)]}:{},..._0x38b35b[_0x12022d(0x203)]?{'message':_0x38b35b['message']}:{}});}};export async function invokeRabetbase(_0x45a4e0,_0x43b170){const _0x8e07f2=a291_0x45dc;throwIfAborted(_0x43b170[_0x8e07f2(0x1ed)]);const _0x5e0eff=await resolveRabetbaseInvocation(_0x45a4e0),_0x3d31fd=canonicalRabetbaseOperation(_0x5e0eff[_0x8e07f2(0x1e4)]);return await confirmWriteBeforeQueue(_0x5e0eff['definition'],_0x5e0eff[_0x8e07f2(0x1ef)],_0x3d31fd,_0x43b170),runSerialized(async()=>{const _0x184afd=_0x8e07f2,_0x422fd5={};try{throwIfAborted(_0x43b170['signal']);const _0x50e68f=buildConfigFromFlags(_0x5e0eff[_0x184afd(0x1ef)]);!isRoutingRecoveryService(_0x5e0eff[_0x184afd(0x1e4)][_0x184afd(0x1f7)])&&await initGlobalEnvironment(_0x50e68f);const _0x56a563=createPipelineEnv(_0x50e68f,{..._0x5e0eff[_0x184afd(0x1ef)],'yes':_0x5e0eff[_0x184afd(0x1e4)][_0x184afd(0x1ea)]===_0x184afd(0x1e3)?!![]:_0x5e0eff[_0x184afd(0x1ef)][_0x184afd(0x1fc)],'nonInteractive':!![]},_0x5e0eff[_0x184afd(0x1eb)]);_0x56a563[_0x184afd(0x1e9)]=!![],_0x56a563[_0x184afd(0x1fa)]=_0x184afd(0x1e3);const _0x5eddb5=withAbortSignal(_0x5e0eff[_0x184afd(0x1e4)],_0x43b170[_0x184afd(0x1ed)]),_0x47d456=createRabetbaseRunnerAdapter({'formatOutput'(_0x59ba21,_0xe8bdf4){const _0x13dd65=_0x184afd;_0x422fd5[_0x13dd65(0x1ff)]=_0x59ba21,_0x422fd5[_0x13dd65(0x1fd)]=_0xe8bdf4[_0x13dd65(0x1fd)],_0x422fd5[_0x13dd65(0x1ea)]=_0xe8bdf4[_0x13dd65(0x1ea)],_0x422fd5['format']=_0xe8bdf4['format'],_0x422fd5[_0x13dd65(0x1f1)]=_0xe8bdf4[_0x13dd65(0x1f1)]===!![];},async 'confirmHighRisk'(){const _0xf6827=_0x184afd;throw new Error(_0xf6827(0x1e8));}});await runCommand(_0x5eddb5,_0x56a563,_0x47d456);if(!_0x422fd5[_0x184afd(0x1ff)]||!_0x422fd5['command']||!_0x422fd5['risk']||!_0x422fd5[_0x184afd(0x1ee)])throw new Error(_0x184afd(0x1ec));const _0x48ada7=_0x422fd5[_0x184afd(0x1f1)]===!![],_0x5647dc=_0x43b170['presentation']??defaultPresentation,_0xa76580={'result':_0x422fd5[_0x184afd(0x1ff)],'command':_0x422fd5[_0x184afd(0x1fd)],'operation':_0x3d31fd,'risk':_0x422fd5['risk'],'format':_0x422fd5[_0x184afd(0x1ee)],'dryRun':_0x48ada7},_0x3057e9=createRabetbaseWriteMetadata(_0x5e0eff[_0x184afd(0x1e4)],_0x3d31fd,_0x422fd5[_0x184afd(0x1ff)],_0x48ada7);let _0x458ea4;try{_0x458ea4=await _0x5647dc[_0x184afd(0x1f0)](_0xa76580);}catch(_0x4d34af){if(!_0x3057e9||_0x5647dc===defaultPresentation)throw _0x4d34af;_0x458ea4=await defaultPresentation[_0x184afd(0x1f0)](_0xa76580);}return{'operation':_0x3d31fd,'risk':_0x422fd5[_0x184afd(0x1ea)],'mode':_0x48ada7?_0x184afd(0x1f6):_0x184afd(0x1e6),'result':_0x422fd5[_0x184afd(0x1ff)],'output':_0x458ea4,..._0x3057e9?{'metadata':_0x3057e9}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x18e1a4,_0x5940e1,_0x2680f4,_0x4b4fb1){const _0x42137b=a291_0x45dc;if(_0x5940e1[_0x42137b(0x1f1)]===!![]||_0x18e1a4[_0x42137b(0x1ea)]!==_0x42137b(0x205)&&_0x18e1a4[_0x42137b(0x1ea)]!==_0x42137b(0x1e3))return;await _0x4b4fb1['confirmation'][_0x42137b(0x200)](buildRabetbaseConfirmationRequest(_0x18e1a4,_0x2680f4,_0x4b4fb1['signal']));}function a291_0x16f2(){const _0x2b46bb=['format','rawFlags','present','dryRun','4917024ITdLBD','13672cbYKuR','5087390axoAPc','4dXQRko','dry-run','service','18XKbQpw','76717CZwhLW','riskLevel','stringify','yes','command','reason','result','confirm','794615LEdecA','784347haIjMd','message','data','write','418434fGOfrY','Rabetbase\x20invocation\x20aborted.','aborted','high-risk-write','definition','2723ZpoUCw','execute','AbortError','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','isNonInteractive','risk','args','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','signal'];a291_0x16f2=function(){return _0x2b46bb;};return a291_0x16f2();}function withAbortSignal(_0x23a747,_0x14210d){return{..._0x23a747,async 'execute'(_0xf2318b){const _0x210b54=a291_0x45dc;return throwIfAborted(_0x14210d),_0x23a747[_0x210b54(0x1e6)]({..._0xf2318b,'signal':_0x14210d});}};}function throwIfAborted(_0x2d13a8){const _0x518ed7=a291_0x45dc;if(_0x2d13a8?.[_0x518ed7(0x1e2)])throw _0x2d13a8[_0x518ed7(0x1fe)]instanceof Error?_0x2d13a8[_0x518ed7(0x1fe)]:new DOMException(_0x518ed7(0x1e1),_0x518ed7(0x1e7));}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a292_0x5aa1(_0x3804e8,_0x424564){_0x3804e8=_0x3804e8-0x10f;const _0x2f50a3=a292_0x2f50();let _0x5aa15d=_0x2f50a3[_0x3804e8];return _0x5aa15d;}const a292_0x14d1e8=a292_0x5aa1;(function(_0x5c6859,_0x5392ca){const _0x5629d6=a292_0x5aa1,_0x1c250f=_0x5c6859();while(!![]){try{const _0x4e0ab7=parseInt(_0x5629d6(0x110))/0x1+parseInt(_0x5629d6(0x116))/0x2*(-parseInt(_0x5629d6(0x11a))/0x3)+-parseInt(_0x5629d6(0x11b))/0x4*(-parseInt(_0x5629d6(0x113))/0x5)+-parseInt(_0x5629d6(0x118))/0x6*(parseInt(_0x5629d6(0x117))/0x7)+-parseInt(_0x5629d6(0x115))/0x8+parseInt(_0x5629d6(0x119))/0x9*(-parseInt(_0x5629d6(0x10f))/0xa)+-parseInt(_0x5629d6(0x111))/0xb*(-parseInt(_0x5629d6(0x114))/0xc);if(_0x4e0ab7===_0x5392ca)break;else _0x1c250f['push'](_0x1c250f['shift']());}catch(_0x2e4095){_0x1c250f['push'](_0x1c250f['shift']());}}}(a292_0x2f50,0x18aca));let tail=Promise[a292_0x14d1e8(0x112)]();export async function runSerialized(_0x961516){const _0x1333ba=a292_0x14d1e8,_0x2f93b8=tail;let _0x1c0a8f;tail=new Promise(_0x35d8d3=>{_0x1c0a8f=_0x35d8d3;}),await _0x2f93b8[_0x1333ba(0x11c)](()=>undefined);try{return await _0x961516();}finally{_0x1c0a8f();}}function a292_0x2f50(){const _0x5196fa=['126UNADOp','3OkJvIE','89308iLHEbD','catch','40330tMHeKo','6244HxgGwT','165WSBGAY','resolve','30MVbcgi','117972vyjQtT','600272tFnmlH','25692yzCZFY','295841sczHpP','6FgQntM'];a292_0x2f50=function(){return _0x5196fa;};return a292_0x2f50();}
|
package/lib/runtime/resolve.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x58a0f3,_0x336f93){const _0x397557=a293_0xfa07,_0x355eca=_0x58a0f3();while(!![]){try{const _0x3ad035=parseInt(_0x397557(0x1fc))/0x1+parseInt(_0x397557(0x1f2))/0x2*(-parseInt(_0x397557(0x1f0))/0x3)+parseInt(_0x397557(0x1ef))/0x4+parseInt(_0x397557(0x1f5))/0x5*(parseInt(_0x397557(0x1ea))/0x6)+-parseInt(_0x397557(0x1fd))/0x7+parseInt(_0x397557(0x1f1))/0x8+parseInt(_0x397557(0x1f8))/0x9*(-parseInt(_0x397557(0x1eb))/0xa);if(_0x3ad035===_0x336f93)break;else _0x355eca['push'](_0x355eca['shift']());}catch(_0x5791e9){_0x355eca['push'](_0x355eca['shift']());}}}(a293_0x5327,0xed9bb));import a293_0x2ca7a7 from'meow';function a293_0xfa07(_0x5ee87d,_0x4fc4b0){_0x5ee87d=_0x5ee87d-0x1ea;const _0x53272c=a293_0x5327();let _0xfa07f4=_0x53272c[_0x5ee87d];return _0xfa07f4;}import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';function a293_0x5327(){const _0x570aa2=['12etfpvF','190UaZqgS','join','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','6689568ftSuIw','6Yhuxdo','14589704eRIoxt','1635794rqvqyu','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','194995ZtLWSP','slice','unknownCommand','963441hlxgwz','flags','input','wildcardDef','1362913wLFOsf','2058336VOXxqK','validation'];a293_0x5327=function(){return _0x570aa2;};return a293_0x5327();}import{CliErrors}from'../errors.js';import{assertSupportedCommandFlags}from'../framework/supported-flags.js';export async function resolveRabetbaseInvocation(_0x3c5ddd){const _0x5d9b8f=a293_0xfa07,_0x49b2a3=a293_0x2ca7a7('',{'importMeta':import.meta,'argv':[..._0x3c5ddd],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x4cf765=[..._0x49b2a3[_0x5d9b8f(0x1fa)]],_0xc9b064=_0x49b2a3[_0x5d9b8f(0x1f9)],_0x21cc4b=_0x4cf765[0x0];if(!_0x21cc4b)throw CliErrors['validation'](_0x5d9b8f(0x1ee));const _0x35c313=resolveRemovedCommand(_0x21cc4b,_0x4cf765[0x1]);if(_0x35c313)throw CliErrors['validation'](_0x35c313['message'],_0x35c313['hint']);if(_0x21cc4b==='run')throw CliErrors[_0x5d9b8f(0x1fe)](_0x5d9b8f(0x1ed),_0x5d9b8f(0x1f4));if(!isKnownService(_0x21cc4b))throw CliErrors['unknownCommand'](_0x4cf765[_0x5d9b8f(0x1ec)]('\x20'));const _0x374816=getServiceEntry(_0x21cc4b),_0x3fbb07=_0x4cf765[0x1],_0x9b51ea=_0x3fbb07||_0x374816['defaultCommand'];if(!_0x9b51ea){if(_0x374816['wildcardDef'])return{'definition':_0x374816[_0x5d9b8f(0x1fb)],'rawFlags':_0xc9b064,'args':[]};throw CliErrors[_0x5d9b8f(0x1fe)](_0x5d9b8f(0x1f3)+_0x21cc4b+'\x22.');}const _0x53b429=findDefinition(_0x21cc4b,_0x9b51ea);if(_0x53b429)return assertSupportedCommandFlags(_0x53b429,_0xc9b064),{'definition':_0x53b429,'rawFlags':_0xc9b064,'args':_0x4cf765[_0x5d9b8f(0x1f6)](0x2)};if(_0x374816[_0x5d9b8f(0x1fb)])return{'definition':_0x374816[_0x5d9b8f(0x1fb)],'rawFlags':_0xc9b064,'args':[_0x9b51ea,..._0x4cf765[_0x5d9b8f(0x1f6)](0x2)]};throw CliErrors[_0x5d9b8f(0x1f7)](_0x21cc4b+'\x20'+_0x9b51ea);}
|