@lovrabet/rabetbase-cli 2.5.8 → 2.5.9
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(_0x49d067,_0x1d202f){var _0x385cd0=a318_0x37eb,_0x2c3462=_0x49d067();while(!![]){try{var _0x3db8da=-parseInt(_0x385cd0(0xbc))/0x1*(parseInt(_0x385cd0(0xca))/0x2)+parseInt(_0x385cd0(0xc5))/0x3*(-parseInt(_0x385cd0(0xc9))/0x4)+parseInt(_0x385cd0(0xc0))/0x5*(parseInt(_0x385cd0(0xbd))/0x6)+-parseInt(_0x385cd0(0xbe))/0x7*(-parseInt(_0x385cd0(0xc8))/0x8)+parseInt(_0x385cd0(0xc1))/0x9*(parseInt(_0x385cd0(0xc2))/0xa)+-parseInt(_0x385cd0(0xc4))/0xb+parseInt(_0x385cd0(0xc3))/0xc;if(_0x3db8da===_0x1d202f)break;else _0x2c3462['push'](_0x2c3462['shift']());}catch(_0x5c97cd){_0x2c3462['push'](_0x2c3462['shift']());}}}(a318_0x46a1,0x78cb8));import{resolveOutputConfig}from'@lovrabet/cli-framework';function a318_0x46a1(){var _0x2cbe3a=['4282630VxjWBS','4685232JTHVVz','4743079VKQTbP','285eXRUTb','compress','defaultFormat','152hUHTKq','16052uScFlh','3134TiCSIV','423poEdCu','30mStIXo','326956CzYcPK','def','263890TFkSca','9xMkwbs'];a318_0x46a1=function(){return _0x2cbe3a;};return a318_0x46a1();}function a318_0x37eb(_0x10ec09,_0x20d743){_0x10ec09=_0x10ec09-0xbc;var _0x46a1cd=a318_0x46a1();var _0x37eba6=_0x46a1cd[_0x10ec09];return _0x37eba6;}export function usesStructuredErrorOutput(_0x45e90f){return _0x45e90f?.['structuredErrors']===!![];}export function resolveErrorOutputFormat(_0x24b878){var _0x56d8ea=a318_0x37eb;if(!_0x24b878[_0x56d8ea(0xbf)])return _0x24b878[_0x56d8ea(0xc7)]??_0x56d8ea(0xc6);return resolveOutputConfig({'flags':_0x24b878['flags']??{},'def':_0x24b878[_0x56d8ea(0xbf)],'configDefault':_0x24b878[_0x56d8ea(0xc7)]})['format'];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a319_0x416237=a319_0x2731;function a319_0x4dfb(){const _0x2fc5a5=['491812CLeWLi','has','1zDGnxq','622053CQUczN','menu\x20delete','238SCCPTU','4646061hvLkhH','444PkaFPq','190416tGXEmK','464268bZSccr','command','kb\x20delete','Required\x20for\x20execution\x20after\x20reviewing\x20the\x20--dry-run\x20plan','10205mGGnpg','462120FGEFXR','notification\x20config-update'];a319_0x4dfb=function(){return _0x2fc5a5;};return a319_0x4dfb();}function a319_0x2731(_0x556bc3,_0x26d439){_0x556bc3=_0x556bc3-0x88;const _0x4dfbfb=a319_0x4dfb();let _0x273189=_0x4dfbfb[_0x556bc3];return _0x273189;}(function(_0x3dbf3f,_0x487411){const _0x5da389=a319_0x2731,_0x4f1086=_0x3dbf3f();while(!![]){try{const _0x1e91d2=parseInt(_0x5da389(0x96))/0x1*(parseInt(_0x5da389(0x94))/0x2)+parseInt(_0x5da389(0x97))/0x3+-parseInt(_0x5da389(0x8d))/0x4+-parseInt(_0x5da389(0x91))/0x5*(parseInt(_0x5da389(0x8b))/0x6)+-parseInt(_0x5da389(0x89))/0x7*(-parseInt(_0x5da389(0x8c))/0x8)+-parseInt(_0x5da389(0x8a))/0x9+-parseInt(_0x5da389(0x92))/0xa;if(_0x1e91d2===_0x487411)break;else _0x4f1086['push'](_0x4f1086['shift']());}catch(_0x475659){_0x4f1086['push'](_0x4f1086['shift']());}}}(a319_0x4dfb,0x69b57));const EXPLICIT_YES_COMMANDS=new Set([a319_0x416237(0x88),a319_0x416237(0x8f),a319_0x416237(0x93),'notification\x20config-delete']);export const EXPLICIT_YES_FLAG_DESCRIPTION=a319_0x416237(0x90);export function requiresExplicitYes(_0x49f476){const _0xa3093e=a319_0x416237;return EXPLICIT_YES_COMMANDS[_0xa3093e(0x95)](_0x49f476['service']+'\x20'+_0x49f476[_0xa3093e(0x8e)]);}
|
package/lib/framework/flags.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x49cce9,_0x36c7cf){const _0x55f2d0=a320_0xf909,_0x19425a=_0x49cce9();while(!![]){try{const _0xb21f41=-parseInt(_0x55f2d0(0x10b))/0x1+parseInt(_0x55f2d0(0x10d))/0x2*(parseInt(_0x55f2d0(0x104))/0x3)+parseInt(_0x55f2d0(0x108))/0x4*(-parseInt(_0x55f2d0(0x106))/0x5)+-parseInt(_0x55f2d0(0x10e))/0x6*(parseInt(_0x55f2d0(0x10a))/0x7)+parseInt(_0x55f2d0(0x105))/0x8*(-parseInt(_0x55f2d0(0x107))/0x9)+parseInt(_0x55f2d0(0x10c))/0xa+parseInt(_0x55f2d0(0x109))/0xb;if(_0xb21f41===_0x36c7cf)break;else _0x19425a['push'](_0x19425a['shift']());}catch(_0x37e1f7){_0x19425a['push'](_0x19425a['shift']());}}}(a320_0xda44,0x55ce9));function a320_0xda44(){const _0x1eb5db=['337107YgCaBc','789450JNYJLq','3694YlOczn','3208098oBlwyi','102tTJKbr','8WIIYWF','63315SwUYWt','2660661lilGaC','4aXtivA','15287844DnRTbG','7NHVmkZ'];a320_0xda44=function(){return _0x1eb5db;};return a320_0xda44();}import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a320_0xf909(_0x1f77e6,_0x3ad7fa){_0x1f77e6=_0x1f77e6-0x104;const _0xda4482=a320_0xda44();let _0xf909eb=_0xda4482[_0x1f77e6];return _0xf909eb;}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers['validateFlags'];
|
package/lib/framework/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1abba3,_0x142c56){const _0x55d59e=a321_0xa9b2,_0x3aa97d=_0x1abba3();while(!![]){try{const _0x160f47=-parseInt(_0x55d59e(0x1ff))/0x1*(parseInt(_0x55d59e(0x1fe))/0x2)+parseInt(_0x55d59e(0x1f6))/0x3*(parseInt(_0x55d59e(0x200))/0x4)+-parseInt(_0x55d59e(0x1fb))/0x5+parseInt(_0x55d59e(0x202))/0x6+-parseInt(_0x55d59e(0x1f7))/0x7+-parseInt(_0x55d59e(0x1fc))/0x8+parseInt(_0x55d59e(0x1f9))/0x9;if(_0x160f47===_0x142c56)break;else _0x3aa97d['push'](_0x3aa97d['shift']());}catch(_0x311824){_0x3aa97d['push'](_0x3aa97d['shift']());}}}(a321_0x419e,0x8c1fa));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a321_0xa9b2(_0x4ee957,_0x2449aa){_0x4ee957=_0x4ee957-0x1f4;const _0x419eda=a321_0x419e();let _0xa9b24=_0x419eda[_0x4ee957];return _0xa9b24;}import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';function a321_0x419e(){const _0x1c3e2d=['replace','generateFullHelp','1593srkrvg','6764926RJwAZr','Requires\x20appcode\x20(set\x20via\x20`','4640769nVpjqx','\x20workspace\x20init`\x20or\x20--appcode).','787510AnYtfr','3912544PlSoEK','get','2ddPbdv','467953QlaSja','8544trnjLh','\x20[args]\x20[flags]','6030180JcOToA'];a321_0x419e=function(){return _0x1c3e2d;};return a321_0x419e();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{requiresExplicitYes}from'../framework/explicit-yes.js';function createGenerators(){const _0x564444=a321_0xa9b2;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x1feafe=>serviceGroups[_0x564444(0x1fd)](_0x1feafe),'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x564444(0x1f8)+CLI_BIN_NAME+_0x564444(0x1fa),'serviceUsageSuffix':_0x564444(0x201)});}export function generateCommandHelp(_0x431a3d){const _0x378492=a321_0xa9b2,_0x3d89b8=createGenerators()['generateCommandHelp'](_0x431a3d);if(!requiresExplicitYes(_0x431a3d))return _0x3d89b8;return _0x3d89b8[_0x378492(0x1f4)]('Requires\x20--yes\x20to\x20confirm,\x20or\x20interactive\x20prompt.','Requires\x20explicit\x20--yes\x20for\x20execution;\x20use\x20--dry-run\x20to\x20preview.');}export function generateServiceHelp(_0x282e0c){return createGenerators()['generateServiceHelp'](_0x282e0c);}export function generateFullHelp(){const _0xda97f2=a321_0xa9b2;return createGenerators()[_0xda97f2(0x1f5)]();}
|
package/lib/framework/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2df7fd,_0x11b500){var _0x692522=a322_0x1a31,_0x4b485e=_0x2df7fd();while(!![]){try{var _0x402432=parseInt(_0x692522(0x11f))/0x1+parseInt(_0x692522(0x123))/0x2+-parseInt(_0x692522(0x121))/0x3*(-parseInt(_0x692522(0x11d))/0x4)+-parseInt(_0x692522(0x11e))/0x5*(parseInt(_0x692522(0x122))/0x6)+-parseInt(_0x692522(0x120))/0x7+parseInt(_0x692522(0x124))/0x8+parseInt(_0x692522(0x11c))/0x9;if(_0x402432===_0x11b500)break;else _0x4b485e['push'](_0x4b485e['shift']());}catch(_0x1375a3){_0x4b485e['push'](_0x4b485e['shift']());}}}(a322_0x3072,0xce82b));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a322_0x3072(){var _0x5d57a1=['685226Ibvvoj','1019592DkSdET','26252973ksjUzB','120364QNrYRI','1555350HPUPlV','29952KCriGk','11533935ezQKVa','63CaDOIm','30wJcPuO'];a322_0x3072=function(){return _0x5d57a1;};return a322_0x3072();}export{formatOutput}from'../framework/output.js';function a322_0x1a31(_0x3cf7a2,_0xed206a){_0x3cf7a2=_0x3cf7a2-0x11c;var _0x307225=a322_0x3072();var _0x1a3165=_0x307225[_0x3cf7a2];return _0x1a3165;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{riskLevelOrder}from'../framework/types.js';
|
package/lib/framework/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x47d01e,_0x420006){const _0xb19e4d=a323_0x35bc,_0x3467bf=_0x47d01e();while(!![]){try{const _0x5b5ca7=parseInt(_0xb19e4d(0x183))/0x1+-parseInt(_0xb19e4d(0x18e))/0x2+-parseInt(_0xb19e4d(0x189))/0x3+parseInt(_0xb19e4d(0x177))/0x4+-parseInt(_0xb19e4d(0x18b))/0x5+parseInt(_0xb19e4d(0x180))/0x6*(-parseInt(_0xb19e4d(0x18d))/0x7)+parseInt(_0xb19e4d(0x178))/0x8*(parseInt(_0xb19e4d(0x176))/0x9);if(_0x5b5ca7===_0x420006)break;else _0x3467bf['push'](_0x3467bf['shift']());}catch(_0x49f436){_0x3467bf['push'](_0x3467bf['shift']());}}}(a323_0x44dc,0x2a382));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliError,CliErrors}from'../errors.js';function a323_0x35bc(_0x39503c,_0x385f50){_0x39503c=_0x39503c-0x175;const _0x44dcba=a323_0x44dc();let _0x35bc0c=_0x44dcba[_0x39503c];return _0x35bc0c;}function a323_0x44dc(){const _0x30ec6a=['55020PlrfdB','pretty','data','1536534MoXrnM','360624mWnJuS','16XpJhhf','command','message','stdout','endsWith','_notice','validation','json','130722NfRBQf','error','jq:\x20','343624jfuLAo','hint','jqFilter','trim','format','update','903516KrSZgM','stringify','605555bbQYTa','code','49ofxcCK'];a323_0x44dc=function(){return _0x30ec6a;};return a323_0x44dc();}import{applyJqFilter}from'../utils/apply-jq-filter.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x260a0e,_0x4995e0){const _0x26ea20=a323_0x35bc,_0x1a14b2=_0x260a0e[_0x26ea20(0x17d)],{_notice:_0x493ca7,..._0x2f46cc}=_0x260a0e;void _0x493ca7,baseFormatOutput(_0x2f46cc,_0x4995e0),_0x4995e0[_0x26ea20(0x187)]==='pretty'&&printPrettyNotice(_0x1a14b2);}export function formatCliError(_0xc16056,_0x2243f2){const _0x483071=a323_0x35bc;if(_0x2243f2[_0x483071(0x187)]===_0x483071(0x18f))return![];const _0x54a6ab=_0xc16056[_0x483071(0x175)],_0x4e2665={'ok':![],'command':_0x2243f2[_0x483071(0x179)],'risk':_0x2243f2['risk'],'data':_0x54a6ab??null,'error':{'code':_0xc16056[_0x483071(0x18c)],'message':_0xc16056['message'],..._0xc16056[_0x483071(0x184)]?{'hint':_0xc16056['hint']}:{}}},_0x5504bf=_0x2243f2['format']===_0x483071(0x17f)?JSON[_0x483071(0x18a)](_0x4e2665,null,0x2):JSON[_0x483071(0x18a)](_0x4e2665);let _0x1862aa=_0x5504bf;if(_0x2243f2[_0x483071(0x185)]?.[_0x483071(0x186)]())try{_0x1862aa=applyJqFilter(_0x5504bf,_0x2243f2['jqFilter']);}catch(_0x192eda){const _0x42e881=_0x192eda instanceof CliError?_0x192eda:CliErrors[_0x483071(0x17e)](_0x483071(0x182)+(_0x192eda instanceof Error?_0x192eda[_0x483071(0x17a)]:String(_0x192eda))),_0x2b513b={..._0x4e2665,'error':{'code':_0x42e881[_0x483071(0x18c)],'message':_0x42e881['message'],..._0x42e881[_0x483071(0x184)]?{'hint':_0x42e881['hint']}:{},'cause':_0x4e2665[_0x483071(0x181)]}};_0x1862aa=_0x2243f2[_0x483071(0x187)]===_0x483071(0x17f)?JSON['stringify'](_0x2b513b,null,0x2):JSON[_0x483071(0x18a)](_0x2b513b);}return process[_0x483071(0x17b)]['write'](_0x1862aa[_0x483071(0x17c)]('\x0a')?_0x1862aa:_0x1862aa+'\x0a'),!![];}function printPrettyNotice(_0x54fc97){const _0x2c0119=a323_0x35bc;if(!_0x54fc97?.[_0x2c0119(0x188)])return;console[_0x2c0119(0x181)](_0x54fc97[_0x2c0119(0x188)][_0x2c0119(0x17a)]+'\x20('+_0x54fc97[_0x2c0119(0x188)]['url']+')');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4d464b,_0x38163e){var _0x54d23d=a324_0x3006,_0x346cab=_0x4d464b();while(!![]){try{var _0x19eb39=-parseInt(_0x54d23d(0x1b5))/0x1+-parseInt(_0x54d23d(0x1b8))/0x2+-parseInt(_0x54d23d(0x1b6))/0x3+-parseInt(_0x54d23d(0x1b2))/0x4+parseInt(_0x54d23d(0x1b3))/0x5*(-parseInt(_0x54d23d(0x1b4))/0x6)+parseInt(_0x54d23d(0x1b1))/0x7*(parseInt(_0x54d23d(0x1b0))/0x8)+-parseInt(_0x54d23d(0x1b7))/0x9*(-parseInt(_0x54d23d(0x1af))/0xa);if(_0x19eb39===_0x38163e)break;else _0x346cab['push'](_0x346cab['shift']());}catch(_0x49390d){_0x346cab['push'](_0x346cab['shift']());}}}(a324_0x5dc9,0xc1a28));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a324_0x3006(_0x36f519,_0x1853bc){_0x36f519=_0x36f519-0x1af;var _0x5dc95d=a324_0x5dc9();var _0x3006bb=_0x5dc95d[_0x36f519];return _0x3006bb;}function a324_0x5dc9(){var _0x4e6991=['130ugEkTy','49696epRXzo','672DPlxLc','401520QAPCLD','1345HYAeYR','11892AaNMHH','422043OBAQmI','2397051xxBDZy','1935675zAZNoy','1489202keHRNs'];a324_0x5dc9=function(){return _0x4e6991;};return a324_0x5dc9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3bf283,_0x5ea085){const _0x1121e6=a325_0x33d0,_0x154c32=_0x3bf283();while(!![]){try{const _0x32e952=-parseInt(_0x1121e6(0x8b))/0x1*(parseInt(_0x1121e6(0x96))/0x2)+parseInt(_0x1121e6(0x8d))/0x3*(-parseInt(_0x1121e6(0xa0))/0x4)+parseInt(_0x1121e6(0x9b))/0x5*(parseInt(_0x1121e6(0xa4))/0x6)+parseInt(_0x1121e6(0x94))/0x7+parseInt(_0x1121e6(0x93))/0x8*(parseInt(_0x1121e6(0x98))/0x9)+parseInt(_0x1121e6(0x8e))/0xa*(-parseInt(_0x1121e6(0x97))/0xb)+parseInt(_0x1121e6(0x9f))/0xc;if(_0x32e952===_0x5ea085)break;else _0x154c32['push'](_0x154c32['shift']());}catch(_0x89c1a2){_0x154c32['push'](_0x154c32['shift']());}}}(a325_0x34c4,0xd2c2b));import{CliErrors}from'../errors.js';import{resolveAlias,listAliases}from'../core/alias-resolver.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{resolveApiModelSource}from'../api/model-source.js';function a325_0x33d0(_0x46f902,_0x36dc09){_0x46f902=_0x46f902-0x8b;const _0x34c48a=a325_0x34c4();let _0x33d064=_0x34c48a[_0x46f902];return _0x33d064;}export function resolveAliasToCode(_0x2a1613,_0x111cde,_0x5e2624,_0x59a67d,_0x40d074,_0x5e2380){const _0x3e00b0=a325_0x33d0,_0x323508=_0x2a1613[_0x3e00b0(0x95)][_0x3e00b0(0x9c)](_0x31021f=>_0x31021f[_0x3e00b0(0xa1)]===_0x3e00b0(0x9e)&&_0x31021f['type']==='string'),_0x11c001=_0x2a1613[_0x3e00b0(0x95)][_0x3e00b0(0x9c)](_0x16bc53=>_0x16bc53[_0x3e00b0(0xa1)]===_0x3e00b0(0xa3)&&_0x16bc53[_0x3e00b0(0x91)]===_0x3e00b0(0xa2));if(!_0x323508||!_0x11c001)return;const _0x474fdf=_0x111cde['code']?String(_0x111cde['code']):'',_0x5ea502=_0x111cde[_0x3e00b0(0xa3)]?String(_0x111cde['alias']):'';if(!_0x474fdf&&!_0x5ea502)throw CliErrors[_0x3e00b0(0x9a)]('`'+_0x59a67d+_0x3e00b0(0xa5));if(_0x5ea502&&!_0x474fdf){const _0x23699f=resolveApiModelSource(_0x5e2624,_0x40d074,_0x5e2380),_0x25456e=resolveAlias(_0x5e2624,_0x5ea502,undefined,_0x23699f[_0x3e00b0(0xa6)],_0x23699f['profileName']);if(!_0x25456e){const _0x8c060e=listAliases(_0x5e2624,undefined,_0x23699f[_0x3e00b0(0xa6)],_0x23699f[_0x3e00b0(0x90)])[_0x3e00b0(0x9d)](_0x412829=>_0x412829[_0x3e00b0(0xa3)]),_0xa885a9=_0x8c060e['length']?_0x3e00b0(0x8c)+_0x8c060e[_0x3e00b0(0x99)](',\x20'):_0x3e00b0(0xa7)+_0x5e2624+_0x3e00b0(0x92)+CLI_BIN_NAME+_0x3e00b0(0x8f);throw CliErrors[_0x3e00b0(0x9a)](_0x3e00b0(0xa8)+_0x5ea502+'\x22.\x20'+_0xa885a9);}_0x111cde['code']=_0x25456e;}}function a325_0x34c4(){const _0x39669=['3485048hibiuc','flags','68nuOEuk','242JJnJpv','12537027CDZvhE','join','validation','35IHMbFE','some','map','code','6379404VqizQP','3806312EHjaKb','name','string','alias','995754lxTlvC','`\x20requires\x20either\x20--code\x20or\x20--alias.','filePath','No\x20model\x20aliases\x20found\x20in\x20','Unknown\x20alias\x20\x22','39957cNldNQ','Available\x20aliases:\x20','3bwcyIz','186730aBvchR','\x20api\x20pull`\x20first.','profileName','type','.\x20Run\x20`','8OjriPZ'];a325_0x34c4=function(){return _0x39669;};return a325_0x34c4();}
|
package/lib/framework/runner.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x38508a,_0x112663){const _0x4d136c=a326_0x1218,_0x309b3e=_0x38508a();while(!![]){try{const _0x2dc0d1=-parseInt(_0x4d136c(0x135))/0x1*(-parseInt(_0x4d136c(0x13c))/0x2)+parseInt(_0x4d136c(0x152))/0x3+-parseInt(_0x4d136c(0x12a))/0x4+parseInt(_0x4d136c(0x130))/0x5*(parseInt(_0x4d136c(0x138))/0x6)+-parseInt(_0x4d136c(0x125))/0x7+-parseInt(_0x4d136c(0x11b))/0x8+parseInt(_0x4d136c(0x122))/0x9;if(_0x2dc0d1===_0x112663)break;else _0x309b3e['push'](_0x309b3e['shift']());}catch(_0x26e855){_0x309b3e['push'](_0x309b3e['shift']());}}}(a326_0x5828,0x287c6));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';function a326_0x5828(){const _0x2a9655=['30966iXOLJD','toUpperCase','keys','resolveApiDomain','126oVrDbP','cancelled','none','defaultApp','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','\x0a\x20\x20','value','length','nonInteractive','RABETBASE_APPCODE','entries','string','\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','pageSize','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','catch','has','doctor','\x20\x20\x20Continue?\x20[y/N]\x20','Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`','LOVRABET_APPCODE','mergedCli','737499XFUJSB','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','rawFlags','App\x20\x22','replace','resolveAppCode','authRequired','some','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','AppCode\x20\x22','validation','production','meowKey','name','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','Current\x20resolved\x20appcode\x20is\x20\x22','../core/api-client.js','map','appcode','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','includes','Available:\x20','requiresAppCode','all','hasFormat','verbose','formatOutput','object','resolve','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20','Set\x20appcode\x20via\x20`','confirmHighRisk','join','apiDir','resolveCookie','hint','format','702648IJxKlm','../constant/env.js','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','filter','service','../constant/domain.js','High-risk\x20operation\x20`','1338390qpCtRY','isNonInteractive','defaultVerbose','2200688lIpSJH','explicitAppName','cookie','currentApp','_notice','565036VdGsjH','message','selectedAppName','trim','rejectedFlags','Edit\x20the\x20config\x20file\x20manually','50PBCAic','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','update','apps','4177vMxfzg','appCode','configMissing'];a326_0x5828=function(){return _0x2a9655;};return a326_0x5828();}import{CliErrors}from'../errors.js';function a326_0x1218(_0x55f63b,_0x274978){_0x55f63b=_0x55f63b-0x10c;const _0x58282d=a326_0x5828();let _0x121833=_0x58282d[_0x55f63b];return _0x121833;}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_0x245773}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function stringFlag(_0x5ea1af){const _0xfa6cf7=a326_0x1218;return typeof _0x5ea1af===_0xfa6cf7(0x147)&&_0x5ea1af['trim']()?_0x5ea1af[_0xfa6cf7(0x12d)]():undefined;}function resolveEnvAppCode(){const _0x48d4c4=a326_0x1218,_0x550cfd=stringFlag(process.env.RABETBASE_APPCODE);if(_0x550cfd)return{'name':_0x48d4c4(0x145),'value':_0x550cfd};const _0x1635c0=stringFlag(process.env.LOVRABET_APPCODE);if(_0x1635c0)return{'name':_0x48d4c4(0x150),'value':_0x1635c0};return undefined;}function hasExplicitAppCode(_0xc82d6b,_0x114ace){const _0x366698=a326_0x1218;return!!(stringFlag(_0xc82d6b[_0x366698(0x164)])||stringFlag(_0x114ace[_0x366698(0x164)]));}function assertEnvAppCodeNotIgnored(_0x55d50e,_0x460f59,_0x96ba97){const _0x42323f=a326_0x1218;if(!_0x460f59||_0x96ba97||_0x55d50e===_0x460f59['value'])return;const _0x52806b=_0x55d50e?_0x42323f(0x161)+_0x55d50e+'\x22.':'No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.';throw CliErrors[_0x42323f(0x15c)](_0x460f59['name']+'='+_0x460f59[_0x42323f(0x142)]+'\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20'+_0x52806b+'\x20'+(_0x42323f(0x11d)+_0x460f59[_0x42323f(0x15f)]+'\x22.'));}export function createPipelineEnv(_0x350cd7,_0x124325,_0x3bc95c=[]){const _0x5c1368=a326_0x1218;return{'rawFlags':_0x124325,'args':_0x3bc95c,'resolveAppCode':()=>_0x350cd7[_0x5c1368(0x136)],'resolveCookie':()=>_0x350cd7[_0x5c1368(0x127)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a326_0x245773(_0x124325),'defaultFormat':_0x350cd7[_0x5c1368(0x11a)],'defaultPageSize':_0x350cd7[_0x5c1368(0x149)],'defaultVerbose':_0x350cd7[_0x5c1368(0x10f)],'apiDir':_0x350cd7[_0x5c1368(0x117)],'riskLevel':_0x350cd7['riskLevel'],'selectedAppName':_0x350cd7[_0x5c1368(0x126)],'mergedCli':{'defaultApp':_0x350cd7[_0x5c1368(0x13f)],'currentApp':_0x350cd7[_0x5c1368(0x128)],'appCode':_0x350cd7[_0x5c1368(0x136)],'apps':_0x350cd7[_0x5c1368(0x134)]}};}export function createRabetbaseRunnerAdapter(_0x2dd09b={}){const _0x251a81=a326_0x1218;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x5e1881=>PIPELINE_FLAG_NAMES[_0x251a81(0x14c)](_0x5e1881['name']))[_0x251a81(0x163)](({name:_0x9e092,type:_0x290b52,description:_0x135b64})=>({'name':_0x9e092,'type':_0x290b52,'description':_0x135b64})),'formatOutput':_0x2dd09b[_0x251a81(0x110)]??formatOutput,'getCommandLabel'(_0x17322e){return CLI_BIN_NAME+'\x20'+_0x17322e['service']+'\x20'+_0x17322e['command'];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x3076d2,{def:_0x528e77}){const _0x4a2fe3=_0x251a81,_0x42cdf9=_0x3076d2[_0x4a2fe3(0x166)](_0x4a2fe3(0x12f))?_0x4a2fe3(0x140):_0x4a2fe3(0x132)+_0x528e77['risk']+_0x4a2fe3(0x113)+_0x4a2fe3(0x140);return CliErrors['validation'](_0x3076d2+_0x4a2fe3(0x141)+_0x42cdf9);}},async 'prepare'(_0x3b46f2,_0x2f1c07,_0x5a49d5,_0x478d8a){const _0x1f7b6e=_0x251a81,_0x49a9b1=_0x2f1c07[_0x1f7b6e(0x117)]||DEFAULT_API_DIR,_0x5d78b9=hasExplicitAppCode(_0x5a49d5,_0x2f1c07[_0x1f7b6e(0x154)]),_0x177f4d=stringFlag(_0x5a49d5[_0x1f7b6e(0x164)])||stringFlag(_0x2f1c07['rawFlags']['appcode']),_0x25e1bd=_0x2f1c07[_0x1f7b6e(0x151)]?.[_0x1f7b6e(0x134)]??{},_0x288f69=_0x2f1c07['selectedAppName']||_0x2f1c07[_0x1f7b6e(0x151)]?.[_0x1f7b6e(0x128)]||_0x2f1c07[_0x1f7b6e(0x151)]?.['defaultApp'],_0x2e36bc=_0x177f4d?Object[_0x1f7b6e(0x146)](_0x25e1bd)[_0x1f7b6e(0x11e)](([,_0x35693e])=>_0x35693e[_0x1f7b6e(0x164)]===_0x177f4d)[_0x1f7b6e(0x163)](([_0x5bb01f])=>_0x5bb01f):[];if(_0x2e36bc['length']>0x1&&!_0x2f1c07['selectedAppName'])throw CliErrors[_0x1f7b6e(0x15c)](_0x1f7b6e(0x15b)+_0x177f4d+_0x1f7b6e(0x160)+_0x2e36bc[_0x1f7b6e(0x116)](',\x20')+'.',_0x1f7b6e(0x15a));resolveAliasToCode(_0x3b46f2,_0x5a49d5,_0x49a9b1,_0x478d8a,_0x2f1c07[_0x1f7b6e(0x157)](),_0x288f69);const _0x5473ef=resolveCommandAuthMode(_0x3b46f2);let _0x2956bc='';if(_0x5473ef!==_0x1f7b6e(0x13e)){_0x2956bc=_0x2f1c07[_0x1f7b6e(0x118)]()||'';if(!_0x2956bc){if(_0x5473ef==='required')throw CliErrors[_0x1f7b6e(0x158)]();}else{const {setActiveCookie:_0x473840}=await import(_0x1f7b6e(0x162));_0x473840(_0x2956bc);}}const _0x42eb2b=_0x2f1c07[_0x1f7b6e(0x157)]()??'';if(_0x3b46f2[_0x1f7b6e(0x10c)]!==![]){if(!_0x5d78b9&&_0x288f69&&!_0x25e1bd[_0x288f69]){const _0x6fcc63=Object[_0x1f7b6e(0x13a)](_0x25e1bd);throw CliErrors[_0x1f7b6e(0x15c)](_0x1f7b6e(0x155)+_0x288f69+_0x1f7b6e(0x14a),_0x6fcc63[_0x1f7b6e(0x143)]>0x0?_0x1f7b6e(0x167)+_0x6fcc63[_0x1f7b6e(0x116)](',\x20')+_0x1f7b6e(0x153)+CLI_BIN_NAME+'\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.':_0x1f7b6e(0x14f)+CLI_BIN_NAME+_0x1f7b6e(0x165));}assertEnvAppCodeNotIgnored(_0x42eb2b,resolveEnvAppCode(),_0x5d78b9);if(!_0x42eb2b){const _0x5f3197=Object['keys'](_0x25e1bd);if(!_0x288f69&&_0x5f3197[_0x1f7b6e(0x143)]>0x1)throw CliErrors['configMissing']('Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`'+CLI_BIN_NAME+_0x1f7b6e(0x131)+_0x5f3197[_0x1f7b6e(0x116)](',\x20')+'.');throw CliErrors[_0x1f7b6e(0x137)](_0x1f7b6e(0x114)+CLI_BIN_NAME+_0x1f7b6e(0x148));}}return{'defaults':{'booleans':{'verbose':_0x2f1c07[_0x1f7b6e(0x124)]},'numbers':{'pagesize':_0x2f1c07['defaultPageSize']}},'extras':{'appCode':_0x42eb2b,'cookie':_0x2956bc,'apiDomain':_0x2f1c07[_0x1f7b6e(0x13b)](),'apiDir':_0x49a9b1,'selectedAppName':_0x2f1c07[_0x1f7b6e(0x12c)],'mergedCli':_0x2f1c07[_0x1f7b6e(0x151)]}};},'confirmHighRisk':_0x2dd09b[_0x251a81(0x115)]??(async({env:_0x1e068c,commandLabel:_0x156c72})=>{const _0x4909f7=_0x251a81;if(_0x1e068c[_0x4909f7(0x123)])throw CliErrors[_0x4909f7(0x15c)](_0x4909f7(0x121)+_0x156c72+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':['⚠\x20\x20High-risk\x20operation:\x20'+_0x156c72,_0x4909f7(0x14e)],'createCancelledError':_0xb4d316=>CliErrors[_0x4909f7(0x13d)](_0xb4d316)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x245932=a326_0x1218,{clearActiveCookie:_0x2a2dee}=await import(_0x245932(0x162));_0x2a2dee();}export async function finalizeRabetbaseRuntimeState(){const _0x4f337c=a326_0x1218;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x1f4575},{initEnv:_0x12fbd3}]=await Promise[_0x4f337c(0x10d)]([import(_0x4f337c(0x120)),import(_0x4f337c(0x11c))]);_0x1f4575(),_0x12fbd3(_0x4f337c(0x15d));}}export async function runCommand(_0xb08e5c,_0x2963fc,_0x523732=terminalRunnerAdapter){const _0x433129=a326_0x1218;assertRejectedFlags(_0xb08e5c,_0x2963fc[_0x433129(0x154)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0xb08e5c)?withUpdateNotice(_0xb08e5c):_0xb08e5c,_0x2963fc,_0x523732);}function assertRejectedFlags(_0x275335,_0x415f7d){const _0x4daea1=a326_0x1218;for(const _0x1cf3ab of _0x275335[_0x4daea1(0x12e)]??[]){const _0x320f59=GLOBAL_FLAGS['find'](_0x2eb296=>_0x2eb296['name']===_0x1cf3ab[_0x4daea1(0x15f)]),_0x13e05c=new Set([_0x1cf3ab[_0x4daea1(0x15f)],toCamelCase(_0x1cf3ab[_0x4daea1(0x15f)]),_0x320f59?.[_0x4daea1(0x15e)]]),_0x1fcae4=[..._0x13e05c][_0x4daea1(0x159)](_0x24777a=>{if(!_0x24777a)return![];const _0x540fff=_0x415f7d[_0x24777a];return _0x540fff!==undefined&&_0x540fff!==null&&_0x540fff!==![];});if(_0x1fcae4)throw CliErrors[_0x4daea1(0x15c)](_0x1cf3ab[_0x4daea1(0x12b)],_0x1cf3ab[_0x4daea1(0x119)]);}}function toCamelCase(_0x45ae55){const _0x4bfce9=a326_0x1218;return _0x45ae55[_0x4bfce9(0x156)](/-([a-z])/g,(_0x28acb1,_0xee28fc)=>_0xee28fc[_0x4bfce9(0x139)]());}function shouldAttachUpdateNotice(_0x423beb){const _0x372252=a326_0x1218;if(_0x423beb[_0x372252(0x10e)]===![])return![];return![_0x372252(0x133),'schema',_0x372252(0x14d)][_0x372252(0x166)](_0x423beb[_0x372252(0x11f)]);}function withUpdateNotice(_0x33b254){return{..._0x33b254,async 'execute'(_0x5619c2){const _0x3d10ac=a326_0x1218,_0x24db69=shouldResolveUpdateNotice(_0x5619c2)?resolveLatestUpdateNotice()[_0x3d10ac(0x14b)](()=>null):Promise[_0x3d10ac(0x112)](null),_0x464909=await _0x33b254['execute'](_0x5619c2);return attachUpdateNotice(_0x464909,await _0x24db69);}};}function shouldResolveUpdateNotice(_0x7a5c49){const _0x324627=a326_0x1218;return _0x7a5c49[_0x324627(0x11a)]==='pretty'&&!_0x7a5c49[_0x324627(0x144)];}function attachUpdateNotice(_0x1bba2f,_0x5e57d1){const _0x2d2980=a326_0x1218;if(!_0x5e57d1||!_0x1bba2f||typeof _0x1bba2f!==_0x2d2980(0x111))return _0x1bba2f;const _0x2e2f0c=_0x1bba2f,_0xeb4bc=typeof _0x2e2f0c['_notice']===_0x2d2980(0x111)&&_0x2e2f0c[_0x2d2980(0x129)]!==null?_0x2e2f0c[_0x2d2980(0x129)]:{};return{..._0x2e2f0c,'_notice':{..._0xeb4bc,'update':_0x5e57d1}};}
|
|
1
|
+
(function(_0x246550,_0x5127d5){const _0x3e6637=a326_0xe101,_0x35f1b3=_0x246550();while(!![]){try{const _0x43324d=parseInt(_0x3e6637(0x211))/0x1+parseInt(_0x3e6637(0x20b))/0x2*(parseInt(_0x3e6637(0x209))/0x3)+parseInt(_0x3e6637(0x229))/0x4*(-parseInt(_0x3e6637(0x1fe))/0x5)+parseInt(_0x3e6637(0x235))/0x6*(-parseInt(_0x3e6637(0x20d))/0x7)+parseInt(_0x3e6637(0x1ee))/0x8+-parseInt(_0x3e6637(0x21d))/0x9+parseInt(_0x3e6637(0x215))/0xa;if(_0x43324d===_0x5127d5)break;else _0x35f1b3['push'](_0x35f1b3['shift']());}catch(_0x22c823){_0x35f1b3['push'](_0x35f1b3['shift']());}}}(a326_0x4da2,0x246a1));import{resolveCommandAuthMode,runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{getCookie}from'../auth/get-cookie.js';import{getApiDomain}from'../constant/domain.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{DEFAULT_API_DIR}from'../constant/paths.js';import{isNonInteractive as a326_0x429a29}from'../utils/is-non-interactive.js';import{resolveAliasToCode}from'../framework/runner-alias.js';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';function a326_0x4da2(){const _0xe11e88=['\x20workspace\x20init\x20--appcode\x20<code>`\x20or\x20pass\x20--appcode.','configMissing','entries','⚠\x20\x20High-risk\x20operation:\x20','object','App\x20\x22','currentApp','toUpperCase','604dwfcbB','message','authRequired','isNonInteractive','required','length','\x22\x20belongs\x20to\x20multiple\x20app\x20profiles:\x20','map','risk','appCode','find','name','519576RhicXy','\x20config\x20delete\x20defaultApp`\x20to\x20repair\x20the\x20selection.','defaultVerbose','resolveAppCode','\x20\x20\x20Continue?\x20[y/N]\x20','pretty','validation','Multiple\x20apps\x20are\x20configured\x20but\x20no\x20default\x20app\x20is\x20selected.\x20Use\x20--app\x20<name>\x20or\x20run\x20`','.\x20Use\x20--app/--appcode,\x20or\x20run\x20`','rawFlags','keys','doctor','filter','resolveApiDomain','\x22\x20is\x20selected\x20but\x20not\x20defined\x20in\x20the\x20effective\x20project\x20apps.','appcode','../constant/env.js','pageSize','Available:\x20','Select\x20the\x20target\x20explicitly\x20with\x20--app\x20<profile>.','441424QyfifX','join','format','Edit\x20the\x20config\x20file\x20manually','schema','some','apps','No\x20appcode\x20is\x20resolved\x20from\x20--appcode,\x20project\x20config,\x20or\x20global\x20config.','AppCode\x20\x22','hint','defaultPageSize','\x20workspace\x20use\x20--app\x20<name>`.\x20Available:\x20','formatOutput','includes','LOVRABET_APPCODE','value','5690luPGYx','all','selectedAppName','meowKey','service','requiresAppCode','\x20is\x20not\x20used\x20as\x20appcode\x20automatically.\x20','mergedCli','defaultApp','AI\x20Agents\x20and\x20automated\x20scripts\x20must\x20not\x20modify\x20riskLevel\x20or\x20attempt\x20to\x20elevate\x20it.','trim','89511pFCyYE','../core/api-client.js','18qRbvIq','cancelled','7OCMbmc','To\x20use\x20this\x20environment\x20variable,\x20pass\x20--appcode\x20\x22$','command','update','51985CToIwh','string','replace','_notice','1633380LjFAcb','execute','riskLevel','confirmHighRisk','cookie','rejectedFlags','../constant/domain.js','A\x20human\x20user\x20may\x20review\x20the\x20active\x20risk\x20ceilings\x20and\x20manually\x20edit\x20the\x20applicable\x20.rabetbase.json\x20file\x20to\x20set\x20riskLevel\x20to\x20\x22','1183023zmtWtE','apiDir','production','\x22\x20if\x20this\x20operation\x20is\x20intended.\x20'];a326_0x4da2=function(){return _0xe11e88;};return a326_0x4da2();}function stringFlag(_0x3baf9a){const _0x520b10=a326_0xe101;return typeof _0x3baf9a===_0x520b10(0x212)&&_0x3baf9a['trim']()?_0x3baf9a[_0x520b10(0x208)]():undefined;}function resolveEnvAppCode(){const _0x1cda75=a326_0xe101,_0x41f167=stringFlag(process.env.RABETBASE_APPCODE);if(_0x41f167)return{'name':'RABETBASE_APPCODE','value':_0x41f167};const _0x19abea=stringFlag(process.env.LOVRABET_APPCODE);if(_0x19abea)return{'name':_0x1cda75(0x1fc),'value':_0x19abea};return undefined;}function hasExplicitAppCode(_0x19a311,_0x112d22){const _0x3b601b=a326_0xe101;return!!(stringFlag(_0x19a311[_0x3b601b(0x1e9)])||stringFlag(_0x112d22[_0x3b601b(0x1e9)]));}function assertEnvAppCodeNotIgnored(_0xc6f227,_0x537885,_0x33eac5){const _0x1699d8=a326_0xe101;if(!_0x537885||_0x33eac5||_0xc6f227===_0x537885[_0x1699d8(0x1fd)])return;const _0x4239a4=_0xc6f227?'Current\x20resolved\x20appcode\x20is\x20\x22'+_0xc6f227+'\x22.':_0x1699d8(0x1f5);throw CliErrors[_0x1699d8(0x1e0)](_0x537885[_0x1699d8(0x234)]+'='+_0x537885['value']+_0x1699d8(0x204)+_0x4239a4+'\x20'+(_0x1699d8(0x20e)+_0x537885['name']+'\x22.'));}export function createPipelineEnv(_0x548698,_0x516839,_0x367b22=[]){const _0xe30d43=a326_0xe101;return{'rawFlags':_0x516839,'args':_0x367b22,'resolveAppCode':()=>_0x548698[_0xe30d43(0x232)],'resolveCookie':()=>_0x548698[_0xe30d43(0x219)]||getCookie(),'resolveApiDomain':()=>getApiDomain(),'isNonInteractive':a326_0x429a29(_0x516839),'defaultFormat':_0x548698[_0xe30d43(0x1f0)],'defaultPageSize':_0x548698[_0xe30d43(0x1eb)],'defaultVerbose':_0x548698['verbose'],'apiDir':_0x548698[_0xe30d43(0x21e)],'riskLevel':_0x548698[_0xe30d43(0x217)],'selectedAppName':_0x548698['explicitAppName'],'mergedCli':{'defaultApp':_0x548698[_0xe30d43(0x206)],'currentApp':_0x548698['currentApp'],'appCode':_0x548698[_0xe30d43(0x232)],'apps':_0x548698[_0xe30d43(0x1f4)]}};}export function createRabetbaseRunnerAdapter(_0x48f605={}){const _0x534e09=a326_0xe101;return{'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x534e09(0x1e6)](_0x14625b=>PIPELINE_FLAG_NAMES['has'](_0x14625b[_0x534e09(0x234)]))[_0x534e09(0x230)](({name:_0x257cef,type:_0x5a9b49,description:_0x34f64b})=>({'name':_0x257cef,'type':_0x5a9b49,'description':_0x34f64b})),'formatOutput':_0x48f605[_0x534e09(0x1fa)]??formatOutput,'getCommandLabel'(_0x2ca99e){const _0x5883a4=_0x534e09;return CLI_BIN_NAME+'\x20'+_0x2ca99e[_0x5883a4(0x202)]+'\x20'+_0x2ca99e[_0x5883a4(0x20f)];},'riskPolicy':{'skipWhenDryRun':!![],'createError'(_0x1729a6,{def:_0x3dc103}){const _0x10d8c3=_0x534e09,_0x4bf908=_0x1729a6['includes'](_0x10d8c3(0x1f1))?_0x10d8c3(0x207):_0x10d8c3(0x21c)+_0x3dc103[_0x10d8c3(0x231)]+_0x10d8c3(0x220)+_0x10d8c3(0x207);return CliErrors[_0x10d8c3(0x1e0)](_0x1729a6+'\x0a\x20\x20'+_0x4bf908);}},async 'prepare'(_0x45d321,_0x11625a,_0x26930c,_0xf7e074){const _0x48b436=_0x534e09,_0x1cb8c5=_0x11625a[_0x48b436(0x21e)]||DEFAULT_API_DIR,_0x3743ef=hasExplicitAppCode(_0x26930c,_0x11625a[_0x48b436(0x1e3)]),_0x4daab6=stringFlag(_0x26930c[_0x48b436(0x1e9)])||stringFlag(_0x11625a[_0x48b436(0x1e3)][_0x48b436(0x1e9)]),_0x314005=_0x11625a['mergedCli']?.['apps']??{},_0x5b1a60=_0x11625a['selectedAppName']||_0x11625a[_0x48b436(0x205)]?.[_0x48b436(0x227)]||_0x11625a[_0x48b436(0x205)]?.[_0x48b436(0x206)],_0x1f9e8f=_0x4daab6?Object[_0x48b436(0x223)](_0x314005)['filter'](([,_0x1c1138])=>_0x1c1138[_0x48b436(0x1e9)]===_0x4daab6)[_0x48b436(0x230)](([_0x364c7a])=>_0x364c7a):[];if(_0x1f9e8f[_0x48b436(0x22e)]>0x1&&!_0x11625a[_0x48b436(0x200)])throw CliErrors[_0x48b436(0x1e0)](_0x48b436(0x1f6)+_0x4daab6+_0x48b436(0x22f)+_0x1f9e8f[_0x48b436(0x1ef)](',\x20')+'.',_0x48b436(0x1ed));resolveAliasToCode(_0x45d321,_0x26930c,_0x1cb8c5,_0xf7e074,_0x11625a[_0x48b436(0x238)](),_0x5b1a60);const _0x3b0d5d=resolveCommandAuthMode(_0x45d321);let _0xa8ed47='';if(_0x3b0d5d!=='none'){_0xa8ed47=_0x11625a['resolveCookie']()||'';if(!_0xa8ed47){if(_0x3b0d5d===_0x48b436(0x22d))throw CliErrors[_0x48b436(0x22b)]();}else{const {setActiveCookie:_0x508afb}=await import(_0x48b436(0x20a));_0x508afb(_0xa8ed47);}}const _0xc61bbc=_0x11625a['resolveAppCode']()??'';if(_0x45d321[_0x48b436(0x203)]!==![]){if(!_0x3743ef&&_0x5b1a60&&!_0x314005[_0x5b1a60]){const _0x2aaf9d=Object[_0x48b436(0x1e4)](_0x314005);throw CliErrors[_0x48b436(0x1e0)](_0x48b436(0x226)+_0x5b1a60+_0x48b436(0x1e8),_0x2aaf9d[_0x48b436(0x22e)]>0x0?_0x48b436(0x1ec)+_0x2aaf9d[_0x48b436(0x1ef)](',\x20')+_0x48b436(0x1e2)+CLI_BIN_NAME+_0x48b436(0x236):'Use\x20--appcode,\x20add\x20the\x20app\x20to\x20the\x20project\x20workspace,\x20or\x20run\x20`'+CLI_BIN_NAME+_0x48b436(0x236));}assertEnvAppCodeNotIgnored(_0xc61bbc,resolveEnvAppCode(),_0x3743ef);if(!_0xc61bbc){const _0x35e221=Object[_0x48b436(0x1e4)](_0x314005);if(!_0x5b1a60&&_0x35e221[_0x48b436(0x22e)]>0x1)throw CliErrors['configMissing'](_0x48b436(0x1e1)+CLI_BIN_NAME+_0x48b436(0x1f9)+_0x35e221['join'](',\x20')+'.');throw CliErrors[_0x48b436(0x222)]('Set\x20appcode\x20via\x20`'+CLI_BIN_NAME+_0x48b436(0x221));}}return{'defaults':{'booleans':{'verbose':_0x11625a[_0x48b436(0x237)]},'numbers':{'pagesize':_0x11625a[_0x48b436(0x1f8)]}},'extras':{'appCode':_0xc61bbc,'cookie':_0xa8ed47,'apiDomain':_0x11625a[_0x48b436(0x1e7)](),'apiDir':_0x1cb8c5,'selectedAppName':_0x11625a[_0x48b436(0x200)],'mergedCli':_0x11625a['mergedCli']}};},'confirmHighRisk':_0x48f605[_0x534e09(0x218)]??(async({env:_0x1939f2,commandLabel:_0x2cea8b})=>{const _0x417a08=_0x534e09;if(_0x1939f2[_0x417a08(0x22c)])throw CliErrors[_0x417a08(0x1e0)]('High-risk\x20operation\x20`'+_0x2cea8b+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.');await requireConfirmationPrompt({'lines':[_0x417a08(0x224)+_0x2cea8b,_0x417a08(0x239)],'createCancelledError':_0x335402=>CliErrors[_0x417a08(0x20c)](_0x335402)});}),async 'finalize'(){await clearRabetbaseCommandState();}};}const terminalRunnerAdapter=createRabetbaseRunnerAdapter();async function clearRabetbaseCommandState(){const _0x1c8032=a326_0xe101,{clearActiveCookie:_0x24cba8}=await import(_0x1c8032(0x20a));_0x24cba8();}export async function finalizeRabetbaseRuntimeState(){const _0x13364d=a326_0xe101;try{await clearRabetbaseCommandState();}finally{const [{initDomains:_0x7c729a},{initEnv:_0x392999}]=await Promise[_0x13364d(0x1ff)]([import(_0x13364d(0x21b)),import(_0x13364d(0x1ea))]);_0x7c729a(),_0x392999(_0x13364d(0x21f));}}export async function runCommand(_0x1726c9,_0x376dc4,_0x156c1e=terminalRunnerAdapter){const _0x51c032=a326_0xe101;assertRejectedFlags(_0x1726c9,_0x376dc4[_0x51c032(0x1e3)]),await runCommandWithAdapter(shouldAttachUpdateNotice(_0x1726c9)?withUpdateNotice(_0x1726c9):_0x1726c9,_0x376dc4,_0x156c1e);}function assertRejectedFlags(_0x361199,_0x31807a){const _0x20040c=a326_0xe101;for(const _0x3824cc of _0x361199[_0x20040c(0x21a)]??[]){const _0x44478e=GLOBAL_FLAGS[_0x20040c(0x233)](_0x576bbb=>_0x576bbb[_0x20040c(0x234)]===_0x3824cc[_0x20040c(0x234)]),_0x164bc7=new Set([_0x3824cc[_0x20040c(0x234)],toCamelCase(_0x3824cc[_0x20040c(0x234)]),_0x44478e?.[_0x20040c(0x201)]]),_0xe06808=[..._0x164bc7][_0x20040c(0x1f3)](_0x20836d=>{if(!_0x20836d)return![];const _0x4407b7=_0x31807a[_0x20836d];return _0x4407b7!==undefined&&_0x4407b7!==null&&_0x4407b7!==![];});if(_0xe06808)throw CliErrors['validation'](_0x3824cc[_0x20040c(0x22a)],_0x3824cc[_0x20040c(0x1f7)]);}}function a326_0xe101(_0xdc760a,_0x58de47){_0xdc760a=_0xdc760a-0x1df;const _0x4da262=a326_0x4da2();let _0xe10144=_0x4da262[_0xdc760a];return _0xe10144;}function toCamelCase(_0x4a182a){const _0x18fede=a326_0xe101;return _0x4a182a[_0x18fede(0x213)](/-([a-z])/g,(_0x5b6d3c,_0x343623)=>_0x343623[_0x18fede(0x228)]());}function shouldAttachUpdateNotice(_0x2d3aaa){const _0x5736c2=a326_0xe101;if(_0x2d3aaa['hasFormat']===![])return![];return![_0x5736c2(0x210),_0x5736c2(0x1f2),_0x5736c2(0x1e5)][_0x5736c2(0x1fb)](_0x2d3aaa[_0x5736c2(0x202)]);}function withUpdateNotice(_0x3ac872){return{..._0x3ac872,async 'execute'(_0x351bff){const _0x4252a0=a326_0xe101,_0x1dba91=shouldResolveUpdateNotice(_0x351bff)?resolveLatestUpdateNotice()['catch'](()=>null):Promise['resolve'](null),_0x3f5234=await _0x3ac872[_0x4252a0(0x216)](_0x351bff);return attachUpdateNotice(_0x3f5234,await _0x1dba91);}};}function shouldResolveUpdateNotice(_0x23b879){const _0x4bb20d=a326_0xe101;return _0x23b879[_0x4bb20d(0x1f0)]===_0x4bb20d(0x1df)&&!_0x23b879['nonInteractive'];}function attachUpdateNotice(_0x402e83,_0x39f052){const _0x13cf5d=a326_0xe101;if(!_0x39f052||!_0x402e83||typeof _0x402e83!==_0x13cf5d(0x225))return _0x402e83;const _0x1b97ad=_0x402e83,_0x7484d3=typeof _0x1b97ad['_notice']===_0x13cf5d(0x225)&&_0x1b97ad[_0x13cf5d(0x214)]!==null?_0x1b97ad[_0x13cf5d(0x214)]:{};return{..._0x1b97ad,'_notice':{..._0x7484d3,'update':_0x39f052}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x58ca2d,_0x556a47){const _0x2e1fa3=a327_0x41cf,_0x246fee=_0x58ca2d();while(!![]){try{const _0x865904=parseInt(_0x2e1fa3(0x15b))/0x1+parseInt(_0x2e1fa3(0x160))/0x2*(parseInt(_0x2e1fa3(0x15a))/0x3)+-parseInt(_0x2e1fa3(0x15f))/0x4*(-parseInt(_0x2e1fa3(0x159))/0x5)+parseInt(_0x2e1fa3(0x158))/0x6+parseInt(_0x2e1fa3(0x15d))/0x7*(-parseInt(_0x2e1fa3(0x15c))/0x8)+-parseInt(_0x2e1fa3(0x15e))/0x9*(-parseInt(_0x2e1fa3(0x157))/0xa)+-parseInt(_0x2e1fa3(0x162))/0xb;if(_0x865904===_0x556a47)break;else _0x246fee['push'](_0x246fee['shift']());}catch(_0x30f26d){_0x246fee['push'](_0x246fee['shift']());}}}(a327_0x5eba,0x99431));function a327_0x5eba(){const _0x13ac66=['230408qbnGND','468112WFgjVP','../commands/registry.js','21885028LePKaM','400HiGKpx','3859458tLgQNs','100vpaAie','9ZinDtt','196949AlXrBP','9933208pFjLGP','7foCaQC','262026wPYekZ'];a327_0x5eba=function(){return _0x13ac66;};return a327_0x5eba();}function a327_0x41cf(_0x23f7d5,_0x167bd4){_0x23f7d5=_0x23f7d5-0x157;const _0x5ebafc=a327_0x5eba();let _0x41cf55=_0x5ebafc[_0x23f7d5];return _0x41cf55;}import{buildSchemaPayload as a327_0x404cf7}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x4ce859=a327_0x41cf,{serviceRegistry:_0x4099d3,findDefinition:_0x32431a}=await import(_0x4ce859(0x161));return a327_0x404cf7({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x4099d3,'buildAllFlags':buildAllFlags,'findDefinition':_0x32431a});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xb73281,_0x52d669){const _0x47fa0f=a328_0x1ce8,_0x4333c0=_0xb73281();while(!![]){try{const _0x28a8e2=-parseInt(_0x47fa0f(0x19b))/0x1+-parseInt(_0x47fa0f(0x192))/0x2+parseInt(_0x47fa0f(0x197))/0x3*(parseInt(_0x47fa0f(0x189))/0x4)+parseInt(_0x47fa0f(0x1a1))/0x5*(parseInt(_0x47fa0f(0x1a0))/0x6)+parseInt(_0x47fa0f(0x191))/0x7*(-parseInt(_0x47fa0f(0x19a))/0x8)+parseInt(_0x47fa0f(0x195))/0x9*(-parseInt(_0x47fa0f(0x186))/0xa)+-parseInt(_0x47fa0f(0x193))/0xb*(-parseInt(_0x47fa0f(0x183))/0xc);if(_0x28a8e2===_0x52d669)break;else _0x4333c0['push'](_0x4333c0['shift']());}catch(_0x490a3f){_0x4333c0['push'](_0x4333c0['shift']());}}}(a328_0x234b,0xd82c8));import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a328_0x1ce8(_0xfb6f85,_0x1be8a1){_0xfb6f85=_0xfb6f85-0x183;const _0x234b39=a328_0x234b();let _0x1ce8cb=_0x234b39[_0xfb6f85];return _0x1ce8cb;}export function assertSupportedCommandFlags(_0x3347f4,_0x4d21eb){const _0x5ddb7a=a328_0x1ce8;if(!_0x3347f4[_0x5ddb7a(0x18e)])return;const _0x5ac3dc=new Set([_0x5ddb7a(0x198),_0x5ddb7a(0x19f)]),_0x4f009a=GLOBAL_FLAGS[_0x5ddb7a(0x19d)](_0xdd34a4=>PIPELINE_FLAG_NAMES[_0x5ddb7a(0x19e)](_0xdd34a4[_0x5ddb7a(0x196)]));for(const _0x27ded9 of[..._0x3347f4[_0x5ddb7a(0x199)],..._0x4f009a]){addFlagCandidates(_0x5ac3dc,_0x27ded9);}for(const [_0x486154,_0x21f125]of Object['entries'](_0x4d21eb)){if(!isExplicitValue(_0x21f125)||_0x5ac3dc['has'](_0x486154))continue;const _0x2b971e=GLOBAL_FLAGS[_0x5ddb7a(0x184)](_0x169b28=>_0x169b28[_0x5ddb7a(0x190)]===_0x486154)?.[_0x5ddb7a(0x196)]??toKebabCase(_0x486154);throw CliErrors[_0x5ddb7a(0x194)](_0x5ddb7a(0x188)+_0x2b971e+'\x20for\x20`'+CLI_BIN_NAME+'\x20'+_0x3347f4[_0x5ddb7a(0x19c)]+'\x20'+_0x3347f4[_0x5ddb7a(0x18d)]+'`.',_0x5ddb7a(0x18f)+CLI_BIN_NAME+'\x20'+_0x3347f4[_0x5ddb7a(0x19c)]+'\x20'+_0x3347f4['command']+_0x5ddb7a(0x18b));}}function addFlagCandidates(_0x4c2768,_0xf75d32){const _0x5dfa42=a328_0x1ce8,_0x1efa3c=_0x5dfa42(0x190)in _0xf75d32?[_0xf75d32[_0x5dfa42(0x196)],_0xf75d32['meowKey']]:[_0xf75d32['name'],_0xf75d32[_0x5dfa42(0x187)]];for(const _0x1e97d6 of _0x1efa3c){if(!_0x1e97d6)continue;_0x4c2768[_0x5dfa42(0x185)](_0x1e97d6),_0x4c2768[_0x5dfa42(0x185)](toCamelCase(_0x1e97d6));}}function isExplicitValue(_0x350770){return _0x350770!==undefined&&_0x350770!==null&&_0x350770!==![]&&(!Array['isArray'](_0x350770)||_0x350770['length']>0x0);}function toCamelCase(_0x544abb){const _0x266abd=a328_0x1ce8;return _0x544abb[_0x266abd(0x18a)](/-([a-z])/g,(_0x4720ea,_0x4be0f7)=>_0x4be0f7['toUpperCase']());}function toKebabCase(_0x355cd1){const _0x114ff9=a328_0x1ce8;return _0x355cd1[_0x114ff9(0x18a)](/([a-z0-9])([A-Z])/g,'$1-$2')[_0x114ff9(0x18c)]();}function a328_0x234b(){const _0x547dda=['114YTnNTd','help','flags','56BgZsnm','1359675LHSOLP','service','filter','has','version','6JbhBxS','1240945aRlDZA','28332MeYotn','find','add','10yXMRAN','alias','Unsupported\x20flag\x20--','37392vwSHMX','replace','\x20--help`\x20to\x20view\x20the\x20current\x20command\x20contract.','toLowerCase','command','strictFlags','Run\x20`','meowKey','1203349iVoZuw','205778dmfgOY','14157TXVOcg','validation','815931uDBFAC','name'];a328_0x234b=function(){return _0x547dda;};return a328_0x234b();}
|
package/lib/framework/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3ffaaa,_0x4700d0){var _0x22e719=a329_0x1f7a,_0x599630=_0x3ffaaa();while(!![]){try{var _0x104975=parseInt(_0x22e719(0x1b9))/0x1*(-parseInt(_0x22e719(0x1bc))/0x2)+-parseInt(_0x22e719(0x1c0))/0x3*(parseInt(_0x22e719(0x1be))/0x4)+parseInt(_0x22e719(0x1c1))/0x5+-parseInt(_0x22e719(0x1ba))/0x6+parseInt(_0x22e719(0x1bb))/0x7+-parseInt(_0x22e719(0x1b8))/0x8*(parseInt(_0x22e719(0x1bf))/0x9)+parseInt(_0x22e719(0x1bd))/0xa;if(_0x104975===_0x4700d0)break;else _0x599630['push'](_0x599630['shift']());}catch(_0x4c7914){_0x599630['push'](_0x599630['shift']());}}}(a329_0x26bc,0x556c6));function a329_0x1f7a(_0x202b3f,_0x4d066e){_0x202b3f=_0x202b3f-0x1b8;var _0x26bc62=a329_0x26bc();var _0x1f7a2b=_0x26bc62[_0x202b3f];return _0x1f7a2b;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat,commandAllowsOptionalAuth,commandRequiresAuth,formatDeprecatedCommandMessage,resolveCommandAuthMode}from'@lovrabet/cli-framework';function a329_0x26bc(){var _0x5e48b2=['12837660gzWPQO','314384hIyEeB','9lATROd','18GhBaTq','2638575oywDMP','1817824DdbOjk','227oUbXrK','3457560DuJSjR','1899352nwkMEe','4034VpWkCF'];a329_0x26bc=function(){return _0x5e48b2;};return a329_0x26bc();}
|
|
@@ -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";
|
|
2
|
+
export declare const GIT_TAG = "v2.5.9";
|
|
3
|
+
export declare const GIT_COMMIT = "4f61f3dd";
|
|
4
|
+
export declare const BUILD_TIME = "2026-10-29T02:13:36.540Z";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a330_0xbe4138=a330_0x2f39;(function(_0x16ac39,_0x4bccd6){const _0x251b40=a330_0x2f39,_0x3f358b=_0x16ac39();while(!![]){try{const _0xfff43d=parseInt(_0x251b40(0xfb))/0x1*(parseInt(_0x251b40(0xed))/0x2)+-parseInt(_0x251b40(0xf6))/0x3*(parseInt(_0x251b40(0xf2))/0x4)+parseInt(_0x251b40(0xf3))/0x5*(-parseInt(_0x251b40(0xf5))/0x6)+parseInt(_0x251b40(0xf8))/0x7*(parseInt(_0x251b40(0xef))/0x8)+-parseInt(_0x251b40(0xee))/0x9+-parseInt(_0x251b40(0xfa))/0xa+parseInt(_0x251b40(0xf4))/0xb*(parseInt(_0x251b40(0xf9))/0xc);if(_0xfff43d===_0x4bccd6)break;else _0x3f358b['push'](_0x3f358b['shift']());}catch(_0x4633d7){_0x3f358b['push'](_0x3f358b['shift']());}}}(a330_0x2ae3,0x87873));function a330_0x2ae3(){const _0x26b792=['3450300stzmTk','411338mlXfbl','2026-10-29T02:13:36.540Z','4dwFSxd','6602931KynqXx','4277768EgfWER','v2.5.9','4f61f3dd','869044tKQApI','2051825aeXuxA','29073MuDiMd','12eaTQjK','3DIREsW','2.5.9','14gimTeN','3540kGaUMS'];a330_0x2ae3=function(){return _0x26b792;};return a330_0x2ae3();}export const VERSION=a330_0xbe4138(0xf7);export const GIT_TAG=a330_0xbe4138(0xf0);export const GIT_COMMIT=a330_0xbe4138(0xf1);function a330_0x2f39(_0x3438db,_0x19a69f){_0x3438db=_0x3438db-0xec;const _0x2ae328=a330_0x2ae3();let _0x2f39de=_0x2ae328[_0x3438db];return _0x2f39de;}export const BUILD_TIME=a330_0xbe4138(0xec);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a331_0x364b6a=a331_0x33c5;(function(_0x218304,_0x4cce75){const _0x1352c4=a331_0x33c5,_0x8ee55e=_0x218304();while(!![]){try{const _0x1c5c66=-parseInt(_0x1352c4(0xe3))/0x1*(-parseInt(_0x1352c4(0xdc))/0x2)+-parseInt(_0x1352c4(0xeb))/0x3+-parseInt(_0x1352c4(0xe6))/0x4+-parseInt(_0x1352c4(0xec))/0x5*(parseInt(_0x1352c4(0xde))/0x6)+-parseInt(_0x1352c4(0xdb))/0x7*(parseInt(_0x1352c4(0xdf))/0x8)+parseInt(_0x1352c4(0x104))/0x9*(-parseInt(_0x1352c4(0xee))/0xa)+-parseInt(_0x1352c4(0x101))/0xb*(-parseInt(_0x1352c4(0xe9))/0xc);if(_0x1c5c66===_0x4cce75)break;else _0x8ee55e['push'](_0x8ee55e['shift']());}catch(_0x428624){_0x8ee55e['push'](_0x8ee55e['shift']());}}}(a331_0xaa6c,0x6e51e));function a331_0xaa6c(){const _0x5ac3be=['https://dev.lovrabet.com','indonesia','https://user.lovrabet.id','https://daily.lovrabet.ai','https://daily-api.lovrabet.com','china','https://daily-runtime.lovrabet.ai','https://skills.lovrabet.ai','https://kb-service.lovrabet.com','https://runtime.lovrabet.ai','https://app.lovrabet.com','https://daily.lovrabet.com','6331468zlZEkB','https://g.lovrabet.ai','https://cdnjs.cloudflare.com/ajax/libs','1350xpwHgl','https://skills-daily.lovrabet.ai','https://api.lovrabet.ai','https://api.lovrabet.com','2366938pRmrVk','24UIJoer','https://g.lovrabet.id','6rReUHq','8XLLnFO','https://dev.lovrabet.ai','https://kb-service-daily.lovrabet.com','https://app.lovrabet.ai','61185QyLRiG','https://dev.lovrabet.id','https://daily-api.lovrabet.ai','200408CgMEAU','https://runtime.lovrabet.id','https://api.lovrabet.id','36WrlxlZ','https://user-daily.lovrabet.com','2304693FgIUxc','1883485phlSQI','https://g.alicdn.com/code/lib','31730BbcQYS','Mainland\x20China','https://user-daily.lovrabet.ai','https://skills.lovrabet.com','https://kb-service.lovrabet.id','global','https://user.lovrabet.com'];a331_0xaa6c=function(){return _0x5ac3be;};return a331_0xaa6c();}export const ROUTING_CATALOG_DIGEST='57d346b80b12ca567af9d86dd7f8c02a0c27fe15d4944c8345add2cc6134c587';function a331_0x33c5(_0x511d3f,_0x221486){_0x511d3f=_0x511d3f-0xd9;const _0xaa6cec=a331_0xaa6c();let _0x33c5c8=_0xaa6cec[_0x511d3f];return _0x33c5c8;}export const DEFAULT_REGION='cn';export const REGION_VALUES=['cn','id','global'];export const ENABLED_REGION_VALUES=['cn','id',a331_0x364b6a(0xf3)];export const OFFICIAL_ROUTING_PROFILES={'cn':{'enabled':!![],'label':a331_0x364b6a(0xef),'aliases':[a331_0x364b6a(0xfa)],'serviceDomains':{'production':{'user':a331_0x364b6a(0xf4),'api':a331_0x364b6a(0xda),'runtime':'https://runtime.lovrabet.com','skill':a331_0x364b6a(0xf1),'kb':a331_0x364b6a(0xda),'kbService':a331_0x364b6a(0xfd),'app':a331_0x364b6a(0xff)},'daily':{'user':a331_0x364b6a(0xea),'api':a331_0x364b6a(0xf9),'runtime':'https://daily-runtime.lovrabet.com','skill':'https://skills-daily.lovrabet.com','kb':a331_0x364b6a(0xf9),'kbService':a331_0x364b6a(0xe1),'app':a331_0x364b6a(0x100)}},'cdn':{'libraries':a331_0x364b6a(0xed),'lovrabet':'https://g.lovrabet.com'},'local':{'origin':a331_0x364b6a(0xf5)}},'id':{'enabled':!![],'label':'Indonesia','aliases':[a331_0x364b6a(0xf6)],'serviceDomains':{'production':{'user':a331_0x364b6a(0xf7),'api':a331_0x364b6a(0xe8),'runtime':a331_0x364b6a(0xe7),'skill':'https://skills.lovrabet.id','kb':'https://api.lovrabet.id','kbService':a331_0x364b6a(0xf2),'app':'https://app.lovrabet.id'}},'cdn':{'libraries':a331_0x364b6a(0x103),'lovrabet':a331_0x364b6a(0xdd)},'local':{'origin':a331_0x364b6a(0xe4)}},'global':{'enabled':!![],'label':'Global','aliases':[],'serviceDomains':{'production':{'user':'https://user.lovrabet.ai','api':'https://api.lovrabet.ai','runtime':a331_0x364b6a(0xfe),'skill':a331_0x364b6a(0xfc),'kb':a331_0x364b6a(0xd9),'app':a331_0x364b6a(0xe2)},'daily':{'user':a331_0x364b6a(0xf0),'api':a331_0x364b6a(0xe5),'runtime':a331_0x364b6a(0xfb),'skill':a331_0x364b6a(0x105),'kb':a331_0x364b6a(0xe5),'app':a331_0x364b6a(0xf8)}},'cdn':{'libraries':'https://cdnjs.cloudflare.com/ajax/libs','lovrabet':a331_0x364b6a(0x102)},'local':{'origin':a331_0x364b6a(0xe0)}}};export const REGION_ALIASES={'china':'cn','indonesia':'id'};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a332_0x1c6d36=a332_0x2acb;(function(_0xc123b8,_0x45633d){const _0x10ed6c=a332_0x2acb,_0x4887f7=_0xc123b8();while(!![]){try{const _0x2a9b41=-parseInt(_0x10ed6c(0x1f1))/0x1+parseInt(_0x10ed6c(0x1ee))/0x2+-parseInt(_0x10ed6c(0x1eb))/0x3+-parseInt(_0x10ed6c(0x1f0))/0x4+parseInt(_0x10ed6c(0x1ef))/0x5+parseInt(_0x10ed6c(0x1ea))/0x6+parseInt(_0x10ed6c(0x1f3))/0x7*(parseInt(_0x10ed6c(0x1f7))/0x8);if(_0x2a9b41===_0x45633d)break;else _0x4887f7['push'](_0x4887f7['shift']());}catch(_0x391133){_0x4887f7['push'](_0x4887f7['shift']());}}}(a332_0x15d4,0xdf0ca));function a332_0x2acb(_0x42f29e,_0x226846){_0x42f29e=_0x42f29e-0x1e8;const _0x15d400=a332_0x15d4();let _0x2acb94=_0x15d400[_0x42f29e];return _0x2acb94;}export const ENTERPRISE_ROUTING_SCHEMA_DIGEST=a332_0x1c6d36(0x1f2);function a332_0x15d4(){const _0x4d82cf=['1894680eWZYBq','kbServiceDomain','certificateDomain','105656SPLlKf','1810160OgHvws','3328496ziPTUO','697279LqHYHD','a03fe188b2b34518efc5668666c0001d20354882cd7dd70afec902dffe1329c3','1267WftxFN','userDomain','kbDomain','apiDomain','107760tfgPGY','lovrabet','appDomain','enterprise','runtimeDomain','1329858rYihYE'];a332_0x15d4=function(){return _0x4d82cf;};return a332_0x15d4();}export const ENTERPRISE_ROUTING_PROTOCOL='lovrabet-routing/v1';export const ENTERPRISE_ROUTING_KIND=a332_0x1c6d36(0x1e8);export const ENTERPRISE_ROUTING_DOMAIN_FIELDS=['userDomain',a332_0x1c6d36(0x1f6),a332_0x1c6d36(0x1e9),'skillDomain',a332_0x1c6d36(0x1f5),a332_0x1c6d36(0x1ec),a332_0x1c6d36(0x1f9),'localDomain',a332_0x1c6d36(0x1ed)];export const REQUIRED_ENTERPRISE_ROUTING_DOMAIN_FIELDS=[a332_0x1c6d36(0x1f4),'apiDomain','runtimeDomain','skillDomain','kbDomain','appDomain'];export const ENTERPRISE_ROUTING_CDN_FIELDS=['libraries',a332_0x1c6d36(0x1f8)];export const REQUIRED_ENTERPRISE_ROUTING_CDN_FIELDS=['libraries','lovrabet'];
|
package/lib/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1a673b,_0x568066){var _0x15f95b=a333_0x55ef,_0x2535a8=_0x1a673b();while(!![]){try{var _0x3479a3=parseInt(_0x15f95b(0x133))/0x1*(parseInt(_0x15f95b(0x134))/0x2)+-parseInt(_0x15f95b(0x12c))/0x3*(-parseInt(_0x15f95b(0x130))/0x4)+parseInt(_0x15f95b(0x12e))/0x5+parseInt(_0x15f95b(0x12b))/0x6+-parseInt(_0x15f95b(0x135))/0x7+-parseInt(_0x15f95b(0x12f))/0x8+parseInt(_0x15f95b(0x12a))/0x9*(parseInt(_0x15f95b(0x128))/0xa);if(_0x3479a3===_0x568066)break;else _0x2535a8['push'](_0x2535a8['shift']());}catch(_0x37a438){_0x2535a8['push'](_0x2535a8['shift']());}}}(a333_0x1384,0xdf3d0));import a333_0x47e33b from'chalk';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function showHelp(){var _0x1e29a1=a333_0x55ef;console[_0x1e29a1(0x132)](),console[_0x1e29a1(0x132)](a333_0x47e33b[_0x1e29a1(0x12d)][_0x1e29a1(0x129)]('\x20\x20'+CLI_DISPLAY_NAME)),console[_0x1e29a1(0x132)](),console[_0x1e29a1(0x132)](_0x1e29a1(0x127)+a333_0x47e33b['green'][_0x1e29a1(0x129)](CLI_BIN_NAME+_0x1e29a1(0x131))+'\x20to\x20view\x20available\x20commands.'),console[_0x1e29a1(0x132)]();}function a333_0x55ef(_0x18b792,_0x171b70){_0x18b792=_0x18b792-0x127;var _0x1384dc=a333_0x1384();var _0x55eff4=_0x1384dc[_0x18b792];return _0x55eff4;}function a333_0x1384(){var _0x400aed=['7125490pbLvfK','8545648rhSEHd','1152596pYBziH','\x20--help','log','6008XcIGHP','84LZoYcr','9188172JlxwDh','\x20\x20Use\x20','20rrJCkZ','bold','2343177wlWxrT','3124488ESfqxS','6zyNQZC','green'];a333_0x1384=function(){return _0x400aed;};return a333_0x1384();}
|
package/lib/postinstall.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4cdd0d,_0x67b8c7){const _0x1f62d3=a334_0x2fa3,_0x533881=_0x4cdd0d();while(!![]){try{const _0x19a1d9=parseInt(_0x1f62d3(0xa5))/0x1*(parseInt(_0x1f62d3(0x9b))/0x2)+parseInt(_0x1f62d3(0xa0))/0x3+-parseInt(_0x1f62d3(0xa9))/0x4*(parseInt(_0x1f62d3(0x96))/0x5)+-parseInt(_0x1f62d3(0x9d))/0x6+parseInt(_0x1f62d3(0x99))/0x7*(-parseInt(_0x1f62d3(0x92))/0x8)+-parseInt(_0x1f62d3(0x9f))/0x9+parseInt(_0x1f62d3(0xab))/0xa*(parseInt(_0x1f62d3(0x9a))/0xb);if(_0x19a1d9===_0x67b8c7)break;else _0x533881['push'](_0x533881['shift']());}catch(_0x37ad32){_0x533881['push'](_0x533881['shift']());}}}(a334_0x1e24,0x8c11e));function a334_0x2fa3(_0x3efe86,_0x211a48){_0x3efe86=_0x3efe86-0x90;const _0x1e24d8=a334_0x1e24();let _0x2fa3e8=_0x1e24d8[_0x3efe86];return _0x2fa3e8;}import{installBuiltinSkill}from'./skills/builtin-skill.js';function a334_0x1e24(){const _0x2957c0=['14WSqUWS','244893NTOYsE','6lbnHfQ','FAILED','6869742mfkqSl','Rabetbase\x20Built-in\x20Skill\x20','4442598WXrFGP','1738497vUHnqP','changed','\x20via\x20skills@latest','repairCommand','already\x20current','304449vPjSbo','Repair\x20with:\x20','installed','SOURCE_INVALID','88eMFtiV','code','810EbvuqL','error','skillVersion','1596992VIEUGV','Installation\x20failed','\x20at\x20','installedPath','155590xPfAPu','warn','[BUILTIN_SKILL_INSTALL_'];a334_0x1e24=function(){return _0x2957c0;};return a334_0x1e24();}export async function runPostinstall(_0x3ad89f={}){const _0x317c40=a334_0x2fa3,_0x35c16e=installBuiltinSkill(_0x3ad89f);if(_0x35c16e['ok']){const _0x387c59=_0x35c16e[_0x317c40(0xa1)]?_0x317c40(0xa7):_0x317c40(0xa4),_0x4adda6=_0x35c16e[_0x317c40(0x95)]?_0x317c40(0x94)+_0x35c16e['installedPath']:_0x317c40(0xa2);return console['log'](_0x317c40(0x9e)+_0x35c16e[_0x317c40(0x91)]+'\x20'+_0x387c59+_0x4adda6),_0x35c16e;}const _0x899a=_0x317c40(0x98)+(_0x35c16e['code']??_0x317c40(0x9c))+']\x20'+(_0x35c16e[_0x317c40(0x90)]??_0x317c40(0x93))+'.\x20'+(_0x317c40(0xa6)+_0x35c16e[_0x317c40(0xa3)]);if(_0x35c16e[_0x317c40(0xaa)]===_0x317c40(0xa8))throw new Error(_0x899a);return console[_0x317c40(0x97)](_0x899a),_0x35c16e;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3de71a,_0xd6b19f){const _0x507e37=a335_0x5ea5,_0x4a6d3a=_0x3de71a();while(!![]){try{const _0x3659bf=-parseInt(_0x507e37(0x1a9))/0x1*(-parseInt(_0x507e37(0x19c))/0x2)+-parseInt(_0x507e37(0x1a3))/0x3*(parseInt(_0x507e37(0x1a0))/0x4)+-parseInt(_0x507e37(0x1ac))/0x5+-parseInt(_0x507e37(0x1a2))/0x6+-parseInt(_0x507e37(0x1a6))/0x7+parseInt(_0x507e37(0x19d))/0x8*(-parseInt(_0x507e37(0x1af))/0x9)+parseInt(_0x507e37(0x1a1))/0xa;if(_0x3659bf===_0xd6b19f)break;else _0x4a6d3a['push'](_0x4a6d3a['shift']());}catch(_0x59350f){_0x4a6d3a['push'](_0x4a6d3a['shift']());}}}(a335_0x5f50,0x903df));const DESCRIPTION_MAX_LENGTH=0x1f4;export function buildRabetbaseConfirmationRequest(_0x510522,_0x5443e7,_0x1eb70e){const _0x4f1030=a335_0x5ea5,_0x38f99d=normalizeText(_0x510522[_0x4f1030(0x1ae)],DESCRIPTION_MAX_LENGTH),_0xca978b=_0x38f99d||normalizeText(defaultDescription(requireWriteRisk(_0x510522),_0x5443e7),DESCRIPTION_MAX_LENGTH);return{'operation':_0x5443e7,'risk':requireWriteRisk(_0x510522),'description':_0xca978b,..._0x1eb70e?{'signal':_0x1eb70e}:{}};}function a335_0x5f50(){const _0xfd1da0=['239008mMLFSz','Rabetbase\x20confirmation\x20requires\x20a\x20write\x20command.','risk','4908SVrCHD','23160560DvLytw','1380246PlVyBd','1074lsSvyt','This\x20will\x20run\x20the\x20high-risk\x20write\x20','high-risk-write','5082784JGKfXC','.\x20It\x20may\x20overwrite,\x20delete,\x20or\x20materially\x20change\x20live\x20behavior.','This\x20will\x20run\x20the\x20write\x20','809bugtTy','replace','slice','982715ipHVKk','write','confirmationDescription','288byOuxB','trim','2034oBUUJx'];a335_0x5f50=function(){return _0xfd1da0;};return a335_0x5f50();}function requireWriteRisk(_0x203a34){const _0x230d2e=a335_0x5ea5;if(_0x203a34[_0x230d2e(0x19f)]===_0x230d2e(0x1ad)||_0x203a34[_0x230d2e(0x19f)]===_0x230d2e(0x1a5))return _0x203a34[_0x230d2e(0x19f)];throw new Error(_0x230d2e(0x19e));}function defaultDescription(_0x443cd8,_0x21f8ce){const _0x418f96=a335_0x5ea5;if(_0x443cd8==='high-risk-write')return _0x418f96(0x1a4)+_0x21f8ce+_0x418f96(0x1a7);return _0x418f96(0x1a8)+_0x21f8ce+'.\x20It\x20may\x20create\x20or\x20change\x20business\x20data\x20or\x20local\x20configuration.';}function a335_0x5ea5(_0x5ae196,_0xecb92b){_0x5ae196=_0x5ae196-0x19b;const _0x5f50a7=a335_0x5f50();let _0x5ea54a=_0x5f50a7[_0x5ae196];return _0x5ea54a;}function normalizeText(_0x5a9e95,_0x1a5d39){const _0x567980=a335_0x5ea5;if(typeof _0x5a9e95!=='string')return'';return _0x5a9e95['replace'](/[\u0000-\u001f\u007f]+/g,'\x20')[_0x567980(0x1aa)](/\s+/g,'\x20')[_0x567980(0x19b)]()[_0x567980(0x1ab)](0x0,_0x1a5d39);}
|
package/lib/runtime/event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x15e418,_0x46289e){const _0x2df5cd=a336_0x25f2,_0x13e37e=_0x15e418();while(!![]){try{const _0x5d71f6=-parseInt(_0x2df5cd(0x148))/0x1+parseInt(_0x2df5cd(0x143))/0x2*(parseInt(_0x2df5cd(0x151))/0x3)+-parseInt(_0x2df5cd(0x145))/0x4*(-parseInt(_0x2df5cd(0x141))/0x5)+parseInt(_0x2df5cd(0x13d))/0x6*(-parseInt(_0x2df5cd(0x149))/0x7)+parseInt(_0x2df5cd(0x13e))/0x8*(-parseInt(_0x2df5cd(0x142))/0x9)+parseInt(_0x2df5cd(0x14c))/0xa+parseInt(_0x2df5cd(0x147))/0xb;if(_0x5d71f6===_0x46289e)break;else _0x13e37e['push'](_0x13e37e['shift']());}catch(_0x4e8c44){_0x13e37e['push'](_0x13e37e['shift']());}}}(a336_0x1cb5,0x28bec));export function canonicalRabetbaseOperation(_0x31716a){const _0x5875d7=a336_0x25f2;return[_0x31716a[_0x5875d7(0x140)],..._0x31716a[_0x5875d7(0x14f)]['trim']()['split'](/\s+/)][_0x5875d7(0x144)](Boolean)['join']('.');}function a336_0x1cb5(){const _0x3c8fc7=['filter','1216kBVzqw','data','25806nMDTJp','16647xUKyem','21BeBpKm','length','isArray','3066910zovjzQ','high-risk-write','write','command','conflicts','3AZnoCi','298986sOyBpW','32XxzWMa','risk','service','1015xqtUfU','411507HnfXXr','290350HWAhHA'];a336_0x1cb5=function(){return _0x3c8fc7;};return a336_0x1cb5();}export function createRabetbaseWriteMetadata(_0x2c0a21,_0x4046b7,_0x50c28a,_0x14aa13){const _0x369c7c=a336_0x25f2;if(_0x14aa13||_0x50c28a['ok']!==!![]||hasUnresolvedConflicts(_0x50c28a)||_0x2c0a21[_0x369c7c(0x13f)]!==_0x369c7c(0x14e)&&_0x2c0a21[_0x369c7c(0x13f)]!==_0x369c7c(0x14d))return undefined;return{'rabetbase':{'schemaVersion':0x1,'event':{'type':'rabetbase.write.completed','operation':_0x4046b7,'risk':_0x2c0a21[_0x369c7c(0x13f)]}}};}function a336_0x25f2(_0x15c35c,_0x386039){_0x15c35c=_0x15c35c-0x13d;const _0x1cb50c=a336_0x1cb5();let _0x25f27=_0x1cb50c[_0x15c35c];return _0x25f27;}function hasUnresolvedConflicts(_0x2cf242){const _0x31e0a4=a336_0x25f2,_0xb15e0c=_0x2cf242[_0x31e0a4(0x146)];return Boolean(_0xb15e0c&&typeof _0xb15e0c==='object'&&!Array[_0x31e0a4(0x14b)](_0xb15e0c)&&Array[_0x31e0a4(0x14b)](_0xb15e0c[_0x31e0a4(0x150)])&&_0xb15e0c['conflicts'][_0x31e0a4(0x14a)]>0x0);}
|
package/lib/runtime/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x39fde7,_0x2b55e8){const _0x11d582=a337_0x2572,_0x471d6c=_0x39fde7();while(!![]){try{const _0x2cf184=parseInt(_0x11d582(0x137))/0x1+parseInt(_0x11d582(0x146))/0x2+-parseInt(_0x11d582(0x149))/0x3+parseInt(_0x11d582(0x14a))/0x4*(-parseInt(_0x11d582(0x13d))/0x5)+-parseInt(_0x11d582(0x136))/0x6*(-parseInt(_0x11d582(0x145))/0x7)+parseInt(_0x11d582(0x14b))/0x8+-parseInt(_0x11d582(0x135))/0x9;if(_0x2cf184===_0x2b55e8)break;else _0x471d6c['push'](_0x471d6c['shift']());}catch(_0x206051){_0x471d6c['push'](_0x471d6c['shift']());}}}(a337_0x5b86,0xb1712));import{buildConfigFromFlags,initGlobalEnvironment,isRoutingRecoveryService}from'../context.js';import{createPipelineEnv,createRabetbaseRunnerAdapter,finalizeRabetbaseRuntimeState,runCommand}from'../framework/runner.js';import{buildRabetbaseConfirmationRequest}from'../runtime/confirmation.js';function a337_0x5b86(){const _0x5810f8=['AbortError','service','4210515HfSzAI','544260GLvRXM','120438qcDfyO','present','yes','rawFlags','execute','result','3228220vgsmsE','riskLevel','definition','confirmation','Rabetbase\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','format','message','data','42VQqRsx','2481356XnBhOY','command','high-risk-write','1891392geHMwz','4XaFhXY','4522952lfGjfJ','stringify','args','reason','signal','dryRun','dry-run','risk','isNonInteractive','presentation'];a337_0x5b86=function(){return _0x5810f8;};return a337_0x5b86();}function a337_0x2572(_0x1209a9,_0x3503c6){_0x1209a9=_0x1209a9-0x12d;const _0x5b86f2=a337_0x5b86();let _0x257209=_0x5b86f2[_0x1209a9];return _0x257209;}import{canonicalRabetbaseOperation,createRabetbaseWriteMetadata}from'../runtime/event.js';import{runSerialized}from'../runtime/queue.js';import{resolveRabetbaseInvocation}from'../runtime/resolve.js';const defaultPresentation={'present'({result:_0x69f77f,command:_0x5ba4a6,risk:_0xb93469,dryRun:_0x4ab1f1}){const _0x483446=a337_0x2572;return JSON[_0x483446(0x14c)]({'ok':_0x69f77f['ok'],'command':_0x5ba4a6,'risk':_0xb93469,..._0x4ab1f1?{'dryRun':!![]}:{},..._0x69f77f[_0x483446(0x144)]!==undefined?{'data':_0x69f77f[_0x483446(0x144)]}:{},..._0x69f77f[_0x483446(0x143)]?{'message':_0x69f77f[_0x483446(0x143)]}:{}});}};export async function invokeRabetbase(_0x4a04d0,_0x1edfbe){const _0xddfba5=a337_0x2572;throwIfAborted(_0x1edfbe[_0xddfba5(0x12d)]);const _0x3012f5=await resolveRabetbaseInvocation(_0x4a04d0),_0x3a4199=canonicalRabetbaseOperation(_0x3012f5['definition']);return await confirmWriteBeforeQueue(_0x3012f5['definition'],_0x3012f5['rawFlags'],_0x3a4199,_0x1edfbe),runSerialized(async()=>{const _0x46b2f9=_0xddfba5,_0x2d3848={};try{throwIfAborted(_0x1edfbe[_0x46b2f9(0x12d)]);const _0xb905da=buildConfigFromFlags(_0x3012f5[_0x46b2f9(0x13a)]);!isRoutingRecoveryService(_0x3012f5[_0x46b2f9(0x13f)][_0x46b2f9(0x134)])&&await initGlobalEnvironment(_0xb905da);const _0x511ea3=createPipelineEnv(_0xb905da,{..._0x3012f5[_0x46b2f9(0x13a)],'yes':_0x3012f5['definition'][_0x46b2f9(0x130)]==='high-risk-write'?!![]:_0x3012f5[_0x46b2f9(0x13a)][_0x46b2f9(0x139)],'nonInteractive':!![]},_0x3012f5[_0x46b2f9(0x14d)]);_0x511ea3[_0x46b2f9(0x131)]=!![],_0x511ea3[_0x46b2f9(0x13e)]=_0x46b2f9(0x148);const _0x581bcf=withAbortSignal(_0x3012f5['definition'],_0x1edfbe[_0x46b2f9(0x12d)]),_0x299e15=createRabetbaseRunnerAdapter({'formatOutput'(_0x2e0102,_0x37de9e){const _0x4bff4b=_0x46b2f9;_0x2d3848['result']=_0x2e0102,_0x2d3848[_0x4bff4b(0x147)]=_0x37de9e[_0x4bff4b(0x147)],_0x2d3848[_0x4bff4b(0x130)]=_0x37de9e[_0x4bff4b(0x130)],_0x2d3848[_0x4bff4b(0x142)]=_0x37de9e[_0x4bff4b(0x142)],_0x2d3848['dryRun']=_0x37de9e[_0x4bff4b(0x12e)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Rabetbase\x20confirmation\x20must\x20run\x20before\x20the\x20execution\x20queue.');}});await runCommand(_0x581bcf,_0x511ea3,_0x299e15);if(!_0x2d3848[_0x46b2f9(0x13c)]||!_0x2d3848['command']||!_0x2d3848[_0x46b2f9(0x130)]||!_0x2d3848[_0x46b2f9(0x142)])throw new Error(_0x46b2f9(0x141));const _0x23a07b=_0x2d3848[_0x46b2f9(0x12e)]===!![],_0x27877b=_0x1edfbe[_0x46b2f9(0x132)]??defaultPresentation,_0x5b4457={'result':_0x2d3848[_0x46b2f9(0x13c)],'command':_0x2d3848['command'],'operation':_0x3a4199,'risk':_0x2d3848[_0x46b2f9(0x130)],'format':_0x2d3848[_0x46b2f9(0x142)],'dryRun':_0x23a07b},_0x9ecf83=createRabetbaseWriteMetadata(_0x3012f5[_0x46b2f9(0x13f)],_0x3a4199,_0x2d3848[_0x46b2f9(0x13c)],_0x23a07b);let _0x525d4a;try{_0x525d4a=await _0x27877b[_0x46b2f9(0x138)](_0x5b4457);}catch(_0x5abc4b){if(!_0x9ecf83||_0x27877b===defaultPresentation)throw _0x5abc4b;_0x525d4a=await defaultPresentation[_0x46b2f9(0x138)](_0x5b4457);}return{'operation':_0x3a4199,'risk':_0x2d3848[_0x46b2f9(0x130)],'mode':_0x23a07b?_0x46b2f9(0x12f):_0x46b2f9(0x13b),'result':_0x2d3848[_0x46b2f9(0x13c)],'output':_0x525d4a,..._0x9ecf83?{'metadata':_0x9ecf83}:{}};}finally{await finalizeRabetbaseRuntimeState();}});}async function confirmWriteBeforeQueue(_0xb2a6bc,_0x3d1717,_0x1a5df0,_0x57f39e){const _0x11bfc8=a337_0x2572;if(_0x3d1717[_0x11bfc8(0x12e)]===!![]||_0xb2a6bc[_0x11bfc8(0x130)]!=='write'&&_0xb2a6bc[_0x11bfc8(0x130)]!==_0x11bfc8(0x148))return;await _0x57f39e[_0x11bfc8(0x140)]['confirm'](buildRabetbaseConfirmationRequest(_0xb2a6bc,_0x1a5df0,_0x57f39e['signal']));}function withAbortSignal(_0x1342d0,_0x18002a){return{..._0x1342d0,async 'execute'(_0x5f2f4c){return throwIfAborted(_0x18002a),_0x1342d0['execute']({..._0x5f2f4c,'signal':_0x18002a});}};}function throwIfAborted(_0x59d875){const _0x136431=a337_0x2572;if(_0x59d875?.['aborted'])throw _0x59d875[_0x136431(0x14e)]instanceof Error?_0x59d875[_0x136431(0x14e)]:new DOMException('Rabetbase\x20invocation\x20aborted.',_0x136431(0x133));}
|
package/lib/runtime/queue.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a338_0x43a684=a338_0x38fa;function a338_0x38fa(_0x5eb5b9,_0x9d7bab){_0x5eb5b9=_0x5eb5b9-0x182;const _0x16a523=a338_0x16a5();let _0x38fa6f=_0x16a523[_0x5eb5b9];return _0x38fa6f;}(function(_0x72cd79,_0x29f713){const _0x5095b7=a338_0x38fa,_0x6bbcf4=_0x72cd79();while(!![]){try{const _0x23ecec=parseInt(_0x5095b7(0x188))/0x1+parseInt(_0x5095b7(0x183))/0x2*(parseInt(_0x5095b7(0x187))/0x3)+parseInt(_0x5095b7(0x186))/0x4*(parseInt(_0x5095b7(0x189))/0x5)+parseInt(_0x5095b7(0x18a))/0x6*(parseInt(_0x5095b7(0x182))/0x7)+-parseInt(_0x5095b7(0x184))/0x8+parseInt(_0x5095b7(0x18c))/0x9+-parseInt(_0x5095b7(0x185))/0xa;if(_0x23ecec===_0x29f713)break;else _0x6bbcf4['push'](_0x6bbcf4['shift']());}catch(_0x2b6b85){_0x6bbcf4['push'](_0x6bbcf4['shift']());}}}(a338_0x16a5,0x5e49e));let tail=Promise[a338_0x43a684(0x18b)]();function a338_0x16a5(){const _0x44ddc0=['378485avezkW','828DJMUrv','resolve','1366110pxXaJz','4781PMOxaD','2eLbned','3737896VOkeVE','13767650Wshqsi','40ZljdFL','1903581QKQcoA','592667vznASV'];a338_0x16a5=function(){return _0x44ddc0;};return a338_0x16a5();}export async function runSerialized(_0x2f2ad4){const _0x504e3f=tail;let _0x3f5830;tail=new Promise(_0x250dae=>{_0x3f5830=_0x250dae;}),await _0x504e3f['catch'](()=>undefined);try{return await _0x2f2ad4();}finally{_0x3f5830();}}
|
package/lib/runtime/resolve.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a339_0xd464(){const _0x347936=['input','40abokrp','578074pyGlnx','8890yHGYJi','flags','1699194WBVNoP','Use\x20an\x20explicit\x20shell\x20tool\x20only\x20when\x20script\x20execution\x20is\x20intentionally\x20requested.','476189cJYrBl','716JRWFvS','`rabetbase\x20run`\x20is\x20unavailable\x20through\x20the\x20embedded\x20runtime\x20because\x20it\x20executes\x20arbitrary\x20package\x20scripts.','Rabetbase\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','validation','wildcardDef','8771769hpgapB','slice','970413cmwwuC','1075772EAMPTu','run','message','unknownCommand'];a339_0xd464=function(){return _0x347936;};return a339_0xd464();}(function(_0x20a204,_0x3656ef){const _0x4dda12=a339_0xc37d,_0x1a8c37=_0x20a204();while(!![]){try{const _0x2ea84c=parseInt(_0x4dda12(0x130))/0x1+-parseInt(_0x4dda12(0x139))/0x2+parseInt(_0x4dda12(0x138))/0x3+-parseInt(_0x4dda12(0x131))/0x4*(-parseInt(_0x4dda12(0x140))/0x5)+parseInt(_0x4dda12(0x142))/0x6+parseInt(_0x4dda12(0x13f))/0x7*(parseInt(_0x4dda12(0x13e))/0x8)+-parseInt(_0x4dda12(0x136))/0x9;if(_0x2ea84c===_0x3656ef)break;else _0x1a8c37['push'](_0x1a8c37['shift']());}catch(_0x5935bc){_0x1a8c37['push'](_0x1a8c37['shift']());}}}(a339_0xd464,0x499c0));import a339_0x33d168 from'meow';import{findDefinition,getServiceEntry,isKnownService,resolveRemovedCommand}from'../commands/registry.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';import{assertSupportedCommandFlags}from'../framework/supported-flags.js';function a339_0xc37d(_0xa6a130,_0x5ad7b7){_0xa6a130=_0xa6a130-0x130;const _0xd4649c=a339_0xd464();let _0xc37d4=_0xd4649c[_0xa6a130];return _0xc37d4;}export async function resolveRabetbaseInvocation(_0x17fe59){const _0xe6f9c=a339_0xc37d,_0x5cdb9a=a339_0x33d168('',{'importMeta':import.meta,'argv':[..._0x17fe59],'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x59d648=[..._0x5cdb9a[_0xe6f9c(0x13d)]],_0x169bff=_0x5cdb9a[_0xe6f9c(0x141)],_0x2b76df=_0x59d648[0x0];if(!_0x2b76df)throw CliErrors[_0xe6f9c(0x134)](_0xe6f9c(0x133));const _0x6b627b=resolveRemovedCommand(_0x2b76df,_0x59d648[0x1]);if(_0x6b627b)throw CliErrors[_0xe6f9c(0x134)](_0x6b627b[_0xe6f9c(0x13b)],_0x6b627b['hint']);if(_0x2b76df===_0xe6f9c(0x13a))throw CliErrors['validation'](_0xe6f9c(0x132),_0xe6f9c(0x143));if(!isKnownService(_0x2b76df))throw CliErrors[_0xe6f9c(0x13c)](_0x59d648['join']('\x20'));const _0x4557d6=getServiceEntry(_0x2b76df),_0x528c2d=_0x59d648[0x1],_0x4efad5=_0x528c2d||_0x4557d6['defaultCommand'];if(!_0x4efad5){if(_0x4557d6['wildcardDef'])return{'definition':_0x4557d6[_0xe6f9c(0x135)],'rawFlags':_0x169bff,'args':[]};throw CliErrors[_0xe6f9c(0x134)]('Rabetbase\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x2b76df+'\x22.');}const _0x3e59b1=findDefinition(_0x2b76df,_0x4efad5);if(_0x3e59b1)return assertSupportedCommandFlags(_0x3e59b1,_0x169bff),{'definition':_0x3e59b1,'rawFlags':_0x169bff,'args':_0x59d648[_0xe6f9c(0x137)](0x2)};if(_0x4557d6[_0xe6f9c(0x135)])return{'definition':_0x4557d6[_0xe6f9c(0x135)],'rawFlags':_0x169bff,'args':[_0x4efad5,..._0x59d648['slice'](0x2)]};throw CliErrors[_0xe6f9c(0x13c)](_0x2b76df+'\x20'+_0x4efad5);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x550720,_0x13224d){const _0x207165=a341_0x5603,_0x3eb0a3=_0x550720();while(!![]){try{const _0x531b70=-parseInt(_0x207165(0x11c))/0x1*(parseInt(_0x207165(0x130))/0x2)+parseInt(_0x207165(0x131))/0x3*(-parseInt(_0x207165(0x118))/0x4)+parseInt(_0x207165(0x119))/0x5*(-parseInt(_0x207165(0x123))/0x6)+parseInt(_0x207165(0x122))/0x7+parseInt(_0x207165(0x125))/0x8*(-parseInt(_0x207165(0x129))/0x9)+parseInt(_0x207165(0x113))/0xa*(parseInt(_0x207165(0x126))/0xb)+parseInt(_0x207165(0x128))/0xc;if(_0x531b70===_0x13224d)break;else _0x3eb0a3['push'](_0x3eb0a3['shift']());}catch(_0x421527){_0x3eb0a3['push'](_0x3eb0a3['shift']());}}}(a341_0x23d3,0x953e8));import{randomUUID}from'node:crypto';import{dirname}from'node:path';function a341_0x23d3(){const _0x5974da=['kind','398920cIJPmn','4199943mpexDY','close','16816884oSnuEU','63rVmnvW','parse','utf8','Checkpoint\x20must\x20be\x20a\x20regular\x20JSON\x20file.','writeFile','inputHash','sync','20530LpeAZj','1281291ZzJbYJ','stringify','schemaVersion','ENOENT','10yaSCJC','string','EEXIST','Invalid\x20checkpoint;\x20reconcile\x20its\x20original\x20operation\x20before\x20submitting\x20again.','catch','4DfmwEB','1195BQSyqy','clientOperationId','size','13aNgPRG','code','manifest','length','identityKey','.tmp','1558284MDJEoH','12174diTuIg'];a341_0x23d3=function(){return _0x5974da;};return a341_0x23d3();}import{mkdir,open,link,unlink,rename,lstat,readFile}from'node:fs/promises';import{isObject,requireValue}from'./contract.js';export async function readCheckpoint(_0x281904){const _0x400349=a341_0x5603;try{const _0x324836=await lstat(_0x281904);requireValue(_0x324836['isFile']()&&!_0x324836['isSymbolicLink']()&&_0x324836[_0x400349(0x11b)]<=0x3d0900,_0x400349(0x12c));const _0x4cb9e5=JSON[_0x400349(0x12a)](await readFile(_0x281904,_0x400349(0x12b)));return requireValue(isObject(_0x4cb9e5)&&_0x4cb9e5[_0x400349(0x124)]==='dataset-design-operation'&&_0x4cb9e5[_0x400349(0x133)]===0x1&&typeof _0x4cb9e5[_0x400349(0x11a)]===_0x400349(0x114)&&/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/['test'](_0x4cb9e5['clientOperationId'])&&typeof _0x4cb9e5[_0x400349(0x12e)]===_0x400349(0x114)&&/^[a-f0-9]{64}$/['test'](_0x4cb9e5['inputHash'])&&typeof _0x4cb9e5[_0x400349(0x120)]===_0x400349(0x114)&&_0x4cb9e5[_0x400349(0x120)][_0x400349(0x11f)]>0x0&&isObject(_0x4cb9e5[_0x400349(0x11e)]),_0x400349(0x116)),_0x4cb9e5;}catch(_0x5745fc){if(_0x5745fc[_0x400349(0x11d)]===_0x400349(0x134))return undefined;throw _0x5745fc;}}function a341_0x5603(_0x53ac00,_0xfb46f2){_0x53ac00=_0x53ac00-0x113;const _0x23d31d=a341_0x23d3();let _0x56030d=_0x23d31d[_0x53ac00];return _0x56030d;}export async function saveCheckpoint(_0x4cf669,_0x1c9659,_0x35d5b0=![]){const _0x3fae83=a341_0x5603;await mkdir(dirname(_0x4cf669),{'recursive':!![]});const _0x559064=_0x4cf669+'.'+randomUUID()+_0x3fae83(0x121),_0x320208=await open(_0x559064,'wx',0x180);try{await _0x320208[_0x3fae83(0x12d)](JSON[_0x3fae83(0x132)](_0x1c9659,null,0x2)+'\x0a'),await _0x320208[_0x3fae83(0x12f)]();}finally{await _0x320208[_0x3fae83(0x127)]();}try{if(_0x35d5b0)await link(_0x559064,_0x4cf669);else await rename(_0x559064,_0x4cf669);return!![];}catch(_0x56e66b){if(_0x35d5b0&&_0x56e66b[_0x3fae83(0x11d)]===_0x3fae83(0x115))return![];throw _0x56e66b;}finally{await unlink(_0x559064)[_0x3fae83(0x117)](_0x3195f3=>{const _0x47ad7d=_0x3fae83;if(_0x3195f3[_0x47ad7d(0x11d)]!==_0x47ad7d(0x134))throw _0x3195f3;});}}
|