@lovrabet/rabetbase-cli 2.5.1-beta.2 → 2.5.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/api/generate-sdk-config-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/members-list.js +1 -1
- package/lib/commands/app/remote-directory.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app-config/delete.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/app-config/list.js +1 -1
- package/lib/commands/app-config/set.js +1 -1
- package/lib/commands/app-config/shared.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-registry.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/async-task.js +1 -1
- package/lib/commands/common/dry-run.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/local-file.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/delete.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/init.d.ts +1 -1
- package/lib/commands/config/init.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/dataset/business-group-update.js +1 -1
- package/lib/commands/dataset/business-groups.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-restore.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/generate.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-audit.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/dataset/restore.js +1 -1
- package/lib/commands/dataset/user-deleted-field-list.js +1 -1
- package/lib/commands/db/analysis-batching.js +1 -1
- package/lib/commands/db/analyze-batch-plan.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff-refresh-start.js +1 -1
- package/lib/commands/db/diff-refresh-status.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/table-diff-shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/deployment/auto-sync.js +1 -1
- package/lib/commands/deployment/index.js +1 -1
- package/lib/commands/deployment/sync.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/file/index.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/nudge.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/issue/shared.js +1 -1
- package/lib/commands/kb/create.js +1 -1
- package/lib/commands/kb/delete.js +1 -1
- package/lib/commands/kb/detail.js +1 -1
- package/lib/commands/kb/index.js +1 -1
- package/lib/commands/kb/list.js +1 -1
- package/lib/commands/kb/search.js +1 -1
- package/lib/commands/kb/shared.js +1 -1
- package/lib/commands/kb/update.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/asset-update.js +1 -1
- package/lib/commands/menu/delete.js +1 -1
- package/lib/commands/menu/external-link-create.js +1 -1
- package/lib/commands/menu/external-link-update.js +1 -1
- package/lib/commands/menu/group-create.js +1 -1
- package/lib/commands/menu/group-update.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/list.js +1 -1
- package/lib/commands/menu/move.js +1 -1
- package/lib/commands/menu/regroup-start.js +1 -1
- package/lib/commands/menu/rename.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/delete-plan.js +1 -1
- package/lib/commands/menu/shared/facts.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/mutations.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/visibility-update.js +1 -1
- package/lib/commands/notification/config-create.js +1 -1
- package/lib/commands/notification/config-delete.js +1 -1
- package/lib/commands/notification/config-list.js +1 -1
- package/lib/commands/notification/config-update.js +1 -1
- package/lib/commands/notification/index.js +1 -1
- package/lib/commands/notification/shared.js +1 -1
- package/lib/commands/ocr/index.js +1 -1
- package/lib/commands/page/create.js +1 -1
- package/lib/commands/page/custom/detail.js +1 -1
- package/lib/commands/page/custom/list.js +1 -1
- package/lib/commands/page/custom/publish.js +1 -1
- package/lib/commands/page/custom/shared.js +1 -1
- package/lib/commands/page/custom/syntax.js +1 -1
- package/lib/commands/page/custom/template.js +1 -1
- package/lib/commands/page/custom/update.js +1 -1
- package/lib/commands/page/data-list-status.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/relation-audit.js +1 -1
- package/lib/commands/page/restore.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/materialize-project-template.js +1 -1
- package/lib/commands/project/create/project-name.js +1 -1
- package/lib/commands/project/create/project-template-archive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/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/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/commands/task/index.js +1 -1
- package/lib/commands/task/status.js +1 -1
- package/lib/commands/tenant/index.js +1 -1
- package/lib/commands/tenant/members-list.js +1 -1
- package/lib/commands/tenant/shared.js +1 -1
- package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
- package/lib/commands/user-account/index.js +1 -1
- package/lib/commands/workspace/add.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/commands/workspace/remove.js +1 -1
- package/lib/config/deployment-sync.js +1 -1
- package/lib/config/domain-config.d.ts +1 -1
- package/lib/config/domain-config.js +1 -1
- package/lib/config/project-routing.js +1 -1
- package/lib/config/schema.d.ts +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.d.ts +2 -0
- 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 +0 -16
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/kb-search-client.d.ts +30 -0
- package/lib/core/kb-search-client.js +1 -0
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-index-auditor.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/error-output.js +1 -1
- package/lib/framework/explicit-yes.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-alias.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/types.d.ts +1 -0
- 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/help.js +1 -1
- package/lib/postinstall.js +1 -1
- package/lib/runtime/confirmation.js +1 -1
- package/lib/runtime/event.js +1 -1
- package/lib/runtime/index.js +1 -1
- package/lib/runtime/queue.js +1 -1
- package/lib/runtime/resolve.js +1 -1
- package/lib/skills/builtin-skill.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/skills/skill-presence.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
- package/skills/rabetbase/SKILL.md +2 -2
- package/skills/rabetbase/references/rabetbase-config.md +4 -1
- package/skills/rabetbase/references/rabetbase-doctor.md +1 -1
- package/skills/rabetbase/references/rabetbase-init.md +2 -0
- package/skills/rabetbase/references/rabetbase-kb.md +7 -7
- package/skills/rabetbase.manifest.json +3 -3
package/lib/constant/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a216_0x5cad00=a216_0x31e4;function a216_0x31e4(_0x34a388,_0x2759d9){_0x34a388=_0x34a388-0xe9;const _0xf074fe=a216_0xf074();let _0x31e454=_0xf074fe[_0x34a388];return _0x31e454;}(function(_0x137cf6,_0x46da5b){const _0x53730d=a216_0x31e4,_0x5ae317=_0x137cf6();while(!![]){try{const _0x1d183f=parseInt(_0x53730d(0x12a))/0x1+parseInt(_0x53730d(0x119))/0x2*(parseInt(_0x53730d(0x10c))/0x3)+parseInt(_0x53730d(0x103))/0x4*(parseInt(_0x53730d(0x16d))/0x5)+-parseInt(_0x53730d(0x153))/0x6+-parseInt(_0x53730d(0x134))/0x7+parseInt(_0x53730d(0x178))/0x8+-parseInt(_0x53730d(0x147))/0x9*(-parseInt(_0x53730d(0x140))/0xa);if(_0x1d183f===_0x46da5b)break;else _0x5ae317['push'](_0x5ae317['shift']());}catch(_0x5ad464){_0x5ae317['push'](_0x5ae317['shift']());}}}(a216_0xf074,0xec572));function a216_0xf074(){const _0x7975c7=['parent-id','5465fRxVWj','Search\x20query','dryRun','<name>','fromEnv','codes','remote','string','value','sql-name','confirm','8684760RTDXav','locale','sqlname','reveal','Read\x20value\x20from\x20environment\x20variable','page','SQL\x20name','Use\x20global\x20config\x20scope','datasetcode','verbose','Expected\x20current\x20child\x20count','skip-imports','meowKey','params','Title','Preview\x20operation\x20without\x20executing','operation-type','Use\x20the\x20base\x20database\x20connection','Description','schemas','query','sqlcode','help','name','operation','expectPath','dbid','boolean','2684dSFETp','clear','targetEnv','production\x20|\x20daily','expected-count','Record\x20ID','label','force','stdin','19482SbsQLD','expectedCount','target-env','Skip\x20confirmation\x20for\x20high-risk\x20writes','task-id','Alias\x20for\x20--non-interactive','expectParentId','target','Function\x20node','sort','Show\x20help','all','Schemas','134AUoXEw','Clear','Force\x20non-interactive\x20mode\x20(CI)','title','fromEntries','expectedChildrenCount','tags','expected-children-count','menuIds','output','file','description','map','Environment','Type\x20filter','code','expect-path','521009ZXykfA','File\x20path','Read\x20value\x20from\x20stdin','DB\x20ID','Target\x20path','Skip\x20import\x20generation','from-env','project','Reveal\x20sensitive\x20value','yes','12970608qOszpV','Comma-separated\x20metadata\x20codes','appcode','keyword','Dataset\x20code','Watch\x20mode','taskId','SQL\x20code','@lovrabet/rabetbase-cli','global','dry-run','function-node','4691130HBzlWs','non-interactive','Confirm\x20destructive\x20action','db-id','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','SQL\x20string','env','27lhKOen','rabetbase','Override\x20appcode','Menu\x20sort\x20value','Comma-separated\x20menu\x20IDs','enableBffSave','pagesize','watch','Use\x20remote','Asynchronous\x20task\x20ID','zh-CN\x20|\x20en-US','skipImports','8168700vgGRoG','Page\x20number','app','type','Expected\x20affected\x20count','Enable\x20Backend\x20Function\x20save','Code\x20filter','menu-ids','<expr>','Output\x20format','Operation\x20type','functionNode','dbId','Use\x20project\x20config\x20scope','Page\x20size','parentId','Apply\x20to\x20all','Verbose\x20output','sqlName','direct','Maximum\x20search\x20hits','Tags','key','format','nonInteractive'];a216_0xf074=function(){return _0x7975c7;};return a216_0xf074();}export const CLI_BIN_NAME=a216_0x5cad00(0x148);export const CLI_DISPLAY_NAME='Rabetbase\x20CLI';export const NPM_PACKAGE_NAME=a216_0x5cad00(0x13c);export const GLOBAL_FLAGS=[{'name':a216_0x5cad00(0x136),'meowKey':a216_0x5cad00(0x136),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x149),'hint':'<code>'},{'name':a216_0x5cad00(0x155),'meowKey':'app','type':a216_0x5cad00(0x174),'description':'Select\x20app\x20profile\x20by\x20name','hint':a216_0x5cad00(0x170)},{'name':'env','meowKey':a216_0x5cad00(0x146),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x126),'hint':a216_0x5cad00(0x106)},{'name':a216_0x5cad00(0x16a),'meowKey':a216_0x5cad00(0x16a),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x15c),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x144),'hint':a216_0x5cad00(0x15b)},{'name':a216_0x5cad00(0x13e),'meowKey':a216_0x5cad00(0x16f),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0xf6)},{'name':'yes','meowKey':a216_0x5cad00(0x133),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x10f)},{'name':a216_0x5cad00(0x141),'meowKey':a216_0x5cad00(0x16b),'type':'boolean','description':a216_0x5cad00(0x11b)},{'name':a216_0x5cad00(0x13d),'meowKey':a216_0x5cad00(0x13d),'type':'boolean','description':a216_0x5cad00(0xee)},{'name':a216_0x5cad00(0x131),'meowKey':a216_0x5cad00(0x131),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x160)},{'name':'ci','meowKey':'ci','type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x111),'hidden':!![]},{'name':'help','meowKey':a216_0x5cad00(0xfd),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x116)},{'name':a216_0x5cad00(0x179),'meowKey':a216_0x5cad00(0x179),'type':a216_0x5cad00(0x174),'description':'App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','hidden':!![],'hint':a216_0x5cad00(0x151)},{'name':'name','meowKey':a216_0x5cad00(0xfe),'type':a216_0x5cad00(0x174),'description':'Name','hidden':!![]},{'name':a216_0x5cad00(0x11c),'meowKey':'title','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xf5),'hidden':!![]},{'name':a216_0x5cad00(0xfb),'meowKey':a216_0x5cad00(0xfb),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x16e),'hidden':!![]},{'name':'topk','meowKey':'topk','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x167),'hidden':!![]},{'name':a216_0x5cad00(0x104),'meowKey':a216_0x5cad00(0x104),'type':'boolean','description':a216_0x5cad00(0x11a),'hidden':!![]},{'name':a216_0x5cad00(0x14e),'meowKey':a216_0x5cad00(0x14e),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x139),'hidden':!![]},{'name':a216_0x5cad00(0x122),'meowKey':a216_0x5cad00(0x122),'type':a216_0x5cad00(0x174),'description':'Output\x20path','hidden':!![]},{'name':a216_0x5cad00(0xf4),'meowKey':'params','type':a216_0x5cad00(0x174),'description':'JSON\x20params','hidden':!![]},{'name':a216_0x5cad00(0xef),'meowKey':'datasetcode','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x138),'hidden':!![]},{'name':'all','meowKey':a216_0x5cad00(0x117),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x163),'hidden':!![]},{'name':'enable-bff-save','meowKey':a216_0x5cad00(0x14c),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x158),'hidden':!![]},{'name':'id','meowKey':'id','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x108),'hidden':!![]},{'name':'type','meowKey':'type','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x127),'hidden':!![]},{'name':a216_0x5cad00(0x123),'meowKey':a216_0x5cad00(0x123),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x12b),'hidden':!![]},{'name':a216_0x5cad00(0xfc),'meowKey':a216_0x5cad00(0xfc),'type':'string','description':a216_0x5cad00(0x13b),'hidden':!![]},{'name':a216_0x5cad00(0x176),'meowKey':a216_0x5cad00(0x165),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xed),'hidden':!![]},{'name':a216_0x5cad00(0xe9),'meowKey':a216_0x5cad00(0xe9),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xed),'hidden':!![]},{'name':a216_0x5cad00(0x143),'meowKey':a216_0x5cad00(0x15f),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x12d),'hidden':!![]},{'name':a216_0x5cad00(0x101),'meowKey':'dbid','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x12d),'hidden':!![]},{'name':a216_0x5cad00(0x124),'meowKey':a216_0x5cad00(0x124),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xf9),'hidden':!![]},{'name':'description-file','meowKey':'descriptionFile','type':'string','description':'Description\x20file','hidden':!![]},{'name':a216_0x5cad00(0xec),'meowKey':'page','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x154),'hidden':!![]},{'name':a216_0x5cad00(0x14d),'meowKey':'pagesize','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x161),'hidden':!![]},{'name':'keyword','meowKey':a216_0x5cad00(0x137),'type':'string','description':'Keyword\x20filter','hidden':!![]},{'name':a216_0x5cad00(0x128),'meowKey':a216_0x5cad00(0x128),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x159),'hidden':!![]},{'name':'sql','meowKey':'sql','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x145),'hidden':!![]},{'name':a216_0x5cad00(0xfa),'meowKey':a216_0x5cad00(0xfa),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x118),'hidden':!![]},{'name':a216_0x5cad00(0xff),'meowKey':'operation','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x15d),'hidden':!![]},{'name':'target','meowKey':a216_0x5cad00(0x113),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x12e),'hidden':!![]},{'name':a216_0x5cad00(0xf2),'meowKey':a216_0x5cad00(0x152),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x12f),'hidden':!![]},{'name':a216_0x5cad00(0x169),'meowKey':a216_0x5cad00(0x169),'type':a216_0x5cad00(0x174),'description':'Config\x20key','hidden':!![]},{'name':a216_0x5cad00(0x175),'meowKey':a216_0x5cad00(0x175),'type':a216_0x5cad00(0x174),'description':'Config\x20value','hidden':!![]},{'name':a216_0x5cad00(0x11f),'meowKey':a216_0x5cad00(0x11f),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x168),'hidden':!![]},{'name':a216_0x5cad00(0x10b),'meowKey':a216_0x5cad00(0x10b),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x12c),'hidden':!![]},{'name':a216_0x5cad00(0x130),'meowKey':a216_0x5cad00(0x171),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xeb),'hidden':!![]},{'name':a216_0x5cad00(0xea),'meowKey':'reveal','type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x132),'hidden':!![]},{'name':a216_0x5cad00(0x10a),'meowKey':'force','type':a216_0x5cad00(0x102),'description':'Force\x20overwrite','hidden':!![]},{'name':'confirm','meowKey':a216_0x5cad00(0x177),'type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x142),'hidden':!![]},{'name':a216_0x5cad00(0x173),'meowKey':'remote','type':a216_0x5cad00(0x102),'description':a216_0x5cad00(0x14f),'hidden':!![]},{'name':a216_0x5cad00(0xf0),'meowKey':a216_0x5cad00(0xf0),'type':'boolean','description':a216_0x5cad00(0x164),'hidden':!![]},{'name':a216_0x5cad00(0x107),'meowKey':a216_0x5cad00(0x10d),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x157),'hidden':!![]},{'name':a216_0x5cad00(0x109),'meowKey':a216_0x5cad00(0x109),'type':a216_0x5cad00(0x174),'description':'Menu\x20label','hidden':!![]},{'name':a216_0x5cad00(0x16c),'meowKey':a216_0x5cad00(0x162),'type':a216_0x5cad00(0x174),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a216_0x5cad00(0x115),'meowKey':a216_0x5cad00(0x115),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x14a),'hidden':!![]},{'name':'expect-parent-id','meowKey':a216_0x5cad00(0x112),'type':a216_0x5cad00(0x174),'description':'Expected\x20current\x20parent\x20menu\x20id','hidden':!![]},{'name':a216_0x5cad00(0x129),'meowKey':a216_0x5cad00(0x100),'type':a216_0x5cad00(0x174),'description':'Expected\x20current\x20menu\x20path','hidden':!![]},{'name':a216_0x5cad00(0x120),'meowKey':a216_0x5cad00(0x11e),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0xf1),'hidden':!![]},{'name':a216_0x5cad00(0x15a),'meowKey':a216_0x5cad00(0x121),'type':'string','description':a216_0x5cad00(0x14b),'hidden':!![]},{'name':a216_0x5cad00(0x110),'meowKey':a216_0x5cad00(0x13a),'type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x150),'hidden':!![]},{'name':a216_0x5cad00(0xf7),'meowKey':'operationType','type':a216_0x5cad00(0x174),'description':a216_0x5cad00(0x15d),'hidden':!![]},{'name':a216_0x5cad00(0x13f),'meowKey':a216_0x5cad00(0x15e),'type':'string','description':a216_0x5cad00(0x114),'hidden':!![]},{'name':a216_0x5cad00(0x10e),'meowKey':a216_0x5cad00(0x105),'type':a216_0x5cad00(0x174),'description':'Target\x20connection\x20environment','hidden':!![]},{'name':a216_0x5cad00(0x166),'meowKey':a216_0x5cad00(0x166),'type':'boolean','description':a216_0x5cad00(0xf8),'hidden':!![]},{'name':a216_0x5cad00(0x172),'meowKey':a216_0x5cad00(0x172),'type':'string','description':a216_0x5cad00(0x135),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a216_0x5cad00(0x136),a216_0x5cad00(0x155),a216_0x5cad00(0x146),a216_0x5cad00(0x16a),'jq',a216_0x5cad00(0x13e),'yes','non-interactive','ci']);export function buildMeowFlags(){const _0x54c340=a216_0x5cad00;return Object[_0x54c340(0x11d)](GLOBAL_FLAGS[_0x54c340(0x125)](_0x533c3c=>[_0x533c3c[_0x54c340(0xf3)],{'type':_0x533c3c[_0x54c340(0x156)]}]));}
|
|
1
|
+
const a216_0x2143f3=a216_0x5b5d;(function(_0x31b8eb,_0x5b56e8){const _0x212bbc=a216_0x5b5d,_0x5ee4d1=_0x31b8eb();while(!![]){try{const _0x13506a=parseInt(_0x212bbc(0xfe))/0x1*(parseInt(_0x212bbc(0xe5))/0x2)+-parseInt(_0x212bbc(0x164))/0x3+parseInt(_0x212bbc(0x121))/0x4+-parseInt(_0x212bbc(0x14b))/0x5*(parseInt(_0x212bbc(0x12a))/0x6)+-parseInt(_0x212bbc(0xde))/0x7*(-parseInt(_0x212bbc(0x155))/0x8)+-parseInt(_0x212bbc(0x106))/0x9+parseInt(_0x212bbc(0xe2))/0xa*(parseInt(_0x212bbc(0x102))/0xb);if(_0x13506a===_0x5b56e8)break;else _0x5ee4d1['push'](_0x5ee4d1['shift']());}catch(_0x1b977c){_0x5ee4d1['push'](_0x5ee4d1['shift']());}}}(a216_0x22ef,0x7e17b));function a216_0x22ef(){const _0xcbf66=['target','description-file','dryRun','7CLrZdQ','Maximum\x20search\x20hits','targetEnv','appcode','670vwGgTH','Watch\x20mode','sql-name','2JKRXVz','Schemas','operation','sqlcode','global','expectPath','functionNode','Description\x20file','env','Tags','expected-count','boolean','zh-CN\x20|\x20en-US','Confirm\x20destructive\x20action','skipImports','output','dry-run','page','confirm','JSON\x20params','Asynchronous\x20task\x20ID','App\x20locale\x20(workspace\x20pass-through;\x20not\x20CLI\x20language)','topk','sqlname','target-env','473461qLsDNV','Force\x20non-interactive\x20mode\x20(CI)','dbId','title','5093ObXTQm','Use\x20global\x20config\x20scope','value','DB\x20ID','8682633AfZjuc','parentId','Menu\x20sort\x20value','map','SQL\x20string','pagesize','Comma-separated\x20metadata\x20codes','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20use\x20with\x20--format\x20json\x20or\x20compress)','Operation\x20type','stdin','<expr>','yes','query','Select\x20app\x20profile\x20by\x20name','nonInteractive','code','Target\x20connection\x20environment','operation-type','remote','help','keyword','Description','Record\x20ID','format','Use\x20project\x20config\x20scope','production\x20|\x20daily','<name>','3402200CeYMwz','non-interactive','descriptionFile','app','Force\x20overwrite','datasetcode','Config\x20key','Rabetbase\x20CLI','Read\x20value\x20from\x20environment\x20variable','1902nIyXPP','Menu\x20label','task-id','expectParentId','Config\x20value','Show\x20help','expect-path','Title','menuIds','rabetbase','expect-parent-id','all','Page\x20number','@lovrabet/rabetbase-cli','watch','description','locale','sql','enable-bff-save','Alias\x20for\x20--non-interactive','fromEnv','force','sort','project','Preview\x20operation\x20without\x20executing','meowKey','verbose','taskId','type','File\x20path','Enable\x20Backend\x20Function\x20save','Name','Expected\x20current\x20parent\x20menu\x20id','13385qdNauE','dbid','Reveal\x20sensitive\x20value','Skip\x20import\x20generation','Use\x20remote','Environment','SQL\x20code','label','file','expectedCount','8026328MTlbTt','codes','key','direct','expected-children-count','reveal','json\x20|\x20pretty\x20|\x20compress','tags','Keyword\x20filter','operationType','menu-ids','params','Dataset\x20code','Skip\x20confirmation\x20for\x20high-risk\x20writes','expectedChildrenCount','85506WeMkQY','schemas','Apply\x20to\x20all','string','Page\x20size','parent-id','name','Search\x20query','SQL\x20name','sqlName'];a216_0x22ef=function(){return _0xcbf66;};return a216_0x22ef();}export const CLI_BIN_NAME=a216_0x2143f3(0x133);export const CLI_DISPLAY_NAME=a216_0x2143f3(0x128);export const NPM_PACKAGE_NAME=a216_0x2143f3(0x137);export const GLOBAL_FLAGS=[{'name':a216_0x2143f3(0xe1),'meowKey':a216_0x2143f3(0xe1),'type':a216_0x2143f3(0x167),'description':'Override\x20appcode','hint':'<code>'},{'name':a216_0x2143f3(0x124),'meowKey':'app','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x113),'hint':a216_0x2143f3(0x120)},{'name':a216_0x2143f3(0xed),'meowKey':'env','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x150),'hint':a216_0x2143f3(0x11f)},{'name':'format','meowKey':a216_0x2143f3(0x11d),'type':'string','description':'Output\x20format','hint':a216_0x2143f3(0x15b)},{'name':'jq','meowKey':'jq','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x10d),'hint':a216_0x2143f3(0x110)},{'name':a216_0x2143f3(0xf5),'meowKey':a216_0x2143f3(0xdd),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x142)},{'name':a216_0x2143f3(0x111),'meowKey':a216_0x2143f3(0x111),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x162)},{'name':a216_0x2143f3(0x122),'meowKey':a216_0x2143f3(0x114),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0xff)},{'name':a216_0x2143f3(0xe9),'meowKey':a216_0x2143f3(0xe9),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x103)},{'name':a216_0x2143f3(0x141),'meowKey':'project','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x11e)},{'name':'ci','meowKey':'ci','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x13d),'hidden':!![]},{'name':a216_0x2143f3(0x119),'meowKey':a216_0x2143f3(0x119),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x12f)},{'name':a216_0x2143f3(0x13a),'meowKey':a216_0x2143f3(0x13a),'type':'string','description':a216_0x2143f3(0xfa),'hidden':!![],'hint':a216_0x2143f3(0xf1)},{'name':a216_0x2143f3(0x16a),'meowKey':'name','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x149),'hidden':!![]},{'name':'title','meowKey':a216_0x2143f3(0x101),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x131),'hidden':!![]},{'name':a216_0x2143f3(0x112),'meowKey':a216_0x2143f3(0x112),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xd8),'hidden':!![]},{'name':a216_0x2143f3(0xfb),'meowKey':a216_0x2143f3(0xfb),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xdf),'hidden':!![]},{'name':'clear','meowKey':'clear','type':a216_0x2143f3(0xf0),'description':'Clear','hidden':!![]},{'name':a216_0x2143f3(0x138),'meowKey':a216_0x2143f3(0x138),'type':'boolean','description':a216_0x2143f3(0xe3),'hidden':!![]},{'name':a216_0x2143f3(0xf4),'meowKey':a216_0x2143f3(0xf4),'type':a216_0x2143f3(0x167),'description':'Output\x20path','hidden':!![]},{'name':a216_0x2143f3(0x160),'meowKey':a216_0x2143f3(0x160),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xf8),'hidden':!![]},{'name':a216_0x2143f3(0x126),'meowKey':a216_0x2143f3(0x126),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x161),'hidden':!![]},{'name':a216_0x2143f3(0x135),'meowKey':'all','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x166),'hidden':!![]},{'name':a216_0x2143f3(0x13c),'meowKey':'enableBffSave','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x148),'hidden':!![]},{'name':'id','meowKey':'id','type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x11c),'hidden':!![]},{'name':a216_0x2143f3(0x146),'meowKey':'type','type':a216_0x2143f3(0x167),'description':'Type\x20filter','hidden':!![]},{'name':a216_0x2143f3(0x153),'meowKey':a216_0x2143f3(0x153),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x147),'hidden':!![]},{'name':a216_0x2143f3(0xe8),'meowKey':a216_0x2143f3(0xe8),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x151),'hidden':!![]},{'name':a216_0x2143f3(0xe4),'meowKey':a216_0x2143f3(0xda),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xd9),'hidden':!![]},{'name':a216_0x2143f3(0xfc),'meowKey':a216_0x2143f3(0xfc),'type':'string','description':a216_0x2143f3(0xd9),'hidden':!![]},{'name':'db-id','meowKey':a216_0x2143f3(0x100),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x105),'hidden':!![]},{'name':a216_0x2143f3(0x14c),'meowKey':a216_0x2143f3(0x14c),'type':'string','description':'DB\x20ID','hidden':!![]},{'name':a216_0x2143f3(0x139),'meowKey':a216_0x2143f3(0x139),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x11b),'hidden':!![]},{'name':a216_0x2143f3(0xdc),'meowKey':a216_0x2143f3(0x123),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xec),'hidden':!![]},{'name':a216_0x2143f3(0xf6),'meowKey':a216_0x2143f3(0xf6),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x136),'hidden':!![]},{'name':a216_0x2143f3(0x10b),'meowKey':a216_0x2143f3(0x10b),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x168),'hidden':!![]},{'name':'keyword','meowKey':a216_0x2143f3(0x11a),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x15d),'hidden':!![]},{'name':a216_0x2143f3(0x115),'meowKey':a216_0x2143f3(0x115),'type':a216_0x2143f3(0x167),'description':'Code\x20filter','hidden':!![]},{'name':a216_0x2143f3(0x13b),'meowKey':a216_0x2143f3(0x13b),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x10a),'hidden':!![]},{'name':a216_0x2143f3(0x165),'meowKey':a216_0x2143f3(0x165),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xe6),'hidden':!![]},{'name':a216_0x2143f3(0xe7),'meowKey':'operation','type':'string','description':'Operation\x20type','hidden':!![]},{'name':a216_0x2143f3(0xdb),'meowKey':'target','type':'string','description':'Target\x20path','hidden':!![]},{'name':'skip-imports','meowKey':a216_0x2143f3(0xf3),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x14e),'hidden':!![]},{'name':'key','meowKey':a216_0x2143f3(0x157),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x127),'hidden':!![]},{'name':'value','meowKey':a216_0x2143f3(0x104),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x12e),'hidden':!![]},{'name':a216_0x2143f3(0x15c),'meowKey':a216_0x2143f3(0x15c),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xee),'hidden':!![]},{'name':a216_0x2143f3(0x10f),'meowKey':a216_0x2143f3(0x10f),'type':a216_0x2143f3(0xf0),'description':'Read\x20value\x20from\x20stdin','hidden':!![]},{'name':'from-env','meowKey':a216_0x2143f3(0x13e),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x129),'hidden':!![]},{'name':a216_0x2143f3(0x15a),'meowKey':'reveal','type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x14d),'hidden':!![]},{'name':a216_0x2143f3(0x13f),'meowKey':a216_0x2143f3(0x13f),'type':'boolean','description':a216_0x2143f3(0x125),'hidden':!![]},{'name':a216_0x2143f3(0xf7),'meowKey':a216_0x2143f3(0xf7),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0xf2),'hidden':!![]},{'name':a216_0x2143f3(0x118),'meowKey':a216_0x2143f3(0x118),'type':a216_0x2143f3(0xf0),'description':a216_0x2143f3(0x14f),'hidden':!![]},{'name':a216_0x2143f3(0x144),'meowKey':a216_0x2143f3(0x144),'type':a216_0x2143f3(0xf0),'description':'Verbose\x20output','hidden':!![]},{'name':a216_0x2143f3(0xef),'meowKey':a216_0x2143f3(0x154),'type':a216_0x2143f3(0x167),'description':'Expected\x20affected\x20count','hidden':!![]},{'name':'label','meowKey':a216_0x2143f3(0x152),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x12b),'hidden':!![]},{'name':a216_0x2143f3(0x169),'meowKey':a216_0x2143f3(0x107),'type':a216_0x2143f3(0x167),'description':'Parent\x20menu\x20id','hidden':!![]},{'name':a216_0x2143f3(0x140),'meowKey':a216_0x2143f3(0x140),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x108),'hidden':!![]},{'name':a216_0x2143f3(0x134),'meowKey':a216_0x2143f3(0x12d),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x14a),'hidden':!![]},{'name':a216_0x2143f3(0x130),'meowKey':a216_0x2143f3(0xea),'type':a216_0x2143f3(0x167),'description':'Expected\x20current\x20menu\x20path','hidden':!![]},{'name':a216_0x2143f3(0x159),'meowKey':a216_0x2143f3(0x163),'type':a216_0x2143f3(0x167),'description':'Expected\x20current\x20child\x20count','hidden':!![]},{'name':a216_0x2143f3(0x15f),'meowKey':a216_0x2143f3(0x132),'type':'string','description':'Comma-separated\x20menu\x20IDs','hidden':!![]},{'name':a216_0x2143f3(0x12c),'meowKey':a216_0x2143f3(0x145),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0xf9),'hidden':!![]},{'name':a216_0x2143f3(0x117),'meowKey':a216_0x2143f3(0x15e),'type':'string','description':a216_0x2143f3(0x10e),'hidden':!![]},{'name':'function-node','meowKey':a216_0x2143f3(0xeb),'type':a216_0x2143f3(0x167),'description':'Function\x20node','hidden':!![]},{'name':a216_0x2143f3(0xfd),'meowKey':a216_0x2143f3(0xe0),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x116),'hidden':!![]},{'name':a216_0x2143f3(0x158),'meowKey':a216_0x2143f3(0x158),'type':a216_0x2143f3(0xf0),'description':'Use\x20the\x20base\x20database\x20connection','hidden':!![]},{'name':a216_0x2143f3(0x156),'meowKey':a216_0x2143f3(0x156),'type':a216_0x2143f3(0x167),'description':a216_0x2143f3(0x10c),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a216_0x2143f3(0xe1),a216_0x2143f3(0x124),a216_0x2143f3(0xed),'format','jq',a216_0x2143f3(0xf5),'yes','non-interactive','ci']);function a216_0x5b5d(_0x37e3a2,_0x2d52ae){_0x37e3a2=_0x37e3a2-0xd8;const _0x22ef7d=a216_0x22ef();let _0x5b5d1a=_0x22ef7d[_0x37e3a2];return _0x5b5d1a;}export function buildMeowFlags(){const _0x265a9b=a216_0x2143f3;return Object['fromEntries'](GLOBAL_FLAGS[_0x265a9b(0x109)](_0x515cb0=>[_0x515cb0[_0x265a9b(0x143)],{'type':_0x515cb0[_0x265a9b(0x146)]}]));}
|
package/lib/constant/defaults.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a217_0x5755(_0x4b6558,_0x565df3){_0x4b6558=_0x4b6558-0x1c9;const _0x2580cb=a217_0x2580();let _0x575594=_0x2580cb[_0x4b6558];return _0x575594;}const a217_0x56de83=a217_0x5755;(function(_0x2eb88b,_0x3b0f2e){const _0x4b1e1b=a217_0x5755,_0x591988=_0x2eb88b();while(!![]){try{const _0x510305=parseInt(_0x4b1e1b(0x1d2))/0x1*(parseInt(_0x4b1e1b(0x1d5))/0x2)+-parseInt(_0x4b1e1b(0x1c9))/0x3+-parseInt(_0x4b1e1b(0x1ca))/0x4*(-parseInt(_0x4b1e1b(0x1d7))/0x5)+-parseInt(_0x4b1e1b(0x1d3))/0x6+parseInt(_0x4b1e1b(0x1cb))/0x7*(parseInt(_0x4b1e1b(0x1ce))/0x8)+parseInt(_0x4b1e1b(0x1cf))/0x9+parseInt(_0x4b1e1b(0x1d0))/0xa*(-parseInt(_0x4b1e1b(0x1d4))/0xb);if(_0x510305===_0x3b0f2e)break;else _0x591988['push'](_0x591988['shift']());}catch(_0x54849f){_0x591988['push'](_0x591988['shift']());}}}(a217_0x2580,0xc9137));import{DEFAULT_API_DIR}from'../constant/paths.js';export const DEFAULT_CONFIG_VALUES={'env':a217_0x56de83(0x1d1),'format':'compress','locale':a217_0x56de83(0x1d6),'riskLevel':a217_0x56de83(0x1cd),'apiDir':DEFAULT_API_DIR};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a217_0x56de83(0x1cc);function a217_0x2580(){const _0x1976b9=['1155642TxcifF','3205084tknadZ','346444qSMrCS','compress','write','184QaFIXr','3279051WJMrya','9353420yDnFpt','production','852227MKXSFA','5267514jNLPgj','22ofQnnh','2MHlvmD','en-US','10bQiOEN'];a217_0x2580=function(){return _0x1976b9;};return a217_0x2580();}
|
package/lib/constant/domain.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare function initDomains(domains?: {
|
|
|
9
9
|
runtimeDomain?: string;
|
|
10
10
|
skillDomain?: string;
|
|
11
11
|
kbDomain?: string;
|
|
12
|
+
kbSearchDomain?: string;
|
|
12
13
|
appDomain?: string;
|
|
13
14
|
localDomain?: string;
|
|
14
15
|
certificateDomain?: string;
|
|
@@ -19,6 +20,7 @@ export declare const getApiDomain: () => string;
|
|
|
19
20
|
export declare const getRuntimeDomain: () => string;
|
|
20
21
|
export declare const getSkillDomain: () => string;
|
|
21
22
|
export declare const getKbDomain: () => string;
|
|
23
|
+
export declare function getKbSearchDomain(): string;
|
|
22
24
|
export declare const getAppDomain: () => string;
|
|
23
25
|
export declare const getActiveRegion: () => "global" | "id" | "cn";
|
|
24
26
|
export declare const getLocalDomain: () => string | undefined;
|
package/lib/constant/domain.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a218_0x2969bd=a218_0x54f3;(function(_0x57e07d,_0x39bcac){const _0x86db0a=a218_0x54f3,_0x2c1921=_0x57e07d();while(!![]){try{const _0x5a9ab3=-parseInt(_0x86db0a(0x126))/0x1*(-parseInt(_0x86db0a(0x12b))/0x2)+parseInt(_0x86db0a(0x130))/0x3+parseInt(_0x86db0a(0x137))/0x4*(-parseInt(_0x86db0a(0x131))/0x5)+parseInt(_0x86db0a(0x132))/0x6+parseInt(_0x86db0a(0x123))/0x7+-parseInt(_0x86db0a(0x134))/0x8*(-parseInt(_0x86db0a(0x11f))/0x9)+-parseInt(_0x86db0a(0x12a))/0xa;if(_0x5a9ab3===_0x39bcac)break;else _0x2c1921['push'](_0x2c1921['shift']());}catch(_0x1127f1){_0x2c1921['push'](_0x2c1921['shift']());}}}(a218_0x3306,0xbd08b));import{getEnv,isProduction}from'../constant/env.js';import{DEFAULT_LOVRABET_REGION}from'../constant/region.js';import{getOfficialRoutingProfile}from'../constant/routing-profile.js';function a218_0x54f3(_0x272155,_0x40f5fb){_0x272155=_0x272155-0x11b;const _0x330600=a218_0x3306();let _0x54f32b=_0x330600[_0x272155];return _0x54f32b;}import{CliErrors}from'../errors.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillDomain,customKbDomain,customKbSearchDomain,customAppDomain,customLocalDomain,customCertificateDomain,activeRegion=DEFAULT_LOVRABET_REGION;function getActiveRegionDomains(){const _0x36b823=a218_0x54f3,_0x5f4152=getOfficialRoutingProfile(activeRegion);return _0x5f4152[_0x36b823(0x11c)][isProduction(getEnv())?_0x36b823(0x12e):'preview'];}export function initDomains(_0x3fc56d){const _0x8996d=a218_0x54f3;customApiDomain=_0x3fc56d?.['apiDomain'],customUserDomain=_0x3fc56d?.['userDomain'],customRuntimeDomain=_0x3fc56d?.[_0x8996d(0x11e)],customSkillDomain=_0x3fc56d?.[_0x8996d(0x12f)],customKbDomain=_0x3fc56d?.[_0x8996d(0x129)],customKbSearchDomain=_0x3fc56d?.['kbSearchDomain'],customAppDomain=_0x3fc56d?.[_0x8996d(0x122)],customLocalDomain=_0x3fc56d?.['localDomain'],customCertificateDomain=_0x3fc56d?.[_0x8996d(0x139)],activeRegion=_0x3fc56d?.[_0x8996d(0x121)]??DEFAULT_LOVRABET_REGION;}export const getUserDomain=()=>customUserDomain||getActiveRegionDomains()[a218_0x2969bd(0x120)];export const getApiDomain=()=>customApiDomain||getActiveRegionDomains()[a218_0x2969bd(0x133)];export const getRuntimeDomain=()=>customRuntimeDomain||getActiveRegionDomains()[a218_0x2969bd(0x136)];export const getSkillDomain=()=>customSkillDomain||getActiveRegionDomains()['skill'];export const getKbDomain=()=>customKbDomain||customApiDomain||getActiveRegionDomains()['kb'];export function getKbSearchDomain(){const _0x47b2d1=a218_0x2969bd;if(customKbSearchDomain)return customKbSearchDomain;if(activeRegion==='cn')return isProduction(getEnv())?_0x47b2d1(0x12c):_0x47b2d1(0x11d);throw CliErrors[_0x47b2d1(0x135)]('Knowledge\x20search\x20is\x20not\x20registered\x20for\x20region\x20\x22'+activeRegion+'\x22.',_0x47b2d1(0x13a));}export const getAppDomain=()=>customAppDomain||getActiveRegionDomains()[a218_0x2969bd(0x11b)];export const getActiveRegion=()=>activeRegion;export const getLocalDomain=()=>customLocalDomain;export const getCertificateDomain=()=>customCertificateDomain;export function isIndependentDeployment(){return!!(customApiDomain||customUserDomain||customRuntimeDomain||customSkillDomain||customKbDomain||customKbSearchDomain||customAppDomain||customLocalDomain||customCertificateDomain);}function a218_0x3306(){const _0x44f24b=['trim','/web-app/app/','33tFuRSo','/app/','hostname','kbDomain','5344070nvYIew','69226qAQjIv','https://kb-service.lovrabet.com','origin','primary','skillDomain','635334SwjHcK','10ZPuFwS','2119602dqUOlD','api','169320wsVqml','validation','runtime','3056512JMQXQG','global','certificateDomain','Configure\x20an\x20explicit\x20kbSearchDomain\x20for\x20an\x20independent\x20deployment.','app','serviceDomains','https://kb-service-daily.lovrabet.com','runtimeDomain','117TtPvEv','user','region','appDomain','5981689NQhirk'];a218_0x3306=function(){return _0x44f24b;};return a218_0x3306();}export function getSdkClientRoutingConfig(){const _0x3c3b5e=a218_0x2969bd;if(customRuntimeDomain&&customRuntimeDomain!==getActiveRegionDomains()[_0x3c3b5e(0x136)])return{'runtimeDomain':customRuntimeDomain};if(activeRegion==='id')return{'region':'id'};if(activeRegion===_0x3c3b5e(0x138))return{'runtimeDomain':getRuntimeDomain()};return{};}export const getAppBaseUrl=_0x555e54=>{const _0x5454d0=a218_0x2969bd,_0x5a5b7a=encodeURIComponent(_0x555e54[_0x5454d0(0x124)]());return isProduction(getEnv())?getAppDomain()+_0x5454d0(0x127)+_0x5a5b7a:getAppDomain()+_0x5454d0(0x125)+_0x5a5b7a;};export const getPublishedAppDomain=_0x3deb5f=>{const _0x486943=a218_0x2969bd,_0x4e097e=new URL(getAppDomain());return _0x4e097e[_0x486943(0x128)]=_0x3deb5f[_0x486943(0x124)]()+'.'+_0x4e097e['hostname'],_0x4e097e[_0x486943(0x12d)];};
|
package/lib/constant/env.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a219_0xc8a83b=a219_0x5bf4;(function(_0x2f466b,_0x243bd6){const _0x31dac8=a219_0x5bf4,_0x31225a=_0x2f466b();while(!![]){try{const _0x552b19=parseInt(_0x31dac8(0x1e8))/0x1+-parseInt(_0x31dac8(0x1e0))/0x2+parseInt(_0x31dac8(0x1e5))/0x3*(parseInt(_0x31dac8(0x1dd))/0x4)+-parseInt(_0x31dac8(0x1e9))/0x5*(parseInt(_0x31dac8(0x1e6))/0x6)+-parseInt(_0x31dac8(0x1e7))/0x7*(-parseInt(_0x31dac8(0x1dc))/0x8)+-parseInt(_0x31dac8(0x1ea))/0x9*(parseInt(_0x31dac8(0x1e3))/0xa)+-parseInt(_0x31dac8(0x1df))/0xb*(parseInt(_0x31dac8(0x1e1))/0xc);if(_0x552b19===_0x243bd6)break;else _0x31225a['push'](_0x31225a['shift']());}catch(_0x88c91f){_0x31225a['push'](_0x31225a['shift']());}}}(a219_0x327f,0x451ac));export const RABETBASE_ENV_VALUES=[a219_0xc8a83b(0x1eb),a219_0xc8a83b(0x1e2)];export function normalizeEnv(_0x19f154){const _0x15ef6c=a219_0xc8a83b;return _0x19f154===_0x15ef6c(0x1e4)?_0x15ef6c(0x1eb):_0x19f154;}export function isProduction(_0x2f80e3){const _0x1c7d26=a219_0xc8a83b;return normalizeEnv(_0x2f80e3)===_0x1c7d26(0x1eb);}export function isDaily(_0x83e976){const _0x264eef=a219_0xc8a83b;return normalizeEnv(_0x83e976)===_0x264eef(0x1e2);}export function isDev(_0xf391df){const _0x4fbfd9=a219_0xc8a83b,_0x248195=normalizeEnv(_0xf391df);return _0x248195===_0x4fbfd9(0x1de)||_0x248195==='dev';}let env=normalizeEnv(process.env.RABETBASE_ENV||process.env.LOVRABET_ENV||a219_0xc8a83b(0x1eb));export function getEnv(){return env;}function a219_0x327f(){const _0x3bc276=['135TYfJsE','production','152UBDpZc','172vBOuZV','development','33KzXzEB','941336uVKpie','303192XBidsN','daily','37820AjsNIo','online','27624rEKZbr','165234LCmnWD','65254CIzTvn','340725DBhJri','5bANqjX'];a219_0x327f=function(){return _0x3bc276;};return a219_0x327f();}function a219_0x5bf4(_0x2d8590,_0x451a65){_0x2d8590=_0x2d8590-0x1dc;const _0x327f40=a219_0x327f();let _0x5bf41f=_0x327f40[_0x2d8590];return _0x5bf41f;}export function initEnv(_0xc97205){env=normalizeEnv(_0xc97205);}
|
package/lib/constant/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a220_0x3bd8a5=a220_0x4b32;(function(_0x38310a,_0x5ac712){const _0x655bf4=a220_0x4b32,_0x51e138=_0x38310a();while(!![]){try{const _0x143bad=parseInt(_0x655bf4(0x7b))/0x1+-parseInt(_0x655bf4(0x81))/0x2*(-parseInt(_0x655bf4(0x7e))/0x3)+parseInt(_0x655bf4(0x77))/0x4+-parseInt(_0x655bf4(0x84))/0x5*(-parseInt(_0x655bf4(0x7f))/0x6)+-parseInt(_0x655bf4(0x76))/0x7*(parseInt(_0x655bf4(0x78))/0x8)+-parseInt(_0x655bf4(0x83))/0x9*(-parseInt(_0x655bf4(0x79))/0xa)+-parseInt(_0x655bf4(0x82))/0xb*(parseInt(_0x655bf4(0x7c))/0xc);if(_0x143bad===_0x5ac712)break;else _0x51e138['push'](_0x51e138['shift']());}catch(_0x194d45){_0x51e138['push'](_0x51e138['shift']());}}}(a220_0x4e63,0xc4ee0));export const RABETBASE_OUTPUT_FORMAT_VALUES=[a220_0x3bd8a5(0x7d),a220_0x3bd8a5(0x7a),a220_0x3bd8a5(0x80)];function a220_0x4b32(_0x2a5148,_0x3b3daa){_0x2a5148=_0x2a5148-0x76;const _0x4e63f9=a220_0x4e63();let _0x4b32eb=_0x4e63f9[_0x2a5148];return _0x4b32eb;}function a220_0x4e63(){const _0x4848f4=['113710DjZJqU','pretty','1552983JyIHtr','411876afbtge','json','21IUjgtA','6dCdfit','compress','59308PVxcAR','99JmxmMb','45boRoOO','203275iBufxO','16135LrrmLC','1695160xNCCTH','4048bRBwRK'];a220_0x4e63=function(){return _0x4848f4;};return a220_0x4e63();}
|
package/lib/constant/paths.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a221_0x1788(_0x489cfc,_0x54e294){_0x489cfc=_0x489cfc-0x127;const _0x20dff3=a221_0x20df();let _0x178823=_0x20dff3[_0x489cfc];return _0x178823;}function a221_0x20df(){const _0x1b1e1f=['319847KxZIXD','13221DMPLTy','474kbSSpe','540741DZysvJ','./src/api','322730hjuMZn','408DCAfLZ','78466dcbqJg','33278heUVsL','1592840FBXKXy','6tNgBcJ','3940jhiQRB','8ZMnloI'];a221_0x20df=function(){return _0x1b1e1f;};return a221_0x20df();}const a221_0x7358c6=a221_0x1788;(function(_0x4a11a0,_0xd4146b){const _0x2b5394=a221_0x1788,_0x31562e=_0x4a11a0();while(!![]){try{const _0x10406b=-parseInt(_0x2b5394(0x130))/0x1*(parseInt(_0x2b5394(0x12d))/0x2)+parseInt(_0x2b5394(0x129))/0x3*(parseInt(_0x2b5394(0x132))/0x4)+parseInt(_0x2b5394(0x12b))/0x5+parseInt(_0x2b5394(0x128))/0x6*(-parseInt(_0x2b5394(0x12e))/0x7)+parseInt(_0x2b5394(0x12f))/0x8+parseInt(_0x2b5394(0x127))/0x9*(-parseInt(_0x2b5394(0x131))/0xa)+-parseInt(_0x2b5394(0x133))/0xb*(-parseInt(_0x2b5394(0x12c))/0xc);if(_0x10406b===_0xd4146b)break;else _0x31562e['push'](_0x31562e['shift']());}catch(_0x5323b1){_0x31562e['push'](_0x31562e['shift']());}}}(a221_0x20df,0x67465));export const DEFAULT_API_DIR=a221_0x7358c6(0x12a);
|
package/lib/constant/region.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4538ac,_0xc5d2c0){const _0x491b6c=a222_0x2a4f,_0x21c04c=_0x4538ac();while(!![]){try{const _0x286bdd=-parseInt(_0x491b6c(0x82))/0x1+-parseInt(_0x491b6c(0x7d))/0x2*(-parseInt(_0x491b6c(0x7e))/0x3)+parseInt(_0x491b6c(0x7f))/0x4+-parseInt(_0x491b6c(0x85))/0x5*(parseInt(_0x491b6c(0x80))/0x6)+-parseInt(_0x491b6c(0x83))/0x7+-parseInt(_0x491b6c(0x7c))/0x8+parseInt(_0x491b6c(0x86))/0x9;if(_0x286bdd===_0xc5d2c0)break;else _0x21c04c['push'](_0x21c04c['shift']());}catch(_0x2963dd){_0x21c04c['push'](_0x21c04c['shift']());}}}(a222_0x2252,0x8582d));export const LOVRABET_REGION_VALUES=['cn','id','global'];export const ENABLED_LOVRABET_REGION_VALUES=['cn','id'];function a222_0x2a4f(_0x49e5a9,_0x490ae5){_0x49e5a9=_0x49e5a9-0x7c;const _0x2252f1=a222_0x2252();let _0x2a4fc9=_0x2252f1[_0x49e5a9];return _0x2a4fc9;}export const DEFAULT_LOVRABET_REGION='cn';function a222_0x2252(){const _0x476ddf=['4230oozXUK','20414871fjYMRK','2973776ZifIpg','390428TIfpfW','3uQzVec','2347452rnJbEN','6420GsEeCf','includes','471635xoPgSI','5284706eQzejQ','string'];a222_0x2252=function(){return _0x476ddf;};return a222_0x2252();}export function isLovrabetRegion(_0xc8bc74){const _0xad6a00=a222_0x2a4f;return typeof _0xc8bc74===_0xad6a00(0x84)&&LOVRABET_REGION_VALUES[_0xad6a00(0x81)](_0xc8bc74);}export function isEnabledLovrabetRegion(_0x37fdd5){const _0x3b32a1=a222_0x2a4f;return typeof _0x37fdd5===_0x3b32a1(0x84)&&ENABLED_LOVRABET_REGION_VALUES[_0x3b32a1(0x81)](_0x37fdd5);}export function normalizeLovrabetRegion(_0x3ef909){if(_0x3ef909==='china')return'cn';if(_0x3ef909==='indonesia')return'id';return isLovrabetRegion(_0x3ef909)?_0x3ef909:DEFAULT_LOVRABET_REGION;}
|
package/lib/constant/risk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a223_0x2cc9(_0x2ba30e,_0x41f366){_0x2ba30e=_0x2ba30e-0x1ee;const _0x5fd1f6=a223_0x5fd1();let _0x2cc9b8=_0x5fd1f6[_0x2ba30e];return _0x2cc9b8;}function a223_0x5fd1(){const _0x264de8=['21IsBeDX','1323090HvykTv','1131504kFaAiF','7477812ZaaPkZ','5058ykZJMF','3427JTLLpT','22030nFiNAH','92252NTqmUl','94xCHwVm','7208985uaBylw','high-risk-write'];a223_0x5fd1=function(){return _0x264de8;};return a223_0x5fd1();}const a223_0x32eb7e=a223_0x2cc9;(function(_0x4554d7,_0x13d418){const _0x50ea09=a223_0x2cc9,_0x3f2dab=_0x4554d7();while(!![]){try{const _0x4b7fe6=parseInt(_0x50ea09(0x1ef))/0x1*(-parseInt(_0x50ea09(0x1f2))/0x2)+-parseInt(_0x50ea09(0x1f5))/0x3*(-parseInt(_0x50ea09(0x1f1))/0x4)+-parseInt(_0x50ea09(0x1f6))/0x5+parseInt(_0x50ea09(0x1f8))/0x6+parseInt(_0x50ea09(0x1f3))/0x7+-parseInt(_0x50ea09(0x1f7))/0x8+parseInt(_0x50ea09(0x1ee))/0x9*(-parseInt(_0x50ea09(0x1f0))/0xa);if(_0x4b7fe6===_0x13d418)break;else _0x3f2dab['push'](_0x3f2dab['shift']());}catch(_0x4ecb21){_0x3f2dab['push'](_0x3f2dab['shift']());}}}(a223_0x5fd1,0x9a643));export const RISK_LEVEL_VALUES=['read','write',a223_0x32eb7e(0x1f4)];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a224_0x251ad7=a224_0x3223;function a224_0x3223(_0x4ef491,_0xdb9467){_0x4ef491=_0x4ef491-0x1e9;const _0x5f131f=a224_0x5f13();let _0x322347=_0x5f131f[_0x4ef491];return _0x322347;}(function(_0xfd15,_0x370504){const _0x46e589=a224_0x3223,_0x56ffed=_0xfd15();while(!![]){try{const _0x6975bc=-parseInt(_0x46e589(0x206))/0x1+-parseInt(_0x46e589(0x20d))/0x2+parseInt(_0x46e589(0x1fd))/0x3+-parseInt(_0x46e589(0x1ef))/0x4+parseInt(_0x46e589(0x1f1))/0x5*(-parseInt(_0x46e589(0x20e))/0x6)+-parseInt(_0x46e589(0x1f2))/0x7*(parseInt(_0x46e589(0x202))/0x8)+parseInt(_0x46e589(0x1f7))/0x9;if(_0x6975bc===_0x370504)break;else _0x56ffed['push'](_0x56ffed['shift']());}catch(_0x557e2e){_0x56ffed['push'](_0x56ffed['shift']());}}}(a224_0x5f13,0x7dbed));export const OFFICIAL_ROUTING_PROFILES={'cn':{'label':'Mainland\x20China','serviceDomains':{'primary':{'user':a224_0x251ad7(0x1fa),'api':a224_0x251ad7(0x201),'runtime':'https://runtime.lovrabet.com','skill':'https://skills.lovrabet.com','kb':a224_0x251ad7(0x201),'app':'https://app.lovrabet.com'},'preview':{'user':'https://user-daily.lovrabet.com','api':a224_0x251ad7(0x1f0),'runtime':a224_0x251ad7(0x1ea),'skill':a224_0x251ad7(0x208),'kb':'https://daily-api.lovrabet.com','app':a224_0x251ad7(0x1f9)}},'assets':{'strategy':a224_0x251ad7(0x1ff),'origin':'https://g.alicdn.com'},'local':{'origin':a224_0x251ad7(0x1fb),'certificateUrl':a224_0x251ad7(0x203)}},'id':{'label':a224_0x251ad7(0x204),'serviceDomains':{'primary':{'user':'https://user.lovrabet.id','api':a224_0x251ad7(0x1f8),'runtime':a224_0x251ad7(0x1fc),'skill':a224_0x251ad7(0x1ed),'kb':a224_0x251ad7(0x1f8),'app':a224_0x251ad7(0x20b)},'preview':{'user':a224_0x251ad7(0x209),'api':a224_0x251ad7(0x1f3),'runtime':'https://daily-runtime.lovrabet.id','skill':a224_0x251ad7(0x1eb),'kb':a224_0x251ad7(0x1f3),'app':a224_0x251ad7(0x1f6)}},'assets':{'strategy':a224_0x251ad7(0x1ff),'origin':a224_0x251ad7(0x1f4)},'local':{'origin':a224_0x251ad7(0x1fe),'certificateUrl':a224_0x251ad7(0x205)}},'global':{'label':a224_0x251ad7(0x207),'serviceDomains':{'primary':{'user':'https://user.lovrabet.ai','api':a224_0x251ad7(0x20c),'runtime':a224_0x251ad7(0x20a),'skill':'https://skills.lovrabet.ai','kb':a224_0x251ad7(0x20c),'app':a224_0x251ad7(0x1e9)},'preview':{'user':'https://user-daily.lovrabet.ai','api':'https://daily-api.lovrabet.ai','runtime':a224_0x251ad7(0x200),'skill':a224_0x251ad7(0x1f5),'kb':a224_0x251ad7(0x20f),'app':a224_0x251ad7(0x1ee)}},'assets':{'strategy':a224_0x251ad7(0x1ff),'origin':a224_0x251ad7(0x1f4)},'local':{'origin':a224_0x251ad7(0x1ec),'certificateUrl':'https://g.lovrabet.ai/cert/lovrabet-dev.json'}}};function a224_0x5f13(){const _0x40bb82=['Global','https://skills-daily.lovrabet.com','https://user-daily.lovrabet.id','https://runtime.lovrabet.ai','https://app.lovrabet.id','https://api.lovrabet.ai','1208254zhimaR','6yBlxKe','https://daily-api.lovrabet.ai','https://app.lovrabet.ai','https://daily-runtime.lovrabet.com','https://skills-daily.lovrabet.id','https://dev.lovrabet.ai','https://skills.lovrabet.id','https://daily.lovrabet.ai','357260CGPBZG','https://daily-api.lovrabet.com','2085620nPZZAc','959fQKkZG','https://daily-api.lovrabet.id','https://g.alicdn.com','https://skills-daily.lovrabet.ai','https://daily.lovrabet.id','27536310VKSJAm','https://api.lovrabet.id','https://daily.lovrabet.com','https://user.lovrabet.com','https://dev.lovrabet.com','https://runtime.lovrabet.id','42999yWMLME','https://dev.lovrabet.id','cdn','https://daily-runtime.lovrabet.ai','https://api.lovrabet.com','52552OnJcJI','https://g.lovrabet.com/cert/lovrabet-dev.json','Indonesia','https://g.lovrabet.id/cert/lovrabet-dev.json','548351KONAsD'];a224_0x5f13=function(){return _0x40bb82;};return a224_0x5f13();}export function getOfficialRoutingProfile(_0x527d3e){return OFFICIAL_ROUTING_PROFILES[_0x527d3e];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x58aad7,_0x517b2f){const _0x531b50=a225_0x4e2c,_0x108249=_0x58aad7();while(!![]){try{const _0x498072=-parseInt(_0x531b50(0x1d3))/0x1*(-parseInt(_0x531b50(0x1cd))/0x2)+-parseInt(_0x531b50(0x1dd))/0x3*(parseInt(_0x531b50(0x1e3))/0x4)+-parseInt(_0x531b50(0x1d6))/0x5+-parseInt(_0x531b50(0x1e6))/0x6+-parseInt(_0x531b50(0x1c9))/0x7+parseInt(_0x531b50(0x1c8))/0x8*(parseInt(_0x531b50(0x1cf))/0x9)+parseInt(_0x531b50(0x1db))/0xa;if(_0x498072===_0x517b2f)break;else _0x108249['push'](_0x108249['shift']());}catch(_0x3f5323){_0x108249['push'](_0x108249['shift']());}}}(a225_0x5375,0xa5735));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{isDaily,normalizeEnv}from'../constant/env.js';import{normalizeLegacyOutputFormat,riskLevelOrder}from'../framework/types.js';function stringConfigValue(_0x20fd26){const _0x3bdc18=a225_0x4e2c;return typeof _0x20fd26===_0x3bdc18(0x1e2)&&_0x20fd26[_0x3bdc18(0x1c7)]()?_0x20fd26[_0x3bdc18(0x1c7)]():undefined;}function appProfiles(_0x130357){const _0x40fc9b=a225_0x4e2c;return _0x130357[_0x40fc9b(0x1da)]&&typeof _0x130357[_0x40fc9b(0x1da)]==='object'?_0x130357[_0x40fc9b(0x1da)]:{};}function a225_0x4e2c(_0x2b508f,_0x4f412d){_0x2b508f=_0x2b508f-0x1c4;const _0x53757d=a225_0x5375();let _0x4e2c1d=_0x53757d[_0x2b508f];return _0x4e2c1d;}function resolveDefaultAppName(_0x4166e4){const _0x28b37f=a225_0x4e2c,_0x1062ed=stringConfigValue(_0x4166e4['defaultApp']);if(_0x1062ed)return _0x1062ed;const _0x3d8f39=Object[_0x28b37f(0x1dc)](appProfiles(_0x4166e4));return _0x3d8f39[_0x28b37f(0x1d0)]===0x1?_0x3d8f39[0x0]:undefined;}function resolveTopLevelAppCode(_0x28ab31){const _0x1bf5b3=a225_0x4e2c;return stringConfigValue(_0x28ab31[_0x1bf5b3(0x1d1)])||stringConfigValue(_0x28ab31[_0x1bf5b3(0x1df)]);}function normalizeRiskCeiling(_0x58208d){const _0x519765=a225_0x4e2c;if(_0x58208d===undefined||_0x58208d===null)return undefined;if(_0x58208d===_0x519765(0x1c4)||_0x58208d===_0x519765(0x1ce)||_0x58208d===_0x519765(0x1d5))return _0x58208d;return _0x519765(0x1c4);}function a225_0x5375(){const _0xa1686=['136216UUZhvi','6764429RnCAkg','env','cookie','true','1776UKuNnO','write','27ZHTQOA','length','appcode','accessKey','460TQzwKK','daily','high-risk-write','962525FtIdvG','projectConfig','production','globalConfig','apps','26520210gcquIe','keys','441dtBKLe','pageSize','app','VERBOSE','locale','string','34244qqiFVk','apiDir','object','99468TwAiun','format','read','riskLevel','entries','trim'];a225_0x5375=function(){return _0xa1686;};return a225_0x5375();}function resolveRiskCeiling(..._0x383f13){const _0x32bb3d=a225_0x4e2c;let _0xd6965;for(const _0x4a1836 of _0x383f13){const _0x14c138=normalizeRiskCeiling(_0x4a1836);_0x14c138&&(!_0xd6965||riskLevelOrder(_0x14c138)<riskLevelOrder(_0xd6965))&&(_0xd6965=_0x14c138);}return _0xd6965??DEFAULT_CONFIG_VALUES[_0x32bb3d(0x1c5)];}export function resolveAppConfig({raw:_0x246940,flags:_0x4dcb7f,layers:_0x354701,readEnv:_0x3741ad}){const _0x72bba8=a225_0x4e2c,_0x2bfe0c=_0x354701?.[_0x72bba8(0x1d7)]??{},_0x1c127b=_0x354701?.[_0x72bba8(0x1d9)]??{},_0x2e3791=!!_0x354701?.['projectPath']||Object[_0x72bba8(0x1dc)](_0x2bfe0c)[_0x72bba8(0x1d0)]>0x0,_0x482f0a=!_0x2e3791,_0x3579cc=_0x2e3791?resolveDefaultAppName(_0x2bfe0c):undefined,_0x2865c6=_0x482f0a?resolveDefaultAppName(_0x1c127b):undefined,_0x3b5f98=stringConfigValue(_0x4dcb7f['app']),_0x5417e4=_0x3741ad('APP'),_0x5a7fe3={};if(_0x246940[_0x72bba8(0x1da)]&&typeof _0x246940[_0x72bba8(0x1da)]===_0x72bba8(0x1e5))for(const [_0x20f67c,_0x4c8bd9]of Object[_0x72bba8(0x1c6)](_0x246940[_0x72bba8(0x1da)])){_0x4c8bd9&&typeof _0x4c8bd9===_0x72bba8(0x1e5)&&_0x4c8bd9[_0x72bba8(0x1d1)]&&(_0x5a7fe3[_0x20f67c]=_0x4c8bd9);}const _0x3d2967=_0x3579cc||_0x2865c6||resolveDefaultAppName(_0x246940),_0x26576b=Object[_0x72bba8(0x1dc)](_0x5a7fe3)[_0x72bba8(0x1d0)]>0x0,_0x454dd1=_0x3b5f98||_0x3579cc||_0x5417e4||_0x2865c6||_0x3d2967||undefined,_0x490942=stringConfigValue(_0x4dcb7f[_0x72bba8(0x1d1)]),_0xe55522=_0x490942?Object['entries'](_0x5a7fe3)['find'](([,_0x4288cb])=>_0x4288cb?.['appcode']===_0x490942):undefined,_0x2f6c00=_0xe55522?.[0x0],_0x55d2b2=_0xe55522?.[0x1],_0x16fd33=_0x490942?_0x2f6c00:_0x454dd1;let _0xc6d7d9=_0x16fd33&&_0x5a7fe3[_0x16fd33]?_0x5a7fe3[_0x16fd33]:undefined;_0x490942&&_0x55d2b2&&(_0xc6d7d9=_0x55d2b2);const _0x23fc80=_0x490942?_0x55d2b2??_0xc6d7d9:_0xc6d7d9,_0x369274=!_0x3b5f98&&!_0x3579cc&&_0x5417e4&&_0x16fd33===_0x5417e4,_0x21ea7e=_0x3b5f98||(_0x369274?_0x5417e4:undefined)||(_0x490942?_0x2f6c00:undefined),_0x2696a5=_0x23fc80?.[_0x72bba8(0x1d1)],_0x3f7d2d=_0x2e3791?resolveTopLevelAppCode(_0x2bfe0c):undefined,_0x3a7e7b=_0x482f0a?resolveTopLevelAppCode(_0x1c127b):undefined,_0x4cef0c=_0x3b5f98||_0x3579cc?_0x2696a5:undefined,_0x52b8c3=!_0x3b5f98&&!_0x3579cc?_0x2696a5:undefined,_0x1bfa5d=_0x490942||_0x4cef0c||_0x3f7d2d||_0x52b8c3||_0x3a7e7b||undefined,_0x539b0e=_0x2e3791?stringConfigValue(_0x2bfe0c['env']):undefined,_0x15d426=_0x482f0a?stringConfigValue(_0x1c127b['env']):undefined,_0x4e7223=_0x4dcb7f[_0x72bba8(0x1ca)]||_0x23fc80?.['env']||_0x539b0e||_0x3741ad('ENV')||_0x15d426||_0x246940[_0x72bba8(0x1ca)]||DEFAULT_CONFIG_VALUES[_0x72bba8(0x1ca)],_0x3b33c0=_0x23fc80?.[_0x72bba8(0x1e1)]||_0x246940[_0x72bba8(0x1e1)]||DEFAULT_CONFIG_VALUES[_0x72bba8(0x1e1)],_0xbe3998=_0x3741ad('COOKIE')||_0x23fc80?.[_0x72bba8(0x1cb)]||_0x246940['cookie']||undefined,_0x40faf1=_0x3741ad('ACCESS_KEY')||_0x23fc80?.[_0x72bba8(0x1d2)]||_0x246940[_0x72bba8(0x1d2)]||undefined,_0x3e3a81=_0x4dcb7f[_0x72bba8(0x1e7)]||_0x3741ad('FORMAT')||_0x23fc80?.[_0x72bba8(0x1e7)]||_0x246940['format'],_0x30be54=normalizeLegacyOutputFormat(_0x3e3a81),_0x3af8f2=_0x3741ad('PAGE_SIZE')||_0x23fc80?.[_0x72bba8(0x1de)]||_0x246940['pageSize'],_0x8da2d5=_0x3af8f2?Number(_0x3af8f2)||undefined:undefined,_0x288a72=_0x354701?[_0x354701[_0x72bba8(0x1d9)]['riskLevel'],_0x354701[_0x72bba8(0x1d7)][_0x72bba8(0x1c5)]]:[_0x246940[_0x72bba8(0x1c5)]],_0x2fc131=resolveRiskCeiling(..._0x288a72,_0x23fc80?.[_0x72bba8(0x1c5)]),_0x45ea1d=resolveRiskCeiling(_0x2fc131,_0x3741ad('RISK_LEVEL')),_0x2b0430=_0x3741ad(_0x72bba8(0x1e0)),_0x49cc5c=_0x2b0430==='1'||_0x2b0430===_0x72bba8(0x1cc),_0x504a47=_0x23fc80?.[_0x72bba8(0x1e4)]||_0x246940['apiDir']||DEFAULT_CONFIG_VALUES[_0x72bba8(0x1e4)],_0x4fd1d5=isDaily(normalizeEnv(String(_0x4e7223)))?_0x72bba8(0x1d4):_0x72bba8(0x1d8);return{'appCode':typeof _0x1bfa5d==='string'&&_0x1bfa5d[_0x72bba8(0x1c7)]()?_0x1bfa5d['trim']():undefined,'env':_0x4fd1d5,'locale':_0x3b33c0,'cookie':_0xbe3998,'accessKey':_0x40faf1,'format':_0x30be54,'pageSize':_0x8da2d5,'riskLevel':_0x45ea1d,'verbose':_0x49cc5c,'apiDir':_0x504a47,'apps':_0x5a7fe3,'defaultApp':_0x3d2967,'currentApp':_0x26576b?_0x16fd33:undefined,'explicitAppName':_0x21ea7e};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x409b49,_0x54fd6a){const _0x2a7b36=a226_0x4d69,_0x36886b=_0x409b49();while(!![]){try{const _0x4f9c2e=-parseInt(_0x2a7b36(0xc4))/0x1*(parseInt(_0x2a7b36(0xbf))/0x2)+-parseInt(_0x2a7b36(0xc5))/0x3+-parseInt(_0x2a7b36(0xc6))/0x4*(parseInt(_0x2a7b36(0xc3))/0x5)+-parseInt(_0x2a7b36(0xbb))/0x6*(-parseInt(_0x2a7b36(0xb9))/0x7)+parseInt(_0x2a7b36(0xba))/0x8+-parseInt(_0x2a7b36(0xbd))/0x9*(parseInt(_0x2a7b36(0xbc))/0xa)+-parseInt(_0x2a7b36(0xc1))/0xb*(-parseInt(_0x2a7b36(0xc0))/0xc);if(_0x4f9c2e===_0x54fd6a)break;else _0x36886b['push'](_0x36886b['shift']());}catch(_0x2bcda6){_0x36886b['push'](_0x36886b['shift']());}}}(a226_0x32ea,0x42944));function a226_0x4d69(_0x34c167,_0x5ed29d){_0x34c167=_0x34c167-0xb9;const _0x32ea24=a226_0x32ea();let _0x4d699f=_0x32ea24[_0x34c167];return _0x4d699f;}import{getIsSessionValid}from'../auth/is-session-valid.js';function a226_0x32ea(){const _0x363e70=['404047KuyMkj','2722528SOmpXA','48XTOCYw','73380tiDmWw','657tZbfZh','authRequired','2136TiGUOP','5156388ZUJPqg','11NLOphi','cookie','5evRRRz','101KERFrP','750888bPTEpx','260948mwhgJv'];a226_0x32ea=function(){return _0x363e70;};return a226_0x32ea();}import{CliErrors}from'../errors.js';export async function buildAuth(_0x798748){const _0x1833b8=a226_0x4d69,{getCookie:_0x997f4d}=await import('../auth/get-cookie.js'),_0x46651f=_0x798748[_0x1833b8(0xc2)]||_0x997f4d(),_0x2257bd=_0x46651f?await getIsSessionValid():![];return{'cookie':_0x46651f,'isLoggedIn':_0x2257bd,async 'getOrLogin'(){const _0xb5d7c7=_0x1833b8;if(_0x46651f&&_0x2257bd)return _0x46651f;throw CliErrors[_0xb5d7c7(0xbe)]();}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a227_0x43a38a=a227_0x4c6e;(function(_0x45db5,_0x55de86){const _0x11d21f=a227_0x4c6e,_0x167b75=_0x45db5();while(!![]){try{const _0x55c81c=parseInt(_0x11d21f(0x1dd))/0x1+parseInt(_0x11d21f(0x1e8))/0x2*(parseInt(_0x11d21f(0x1f2))/0x3)+parseInt(_0x11d21f(0x1c6))/0x4+parseInt(_0x11d21f(0x1d8))/0x5*(-parseInt(_0x11d21f(0x1e1))/0x6)+-parseInt(_0x11d21f(0x1db))/0x7*(parseInt(_0x11d21f(0x1ce))/0x8)+parseInt(_0x11d21f(0x1be))/0x9+-parseInt(_0x11d21f(0x1f0))/0xa*(-parseInt(_0x11d21f(0x1e7))/0xb);if(_0x55c81c===_0x55de86)break;else _0x167b75['push'](_0x167b75['shift']());}catch(_0x52b456){_0x167b75['push'](_0x167b75['shift']());}}}(a227_0x7104,0x5207d));import{existsSync,mkdirSync,readFileSync,renameSync,unlinkSync,writeFileSync}from'node:fs';import{dirname,parse,resolve}from'node:path';import{homedir}from'node:os';function a227_0x7104(){const _0x36106f=['114hvzuMT','trim','missing','object','get','message','62007pYpAwD','2llJlIH','format','stringify','empty','\x20config\x20file\x20ignored\x20(invalid\x20JSON\x20or\x20unreadable):\x20','pageSize','set','certificateDomain','110xRHBpo','warn','290277RJTVSV','apiDir','cwd','2839995YfdsrA','riskLevel','status','\x0a\x20\x20','inherit','length','string','utf8','1876996mXThBl','appcode','localDomain','runtimeDomain','silent','appDomain','locale','accessKey','8NCWkad','env','keys','error','region','projectPath','data','skillDomain','apps','app','164765ccluxn','cookie','defaultApp','528185bEHKfq','kbDomain','93989WbIRqi','userDomain','kbSearchDomain','Project'];a227_0x7104=function(){return _0x36106f;};return a227_0x7104();}import{CLI_BIN_NAME}from'../constant/cli.js';export const NEW_CONFIG_NAME='.rabetbase.json';export const CONFIG_NAMES=[NEW_CONFIG_NAME];const normalizedWriteCache=new Map();export function resolveConfigPath(_0x518350){for(const _0x14b476 of CONFIG_NAMES){const _0x5989e9=resolve(_0x518350,_0x14b476);if(existsSync(_0x5989e9))return _0x5989e9;}return undefined;}export function findProjectRootDirectory(_0x573ff9=process[a227_0x43a38a(0x1f4)]()){let _0x43e013=resolve(_0x573ff9);const {root:_0x3884c3}=parse(_0x43e013),_0x584059=homedir();while(!![]){if(resolveConfigPath(_0x43e013)){if(_0x43e013===_0x584059)break;return _0x43e013;}if(_0x43e013===_0x3884c3||_0x43e013===_0x584059)break;const _0x26b56f=dirname(_0x43e013);if(_0x26b56f===_0x43e013)break;_0x43e013=_0x26b56f;}return resolve(_0x573ff9);}export function getProjectConfigPath(){const _0x743602=a227_0x43a38a;return resolveConfigPath(process[_0x743602(0x1f4)]());}export function getGlobalConfigPath(){return resolveConfigPath(homedir());}export function isInProject(){return!!getProjectConfigPath();}export function inspectCliConfigJsonFile(_0x338e44){const _0x455ef1=a227_0x43a38a;if(!existsSync(_0x338e44))return{'status':'missing'};try{const _0x33ef79=readFileSync(_0x338e44,{'encoding':'utf8'});if(!_0x33ef79?.[_0x455ef1(0x1e2)]())return{'status':_0x455ef1(0x1eb)};const _0x43c38a=JSON['parse'](_0x33ef79);return{'status':'ok','data':_0x43c38a};}catch(_0x356fa3){return{'status':_0x455ef1(0x1d1),'message':_0x356fa3 instanceof Error?_0x356fa3[_0x455ef1(0x1e6)]:String(_0x356fa3)};}}function parseCliConfigJsonFile(_0x40c708,_0x214f8d,_0x1bac82){const _0xed66ab=a227_0x43a38a,_0x567283=inspectCliConfigJsonFile(_0x40c708);if(_0x567283[_0xed66ab(0x1c0)]===_0xed66ab(0x1e3)||_0x567283[_0xed66ab(0x1c0)]===_0xed66ab(0x1eb))return{};if(_0x567283[_0xed66ab(0x1c0)]==='ok')return _0x567283[_0xed66ab(0x1d4)];return _0x214f8d===_0xed66ab(0x1f1)&&_0x1bac82&&console[_0xed66ab(0x1d1)](CLI_BIN_NAME+':\x20'+_0x1bac82+_0xed66ab(0x1ec)+_0x40c708+_0xed66ab(0x1c1)+_0x567283['message']),{};}function normalizeLegacyConfigShape(_0x5c7996){const _0xd9faa4=a227_0x43a38a;if(!_0x5c7996||typeof _0x5c7996!==_0xd9faa4(0x1e4))return{'config':{},'migrated':![]};const _0x40a6b4={..._0x5c7996},_0x3b626f=_0x40a6b4[_0xd9faa4(0x1d6)]&&typeof _0x40a6b4[_0xd9faa4(0x1d6)]==='object'?{..._0x40a6b4[_0xd9faa4(0x1d6)]}:{},_0x385bf8=Object[_0xd9faa4(0x1d0)](_0x3b626f)[_0xd9faa4(0x1c3)],_0x497b23=_0x40a6b4[_0xd9faa4(0x1c7)]||_0x40a6b4[_0xd9faa4(0x1d7)];let _0x54f4b1=![];if(_0x497b23&&_0x385bf8===0x0){const _0xeacdba=typeof _0x40a6b4[_0xd9faa4(0x1da)]===_0xd9faa4(0x1c4)&&_0x40a6b4['defaultApp'][_0xd9faa4(0x1e2)]()?_0x40a6b4[_0xd9faa4(0x1da)]:String(_0x497b23)[_0xd9faa4(0x1e2)]();_0x3b626f[_0xeacdba]={'appcode':String(_0x497b23)[_0xd9faa4(0x1e2)](),..._0x40a6b4[_0xd9faa4(0x1cf)]!=null?{'env':_0x40a6b4[_0xd9faa4(0x1cf)]}:{},..._0x40a6b4[_0xd9faa4(0x1f3)]!=null?{'apiDir':_0x40a6b4[_0xd9faa4(0x1f3)]}:{},..._0x40a6b4[_0xd9faa4(0x1d9)]!=null?{'cookie':_0x40a6b4[_0xd9faa4(0x1d9)]}:{},..._0x40a6b4['accessKey']!=null?{'accessKey':_0x40a6b4[_0xd9faa4(0x1cd)]}:{},..._0x40a6b4[_0xd9faa4(0x1e9)]!=null?{'format':_0x40a6b4[_0xd9faa4(0x1e9)]}:{},..._0x40a6b4[_0xd9faa4(0x1ed)]!=null?{'pageSize':_0x40a6b4[_0xd9faa4(0x1ed)]}:{},..._0x40a6b4['riskLevel']!=null?{'riskLevel':_0x40a6b4['riskLevel']}:{},..._0x40a6b4[_0xd9faa4(0x1cc)]!=null?{'locale':_0x40a6b4['locale']}:{}},_0x40a6b4[_0xd9faa4(0x1d6)]=_0x3b626f,delete _0x40a6b4[_0xd9faa4(0x1da)],_0x54f4b1=!![];}return(_0xd9faa4(0x1c7)in _0x40a6b4||_0xd9faa4(0x1d7)in _0x40a6b4)&&(delete _0x40a6b4[_0xd9faa4(0x1c7)],delete _0x40a6b4[_0xd9faa4(0x1d7)],_0x54f4b1=!![]),{'config':_0x40a6b4,'migrated':_0x54f4b1};}function writeNormalizedConfigIfNeeded(_0x34b2b8,_0x525654){const _0xd710b1=a227_0x43a38a,_0x363d4e=JSON[_0xd710b1(0x1ea)](_0x525654,null,0x2)+'\x0a';if(normalizedWriteCache[_0xd710b1(0x1e5)](_0x34b2b8)===_0x363d4e)return;writeConfigFile(_0x34b2b8,_0x525654),normalizedWriteCache[_0xd710b1(0x1ee)](_0x34b2b8,_0x363d4e);}function parseAndNormalizeConfig(_0x536124,_0x150cc2,_0x12354e){const _0x5155d7=parseCliConfigJsonFile(_0x536124,_0x150cc2,_0x12354e),_0x3d5725=normalizeLegacyConfigShape(_0x5155d7);if(_0x3d5725['migrated'])try{writeNormalizedConfigIfNeeded(_0x536124,_0x3d5725['config']);}catch{}return _0x3d5725['config'];}export function loadRawConfigLayers(_0x43ab7f){const _0x4ecc4e=a227_0x43a38a;let _0x2259d4={},_0x61968f={};const _0x496315=resolveConfigPath(homedir());_0x496315&&(_0x2259d4=parseAndNormalizeConfig(_0x496315,'warn','Global'));const _0x11ed0d=_0x43ab7f??findProjectRootDirectory(),_0x29799d=resolveConfigPath(_0x11ed0d);return _0x29799d&&(_0x61968f=parseAndNormalizeConfig(_0x29799d,_0x4ecc4e(0x1f1),_0x4ecc4e(0x1e0))),{'globalPath':_0x496315,'projectPath':_0x29799d,'globalConfig':_0x2259d4,'projectConfig':_0x61968f};}const INHERIT_WHITELIST=[a227_0x43a38a(0x1d9),'accessKey',a227_0x43a38a(0x1cc),a227_0x43a38a(0x1e9),a227_0x43a38a(0x1bf),a227_0x43a38a(0x1ed),a227_0x43a38a(0x1d2),a227_0x43a38a(0x1de),'apiDomain',a227_0x43a38a(0x1c9),a227_0x43a38a(0x1d5),a227_0x43a38a(0x1dc),a227_0x43a38a(0x1df),a227_0x43a38a(0x1cb),a227_0x43a38a(0x1c8),a227_0x43a38a(0x1ef)];export function mergeRawConfigLayers(_0x55e57c){const _0x3c8bba=a227_0x43a38a,{globalConfig:_0x546910,projectConfig:_0x25d65e}=_0x55e57c,_0x1d94d6=!!_0x55e57c[_0x3c8bba(0x1d3)]||Object[_0x3c8bba(0x1d0)](_0x25d65e)['length']>0x0;if(!_0x1d94d6)return mergeGlobalOnly(_0x546910);return mergeProjectFirst(_0x546910,_0x25d65e);}function mergeGlobalOnly(_0x254e94){const _0x30f215=a227_0x43a38a,_0x1ed853={..._0x254e94};delete _0x1ed853[_0x30f215(0x1c2)];const _0x284d1e=_0x254e94['apps']&&typeof _0x254e94[_0x30f215(0x1d6)]===_0x30f215(0x1e4)?_0x254e94[_0x30f215(0x1d6)]:{};if(Object[_0x30f215(0x1d0)](_0x284d1e)[_0x30f215(0x1c3)]>0x0)_0x1ed853[_0x30f215(0x1d6)]=_0x284d1e;if(_0x254e94[_0x30f215(0x1da)])_0x1ed853[_0x30f215(0x1da)]=_0x254e94['defaultApp'];return _0x1ed853;}function mergeProjectFirst(_0x219d7e,_0x2df89f){const _0x139e4c=a227_0x43a38a,_0x850f88={..._0x2df89f};delete _0x850f88[_0x139e4c(0x1c2)];for(const _0x5f2468 of INHERIT_WHITELIST){!(_0x5f2468 in _0x850f88)&&_0x5f2468 in _0x219d7e&&(_0x850f88[_0x5f2468]=_0x219d7e[_0x5f2468]);}const _0x4252fe=_0x2df89f['apps']&&typeof _0x2df89f[_0x139e4c(0x1d6)]===_0x139e4c(0x1e4)?_0x2df89f[_0x139e4c(0x1d6)]:{};return Object['keys'](_0x4252fe)[_0x139e4c(0x1c3)]>0x0?_0x850f88[_0x139e4c(0x1d6)]=_0x4252fe:delete _0x850f88[_0x139e4c(0x1d6)],_0x139e4c(0x1da)in _0x2df89f?_0x850f88[_0x139e4c(0x1da)]=_0x2df89f[_0x139e4c(0x1da)]:delete _0x850f88['defaultApp'],_0x850f88;}export function readRawConfigWithLayers(_0x4e16d5){const _0x4c00a2=loadRawConfigLayers(_0x4e16d5);return{'config':mergeRawConfigLayers(_0x4c00a2),'layers':_0x4c00a2};}export function readRawConfig(_0xa4d6a9){return mergeRawConfigLayers(loadRawConfigLayers(_0xa4d6a9));}export function readConfigFile(_0x4d2312){const _0x4763b1=a227_0x43a38a;return parseAndNormalizeConfig(_0x4d2312,_0x4763b1(0x1ca));}function a227_0x4c6e(_0x25bc94,_0x2423ac){_0x25bc94=_0x25bc94-0x1be;const _0x7104d9=a227_0x7104();let _0x4c6e2c=_0x7104d9[_0x25bc94];return _0x4c6e2c;}export function writeConfigFile(_0xbab3d1,_0x2eeeed){const _0x1d269a=a227_0x43a38a,_0xb11819=dirname(_0xbab3d1);!existsSync(_0xb11819)&&mkdirSync(_0xb11819,{'recursive':!![]});const _0x5f5566=_0xbab3d1+'.tmp';try{writeFileSync(_0x5f5566,JSON[_0x1d269a(0x1ea)](_0x2eeeed,null,0x2)+'\x0a',{'encoding':_0x1d269a(0x1c5),'mode':0x180}),renameSync(_0x5f5566,_0xbab3d1);}catch(_0x4d64a4){try{unlinkSync(_0x5f5566);}catch{}throw _0x4d64a4;}}export function resolveWriteConfigPath(_0x41d6a6){const _0xc1607f=a227_0x43a38a,_0x339964=_0x41d6a6==='project'?process[_0xc1607f(0x1f4)]():homedir(),_0x5b4d6c=resolveConfigPath(_0x339964);return _0x5b4d6c??resolve(_0x339964,NEW_CONFIG_NAME);}
|
package/lib/context.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a228_0x43cce3=a228_0xbb8b;(function(_0x2c024e,_0x2ec505){const _0x4f3d6c=a228_0xbb8b,_0x19eb8a=_0x2c024e();while(!![]){try{const _0x495c60=parseInt(_0x4f3d6c(0x165))/0x1*(-parseInt(_0x4f3d6c(0x168))/0x2)+parseInt(_0x4f3d6c(0x155))/0x3*(parseInt(_0x4f3d6c(0x150))/0x4)+parseInt(_0x4f3d6c(0x161))/0x5+-parseInt(_0x4f3d6c(0x13f))/0x6*(-parseInt(_0x4f3d6c(0x13c))/0x7)+parseInt(_0x4f3d6c(0x154))/0x8+-parseInt(_0x4f3d6c(0x142))/0x9*(-parseInt(_0x4f3d6c(0x152))/0xa)+-parseInt(_0x4f3d6c(0x15b))/0xb;if(_0x495c60===_0x2ec505)break;else _0x19eb8a['push'](_0x19eb8a['shift']());}catch(_0x4540f4){_0x19eb8a['push'](_0x19eb8a['shift']());}}}(a228_0x5ab7,0x70546));import{resolve}from'node:path';import{CLI_BIN_NAME}from'./constant/cli.js';import{buildAuth}from'./context/auth-resolver.js';import{resolveAppConfig}from'./context/app-resolver.js';import{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile}from'./context/config-loader.js';import{normalizeLovrabetRegion}from'./constant/region.js';import{logger}from'./utils/logger.js';export{CONFIG_NAMES,NEW_CONFIG_NAME,findProjectRootDirectory,getGlobalConfigPath,getProjectConfigPath,inspectCliConfigJsonFile,isInProject,loadRawConfigLayers,mergeRawConfigLayers,readConfigFile,readRawConfig,readRawConfigWithLayers,resolveConfigPath,resolveWriteConfigPath,writeConfigFile};function env(_0x7a83f1){return process.env[`RABETBASE_${_0x7a83f1}`]||process.env[`LOVRABET_${_0x7a83f1}`]||undefined;}function a228_0xbb8b(_0x55532,_0x47b156){_0x55532=_0x55532-0x134;const _0x5ab70e=a228_0x5ab7();let _0xbb8b92=_0x5ab70e[_0x55532];return _0xbb8b92;}function optionalString(_0x43f2a2){const _0x229541=a228_0xbb8b;return typeof _0x43f2a2===_0x229541(0x14c)&&_0x43f2a2[_0x229541(0x13a)]()?_0x43f2a2[_0x229541(0x13a)]():undefined;}export async function createContext(_0x295ff9){const _0x479e71=a228_0xbb8b,{config:_0x3fcb29,layers:_0x1152ee}=readRawConfigWithLayers(),_0x470e72=buildConfig(_0x3fcb29,_0x295ff9,_0x1152ee);await initGlobalEnvironment(_0x470e72);const {getUserDomain:_0x545e9e,getApiDomain:_0x90a86e}=await import(_0x479e71(0x15e)),_0x36cc09={'apiDomain':_0x90a86e(),'userDomain':_0x545e9e()},_0x5682f1=await buildAuth(_0x470e72);logger[_0x479e71(0x14f)](process['cwd']());const _0x93fac1=(CLI_BIN_NAME+'\x20'+process['argv'][_0x479e71(0x134)](0x2)[_0x479e71(0x164)]('\x20'))[_0x479e71(0x13a)]();logger[_0x479e71(0x167)](_0x93fac1);const {isNonInteractive:_0x3bfd03}=await import('./utils/is-non-interactive.js'),_0x946ca6=_0x3bfd03(_0x295ff9);return{'config':_0x470e72,'auth':_0x5682f1,'logger':logger,'env':_0x36cc09,'nonInteractive':_0x946ca6};}export function buildConfigFromFlags(_0x91a3f){const {config:_0x297eea,layers:_0x4d4d9e}=readRawConfigWithLayers();return buildConfig(_0x297eea,_0x91a3f,_0x4d4d9e);}export async function initGlobalEnvironment(_0x42e94d){const _0x1dd932=a228_0xbb8b,{initEnv:_0x26c103}=await import(_0x1dd932(0x14e));_0x26c103(_0x42e94d[_0x1dd932(0x157)]);const {initDomains:_0xc9b3d1}=await import(_0x1dd932(0x15e));_0xc9b3d1({'region':normalizeLovrabetRegion(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x169)]),'apiDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x14a)]),'userDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x15c)]),'runtimeDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x159)]),'skillDomain':optionalString(_0x42e94d['raw']?.['skillDomain'])||optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x146)])||optionalString(_0x42e94d['raw']?.[_0x1dd932(0x158)])||optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x148)]),'kbDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.['kbDomain'])||optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x158)])||optionalString(_0x42e94d['raw']?.['platformDomain']),'kbSearchDomain':optionalString(_0x42e94d['raw']?.[_0x1dd932(0x144)]),'appDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x151)]),'localDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x160)]),'certificateDomain':optionalString(_0x42e94d[_0x1dd932(0x166)]?.[_0x1dd932(0x153)])});}export function getConfigAppCode(_0x59a7a1){const _0x129fa3=a228_0xbb8b,_0x1742f9=readRawConfig(_0x59a7a1);if(_0x1742f9[_0x129fa3(0x145)]&&typeof _0x1742f9['apps']===_0x129fa3(0x15d)){const _0x4448c4=_0x1742f9[_0x129fa3(0x13e)];if(_0x4448c4)return _0x1742f9[_0x129fa3(0x145)][_0x4448c4]?.[_0x129fa3(0x163)]?String(_0x1742f9['apps'][_0x4448c4][_0x129fa3(0x163)])['trim']():undefined;const _0x2f5f79=Object[_0x129fa3(0x15f)](_0x1742f9[_0x129fa3(0x145)]);if(_0x2f5f79[_0x129fa3(0x137)]===0x1&&_0x2f5f79[0x0]?.[_0x129fa3(0x163)])return String(_0x2f5f79[0x0]['appcode'])[_0x129fa3(0x13a)]();}const _0x99d7a4=_0x1742f9[_0x129fa3(0x163)]||_0x1742f9[_0x129fa3(0x156)];if(typeof _0x99d7a4!=='string'||_0x99d7a4[_0x129fa3(0x13a)]()==='')return undefined;return _0x99d7a4[_0x129fa3(0x13a)]();}export function getMultiAppConfigs(_0x24f819=a228_0x43cce3(0x162),_0x85c75e){const _0x2ad20a=a228_0x43cce3,_0xe6eafb=loadRawConfigLayers(_0x85c75e);let _0x4dca78,_0x126861;if(_0x24f819==='merged'){const _0x5680d8=_0xe6eafb['globalConfig'][_0x2ad20a(0x145)]&&typeof _0xe6eafb['globalConfig'][_0x2ad20a(0x145)]===_0x2ad20a(0x15d)?_0xe6eafb[_0x2ad20a(0x136)][_0x2ad20a(0x145)]:{},_0x52b2a4=_0xe6eafb[_0x2ad20a(0x149)][_0x2ad20a(0x145)]&&typeof _0xe6eafb[_0x2ad20a(0x149)][_0x2ad20a(0x145)]==='object'?_0xe6eafb['projectConfig'][_0x2ad20a(0x145)]:{};_0x4dca78={..._0x5680d8,..._0x52b2a4};const _0x1d208f=readRawConfig(_0x85c75e);_0x126861=_0x1d208f[_0x2ad20a(0x13e)];}else _0x4dca78=_0xe6eafb[_0x2ad20a(0x149)][_0x2ad20a(0x145)],_0x126861=_0xe6eafb[_0x2ad20a(0x149)]['defaultApp'];!_0x126861&&_0x4dca78&&typeof _0x4dca78===_0x2ad20a(0x15d)&&Object['keys'](_0x4dca78)['length']===0x1&&(_0x126861=Object['keys'](_0x4dca78)[0x0]);if(!_0x4dca78||typeof _0x4dca78!==_0x2ad20a(0x15d)||Object[_0x2ad20a(0x13b)](_0x4dca78)['length']===0x0)return null;return Object[_0x2ad20a(0x139)](_0x4dca78)['map'](([_0x9f5f4f,_0x18fa94])=>({'name':_0x9f5f4f,'appcode':_0x18fa94?.['appcode']||'','isDefault':_0x9f5f4f===_0x126861,'env':_0x18fa94?.[_0x2ad20a(0x157)],'apiDir':_0x18fa94?.[_0x2ad20a(0x13d)],'cookie':_0x18fa94?.[_0x2ad20a(0x143)]||undefined}))[_0x2ad20a(0x135)](_0xab69c0=>_0xab69c0[_0x2ad20a(0x163)]);}function a228_0x5ab7(){const _0x569126=['app','env','agentDomain','runtimeDomain','-api.ts','4485162wYMfLR','userDomain','object','./constant/domain.js','values','localDomain','728845uVKmdv','project','appcode','join','807541hVMOci','raw','setRawCommand','2XQAzeh','region','slice','filter','globalConfig','length','replace','entries','trim','keys','2364187igneYg','apiDir','defaultApp','6Ztnahy','template_base_url','find','9SnkcoV','cookie','kbSearchDomain','apps','skillHubDomain','api.ts','platformDomain','projectConfig','apiDomain','cwd','string','https://g.lovrabet.com/dist/lovrabet-skill','./constant/env.js','setLogPath','788WVcHsR','appDomain','2759870INYrnB','certificateDomain','6072608LWSUSx','2388vEiWNA'];a228_0x5ab7=function(){return _0x569126;};return a228_0x5ab7();}export function getTemplateBaseUrl(_0x519a57){const _0x5ef20f=a228_0x43cce3,_0x251326=readRawConfig(_0x519a57);if(_0x251326[_0x5ef20f(0x140)]&&typeof _0x251326[_0x5ef20f(0x140)]==='string')return _0x251326['template_base_url'][_0x5ef20f(0x138)](/\/$/,'');return _0x5ef20f(0x14d);}function buildConfig(_0x30e506,_0x8e79e4,_0x5d4a97){return{...resolveAppConfig({'raw':_0x30e506,'flags':_0x8e79e4,'layers':_0x5d4a97,'readEnv':env}),'raw':_0x30e506};}export function resolveApiFilePath(_0x4463f9,_0x8cf050){const _0x35e4fc=a228_0x43cce3,_0x994c90=resolve(process[_0x35e4fc(0x14b)](),_0x4463f9),_0x35e38c=resolve(_0x994c90,_0x35e4fc(0x147));if(!_0x8cf050)return _0x35e38c;const _0x3e0ce5=readRawConfig(),_0x5e786b=_0x3e0ce5[_0x35e4fc(0x145)]&&typeof _0x3e0ce5[_0x35e4fc(0x145)]==='object'?_0x3e0ce5[_0x35e4fc(0x145)]:{},_0x2e2b72=Object['entries'](_0x5e786b)[_0x35e4fc(0x141)](([,_0x363a5e])=>_0x363a5e?.[_0x35e4fc(0x163)]===_0x8cf050);if(!_0x2e2b72)return _0x35e38c;const [_0x4f2a5c,_0x2f0017]=_0x2e2b72,_0x52683e=typeof _0x3e0ce5[_0x35e4fc(0x13e)]===_0x35e4fc(0x14c)?_0x3e0ce5[_0x35e4fc(0x13e)]:undefined;if(_0x2f0017?.['apiDir'])return _0x35e38c;if(_0x52683e&&_0x4f2a5c!==_0x52683e)return resolve(_0x994c90,_0x4f2a5c+_0x35e4fc(0x15a));return _0x35e38c;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x58ab18,_0x2cde06){const _0x198971=a229_0x234b,_0xe7fd71=_0x58ab18();while(!![]){try{const _0x3dee8c=-parseInt(_0x198971(0x87))/0x1*(-parseInt(_0x198971(0x80))/0x2)+-parseInt(_0x198971(0x7d))/0x3+-parseInt(_0x198971(0x7e))/0x4+parseInt(_0x198971(0x7b))/0x5+-parseInt(_0x198971(0x84))/0x6+parseInt(_0x198971(0x85))/0x7+parseInt(_0x198971(0x7f))/0x8;if(_0x3dee8c===_0x2cde06)break;else _0xe7fd71['push'](_0xe7fd71['shift']());}catch(_0x4bbe99){_0xe7fd71['push'](_0xe7fd71['shift']());}}}(a229_0x8b9c,0xec27e));import{readFileSync,existsSync}from'node:fs';import{resolve}from'node:path';function a229_0x8b9c(){const _0x125c56=['6401605eeGWfj','datasetCode','21211FMJqSk','exec','has','push','alias','6011855wkkRDG','api.ts','2974311rRUeUw','6513188TFyeCF','4248240zmvlcd','134hOqTVU','get','set','cwd','2892150bzmZQT'];a229_0x8b9c=function(){return _0x125c56;};return a229_0x8b9c();}const cache=new Map();function a229_0x234b(_0x4de6c8,_0x3eea93){_0x4de6c8=_0x4de6c8-0x7b;const _0x8b9c27=a229_0x8b9c();let _0x234b86=_0x8b9c27[_0x4de6c8];return _0x234b86;}function parseApiFile(_0x27caf5){const _0xb2c001=a229_0x234b,_0x558dc8=[],_0x50b847=/\{\s*datasetCode:\s*"([^"]+)"\s*,\s*tableName:\s*"([^"]+)"\s*,\s*name:\s*"([^"]*?)"\s*,\s*alias:\s*"([^"]+)"\s*,?\s*\}/g;let _0x358337;while((_0x358337=_0x50b847[_0xb2c001(0x88)](_0x27caf5))!==null){_0x558dc8[_0xb2c001(0x8a)]({'datasetCode':_0x358337[0x1],'tableName':_0x358337[0x2],'name':_0x358337[0x3],'alias':_0x358337[0x4]});}return _0x558dc8;}export function loadAliasMap(_0x3358a1,_0x250993,_0x29aa5d){const _0x10fbc1=a229_0x234b,_0x5d7516=_0x29aa5d??resolve(process[_0x10fbc1(0x83)](),_0x3358a1,_0x10fbc1(0x7c));if(cache[_0x10fbc1(0x89)](_0x5d7516))return cache[_0x10fbc1(0x81)](_0x5d7516);if(!existsSync(_0x5d7516))return cache['set'](_0x5d7516,[]),[];try{const _0x28c79f=readFileSync(_0x5d7516,'utf-8'),_0x573d2d=parseApiFile(_0x28c79f);return cache[_0x10fbc1(0x82)](_0x5d7516,_0x573d2d),_0x573d2d;}catch{return cache[_0x10fbc1(0x82)](_0x5d7516,[]),[];}}export function resolveAlias(_0x356158,_0x152857,_0x18fdf4,_0xbae97b){const _0x23e3a5=a229_0x234b;if(!_0x152857)return undefined;const _0x3db7b7=loadAliasMap(_0x356158,_0x18fdf4,_0xbae97b),_0xef7208=_0x3db7b7['find'](_0x35b44d=>_0x35b44d[_0x23e3a5(0x8b)]===_0x152857);return _0xef7208?.[_0x23e3a5(0x86)];}export function listAliases(_0x592215,_0x2ca18e,_0x1a89f3){return loadAliasMap(_0x592215,_0x2ca18e,_0x1a89f3);}
|
package/lib/core/api-client.d.ts
CHANGED
|
@@ -110,22 +110,6 @@ export declare function updateEnterpriseKnowledgeBase(cookie: string, input: {
|
|
|
110
110
|
content?: string;
|
|
111
111
|
}): Promise<KnowledgeBaseRecord>;
|
|
112
112
|
export declare function deleteEnterpriseKnowledgeBase(cookie: string, id: number): Promise<void>;
|
|
113
|
-
export type CompanyPublicKnowledgeScope = "COMPANY" | "PUBLIC";
|
|
114
|
-
export interface CompanyPublicKnowledgeSearchHit {
|
|
115
|
-
scope: CompanyPublicKnowledgeScope;
|
|
116
|
-
title: string | null;
|
|
117
|
-
docId: string | null;
|
|
118
|
-
score: number;
|
|
119
|
-
weightedScore: number;
|
|
120
|
-
content: string | null;
|
|
121
|
-
jsonPath: string | null;
|
|
122
|
-
jsonData: string | null;
|
|
123
|
-
}
|
|
124
|
-
export declare function searchCompanyPublicKnowledge(cookie: string, input: {
|
|
125
|
-
query: string;
|
|
126
|
-
appCode: string;
|
|
127
|
-
topK?: number;
|
|
128
|
-
}): Promise<CompanyPublicKnowledgeSearchHit[]>;
|
|
129
113
|
/**
|
|
130
114
|
* 获取研发态数据集模型列表。
|
|
131
115
|
*/
|