@lovrabet/rabetbase-cli 2.5.8-beta.2 → 2.5.9-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 +6 -6
- 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.d.ts +8 -5
- 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.d.ts +5 -3
- package/lib/commands/rule/shared.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/commands/task/index.js +1 -1
- package/lib/commands/task/status.js +1 -1
- package/lib/commands/tenant/index.js +1 -1
- package/lib/commands/tenant/members-list.js +1 -1
- package/lib/commands/tenant/shared.js +1 -1
- package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
- package/lib/commands/user-account/feishu-bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/add.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/commands/workspace/remove.js +1 -1
- package/lib/config/domain-config.js +1 -1
- package/lib/config/project-domain-routing.js +1 -1
- package/lib/config/region-config.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/paths.js +1 -1
- package/lib/constant/region.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/constant/routing-profile.js +1 -1
- package/lib/context/app-resolver.js +1 -1
- package/lib/context/auth-resolver.js +1 -1
- package/lib/context/config-loader.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.d.ts +14 -11
- 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.d.ts +2 -2
- package/lib/core/kb-management-client.js +1 -1
- package/lib/core/kb-search-client.d.ts +3 -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 +1 -1
- package/skills/rabetbase/SKILL.md +1 -1
- package/skills/rabetbase/references/rabetbase-kb.md +17 -15
- package/skills/rabetbase/references/rabetbase-rule.md +8 -6
- package/skills/rabetbase-dataset-generation/SKILL.md +1 -1
- package/skills/rabetbase-page-generation/SKILL.md +1 -1
- package/skills/rabetbase.manifest.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x17b20d,_0x11362d){var _0x24e8b8=a318_0x4fba,_0x1531dc=_0x17b20d();while(!![]){try{var _0xfb4bb4=parseInt(_0x24e8b8(0x1b3))/0x1*(-parseInt(_0x24e8b8(0x1aa))/0x2)+parseInt(_0x24e8b8(0x1b4))/0x3+-parseInt(_0x24e8b8(0x1b6))/0x4*(parseInt(_0x24e8b8(0x1a9))/0x5)+-parseInt(_0x24e8b8(0x1b5))/0x6*(-parseInt(_0x24e8b8(0x1a6))/0x7)+-parseInt(_0x24e8b8(0x1b7))/0x8*(parseInt(_0x24e8b8(0x1b1))/0x9)+-parseInt(_0x24e8b8(0x1a8))/0xa+-parseInt(_0x24e8b8(0x1af))/0xb*(-parseInt(_0x24e8b8(0x1b0))/0xc);if(_0xfb4bb4===_0x11362d)break;else _0x1531dc['push'](_0x1531dc['shift']());}catch(_0x477ee6){_0x1531dc['push'](_0x1531dc['shift']());}}}(a318_0x4da8,0xe234c));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a318_0x4fba(_0x76566d,_0x227f7c){_0x76566d=_0x76566d-0x1a6;var _0x4da848=a318_0x4da8();var _0x4fba4e=_0x4da848[_0x76566d];return _0x4fba4e;}function a318_0x4da8(){var _0x56093e=['defaultFormat','246644YPDxvq','4613898TKSlnW','6552NdlcCj','508NRAkFH','416uoEPPp','8092gyBLWz','compress','4822680CHZZgP','13515vyLYOq','4cIwGOB','flags','def','format','structuredErrors','4721321wYiDhP','12zGApaB','170334fwLdcP'];a318_0x4da8=function(){return _0x56093e;};return a318_0x4da8();}export function usesStructuredErrorOutput(_0x4764ee){var _0xf8a408=a318_0x4fba;return _0x4764ee?.[_0xf8a408(0x1ae)]===!![];}export function resolveErrorOutputFormat(_0x1179c2){var _0x1e2186=a318_0x4fba;if(!_0x1179c2[_0x1e2186(0x1ac)])return _0x1179c2[_0x1e2186(0x1b2)]??_0x1e2186(0x1a7);return resolveOutputConfig({'flags':_0x1179c2[_0x1e2186(0x1ab)]??{},'def':_0x1179c2[_0x1e2186(0x1ac)],'configDefault':_0x1179c2['defaultFormat']})[_0x1e2186(0x1ad)];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a319_0x3c7ffb=a319_0x4365;function a319_0x4365(_0x2f0d44,_0x4323af){_0x2f0d44=_0x2f0d44-0x16b;const _0x2d71d5=a319_0x2d71();let _0x4365f6=_0x2d71d5[_0x2f0d44];return _0x4365f6;}(function(_0x312789,_0x215338){const _0x6e2fa6=a319_0x4365,_0x4c3cda=_0x312789();while(!![]){try{const _0x47fd04=-parseInt(_0x6e2fa6(0x16e))/0x1*(-parseInt(_0x6e2fa6(0x177))/0x2)+-parseInt(_0x6e2fa6(0x170))/0x3+parseInt(_0x6e2fa6(0x16c))/0x4*(parseInt(_0x6e2fa6(0x16d))/0x5)+-parseInt(_0x6e2fa6(0x176))/0x6*(-parseInt(_0x6e2fa6(0x16f))/0x7)+parseInt(_0x6e2fa6(0x173))/0x8+parseInt(_0x6e2fa6(0x175))/0x9*(parseInt(_0x6e2fa6(0x16b))/0xa)+parseInt(_0x6e2fa6(0x172))/0xb*(-parseInt(_0x6e2fa6(0x171))/0xc);if(_0x47fd04===_0x215338)break;else _0x4c3cda['push'](_0x4c3cda['shift']());}catch(_0x203f1f){_0x4c3cda['push'](_0x4c3cda['shift']());}}}(a319_0x2d71,0xc4732));const EXPLICIT_YES_COMMANDS=new Set([a319_0x3c7ffb(0x17b),a319_0x3c7ffb(0x174),'notification\x20config-update',a319_0x3c7ffb(0x178)]);function a319_0x2d71(){const _0x178d47=['6yzgccQ','299075odNFhP','333186rXeOiT','8936184epMXFd','55bHOxmF','9349712YlpAVx','kb\x20delete','5661RyBSyr','138CBPAfM','139406BRAcPe','notification\x20config-delete','service','has','menu\x20delete','12590cUkiaz','824MFrVwW','31010syfXlL'];a319_0x2d71=function(){return _0x178d47;};return a319_0x2d71();}export const EXPLICIT_YES_FLAG_DESCRIPTION='Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan';export function requiresExplicitYes(_0x429afd){const _0x235705=a319_0x3c7ffb;return EXPLICIT_YES_COMMANDS[_0x235705(0x17a)](_0x429afd[_0x235705(0x179)]+'\x20'+_0x429afd['command']);}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a320_0x2ebd8d=a320_0x5c24;(function(_0x1c1fb7,_0x282453){const _0x3a0871=a320_0x5c24,_0x418922=_0x1c1fb7();while(!![]){try{const _0x248b57=-parseInt(_0x3a0871(0x15d))/0x1*(-parseInt(_0x3a0871(0x162))/0x2)+-parseInt(_0x3a0871(0x15b))/0x3*(parseInt(_0x3a0871(0x15a))/0x4)+parseInt(_0x3a0871(0x161))/0x5+-parseInt(_0x3a0871(0x166))/0x6*(-parseInt(_0x3a0871(0x163))/0x7)+-parseInt(_0x3a0871(0x15f))/0x8*(parseInt(_0x3a0871(0x164))/0x9)+parseInt(_0x3a0871(0x160))/0xa*(-parseInt(_0x3a0871(0x165))/0xb)+parseInt(_0x3a0871(0x15e))/0xc;if(_0x248b57===_0x282453)break;else _0x418922['push'](_0x418922['shift']());}catch(_0x4bf4cb){_0x418922['push'](_0x418922['shift']());}}}(a320_0x57f5,0x9f3b3));function a320_0x5c24(_0x3d6c34,_0x695491){_0x3d6c34=_0x3d6c34-0x15a;const _0x57f5c6=a320_0x57f5();let _0x5c24e0=_0x57f5c6[_0x3d6c34];return _0x5c24e0;}import{createFlagHelpers}from'@lovrabet/cli-framework';function a320_0x57f5(){const _0x3b526b=['1464tuHqns','658740XnjJSL','5468920TFukQL','134UjSERw','4340JKlwKp','32490mDhpSC','99MPVHUC','7158kFbUAY','546088JCwHFN','9uLjkPr','validateFlags','6413qFzFVv','625896dGuTtH'];a320_0x57f5=function(){return _0x3b526b;};return a320_0x57f5();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a320_0x2ebd8d(0x15c)];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2c4555,_0x3ff669){const _0x55e7c1=a321_0xaaa9,_0x24563b=_0x2c4555();while(!![]){try{const _0x5dffe7=parseInt(_0x55e7c1(0xc6))/0x1+-parseInt(_0x55e7c1(0xce))/0x2+-parseInt(_0x55e7c1(0xd1))/0x3+parseInt(_0x55e7c1(0xd0))/0x4*(-parseInt(_0x55e7c1(0xc8))/0x5)+parseInt(_0x55e7c1(0xda))/0x6*(-parseInt(_0x55e7c1(0xcb))/0x7)+-parseInt(_0x55e7c1(0xd9))/0x8*(-parseInt(_0x55e7c1(0xcd))/0x9)+-parseInt(_0x55e7c1(0xd8))/0xa*(-parseInt(_0x55e7c1(0xd3))/0xb);if(_0x5dffe7===_0x3ff669)break;else _0x24563b['push'](_0x24563b['shift']());}catch(_0x4b56da){_0x24563b['push'](_0x24563b['shift']());}}}(a321_0x5564,0x94224));function a321_0x5564(){const _0x3a7389=['\x20workspace\x20init`\x20or\x20--appcode).','4679395qQafTQ','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.','42525hpCXPg','751802WZwXlp','generateCommandHelp','4834840yAuJsK','1974330fvgwQS','generateServiceHelp','22539121KKqRVm','replace','get','Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','\x20[args]\x20[flags]','10OCWEMr','1928yQSvbg','6AKQaVo','330226wCSWiA','generateFullHelp','5IHBHiE','Requires\x20appcode\x20(set\x20via\x20`'];a321_0x5564=function(){return _0x3a7389;};return a321_0x5564();}import{createHelpGenerators}from'@lovrabet/cli-framework';function a321_0xaaa9(_0x500d01,_0x19c596){_0x500d01=_0x500d01-0xc6;const _0x5564d8=a321_0x5564();let _0xaaa970=_0x5564d8[_0x500d01];return _0xaaa970;}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 _0x177554=a321_0xaaa9;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x59a8a9=>serviceGroups[_0x177554(0xd5)](_0x59a8a9),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x177554(0xc9)+CLI_BIN_NAME+_0x177554(0xca),'serviceUsageSuffix':_0x177554(0xd7)});}export function generateCommandHelp(_0x18af70){const _0xfb54c5=a321_0xaaa9,_0x249368=createGenerators()[_0xfb54c5(0xcf)](_0x18af70);if(!requiresExplicitYes(_0x18af70))return _0x249368;return _0x249368[_0xfb54c5(0xd4)](_0xfb54c5(0xd6),_0xfb54c5(0xcc));}export function generateServiceHelp(_0x1eabf9){const _0x2e9557=a321_0xaaa9;return createGenerators()[_0x2e9557(0xd2)](_0x1eabf9);}export function generateFullHelp(){const _0x44e8ee=a321_0xaaa9;return createGenerators()[_0x44e8ee(0xc7)]();}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x196a05,_0x1e06d7){var _0x53d571=a322_0x3177,_0x4658dc=_0x196a05();while(!![]){try{var _0x31213d=parseInt(_0x53d571(0x179))/0x1+-parseInt(_0x53d571(0x178))/0x2*(-parseInt(_0x53d571(0x17b))/0x3)+parseInt(_0x53d571(0x17d))/0x4*(parseInt(_0x53d571(0x17a))/0x5)+parseInt(_0x53d571(0x17e))/0x6*(parseInt(_0x53d571(0x17c))/0x7)+-parseInt(_0x53d571(0x176))/0x8+-parseInt(_0x53d571(0x177))/0x9+-parseInt(_0x53d571(0x17f))/0xa;if(_0x31213d===_0x1e06d7)break;else _0x4658dc['push'](_0x4658dc['shift']());}catch(_0x3500ed){_0x4658dc['push'](_0x4658dc['shift']());}}}(a322_0x14c9,0x7a951));function a322_0x3177(_0x9c6575,_0x2b08c0){_0x9c6575=_0x9c6575-0x176;var _0x14c94c=a322_0x14c9();var _0x3177bd=_0x14c94c[_0x9c6575];return _0x3177bd;}export{runCommand}from'../framework/runner.js';function a322_0x14c9(){var _0x583201=['6coLEhv','7788160jsAYXx','1462488BKiJmg','6551172NHXqBV','19078MMoyBL','200277DQpaaM','15siTZpT','135AxJJIF','5077065zNVxDx','1115740HSyAga'];a322_0x14c9=function(){return _0x583201;};return a322_0x14c9();}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x26e9d6,_0x25898d){const _0x1fe24a=a323_0x5998,_0x24287b=_0x26e9d6();while(!![]){try{const _0x4aabd8=parseInt(_0x1fe24a(0x113))/0x1+-parseInt(_0x1fe24a(0x11b))/0x2+parseInt(_0x1fe24a(0x10f))/0x3+parseInt(_0x1fe24a(0x118))/0x4*(-parseInt(_0x1fe24a(0x11d))/0x5)+-parseInt(_0x1fe24a(0x115))/0x6*(-parseInt(_0x1fe24a(0x111))/0x7)+-parseInt(_0x1fe24a(0x11e))/0x8*(-parseInt(_0x1fe24a(0x119))/0x9)+-parseInt(_0x1fe24a(0x121))/0xa;if(_0x4aabd8===_0x25898d)break;else _0x24287b['push'](_0x24287b['shift']());}catch(_0x43a878){_0x24287b['push'](_0x24287b['shift']());}}}(a323_0x28c4,0x9c2d0));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';import{applyJqFilter}from'../utils/apply-jq-filter.js';function a323_0x28c4(){const _0x8caf0a=['validation','1876040TyAPiJ','jq:\x20','261470qeBgFs','16aHRxEB','command','hint','3366460GPlzML','message','json','write','data','jqFilter','url','stdout','stringify','code','error','2179512xSxJfY','format','1057udPGVM','pretty','1216929pGxGat','trim','198eAjiBU','endsWith','update','24GOfavs','1258695uFdvGI'];a323_0x28c4=function(){return _0x8caf0a;};return a323_0x28c4();}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x3e9377,_0xf1cf0){const _0x5017b9=a323_0x5998,_0x552529=_0x3e9377['_notice'],{_notice:_0x1edb24,..._0x488394}=_0x3e9377;void _0x1edb24,baseFormatOutput(_0x488394,_0xf1cf0),_0xf1cf0['format']===_0x5017b9(0x112)&&printPrettyNotice(_0x552529);}export function formatCliError(_0x407822,_0xa59116){const _0x4bb955=a323_0x5998;if(_0xa59116[_0x4bb955(0x110)]==='pretty')return![];const _0x10c555=_0x407822[_0x4bb955(0x125)],_0x5e2610={'ok':![],'command':_0xa59116[_0x4bb955(0x11f)],'risk':_0xa59116['risk'],'data':_0x10c555??null,'error':{'code':_0x407822[_0x4bb955(0x10d)],'message':_0x407822[_0x4bb955(0x122)],..._0x407822[_0x4bb955(0x120)]?{'hint':_0x407822[_0x4bb955(0x120)]}:{}}},_0x4c464b=_0xa59116[_0x4bb955(0x110)]===_0x4bb955(0x123)?JSON['stringify'](_0x5e2610,null,0x2):JSON[_0x4bb955(0x10c)](_0x5e2610);let _0x3d80e9=_0x4c464b;if(_0xa59116[_0x4bb955(0x126)]?.[_0x4bb955(0x114)]())try{_0x3d80e9=applyJqFilter(_0x4c464b,_0xa59116[_0x4bb955(0x126)]);}catch(_0x432be7){const _0x1c9843=_0x432be7 instanceof CliError?_0x432be7:CliErrors[_0x4bb955(0x11a)](_0x4bb955(0x11c)+(_0x432be7 instanceof Error?_0x432be7[_0x4bb955(0x122)]:String(_0x432be7))),_0x3d2a04={..._0x5e2610,'error':{'code':_0x1c9843[_0x4bb955(0x10d)],'message':_0x1c9843[_0x4bb955(0x122)],..._0x1c9843['hint']?{'hint':_0x1c9843['hint']}:{},'cause':_0x5e2610[_0x4bb955(0x10e)]}};_0x3d80e9=_0xa59116['format']==='json'?JSON[_0x4bb955(0x10c)](_0x3d2a04,null,0x2):JSON['stringify'](_0x3d2a04);}return process[_0x4bb955(0x10b)][_0x4bb955(0x124)](_0x3d80e9[_0x4bb955(0x116)]('\x0a')?_0x3d80e9:_0x3d80e9+'\x0a'),!![];}function a323_0x5998(_0x547bde,_0x3a849e){_0x547bde=_0x547bde-0x10a;const _0x28c411=a323_0x28c4();let _0x5998fb=_0x28c411[_0x547bde];return _0x5998fb;}function printPrettyNotice(_0x5ec024){const _0x362e00=a323_0x5998;if(!_0x5ec024?.[_0x362e00(0x117)])return;console[_0x362e00(0x10e)](_0x5ec024[_0x362e00(0x117)][_0x362e00(0x122)]+'\x20('+_0x5ec024[_0x362e00(0x117)][_0x362e00(0x10a)]+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a324_0x3585(_0x315b75,_0x4498ba){_0x315b75=_0x315b75-0x6c;var _0x522170=a324_0x5221();var _0x35850b=_0x522170[_0x315b75];return _0x35850b;}(function(_0x5400c0,_0x1b1cb6){var _0x15cea9=a324_0x3585,_0x21b6e0=_0x5400c0();while(!![]){try{var _0x1fc0a9=-parseInt(_0x15cea9(0x71))/0x1+-parseInt(_0x15cea9(0x72))/0x2+-parseInt(_0x15cea9(0x6f))/0x3*(parseInt(_0x15cea9(0x74))/0x4)+parseInt(_0x15cea9(0x70))/0x5+parseInt(_0x15cea9(0x73))/0x6+-parseInt(_0x15cea9(0x6e))/0x7*(parseInt(_0x15cea9(0x75))/0x8)+-parseInt(_0x15cea9(0x6c))/0x9*(-parseInt(_0x15cea9(0x6d))/0xa);if(_0x1fc0a9===_0x1b1cb6)break;else _0x21b6e0['push'](_0x21b6e0['shift']());}catch(_0x42df0b){_0x21b6e0['push'](_0x21b6e0['shift']());}}}(a324_0x5221,0x93945));function a324_0x5221(){var _0x183ba8=['6796008pjGZqT','203056PoUQZG','1676456mrzDRW','45VBGAGn','3570520vDAVdF','35OHxYaG','63MbEgYp','2240235xlujbQ','2512QQhwJC','1290298aITleG'];a324_0x5221=function(){return _0x183ba8;};return a324_0x5221();}export{extractList,extractPaging}from'@lovrabet/cli-framework';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x103481,_0x551d85){const _0x586567=a325_0x351a,_0x1b9077=_0x103481();while(!![]){try{const _0x137d0d=parseInt(_0x586567(0x165))/0x1+parseInt(_0x586567(0x16f))/0x2*(parseInt(_0x586567(0x169))/0x3)+parseInt(_0x586567(0x166))/0x4*(-parseInt(_0x586567(0x15b))/0x5)+parseInt(_0x586567(0x156))/0x6+-parseInt(_0x586567(0x168))/0x7*(-parseInt(_0x586567(0x15c))/0x8)+-parseInt(_0x586567(0x15d))/0x9+-parseInt(_0x586567(0x160))/0xa;if(_0x137d0d===_0x551d85)break;else _0x1b9077['push'](_0x1b9077['shift']());}catch(_0x448586){_0x1b9077['push'](_0x1b9077['shift']());}}}(a325_0x997e,0x2407c));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';function a325_0x997e(){const _0x2adb48=['\x22.\x20','some','`\x20requires\x20either\x20--code\x20or\x20--alias.','validation','10JLFklQ','8760FZFJYH','2103912UtssEi','No\x20model\x20aliases\x20found\x20in\x20','string','1906880lOXDDz','type','filePath','map','Unknown\x20alias\x20\x22','232926JpjIzT','87268LeSrCj','\x20api\x20pull`\x20first.','539nwRRoX','33303jAJYlK','name','flags','code','alias','profileName','2PgDznQ','1723968uoaUig'];a325_0x997e=function(){return _0x2adb48;};return a325_0x997e();}function a325_0x351a(_0x26f610,_0x4fe67c){_0x26f610=_0x26f610-0x156;const _0x997e9c=a325_0x997e();let _0x351ac2=_0x997e9c[_0x26f610];return _0x351ac2;}import{resolveApiModelSource}from'../api/model-source.js';export function resolveAliasToCode(_0x1bfa9c,_0x4d9f6a,_0x4667e8,_0x3022f6,_0x2fb0f7,_0x3997d6){const _0x76285b=a325_0x351a,_0x4e8f36=_0x1bfa9c[_0x76285b(0x16b)]['some'](_0x468b6d=>_0x468b6d[_0x76285b(0x16a)]===_0x76285b(0x16c)&&_0x468b6d[_0x76285b(0x161)]==='string'),_0x486332=_0x1bfa9c[_0x76285b(0x16b)][_0x76285b(0x158)](_0x3a7db7=>_0x3a7db7[_0x76285b(0x16a)]===_0x76285b(0x16d)&&_0x3a7db7['type']===_0x76285b(0x15f));if(!_0x4e8f36||!_0x486332)return;const _0x4452ff=_0x4d9f6a['code']?String(_0x4d9f6a['code']):'',_0x544330=_0x4d9f6a[_0x76285b(0x16d)]?String(_0x4d9f6a[_0x76285b(0x16d)]):'';if(!_0x4452ff&&!_0x544330)throw CliErrors[_0x76285b(0x15a)]('`'+_0x3022f6+_0x76285b(0x159));if(_0x544330&&!_0x4452ff){const _0xf6e8c=resolveApiModelSource(_0x4667e8,_0x2fb0f7,_0x3997d6),_0x46dff6=resolveAlias(_0x4667e8,_0x544330,undefined,_0xf6e8c[_0x76285b(0x162)],_0xf6e8c['profileName']);if(!_0x46dff6){const _0x249fe8=listAliases(_0x4667e8,undefined,_0xf6e8c[_0x76285b(0x162)],_0xf6e8c[_0x76285b(0x16e)])[_0x76285b(0x163)](_0xe1e03d=>_0xe1e03d[_0x76285b(0x16d)]),_0x5ab9f8=_0x249fe8['length']?'Available\x20aliases:\x20'+_0x249fe8['join'](',\x20'):_0x76285b(0x15e)+_0x4667e8+'.\x20Run\x20`'+CLI_BIN_NAME+_0x76285b(0x167);throw CliErrors['validation'](_0x76285b(0x164)+_0x544330+_0x76285b(0x157)+_0x5ab9f8);}_0x4d9f6a['code']=_0x46dff6;}}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x14a652,_0x2a39f2){const _0x273452=a326_0x32a2,_0x1dedab=_0x14a652();while(!![]){try{const _0x735cd6=parseInt(_0x273452(0xe4))/0x1+parseInt(_0x273452(0xbc))/0x2+-parseInt(_0x273452(0xff))/0x3+parseInt(_0x273452(0xe6))/0x4+-parseInt(_0x273452(0xc2))/0x5+parseInt(_0x273452(0xc0))/0x6*(-parseInt(_0x273452(0xc1))/0x7)+-parseInt(_0x273452(0xd7))/0x8*(-parseInt(_0x273452(0xe7))/0x9);if(_0x735cd6===_0x2a39f2)break;else _0x1dedab['push'](_0x1dedab['shift']());}catch(_0x3759ce){_0x1dedab['push'](_0x1dedab['shift']());}}}(a326_0x3d5b,0x57f02));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_0x2612a8}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x3b985e){const _0x43ed24=a326_0x32a2;return typeof _0x3b985e==='string'&&_0x3b985e[_0x43ed24(0xdb)]()?_0x3b985e[_0x43ed24(0xdb)]():undefined;}function resolveEnvAppCode(){const _0x4e3729=a326_0x32a2,_0x471b27=stringFlag(process.env.RABETBASE_APPCODE);if(_0x471b27)return{'name':'RABETBASE_APPCODE','value':_0x471b27};const _0x438b6b=stringFlag(process.env.LOVRABET_APPCODE);if(_0x438b6b)return{'name':_0x4e3729(0x109),'value':_0x438b6b};return undefined;}function hasExplicitAppCode(_0x25c7d3,_0xa3b884){const _0x18c951=a326_0x32a2;return!!(stringFlag(_0x25c7d3[_0x18c951(0xbd)])||stringFlag(_0xa3b884[_0x18c951(0xbd)]));}function a326_0x32a2(_0x53131b,_0x47e0ae){_0x53131b=_0x53131b-0xbc;const _0x3d5b59=a326_0x3d5b();let _0x32a272=_0x3d5b59[_0x53131b];return _0x32a272;}function assertEnvAppCodeNotIgnored(_0x246e05,_0x105958,_0x58b16e){const _0x2e6dac=a326_0x32a2;if(!_0x105958||_0x58b16e||_0x246e05===_0x105958[_0x2e6dac(0xf2)])return;const _0x375613=_0x246e05?_0x2e6dac(0x10b)+_0x246e05+'\x22.':_0x2e6dac(0xed);throw CliErrors[_0x2e6dac(0xbe)](_0x105958[_0x2e6dac(0xd5)]+'='+_0x105958[_0x2e6dac(0xf2)]+_0x2e6dac(0xd8)+_0x375613+'\x20'+(_0x2e6dac(0xd3)+_0x105958['name']+'\x22.'));}export function createPipelineEnv(_0x1655cb,_0x74194,_0x1c6c2c=[]){const _0x286ab6=a326_0x32a2;return{'rawFlags':_0x74194,'args':_0x1c6c2c,'resolveAppCode':()=>_0x1655cb[_0x286ab6(0xc6)],'resolveCookie':()=>_0x1655cb[_0x286ab6(0x10f)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a326_0x2612a8(_0x74194),'defaultFormat':_0x1655cb[_0x286ab6(0xc5)],'defaultPageSize':_0x1655cb[_0x286ab6(0xf3)],'defaultVerbose':_0x1655cb[_0x286ab6(0xe1)],'apiDir':_0x1655cb[_0x286ab6(0xcf)],'riskLevel':_0x1655cb['riskLevel'],'selectedAppName':_0x1655cb[_0x286ab6(0xe5)],'mergedCli':{'defaultApp':_0x1655cb['defaultApp'],'currentApp':_0x1655cb[_0x286ab6(0x10e)],'appCode':_0x1655cb[_0x286ab6(0xc6)],'apps':_0x1655cb[_0x286ab6(0xdd)]}};}export function createRabetbaseRunnerAdapter(_0x27f6c8={}){const _0x5e23e6=a326_0x32a2;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x5e23e6(0xc9)](_0x2952f8=>PIPELINE_FLAG_NAMES[_0x5e23e6(0xd6)](_0x2952f8[_0x5e23e6(0xd5)]))[_0x5e23e6(0xe2)](({name:_0x230325,type:_0xa79b8a,description:_0x4c83e8})=>({'name':_0x230325,'type':_0xa79b8a,'description':_0x4c83e8})),'formatOutput':_0x27f6c8['formatOutput']??formatOutput,'getCommandLabel'(_0x15b50c){const _0x55a15f=_0x5e23e6;return CLI_BIN_NAME+'\x20'+_0x15b50c[_0x55a15f(0xc4)]+'\x20'+_0x15b50c[_0x55a15f(0x10a)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3effd3,{def:_0x6f1d57}){const _0x44fd7f=_0x5e23e6,_0x52e01a=_0x3effd3['includes'](_0x44fd7f(0xf1))?_0x44fd7f(0xf6):_0x44fd7f(0x103)+_0x6f1d57[_0x44fd7f(0xe0)]+_0x44fd7f(0xfd)+_0x44fd7f(0xf6);return CliErrors[_0x44fd7f(0xbe)](_0x3effd3+'\x0a\x20\x20'+_0x52e01a);}},async 'prepare'(_0x32abd0,_0x5b10f2,_0x544881,_0x45a58e){const _0x2362d1=_0x5e23e6,_0x36dbc5=_0x5b10f2['apiDir']||DEFAULT_API_DIR,_0x3f335b=hasExplicitAppCode(_0x544881,_0x5b10f2[_0x2362d1(0xf7)]),_0x4cb026=stringFlag(_0x544881['appcode'])||stringFlag(_0x5b10f2['rawFlags'][_0x2362d1(0xbd)]),_0x4df873=_0x5b10f2[_0x2362d1(0xfc)]?.[_0x2362d1(0xdd)]??{},_0x2655f5=_0x5b10f2['selectedAppName']||_0x5b10f2[_0x2362d1(0xfc)]?.[_0x2362d1(0x10e)]||_0x5b10f2[_0x2362d1(0xfc)]?.[_0x2362d1(0x10c)],_0x4e6ccd=_0x4cb026?Object[_0x2362d1(0xe3)](_0x4df873)['filter'](([,_0x4d7a3c])=>_0x4d7a3c[_0x2362d1(0xbd)]===_0x4cb026)[_0x2362d1(0xe2)](([_0x4a6664])=>_0x4a6664):[];if(_0x4e6ccd['length']>0x1&&!_0x5b10f2['selectedAppName'])throw CliErrors[_0x2362d1(0xbe)](_0x2362d1(0xec)+_0x4cb026+_0x2362d1(0xbf)+_0x4e6ccd['join'](',\x20')+'.',_0x2362d1(0xdc));resolveAliasToCode(_0x32abd0,_0x544881,_0x36dbc5,_0x45a58e,_0x5b10f2[_0x2362d1(0x108)](),_0x2655f5);const _0x2d792f=resolveCommandAuthMode(_0x32abd0);let _0x314fa6='';if(_0x2d792f!==_0x2362d1(0xe8)){_0x314fa6=_0x5b10f2['resolveCookie']()||'';if(!_0x314fa6){if(_0x2d792f===_0x2362d1(0xfb))throw CliErrors[_0x2362d1(0xe9)]();}else{const {setActiveCookie:_0x50bea8}=await import(_0x2362d1(0xd2));_0x50bea8(_0x314fa6);}}const _0x5b2da0=_0x5b10f2[_0x2362d1(0x108)]()??'';if(_0x32abd0[_0x2362d1(0x107)]!==![]){if(!_0x3f335b&&_0x2655f5&&!_0x4df873[_0x2655f5]){const _0x44aa31=Object['keys'](_0x4df873);throw CliErrors['validation'](_0x2362d1(0x104)+_0x2655f5+'\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.',_0x44aa31['length']>0x0?_0x2362d1(0xee)+_0x44aa31[_0x2362d1(0xc3)](',\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+_0x2362d1(0xda));}assertEnvAppCodeNotIgnored(_0x5b2da0,resolveEnvAppCode(),_0x3f335b);if(!_0x5b2da0){const _0x5d7698=Object['keys'](_0x4df873);if(!_0x2655f5&&_0x5d7698['length']>0x1)throw CliErrors[_0x2362d1(0xef)]('Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`'+CLI_BIN_NAME+'\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20'+_0x5d7698[_0x2362d1(0xc3)](',\x20')+'.');throw CliErrors['configMissing'](_0x2362d1(0xde)+CLI_BIN_NAME+_0x2362d1(0xfa));}}return{'defaults':{'booleans':{'verbose':_0x5b10f2[_0x2362d1(0xd4)]},'numbers':{'pagesize':_0x5b10f2[_0x2362d1(0x10d)]}},'extras':{'appCode':_0x5b2da0,'cookie':_0x314fa6,'apiDomain':_0x5b10f2['resolveApiDomain'](),'apiDir':_0x36dbc5,'selectedAppName':_0x5b10f2[_0x2362d1(0x105)],'mergedCli':_0x5b10f2[_0x2362d1(0xfc)]}};},'confirmHighRisk':_0x27f6c8[_0x5e23e6(0x102)]??(async({env:_0x2fcb10,commandLabel:_0x2571aa})=>{const _0x2329b8=_0x5e23e6;if(_0x2fcb10[_0x2329b8(0xea)])throw CliErrors['validation'](_0x2329b8(0xf9)+_0x2571aa+_0x2329b8(0xdf));await requireConfirmationPrompt({'lines':[_0x2329b8(0xf8)+_0x2571aa,'\x20\x20\x20Continue?\x20[y/N]\x20'],'createCancelledError':_0x3e0ac3=>CliErrors['cancelled'](_0x3e0ac3)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x45074f=a326_0x32a2,{clearActiveCookie:_0x7b45c6}=await import(_0x45074f(0xd2));_0x7b45c6();}export async function finalizeRabetbaseRuntimeState(){const _0xa484eb=a326_0x32a2;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x3a30dd},{initEnv:_0x472462}]=await Promise['all']([import(_0xa484eb(0xf5)),import(_0xa484eb(0x110))]);_0x3a30dd(),_0x472462(_0xa484eb(0xfe));}}export async function runCommand(_0x1d8565,_0x2d0a3e,_0xd77c9e=terminalRunnerAdapter){assertRejectedFlags(_0x1d8565,_0x2d0a3e['rawFlags']),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x1d8565)?withUpdateNotice(_0x1d8565):_0x1d8565,_0x2d0a3e,_0xd77c9e);}function assertRejectedFlags(_0x5d255d,_0x1cd862){const _0xbec3c3=a326_0x32a2;for(const _0x114be6 of _0x5d255d['rejectedFlags']??[]){const _0x4fc9a1=GLOBAL_FLAGS['find'](_0x33422a=>_0x33422a[_0xbec3c3(0xd5)]===_0x114be6[_0xbec3c3(0xd5)]),_0x47e5f4=new Set([_0x114be6[_0xbec3c3(0xd5)],toCamelCase(_0x114be6[_0xbec3c3(0xd5)]),_0x4fc9a1?.[_0xbec3c3(0xca)]]),_0x517bbe=[..._0x47e5f4][_0xbec3c3(0xc7)](_0x1afc91=>{if(!_0x1afc91)return![];const _0x107474=_0x1cd862[_0x1afc91];return _0x107474!==undefined&&_0x107474!==null&&_0x107474!==![];});if(_0x517bbe)throw CliErrors[_0xbec3c3(0xbe)](_0x114be6[_0xbec3c3(0xc8)],_0x114be6[_0xbec3c3(0xf0)]);}}function toCamelCase(_0x216b8b){const _0x11ae33=a326_0x32a2;return _0x216b8b[_0x11ae33(0xf4)](/-([a-z])/g,(_0x2df4b5,_0x353a87)=>_0x353a87[_0x11ae33(0xd0)]());}function shouldAttachUpdateNotice(_0x48abb1){const _0x1bfd46=a326_0x32a2;if(_0x48abb1[_0x1bfd46(0xeb)]===![])return![];return![_0x1bfd46(0xcc),_0x1bfd46(0xd9),_0x1bfd46(0xcb)][_0x1bfd46(0xd1)](_0x48abb1[_0x1bfd46(0xc4)]);}function withUpdateNotice(_0x12ebe9){return{..._0x12ebe9,async 'execute'(_0x2051ff){const _0x23b24d=a326_0x32a2,_0x1c65b8=shouldResolveUpdateNotice(_0x2051ff)?resolveLatestUpdateNotice()[_0x23b24d(0x101)](()=>null):Promise['resolve'](null),_0x505998=await _0x12ebe9[_0x23b24d(0x100)](_0x2051ff);return attachUpdateNotice(_0x505998,await _0x1c65b8);}};}function shouldResolveUpdateNotice(_0x38db70){const _0x3e5d24=a326_0x32a2;return _0x38db70[_0x3e5d24(0xc5)]===_0x3e5d24(0xce)&&!_0x38db70['nonInteractive'];}function attachUpdateNotice(_0x5ceeb7,_0xea8d62){const _0x5ab136=a326_0x32a2;if(!_0xea8d62||!_0x5ceeb7||typeof _0x5ceeb7!==_0x5ab136(0x106))return _0x5ceeb7;const _0x1d979c=_0x5ceeb7,_0x1e1d3d=typeof _0x1d979c['_notice']===_0x5ab136(0x106)&&_0x1d979c[_0x5ab136(0xcd)]!==null?_0x1d979c[_0x5ab136(0xcd)]:{};return{..._0x1d979c,'_notice':{..._0x1e1d3d,'update':_0xea8d62}};}function a326_0x3d5b(){const _0x24b13a=['\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','schema','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','trim','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','apps','Set\x20appcode\x20via\x20`','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.','risk','verbose','map','entries','531750WxoUjk','explicitAppName','652880kNFCnN','21339hbPfGM','none','authRequired','isNonInteractive','hasFormat','AppCode\x20\x22','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','Available:\x20','configMissing','hint','Edit\x20the\x20config\x20file\x20manually','value','pageSize','replace','../constant/domain.js','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','rawFlags','⚠\x20\x20High-risk\x20operation:\x20','High-risk\x20operation\x20`','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','required','mergedCli','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','production','624885BrEsWw','execute','catch','confirmHighRisk','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','App\x20\x22','selectedAppName','object','requiresAppCode','resolveAppCode','LOVRABET_APPCODE','command','Current\x20resolved\x20appcode\x20is\x20\x22','defaultApp','defaultPageSize','currentApp','cookie','../constant/env.js','1265974ydkZPq','appcode','validation','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','66822nycwDz','329KUJSUp','2970250VUryER','join','service','format','appCode','some','message','filter','meowKey','doctor','update','_notice','pretty','apiDir','toUpperCase','includes','../core/api-client.js','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','defaultVerbose','name','has','1208KxYEtZ'];a326_0x3d5b=function(){return _0x24b13a;};return a326_0x3d5b();}
|
|
1
|
+
(function(_0x48ea66,_0x10fa32){const _0x1a3615=a326_0x212c,_0x4e9209=_0x48ea66();while(!![]){try{const _0x839e86=parseInt(_0x1a3615(0x117))/0x1*(-parseInt(_0x1a3615(0x105))/0x2)+-parseInt(_0x1a3615(0x10b))/0x3*(-parseInt(_0x1a3615(0x112))/0x4)+parseInt(_0x1a3615(0xde))/0x5*(-parseInt(_0x1a3615(0x111))/0x6)+parseInt(_0x1a3615(0xf7))/0x7*(parseInt(_0x1a3615(0xf9))/0x8)+parseInt(_0x1a3615(0x10f))/0x9+-parseInt(_0x1a3615(0x115))/0xa+parseInt(_0x1a3615(0x113))/0xb;if(_0x839e86===_0x10fa32)break;else _0x4e9209['push'](_0x4e9209['shift']());}catch(_0x18495e){_0x4e9209['push'](_0x4e9209['shift']());}}}(a326_0x5449,0xbc1da));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_0x4218fd}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x1814ca){const _0x1da63f=a326_0x212c;return typeof _0x1814ca===_0x1da63f(0xe5)&&_0x1814ca['trim']()?_0x1814ca['trim']():undefined;}function resolveEnvAppCode(){const _0x5802f1=a326_0x212c,_0x182706=stringFlag(process.env.RABETBASE_APPCODE);if(_0x182706)return{'name':'RABETBASE_APPCODE','value':_0x182706};const _0x358416=stringFlag(process.env.LOVRABET_APPCODE);if(_0x358416)return{'name':_0x5802f1(0x11b),'value':_0x358416};return undefined;}function hasExplicitAppCode(_0x193635,_0x5c6ce1){const _0x297f6f=a326_0x212c;return!!(stringFlag(_0x193635[_0x297f6f(0xdb)])||stringFlag(_0x5c6ce1[_0x297f6f(0xdb)]));}function assertEnvAppCodeNotIgnored(_0x30aabb,_0x204645,_0x955c9f){const _0xc90ea2=a326_0x212c;if(!_0x204645||_0x955c9f||_0x30aabb===_0x204645[_0xc90ea2(0xe7)])return;const _0x13438e=_0x30aabb?_0xc90ea2(0x120)+_0x30aabb+'\x22.':_0xc90ea2(0x100);throw CliErrors[_0xc90ea2(0xfc)](_0x204645[_0xc90ea2(0xdd)]+'='+_0x204645[_0xc90ea2(0xe7)]+_0xc90ea2(0x114)+_0x13438e+'\x20'+(_0xc90ea2(0xf2)+_0x204645['name']+'\x22.'));}export function createPipelineEnv(_0x419e5f,_0x17a3f3,_0x3ce917=[]){const _0x3edb2c=a326_0x212c;return{'rawFlags':_0x17a3f3,'args':_0x3ce917,'resolveAppCode':()=>_0x419e5f[_0x3edb2c(0xf6)],'resolveCookie':()=>_0x419e5f[_0x3edb2c(0x101)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a326_0x4218fd(_0x17a3f3),'defaultFormat':_0x419e5f[_0x3edb2c(0xec)],'defaultPageSize':_0x419e5f[_0x3edb2c(0xf1)],'defaultVerbose':_0x419e5f[_0x3edb2c(0x107)],'apiDir':_0x419e5f[_0x3edb2c(0x10c)],'riskLevel':_0x419e5f['riskLevel'],'selectedAppName':_0x419e5f[_0x3edb2c(0xff)],'mergedCli':{'defaultApp':_0x419e5f[_0x3edb2c(0xee)],'currentApp':_0x419e5f[_0x3edb2c(0x106)],'appCode':_0x419e5f['appCode'],'apps':_0x419e5f[_0x3edb2c(0x109)]}};}export function createRabetbaseRunnerAdapter(_0x1f8ddc={}){const _0x356f7b=a326_0x212c;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x169635=>PIPELINE_FLAG_NAMES[_0x356f7b(0x125)](_0x169635[_0x356f7b(0xdd)]))[_0x356f7b(0xfe)](({name:_0x34e0f4,type:_0x48433c,description:_0x32acc0})=>({'name':_0x34e0f4,'type':_0x48433c,'description':_0x32acc0})),'formatOutput':_0x1f8ddc['formatOutput']??formatOutput,'getCommandLabel'(_0x24e801){const _0x429fae=_0x356f7b;return CLI_BIN_NAME+'\x20'+_0x24e801['service']+'\x20'+_0x24e801[_0x429fae(0xf3)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x92e9fd,{def:_0x47fb55}){const _0x61d97a=_0x356f7b,_0x5a1b2c=_0x92e9fd[_0x61d97a(0x108)](_0x61d97a(0xe8))?'AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.':'A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22'+_0x47fb55[_0x61d97a(0x128)]+'\x22\x20if\x20this\x20operation\x20is\x20intended.\x20'+_0x61d97a(0xf5);return CliErrors[_0x61d97a(0xfc)](_0x92e9fd+_0x61d97a(0x10d)+_0x5a1b2c);}},async 'prepare'(_0x16447f,_0x4d0fc0,_0x237471,_0x50ddac){const _0x47174e=_0x356f7b,_0x36310a=_0x4d0fc0[_0x47174e(0x10c)]||DEFAULT_API_DIR,_0x174329=hasExplicitAppCode(_0x237471,_0x4d0fc0[_0x47174e(0x11f)]),_0x48f3dc=stringFlag(_0x237471[_0x47174e(0xdb)])||stringFlag(_0x4d0fc0['rawFlags'][_0x47174e(0xdb)]),_0x36d68b=_0x4d0fc0['mergedCli']?.[_0x47174e(0x109)]??{},_0x44b815=_0x4d0fc0[_0x47174e(0xfb)]||_0x4d0fc0[_0x47174e(0xef)]?.[_0x47174e(0x106)]||_0x4d0fc0['mergedCli']?.['defaultApp'],_0x5244cc=_0x48f3dc?Object[_0x47174e(0x12a)](_0x36d68b)['filter'](([,_0x1ddc31])=>_0x1ddc31[_0x47174e(0xdb)]===_0x48f3dc)[_0x47174e(0xfe)](([_0x5c7ee3])=>_0x5c7ee3):[];if(_0x5244cc[_0x47174e(0xe1)]>0x1&&!_0x4d0fc0[_0x47174e(0xfb)])throw CliErrors['validation'](_0x47174e(0xea)+_0x48f3dc+'\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20'+_0x5244cc['join'](',\x20')+'.',_0x47174e(0x118));resolveAliasToCode(_0x16447f,_0x237471,_0x36310a,_0x50ddac,_0x4d0fc0['resolveAppCode'](),_0x44b815);const _0x525636=resolveCommandAuthMode(_0x16447f);let _0x138032='';if(_0x525636!==_0x47174e(0x102)){_0x138032=_0x4d0fc0[_0x47174e(0xdc)]()||'';if(!_0x138032){if(_0x525636==='required')throw CliErrors[_0x47174e(0x11e)]();}else{const {setActiveCookie:_0x4c6100}=await import(_0x47174e(0x10a));_0x4c6100(_0x138032);}}const _0x4f027a=_0x4d0fc0[_0x47174e(0x110)]()??'';if(_0x16447f['requiresAppCode']!==![]){if(!_0x174329&&_0x44b815&&!_0x36d68b[_0x44b815]){const _0x16bf62=Object['keys'](_0x36d68b);throw CliErrors['validation'](_0x47174e(0xe3)+_0x44b815+_0x47174e(0xfd),_0x16bf62[_0x47174e(0xe1)]>0x0?_0x47174e(0x104)+_0x16bf62[_0x47174e(0xe4)](',\x20')+_0x47174e(0x10e)+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+_0x47174e(0x103));}assertEnvAppCodeNotIgnored(_0x4f027a,resolveEnvAppCode(),_0x174329);if(!_0x4f027a){const _0x33e220=Object[_0x47174e(0x116)](_0x36d68b);if(!_0x44b815&&_0x33e220[_0x47174e(0xe1)]>0x1)throw CliErrors['configMissing'](_0x47174e(0x119)+CLI_BIN_NAME+_0x47174e(0x127)+_0x33e220[_0x47174e(0xe4)](',\x20')+'.');throw CliErrors[_0x47174e(0xe0)](_0x47174e(0xdf)+CLI_BIN_NAME+_0x47174e(0xd9));}}return{'defaults':{'booleans':{'verbose':_0x4d0fc0['defaultVerbose']},'numbers':{'pagesize':_0x4d0fc0['defaultPageSize']}},'extras':{'appCode':_0x4f027a,'cookie':_0x138032,'apiDomain':_0x4d0fc0[_0x47174e(0x122)](),'apiDir':_0x36310a,'selectedAppName':_0x4d0fc0[_0x47174e(0xfb)],'mergedCli':_0x4d0fc0[_0x47174e(0xef)]}};},'confirmHighRisk':_0x1f8ddc[_0x356f7b(0x129)]??(async({env:_0x462c8e,commandLabel:_0x5a0321})=>{const _0x187dcd=_0x356f7b;if(_0x462c8e[_0x187dcd(0xe2)])throw CliErrors[_0x187dcd(0xfc)](_0x187dcd(0xda)+_0x5a0321+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x5a0321,_0x187dcd(0xe9)],'createCancelledError':_0x28b073=>CliErrors['cancelled'](_0x28b073)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}function a326_0x5449(){const _0x5d4f3b=['keys','23419TAkiTo','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','find','LOVRABET_APPCODE','hint','execute','authRequired','rawFlags','Current\x20resolved\x20appcode\x20is\x20\x22','update','resolveApiDomain','production','../constant/domain.js','has','object','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','risk','confirmHighRisk','entries','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','High-risk\x20operation\x20`','appcode','resolveCookie','name','1349665qmhPgj','Set\x20appcode\x20via\x20`','configMissing','length','isNonInteractive','App\x20\x22','join','string','some','value','Edit\x20the\x20config\x20file\x20manually','\x20\x20\x20Continue?\x20[y/N]\x20','AppCode\x20\x22','hasFormat','format','doctor','defaultApp','mergedCli','catch','pageSize','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','command','_notice','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','appCode','3124835pvQULT','../constant/env.js','8aPYTom','nonInteractive','selectedAppName','validation','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','map','explicitAppName','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','cookie','none','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','Available:\x20','106RWnkuD','currentApp','verbose','includes','apps','../core/api-client.js','684276XpwKSx','apiDir','\x0a\x20\x20','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','2837781PMQmXd','resolveAppCode','6bdjxIN','4fMnoqf','26388747NfdnWz','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','11071210vTwdEY'];a326_0x5449=function(){return _0x5d4f3b;};return a326_0x5449();}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x26e56c=a326_0x212c,{clearActiveCookie:_0x25b14d}=await import(_0x26e56c(0x10a));_0x25b14d();}export async function finalizeRabetbaseRuntimeState(){const _0x15bc73=a326_0x212c;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x5b6bf6},{initEnv:_0xa2a257}]=await Promise['all']([import(_0x15bc73(0x124)),import(_0x15bc73(0xf8))]);_0x5b6bf6(),_0xa2a257(_0x15bc73(0x123));}}export async function runCommand(_0x96a4d5,_0x178a56,_0x23ec8c=terminalRunnerAdapter){const _0x33a508=a326_0x212c;assertRejectedFlags(_0x96a4d5,_0x178a56[_0x33a508(0x11f)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x96a4d5)?withUpdateNotice(_0x96a4d5):_0x96a4d5,_0x178a56,_0x23ec8c);}function assertRejectedFlags(_0x2e8a33,_0x218552){const _0x412e8f=a326_0x212c;for(const _0x5c1efa of _0x2e8a33['rejectedFlags']??[]){const _0x1dc7bf=GLOBAL_FLAGS[_0x412e8f(0x11a)](_0x3021d1=>_0x3021d1['name']===_0x5c1efa[_0x412e8f(0xdd)]),_0x50ae43=new Set([_0x5c1efa['name'],toCamelCase(_0x5c1efa[_0x412e8f(0xdd)]),_0x1dc7bf?.['meowKey']]),_0x3c42bc=[..._0x50ae43][_0x412e8f(0xe6)](_0x1acb79=>{if(!_0x1acb79)return![];const _0x4bbbbc=_0x218552[_0x1acb79];return _0x4bbbbc!==undefined&&_0x4bbbbc!==null&&_0x4bbbbc!==![];});if(_0x3c42bc)throw CliErrors['validation'](_0x5c1efa['message'],_0x5c1efa[_0x412e8f(0x11c)]);}}function toCamelCase(_0x37a0a4){return _0x37a0a4['replace'](/-([a-z])/g,(_0x39a298,_0xc60ceb)=>_0xc60ceb['toUpperCase']());}function a326_0x212c(_0x53a1da,_0x3c0465){_0x53a1da=_0x53a1da-0xd9;const _0x5449ff=a326_0x5449();let _0x212c86=_0x5449ff[_0x53a1da];return _0x212c86;}function shouldAttachUpdateNotice(_0x456b0d){const _0x3fd61b=a326_0x212c;if(_0x456b0d[_0x3fd61b(0xeb)]===![])return![];return![_0x3fd61b(0x121),'schema',_0x3fd61b(0xed)]['includes'](_0x456b0d['service']);}function withUpdateNotice(_0x15da24){return{..._0x15da24,async 'execute'(_0x37d7f7){const _0x248b6c=a326_0x212c,_0x22ab7f=shouldResolveUpdateNotice(_0x37d7f7)?resolveLatestUpdateNotice()[_0x248b6c(0xf0)](()=>null):Promise['resolve'](null),_0x4dcb32=await _0x15da24[_0x248b6c(0x11d)](_0x37d7f7);return attachUpdateNotice(_0x4dcb32,await _0x22ab7f);}};}function shouldResolveUpdateNotice(_0x11ea76){const _0x416d2c=a326_0x212c;return _0x11ea76[_0x416d2c(0xec)]==='pretty'&&!_0x11ea76[_0x416d2c(0xfa)];}function attachUpdateNotice(_0x4584fd,_0x317b0d){const _0xd71817=a326_0x212c;if(!_0x317b0d||!_0x4584fd||typeof _0x4584fd!==_0xd71817(0x126))return _0x4584fd;const _0x45ab35=_0x4584fd,_0x4948b5=typeof _0x45ab35['_notice']===_0xd71817(0x126)&&_0x45ab35[_0xd71817(0xf4)]!==null?_0x45ab35[_0xd71817(0xf4)]:{};return{..._0x45ab35,'_notice':{..._0x4948b5,'update':_0x317b0d}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4116fe,_0x2ee621){const _0x199aca=a327_0x2388,_0x566c40=_0x4116fe();while(!![]){try{const _0x351ff1=parseInt(_0x199aca(0x1b8))/0x1*(-parseInt(_0x199aca(0x1b1))/0x2)+parseInt(_0x199aca(0x1ae))/0x3*(-parseInt(_0x199aca(0x1b7))/0x4)+parseInt(_0x199aca(0x1b3))/0x5*(-parseInt(_0x199aca(0x1b6))/0x6)+-parseInt(_0x199aca(0x1b5))/0x7+-parseInt(_0x199aca(0x1af))/0x8+-parseInt(_0x199aca(0x1b0))/0x9+-parseInt(_0x199aca(0x1b4))/0xa*(-parseInt(_0x199aca(0x1b9))/0xb);if(_0x351ff1===_0x2ee621)break;else _0x566c40['push'](_0x566c40['shift']());}catch(_0x1bdc01){_0x566c40['push'](_0x566c40['shift']());}}}(a327_0x338b,0x6d340));import{buildSchemaPayload as a327_0x4919de}from'@lovrabet/cli-framework';function a327_0x338b(){const _0x3b9d3f=['4zZUSDO','1lCkBaC','11KViHgc','2330547KCGcMa','162880mzlwLJ','2840229OPmdBg','945124bRupAS','../commands/registry.js','3311755UKplnr','28900700hZvtXf','1365497UBdtcP','6bPQIcT'];a327_0x338b=function(){return _0x3b9d3f;};return a327_0x338b();}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a327_0x2388(_0x54f33a,_0xf7c8c1){_0x54f33a=_0x54f33a-0x1ae;const _0x338bbc=a327_0x338b();let _0x2388b1=_0x338bbc[_0x54f33a];return _0x2388b1;}import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x4aff43=a327_0x2388,{serviceRegistry:_0x19649c,findDefinition:_0x114c10}=await import(_0x4aff43(0x1b2));return a327_0x4919de({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x19649c,'buildAllFlags':buildAllFlags,'findDefinition':_0x114c10});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x68f21d,_0x47b638){const _0x92b5e1=a328_0x10da,_0x1bca51=_0x68f21d();while(!![]){try{const _0x5f07ac=-parseInt(_0x92b5e1(0x12a))/0x1*(-parseInt(_0x92b5e1(0x112))/0x2)+-parseInt(_0x92b5e1(0x11c))/0x3+parseInt(_0x92b5e1(0x119))/0x4+-parseInt(_0x92b5e1(0x116))/0x5+-parseInt(_0x92b5e1(0x12c))/0x6*(parseInt(_0x92b5e1(0x129))/0x7)+parseInt(_0x92b5e1(0x127))/0x8+parseInt(_0x92b5e1(0x125))/0x9*(parseInt(_0x92b5e1(0x12d))/0xa);if(_0x5f07ac===_0x47b638)break;else _0x1bca51['push'](_0x1bca51['shift']());}catch(_0xf8d08b){_0x1bca51['push'](_0x1bca51['shift']());}}}(a328_0x221a,0xb0bdc));function a328_0x221a(){const _0x1fa987=['9gdloxU','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','8138536IjsJQO','add','7440342MKmNNd','1cUhfdS','meowKey','6KrrVQm','4804510wYyHlf','entries','replace','service','has','343690xraZJS','help','Unsupported\x20flag\x20--','toUpperCase','884045BVdlSa','Run\x20`','alias','1864368pYGOjP','length','flags','516174oODBAo','$1-$2','find','strictFlags','name','version','command','toLowerCase','filter'];a328_0x221a=function(){return _0x1fa987;};return a328_0x221a();}function a328_0x10da(_0x52554d,_0x2a39c2){_0x52554d=_0x52554d-0x111;const _0x221af0=a328_0x221a();let _0x10dafa=_0x221af0[_0x52554d];return _0x10dafa;}import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';export function assertSupportedCommandFlags(_0x243550,_0x78a727){const _0x4de44a=a328_0x10da;if(!_0x243550[_0x4de44a(0x11f)])return;const _0x48a08d=new Set([_0x4de44a(0x113),_0x4de44a(0x121)]),_0x2fd3ed=GLOBAL_FLAGS[_0x4de44a(0x124)](_0x37c91c=>PIPELINE_FLAG_NAMES[_0x4de44a(0x111)](_0x37c91c[_0x4de44a(0x120)]));for(const _0x17a40a of[..._0x243550[_0x4de44a(0x11b)],..._0x2fd3ed]){addFlagCandidates(_0x48a08d,_0x17a40a);}for(const [_0x1c8710,_0x35ff34]of Object[_0x4de44a(0x12e)](_0x78a727)){if(!isExplicitValue(_0x35ff34)||_0x48a08d[_0x4de44a(0x111)](_0x1c8710))continue;const _0x2ee18f=GLOBAL_FLAGS[_0x4de44a(0x11e)](_0x488563=>_0x488563[_0x4de44a(0x12b)]===_0x1c8710)?.[_0x4de44a(0x120)]??toKebabCase(_0x1c8710);throw CliErrors['validation'](_0x4de44a(0x114)+_0x2ee18f+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x243550[_0x4de44a(0x130)]+'\x20'+_0x243550[_0x4de44a(0x122)]+'`.',_0x4de44a(0x117)+CLI_BIN_NAME+'\x20'+_0x243550[_0x4de44a(0x130)]+'\x20'+_0x243550[_0x4de44a(0x122)]+_0x4de44a(0x126));}}function addFlagCandidates(_0x17c5e2,_0x4d14c8){const _0x5268e2=a328_0x10da,_0x4ba0f4=_0x5268e2(0x12b)in _0x4d14c8?[_0x4d14c8[_0x5268e2(0x120)],_0x4d14c8[_0x5268e2(0x12b)]]:[_0x4d14c8[_0x5268e2(0x120)],_0x4d14c8[_0x5268e2(0x118)]];for(const _0x349c53 of _0x4ba0f4){if(!_0x349c53)continue;_0x17c5e2[_0x5268e2(0x128)](_0x349c53),_0x17c5e2[_0x5268e2(0x128)](toCamelCase(_0x349c53));}}function isExplicitValue(_0x55b3c2){const _0x45b637=a328_0x10da;return _0x55b3c2!==undefined&&_0x55b3c2!==null&&_0x55b3c2!==![]&&(!Array['isArray'](_0x55b3c2)||_0x55b3c2[_0x45b637(0x11a)]>0x0);}function toCamelCase(_0x19e7d0){const _0x97f840=a328_0x10da;return _0x19e7d0['replace'](/-([a-z])/g,(_0x49e919,_0x4d2227)=>_0x4d2227[_0x97f840(0x115)]());}function toKebabCase(_0x544296){const _0x412435=a328_0x10da;return _0x544296[_0x412435(0x12f)](/([a-z0-9])([A-Z])/g,_0x412435(0x11d))[_0x412435(0x123)]();}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a329_0x321a(){var _0x2df4de=['4429464flZowX','24770Bgdogj','3339cvPaBX','1703166XYnNxD','8985726xeXjFk','1667320WDBdDl','245811PLlAzT','7qyWbJt','1508973XWUWNv','44UzCJRA'];a329_0x321a=function(){return _0x2df4de;};return a329_0x321a();}function a329_0x39aa(_0x164850,_0x5c27ea){_0x164850=_0x164850-0x109;var _0x321a4b=a329_0x321a();var _0x39aac0=_0x321a4b[_0x164850];return _0x39aac0;}(function(_0x3a9173,_0x5d75a2){var _0x43adba=a329_0x39aa,_0x2b5955=_0x3a9173();while(!![]){try{var _0x26d70c=parseInt(_0x43adba(0x110))/0x1+-parseInt(_0x43adba(0x10b))/0x2+parseInt(_0x43adba(0x10e))/0x3*(parseInt(_0x43adba(0x111))/0x4)+parseInt(_0x43adba(0x10d))/0x5+-parseInt(_0x43adba(0x10c))/0x6+parseInt(_0x43adba(0x10f))/0x7*(-parseInt(_0x43adba(0x112))/0x8)+-parseInt(_0x43adba(0x10a))/0x9*(-parseInt(_0x43adba(0x109))/0xa);if(_0x26d70c===_0x5d75a2)break;else _0x2b5955['push'](_0x2b5955['shift']());}catch(_0x5ce4f1){_0x2b5955['push'](_0x2b5955['shift']());}}}(a329_0x321a,0xb9810));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';
|
|
@@ -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.9-beta.1";
|
|
2
|
+
export declare const GIT_TAG = "v2.5.9-beta.1";
|
|
3
|
+
export declare const GIT_COMMIT = "06c78f48";
|
|
4
|
+
export declare const BUILD_TIME = "2026-10-27T15:03:14.713Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a330_0x1b28c9=a330_0x2bf2;(function(_0x530e03,_0x9aeb58){const _0x2f09e7=a330_0x2bf2,_0x1e1cd0=_0x530e03();while(!![]){try{const _0x4bee26=parseInt(_0x2f09e7(0x115))/0x1+-parseInt(_0x2f09e7(0x114))/0x2*(parseInt(_0x2f09e7(0x11c))/0x3)+parseInt(_0x2f09e7(0x11a))/0x4+-parseInt(_0x2f09e7(0x11b))/0x5*(-parseInt(_0x2f09e7(0x117))/0x6)+-parseInt(_0x2f09e7(0x116))/0x7+parseInt(_0x2f09e7(0x11d))/0x8*(parseInt(_0x2f09e7(0x11e))/0x9)+-parseInt(_0x2f09e7(0x119))/0xa;if(_0x4bee26===_0x9aeb58)break;else _0x1e1cd0['push'](_0x1e1cd0['shift']());}catch(_0x227cac){_0x1e1cd0['push'](_0x1e1cd0['shift']());}}}(a330_0x4adc,0xb1c9d));function a330_0x4adc(){const _0x4a2e14=['3680937uFPVWV','34eQNNIG','510431ylyplJ','9542946rhXYWR','12lmTaRZ','v2.5.9-beta.1','2619890ujDCcM','4232200oBJYLq','1457345gtZKJN','36516YjOOIu','8UAeNjN'];a330_0x4adc=function(){return _0x4a2e14;};return a330_0x4adc();}export const VERSION='2.5.9-beta.1';export const GIT_TAG=a330_0x1b28c9(0x118);function a330_0x2bf2(_0xf706d9,_0x2bbefa){_0xf706d9=_0xf706d9-0x114;const _0x4adc64=a330_0x4adc();let _0x2bf221=_0x4adc64[_0xf706d9];return _0x2bf221;}export const GIT_COMMIT='06c78f48';export const BUILD_TIME='2026-10-27T15:03:14.713Z';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a331_0x4acb21=a331_0x3a47;(function(_0x345bf4,_0x1a3b12){const _0x4212b2=a331_0x3a47,_0x534ec8=_0x345bf4();while(!![]){try{const _0x55e50e=-parseInt(_0x4212b2(0x1b3))/0x1+parseInt(_0x4212b2(0x1b0))/0x2*(-parseInt(_0x4212b2(0x1ca))/0x3)+parseInt(_0x4212b2(0x1b4))/0x4*(parseInt(_0x4212b2(0x1ad))/0x5)+parseInt(_0x4212b2(0x1c2))/0x6+-parseInt(_0x4212b2(0x1aa))/0x7*(parseInt(_0x4212b2(0x1c4))/0x8)+-parseInt(_0x4212b2(0x1a5))/0x9+parseInt(_0x4212b2(0x1a9))/0xa;if(_0x55e50e===_0x1a3b12)break;else _0x534ec8['push'](_0x534ec8['shift']());}catch(_0x27fb0e){_0x534ec8['push'](_0x534ec8['shift']());}}}(a331_0x54b6,0x2270a));export const ROUTING_CATALOG_DIGEST=a331_0x4acb21(0x19f);export const DEFAULT_REGION='cn';function a331_0x3a47(_0x73d47b,_0x31b7f5){_0x73d47b=_0x73d47b-0x19f;const _0x54b613=a331_0x54b6();let _0x3a47c0=_0x54b613[_0x73d47b];return _0x3a47c0;}export const REGION_VALUES=['cn','id',a331_0x4acb21(0x1bc)];export const ENABLED_REGION_VALUES=['cn','id',a331_0x4acb21(0x1bc)];function a331_0x54b6(){const _0x2ba619=['https://api.lovrabet.id','Global','https://daily-api.lovrabet.ai','https://user.lovrabet.ai','306306PzOyBF','https://user-daily.lovrabet.ai','1134120QhxTSm','https://g.lovrabet.com','https://dev.lovrabet.ai','https://cdnjs.cloudflare.com/ajax/libs','https://skills.lovrabet.com','https://user-daily.lovrabet.com','3XEONKe','57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587','china','https://app.lovrabet.id','https://api.lovrabet.ai','https://runtime.lovrabet.ai','https://api.lovrabet.com','2462058LgPdCo','https://skills.lovrabet.ai','Indonesia','https://user.lovrabet.com','5656230RuXXzf','7SOpjvH','https://kb-service.lovrabet.com','https://g.lovrabet.ai','55xZJcxv','indonesia','https://daily-runtime.lovrabet.com','67866RKlBlv','https://daily.lovrabet.com','https://user.lovrabet.id','211489TqsXcr','67324aRybaW','https://runtime.lovrabet.com','https://kb-service.lovrabet.id','https://skills-daily.lovrabet.ai','https://kb-service-daily.lovrabet.com','https://app.lovrabet.ai','https://daily-api.lovrabet.com','https://g.lovrabet.id','global','https://app.lovrabet.com'];a331_0x54b6=function(){return _0x2ba619;};return a331_0x54b6();}export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':'Mainland\x20China','aliases':[a331_0x4acb21(0x1a0)],'serviceDomains':{'production':{'user':a331_0x4acb21(0x1a8),'api':a331_0x4acb21(0x1a4),'runtime':a331_0x4acb21(0x1b5),'skill':a331_0x4acb21(0x1c8),'kb':a331_0x4acb21(0x1a4),'kbService':a331_0x4acb21(0x1ab),'app':a331_0x4acb21(0x1bd)},'daily':{'user':a331_0x4acb21(0x1c9),'api':a331_0x4acb21(0x1ba),'runtime':a331_0x4acb21(0x1af),'skill':'https://skills-daily.lovrabet.com','kb':a331_0x4acb21(0x1ba),'kbService':a331_0x4acb21(0x1b8),'app':a331_0x4acb21(0x1b1)}},'cdn':{'libraries':'https://g.alicdn.com/code/lib','lovrabet':a331_0x4acb21(0x1c5)},'local':{'origin':'https://dev.lovrabet.com'}},'id':{'enabled':!![],'label':a331_0x4acb21(0x1a7),'aliases':[a331_0x4acb21(0x1ae)],'serviceDomains':{'production':{'user':a331_0x4acb21(0x1b2),'api':a331_0x4acb21(0x1be),'runtime':'https://runtime.lovrabet.id','skill':'https://skills.lovrabet.id','kb':a331_0x4acb21(0x1be),'kbService':a331_0x4acb21(0x1b6),'app':a331_0x4acb21(0x1a1)}},'cdn':{'libraries':a331_0x4acb21(0x1c7),'lovrabet':a331_0x4acb21(0x1bb)},'local':{'origin':'https://dev.lovrabet.id'}},'global':{'enabled':!![],'label':a331_0x4acb21(0x1bf),'aliases':[],'serviceDomains':{'production':{'user':a331_0x4acb21(0x1c1),'api':a331_0x4acb21(0x1a2),'runtime':a331_0x4acb21(0x1a3),'skill':a331_0x4acb21(0x1a6),'kb':a331_0x4acb21(0x1a2),'app':a331_0x4acb21(0x1b9)},'daily':{'user':a331_0x4acb21(0x1c3),'api':a331_0x4acb21(0x1c0),'runtime':'https://daily-runtime.lovrabet.ai','skill':a331_0x4acb21(0x1b7),'kb':a331_0x4acb21(0x1c0),'app':'https://daily.lovrabet.ai'}},'cdn':{'libraries':a331_0x4acb21(0x1c7),'lovrabet':a331_0x4acb21(0x1ac)},'local':{'origin':a331_0x4acb21(0x1c6)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a332_0x973332=a332_0x41df;(function(_0x2cb25c,_0x282bbc){const _0x7590b5=a332_0x41df,_0x2c266a=_0x2cb25c();while(!![]){try{const _0x28699e=-parseInt(_0x7590b5(0x18c))/0x1+-parseInt(_0x7590b5(0x184))/0x2*(-parseInt(_0x7590b5(0x186))/0x3)+-parseInt(_0x7590b5(0x188))/0x4*(-parseInt(_0x7590b5(0x17c))/0x5)+parseInt(_0x7590b5(0x187))/0x6*(parseInt(_0x7590b5(0x178))/0x7)+-parseInt(_0x7590b5(0x17e))/0x8+parseInt(_0x7590b5(0x180))/0x9*(parseInt(_0x7590b5(0x189))/0xa)+-parseInt(_0x7590b5(0x181))/0xb*(parseInt(_0x7590b5(0x179))/0xc);if(_0x28699e===_0x282bbc)break;else _0x2c266a['push'](_0x2c266a['shift']());}catch(_0x1d0afa){_0x2c266a['push'](_0x2c266a['shift']());}}}(a332_0x3f2a,0x31369));export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a332_0x973332(0x177);export const ENTERPRISE_ROUTING_PROTOCOL=a332_0x973332(0x18a);export const ENTERPRISE_ROUTING_KIND=a332_0x973332(0x182);function a332_0x3f2a(){const _0x1ab657=['skillDomain','76jIDfmQ','userDomain','2703cwBcJb','48yvrgoe','59804ufWOib','534490byGDwk','lovrabet-routing/v1','kbDomain','302277FPxoiP','runtimeDomain','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','197932obQghe','252tmuGFA','certificateDomain','appDomain','110vydqrZ','apiDomain','1110024vRYRTN','lovrabet','9agnQSu','110ZAAMJu','enterprise'];a332_0x3f2a=function(){return _0x1ab657;};return a332_0x3f2a();}export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a332_0x973332(0x185),a332_0x973332(0x17d),a332_0x973332(0x176),a332_0x973332(0x183),a332_0x973332(0x18b),'kbServiceDomain',a332_0x973332(0x17b),'localDomain',a332_0x973332(0x17a)];function a332_0x41df(_0x2009de,_0x3f506c){_0x2009de=_0x2009de-0x176;const _0x3f2ad0=a332_0x3f2a();let _0x41dfca=_0x3f2ad0[_0x2009de];return _0x41dfca;}export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a332_0x973332(0x185),a332_0x973332(0x17d),a332_0x973332(0x176),a332_0x973332(0x183),'kbDomain','appDomain'];export const ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a332_0x973332(0x17f)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a332_0x973332(0x17f)];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a333_0x3750(_0x513587,_0x9d45b4){_0x513587=_0x513587-0x1ca;var _0x57cdbb=a333_0x57cd();var _0x37508b=_0x57cdbb[_0x513587];return _0x37508b;}(function(_0x1895f2,_0x2092ac){var _0x46af3a=a333_0x3750,_0x2a448b=_0x1895f2();while(!![]){try{var _0x184e20=-parseInt(_0x46af3a(0x1d1))/0x1+-parseInt(_0x46af3a(0x1cf))/0x2*(-parseInt(_0x46af3a(0x1d6))/0x3)+parseInt(_0x46af3a(0x1d4))/0x4*(-parseInt(_0x46af3a(0x1d7))/0x5)+parseInt(_0x46af3a(0x1cc))/0x6*(-parseInt(_0x46af3a(0x1cd))/0x7)+-parseInt(_0x46af3a(0x1cb))/0x8*(parseInt(_0x46af3a(0x1d0))/0x9)+-parseInt(_0x46af3a(0x1d2))/0xa+parseInt(_0x46af3a(0x1ce))/0xb;if(_0x184e20===_0x2092ac)break;else _0x2a448b['push'](_0x2a448b['shift']());}catch(_0x35f932){_0x2a448b['push'](_0x2a448b['shift']());}}}(a333_0x57cd,0x1b74e));import a333_0x391209 from'chalk';function a333_0x57cd(){var _0x22c0b3=['124296IZKtfW','80826ouokrz','35oGpOYE','4976708EfrJNO','258254QgRSEk','36PbBbaC','183944dIPUyQ','218250ivxJmS','\x20to\x20view\x20available\x20commands.','59476LaHfeX','green','3xyWify','45bLfQam','log'];a333_0x57cd=function(){return _0x22c0b3;};return a333_0x57cd();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x28a98f=a333_0x3750;console[_0x28a98f(0x1ca)](),console['log'](a333_0x391209['green']['bold']('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x28a98f(0x1ca)](),console[_0x28a98f(0x1ca)]('\x20\x20Use\x20'+a333_0x391209[_0x28a98f(0x1d5)]['bold'](CLI_BIN_NAME+'\x20--help')+_0x28a98f(0x1d3)),console['log']();}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x354682,_0x40a766){const _0x384d21=a334_0x5b97,_0x2575f0=_0x354682();while(!![]){try{const _0x4ee883=parseInt(_0x384d21(0x7d))/0x1*(-parseInt(_0x384d21(0x7f))/0x2)+parseInt(_0x384d21(0x8f))/0x3+parseInt(_0x384d21(0x90))/0x4+parseInt(_0x384d21(0x8d))/0x5+-parseInt(_0x384d21(0x82))/0x6*(-parseInt(_0x384d21(0x92))/0x7)+parseInt(_0x384d21(0x91))/0x8*(-parseInt(_0x384d21(0x7e))/0x9)+-parseInt(_0x384d21(0x81))/0xa;if(_0x4ee883===_0x40a766)break;else _0x2575f0['push'](_0x2575f0['shift']());}catch(_0x50ce13){_0x2575f0['push'](_0x2575f0['shift']());}}}(a334_0x191e,0xdf6dc));import{installBuiltinSkill}from'./skills/builtin-skill.js';export async function runPostinstall(_0x4d91a4={}){const _0x410caa=a334_0x5b97,_0xcd505c=installBuiltinSkill(_0x4d91a4);if(_0xcd505c['ok']){const _0x320962=_0xcd505c[_0x410caa(0x83)]?_0x410caa(0x8b):_0x410caa(0x8a),_0x1fc0b9=_0xcd505c[_0x410caa(0x89)]?_0x410caa(0x85)+_0xcd505c[_0x410caa(0x89)]:_0x410caa(0x80);return console['log']('Rabetbase\x20Built-in\x20Skill\x20'+_0xcd505c[_0x410caa(0x87)]+'\x20'+_0x320962+_0x1fc0b9),_0xcd505c;}const _0x5a522d=_0x410caa(0x88)+(_0xcd505c[_0x410caa(0x8e)]??'FAILED')+']\x20'+(_0xcd505c['error']??_0x410caa(0x93))+'.\x20'+(_0x410caa(0x84)+_0xcd505c[_0x410caa(0x86)]);if(_0xcd505c[_0x410caa(0x8e)]===_0x410caa(0x8c))throw new Error(_0x5a522d);return console['warn'](_0x5a522d),_0xcd505c;}function a334_0x5b97(_0x2ff626,_0x3fdf8d){_0x2ff626=_0x2ff626-0x7d;const _0x191ed0=a334_0x191e();let _0x5b9790=_0x191ed0[_0x2ff626];return _0x5b9790;}function a334_0x191e(){const _0x20e6a7=['changed','Repair\x20with:\x20','\x20at\x20','repairCommand','skillVersion','[BUILTIN_SKILL_INSTALL_','installedPath','already\x20current','installed','SOURCE_INVALID','9092355hRLJAn','code','872418UXfmtd','5393392PPmUQn','8dPecPL','25522RzTYCE','Installation\x20failed','3JOjxbu','11278512QuzYQy','898370zuCsTJ','\x20via\x20skills@latest','16881720RWghzD','2874JTuags'];a334_0x191e=function(){return _0x20e6a7;};return a334_0x191e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5a9cc9,_0x562daa){const _0x19d9c6=a335_0x2a0f,_0x14e7e2=_0x5a9cc9();while(!![]){try{const _0x4d4807=-parseInt(_0x19d9c6(0xa4))/0x1*(-parseInt(_0x19d9c6(0xa5))/0x2)+-parseInt(_0x19d9c6(0x98))/0x3*(-parseInt(_0x19d9c6(0x93))/0x4)+parseInt(_0x19d9c6(0xa1))/0x5*(-parseInt(_0x19d9c6(0x91))/0x6)+-parseInt(_0x19d9c6(0x9e))/0x7*(-parseInt(_0x19d9c6(0x97))/0x8)+-parseInt(_0x19d9c6(0xa3))/0x9*(-parseInt(_0x19d9c6(0x9c))/0xa)+-parseInt(_0x19d9c6(0x99))/0xb+-parseInt(_0x19d9c6(0xa7))/0xc;if(_0x4d4807===_0x562daa)break;else _0x14e7e2['push'](_0x14e7e2['shift']());}catch(_0x455f6d){_0x14e7e2['push'](_0x14e7e2['shift']());}}}(a335_0x4218,0x2e4cb));function a335_0x2a0f(_0x5a9126,_0x49754c){_0x5a9126=_0x5a9126-0x90;const _0x4218ac=a335_0x4218();let _0x2a0fb=_0x4218ac[_0x5a9126];return _0x2a0fb;}const DESCRIPTION_MAX_LENGTH=0x1f4;function a335_0x4218(){const _0x3a6d0c=['7520rmLQhl','17379txGNxg','1611841SMXhKD','replace','write','10vvSPps','high-risk-write','2723hYDfCY','This\x20will\x20run\x20the\x20high-risk\x20write\x20','risk','71470MvlJCR','This\x20will\x20run\x20the\x20write\x20','2067804ZkbaqC','878YfCDUq','346yfDKiA','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','6991140DOGbwW','slice','18czqYOl','trim','148raeuQG','confirmationDescription','string','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.'];a335_0x4218=function(){return _0x3a6d0c;};return a335_0x4218();}export function buildRabetbaseConfirmationRequest(_0xc8952e,_0x1d32db,_0x7ce003){const _0x59abb3=a335_0x2a0f,_0x371516=normalizeText(_0xc8952e[_0x59abb3(0x94)],DESCRIPTION_MAX_LENGTH),_0x20c3c3=_0x371516||normalizeText(defaultDescription(requireWriteRisk(_0xc8952e),_0x1d32db),DESCRIPTION_MAX_LENGTH);return{'operation':_0x1d32db,'risk':requireWriteRisk(_0xc8952e),'description':_0x20c3c3,..._0x7ce003?{'signal':_0x7ce003}:{}};}function requireWriteRisk(_0x5c82b9){const _0x93784d=a335_0x2a0f;if(_0x5c82b9[_0x93784d(0xa0)]===_0x93784d(0x9b)||_0x5c82b9[_0x93784d(0xa0)]===_0x93784d(0x9d))return _0x5c82b9[_0x93784d(0xa0)];throw new Error(_0x93784d(0xa6));}function defaultDescription(_0x4ddd17,_0x2e0f59){const _0x4c7a8c=a335_0x2a0f;if(_0x4ddd17===_0x4c7a8c(0x9d))return _0x4c7a8c(0x9f)+_0x2e0f59+_0x4c7a8c(0x96);return _0x4c7a8c(0xa2)+_0x2e0f59+'.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.';}function normalizeText(_0x285ddb,_0x393266){const _0x306591=a335_0x2a0f;if(typeof _0x285ddb!==_0x306591(0x95))return'';return _0x285ddb[_0x306591(0x9a)](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x306591(0x9a)](/\s+/g,'\x20')[_0x306591(0x92)]()[_0x306591(0x90)](0x0,_0x393266);}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x146a6f,_0x5ef1a2){const _0x272ea6=a336_0x25ab,_0x1fe6bb=_0x146a6f();while(!![]){try{const _0x24dd0b=-parseInt(_0x272ea6(0x1fa))/0x1*(parseInt(_0x272ea6(0x1ff))/0x2)+-parseInt(_0x272ea6(0x1f4))/0x3*(parseInt(_0x272ea6(0x209))/0x4)+parseInt(_0x272ea6(0x1fd))/0x5*(-parseInt(_0x272ea6(0x1fb))/0x6)+parseInt(_0x272ea6(0x1fe))/0x7+-parseInt(_0x272ea6(0x201))/0x8*(parseInt(_0x272ea6(0x200))/0x9)+parseInt(_0x272ea6(0x205))/0xa*(-parseInt(_0x272ea6(0x207))/0xb)+parseInt(_0x272ea6(0x1f3))/0xc*(parseInt(_0x272ea6(0x1f1))/0xd);if(_0x24dd0b===_0x5ef1a2)break;else _0x1fe6bb['push'](_0x1fe6bb['shift']());}catch(_0x1862da){_0x1fe6bb['push'](_0x1fe6bb['shift']());}}}(a336_0x1e82,0x53c61));export function canonicalRabetbaseOperation(_0x59c64e){const _0x5313d2=a336_0x25ab;return[_0x59c64e['service'],..._0x59c64e[_0x5313d2(0x1f2)]['trim']()[_0x5313d2(0x1fc)](/\s+/)][_0x5313d2(0x208)](Boolean)[_0x5313d2(0x1f9)]('.');}function a336_0x1e82(){const _0x5dad13=['58WnNSBt','171678oUEeKD','split','55VWhQie','3448137MSHeBL','11614dvcAeC','103302fHDTeC','464QKapkM','write','isArray','length','10GgUGIi','rabetbase.write.completed','98549paVwTz','filter','282388pPJVDy','598nxlAgf','command','380652GoCEGz','12YNzupS','data','risk','high-risk-write','conflicts','join'];a336_0x1e82=function(){return _0x5dad13;};return a336_0x1e82();}function a336_0x25ab(_0x289a1e,_0x313bc1){_0x289a1e=_0x289a1e-0x1f1;const _0x1e8203=a336_0x1e82();let _0x25abeb=_0x1e8203[_0x289a1e];return _0x25abeb;}export function createRabetbaseWriteMetadata(_0x460250,_0x1aaa03,_0x1da1e9,_0x1917c8){const _0x332abc=a336_0x25ab;if(_0x1917c8||_0x1da1e9['ok']!==!![]||hasUnresolvedConflicts(_0x1da1e9)||_0x460250['risk']!==_0x332abc(0x202)&&_0x460250[_0x332abc(0x1f6)]!==_0x332abc(0x1f7))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':_0x332abc(0x206),'operation':_0x1aaa03,'risk':_0x460250['risk']}}};}function hasUnresolvedConflicts(_0x38f66d){const _0x3557f8=a336_0x25ab,_0x4329b5=_0x38f66d[_0x3557f8(0x1f5)];return Boolean(_0x4329b5&&typeof _0x4329b5==='object'&&!Array['isArray'](_0x4329b5)&&Array[_0x3557f8(0x203)](_0x4329b5[_0x3557f8(0x1f8)])&&_0x4329b5['conflicts'][_0x3557f8(0x204)]>0x0);}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1d0e78,_0x29d8bf){const _0x208626=a337_0x4f91,_0x50dda2=_0x1d0e78();while(!![]){try{const _0x531d57=-parseInt(_0x208626(0xc4))/0x1*(parseInt(_0x208626(0xc6))/0x2)+parseInt(_0x208626(0xb5))/0x3*(-parseInt(_0x208626(0xce))/0x4)+parseInt(_0x208626(0xcc))/0x5*(-parseInt(_0x208626(0xc3))/0x6)+-parseInt(_0x208626(0xd4))/0x7*(-parseInt(_0x208626(0xbf))/0x8)+-parseInt(_0x208626(0xc1))/0x9+parseInt(_0x208626(0xc2))/0xa*(parseInt(_0x208626(0xda))/0xb)+-parseInt(_0x208626(0xbc))/0xc*(-parseInt(_0x208626(0xd0))/0xd);if(_0x531d57===_0x29d8bf)break;else _0x50dda2['push'](_0x50dda2['shift']());}catch(_0x5369c8){_0x50dda2['push'](_0x50dda2['shift']());}}}(a337_0x76d5,0x289a0));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';function a337_0x76d5(){const _0x1e1923=['202312wfylkY','Rabetbase\x20invocation\x20aborted.','13baTjCH','definition','present','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','7KkcVzH','Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.','result','AbortError','reason','aborted','11CTxOAz','yes','rawFlags','15RUdVTS','write','args','dryRun','message','risk','format','8581908bFqZGi','high-risk-write','riskLevel','625960OITKtq','presentation','1746585bzqwAP','2018090JUMSCK','139074LCNAYe','98261SlZYEN','command','4sJnWTr','confirmation','stringify','signal','data','dry-run','40VhPNQz','execute'];a337_0x76d5=function(){return _0x1e1923;};return a337_0x76d5();}function a337_0x4f91(_0x539e45,_0x7ef80d){_0x539e45=_0x539e45-0xb3;const _0x76d5dc=a337_0x76d5();let _0x4f910b=_0x76d5dc[_0x539e45];return _0x4f910b;}import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x337636,command:_0x5f000a,risk:_0x342b17,dryRun:_0x390ec9}){const _0x4015b8=a337_0x4f91;return JSON[_0x4015b8(0xc8)]({'ok':_0x337636['ok'],'command':_0x5f000a,'risk':_0x342b17,..._0x390ec9?{'dryRun':!![]}:{},..._0x337636['data']!==undefined?{'data':_0x337636[_0x4015b8(0xca)]}:{},..._0x337636[_0x4015b8(0xb9)]?{'message':_0x337636['message']}:{}});}};export async function invokeRabetbase(_0x23844a,_0x2fa131){const _0x5a0308=a337_0x4f91;throwIfAborted(_0x2fa131[_0x5a0308(0xc9)]);const _0x44acc1=await resolveRabetbaseInvocation(_0x23844a),_0x46c087=canonicalRabetbaseOperation(_0x44acc1[_0x5a0308(0xd1)]);return await confirmWriteBeforeQueue(_0x44acc1['definition'],_0x44acc1[_0x5a0308(0xb4)],_0x46c087,_0x2fa131),runSerialized(async()=>{const _0x2d659d=_0x5a0308,_0x4ff414={};try{throwIfAborted(_0x2fa131[_0x2d659d(0xc9)]);const _0x3c367a=buildConfigFromFlags(_0x44acc1[_0x2d659d(0xb4)]);!isRoutingRecoveryService(_0x44acc1['definition']['service'])&&await initGlobalEnvironment(_0x3c367a);const _0x14b2d9=createPipelineEnv(_0x3c367a,{..._0x44acc1[_0x2d659d(0xb4)],'yes':_0x44acc1[_0x2d659d(0xd1)][_0x2d659d(0xba)]===_0x2d659d(0xbd)?!![]:_0x44acc1[_0x2d659d(0xb4)][_0x2d659d(0xb3)],'nonInteractive':!![]},_0x44acc1[_0x2d659d(0xb7)]);_0x14b2d9['isNonInteractive']=!![],_0x14b2d9[_0x2d659d(0xbe)]='high-risk-write';const _0x9789b1=withAbortSignal(_0x44acc1['definition'],_0x2fa131[_0x2d659d(0xc9)]),_0x1baa8e=createRabetbaseRunnerAdapter({'formatOutput'(_0x1d860f,_0x4f857e){const _0x1495ec=_0x2d659d;_0x4ff414[_0x1495ec(0xd6)]=_0x1d860f,_0x4ff414[_0x1495ec(0xc5)]=_0x4f857e[_0x1495ec(0xc5)],_0x4ff414[_0x1495ec(0xba)]=_0x4f857e[_0x1495ec(0xba)],_0x4ff414[_0x1495ec(0xbb)]=_0x4f857e['format'],_0x4ff414[_0x1495ec(0xb8)]=_0x4f857e[_0x1495ec(0xb8)]===!![];},async 'confirmHighRisk'(){const _0x389ea6=_0x2d659d;throw new Error(_0x389ea6(0xd5));}});await runCommand(_0x9789b1,_0x14b2d9,_0x1baa8e);if(!_0x4ff414[_0x2d659d(0xd6)]||!_0x4ff414[_0x2d659d(0xc5)]||!_0x4ff414['risk']||!_0x4ff414['format'])throw new Error(_0x2d659d(0xd3));const _0x101747=_0x4ff414[_0x2d659d(0xb8)]===!![],_0x2ab645=_0x2fa131[_0x2d659d(0xc0)]??defaultPresentation,_0x38b91a={'result':_0x4ff414[_0x2d659d(0xd6)],'command':_0x4ff414[_0x2d659d(0xc5)],'operation':_0x46c087,'risk':_0x4ff414[_0x2d659d(0xba)],'format':_0x4ff414[_0x2d659d(0xbb)],'dryRun':_0x101747},_0x1a7d29=createRabetbaseWriteMetadata(_0x44acc1[_0x2d659d(0xd1)],_0x46c087,_0x4ff414['result'],_0x101747);let _0x52bc3d;try{_0x52bc3d=await _0x2ab645['present'](_0x38b91a);}catch(_0x2fcea7){if(!_0x1a7d29||_0x2ab645===defaultPresentation)throw _0x2fcea7;_0x52bc3d=await defaultPresentation[_0x2d659d(0xd2)](_0x38b91a);}return{'operation':_0x46c087,'risk':_0x4ff414['risk'],'mode':_0x101747?_0x2d659d(0xcb):'execute','result':_0x4ff414[_0x2d659d(0xd6)],'output':_0x52bc3d,..._0x1a7d29?{'metadata':_0x1a7d29}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0x1fef67,_0x368242,_0x270580,_0x4deefb){const _0x394ffe=a337_0x4f91;if(_0x368242[_0x394ffe(0xb8)]===!![]||_0x1fef67[_0x394ffe(0xba)]!==_0x394ffe(0xb6)&&_0x1fef67['risk']!==_0x394ffe(0xbd))return;await _0x4deefb[_0x394ffe(0xc7)]['confirm'](buildRabetbaseConfirmationRequest(_0x1fef67,_0x270580,_0x4deefb['signal']));}function withAbortSignal(_0x3e5d81,_0x2d4018){return{..._0x3e5d81,async 'execute'(_0x42c54b){const _0x1fdda3=a337_0x4f91;return throwIfAborted(_0x2d4018),_0x3e5d81[_0x1fdda3(0xcd)]({..._0x42c54b,'signal':_0x2d4018});}};}function throwIfAborted(_0x5f5a48){const _0x18a977=a337_0x4f91;if(_0x5f5a48?.[_0x18a977(0xd9)])throw _0x5f5a48[_0x18a977(0xd8)]instanceof Error?_0x5f5a48[_0x18a977(0xd8)]:new DOMException(_0x18a977(0xcf),_0x18a977(0xd7));}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a338_0x3b19(_0x36086c,_0xd15646){_0x36086c=_0x36086c-0xaa;const _0x2aa7c8=a338_0x2aa7();let _0x3b198e=_0x2aa7c8[_0x36086c];return _0x3b198e;}const a338_0x491042=a338_0x3b19;(function(_0x2d15b0,_0x253d18){const _0x14a7ac=a338_0x3b19,_0x17b857=_0x2d15b0();while(!![]){try{const _0x450a46=-parseInt(_0x14a7ac(0xb7))/0x1+parseInt(_0x14a7ac(0xad))/0x2*(parseInt(_0x14a7ac(0xb1))/0x3)+parseInt(_0x14a7ac(0xab))/0x4*(-parseInt(_0x14a7ac(0xb0))/0x5)+parseInt(_0x14a7ac(0xac))/0x6*(-parseInt(_0x14a7ac(0xb3))/0x7)+-parseInt(_0x14a7ac(0xaf))/0x8*(parseInt(_0x14a7ac(0xb2))/0x9)+-parseInt(_0x14a7ac(0xaa))/0xa*(-parseInt(_0x14a7ac(0xae))/0xb)+parseInt(_0x14a7ac(0xb6))/0xc;if(_0x450a46===_0x253d18)break;else _0x17b857['push'](_0x17b857['shift']());}catch(_0x114811){_0x17b857['push'](_0x17b857['shift']());}}}(a338_0x2aa7,0xd2ba6));let tail=Promise[a338_0x491042(0xb5)]();export async function runSerialized(_0x50944b){const _0x2ac53d=a338_0x491042,_0x56b574=tail;let _0x26fb9c;tail=new Promise(_0x116a5b=>{_0x26fb9c=_0x116a5b;}),await _0x56b574[_0x2ac53d(0xb4)](()=>undefined);try{return await _0x50944b();}finally{_0x26fb9c();}}function a338_0x2aa7(){const _0x15eb9d=['resolve','6288408zxrBSh','445929yGXCNG','6870YGRNUI','4Qliaaq','6246294uYGZuL','56wFlobM','26499yHevJH','40BBOXpt','144520exRekZ','29262vpnkMK','131589fAEGck','7bqznob','catch'];a338_0x2aa7=function(){return _0x15eb9d;};return a338_0x2aa7();}
|
package/lib/runtime/resolve.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x56243e,_0x4240d7){const _0x2c451e=a339_0x48e4,_0x433f97=_0x56243e();while(!![]){try{const _0x1fa246=-parseInt(_0x2c451e(0xfa))/0x1+parseInt(_0x2c451e(0xf3))/0x2*(parseInt(_0x2c451e(0xec))/0x3)+parseInt(_0x2c451e(0xf4))/0x4+-parseInt(_0x2c451e(0xea))/0x5*(parseInt(_0x2c451e(0xe5))/0x6)+parseInt(_0x2c451e(0xee))/0x7*(-parseInt(_0x2c451e(0xef))/0x8)+-parseInt(_0x2c451e(0xf9))/0x9*(-parseInt(_0x2c451e(0xeb))/0xa)+parseInt(_0x2c451e(0xf2))/0xb;if(_0x1fa246===_0x4240d7)break;else _0x433f97['push'](_0x433f97['shift']());}catch(_0x1c4a14){_0x433f97['push'](_0x433f97['shift']());}}}(a339_0x26de,0x196de));import a339_0x21dc04 from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';function a339_0x48e4(_0x1d3631,_0xbd873a){_0x1d3631=_0x1d3631-0xe4;const _0x26dec7=a339_0x26de();let _0x48e4c0=_0x26dec7[_0x1d3631];return _0x48e4c0;}function a339_0x26de(){const _0x536926=['97345VdMpQE','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','13614hjrFVo','slice','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','validation','message','355pxQfHq','3040DsxMwx','115998cFeGNS','wildcardDef','65352XdKTob','72nqAoUi','flags','join','2058782rduUgk','4XUGIMX','158224LmqDOJ','defaultCommand','hint','unknownCommand','Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','4221HNrELy'];a339_0x26de=function(){return _0x536926;};return a339_0x26de();}import{CliErrors}from'../errors.js';import{assertSupportedCommandFlags}from'../framework/supported-flags.js';export async function resolveRabetbaseInvocation(_0x46532d){const _0x3d5061=a339_0x48e4,_0x1d1c9e=a339_0x21dc04('',{'importMeta':import.meta,'argv':[..._0x46532d],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x3467e3=[..._0x1d1c9e['input']],_0x74ccd0=_0x1d1c9e[_0x3d5061(0xf0)],_0x10d40f=_0x3467e3[0x0];if(!_0x10d40f)throw CliErrors['validation'](_0x3d5061(0xe4));const _0x1d3af4=resolveRemovedCommand(_0x10d40f,_0x3467e3[0x1]);if(_0x1d3af4)throw CliErrors['validation'](_0x1d3af4[_0x3d5061(0xe9)],_0x1d3af4[_0x3d5061(0xf6)]);if(_0x10d40f==='run')throw CliErrors[_0x3d5061(0xe8)](_0x3d5061(0xe7),'Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.');if(!isKnownService(_0x10d40f))throw CliErrors[_0x3d5061(0xf7)](_0x3467e3[_0x3d5061(0xf1)]('\x20'));const _0x4fd600=getServiceEntry(_0x10d40f),_0x4d70ff=_0x3467e3[0x1],_0x378c61=_0x4d70ff||_0x4fd600[_0x3d5061(0xf5)];if(!_0x378c61){if(_0x4fd600['wildcardDef'])return{'definition':_0x4fd600[_0x3d5061(0xed)],'rawFlags':_0x74ccd0,'args':[]};throw CliErrors[_0x3d5061(0xe8)](_0x3d5061(0xf8)+_0x10d40f+'\x22.');}const _0x3599a2=findDefinition(_0x10d40f,_0x378c61);if(_0x3599a2)return assertSupportedCommandFlags(_0x3599a2,_0x74ccd0),{'definition':_0x3599a2,'rawFlags':_0x74ccd0,'args':_0x3467e3['slice'](0x2)};if(_0x4fd600['wildcardDef'])return{'definition':_0x4fd600[_0x3d5061(0xed)],'rawFlags':_0x74ccd0,'args':[_0x378c61,..._0x3467e3[_0x3d5061(0xe6)](0x2)]};throw CliErrors['unknownCommand'](_0x10d40f+'\x20'+_0x378c61);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xa3772a,_0x4a28cd){const _0x3c2c69=a341_0x5975,_0x14acc2=_0xa3772a();while(!![]){try{const _0x21e72c=parseInt(_0x3c2c69(0x201))/0x1*(parseInt(_0x3c2c69(0x1f0))/0x2)+parseInt(_0x3c2c69(0x1ee))/0x3*(parseInt(_0x3c2c69(0x1f4))/0x4)+parseInt(_0x3c2c69(0x202))/0x5+-parseInt(_0x3c2c69(0x1ed))/0x6+parseInt(_0x3c2c69(0x1ec))/0x7+-parseInt(_0x3c2c69(0x1f6))/0x8*(parseInt(_0x3c2c69(0x1fc))/0x9)+parseInt(_0x3c2c69(0x208))/0xa;if(_0x21e72c===_0x4a28cd)break;else _0x14acc2['push'](_0x14acc2['shift']());}catch(_0x4b9a0c){_0x14acc2['push'](_0x14acc2['shift']());}}}(a341_0x34c8,0x6e26e));import{randomUUID}from'node:crypto';import{dirname}from'node:path';function a341_0x34c8(){const _0x8fdc3c=['stringify','402399bXnfCu','2760695kSQJvk','test','manifest','schemaVersion','isFile','EEXIST','211190aNMTok','1025822bmYkmB','2298174GpsONt','3tLVTge','clientOperationId','2FgDYGS','ENOENT','Invalid\x20checkpoint;\x20reconcile\x20its\x20original\x20operation\x20before\x20submitting\x20again.','catch','645100nBEbvJ','dataset-design-operation','8LjoTrN','string','parse','.tmp','Checkpoint\x20must\x20be\x20a\x20regular\x20JSON\x20file.','code','4043403ODAMSU','size','writeFile','utf8'];a341_0x34c8=function(){return _0x8fdc3c;};return a341_0x34c8();}import{mkdir,open,link,unlink,rename,lstat,readFile}from'node:fs/promises';function a341_0x5975(_0x26e2f7,_0x47abad){_0x26e2f7=_0x26e2f7-0x1ec;const _0x34c8f8=a341_0x34c8();let _0x597595=_0x34c8f8[_0x26e2f7];return _0x597595;}import{isObject,requireValue}from'./contract.js';export async function readCheckpoint(_0x3cee63){const _0x3bbaba=a341_0x5975;try{const _0x52a1ea=await lstat(_0x3cee63);requireValue(_0x52a1ea[_0x3bbaba(0x206)]()&&!_0x52a1ea['isSymbolicLink']()&&_0x52a1ea[_0x3bbaba(0x1fd)]<=0x3d0900,_0x3bbaba(0x1fa));const _0x38cef4=JSON[_0x3bbaba(0x1f8)](await readFile(_0x3cee63,_0x3bbaba(0x1ff)));return requireValue(isObject(_0x38cef4)&&_0x38cef4['kind']===_0x3bbaba(0x1f5)&&_0x38cef4[_0x3bbaba(0x205)]===0x1&&typeof _0x38cef4[_0x3bbaba(0x1ef)]===_0x3bbaba(0x1f7)&&/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/[_0x3bbaba(0x203)](_0x38cef4['clientOperationId'])&&typeof _0x38cef4['inputHash']==='string'&&/^[a-f0-9]{64}$/[_0x3bbaba(0x203)](_0x38cef4['inputHash'])&&typeof _0x38cef4['identityKey']===_0x3bbaba(0x1f7)&&_0x38cef4['identityKey']['length']>0x0&&isObject(_0x38cef4[_0x3bbaba(0x204)]),_0x3bbaba(0x1f2)),_0x38cef4;}catch(_0x29b558){if(_0x29b558[_0x3bbaba(0x1fb)]===_0x3bbaba(0x1f1))return undefined;throw _0x29b558;}}export async function saveCheckpoint(_0x3fd2e1,_0x4774e7,_0x3cabbf=![]){const _0x52bc15=a341_0x5975;await mkdir(dirname(_0x3fd2e1),{'recursive':!![]});const _0x14fb94=_0x3fd2e1+'.'+randomUUID()+_0x52bc15(0x1f9),_0x3d1a36=await open(_0x14fb94,'wx',0x180);try{await _0x3d1a36[_0x52bc15(0x1fe)](JSON[_0x52bc15(0x200)](_0x4774e7,null,0x2)+'\x0a'),await _0x3d1a36['sync']();}finally{await _0x3d1a36['close']();}try{if(_0x3cabbf)await link(_0x14fb94,_0x3fd2e1);else await rename(_0x14fb94,_0x3fd2e1);return!![];}catch(_0x26cd35){if(_0x3cabbf&&_0x26cd35[_0x52bc15(0x1fb)]===_0x52bc15(0x207))return![];throw _0x26cd35;}finally{await unlink(_0x14fb94)[_0x52bc15(0x1f3)](_0x548307=>{const _0x3bcdad=_0x52bc15;if(_0x548307[_0x3bcdad(0x1fb)]!==_0x3bcdad(0x1f1))throw _0x548307;});}}
|