@lovrabet/rabetbase-cli 2.5.9 → 2.5.10-beta.1
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/api-group.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/api/generate-sdk-config-file.js +1 -1
- package/lib/api/legacy-api-file.js +1 -1
- package/lib/api/model-registry-file.js +1 -1
- package/lib/api/model-registry-scaffold.js +1 -1
- package/lib/api/model-source.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/detail.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/members-list.js +1 -1
- package/lib/commands/app/remote-directory.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/delete.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/app-config/list.js +1 -1
- package/lib/commands/app-config/set.js +1 -1
- package/lib/commands/app-config/shared.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/logs.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-registry.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/async-task.js +1 -1
- package/lib/commands/common/dry-run.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/delete.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/init.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/dataset/batch-design.js +1 -1
- package/lib/commands/dataset/business-group-update.js +1 -1
- package/lib/commands/dataset/business-groups.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/cross-relation-create.js +1 -1
- package/lib/commands/dataset/cross-relation-delete.js +1 -1
- package/lib/commands/dataset/cross-relation-list.js +1 -1
- package/lib/commands/dataset/cross-relation-shared.js +1 -1
- package/lib/commands/dataset/cross-relation-update.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/design-context.js +1 -1
- package/lib/commands/dataset/design-start.js +1 -1
- package/lib/commands/dataset/design-status.js +1 -1
- package/lib/commands/dataset/design-sync-retry.js +1 -1
- package/lib/commands/dataset/design-sync-status.js +1 -1
- package/lib/commands/dataset/design-validate.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-restore.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/generate.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-audit.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/dataset/restore.js +1 -1
- package/lib/commands/dataset/user-deleted-field-list.js +1 -1
- package/lib/commands/db/analysis-batching.js +1 -1
- package/lib/commands/db/analyze-batch-plan.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/cross-db-analysis-shared.js +1 -1
- package/lib/commands/db/cross-db-analyze-latest.js +1 -1
- package/lib/commands/db/cross-db-analyze-start.js +1 -1
- package/lib/commands/db/cross-db-analyze-status.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff-refresh-start.js +1 -1
- package/lib/commands/db/diff-refresh-status.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/table-diff-shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/deployment/index.js +1 -1
- package/lib/commands/deployment/sync-all.js +1 -1
- package/lib/commands/deployment/sync-jobs.js +1 -1
- package/lib/commands/deployment/sync-status.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/flow/create.js +1 -1
- package/lib/commands/flow/detail.js +1 -1
- package/lib/commands/flow/index.js +1 -1
- package/lib/commands/flow/list.js +1 -1
- package/lib/commands/flow/page-list.js +1 -1
- package/lib/commands/flow/publish.js +1 -1
- package/lib/commands/flow/runtime-resources-shared.js +1 -1
- package/lib/commands/flow/runtime-role-list.js +1 -1
- package/lib/commands/flow/runtime-role-user-list.js +1 -1
- package/lib/commands/flow/runtime-user-search.js +1 -1
- package/lib/commands/flow/shared.js +1 -1
- package/lib/commands/flow/update.js +1 -1
- package/lib/commands/flow/validate.js +1 -1
- package/lib/commands/instant-api-policy/current.js +1 -1
- package/lib/commands/instant-api-policy/index.js +1 -1
- package/lib/commands/instant-api-policy/init.js +1 -1
- package/lib/commands/instant-api-policy/publish.js +1 -1
- package/lib/commands/instant-api-policy/pull.js +1 -1
- package/lib/commands/instant-api-policy/revision.js +1 -1
- package/lib/commands/instant-api-policy/revisions.js +1 -1
- package/lib/commands/instant-api-policy/rollback.js +1 -1
- package/lib/commands/instant-api-policy/shared.js +1 -1
- package/lib/commands/instant-api-policy/validate.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/nudge.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/issue/shared.js +1 -1
- package/lib/commands/kb/create.js +1 -1
- package/lib/commands/kb/delete.js +1 -1
- package/lib/commands/kb/detail.js +1 -1
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/kb/list.js +1 -1
- package/lib/commands/kb/search.js +1 -1
- package/lib/commands/kb/shared.js +1 -1
- package/lib/commands/kb/update.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/asset-update.js +1 -1
- package/lib/commands/menu/delete.js +1 -1
- package/lib/commands/menu/external-link-create.js +1 -1
- package/lib/commands/menu/external-link-update.js +1 -1
- package/lib/commands/menu/group-create.js +1 -1
- package/lib/commands/menu/group-update.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/list.js +1 -1
- package/lib/commands/menu/move.js +1 -1
- package/lib/commands/menu/regroup-start.js +1 -1
- package/lib/commands/menu/rename.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/delete-plan.js +1 -1
- package/lib/commands/menu/shared/facts.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/mutations.js +1 -1
- package/lib/commands/menu/shared/path.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/subapp-assets.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/subapp-assets-status.js +1 -1
- package/lib/commands/menu/subapp-assets-update.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/visibility-update.js +1 -1
- package/lib/commands/notification/config-create.js +1 -1
- package/lib/commands/notification/config-delete.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/config-update.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/notification/shared.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/page/create.js +1 -1
- package/lib/commands/page/custom/detail.js +1 -1
- package/lib/commands/page/custom/list.js +1 -1
- package/lib/commands/page/custom/publish.js +1 -1
- package/lib/commands/page/custom/shared.js +1 -1
- package/lib/commands/page/custom/syntax.js +1 -1
- package/lib/commands/page/custom/update.js +1 -1
- package/lib/commands/page/data-list-status.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/relation-audit.js +1 -1
- package/lib/commands/page/restore.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/project/api-architecture-upgrade.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/materialize-project-template.js +1 -1
- package/lib/commands/project/create/project-name.js +1 -1
- package/lib/commands/project/create/project-template-archive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/domain-routing-sync.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/role/delete.js +1 -1
- package/lib/commands/role/detail.js +1 -1
- package/lib/commands/role/index.js +1 -1
- package/lib/commands/role/list.js +1 -1
- package/lib/commands/role/shared.js +1 -1
- package/lib/commands/role/update.js +1 -1
- package/lib/commands/role/user-add.js +1 -1
- package/lib/commands/role/user-remove.js +1 -1
- package/lib/commands/role/user-resolve.js +1 -1
- package/lib/commands/rule/get.js +1 -1
- package/lib/commands/rule/index.js +1 -1
- package/lib/commands/rule/list.js +1 -1
- package/lib/commands/rule/set.js +1 -1
- package/lib/commands/rule/shared.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/commands/task/index.js +1 -1
- package/lib/commands/task/status.js +1 -1
- package/lib/commands/tenant/index.js +1 -1
- package/lib/commands/tenant/members-list.js +1 -1
- package/lib/commands/tenant/shared.js +1 -1
- package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
- package/lib/commands/user-account/feishu-bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/add.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/commands/workspace/remove.js +1 -1
- package/lib/config/domain-config.js +1 -1
- package/lib/config/project-domain-routing.js +1 -1
- package/lib/config/region-config.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/paths.js +1 -1
- package/lib/constant/region.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/routing-profile.js +1 -1
- package/lib/context/app-resolver.js +1 -1
- package/lib/context/auth-resolver.js +1 -1
- package/lib/context/config-loader.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/hook-directory.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/cross-db-analysis.js +1 -1
- package/lib/core/cross-db-relation.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/flow-config.js +1 -1
- package/lib/core/instant-api-policy/config.js +1 -1
- package/lib/core/kb-management-client.js +1 -1
- package/lib/core/kb-search-client.js +1 -1
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/page/lr-smart-jsx.js +1 -1
- package/lib/core/sql-index-auditor.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/error-output.js +1 -1
- package/lib/framework/explicit-yes.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-alias.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/supported-flags.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.d.ts +4 -4
- package/lib/generated/build-info.js +1 -1
- package/lib/generated/official-routing.js +1 -1
- package/lib/generated/routing-contract.js +1 -1
- package/lib/help.js +1 -1
- package/lib/postinstall.js +1 -1
- package/lib/runtime/confirmation.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/services/dataset-design/checkpoint.js +1 -1
- package/lib/services/dataset-design/commands.js +1 -1
- package/lib/services/dataset-design/contract.js +1 -1
- package/lib/skills/builtin-skill.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +2 -2
- package/skills/rabetbase/SKILL.md +2 -2
- package/skills/rabetbase-dataset-generation/SKILL.md +2 -2
- package/skills/rabetbase-page-generation/SKILL.md +2 -2
- package/skills/rabetbase.manifest.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x53bbdf,_0x8423ec){var _0x1aa056=a318_0x5d2a,_0x434ba9=_0x53bbdf();while(!![]){try{var _0x27d62b=-parseInt(_0x1aa056(0x197))/0x1*(parseInt(_0x1aa056(0x195))/0x2)+parseInt(_0x1aa056(0x194))/0x3*(-parseInt(_0x1aa056(0x18c))/0x4)+parseInt(_0x1aa056(0x18d))/0x5+-parseInt(_0x1aa056(0x196))/0x6*(-parseInt(_0x1aa056(0x191))/0x7)+-parseInt(_0x1aa056(0x18f))/0x8*(parseInt(_0x1aa056(0x18b))/0x9)+parseInt(_0x1aa056(0x190))/0xa*(parseInt(_0x1aa056(0x19b))/0xb)+-parseInt(_0x1aa056(0x19a))/0xc;if(_0x27d62b===_0x8423ec)break;else _0x434ba9['push'](_0x434ba9['shift']());}catch(_0x239a12){_0x434ba9['push'](_0x434ba9['shift']());}}}(a318_0x6a17,0x8ab51));import{resolveOutputConfig}from'@lovrabet/cli-framework';export function usesStructuredErrorOutput(_0x52d76a){var _0xec4e50=a318_0x5d2a;return _0x52d76a?.[_0xec4e50(0x19c)]===!![];}function a318_0x5d2a(_0x1a7216,_0x488f08){_0x1a7216=_0x1a7216-0x18b;var _0x6a17e3=a318_0x6a17();var _0x5d2a0a=_0x6a17e3[_0x1a7216];return _0x5d2a0a;}function a318_0x6a17(){var _0x250425=['8iyTCDo','5860OPSRHV','1834665TVFHym','format','defaultFormat','2393949Vdsqth','3774lNbqEa','18tXJFex','119VzVqbS','def','compress','393276bbXXGH','11077yWkYWu','structuredErrors','7009857YDauBI','4GKVkOu','5129700wcqSnU','flags'];a318_0x6a17=function(){return _0x250425;};return a318_0x6a17();}export function resolveErrorOutputFormat(_0x1b1b4f){var _0x2b4516=a318_0x5d2a;if(!_0x1b1b4f[_0x2b4516(0x198)])return _0x1b1b4f[_0x2b4516(0x193)]??_0x2b4516(0x199);return resolveOutputConfig({'flags':_0x1b1b4f[_0x2b4516(0x18e)]??{},'def':_0x1b1b4f[_0x2b4516(0x198)],'configDefault':_0x1b1b4f['defaultFormat']})[_0x2b4516(0x192)];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a319_0x5b84(_0xc196f5,_0x5af767){_0xc196f5=_0xc196f5-0x69;const _0x7f3339=a319_0x7f33();let _0x5b8466=_0x7f3339[_0xc196f5];return _0x5b8466;}const a319_0x27f1b7=a319_0x5b84;(function(_0x4e9a0b,_0x5def51){const _0x44b1b4=a319_0x5b84,_0x30bd5c=_0x4e9a0b();while(!![]){try{const _0x24a387=parseInt(_0x44b1b4(0x71))/0x1*(parseInt(_0x44b1b4(0x6b))/0x2)+-parseInt(_0x44b1b4(0x74))/0x3+parseInt(_0x44b1b4(0x6e))/0x4*(-parseInt(_0x44b1b4(0x72))/0x5)+-parseInt(_0x44b1b4(0x73))/0x6*(parseInt(_0x44b1b4(0x70))/0x7)+parseInt(_0x44b1b4(0x78))/0x8+parseInt(_0x44b1b4(0x6f))/0x9+parseInt(_0x44b1b4(0x75))/0xa;if(_0x24a387===_0x5def51)break;else _0x30bd5c['push'](_0x30bd5c['shift']());}catch(_0x265d7c){_0x30bd5c['push'](_0x30bd5c['shift']());}}}(a319_0x7f33,0xef1b7));const EXPLICIT_YES_COMMANDS=new Set([a319_0x27f1b7(0x6a),'kb\x20delete',a319_0x27f1b7(0x6c),a319_0x27f1b7(0x6d)]);function a319_0x7f33(){const _0x1b66eb=['10751685pUjSOm','116YzEeeT','282830sDTLCk','6iohYSH','2197266kSWNUr','25434030oIaygL','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','has','3212728PODZKe','service','menu\x20delete','27644mVtQvM','notification\x20config-update','notification\x20config-delete','104jhHAtU','1531170iEgkXW'];a319_0x7f33=function(){return _0x1b66eb;};return a319_0x7f33();}export const EXPLICIT_YES_FLAG_DESCRIPTION=a319_0x27f1b7(0x76);export function requiresExplicitYes(_0x1fc8ce){const _0x526fcf=a319_0x27f1b7;return EXPLICIT_YES_COMMANDS[_0x526fcf(0x77)](_0x1fc8ce[_0x526fcf(0x69)]+'\x20'+_0x1fc8ce['command']);}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a320_0x389a(){const _0x36e4fb=['2JBZbmd','parseFlags','6590ynJCYm','161JcgxeX','945198tvLcGv','12473FFogUx','5TdUwMG','validateFlags','213114EgHfAi','3553FlWtBI','459864yOoeID','20778bviCMW','16VaXqXq','1595304oMpjCr'];a320_0x389a=function(){return _0x36e4fb;};return a320_0x389a();}function a320_0x4c87(_0x400d97,_0x2d09ea){_0x400d97=_0x400d97-0x10d;const _0x389a14=a320_0x389a();let _0x4c8748=_0x389a14[_0x400d97];return _0x4c8748;}const a320_0xc15f50=a320_0x4c87;(function(_0x253de1,_0x534a15){const _0x458707=a320_0x4c87,_0x210ed8=_0x253de1();while(!![]){try{const _0x11638a=parseInt(_0x458707(0x111))/0x1*(parseInt(_0x458707(0x11a))/0x2)+-parseInt(_0x458707(0x114))/0x3+parseInt(_0x458707(0x116))/0x4*(parseInt(_0x458707(0x112))/0x5)+parseInt(_0x458707(0x117))/0x6*(-parseInt(_0x458707(0x10f))/0x7)+parseInt(_0x458707(0x118))/0x8*(-parseInt(_0x458707(0x110))/0x9)+parseInt(_0x458707(0x10e))/0xa*(parseInt(_0x458707(0x115))/0xb)+parseInt(_0x458707(0x119))/0xc;if(_0x11638a===_0x534a15)break;else _0x210ed8['push'](_0x210ed8['shift']());}catch(_0xa3c281){_0x210ed8['push'](_0x210ed8['shift']());}}}(a320_0x389a,0x1b77b));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a320_0xc15f50(0x10d)];export const validateFlags=helpers[a320_0xc15f50(0x113)];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x48a864,_0xd9f26){const _0x5c219b=a321_0x2fed,_0x1257fc=_0x48a864();while(!![]){try{const _0x3fd9cf=-parseInt(_0x5c219b(0xfc))/0x1+parseInt(_0x5c219b(0x104))/0x2+-parseInt(_0x5c219b(0xfa))/0x3*(parseInt(_0x5c219b(0xfd))/0x4)+-parseInt(_0x5c219b(0xf8))/0x5+-parseInt(_0x5c219b(0xfe))/0x6*(-parseInt(_0x5c219b(0x100))/0x7)+-parseInt(_0x5c219b(0x103))/0x8+parseInt(_0x5c219b(0x105))/0x9;if(_0x3fd9cf===_0xd9f26)break;else _0x1257fc['push'](_0x1257fc['shift']());}catch(_0x243bea){_0x1257fc['push'](_0x1257fc['shift']());}}}(a321_0x4b45,0x4186d));function a321_0x4b45(){const _0x35a19f=['490073PoVeMf','28WcZMZg','210ofbEze','generateServiceHelp','59143kUJoRo','generateFullHelp','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','2895624PpbhnC','176784RxeLGF','12966498ULkyfm','Requires\x20appcode\x20(set\x20via\x20`','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','replace','2364580sJNkhN','generateCommandHelp','99210klKiPj','\x20workspace\x20init`\x20or\x20--appcode).'];a321_0x4b45=function(){return _0x35a19f;};return a321_0x4b45();}import{createHelpGenerators}from'@lovrabet/cli-framework';function a321_0x2fed(_0x21e293,_0x575722){_0x21e293=_0x21e293-0xf7;const _0x4b45e9=a321_0x4b45();let _0x2fed2c=_0x4b45e9[_0x21e293];return _0x2fed2c;}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 _0x482350=a321_0x2fed;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x3c93bf=>serviceGroups['get'](_0x3c93bf),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x482350(0x106)+CLI_BIN_NAME+_0x482350(0xfb),'serviceUsageSuffix':'\x20[args]\x20[flags]'});}export function generateCommandHelp(_0x20de62){const _0x4f77ea=a321_0x2fed,_0x4d0cde=createGenerators()[_0x4f77ea(0xf9)](_0x20de62);if(!requiresExplicitYes(_0x20de62))return _0x4d0cde;return _0x4d0cde[_0x4f77ea(0xf7)](_0x4f77ea(0x102),_0x4f77ea(0x107));}export function generateServiceHelp(_0x48895a){const _0x4dad5c=a321_0x2fed;return createGenerators()[_0x4dad5c(0xff)](_0x48895a);}export function generateFullHelp(){const _0x383514=a321_0x2fed;return createGenerators()[_0x383514(0x101)]();}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xd4cc44,_0x503047){var _0x302553=a322_0x568f,_0x1d3300=_0xd4cc44();while(!![]){try{var _0x4796e1=parseInt(_0x302553(0xb9))/0x1+parseInt(_0x302553(0xbf))/0x2+-parseInt(_0x302553(0xbd))/0x3*(parseInt(_0x302553(0xbb))/0x4)+parseInt(_0x302553(0xbc))/0x5*(parseInt(_0x302553(0xba))/0x6)+parseInt(_0x302553(0xb8))/0x7+-parseInt(_0x302553(0xbe))/0x8+parseInt(_0x302553(0xc0))/0x9;if(_0x4796e1===_0x503047)break;else _0x1d3300['push'](_0x1d3300['shift']());}catch(_0x258327){_0x1d3300['push'](_0x1d3300['shift']());}}}(a322_0x511e,0xf2093));export{runCommand}from'../framework/runner.js';function a322_0x511e(){var _0x1352d4=['4jkLvnH','485WpuTLu','5877489fNkKUG','13418288OwnNaB','1358638JBbybh','5868432MTEBbp','112042ALnsLE','1928954EFdPaA','83598SXgxus'];a322_0x511e=function(){return _0x1352d4;};return a322_0x511e();}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a322_0x568f(_0x2198a5,_0x15bd6c){_0x2198a5=_0x2198a5-0xb8;var _0x511ef9=a322_0x511e();var _0x568f0e=_0x511ef9[_0x2198a5];return _0x568f0e;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';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(_0x30f3f7,_0x7cd686){const _0xf6a368=a323_0x3230,_0x3ad59b=_0x30f3f7();while(!![]){try{const _0x103e27=parseInt(_0xf6a368(0x113))/0x1+-parseInt(_0xf6a368(0x117))/0x2+parseInt(_0xf6a368(0x10f))/0x3+parseInt(_0xf6a368(0x122))/0x4*(parseInt(_0xf6a368(0x10b))/0x5)+parseInt(_0xf6a368(0x11d))/0x6+-parseInt(_0xf6a368(0x116))/0x7+-parseInt(_0xf6a368(0x10e))/0x8;if(_0x103e27===_0x7cd686)break;else _0x3ad59b['push'](_0x3ad59b['shift']());}catch(_0x322c69){_0x3ad59b['push'](_0x3ad59b['shift']());}}}(a323_0x4a34,0x6133c));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(_0x59919e,_0x21b5bb){const _0xffe94=a323_0x3230,_0x1d6a7d=_0x59919e[_0xffe94(0x11a)],{_notice:_0x26f631,..._0x27ab4d}=_0x59919e;void _0x26f631,baseFormatOutput(_0x27ab4d,_0x21b5bb),_0x21b5bb['format']===_0xffe94(0x10d)&&printPrettyNotice(_0x1d6a7d);}function a323_0x4a34(){const _0x6339d0=['_notice','data','json','2406576zfLsDy','endsWith','command','risk','error','8Eweyiy','code','url','format','1249640qwfzaE','update','pretty','3553400VqHTaz','1261443dKTvuu','stringify','stdout','message','653889hcIwsU','trim','hint','2599058IQgsQb','1523426FkMpcF','write','jqFilter'];a323_0x4a34=function(){return _0x6339d0;};return a323_0x4a34();}function a323_0x3230(_0x4d6ef2,_0x30705f){_0x4d6ef2=_0x4d6ef2-0x109;const _0x4a34c8=a323_0x4a34();let _0x32303c=_0x4a34c8[_0x4d6ef2];return _0x32303c;}export function formatCliError(_0x3f271e,_0x5a42aa){const _0x4d7d4a=a323_0x3230;if(_0x5a42aa[_0x4d7d4a(0x10a)]===_0x4d7d4a(0x10d))return![];const _0x45adb7=_0x3f271e[_0x4d7d4a(0x11b)],_0x2d9add={'ok':![],'command':_0x5a42aa[_0x4d7d4a(0x11f)],'risk':_0x5a42aa[_0x4d7d4a(0x120)],'data':_0x45adb7??null,'error':{'code':_0x3f271e[_0x4d7d4a(0x123)],'message':_0x3f271e[_0x4d7d4a(0x112)],..._0x3f271e[_0x4d7d4a(0x115)]?{'hint':_0x3f271e['hint']}:{}}},_0xfac9fa=_0x5a42aa[_0x4d7d4a(0x10a)]===_0x4d7d4a(0x11c)?JSON[_0x4d7d4a(0x110)](_0x2d9add,null,0x2):JSON['stringify'](_0x2d9add);let _0x38af66=_0xfac9fa;if(_0x5a42aa['jqFilter']?.[_0x4d7d4a(0x114)]())try{_0x38af66=applyJqFilter(_0xfac9fa,_0x5a42aa[_0x4d7d4a(0x119)]);}catch(_0x7bc983){const _0x2f1949=_0x7bc983 instanceof CliError?_0x7bc983:CliErrors['validation']('jq:\x20'+(_0x7bc983 instanceof Error?_0x7bc983[_0x4d7d4a(0x112)]:String(_0x7bc983))),_0x51ea63={..._0x2d9add,'error':{'code':_0x2f1949[_0x4d7d4a(0x123)],'message':_0x2f1949[_0x4d7d4a(0x112)],..._0x2f1949[_0x4d7d4a(0x115)]?{'hint':_0x2f1949[_0x4d7d4a(0x115)]}:{},'cause':_0x2d9add[_0x4d7d4a(0x121)]}};_0x38af66=_0x5a42aa['format']===_0x4d7d4a(0x11c)?JSON['stringify'](_0x51ea63,null,0x2):JSON[_0x4d7d4a(0x110)](_0x51ea63);}return process[_0x4d7d4a(0x111)][_0x4d7d4a(0x118)](_0x38af66[_0x4d7d4a(0x11e)]('\x0a')?_0x38af66:_0x38af66+'\x0a'),!![];}function printPrettyNotice(_0x5906e0){const _0xddc0e0=a323_0x3230;if(!_0x5906e0?.[_0xddc0e0(0x10c)])return;console[_0xddc0e0(0x121)](_0x5906e0[_0xddc0e0(0x10c)][_0xddc0e0(0x112)]+'\x20('+_0x5906e0[_0xddc0e0(0x10c)][_0xddc0e0(0x109)]+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a324_0x2247(_0x59da64,_0x572f96){_0x59da64=_0x59da64-0x106;var _0x3faa42=a324_0x3faa();var _0x224768=_0x3faa42[_0x59da64];return _0x224768;}function a324_0x3faa(){var _0x4476f3=['395227PLkmpu','544RvqCky','1395764RgxZSf','22194BwXvZp','1845276EsqfGv','5bEqKNm','14018ONJVGM','66kADoOA','7581972PillxZ','11hQeKXo','6277880mbpBqc','60BJHMnP'];a324_0x3faa=function(){return _0x4476f3;};return a324_0x3faa();}(function(_0x2be834,_0x113bfe){var _0x50307c=a324_0x2247,_0x35afa9=_0x2be834();while(!![]){try{var _0x5afd38=parseInt(_0x50307c(0x109))/0x1*(-parseInt(_0x50307c(0x10a))/0x2)+parseInt(_0x50307c(0x107))/0x3+parseInt(_0x50307c(0x111))/0x4*(-parseInt(_0x50307c(0x108))/0x5)+parseInt(_0x50307c(0x10e))/0x6*(-parseInt(_0x50307c(0x10f))/0x7)+-parseInt(_0x50307c(0x110))/0x8*(parseInt(_0x50307c(0x106))/0x9)+parseInt(_0x50307c(0x10d))/0xa+parseInt(_0x50307c(0x10c))/0xb*(parseInt(_0x50307c(0x10b))/0xc);if(_0x5afd38===_0x113bfe)break;else _0x35afa9['push'](_0x35afa9['shift']());}catch(_0x4199f0){_0x35afa9['push'](_0x35afa9['shift']());}}}(a324_0x3faa,0x50c7e));export{extractList,extractPaging}from'@lovrabet/cli-framework';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4fe3de,_0x32156c){const _0x521f0d=a325_0xcaa9,_0x3d3e99=_0x4fe3de();while(!![]){try{const _0x418aa1=parseInt(_0x521f0d(0x1eb))/0x1+-parseInt(_0x521f0d(0x1f2))/0x2*(parseInt(_0x521f0d(0x1f5))/0x3)+parseInt(_0x521f0d(0x1fe))/0x4+parseInt(_0x521f0d(0x1f9))/0x5*(parseInt(_0x521f0d(0x1fd))/0x6)+-parseInt(_0x521f0d(0x1ec))/0x7+parseInt(_0x521f0d(0x1f4))/0x8+-parseInt(_0x521f0d(0x200))/0x9*(parseInt(_0x521f0d(0x1fc))/0xa);if(_0x418aa1===_0x32156c)break;else _0x3d3e99['push'](_0x3d3e99['shift']());}catch(_0x16d4b5){_0x3d3e99['push'](_0x3d3e99['shift']());}}}(a325_0x202a,0x98da2));function a325_0x202a(){const _0x3bef49=['10pMGOvZ','1072542tQqzvU','3422448mRrFvJ','code','15027057BqphVi','alias','some','Unknown\x20alias\x20\x22','length','string','type','profileName','465024pqbUeZ','2869622FrYook','\x20api\x20pull`\x20first.','No\x20model\x20aliases\x20found\x20in\x20','Available\x20aliases:\x20','name','flags','1260498QbwhXJ','`\x20requires\x20either\x20--code\x20or\x20--alias.','6112120VtIIAm','3cmZeui','map','join','.\x20Run\x20`','35LZmjsS','filePath','validation'];a325_0x202a=function(){return _0x3bef49;};return a325_0x202a();}function a325_0xcaa9(_0x256556,_0x44380a){_0x256556=_0x256556-0x1e9;const _0x202aa3=a325_0x202a();let _0xcaa999=_0x202aa3[_0x256556];return _0xcaa999;}import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x3df1f7,_0x37334b,_0x2b73be,_0x1fd364,_0x3842de,_0x57bd6d){const _0x4ff470=a325_0xcaa9,_0x59ae70=_0x3df1f7[_0x4ff470(0x1f1)][_0x4ff470(0x202)](_0x55f229=>_0x55f229['name']===_0x4ff470(0x1ff)&&_0x55f229[_0x4ff470(0x1e9)]===_0x4ff470(0x205)),_0x4f381d=_0x3df1f7[_0x4ff470(0x1f1)][_0x4ff470(0x202)](_0x21e447=>_0x21e447[_0x4ff470(0x1f0)]===_0x4ff470(0x201)&&_0x21e447['type']==='string');if(!_0x59ae70||!_0x4f381d)return;const _0xbfb42a=_0x37334b['code']?String(_0x37334b[_0x4ff470(0x1ff)]):'',_0x4a73ff=_0x37334b[_0x4ff470(0x201)]?String(_0x37334b[_0x4ff470(0x201)]):'';if(!_0xbfb42a&&!_0x4a73ff)throw CliErrors[_0x4ff470(0x1fb)]('`'+_0x1fd364+_0x4ff470(0x1f3));if(_0x4a73ff&&!_0xbfb42a){const _0x8cf74f=resolveApiModelSource(_0x2b73be,_0x3842de,_0x57bd6d),_0x1884e0=resolveAlias(_0x2b73be,_0x4a73ff,undefined,_0x8cf74f['filePath'],_0x8cf74f[_0x4ff470(0x1ea)]);if(!_0x1884e0){const _0x4871e3=listAliases(_0x2b73be,undefined,_0x8cf74f[_0x4ff470(0x1fa)],_0x8cf74f[_0x4ff470(0x1ea)])[_0x4ff470(0x1f6)](_0x49a3d8=>_0x49a3d8[_0x4ff470(0x201)]),_0x4f557f=_0x4871e3[_0x4ff470(0x204)]?_0x4ff470(0x1ef)+_0x4871e3[_0x4ff470(0x1f7)](',\x20'):_0x4ff470(0x1ee)+_0x2b73be+_0x4ff470(0x1f8)+CLI_BIN_NAME+_0x4ff470(0x1ed);throw CliErrors['validation'](_0x4ff470(0x203)+_0x4a73ff+'\x22.\x20'+_0x4f557f);}_0x37334b[_0x4ff470(0x1ff)]=_0x1884e0;}}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x246550,_0x5127d5){const _0x3e6637=a326_0xe101,_0x35f1b3=_0x246550();while(!![]){try{const _0x43324d=parseInt(_0x3e6637(0x211))/0x1+parseInt(_0x3e6637(0x20b))/0x2*(parseInt(_0x3e6637(0x209))/0x3)+parseInt(_0x3e6637(0x229))/0x4*(-parseInt(_0x3e6637(0x1fe))/0x5)+parseInt(_0x3e6637(0x235))/0x6*(-parseInt(_0x3e6637(0x20d))/0x7)+parseInt(_0x3e6637(0x1ee))/0x8+-parseInt(_0x3e6637(0x21d))/0x9+parseInt(_0x3e6637(0x215))/0xa;if(_0x43324d===_0x5127d5)break;else _0x35f1b3['push'](_0x35f1b3['shift']());}catch(_0x22c823){_0x35f1b3['push'](_0x35f1b3['shift']());}}}(a326_0x4da2,0x246a1));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 a326_0x429a29}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function a326_0x4da2(){const _0xe11e88=['\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','configMissing','entries','⚠\x20\x20High-risk\x20operation:\x20','object','App\x20\x22','currentApp','toUpperCase','604dwfcbB','message','authRequired','isNonInteractive','required','length','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','map','risk','appCode','find','name','519576RhicXy','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','defaultVerbose','resolveAppCode','\x20\x20\x20Continue?\x20[y/N]\x20','pretty','validation','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','rawFlags','keys','doctor','filter','resolveApiDomain','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','appcode','../constant/env.js','pageSize','Available:\x20','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','441424QyfifX','join','format','Edit\x20the\x20config\x20file\x20manually','schema','some','apps','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','AppCode\x20\x22','hint','defaultPageSize','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','formatOutput','includes','LOVRABET_APPCODE','value','5690luPGYx','all','selectedAppName','meowKey','service','requiresAppCode','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','mergedCli','defaultApp','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','trim','89511pFCyYE','../core/api-client.js','18qRbvIq','cancelled','7OCMbmc','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','command','update','51985CToIwh','string','replace','_notice','1633380LjFAcb','execute','riskLevel','confirmHighRisk','cookie','rejectedFlags','../constant/domain.js','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','1183023zmtWtE','apiDir','production','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20'];a326_0x4da2=function(){return _0xe11e88;};return a326_0x4da2();}function stringFlag(_0x3baf9a){const _0x520b10=a326_0xe101;return typeof _0x3baf9a===_0x520b10(0x212)&&_0x3baf9a['trim']()?_0x3baf9a[_0x520b10(0x208)]():undefined;}function resolveEnvAppCode(){const _0x1cda75=a326_0xe101,_0x41f167=stringFlag(process.env.RABETBASE_APPCODE);if(_0x41f167)return{'name':'RABETBASE_APPCODE','value':_0x41f167};const _0x19abea=stringFlag(process.env.LOVRABET_APPCODE);if(_0x19abea)return{'name':_0x1cda75(0x1fc),'value':_0x19abea};return undefined;}function hasExplicitAppCode(_0x19a311,_0x112d22){const _0x3b601b=a326_0xe101;return!!(stringFlag(_0x19a311[_0x3b601b(0x1e9)])||stringFlag(_0x112d22[_0x3b601b(0x1e9)]));}function assertEnvAppCodeNotIgnored(_0xc6f227,_0x537885,_0x33eac5){const _0x1699d8=a326_0xe101;if(!_0x537885||_0x33eac5||_0xc6f227===_0x537885[_0x1699d8(0x1fd)])return;const _0x4239a4=_0xc6f227?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0xc6f227+'\x22.':_0x1699d8(0x1f5);throw CliErrors[_0x1699d8(0x1e0)](_0x537885[_0x1699d8(0x234)]+'='+_0x537885['value']+_0x1699d8(0x204)+_0x4239a4+'\x20'+(_0x1699d8(0x20e)+_0x537885['name']+'\x22.'));}export function createPipelineEnv(_0x548698,_0x516839,_0x367b22=[]){const _0xe30d43=a326_0xe101;return{'rawFlags':_0x516839,'args':_0x367b22,'resolveAppCode':()=>_0x548698[_0xe30d43(0x232)],'resolveCookie':()=>_0x548698[_0xe30d43(0x219)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a326_0x429a29(_0x516839),'defaultFormat':_0x548698[_0xe30d43(0x1f0)],'defaultPageSize':_0x548698[_0xe30d43(0x1eb)],'defaultVerbose':_0x548698['verbose'],'apiDir':_0x548698[_0xe30d43(0x21e)],'riskLevel':_0x548698[_0xe30d43(0x217)],'selectedAppName':_0x548698['explicitAppName'],'mergedCli':{'defaultApp':_0x548698[_0xe30d43(0x206)],'currentApp':_0x548698['currentApp'],'appCode':_0x548698[_0xe30d43(0x232)],'apps':_0x548698[_0xe30d43(0x1f4)]}};}export function createRabetbaseRunnerAdapter(_0x48f605={}){const _0x534e09=a326_0xe101;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x534e09(0x1e6)](_0x14625b=>PIPELINE_FLAG_NAMES['has'](_0x14625b[_0x534e09(0x234)]))[_0x534e09(0x230)](({name:_0x257cef,type:_0x5a9b49,description:_0x34f64b})=>({'name':_0x257cef,'type':_0x5a9b49,'description':_0x34f64b})),'formatOutput':_0x48f605[_0x534e09(0x1fa)]??formatOutput,'getCommandLabel'(_0x2ca99e){const _0x5883a4=_0x534e09;return CLI_BIN_NAME+'\x20'+_0x2ca99e[_0x5883a4(0x202)]+'\x20'+_0x2ca99e[_0x5883a4(0x20f)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x1729a6,{def:_0x3dc103}){const _0x10d8c3=_0x534e09,_0x4bf908=_0x1729a6['includes'](_0x10d8c3(0x1f1))?_0x10d8c3(0x207):_0x10d8c3(0x21c)+_0x3dc103[_0x10d8c3(0x231)]+_0x10d8c3(0x220)+_0x10d8c3(0x207);return CliErrors[_0x10d8c3(0x1e0)](_0x1729a6+'\x0a\x20\x20'+_0x4bf908);}},async 'prepare'(_0x45d321,_0x11625a,_0x26930c,_0xf7e074){const _0x48b436=_0x534e09,_0x1cb8c5=_0x11625a[_0x48b436(0x21e)]||DEFAULT_API_DIR,_0x3743ef=hasExplicitAppCode(_0x26930c,_0x11625a[_0x48b436(0x1e3)]),_0x4daab6=stringFlag(_0x26930c[_0x48b436(0x1e9)])||stringFlag(_0x11625a[_0x48b436(0x1e3)][_0x48b436(0x1e9)]),_0x314005=_0x11625a['mergedCli']?.['apps']??{},_0x5b1a60=_0x11625a['selectedAppName']||_0x11625a[_0x48b436(0x205)]?.[_0x48b436(0x227)]||_0x11625a[_0x48b436(0x205)]?.[_0x48b436(0x206)],_0x1f9e8f=_0x4daab6?Object[_0x48b436(0x223)](_0x314005)['filter'](([,_0x1c1138])=>_0x1c1138[_0x48b436(0x1e9)]===_0x4daab6)[_0x48b436(0x230)](([_0x364c7a])=>_0x364c7a):[];if(_0x1f9e8f[_0x48b436(0x22e)]>0x1&&!_0x11625a[_0x48b436(0x200)])throw CliErrors[_0x48b436(0x1e0)](_0x48b436(0x1f6)+_0x4daab6+_0x48b436(0x22f)+_0x1f9e8f[_0x48b436(0x1ef)](',\x20')+'.',_0x48b436(0x1ed));resolveAliasToCode(_0x45d321,_0x26930c,_0x1cb8c5,_0xf7e074,_0x11625a[_0x48b436(0x238)](),_0x5b1a60);const _0x3b0d5d=resolveCommandAuthMode(_0x45d321);let _0xa8ed47='';if(_0x3b0d5d!=='none'){_0xa8ed47=_0x11625a['resolveCookie']()||'';if(!_0xa8ed47){if(_0x3b0d5d===_0x48b436(0x22d))throw CliErrors[_0x48b436(0x22b)]();}else{const {setActiveCookie:_0x508afb}=await import(_0x48b436(0x20a));_0x508afb(_0xa8ed47);}}const _0xc61bbc=_0x11625a['resolveAppCode']()??'';if(_0x45d321[_0x48b436(0x203)]!==![]){if(!_0x3743ef&&_0x5b1a60&&!_0x314005[_0x5b1a60]){const _0x2aaf9d=Object[_0x48b436(0x1e4)](_0x314005);throw CliErrors[_0x48b436(0x1e0)](_0x48b436(0x226)+_0x5b1a60+_0x48b436(0x1e8),_0x2aaf9d[_0x48b436(0x22e)]>0x0?_0x48b436(0x1ec)+_0x2aaf9d[_0x48b436(0x1ef)](',\x20')+_0x48b436(0x1e2)+CLI_BIN_NAME+_0x48b436(0x236):'Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x48b436(0x236));}assertEnvAppCodeNotIgnored(_0xc61bbc,resolveEnvAppCode(),_0x3743ef);if(!_0xc61bbc){const _0x35e221=Object[_0x48b436(0x1e4)](_0x314005);if(!_0x5b1a60&&_0x35e221[_0x48b436(0x22e)]>0x1)throw CliErrors['configMissing'](_0x48b436(0x1e1)+CLI_BIN_NAME+_0x48b436(0x1f9)+_0x35e221['join'](',\x20')+'.');throw CliErrors[_0x48b436(0x222)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x48b436(0x221));}}return{'defaults':{'booleans':{'verbose':_0x11625a[_0x48b436(0x237)]},'numbers':{'pagesize':_0x11625a[_0x48b436(0x1f8)]}},'extras':{'appCode':_0xc61bbc,'cookie':_0xa8ed47,'apiDomain':_0x11625a[_0x48b436(0x1e7)](),'apiDir':_0x1cb8c5,'selectedAppName':_0x11625a[_0x48b436(0x200)],'mergedCli':_0x11625a['mergedCli']}};},'confirmHighRisk':_0x48f605[_0x534e09(0x218)]??(async({env:_0x1939f2,commandLabel:_0x2cea8b})=>{const _0x417a08=_0x534e09;if(_0x1939f2[_0x417a08(0x22c)])throw CliErrors[_0x417a08(0x1e0)]('High-risk\x20operation\x20`'+_0x2cea8b+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0x417a08(0x224)+_0x2cea8b,_0x417a08(0x239)],'createCancelledError':_0x335402=>CliErrors[_0x417a08(0x20c)](_0x335402)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x1c8032=a326_0xe101,{clearActiveCookie:_0x24cba8}=await import(_0x1c8032(0x20a));_0x24cba8();}export async function finalizeRabetbaseRuntimeState(){const _0x13364d=a326_0xe101;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x7c729a},{initEnv:_0x392999}]=await Promise[_0x13364d(0x1ff)]([import(_0x13364d(0x21b)),import(_0x13364d(0x1ea))]);_0x7c729a(),_0x392999(_0x13364d(0x21f));}}export async function runCommand(_0x1726c9,_0x376dc4,_0x156c1e=terminalRunnerAdapter){const _0x51c032=a326_0xe101;assertRejectedFlags(_0x1726c9,_0x376dc4[_0x51c032(0x1e3)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x1726c9)?withUpdateNotice(_0x1726c9):_0x1726c9,_0x376dc4,_0x156c1e);}function assertRejectedFlags(_0x361199,_0x31807a){const _0x20040c=a326_0xe101;for(const _0x3824cc of _0x361199[_0x20040c(0x21a)]??[]){const _0x44478e=GLOBAL_FLAGS[_0x20040c(0x233)](_0x576bbb=>_0x576bbb[_0x20040c(0x234)]===_0x3824cc[_0x20040c(0x234)]),_0x164bc7=new Set([_0x3824cc[_0x20040c(0x234)],toCamelCase(_0x3824cc[_0x20040c(0x234)]),_0x44478e?.[_0x20040c(0x201)]]),_0xe06808=[..._0x164bc7][_0x20040c(0x1f3)](_0x20836d=>{if(!_0x20836d)return![];const _0x4407b7=_0x31807a[_0x20836d];return _0x4407b7!==undefined&&_0x4407b7!==null&&_0x4407b7!==![];});if(_0xe06808)throw CliErrors['validation'](_0x3824cc[_0x20040c(0x22a)],_0x3824cc[_0x20040c(0x1f7)]);}}function a326_0xe101(_0xdc760a,_0x58de47){_0xdc760a=_0xdc760a-0x1df;const _0x4da262=a326_0x4da2();let _0xe10144=_0x4da262[_0xdc760a];return _0xe10144;}function toCamelCase(_0x4a182a){const _0x18fede=a326_0xe101;return _0x4a182a[_0x18fede(0x213)](/-([a-z])/g,(_0x5b6d3c,_0x343623)=>_0x343623[_0x18fede(0x228)]());}function shouldAttachUpdateNotice(_0x2d3aaa){const _0x5736c2=a326_0xe101;if(_0x2d3aaa['hasFormat']===![])return![];return![_0x5736c2(0x210),_0x5736c2(0x1f2),_0x5736c2(0x1e5)][_0x5736c2(0x1fb)](_0x2d3aaa[_0x5736c2(0x202)]);}function withUpdateNotice(_0x3ac872){return{..._0x3ac872,async 'execute'(_0x351bff){const _0x4252a0=a326_0xe101,_0x1dba91=shouldResolveUpdateNotice(_0x351bff)?resolveLatestUpdateNotice()['catch'](()=>null):Promise['resolve'](null),_0x3f5234=await _0x3ac872[_0x4252a0(0x216)](_0x351bff);return attachUpdateNotice(_0x3f5234,await _0x1dba91);}};}function shouldResolveUpdateNotice(_0x23b879){const _0x4bb20d=a326_0xe101;return _0x23b879[_0x4bb20d(0x1f0)]===_0x4bb20d(0x1df)&&!_0x23b879['nonInteractive'];}function attachUpdateNotice(_0x402e83,_0x39f052){const _0x13cf5d=a326_0xe101;if(!_0x39f052||!_0x402e83||typeof _0x402e83!==_0x13cf5d(0x225))return _0x402e83;const _0x1b97ad=_0x402e83,_0x7484d3=typeof _0x1b97ad['_notice']===_0x13cf5d(0x225)&&_0x1b97ad[_0x13cf5d(0x214)]!==null?_0x1b97ad[_0x13cf5d(0x214)]:{};return{..._0x1b97ad,'_notice':{..._0x7484d3,'update':_0x39f052}};}
|
|
1
|
+
(function(_0x4252cf,_0x2090c7){const _0x157387=a326_0x25f9,_0x4f5047=_0x4252cf();while(!![]){try{const _0x4a287d=-parseInt(_0x157387(0x91))/0x1*(-parseInt(_0x157387(0xd2))/0x2)+parseInt(_0x157387(0xdd))/0x3*(-parseInt(_0x157387(0xa6))/0x4)+-parseInt(_0x157387(0x8e))/0x5+-parseInt(_0x157387(0xa8))/0x6*(-parseInt(_0x157387(0xa4))/0x7)+-parseInt(_0x157387(0xa0))/0x8*(parseInt(_0x157387(0xce))/0x9)+parseInt(_0x157387(0xc9))/0xa+-parseInt(_0x157387(0x9c))/0xb*(-parseInt(_0x157387(0xb9))/0xc);if(_0x4a287d===_0x2090c7)break;else _0x4f5047['push'](_0x4f5047['shift']());}catch(_0xd71ce2){_0x4f5047['push'](_0x4f5047['shift']());}}}(a326_0x8c58,0x2e88f));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a326_0x25f9(_0x3e469f,_0x392cab){_0x3e469f=_0x3e469f-0x8e;const _0x8c58d1=a326_0x8c58();let _0x25f93b=_0x8c58d1[_0x3e469f];return _0x25f93b;}import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a326_0x169b78}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5dd177){const _0x4cf0a5=a326_0x25f9;return typeof _0x5dd177==='string'&&_0x5dd177[_0x4cf0a5(0xad)]()?_0x5dd177[_0x4cf0a5(0xad)]():undefined;}function resolveEnvAppCode(){const _0x43fdc1=a326_0x25f9,_0x2a1638=stringFlag(process.env.RABETBASE_APPCODE);if(_0x2a1638)return{'name':_0x43fdc1(0xc5),'value':_0x2a1638};const _0x818fe1=stringFlag(process.env.LOVRABET_APPCODE);if(_0x818fe1)return{'name':_0x43fdc1(0xdc),'value':_0x818fe1};return undefined;}function hasExplicitAppCode(_0x2e8311,_0x1402f0){const _0x355dc8=a326_0x25f9;return!!(stringFlag(_0x2e8311[_0x355dc8(0x90)])||stringFlag(_0x1402f0[_0x355dc8(0x90)]));}function assertEnvAppCodeNotIgnored(_0x340c27,_0x53e6bc,_0x80e9f1){const _0x2f826a=a326_0x25f9;if(!_0x53e6bc||_0x80e9f1||_0x340c27===_0x53e6bc[_0x2f826a(0xb7)])return;const _0x5d2847=_0x340c27?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0x340c27+'\x22.':_0x2f826a(0xcd);throw CliErrors[_0x2f826a(0xd9)](_0x53e6bc['name']+'='+_0x53e6bc[_0x2f826a(0xb7)]+_0x2f826a(0xb5)+_0x5d2847+'\x20'+(_0x2f826a(0x92)+_0x53e6bc['name']+'\x22.'));}export function createPipelineEnv(_0x7c16a4,_0x2c9ed3,_0x1b2cc9=[]){const _0x1dc909=a326_0x25f9;return{'rawFlags':_0x2c9ed3,'args':_0x1b2cc9,'resolveAppCode':()=>_0x7c16a4[_0x1dc909(0xbe)],'resolveCookie':()=>_0x7c16a4['cookie']||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a326_0x169b78(_0x2c9ed3),'defaultFormat':_0x7c16a4[_0x1dc909(0x9f)],'defaultPageSize':_0x7c16a4[_0x1dc909(0xaa)],'defaultVerbose':_0x7c16a4['verbose'],'apiDir':_0x7c16a4[_0x1dc909(0xbb)],'riskLevel':_0x7c16a4[_0x1dc909(0xcc)],'selectedAppName':_0x7c16a4[_0x1dc909(0x9a)],'mergedCli':{'defaultApp':_0x7c16a4[_0x1dc909(0xb3)],'currentApp':_0x7c16a4[_0x1dc909(0xc0)],'appCode':_0x7c16a4['appCode'],'apps':_0x7c16a4['apps']}};}export function createRabetbaseRunnerAdapter(_0x574c0a={}){const _0x15b52d=a326_0x25f9;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x15b52d(0xa5)](_0x704ced=>PIPELINE_FLAG_NAMES[_0x15b52d(0xc4)](_0x704ced[_0x15b52d(0xb2)]))['map'](({name:_0x1b5fc5,type:_0x5203db,description:_0x551f6a})=>({'name':_0x1b5fc5,'type':_0x5203db,'description':_0x551f6a})),'formatOutput':_0x574c0a['formatOutput']??formatOutput,'getCommandLabel'(_0x246475){const _0x25406b=_0x15b52d;return CLI_BIN_NAME+'\x20'+_0x246475[_0x25406b(0xd1)]+'\x20'+_0x246475['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x486ef3,{def:_0x47e117}){const _0x262cc9=_0x15b52d,_0x428d45=_0x486ef3[_0x262cc9(0xa2)](_0x262cc9(0x9d))?'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.':_0x262cc9(0xcf)+_0x47e117['risk']+_0x262cc9(0x9e)+_0x262cc9(0x96);return CliErrors[_0x262cc9(0xd9)](_0x486ef3+_0x262cc9(0xaf)+_0x428d45);}},async 'prepare'(_0x5df29a,_0x46318f,_0x195c03,_0x1edddd){const _0x25ecba=_0x15b52d,_0x3ac56d=_0x46318f[_0x25ecba(0xbb)]||DEFAULT_API_DIR,_0x4e83d9=hasExplicitAppCode(_0x195c03,_0x46318f[_0x25ecba(0xab)]),_0x7a83fc=stringFlag(_0x195c03['appcode'])||stringFlag(_0x46318f[_0x25ecba(0xab)][_0x25ecba(0x90)]),_0x21b505=_0x46318f[_0x25ecba(0xd3)]?.['apps']??{},_0x504726=_0x46318f[_0x25ecba(0xc3)]||_0x46318f[_0x25ecba(0xd3)]?.[_0x25ecba(0xc0)]||_0x46318f[_0x25ecba(0xd3)]?.[_0x25ecba(0xb3)],_0x3a6746=_0x7a83fc?Object[_0x25ecba(0xb6)](_0x21b505)['filter'](([,_0x59da2c])=>_0x59da2c[_0x25ecba(0x90)]===_0x7a83fc)['map'](([_0x16a8c0])=>_0x16a8c0):[];if(_0x3a6746[_0x25ecba(0xb0)]>0x1&&!_0x46318f[_0x25ecba(0xc3)])throw CliErrors[_0x25ecba(0xd9)]('AppCode\x20\x22'+_0x7a83fc+'\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20'+_0x3a6746['join'](',\x20')+'.',_0x25ecba(0x95));resolveAliasToCode(_0x5df29a,_0x195c03,_0x3ac56d,_0x1edddd,_0x46318f['resolveAppCode'](),_0x504726);const _0x27f285=resolveCommandAuthMode(_0x5df29a);let _0x353a21='';if(_0x27f285!==_0x25ecba(0xc8)){_0x353a21=_0x46318f[_0x25ecba(0xb1)]()||'';if(!_0x353a21){if(_0x27f285==='required')throw CliErrors[_0x25ecba(0xa3)]();}else{const {setActiveCookie:_0x5c6763}=await import(_0x25ecba(0xd7));_0x5c6763(_0x353a21);}}const _0x130749=_0x46318f['resolveAppCode']()??'';if(_0x5df29a[_0x25ecba(0xbf)]!==![]){if(!_0x4e83d9&&_0x504726&&!_0x21b505[_0x504726]){const _0x4bc833=Object['keys'](_0x21b505);throw CliErrors[_0x25ecba(0xd9)]('App\x20\x22'+_0x504726+_0x25ecba(0xcb),_0x4bc833[_0x25ecba(0xb0)]>0x0?_0x25ecba(0xca)+_0x4bc833[_0x25ecba(0xd5)](',\x20')+'.\x20Use\x20--app/--appcode,\x20or\x20run\x20`'+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.':'Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x25ecba(0xde));}assertEnvAppCodeNotIgnored(_0x130749,resolveEnvAppCode(),_0x4e83d9);if(!_0x130749){const _0x15a199=Object[_0x25ecba(0xd6)](_0x21b505);if(!_0x504726&&_0x15a199[_0x25ecba(0xb0)]>0x1)throw CliErrors[_0x25ecba(0xc6)](_0x25ecba(0xbc)+CLI_BIN_NAME+_0x25ecba(0x98)+_0x15a199[_0x25ecba(0xd5)](',\x20')+'.');throw CliErrors[_0x25ecba(0xc6)](_0x25ecba(0xac)+CLI_BIN_NAME+_0x25ecba(0x93));}}return{'defaults':{'booleans':{'verbose':_0x46318f['defaultVerbose']},'numbers':{'pagesize':_0x46318f[_0x25ecba(0xd8)]}},'extras':{'appCode':_0x130749,'cookie':_0x353a21,'apiDomain':_0x46318f[_0x25ecba(0xbd)](),'apiDir':_0x3ac56d,'selectedAppName':_0x46318f[_0x25ecba(0xc3)],'mergedCli':_0x46318f[_0x25ecba(0xd3)]}};},'confirmHighRisk':_0x574c0a[_0x15b52d(0xc2)]??(async({env:_0x4c30c2,commandLabel:_0xca2968})=>{const _0x1215e3=_0x15b52d;if(_0x4c30c2['isNonInteractive'])throw CliErrors['validation'](_0x1215e3(0xdb)+_0xca2968+_0x1215e3(0xd0));await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0xca2968,_0x1215e3(0xd4)],'createCancelledError':_0x1e45b5=>CliErrors[_0x1215e3(0xa7)](_0x1e45b5)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x248cac=a326_0x25f9,{clearActiveCookie:_0x4f2601}=await import(_0x248cac(0xd7));_0x4f2601();}export async function finalizeRabetbaseRuntimeState(){const _0x3ff067=a326_0x25f9;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x2b97a5},{initEnv:_0x36e49d}]=await Promise['all']([import(_0x3ff067(0xb4)),import('../constant/env.js')]);_0x2b97a5(),_0x36e49d(_0x3ff067(0xa9));}}export async function runCommand(_0x4f1f56,_0x39b814,_0x412599=terminalRunnerAdapter){assertRejectedFlags(_0x4f1f56,_0x39b814['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x4f1f56)?withUpdateNotice(_0x4f1f56):_0x4f1f56,_0x39b814,_0x412599);}function assertRejectedFlags(_0x9d881,_0x3bc307){const _0x7fe1ce=a326_0x25f9;for(const _0x2a198c of _0x9d881['rejectedFlags']??[]){const _0x3c3ae1=GLOBAL_FLAGS[_0x7fe1ce(0x9b)](_0x3d5b33=>_0x3d5b33['name']===_0x2a198c['name']),_0x6e05ba=new Set([_0x2a198c['name'],toCamelCase(_0x2a198c['name']),_0x3c3ae1?.['meowKey']]),_0x399af5=[..._0x6e05ba]['some'](_0x12bb96=>{if(!_0x12bb96)return![];const _0x186826=_0x3bc307[_0x12bb96];return _0x186826!==undefined&&_0x186826!==null&&_0x186826!==![];});if(_0x399af5)throw CliErrors[_0x7fe1ce(0xd9)](_0x2a198c[_0x7fe1ce(0x8f)],_0x2a198c['hint']);}}function toCamelCase(_0x19e48a){const _0x1f460d=a326_0x25f9;return _0x19e48a[_0x1f460d(0xdf)](/-([a-z])/g,(_0x5ef98d,_0x4a28dd)=>_0x4a28dd[_0x1f460d(0xc7)]());}function shouldAttachUpdateNotice(_0x5cd700){const _0xad305b=a326_0x25f9;if(_0x5cd700['hasFormat']===![])return![];return![_0xad305b(0x94),_0xad305b(0xc1),_0xad305b(0xba)][_0xad305b(0xa2)](_0x5cd700['service']);}function withUpdateNotice(_0x45eaa2){return{..._0x45eaa2,async 'execute'(_0xa9da50){const _0x1c867b=a326_0x25f9,_0x16a55a=shouldResolveUpdateNotice(_0xa9da50)?resolveLatestUpdateNotice()[_0x1c867b(0xda)](()=>null):Promise[_0x1c867b(0x97)](null),_0x1b3c45=await _0x45eaa2[_0x1c867b(0xb8)](_0xa9da50);return attachUpdateNotice(_0x1b3c45,await _0x16a55a);}};}function a326_0x8c58(){const _0x2eeef6=['object','includes','authRequired','7HIjdNt','filter','76CXRlGR','cancelled','1459818QGbKsD','production','pageSize','rawFlags','Set\x20appcode\x20via\x20`','trim','nonInteractive','\x0a\x20\x20','length','resolveCookie','name','defaultApp','../constant/domain.js','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','entries','value','execute','2267676bJehAU','doctor','apiDir','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','resolveApiDomain','appCode','requiresAppCode','currentApp','schema','confirmHighRisk','selectedAppName','has','RABETBASE_APPCODE','configMissing','toUpperCase','none','890870LsJUxq','Available:\x20','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','riskLevel','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','20187bGlVao','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','service','1774vHSNNn','mergedCli','\x20\x20\x20Continue?\x20[y/N]\x20','join','keys','../core/api-client.js','defaultPageSize','validation','catch','High-risk\x20operation\x20`','LOVRABET_APPCODE','20793LspMtQ','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','replace','147170mtJNIu','message','appcode','226eRcOTp','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','update','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','resolve','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','_notice','explicitAppName','find','11oYaxgp','Edit\x20the\x20config\x20file\x20manually','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','format','1320eeuKAH'];a326_0x8c58=function(){return _0x2eeef6;};return a326_0x8c58();}function shouldResolveUpdateNotice(_0x14d097){const _0x542897=a326_0x25f9;return _0x14d097[_0x542897(0x9f)]==='pretty'&&!_0x14d097[_0x542897(0xae)];}function attachUpdateNotice(_0x53bd93,_0x26dd79){const _0x1e0953=a326_0x25f9;if(!_0x26dd79||!_0x53bd93||typeof _0x53bd93!==_0x1e0953(0xa1))return _0x53bd93;const _0x3f91ae=_0x53bd93,_0xdc89a4=typeof _0x3f91ae[_0x1e0953(0x99)]==='object'&&_0x3f91ae[_0x1e0953(0x99)]!==null?_0x3f91ae[_0x1e0953(0x99)]:{};return{..._0x3f91ae,'_notice':{..._0xdc89a4,'update':_0x26dd79}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x11d52a,_0x37e88f){const _0x2484a6=a327_0x468b,_0x215442=_0x11d52a();while(!![]){try{const _0xe702a2=-parseInt(_0x2484a6(0x6c))/0x1*(parseInt(_0x2484a6(0x71))/0x2)+-parseInt(_0x2484a6(0x6d))/0x3*(parseInt(_0x2484a6(0x69))/0x4)+parseInt(_0x2484a6(0x6b))/0x5+-parseInt(_0x2484a6(0x72))/0x6*(-parseInt(_0x2484a6(0x70))/0x7)+parseInt(_0x2484a6(0x6a))/0x8*(-parseInt(_0x2484a6(0x67))/0x9)+parseInt(_0x2484a6(0x73))/0xa*(parseInt(_0x2484a6(0x6f))/0xb)+parseInt(_0x2484a6(0x68))/0xc;if(_0xe702a2===_0x37e88f)break;else _0x215442['push'](_0x215442['shift']());}catch(_0x1e054a){_0x215442['push'](_0x215442['shift']());}}}(a327_0x5142,0xece5c));import{buildSchemaPayload as a327_0x14e03b}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';function a327_0x468b(_0xa6c930,_0x26ead9){_0xa6c930=_0xa6c930-0x67;const _0x5142e1=a327_0x5142();let _0x468b72=_0x5142e1[_0xa6c930];return _0x468b72;}function a327_0x5142(){const _0x385e00=['12549zRqLCd','../commands/registry.js','11kEMRKL','10010XyETPu','2447518irNcmH','72QtSHze','2696870oOBvKJ','2772747epuYGN','33503100VIHKcp','1556rBGEug','16KShetV','6793360jEVcqH','1iKsuVD'];a327_0x5142=function(){return _0x385e00;};return a327_0x5142();}export async function buildSchemaPayload(){const _0xd95fc8=a327_0x468b,{serviceRegistry:_0x275009,findDefinition:_0xc8f56e}=await import(_0xd95fc8(0x6e));return a327_0x14e03b({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x275009,'buildAllFlags':buildAllFlags,'findDefinition':_0xc8f56e});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2bffdb,_0x54967a){const _0x4ba840=a328_0x140f,_0x2e4fb3=_0x2bffdb();while(!![]){try{const _0x485ba2=parseInt(_0x4ba840(0x13e))/0x1+parseInt(_0x4ba840(0x148))/0x2+-parseInt(_0x4ba840(0x13f))/0x3*(-parseInt(_0x4ba840(0x136))/0x4)+-parseInt(_0x4ba840(0x151))/0x5*(-parseInt(_0x4ba840(0x14a))/0x6)+-parseInt(_0x4ba840(0x138))/0x7*(parseInt(_0x4ba840(0x14f))/0x8)+-parseInt(_0x4ba840(0x142))/0x9+-parseInt(_0x4ba840(0x13a))/0xa*(-parseInt(_0x4ba840(0x135))/0xb);if(_0x485ba2===_0x54967a)break;else _0x2e4fb3['push'](_0x2e4fb3['shift']());}catch(_0x1129c5){_0x2e4fb3['push'](_0x2e4fb3['shift']());}}}(a328_0x4f4c,0x8bd84));function a328_0x140f(_0x7acfde,_0x122644){_0x7acfde=_0x7acfde-0x133;const _0x4f4ce4=a328_0x4f4c();let _0x140f94=_0x4f4ce4[_0x7acfde];return _0x140f94;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a328_0x4f4c(){const _0x2fb3c4=['295904xuWiki','isArray','15DGddsb','help','\x20for\x20`','$1-$2','517foVUXB','668CdXqwu','command','189GlVBOD','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','122590oVKipZ','find','meowKey','alias','970850MQWrWT','1893hPXenb','Run\x20`','has','9624294qxOvde','name','filter','flags','validation','toUpperCase','1576908XSJLJs','version','399984PLRyQJ','replace','length','add','service'];a328_0x4f4c=function(){return _0x2fb3c4;};return a328_0x4f4c();}import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x5b1452,_0x43519d){const _0x5c8a07=a328_0x140f;if(!_0x5b1452['strictFlags'])return;const _0x37734a=new Set([_0x5c8a07(0x152),_0x5c8a07(0x149)]),_0x126e38=GLOBAL_FLAGS[_0x5c8a07(0x144)](_0x23caad=>PIPELINE_FLAG_NAMES[_0x5c8a07(0x141)](_0x23caad[_0x5c8a07(0x143)]));for(const _0x4ee961 of[..._0x5b1452[_0x5c8a07(0x145)],..._0x126e38]){addFlagCandidates(_0x37734a,_0x4ee961);}for(const [_0x53bdef,_0x3aca92]of Object['entries'](_0x43519d)){if(!isExplicitValue(_0x3aca92)||_0x37734a[_0x5c8a07(0x141)](_0x53bdef))continue;const _0x307b37=GLOBAL_FLAGS[_0x5c8a07(0x13b)](_0x2da1af=>_0x2da1af[_0x5c8a07(0x13c)]===_0x53bdef)?.['name']??toKebabCase(_0x53bdef);throw CliErrors[_0x5c8a07(0x146)]('Unsupported\x20flag\x20--'+_0x307b37+_0x5c8a07(0x133)+CLI_BIN_NAME+'\x20'+_0x5b1452['service']+'\x20'+_0x5b1452['command']+'`.',_0x5c8a07(0x140)+CLI_BIN_NAME+'\x20'+_0x5b1452[_0x5c8a07(0x14e)]+'\x20'+_0x5b1452[_0x5c8a07(0x137)]+_0x5c8a07(0x139));}}function addFlagCandidates(_0x4d39b7,_0x813305){const _0x4faef5=a328_0x140f,_0x455528='meowKey'in _0x813305?[_0x813305['name'],_0x813305['meowKey']]:[_0x813305['name'],_0x813305[_0x4faef5(0x13d)]];for(const _0x5df8c6 of _0x455528){if(!_0x5df8c6)continue;_0x4d39b7[_0x4faef5(0x14d)](_0x5df8c6),_0x4d39b7[_0x4faef5(0x14d)](toCamelCase(_0x5df8c6));}}function isExplicitValue(_0x36acae){const _0x3886d1=a328_0x140f;return _0x36acae!==undefined&&_0x36acae!==null&&_0x36acae!==![]&&(!Array[_0x3886d1(0x150)](_0x36acae)||_0x36acae[_0x3886d1(0x14c)]>0x0);}function toCamelCase(_0x4e2850){const _0x14c5ff=a328_0x140f;return _0x4e2850[_0x14c5ff(0x14b)](/-([a-z])/g,(_0xc2a302,_0xe021a1)=>_0xe021a1[_0x14c5ff(0x147)]());}function toKebabCase(_0x54d1f4){const _0x2cec14=a328_0x140f;return _0x54d1f4[_0x2cec14(0x14b)](/([a-z0-9])([A-Z])/g,_0x2cec14(0x134))['toLowerCase']();}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x24f41f,_0xd73eab){var _0x12a77c=a329_0x4368,_0x356f1c=_0x24f41f();while(!![]){try{var _0x514dc8=parseInt(_0x12a77c(0x175))/0x1+parseInt(_0x12a77c(0x177))/0x2+parseInt(_0x12a77c(0x170))/0x3*(-parseInt(_0x12a77c(0x173))/0x4)+parseInt(_0x12a77c(0x178))/0x5+parseInt(_0x12a77c(0x176))/0x6*(-parseInt(_0x12a77c(0x171))/0x7)+-parseInt(_0x12a77c(0x172))/0x8+-parseInt(_0x12a77c(0x174))/0x9;if(_0x514dc8===_0xd73eab)break;else _0x356f1c['push'](_0x356f1c['shift']());}catch(_0x311a7f){_0x356f1c['push'](_0x356f1c['shift']());}}}(a329_0x5f5c,0xb0e12));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a329_0x4368(_0x5aa0f7,_0x1fd094){_0x5aa0f7=_0x5aa0f7-0x170;var _0x5f5c3e=a329_0x5f5c();var _0x43681d=_0x5f5c3e[_0x5aa0f7];return _0x43681d;}function a329_0x5f5c(){var _0x170542=['136005VArsas','1181257abWkyl','2891504ujhyMs','76gYQhoq','10047546Myqqjn','761124DTXKuT','6MSTXts','2076262hznrFV','7165955GzAhsY'];a329_0x5f5c=function(){return _0x170542;};return a329_0x5f5c();}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VERSION = "2.5.
|
|
2
|
-
export declare const GIT_TAG = "v2.5.
|
|
3
|
-
export declare const GIT_COMMIT = "
|
|
4
|
-
export declare const BUILD_TIME = "2026-10-
|
|
1
|
+
export declare const VERSION = "2.5.10-beta.1";
|
|
2
|
+
export declare const GIT_TAG = "v2.5.10-beta.1";
|
|
3
|
+
export declare const GIT_COMMIT = "7c1f682c";
|
|
4
|
+
export declare const BUILD_TIME = "2026-10-29T09:53:46.337Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a330_0x2df102=a330_0x2f87;(function(_0x47da65,_0xa079fa){const _0x474eb9=a330_0x2f87,_0x52811b=_0x47da65();while(!![]){try{const _0x584a9e=-parseInt(_0x474eb9(0x10a))/0x1*(-parseInt(_0x474eb9(0x10b))/0x2)+-parseInt(_0x474eb9(0x10d))/0x3+parseInt(_0x474eb9(0x107))/0x4+-parseInt(_0x474eb9(0x110))/0x5+parseInt(_0x474eb9(0x109))/0x6+-parseInt(_0x474eb9(0x10f))/0x7+parseInt(_0x474eb9(0x10c))/0x8*(-parseInt(_0x474eb9(0x106))/0x9);if(_0x584a9e===_0xa079fa)break;else _0x52811b['push'](_0x52811b['shift']());}catch(_0x3263b9){_0x52811b['push'](_0x52811b['shift']());}}}(a330_0x20a8,0xd1df1));export const VERSION=a330_0x2df102(0x108);function a330_0x2f87(_0x4dbd2d,_0x4d3e6f){_0x4dbd2d=_0x4dbd2d-0x105;const _0x20a861=a330_0x20a8();let _0x2f87c4=_0x20a861[_0x4dbd2d];return _0x2f87c4;}function a330_0x20a8(){const _0x48da26=['2.5.10-beta.1','7795722hiVlFQ','110317esMzdu','18UFvbRM','16ejRbMp','3029523slOwCd','2026-10-29T09:53:46.337Z','2890944SOmmgg','729770yOsEdv','v2.5.10-beta.1','5091300lhjgGi','5070720AbtsFF'];a330_0x20a8=function(){return _0x48da26;};return a330_0x20a8();}export const GIT_TAG=a330_0x2df102(0x105);export const GIT_COMMIT='7c1f682c';export const BUILD_TIME=a330_0x2df102(0x10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a331_0xe03c33=a331_0x2d0a;(function(_0xeeaa16,_0x26357d){const _0x5fea2f=a331_0x2d0a,_0x444566=_0xeeaa16();while(!![]){try{const _0x565d97=-parseInt(_0x5fea2f(0x1f5))/0x1*(-parseInt(_0x5fea2f(0x1e9))/0x2)+parseInt(_0x5fea2f(0x201))/0x3*(-parseInt(_0x5fea2f(0x207))/0x4)+-parseInt(_0x5fea2f(0x1e3))/0x5*(-parseInt(_0x5fea2f(0x1fb))/0x6)+-parseInt(_0x5fea2f(0x209))/0x7*(-parseInt(_0x5fea2f(0x200))/0x8)+parseInt(_0x5fea2f(0x1f1))/0x9+parseInt(_0x5fea2f(0x1f6))/0xa+-parseInt(_0x5fea2f(0x1fd))/0xb;if(_0x565d97===_0x26357d)break;else _0x444566['push'](_0x444566['shift']());}catch(_0x409cdd){_0x444566['push'](_0x444566['shift']());}}}(a331_0x1f9a,0x41991));function a331_0x1f9a(){const _0x1660e8=['https://daily.lovrabet.ai','global','400IYkyes','3dkwsAB','china','https://g.lovrabet.ai','https://api.lovrabet.ai','Indonesia','https://skills.lovrabet.ai','690856GCYGsj','https://app.lovrabet.id','2527jIoFiD','https://skills.lovrabet.com','Global','https://kb-service.lovrabet.com','https://skills.lovrabet.id','https://daily.lovrabet.com','https://user.lovrabet.id','1655430HFyyXX','https://g.lovrabet.com','https://daily-api.lovrabet.com','https://g.alicdn.com/code/lib','https://user-daily.lovrabet.ai','https://api.lovrabet.id','238WIOqjn','https://runtime.lovrabet.com','https://dev.lovrabet.id','https://g.lovrabet.id','https://runtime.lovrabet.id','57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587','https://kb-service.lovrabet.id','https://app.lovrabet.com','2537487Ycxpae','https://api.lovrabet.com','indonesia','https://runtime.lovrabet.ai','2269MRQxPi','1202470VCCqGi','https://skills-daily.lovrabet.com','https://user.lovrabet.ai','https://daily-api.lovrabet.ai','https://app.lovrabet.ai','6gAKLZd','https://daily-runtime.lovrabet.com','6379274fOsyLm'];a331_0x1f9a=function(){return _0x1660e8;};return a331_0x1f9a();}export const ROUTING_CATALOG_DIGEST=a331_0xe03c33(0x1ee);export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id',a331_0xe03c33(0x1ff)];export const ENABLED_REGION_VALUES=['cn','id',a331_0xe03c33(0x1ff)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':'Mainland\x20China','aliases':[a331_0xe03c33(0x202)],'serviceDomains':{'production':{'user':'https://user.lovrabet.com','api':a331_0xe03c33(0x1f2),'runtime':a331_0xe03c33(0x1ea),'skill':a331_0xe03c33(0x20a),'kb':'https://api.lovrabet.com','kbService':a331_0xe03c33(0x20c),'app':a331_0xe03c33(0x1f0)},'daily':{'user':'https://user-daily.lovrabet.com','api':a331_0xe03c33(0x1e5),'runtime':a331_0xe03c33(0x1fc),'skill':a331_0xe03c33(0x1f7),'kb':a331_0xe03c33(0x1e5),'kbService':'https://kb-service-daily.lovrabet.com','app':a331_0xe03c33(0x1e1)}},'cdn':{'libraries':a331_0xe03c33(0x1e6),'lovrabet':a331_0xe03c33(0x1e4)},'local':{'origin':'https://dev.lovrabet.com'}},'id':{'enabled':!![],'label':a331_0xe03c33(0x205),'aliases':[a331_0xe03c33(0x1f3)],'serviceDomains':{'production':{'user':a331_0xe03c33(0x1e2),'api':a331_0xe03c33(0x1e8),'runtime':a331_0xe03c33(0x1ed),'skill':a331_0xe03c33(0x20d),'kb':a331_0xe03c33(0x1e8),'kbService':a331_0xe03c33(0x1ef),'app':a331_0xe03c33(0x208)}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs','lovrabet':a331_0xe03c33(0x1ec)},'local':{'origin':a331_0xe03c33(0x1eb)}},'global':{'enabled':!![],'label':a331_0xe03c33(0x20b),'aliases':[],'serviceDomains':{'production':{'user':a331_0xe03c33(0x1f8),'api':'https://api.lovrabet.ai','runtime':a331_0xe03c33(0x1f4),'skill':a331_0xe03c33(0x206),'kb':a331_0xe03c33(0x204),'app':a331_0xe03c33(0x1fa)},'daily':{'user':a331_0xe03c33(0x1e7),'api':a331_0xe03c33(0x1f9),'runtime':'https://daily-runtime.lovrabet.ai','skill':'https://skills-daily.lovrabet.ai','kb':a331_0xe03c33(0x1f9),'app':a331_0xe03c33(0x1fe)}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs','lovrabet':a331_0xe03c33(0x203)},'local':{'origin':'https://dev.lovrabet.ai'}}};function a331_0x2d0a(_0x22cc8e,_0x67fb12){_0x22cc8e=_0x22cc8e-0x1e1;const _0x1f9a5f=a331_0x1f9a();let _0x2d0a4b=_0x1f9a5f[_0x22cc8e];return _0x2d0a4b;}export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a332_0x30ac32=a332_0x4208;function a332_0x1272(){const _0x14cbd1=['381966yYMCNH','libraries','600489ufaisq','userDomain','361628lqWjad','331328pKyHcq','skillDomain','4011RQhogc','kbDomain','kbServiceDomain','1198RGSZiP','lovrabet','8SBxJhO','appDomain','lovrabet-routing/v1','enterprise','28CsAJYW','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','certificateDomain','16513010VlwONe','5756775HatGsR','apiDomain','runtimeDomain'];a332_0x1272=function(){return _0x14cbd1;};return a332_0x1272();}(function(_0x5d5c50,_0x18e308){const _0xd4b98a=a332_0x4208,_0x455e42=_0x5d5c50();while(!![]){try{const _0x3a0c4c=-parseInt(_0xd4b98a(0x168))/0x1+-parseInt(_0xd4b98a(0x16e))/0x2*(-parseInt(_0xd4b98a(0x16b))/0x3)+-parseInt(_0xd4b98a(0x169))/0x4+-parseInt(_0xd4b98a(0x161))/0x5+parseInt(_0xd4b98a(0x164))/0x6*(-parseInt(_0xd4b98a(0x15d))/0x7)+parseInt(_0xd4b98a(0x170))/0x8*(parseInt(_0xd4b98a(0x166))/0x9)+parseInt(_0xd4b98a(0x160))/0xa;if(_0x3a0c4c===_0x18e308)break;else _0x455e42['push'](_0x455e42['shift']());}catch(_0x1a9277){_0x455e42['push'](_0x455e42['shift']());}}}(a332_0x1272,0xa330a));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a332_0x30ac32(0x15e);export const ENTERPRISE_ROUTING_PROTOCOL=a332_0x30ac32(0x15b);export const ENTERPRISE_ROUTING_KIND=a332_0x30ac32(0x15c);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a332_0x30ac32(0x167),'apiDomain',a332_0x30ac32(0x163),'skillDomain',a332_0x30ac32(0x16c),a332_0x30ac32(0x16d),a332_0x30ac32(0x171),'localDomain',a332_0x30ac32(0x15f)];function a332_0x4208(_0x137175,_0x1d69fc){_0x137175=_0x137175-0x15b;const _0x1272fb=a332_0x1272();let _0x420882=_0x1272fb[_0x137175];return _0x420882;}export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a332_0x30ac32(0x167),a332_0x30ac32(0x162),a332_0x30ac32(0x163),a332_0x30ac32(0x16a),a332_0x30ac32(0x16c),a332_0x30ac32(0x171)];export const ENTERPRISE_ROUTING_CDN_FIELDS=[a332_0x30ac32(0x165),'lovrabet'];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a332_0x30ac32(0x16f)];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x398119,_0x2e939c){var _0x3780be=a333_0x33ea,_0x3e9dba=_0x398119();while(!![]){try{var _0xbb1e1a=parseInt(_0x3780be(0x16c))/0x1*(parseInt(_0x3780be(0x16a))/0x2)+parseInt(_0x3780be(0x16d))/0x3+-parseInt(_0x3780be(0x16b))/0x4+-parseInt(_0x3780be(0x16f))/0x5*(-parseInt(_0x3780be(0x173))/0x6)+parseInt(_0x3780be(0x16e))/0x7+-parseInt(_0x3780be(0x170))/0x8*(-parseInt(_0x3780be(0x165))/0x9)+-parseInt(_0x3780be(0x167))/0xa*(parseInt(_0x3780be(0x168))/0xb);if(_0xbb1e1a===_0x2e939c)break;else _0x3e9dba['push'](_0x3e9dba['shift']());}catch(_0x1387de){_0x3e9dba['push'](_0x3e9dba['shift']());}}}(a333_0x34f0,0x6a5fd));function a333_0x34f0(){var _0x2a6332=['904376XPAtPs','log','green','369822eywMPn','\x20\x20Use\x20','54gxQPcG','\x20--help','17889350OWnsBY','11mlNYMZ','\x20to\x20view\x20available\x20commands.','1396222SkeaBh','1399812ekqQWG','1TZukhr','2609772sbVUne','140665nkefSR','25wjpnsr'];a333_0x34f0=function(){return _0x2a6332;};return a333_0x34f0();}import a333_0x33d670 from'chalk';function a333_0x33ea(_0x29857d,_0xf3b746){_0x29857d=_0x29857d-0x164;var _0x34f007=a333_0x34f0();var _0x33eafe=_0x34f007[_0x29857d];return _0x33eafe;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x3f7d16=a333_0x33ea;console['log'](),console[_0x3f7d16(0x171)](a333_0x33d670[_0x3f7d16(0x172)]['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x3f7d16(0x171)](),console['log'](_0x3f7d16(0x164)+a333_0x33d670[_0x3f7d16(0x172)]['bold'](CLI_BIN_NAME+_0x3f7d16(0x166))+_0x3f7d16(0x169)),console[_0x3f7d16(0x171)]();}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4441c3,_0x1c26e5){const _0x5a5a4a=a334_0x8078,_0x1f439e=_0x4441c3();while(!![]){try{const _0x50979c=parseInt(_0x5a5a4a(0x1d4))/0x1+-parseInt(_0x5a5a4a(0x1c5))/0x2*(-parseInt(_0x5a5a4a(0x1d2))/0x3)+parseInt(_0x5a5a4a(0x1d3))/0x4*(parseInt(_0x5a5a4a(0x1bc))/0x5)+-parseInt(_0x5a5a4a(0x1c4))/0x6*(-parseInt(_0x5a5a4a(0x1cb))/0x7)+parseInt(_0x5a5a4a(0x1bd))/0x8+-parseInt(_0x5a5a4a(0x1d1))/0x9*(parseInt(_0x5a5a4a(0x1ce))/0xa)+-parseInt(_0x5a5a4a(0x1cf))/0xb;if(_0x50979c===_0x1c26e5)break;else _0x1f439e['push'](_0x1f439e['shift']());}catch(_0x57c1a8){_0x1f439e['push'](_0x1f439e['shift']());}}}(a334_0x19a9,0x2bfdb));import{installBuiltinSkill}from'./skills/builtin-skill.js';function a334_0x19a9(){const _0x57be20=['Repair\x20with:\x20','10kWOPTY','7640435BsYiwd','error','1024938pizabI','3ZlJiIx','401144NHzjvf','251736XbdLXK','code','repairCommand','10JfEUxJ','1547720YrkcNB','[BUILTIN_SKILL_INSTALL_','installedPath','SOURCE_INVALID','FAILED','skillVersion','already\x20current','1771932ODGkWz','95118SMhgib','log','Rabetbase\x20Built-in\x20Skill\x20','\x20via\x20skills@latest','Installation\x20failed','changed','7FDknsI','warn'];a334_0x19a9=function(){return _0x57be20;};return a334_0x19a9();}function a334_0x8078(_0x2dd93c,_0x2d6fcf){_0x2dd93c=_0x2dd93c-0x1ba;const _0x19a998=a334_0x19a9();let _0x8078f1=_0x19a998[_0x2dd93c];return _0x8078f1;}export async function runPostinstall(_0x52be79={}){const _0x51b607=a334_0x8078,_0x2d6de0=installBuiltinSkill(_0x52be79);if(_0x2d6de0['ok']){const _0x22603e=_0x2d6de0[_0x51b607(0x1ca)]?'installed':_0x51b607(0x1c3),_0x3606ac=_0x2d6de0[_0x51b607(0x1bf)]?'\x20at\x20'+_0x2d6de0['installedPath']:_0x51b607(0x1c8);return console[_0x51b607(0x1c6)](_0x51b607(0x1c7)+_0x2d6de0[_0x51b607(0x1c2)]+'\x20'+_0x22603e+_0x3606ac),_0x2d6de0;}const _0x45b476=_0x51b607(0x1be)+(_0x2d6de0[_0x51b607(0x1ba)]??_0x51b607(0x1c1))+']\x20'+(_0x2d6de0[_0x51b607(0x1d0)]??_0x51b607(0x1c9))+'.\x20'+(_0x51b607(0x1cd)+_0x2d6de0[_0x51b607(0x1bb)]);if(_0x2d6de0['code']===_0x51b607(0x1c0))throw new Error(_0x45b476);return console[_0x51b607(0x1cc)](_0x45b476),_0x2d6de0;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2662fd,_0x486bdc){const _0x4ceb6d=a335_0x5827,_0x381e37=_0x2662fd();while(!![]){try{const _0x49e603=parseInt(_0x4ceb6d(0xbf))/0x1+-parseInt(_0x4ceb6d(0xbd))/0x2*(parseInt(_0x4ceb6d(0xc2))/0x3)+parseInt(_0x4ceb6d(0xbc))/0x4+-parseInt(_0x4ceb6d(0xc9))/0x5*(-parseInt(_0x4ceb6d(0xcb))/0x6)+-parseInt(_0x4ceb6d(0xc7))/0x7+-parseInt(_0x4ceb6d(0xc0))/0x8*(parseInt(_0x4ceb6d(0xca))/0x9)+parseInt(_0x4ceb6d(0xc5))/0xa;if(_0x49e603===_0x486bdc)break;else _0x381e37['push'](_0x381e37['shift']());}catch(_0x3b25c3){_0x381e37['push'](_0x381e37['shift']());}}}(a335_0x501a,0x58f42));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x560b6c,_0x47686f,_0x615970){const _0x19c95b=normalizeText(_0x560b6c['confirmationDescription'],DESCRIPTION_MAX_LENGTH),_0xbdc645=_0x19c95b||normalizeText(defaultDescription(requireWriteRisk(_0x560b6c),_0x47686f),DESCRIPTION_MAX_LENGTH);return{'operation':_0x47686f,'risk':requireWriteRisk(_0x560b6c),'description':_0xbdc645,..._0x615970?{'signal':_0x615970}:{}};}function requireWriteRisk(_0x3782fd){const _0x467646=a335_0x5827;if(_0x3782fd[_0x467646(0xc3)]===_0x467646(0xc8)||_0x3782fd[_0x467646(0xc3)]==='high-risk-write')return _0x3782fd[_0x467646(0xc3)];throw new Error(_0x467646(0xba));}function a335_0x501a(){const _0x15bd76=['2yCwGCG','string','604683zxxJVf','5074616LhumEd','trim','1819641NtmIfu','risk','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','253490IDDTJa','.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.','1991234LwlNFz','write','90WJxgjQ','9MaYlKs','242754VCQIsz','slice','This\x20will\x20run\x20the\x20write\x20','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','This\x20will\x20run\x20the\x20high-risk\x20write\x20','2125584PYJmDw'];a335_0x501a=function(){return _0x15bd76;};return a335_0x501a();}function defaultDescription(_0xc3fcd7,_0x1b3008){const _0x45f3f1=a335_0x5827;if(_0xc3fcd7==='high-risk-write')return _0x45f3f1(0xbb)+_0x1b3008+_0x45f3f1(0xc4);return _0x45f3f1(0xb9)+_0x1b3008+_0x45f3f1(0xc6);}function a335_0x5827(_0x4accd9,_0x52fc1c){_0x4accd9=_0x4accd9-0xb8;const _0x501ad3=a335_0x501a();let _0x5827e1=_0x501ad3[_0x4accd9];return _0x5827e1;}function normalizeText(_0x2d4cc2,_0x134343){const _0x2541c7=a335_0x5827;if(typeof _0x2d4cc2!==_0x2541c7(0xbe))return'';return _0x2d4cc2['replace'](/[\u0000-\u001f\u007f]+/g,'\x20')['replace'](/\s+/g,'\x20')[_0x2541c7(0xc1)]()[_0x2541c7(0xb8)](0x0,_0x134343);}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a336_0x3839(_0x100c70,_0x577a33){_0x100c70=_0x100c70-0x84;const _0x6552ed=a336_0x6552();let _0x383933=_0x6552ed[_0x100c70];return _0x383933;}(function(_0x3a7fee,_0x498a29){const _0x4ee3f2=a336_0x3839,_0x1ed062=_0x3a7fee();while(!![]){try{const _0xdc6a7=-parseInt(_0x4ee3f2(0x8c))/0x1*(-parseInt(_0x4ee3f2(0x87))/0x2)+-parseInt(_0x4ee3f2(0x92))/0x3*(-parseInt(_0x4ee3f2(0x91))/0x4)+parseInt(_0x4ee3f2(0x9b))/0x5+-parseInt(_0x4ee3f2(0x99))/0x6*(-parseInt(_0x4ee3f2(0x96))/0x7)+parseInt(_0x4ee3f2(0x86))/0x8+parseInt(_0x4ee3f2(0x97))/0x9*(parseInt(_0x4ee3f2(0x9a))/0xa)+parseInt(_0x4ee3f2(0x93))/0xb*(-parseInt(_0x4ee3f2(0x85))/0xc);if(_0xdc6a7===_0x498a29)break;else _0x1ed062['push'](_0x1ed062['shift']());}catch(_0x106f3d){_0x1ed062['push'](_0x1ed062['shift']());}}}(a336_0x6552,0x87b31));export function canonicalRabetbaseOperation(_0x2fdfe3){const _0x409883=a336_0x3839;return[_0x2fdfe3['service'],..._0x2fdfe3[_0x409883(0x8b)][_0x409883(0x8f)]()[_0x409883(0x84)](/\s+/)]['filter'](Boolean)[_0x409883(0x88)]('.');}export function createRabetbaseWriteMetadata(_0x22d26c,_0x8cc13a,_0x431d90,_0x32b1){const _0x383539=a336_0x3839;if(_0x32b1||_0x431d90['ok']!==!![]||hasUnresolvedConflicts(_0x431d90)||_0x22d26c[_0x383539(0x8d)]!==_0x383539(0x95)&&_0x22d26c[_0x383539(0x8d)]!=='high-risk-write')return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x383539(0x8e),'operation':_0x8cc13a,'risk':_0x22d26c['risk']}}};}function hasUnresolvedConflicts(_0x3bbde1){const _0x12c625=a336_0x3839,_0x1ab0a0=_0x3bbde1[_0x12c625(0x94)];return Boolean(_0x1ab0a0&&typeof _0x1ab0a0===_0x12c625(0x98)&&!Array['isArray'](_0x1ab0a0)&&Array[_0x12c625(0x90)](_0x1ab0a0[_0x12c625(0x8a)])&&_0x1ab0a0[_0x12c625(0x8a)][_0x12c625(0x89)]>0x0);}function a336_0x6552(){const _0x42a12c=['43390556ZxDWin','data','write','1743ZUcLZB','9969165IcZgqT','object','12054ATahhq','10atJEIT','5545465aKJPpO','split','12PIEEGU','965272aApGdd','8824rDeDoz','join','length','conflicts','command','153zRAKZY','risk','rabetbase.write.completed','trim','isArray','3950828LxeLqv','3yWupmg'];a336_0x6552=function(){return _0x42a12c;};return a336_0x6552();}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x29f8c6,_0x449fec){const _0x68ea34=a337_0x471a,_0x1d1808=_0x29f8c6();while(!![]){try{const _0x4c1730=parseInt(_0x68ea34(0x94))/0x1*(parseInt(_0x68ea34(0xab))/0x2)+parseInt(_0x68ea34(0xaa))/0x3*(-parseInt(_0x68ea34(0x8c))/0x4)+-parseInt(_0x68ea34(0x97))/0x5+-parseInt(_0x68ea34(0x98))/0x6*(-parseInt(_0x68ea34(0xa3))/0x7)+-parseInt(_0x68ea34(0x9a))/0x8+-parseInt(_0x68ea34(0xa1))/0x9+parseInt(_0x68ea34(0x9c))/0xa;if(_0x4c1730===_0x449fec)break;else _0x1d1808['push'](_0x1d1808['shift']());}catch(_0x13a0fc){_0x1d1808['push'](_0x1d1808['shift']());}}}(a337_0x320c,0xc2515));function a337_0x320c(){const _0x1ec487=['23ydjBts','presentation','write','4720250JjihQB','6fzRIvw','data','2220760bBzIxy','dry-run','28759770wsAXbA','riskLevel','Rabetbase\x20invocation\x20aborted.','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','present','14066118xHqOWI','dryRun','7422933sLFdGd','isNonInteractive','execute','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','confirm','rawFlags','risk','8433sCIamd','106178cyhRPj','message','reason','result','high-risk-write','2244wcmLOF','AbortError','service','signal','definition','format','yes','command'];a337_0x320c=function(){return _0x1ec487;};return a337_0x320c();}import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';function a337_0x471a(_0x4bfee2,_0x10bbe3){_0x4bfee2=_0x4bfee2-0x8b;const _0x320c29=a337_0x320c();let _0x471ad3=_0x320c29[_0x4bfee2];return _0x471ad3;}import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x2baa59,command:_0x4b89f8,risk:_0x54f938,dryRun:_0x233593}){const _0x5e1641=a337_0x471a;return JSON['stringify']({'ok':_0x2baa59['ok'],'command':_0x4b89f8,'risk':_0x54f938,..._0x233593?{'dryRun':!![]}:{},..._0x2baa59[_0x5e1641(0x99)]!==undefined?{'data':_0x2baa59[_0x5e1641(0x99)]}:{},..._0x2baa59[_0x5e1641(0xac)]?{'message':_0x2baa59[_0x5e1641(0xac)]}:{}});}};export async function invokeRabetbase(_0x31bfd5,_0x4c44d4){const _0x2044bf=a337_0x471a;throwIfAborted(_0x4c44d4[_0x2044bf(0x8f)]);const _0x156e36=await resolveRabetbaseInvocation(_0x31bfd5),_0x45baaa=canonicalRabetbaseOperation(_0x156e36[_0x2044bf(0x90)]);return await confirmWriteBeforeQueue(_0x156e36[_0x2044bf(0x90)],_0x156e36['rawFlags'],_0x45baaa,_0x4c44d4),runSerialized(async()=>{const _0x53d392=_0x2044bf,_0x28955d={};try{throwIfAborted(_0x4c44d4['signal']);const _0xfafdc0=buildConfigFromFlags(_0x156e36['rawFlags']);!isRoutingRecoveryService(_0x156e36[_0x53d392(0x90)][_0x53d392(0x8e)])&&await initGlobalEnvironment(_0xfafdc0);const _0x3057d2=createPipelineEnv(_0xfafdc0,{..._0x156e36[_0x53d392(0xa8)],'yes':_0x156e36[_0x53d392(0x90)][_0x53d392(0xa9)]===_0x53d392(0x8b)?!![]:_0x156e36['rawFlags'][_0x53d392(0x92)],'nonInteractive':!![]},_0x156e36['args']);_0x3057d2[_0x53d392(0xa4)]=!![],_0x3057d2[_0x53d392(0x9d)]='high-risk-write';const _0x1df89b=withAbortSignal(_0x156e36[_0x53d392(0x90)],_0x4c44d4[_0x53d392(0x8f)]),_0x1c8c21=createRabetbaseRunnerAdapter({'formatOutput'(_0xd2fc1d,_0x345793){const _0x16c99f=_0x53d392;_0x28955d[_0x16c99f(0xae)]=_0xd2fc1d,_0x28955d[_0x16c99f(0x93)]=_0x345793[_0x16c99f(0x93)],_0x28955d[_0x16c99f(0xa9)]=_0x345793[_0x16c99f(0xa9)],_0x28955d['format']=_0x345793[_0x16c99f(0x91)],_0x28955d[_0x16c99f(0xa2)]=_0x345793['dryRun']===!![];},async 'confirmHighRisk'(){const _0x484d78=_0x53d392;throw new Error(_0x484d78(0xa6));}});await runCommand(_0x1df89b,_0x3057d2,_0x1c8c21);if(!_0x28955d['result']||!_0x28955d[_0x53d392(0x93)]||!_0x28955d[_0x53d392(0xa9)]||!_0x28955d[_0x53d392(0x91)])throw new Error(_0x53d392(0x9f));const _0x25eab2=_0x28955d['dryRun']===!![],_0x2faa6a=_0x4c44d4[_0x53d392(0x95)]??defaultPresentation,_0x571bec={'result':_0x28955d['result'],'command':_0x28955d[_0x53d392(0x93)],'operation':_0x45baaa,'risk':_0x28955d[_0x53d392(0xa9)],'format':_0x28955d[_0x53d392(0x91)],'dryRun':_0x25eab2},_0x2e1185=createRabetbaseWriteMetadata(_0x156e36[_0x53d392(0x90)],_0x45baaa,_0x28955d[_0x53d392(0xae)],_0x25eab2);let _0x87a4d1;try{_0x87a4d1=await _0x2faa6a[_0x53d392(0xa0)](_0x571bec);}catch(_0x45f768){if(!_0x2e1185||_0x2faa6a===defaultPresentation)throw _0x45f768;_0x87a4d1=await defaultPresentation[_0x53d392(0xa0)](_0x571bec);}return{'operation':_0x45baaa,'risk':_0x28955d[_0x53d392(0xa9)],'mode':_0x25eab2?_0x53d392(0x9b):'execute','result':_0x28955d['result'],'output':_0x87a4d1,..._0x2e1185?{'metadata':_0x2e1185}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x531164,_0x59d3f8,_0x46aef0,_0x23bbff){const _0x3f4536=a337_0x471a;if(_0x59d3f8[_0x3f4536(0xa2)]===!![]||_0x531164[_0x3f4536(0xa9)]!==_0x3f4536(0x96)&&_0x531164[_0x3f4536(0xa9)]!==_0x3f4536(0x8b))return;await _0x23bbff['confirmation'][_0x3f4536(0xa7)](buildRabetbaseConfirmationRequest(_0x531164,_0x46aef0,_0x23bbff[_0x3f4536(0x8f)]));}function withAbortSignal(_0x1d9685,_0x38a77c){return{..._0x1d9685,async 'execute'(_0x27343e){const _0x141dfd=a337_0x471a;return throwIfAborted(_0x38a77c),_0x1d9685[_0x141dfd(0xa5)]({..._0x27343e,'signal':_0x38a77c});}};}function throwIfAborted(_0x51de32){const _0x47a716=a337_0x471a;if(_0x51de32?.['aborted'])throw _0x51de32['reason']instanceof Error?_0x51de32[_0x47a716(0xad)]:new DOMException(_0x47a716(0x9e),_0x47a716(0x8d));}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a338_0x24eb4a=a338_0x4178;(function(_0x5bb146,_0x5bd826){const _0x5402a5=a338_0x4178,_0x1de3db=_0x5bb146();while(!![]){try{const _0x31dc94=-parseInt(_0x5402a5(0x15c))/0x1*(parseInt(_0x5402a5(0x165))/0x2)+-parseInt(_0x5402a5(0x15d))/0x3*(parseInt(_0x5402a5(0x163))/0x4)+parseInt(_0x5402a5(0x164))/0x5+parseInt(_0x5402a5(0x15f))/0x6+-parseInt(_0x5402a5(0x167))/0x7+-parseInt(_0x5402a5(0x15e))/0x8*(parseInt(_0x5402a5(0x160))/0x9)+parseInt(_0x5402a5(0x168))/0xa*(parseInt(_0x5402a5(0x162))/0xb);if(_0x31dc94===_0x5bd826)break;else _0x1de3db['push'](_0x1de3db['shift']());}catch(_0x2ee530){_0x1de3db['push'](_0x1de3db['shift']());}}}(a338_0x4971,0x6bef2));function a338_0x4178(_0x37b575,_0x23b22b){_0x37b575=_0x37b575-0x15c;const _0x4971ba=a338_0x4971();let _0x4178dc=_0x4971ba[_0x37b575];return _0x4178dc;}let tail=Promise[a338_0x24eb4a(0x166)]();function a338_0x4971(){const _0x37f20a=['824CxisQi','1778388IBJcLB','11817mjwpdK','catch','11DhmLfv','64492DivVjN','2442465vuvvJM','57254kouipp','resolve','3257044SHmmvc','8556110oTHioD','13zEHdyd','42oPgDHL'];a338_0x4971=function(){return _0x37f20a;};return a338_0x4971();}export async function runSerialized(_0x4050f4){const _0x24dfb5=a338_0x24eb4a,_0x3ffaba=tail;let _0x48552a;tail=new Promise(_0x226c11=>{_0x48552a=_0x226c11;}),await _0x3ffaba[_0x24dfb5(0x161)](()=>undefined);try{return await _0x4050f4();}finally{_0x48552a();}}
|
package/lib/runtime/resolve.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x54a3d3,_0x44c060){const _0x464da9=a339_0x1992,_0x1f8930=_0x54a3d3();while(!![]){try{const _0x57df61=parseInt(_0x464da9(0x109))/0x1*(-parseInt(_0x464da9(0x107))/0x2)+parseInt(_0x464da9(0x106))/0x3+parseInt(_0x464da9(0xfc))/0x4+-parseInt(_0x464da9(0x10a))/0x5*(parseInt(_0x464da9(0xff))/0x6)+-parseInt(_0x464da9(0x10b))/0x7*(-parseInt(_0x464da9(0xfb))/0x8)+parseInt(_0x464da9(0xf4))/0x9+-parseInt(_0x464da9(0x102))/0xa*(parseInt(_0x464da9(0xf9))/0xb);if(_0x57df61===_0x44c060)break;else _0x1f8930['push'](_0x1f8930['shift']());}catch(_0x358c9f){_0x1f8930['push'](_0x1f8930['shift']());}}}(a339_0x58d9,0xc8cd3));import a339_0x76e681 from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';function a339_0x58d9(){const _0x4594f7=['13507470QActHh','wildcardDef','input','hint','unknownCommand','35607clCOoJ','validation','1175704PoUeaM','1720960MAiRjZ','run','defaultCommand','6scpikv','slice','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','3170YHwqrd','flags','message','join','3374007MaBxnc','57626idEJEM','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','18OEqDzb','7851355IEYFvP','42VSqszZ','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.'];a339_0x58d9=function(){return _0x4594f7;};return a339_0x58d9();}import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';import{assertSupportedCommandFlags}from'../framework/supported-flags.js';function a339_0x1992(_0x585be3,_0x4f3b36){_0x585be3=_0x585be3-0xf4;const _0x58d9d3=a339_0x58d9();let _0x199230=_0x58d9d3[_0x585be3];return _0x199230;}export async function resolveRabetbaseInvocation(_0x2636d1){const _0x36bf37=a339_0x1992,_0xfa559b=a339_0x76e681('',{'importMeta':import.meta,'argv':[..._0x2636d1],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x2f5b62=[..._0xfa559b[_0x36bf37(0xf6)]],_0xa69b1d=_0xfa559b[_0x36bf37(0x103)],_0x4d4df8=_0x2f5b62[0x0];if(!_0x4d4df8)throw CliErrors['validation'](_0x36bf37(0x108));const _0x3a2f5e=resolveRemovedCommand(_0x4d4df8,_0x2f5b62[0x1]);if(_0x3a2f5e)throw CliErrors[_0x36bf37(0xfa)](_0x3a2f5e[_0x36bf37(0x104)],_0x3a2f5e[_0x36bf37(0xf7)]);if(_0x4d4df8===_0x36bf37(0xfd))throw CliErrors[_0x36bf37(0xfa)](_0x36bf37(0x101),_0x36bf37(0x10c));if(!isKnownService(_0x4d4df8))throw CliErrors[_0x36bf37(0xf8)](_0x2f5b62[_0x36bf37(0x105)]('\x20'));const _0x5c42bf=getServiceEntry(_0x4d4df8),_0x1dc725=_0x2f5b62[0x1],_0x186eee=_0x1dc725||_0x5c42bf[_0x36bf37(0xfe)];if(!_0x186eee){if(_0x5c42bf[_0x36bf37(0xf5)])return{'definition':_0x5c42bf[_0x36bf37(0xf5)],'rawFlags':_0xa69b1d,'args':[]};throw CliErrors[_0x36bf37(0xfa)]('Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x4d4df8+'\x22.');}const _0x5326d7=findDefinition(_0x4d4df8,_0x186eee);if(_0x5326d7)return assertSupportedCommandFlags(_0x5326d7,_0xa69b1d),{'definition':_0x5326d7,'rawFlags':_0xa69b1d,'args':_0x2f5b62[_0x36bf37(0x100)](0x2)};if(_0x5c42bf[_0x36bf37(0xf5)])return{'definition':_0x5c42bf['wildcardDef'],'rawFlags':_0xa69b1d,'args':[_0x186eee,..._0x2f5b62[_0x36bf37(0x100)](0x2)]};throw CliErrors[_0x36bf37(0xf8)](_0x4d4df8+'\x20'+_0x186eee);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x15294a,_0x44ca82){const _0x141846=a341_0x549b,_0x1030f9=_0x15294a();while(!![]){try{const _0x2290c0=-parseInt(_0x141846(0x131))/0x1+parseInt(_0x141846(0x140))/0x2+parseInt(_0x141846(0x133))/0x3*(parseInt(_0x141846(0x125))/0x4)+parseInt(_0x141846(0x13e))/0x5*(parseInt(_0x141846(0x12a))/0x6)+parseInt(_0x141846(0x13b))/0x7+-parseInt(_0x141846(0x13a))/0x8*(parseInt(_0x141846(0x124))/0x9)+-parseInt(_0x141846(0x128))/0xa;if(_0x2290c0===_0x44ca82)break;else _0x1030f9['push'](_0x1030f9['shift']());}catch(_0x22a510){_0x1030f9['push'](_0x1030f9['shift']());}}}(a341_0x76d5,0x39f48));function a341_0x76d5(){const _0x9fa9ea=['close','1302620npNHfY','test','1231080apBIaR','code','Checkpoint\x20must\x20be\x20a\x20regular\x20JSON\x20file.','clientOperationId','identityKey','dataset-design-operation','utf8','312290PxAytO','ENOENT','51sPwnXs','EEXIST','isFile','kind','Invalid\x20checkpoint;\x20reconcile\x20its\x20original\x20operation\x20before\x20submitting\x20again.','string','parse','30896KpaCsf','1416786CEjjUR','writeFile','isSymbolicLink','5hyAOee','size','332276NqKQAL','schemaVersion','sync','length','855hVrBVp','111320jjAKEE','catch'];a341_0x76d5=function(){return _0x9fa9ea;};return a341_0x76d5();}import{randomUUID}from'node:crypto';function a341_0x549b(_0x18c486,_0x54bd4d){_0x18c486=_0x18c486-0x121;const _0x76d53f=a341_0x76d5();let _0x549b27=_0x76d53f[_0x18c486];return _0x549b27;}import{dirname}from'node:path';import{mkdir,open,link,unlink,rename,lstat,readFile}from'node:fs/promises';import{isObject,requireValue}from'./contract.js';export async function readCheckpoint(_0x30dd2e){const _0x3c9147=a341_0x549b;try{const _0x1c85ad=await lstat(_0x30dd2e);requireValue(_0x1c85ad[_0x3c9147(0x135)]()&&!_0x1c85ad[_0x3c9147(0x13d)]()&&_0x1c85ad[_0x3c9147(0x13f)]<=0x3d0900,_0x3c9147(0x12c));const _0x9e336e=JSON[_0x3c9147(0x139)](await readFile(_0x30dd2e,_0x3c9147(0x130)));return requireValue(isObject(_0x9e336e)&&_0x9e336e[_0x3c9147(0x136)]===_0x3c9147(0x12f)&&_0x9e336e[_0x3c9147(0x121)]===0x1&&typeof _0x9e336e[_0x3c9147(0x12d)]===_0x3c9147(0x138)&&/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/['test'](_0x9e336e[_0x3c9147(0x12d)])&&typeof _0x9e336e['inputHash']===_0x3c9147(0x138)&&/^[a-f0-9]{64}$/[_0x3c9147(0x129)](_0x9e336e['inputHash'])&&typeof _0x9e336e[_0x3c9147(0x12e)]==='string'&&_0x9e336e[_0x3c9147(0x12e)][_0x3c9147(0x123)]>0x0&&isObject(_0x9e336e['manifest']),_0x3c9147(0x137)),_0x9e336e;}catch(_0x222ea3){if(_0x222ea3[_0x3c9147(0x12b)]==='ENOENT')return undefined;throw _0x222ea3;}}export async function saveCheckpoint(_0x25f7b5,_0x514d47,_0x4981f5=![]){const _0x3ae2cd=a341_0x549b;await mkdir(dirname(_0x25f7b5),{'recursive':!![]});const _0x2b7f65=_0x25f7b5+'.'+randomUUID()+'.tmp',_0x2ac768=await open(_0x2b7f65,'wx',0x180);try{await _0x2ac768[_0x3ae2cd(0x13c)](JSON['stringify'](_0x514d47,null,0x2)+'\x0a'),await _0x2ac768[_0x3ae2cd(0x122)]();}finally{await _0x2ac768[_0x3ae2cd(0x127)]();}try{if(_0x4981f5)await link(_0x2b7f65,_0x25f7b5);else await rename(_0x2b7f65,_0x25f7b5);return!![];}catch(_0x2b76d1){if(_0x4981f5&&_0x2b76d1[_0x3ae2cd(0x12b)]===_0x3ae2cd(0x134))return![];throw _0x2b76d1;}finally{await unlink(_0x2b7f65)[_0x3ae2cd(0x126)](_0x46f018=>{const _0x148cec=_0x3ae2cd;if(_0x46f018['code']!==_0x148cec(0x132))throw _0x46f018;});}}
|