@lovrabet/rabetbase-cli 2.1.11 → 2.1.12-beta.0
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/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/add.js +1 -1
- package/lib/commands/app/discover.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/remove.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app/use.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-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-selector.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.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/data/filter.js +1 -1
- package/lib/commands/data/getOne.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/data/shared.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/field-update.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/link-create.js +1 -1
- package/lib/commands/dataset/link-delete.js +1 -1
- package/lib/commands/dataset/link-shared.js +1 -1
- package/lib/commands/dataset/link-update.js +1 -1
- package/lib/commands/dataset/links.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.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.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/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/init/index.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/shared/compare-table.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/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/update.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/shared.js +1 -1
- package/lib/commands/page/standard-page-status.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/non-interactive.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/init.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/skill/index.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/save.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/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/risk.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-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/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.js +1 -1
- package/lib/generated/build-info.js +1 -1
- package/lib/help.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.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/copy-directory.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/rules-cdn.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a65_0x4ae242=a65_0x4da0;function a65_0x165d(){const _0x5ef0a3=['POST','\x20and\x20started\x20analysis','create','bool','737990SXHlpk','dburl','No\x20follow-up\x20analysis','password','Database\x20username','Created\x20db\x20link\x20','4236020MelAfm','32YqbIvt','appCode','Check\x20firewall\x20allowlist\x20and\x20connection\x20string\x20format.','237182lfJltU','[redacted]','str','27368YTFrDZ','Host\x20and\x20port:\x20host:port','1626548bXdIPv','string','dbversion','trim','/smartapi/dblink/create','Human-readable\x20description','Invalid\x20--dburl:\x20expected\x20host:port\x20(e.g.\x20db.example.com:3306),\x20got\x20\x22','dbtype','1311254FAPiLA','8.0','27rKwNKi','dbname','Database\x20password','autostart','dbparam','dbdesc','1664448AFWaHh','Create\x20returned\x20no\x20id\x20—\x20check\x20API\x20response','join','Create\x20dblink','333htxYxh','write','username','message'];a65_0x165d=function(){return _0x5ef0a3;};return a65_0x165d();}(function(_0x5f162a,_0x2bf41e){const _0x30a583=a65_0x4da0,_0x3310e6=_0x5f162a();while(!![]){try{const _0x1e98e6=parseInt(_0x30a583(0x186))/0x1+-parseInt(_0x30a583(0x18b))/0x2+parseInt(_0x30a583(0x174))/0x3*(parseInt(_0x30a583(0x189))/0x4)+parseInt(_0x30a583(0x17c))/0x5+-parseInt(_0x30a583(0x170))/0x6+-parseInt(_0x30a583(0x193))/0x7*(parseInt(_0x30a583(0x183))/0x8)+parseInt(_0x30a583(0x195))/0x9*(parseInt(_0x30a583(0x182))/0xa);if(_0x1e98e6===_0x2bf41e)break;else _0x3310e6['push'](_0x3310e6['shift']());}catch(_0x279d18){_0x3310e6['push'](_0x3310e6['shift']());}}}(a65_0x165d,0x8c666));import{createDbLink,startDbAnalysis}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';import{APPCODE_FLAG_OPTIONAL,DB_TYPE_FLAG}from'../../commands/common/flags.js';import{buildDbPageLinks,sanitizeDbLinkForOutput,validateDbUrl}from'../../commands/db/shared.js';import{normalizeEntityWithIdResponse}from'../../utils/entity-with-id.js';function a65_0x4da0(_0x2d8641,_0x20296b){_0x2d8641=_0x2d8641-0x16b;const _0x165d1e=a65_0x165d();let _0x4da047=_0x165d1e[_0x2d8641];return _0x4da047;}export const dbCreate={'service':'db','command':a65_0x4ae242(0x17a),'description':'Create\x20a\x20new\x20database\x20connection\x20(dblink).\x20Optionally\x20auto-start\x20schema\x20analysis\x20after\x20creation','risk':a65_0x4ae242(0x175),'flags':[APPCODE_FLAG_OPTIONAL,{'name':'dbname','type':a65_0x4ae242(0x18c),'required':!![],'description':'Logical\x20database\x20/\x20schema\x20name\x20on\x20the\x20server'},DB_TYPE_FLAG,{'name':a65_0x4ae242(0x18d),'type':'string','description':'Server\x20version\x20string\x20(default:\x208.0\x20when\x20omitted)','default':a65_0x4ae242(0x194)},{'name':a65_0x4ae242(0x17d),'type':a65_0x4ae242(0x18c),'required':!![],'description':a65_0x4ae242(0x18a)},{'name':'username','type':a65_0x4ae242(0x18c),'required':!![],'description':a65_0x4ae242(0x180)},{'name':'password','type':a65_0x4ae242(0x18c),'required':!![],'description':a65_0x4ae242(0x16c)},{'name':'dbparam','type':a65_0x4ae242(0x18c),'description':'Extra\x20JDBC-style\x20connection\x20parameters\x20string'},{'name':'dbdesc','type':a65_0x4ae242(0x18c),'description':a65_0x4ae242(0x190)},{'name':a65_0x4ae242(0x16d),'type':'boolean','description':'After\x20create,\x20start\x20schema\x20analysis','default':![]}],async 'validate'(_0x5ac834){const _0x4623c9=a65_0x4ae242,_0x280a6f=_0x5ac834['str'](_0x4623c9(0x17d))[_0x4623c9(0x18e)]();if(!validateDbUrl(_0x280a6f))throw CliErrors['validation'](_0x4623c9(0x191)+_0x280a6f+'\x22',_0x4623c9(0x185));},async 'dryRun'(_0x4af3b5){const _0x2915bc=a65_0x4ae242,_0x45cbfc={'appCode':_0x4af3b5['appCode'],'dbName':_0x4af3b5[_0x2915bc(0x188)]('dbname'),'dbType':_0x4af3b5[_0x2915bc(0x188)](_0x2915bc(0x192)),'dbVersion':_0x4af3b5[_0x2915bc(0x188)](_0x2915bc(0x18d))||_0x2915bc(0x194),'dbUrl':_0x4af3b5[_0x2915bc(0x188)](_0x2915bc(0x17d))[_0x2915bc(0x18e)](),'username':_0x4af3b5['str'](_0x2915bc(0x176)),'password':_0x2915bc(0x187),..._0x4af3b5[_0x2915bc(0x188)](_0x2915bc(0x16e))?{'dbParam':_0x4af3b5[_0x2915bc(0x188)](_0x2915bc(0x16e))}:{},..._0x4af3b5[_0x2915bc(0x188)](_0x2915bc(0x16f))?{'dbDesc':_0x4af3b5[_0x2915bc(0x188)](_0x2915bc(0x16f))}:{}};return{'method':_0x2915bc(0x178),'url':_0x2915bc(0x18f),'body':_0x45cbfc,'description':[_0x2915bc(0x173),_0x4af3b5[_0x2915bc(0x17b)](_0x2915bc(0x16d))?'Then\x20POST\x20start\x20analysis\x20for\x20returned\x20id':_0x2915bc(0x17e)][_0x2915bc(0x172)]('\x0a')};},async 'execute'(_0x564346){const _0x2d69e5=a65_0x4ae242,_0x1637c2={'appCode':_0x564346[_0x2d69e5(0x184)],'dbName':_0x564346[_0x2d69e5(0x188)](_0x2d69e5(0x16b)),'dbType':_0x564346['str']('dbtype'),'dbVersion':_0x564346['str'](_0x2d69e5(0x18d))||'8.0','dbUrl':_0x564346[_0x2d69e5(0x188)]('dburl')['trim'](),'username':_0x564346[_0x2d69e5(0x188)](_0x2d69e5(0x176)),'password':_0x564346['str'](_0x2d69e5(0x17f)),..._0x564346[_0x2d69e5(0x188)](_0x2d69e5(0x16e))?{'dbParam':_0x564346[_0x2d69e5(0x188)]('dbparam')}:{},..._0x564346['str'](_0x2d69e5(0x16f))?{'dbDesc':_0x564346[_0x2d69e5(0x188)]('dbdesc')}:{}},{id:_0x212942,entity:_0x58998f}=normalizeEntityWithIdResponse(await createDbLink(_0x1637c2));if(!_0x212942)return{'ok':![],'message':_0x2d69e5(0x171),'data':sanitizeDbLinkForOutput(_0x58998f)};let _0x2d165c,_0x16b683;if(_0x564346[_0x2d69e5(0x17b)]('autostart'))try{_0x2d165c=await startDbAnalysis(_0x212942);}catch(_0x35463b){_0x16b683=_0x35463b instanceof Error?_0x35463b[_0x2d69e5(0x177)]:String(_0x35463b);}const _0x59eaa0=buildDbPageLinks(_0x564346[_0x2d69e5(0x184)],_0x212942),_0x4a15d7={'connection':sanitizeDbLinkForOutput(_0x58998f),..._0x59eaa0?{'links':{'databasePage':_0x59eaa0['databasePage']}}:{},..._0x2d165c?{'analysisPlanId':_0x2d165c}:{},..._0x16b683?{'analysisStartWarning':_0x16b683}:{}};let _0xe1829d;return _0x564346[_0x2d69e5(0x17b)](_0x2d69e5(0x16d))?_0x16b683?_0xe1829d=_0x2d69e5(0x181)+_0x212942+';\x20schema\x20analysis\x20failed\x20to\x20start\x20—\x20see\x20data.analysisStartWarning':_0xe1829d=_0x2d69e5(0x181)+_0x212942+_0x2d69e5(0x179):_0xe1829d=_0x2d69e5(0x181)+_0x212942,{'ok':!![],'data':_0x4a15d7,'message':_0xe1829d};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a66_0x50f762=a66_0x212b;(function(_0x233616,_0x13bd2f){const _0x1611ad=a66_0x212b,_0x26649f=_0x233616();while(!![]){try{const _0x1c1d9a=-parseInt(_0x1611ad(0x11d))/0x1+parseInt(_0x1611ad(0x11c))/0x2*(-parseInt(_0x1611ad(0x11a))/0x3)+-parseInt(_0x1611ad(0x11e))/0x4*(parseInt(_0x1611ad(0x121))/0x5)+parseInt(_0x1611ad(0x116))/0x6+-parseInt(_0x1611ad(0x123))/0x7+parseInt(_0x1611ad(0x118))/0x8*(parseInt(_0x1611ad(0x117))/0x9)+parseInt(_0x1611ad(0x11b))/0xa*(parseInt(_0x1611ad(0x122))/0xb);if(_0x1c1d9a===_0x13bd2f)break;else _0x26649f['push'](_0x26649f['shift']());}catch(_0x20b788){_0x26649f['push'](_0x26649f['shift']());}}}(a66_0x9270,0xd2b2d));function a66_0x212b(_0x10abbe,_0x12120f){_0x10abbe=_0x10abbe-0x116;const _0x927001=a66_0x9270();let _0x212b74=_0x927001[_0x10abbe];return _0x212b74;}function a66_0x9270(){const _0x1bf76a=['15CtdrXw','11JYxAGt','6765486LCxxUk','1999368wNFlTH','108fbgMug','159976NCtDuC','high-risk-write','15rlZpcU','49010620FODCZF','687304QIyaLc','1720189wGvTDs','275048tvAWHg','Delete\x20a\x20database\x20connection\x20(dblink)\x20permanently','num'];a66_0x9270=function(){return _0x1bf76a;};return a66_0x9270();}import{deleteDbLink}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';export const dbDelete={'service':'db','command':'delete','description':a66_0x50f762(0x11f),'risk':a66_0x50f762(0x119),'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL],async 'execute'(_0x39094e){const _0x45fd70=a66_0x50f762,_0xd214d4=_0x39094e[_0x45fd70(0x120)]('id');return await deleteDbLink(_0xd214d4),{'ok':!![],'data':{'id':_0xd214d4,'deleted':!![]},'message':'Deleted\x20db\x20link\x20'+_0xd214d4};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x107d63=a67_0x3f3c;(function(_0x1a7b9b,_0x47ae49){const _0x5ba9ba=a67_0x3f3c,_0x5431b4=_0x1a7b9b();while(!![]){try{const _0x31f1bb=parseInt(_0x5ba9ba(0x13e))/0x1*(-parseInt(_0x5ba9ba(0x134))/0x2)+parseInt(_0x5ba9ba(0x133))/0x3*(-parseInt(_0x5ba9ba(0x136))/0x4)+-parseInt(_0x5ba9ba(0x135))/0x5*(-parseInt(_0x5ba9ba(0x139))/0x6)+parseInt(_0x5ba9ba(0x13c))/0x7+parseInt(_0x5ba9ba(0x132))/0x8+-parseInt(_0x5ba9ba(0x131))/0x9+parseInt(_0x5ba9ba(0x138))/0xa;if(_0x31f1bb===_0x47ae49)break;else _0x5431b4['push'](_0x5431b4['shift']());}catch(_0x14f66d){_0x5431b4['push'](_0x5431b4['shift']());}}}(a67_0x135f,0x992b0));function a67_0x135f(){const _0x54c9d4=['dbName','db\x20link\x20','2825781pVMhNv','detail','2302NDnrOk','2243250UyRBHl','5454488xCqABp','879IlMKZR','100ewMULC','195FXZOzg','16980amOlSB','Get\x20one\x20database\x20connection\x20by\x20id\x20(metadata\x20+\x20analysis\x20fields;\x20password\x20redacted)','11209230iNPUWH','4476UzGzxE'];a67_0x135f=function(){return _0x54c9d4;};return a67_0x135f();}import{getDbLinkInfo}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';function a67_0x3f3c(_0x7918f2,_0x26947d){_0x7918f2=_0x7918f2-0x131;const _0x135fde=a67_0x135f();let _0x3f3ce9=_0x135fde[_0x7918f2];return _0x3f3ce9;}import{sanitizeDbLinkForOutput}from'../../commands/db/shared.js';export const dbDetail={'service':'db','command':a67_0x107d63(0x13d),'description':a67_0x107d63(0x137),'risk':'read','requiresAppCode':![],'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL],async 'execute'(_0x506ff2){const _0x10d338=a67_0x107d63,_0x5e9418=_0x506ff2['num']('id'),_0x41a84f=await getDbLinkInfo(_0x5e9418);return{'ok':!![],'data':sanitizeDbLinkForOutput(_0x41a84f),'message':_0x10d338(0x13b)+_0x5e9418+':\x20'+_0x41a84f[_0x10d338(0x13a)]};}};
|
package/lib/commands/db/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x44cb48=a68_0x3497;(function(_0x50993c,_0x22fb8e){const _0x1d277a=a68_0x3497,_0x1d2a17=_0x50993c();while(!![]){try{const _0x3d7400=parseInt(_0x1d277a(0xa5))/0x1*(-parseInt(_0x1d277a(0xb0))/0x2)+-parseInt(_0x1d277a(0xad))/0x3+-parseInt(_0x1d277a(0xaa))/0x4+parseInt(_0x1d277a(0xaf))/0x5+-parseInt(_0x1d277a(0xa6))/0x6+-parseInt(_0x1d277a(0xb1))/0x7+parseInt(_0x1d277a(0xb9))/0x8;if(_0x3d7400===_0x22fb8e)break;else _0x1d2a17['push'](_0x1d2a17['shift']());}catch(_0x507dfa){_0x1d2a17['push'](_0x1d2a17['shift']());}}}(a68_0x2782,0x6528d));function a68_0x3497(_0x46ba03,_0x5313f9){_0x46ba03=_0x46ba03-0xa5;const _0x2782a6=a68_0x2782();let _0x3497ed=_0x2782a6[_0x46ba03];return _0x3497ed;}function a68_0x2782(){const _0x364064=['2906568qxKzhs','string','num','1031736iMbuaR','length','157315ZYpOtK','129126FiMCEG','4741044ruldNv','number','Paged\x20diff\x20between\x20live\x20database\x20schema\x20and\x20last\x20analyzed\x20snapshot\x20(new\x20/\x20deleted\x20/\x20modified\x20tables)','appCode','pagesize','page','Page\x20index\x20(1-based)','table','21060344diBSRX','Filter\x20table\x20name\x20(substring\x20match\x20on\x20server)','4zNerkS','1461354pdMsDh','diff','Page\x20size','str'];a68_0x2782=function(){return _0x364064;};return a68_0x2782();}import{getDbTableDiff}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';export const dbDiff={'service':'db','command':a68_0x44cb48(0xa7),'description':a68_0x44cb48(0xb3),'risk':'read','flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL,{'name':a68_0x44cb48(0xb8),'type':a68_0x44cb48(0xab),'description':a68_0x44cb48(0xba)},{'name':a68_0x44cb48(0xb6),'type':a68_0x44cb48(0xb2),'description':a68_0x44cb48(0xb7),'default':0x1},{'name':a68_0x44cb48(0xb5),'type':a68_0x44cb48(0xb2),'description':a68_0x44cb48(0xa8),'default':0x14}],async 'execute'(_0x2734f2){const _0x457d96=a68_0x44cb48,_0x2b924d=_0x2734f2[_0x457d96(0xac)]('id'),_0x2c07af=_0x2734f2[_0x457d96(0xac)](_0x457d96(0xb6),0x1)||0x1,_0x32af4a=_0x2734f2[_0x457d96(0xac)](_0x457d96(0xb5),0x14)||0x14,_0x2e5b09=_0x2734f2[_0x457d96(0xa9)](_0x457d96(0xb8))||undefined,{totalCount:_0x5e4995,tableList:_0x49aff7}=await getDbTableDiff(_0x2734f2[_0x457d96(0xb4)],_0x2b924d,{'pageIndex':_0x2c07af,'pageSize':_0x32af4a,'tableName':_0x2e5b09});return{'ok':!![],'data':{'dbLinkId':_0x2b924d,'page':_0x2c07af,'pageSize':_0x32af4a,'totalCount':_0x5e4995,'tableList':_0x49aff7},'message':_0x49aff7[_0x457d96(0xae)]+'\x20row(s),\x20total\x20'+_0x5e4995+'\x20(db\x20link\x20'+_0x2b924d+')'};}};
|
package/lib/commands/db/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x58d658,_0x17dbf4){const _0x2c2d1b=a69_0x2491,_0x4437d2=_0x58d658();while(!![]){try{const _0x21a200=parseInt(_0x2c2d1b(0x92))/0x1+-parseInt(_0x2c2d1b(0x8d))/0x2+-parseInt(_0x2c2d1b(0x94))/0x3*(parseInt(_0x2c2d1b(0x93))/0x4)+-parseInt(_0x2c2d1b(0x8f))/0x5+-parseInt(_0x2c2d1b(0x8c))/0x6+-parseInt(_0x2c2d1b(0x91))/0x7+-parseInt(_0x2c2d1b(0x90))/0x8*(-parseInt(_0x2c2d1b(0x8e))/0x9);if(_0x21a200===_0x17dbf4)break;else _0x4437d2['push'](_0x4437d2['shift']());}catch(_0x1c9f82){_0x4437d2['push'](_0x4437d2['shift']());}}}(a69_0x33d2,0xd2086));import{dbList}from'../../commands/db/list.js';import{dbDetail}from'../../commands/db/detail.js';import{dbCreate}from'../../commands/db/create.js';function a69_0x33d2(){const _0x3da965=['684792yTRuaf','1109522fkHpgI','8838243YMOPIH','7648730uoBGQz','32hPPKyS','912282GWxGWP','699877TwDZcO','25352olsbzX','681Wknixh'];a69_0x33d2=function(){return _0x3da965;};return a69_0x33d2();}import{dbUpdate}from'../../commands/db/update.js';import{dbDelete}from'../../commands/db/delete.js';import{dbTest}from'../../commands/db/test.js';import{dbAnalyzeStart}from'../../commands/db/analyze-start.js';import{dbAnalyzeCancel}from'../../commands/db/analyze-cancel.js';import{dbAnalyzeStatus}from'../../commands/db/analyze-status.js';import{dbTables}from'../../commands/db/tables.js';import{dbDiff}from'../../commands/db/diff.js';function a69_0x2491(_0x29edd0,_0x1a8717){_0x29edd0=_0x29edd0-0x8c;const _0x33d2fa=a69_0x33d2();let _0x249147=_0x33d2fa[_0x29edd0];return _0x249147;}export const dbDefinitions=[dbList,dbDetail,dbCreate,dbUpdate,dbDelete,dbTest,dbAnalyzeStart,dbAnalyzeCancel,dbAnalyzeStatus,dbTables,dbDiff];
|
package/lib/commands/db/list.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a70_0x4db7d0=a70_0xac71;(function(_0xffb5b,_0x3d32c2){const _0x57c168=a70_0xac71,_0x1a07fe=_0xffb5b();while(!![]){try{const _0x12c002=parseInt(_0x57c168(0x1b0))/0x1*(parseInt(_0x57c168(0x1b2))/0x2)+parseInt(_0x57c168(0x1a5))/0x3+parseInt(_0x57c168(0x1a8))/0x4+parseInt(_0x57c168(0x1ae))/0x5+-parseInt(_0x57c168(0x1ac))/0x6*(-parseInt(_0x57c168(0x1a7))/0x7)+parseInt(_0x57c168(0x1b3))/0x8+parseInt(_0x57c168(0x1aa))/0x9*(-parseInt(_0x57c168(0x1a9))/0xa);if(_0x12c002===_0x3d32c2)break;else _0x1a07fe['push'](_0x1a07fe['shift']());}catch(_0x22f94d){_0x1a07fe['push'](_0x1a07fe['shift']());}}}(a70_0x4ffb,0x4a97c));function a70_0x4ffb(){const _0x24182c=['1319790LMuyWY','number','60626UrspAs','Page\x20size','4SKIoHI','4813512TqNRKZ','pagesize','appCode','read','List\x20database\x20connections\x20(dblinks)\x20for\x20the\x20current\x20app\x20with\x20analysis\x20status\x20—\x20for\x20AI\x20to\x20pick\x20ids\x20before\x20db\x20detail\x20/\x20analyze\x20/\x20tables','num','Server\x20omitted\x20paging\x20metadata;\x20totalCount\x20is\x20unknown\x20—\x20rowsOnPage\x20is\x20this\x20page\x20only','194301UkITnq','Found\x20','730569eRCNno','1697368eSJBQq','256120aNNUFi','558wRKTfE','length','24NTUWar','page'];a70_0x4ffb=function(){return _0x24182c;};return a70_0x4ffb();}import{listDbLinks}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';function a70_0xac71(_0x3341cd,_0x1fb95a){_0x3341cd=_0x3341cd-0x19f;const _0x4ffb78=a70_0x4ffb();let _0xac7141=_0x4ffb78[_0x3341cd];return _0xac7141;}import{sanitizeDbLinkList}from'../../commands/db/shared.js';export const dbList={'service':'db','command':'list','description':a70_0x4db7d0(0x1a2),'risk':a70_0x4db7d0(0x1a1),'flags':[APPCODE_FLAG_OPTIONAL,{'name':a70_0x4db7d0(0x1ad),'type':'number','description':'Page\x20index\x20(1-based)','default':0x1},{'name':a70_0x4db7d0(0x19f),'type':a70_0x4db7d0(0x1af),'description':a70_0x4db7d0(0x1b1),'default':0x64}],async 'execute'(_0x101edf){const _0x2e4702=a70_0x4db7d0,_0x51a6ef=_0x101edf[_0x2e4702(0x1a3)](_0x2e4702(0x1ad),0x1)||0x1,_0x2277c8=_0x101edf[_0x2e4702(0x1a3)](_0x2e4702(0x19f),0x64)||0x64,{items:_0x59084c,paging:_0x3c0513}=await listDbLinks(_0x101edf[_0x2e4702(0x1a0)],{'currentPage':_0x51a6ef,'pageSize':_0x2277c8}),_0x1b1e90=sanitizeDbLinkList(_0x59084c),_0x91d515=_0x3c0513?_0x3c0513:{'currentPage':_0x51a6ef,'pageSize':_0x2277c8,'rowsOnPage':_0x1b1e90[_0x2e4702(0x1ab)],'totalCount':null,'note':_0x2e4702(0x1a4)};return{'ok':!![],'data':{'connections':_0x1b1e90,'paging':_0x91d515},'message':_0x2e4702(0x1a6)+_0x1b1e90[_0x2e4702(0x1ab)]+'\x20database\x20connection(s)'};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x3a716c,_0x3ff0b6){const _0x5356e9=a71_0x3cb4,_0x4683e4=_0x3a716c();while(!![]){try{const _0x9f6996=parseInt(_0x5356e9(0x73))/0x1*(-parseInt(_0x5356e9(0x79))/0x2)+-parseInt(_0x5356e9(0x83))/0x3*(-parseInt(_0x5356e9(0x81))/0x4)+parseInt(_0x5356e9(0x77))/0x5+parseInt(_0x5356e9(0x7f))/0x6+parseInt(_0x5356e9(0x7a))/0x7*(parseInt(_0x5356e9(0x82))/0x8)+parseInt(_0x5356e9(0x76))/0x9+-parseInt(_0x5356e9(0x72))/0xa*(parseInt(_0x5356e9(0x86))/0xb);if(_0x9f6996===_0x3ff0b6)break;else _0x4683e4['push'](_0x4683e4['shift']());}catch(_0x53b9db){_0x4683e4['push'](_0x4683e4['shift']());}}}(a71_0x3728,0x3b7e5));import{getEnv,isDaily,normalizeEnv}from'../../constant/env.js';function shouldRedactKey(_0x52cb6e){const _0x162da3=a71_0x3cb4,_0x1c8237=_0x52cb6e['toLowerCase']();if(_0x1c8237===_0x162da3(0x87)||_0x1c8237===_0x162da3(0x74)||_0x1c8237===_0x162da3(0x7b))return!![];if(_0x1c8237[_0x162da3(0x88)](_0x162da3(0x89))||_0x1c8237[_0x162da3(0x88)]('token')||_0x1c8237[_0x162da3(0x88)](_0x162da3(0x7d)))return!![];if(_0x1c8237[_0x162da3(0x88)](_0x162da3(0x6e))||_0x1c8237[_0x162da3(0x88)](_0x162da3(0x7e)))return!![];if(_0x1c8237===_0x162da3(0x6f)||_0x1c8237===_0x162da3(0x70)||_0x1c8237==='jdbcurl')return!![];return![];}function a71_0x3cb4(_0x4bb58e,_0x4b85b8){_0x4bb58e=_0x4bb58e-0x6e;const _0x372843=a71_0x3728();let _0x3cb492=_0x372843[_0x4bb58e];return _0x3cb492;}export function sanitizeDbLinkForOutput(_0x57764a){const _0x50764b=a71_0x3cb4,_0x37f883={..._0x57764a};for(const _0x17c999 of Object[_0x50764b(0x78)](_0x37f883)){if(!shouldRedactKey(_0x17c999))continue;const _0x3dce9a=_0x37f883[_0x17c999];_0x3dce9a!=null&&String(_0x3dce9a)['length']>0x0&&(_0x37f883[_0x17c999]='[redacted]');}return _0x37f883;}export function sanitizeDbLinkList(_0x29e3e1){return _0x29e3e1['map'](_0x20f9be=>sanitizeDbLinkForOutput(_0x20f9be));}const DB_URL_PATTERN=/^[^\s:]+(?::\d+)?$/;export function validateDbUrl(_0xc4efd4){const _0x55006c=a71_0x3cb4,_0x59eefe=_0xc4efd4['trim']();if(!_0x59eefe)return![];return DB_URL_PATTERN[_0x55006c(0x84)](_0x59eefe);}function a71_0x3728(){const _0x13a946=['2442408MpvFMj','trim','668lWZtpk','680344VyMSbk','3810lpjUqC','test','/data/database','3166944wrlFkS','password','includes','secret','privatekey','authorization','connectionstring','https://app.lovrabet.com/app/','40dybVDT','8rEbVja','passwd','isFinite','1163709SceBWN','1906535OZiTPh','keys','39920gTESnv','35szSgyR','dbpassword','/data/er?dbId=','credential','accesskey'];a71_0x3728=function(){return _0x13a946;};return a71_0x3728();}export function buildDbPageLinks(_0x2b90f4,_0x236fd1){const _0x32b797=a71_0x3cb4,_0x2b11cb=_0x2b90f4?.[_0x32b797(0x80)]();if(!_0x2b11cb)return undefined;const _0x193642=typeof _0x236fd1==='number'?String(_0x236fd1):String(_0x236fd1??'')[_0x32b797(0x80)]();if(!_0x193642)return undefined;const _0x364389=Number(_0x193642);if(!Number[_0x32b797(0x75)](_0x364389)||_0x364389<=0x0)return undefined;const _0x45b440=isDaily(normalizeEnv(getEnv()))?'https://daily.lovrabet.com/web-app/app/'+encodeURIComponent(_0x2b11cb):_0x32b797(0x71)+encodeURIComponent(_0x2b11cb),_0x117fcc=encodeURIComponent(String(_0x364389));return{'databasePage':_0x45b440+_0x32b797(0x85),'erPage':_0x45b440+_0x32b797(0x7c)+_0x117fcc};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a72_0x55e44e=a72_0x1079;(function(_0x43950a,_0x2e857c){const _0x39e294=a72_0x1079,_0x39ceb4=_0x43950a();while(!![]){try{const _0x563e96=parseInt(_0x39e294(0x1ed))/0x1*(parseInt(_0x39e294(0x1ec))/0x2)+-parseInt(_0x39e294(0x1e9))/0x3+parseInt(_0x39e294(0x1f6))/0x4+parseInt(_0x39e294(0x1f3))/0x5*(parseInt(_0x39e294(0x1eb))/0x6)+parseInt(_0x39e294(0x1f0))/0x7+-parseInt(_0x39e294(0x1f4))/0x8+-parseInt(_0x39e294(0x1ea))/0x9;if(_0x563e96===_0x2e857c)break;else _0x39ceb4['push'](_0x39ceb4['shift']());}catch(_0x349597){_0x39ceb4['push'](_0x39ceb4['shift']());}}}(a72_0x250a,0xf216d));import{getDbAllTableList}from'../../core/api-client.js';function a72_0x250a(){const _0x5939fd=['1996662GCbSsQ','1148427TdTdBW','274242DiKZdK','18wXDiII','106034jvkDCv','\x20table(s)\x20on\x20db\x20link\x20','num','1391572fmlYeu','List\x20physical\x20tables\x20for\x20a\x20database\x20connection\x20(tags\x20show\x20analysis\x20state\x20vs\x20schema\x20drift)','appCode','125xXoRyp','13329504cnkyos','length','4620660LQHAEr'];a72_0x250a=function(){return _0x5939fd;};return a72_0x250a();}import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';function a72_0x1079(_0x152631,_0x413cab){_0x152631=_0x152631-0x1e9;const _0x250a99=a72_0x250a();let _0x107957=_0x250a99[_0x152631];return _0x107957;}export const dbTables={'service':'db','command':'tables','description':a72_0x55e44e(0x1f1),'risk':'read','flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL],async 'execute'(_0x3fa224){const _0x51f8a3=a72_0x55e44e,_0x2db724=_0x3fa224[_0x51f8a3(0x1ef)]('id'),_0x44f8e5=await getDbAllTableList(_0x3fa224[_0x51f8a3(0x1f2)],_0x2db724);return{'ok':!![],'data':{'dbLinkId':_0x2db724,'total':_0x44f8e5[_0x51f8a3(0x1f5)],'tables':_0x44f8e5},'message':_0x44f8e5['length']+_0x51f8a3(0x1ee)+_0x2db724};}};
|
package/lib/commands/db/test.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a73_0x117eef=a73_0x22c9;(function(_0x40ab3e,_0x1909f1){const _0x35fce9=a73_0x22c9,_0x2d0aaf=_0x40ab3e();while(!![]){try{const _0x5e1e0a=-parseInt(_0x35fce9(0x1da))/0x1*(parseInt(_0x35fce9(0x1ca))/0x2)+-parseInt(_0x35fce9(0x1d5))/0x3+-parseInt(_0x35fce9(0x1db))/0x4+parseInt(_0x35fce9(0x1cc))/0x5+parseInt(_0x35fce9(0x1d3))/0x6*(-parseInt(_0x35fce9(0x1cb))/0x7)+parseInt(_0x35fce9(0x1ce))/0x8+parseInt(_0x35fce9(0x1cf))/0x9*(parseInt(_0x35fce9(0x1cd))/0xa);if(_0x5e1e0a===_0x1909f1)break;else _0x2d0aaf['push'](_0x2d0aaf['shift']());}catch(_0xc25339){_0x2d0aaf['push'](_0x2d0aaf['shift']());}}}(a73_0x5579,0x9460c));function a73_0x22c9(_0x4e0a22,_0x4aace3){_0x4e0a22=_0x4e0a22-0x1c8;const _0x5579bf=a73_0x5579();let _0x22c905=_0x5579bf[_0x4e0a22];return _0x22c905;}function a73_0x5579(){const _0x3a5958=['3367176FCOGEc','data','keys','success','4486qKyKaW','14826WUwFel','5304690NEgiOC','630fqFuVu','7078800keKuKJ','75852ZysoQm','Test\x20connectivity\x20to\x20the\x20configured\x20database\x20(uses\x20saved\x20credentials\x20on\x20server)','msg','length','1440FyyQul','Connection\x20OK\x20for\x20db\x20link\x20','554025pTOZMS','message','slice','error','object','149qbmxlT'];a73_0x5579=function(){return _0x3a5958;};return a73_0x5579();}import{testDbLinkConnect}from'../../core/api-client.js';import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';function summarizeTestConnectResult(_0x2f7c92){const _0x7993a1=a73_0x22c9;if(_0x2f7c92===!![]||_0x2f7c92===![])return{'success':_0x2f7c92};if(_0x2f7c92===null||_0x2f7c92===undefined)return{'type':typeof _0x2f7c92};if(typeof _0x2f7c92!==_0x7993a1(0x1d9))return{'type':typeof _0x2f7c92};const _0x543961=_0x2f7c92,_0x5300e0=[_0x7993a1(0x1c9),_0x7993a1(0x1d6),'code',_0x7993a1(0x1d8),_0x7993a1(0x1d1),_0x7993a1(0x1dc)],_0x2726e1={};for(const _0x4cced5 of _0x5300e0){if(_0x4cced5 in _0x543961)_0x2726e1[_0x4cced5]=_0x543961[_0x4cced5];}return Object['keys'](_0x2726e1)[_0x7993a1(0x1d2)]===0x0&&(_0x2726e1[_0x7993a1(0x1c8)]=Object[_0x7993a1(0x1c8)](_0x543961)[_0x7993a1(0x1d7)](0x0,0x14)),_0x2726e1;}export const dbTest={'service':'db','command':'test','description':a73_0x117eef(0x1d0),'risk':'read','requiresAppCode':![],'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL],async 'execute'(_0x4f0f96){const _0x5537e1=a73_0x117eef,_0x480153=_0x4f0f96['num']('id'),_0x27c7b4=await testDbLinkConnect(_0x480153),_0x1f4d0f=_0x27c7b4===!![]||typeof _0x27c7b4==='object'&&_0x27c7b4!==null&&_0x27c7b4['success']===!![],_0x2c8307=summarizeTestConnectResult(_0x27c7b4);return{'ok':!![],'data':{'id':_0x480153,'connected':Boolean(_0x1f4d0f),'result':_0x2c8307},'message':_0x1f4d0f?_0x5537e1(0x1d4)+_0x480153:'Connection\x20check\x20finished\x20for\x20db\x20link\x20'+_0x480153+'\x20(see\x20data.result)'};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a74_0x5616(){const _0x3b013e=['450YBqiyV','5604830ByGlid','1tdERDb','dbUrl','dbdesc','dbname','1470528kOvGeq','681050qrgFxI','Update\x20an\x20existing\x20database\x20connection.\x20Only\x20supplied\x20fields\x20are\x20overwritten;\x20others\x20keep\x20server\x20values','str','dbParam','New\x20database\x20name','trim','New\x20description','string','Invalid\x20--dburl:\x20expected\x20host:port,\x20got\x20\x22','New\x20connection\x20parameter\x20string','1699592YBqVgw','username','dbparam','2080556tqVgcj','New\x20password\x20(omit\x20to\x20leave\x20unchanged).\x20Empty\x20string\x20may\x20be\x20treated\x20as\x20no-op\x20or\x20rejected\x20by\x20API','Updated\x20db\x20link\x20','dbName','dburl','password','num','update','9099643WqtnJa','New\x20username','2480595eUsteC','6UQAbqK','dbDesc','New\x20host:port','write'];a74_0x5616=function(){return _0x3b013e;};return a74_0x5616();}const a74_0x3db2e6=a74_0x1c8c;(function(_0x597570,_0xe17ae9){const _0x21d92f=a74_0x1c8c,_0x2bd767=_0x597570();while(!![]){try{const _0x2de79c=-parseInt(_0x21d92f(0x1ea))/0x1*(parseInt(_0x21d92f(0x1f9))/0x2)+-parseInt(_0x21d92f(0x1e3))/0x3+-parseInt(_0x21d92f(0x1d9))/0x4+parseInt(_0x21d92f(0x1e9))/0x5+parseInt(_0x21d92f(0x1e4))/0x6*(-parseInt(_0x21d92f(0x1e1))/0x7)+-parseInt(_0x21d92f(0x1ee))/0x8+parseInt(_0x21d92f(0x1e8))/0x9*(parseInt(_0x21d92f(0x1ef))/0xa);if(_0x2de79c===_0xe17ae9)break;else _0x2bd767['push'](_0x2bd767['shift']());}catch(_0x3ba0fe){_0x2bd767['push'](_0x2bd767['shift']());}}}(a74_0x5616,0xce753));import{getDbLinkInfo,updateDbLink}from'../../core/api-client.js';import{CliErrors}from'../../errors.js';function a74_0x1c8c(_0x181ef4,_0x108c51){_0x181ef4=_0x181ef4-0x1d8;const _0x56163c=a74_0x5616();let _0x1c8c38=_0x56163c[_0x181ef4];return _0x1c8c38;}import{APPCODE_FLAG_OPTIONAL,DBLINK_ID_FLAG}from'../../commands/common/flags.js';import{sanitizeDbLinkForOutput,validateDbUrl}from'../../commands/db/shared.js';import{normalizeEntityWithIdResponse}from'../../utils/entity-with-id.js';export const dbUpdate={'service':'db','command':a74_0x3db2e6(0x1e0),'description':a74_0x3db2e6(0x1f0),'risk':a74_0x3db2e6(0x1e7),'flags':[DBLINK_ID_FLAG,APPCODE_FLAG_OPTIONAL,{'name':a74_0x3db2e6(0x1ed),'type':a74_0x3db2e6(0x1f6),'description':a74_0x3db2e6(0x1f3)},{'name':a74_0x3db2e6(0x1dd),'type':a74_0x3db2e6(0x1f6),'description':a74_0x3db2e6(0x1e6)},{'name':'username','type':a74_0x3db2e6(0x1f6),'description':a74_0x3db2e6(0x1e2)},{'name':a74_0x3db2e6(0x1de),'type':'string','description':a74_0x3db2e6(0x1da)},{'name':a74_0x3db2e6(0x1d8),'type':a74_0x3db2e6(0x1f6),'description':a74_0x3db2e6(0x1f8)},{'name':a74_0x3db2e6(0x1ec),'type':'string','description':a74_0x3db2e6(0x1f5)}],async 'validate'(_0x2c5a1c){const _0x1e3e5d=a74_0x3db2e6,_0x5b8500=_0x2c5a1c[_0x1e3e5d(0x1f1)]('dburl');if(_0x5b8500&&!validateDbUrl(_0x5b8500['trim']()))throw CliErrors['validation'](_0x1e3e5d(0x1f7)+_0x5b8500+'\x22');},async 'dryRun'(_0x5e1868){const _0x18e672=a74_0x3db2e6,_0x4a7f26=_0x5e1868[_0x18e672(0x1df)]('id'),_0x62ba9e=await getDbLinkInfo(_0x4a7f26),_0x2e4322={..._0x62ba9e},_0x13e157=_0x5e1868[_0x18e672(0x1f1)]('dbname');if(_0x13e157)_0x2e4322['dbName']=_0x13e157;const _0x4d3d10=_0x5e1868[_0x18e672(0x1f1)](_0x18e672(0x1dd));if(_0x4d3d10)_0x2e4322['dbUrl']=_0x4d3d10['trim']();const _0x2a15e0=_0x5e1868[_0x18e672(0x1f1)]('username');if(_0x2a15e0)_0x2e4322[_0x18e672(0x1fa)]=_0x2a15e0;const _0xaf6e0e=_0x5e1868[_0x18e672(0x1f1)](_0x18e672(0x1de));if(_0xaf6e0e)_0x2e4322[_0x18e672(0x1de)]=_0xaf6e0e;const _0x49055a=_0x5e1868[_0x18e672(0x1f1)](_0x18e672(0x1d8));if(_0x49055a)_0x2e4322[_0x18e672(0x1f2)]=_0x49055a;const _0x16236e=_0x5e1868[_0x18e672(0x1f1)](_0x18e672(0x1ec));if(_0x16236e)_0x2e4322[_0x18e672(0x1e5)]=_0x16236e;const _0x1e1c3a=sanitizeDbLinkForOutput(_0x2e4322);return{'method':'POST','url':'/smartapi/dblink/update','body':_0x1e1c3a,'description':'Merged\x20server\x20record\x20with\x20CLI\x20overrides;\x20password\x20redacted\x20in\x20preview'};},async 'execute'(_0xc20fe8){const _0x3f07af=a74_0x3db2e6,_0x1a19d3=_0xc20fe8['num']('id'),_0x17879e=await getDbLinkInfo(_0x1a19d3),_0x13a09a={..._0x17879e},_0x24ce70=_0xc20fe8['str'](_0x3f07af(0x1ed));if(_0x24ce70)_0x13a09a[_0x3f07af(0x1dc)]=_0x24ce70;const _0x3d474a=_0xc20fe8[_0x3f07af(0x1f1)](_0x3f07af(0x1dd));if(_0x3d474a)_0x13a09a[_0x3f07af(0x1eb)]=_0x3d474a[_0x3f07af(0x1f4)]();const _0x175aa4=_0xc20fe8[_0x3f07af(0x1f1)](_0x3f07af(0x1fa));if(_0x175aa4)_0x13a09a['username']=_0x175aa4;const _0x31b9ea=_0xc20fe8[_0x3f07af(0x1f1)](_0x3f07af(0x1de));if(_0x31b9ea)_0x13a09a['password']=_0x31b9ea;const _0x949146=_0xc20fe8[_0x3f07af(0x1f1)](_0x3f07af(0x1d8));if(_0x949146)_0x13a09a['dbParam']=_0x949146;const _0x6530b0=_0xc20fe8['str'](_0x3f07af(0x1ec));if(_0x6530b0)_0x13a09a[_0x3f07af(0x1e5)]=_0x6530b0;const {id:_0x4608b3,entity:_0x41f888}=normalizeEntityWithIdResponse(await updateDbLink(_0x13a09a));return{'ok':!![],'data':sanitizeDbLinkForOutput(_0x41f888),'message':_0x3f07af(0x1db)+(_0x4608b3??_0x1a19d3)};}};
|
package/lib/commands/doctor.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a75_0x207cc1=a75_0x3a11;(function(_0xd46451,_0x200a42){const _0x3477cf=a75_0x3a11,_0x531756=_0xd46451();while(!![]){try{const _0x8ff98d=-parseInt(_0x3477cf(0x189))/0x1*(parseInt(_0x3477cf(0x164))/0x2)+parseInt(_0x3477cf(0x168))/0x3+parseInt(_0x3477cf(0x156))/0x4+-parseInt(_0x3477cf(0x18c))/0x5+-parseInt(_0x3477cf(0x1a2))/0x6*(-parseInt(_0x3477cf(0x1a7))/0x7)+parseInt(_0x3477cf(0x17f))/0x8*(parseInt(_0x3477cf(0x16d))/0x9)+-parseInt(_0x3477cf(0x16c))/0xa*(parseInt(_0x3477cf(0x170))/0xb);if(_0x8ff98d===_0x200a42)break;else _0x531756['push'](_0x531756['shift']());}catch(_0xba3347){_0x531756['push'](_0x531756['shift']());}}}(a75_0xc1cd,0x1ed72));import a75_0x463884 from'chalk';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{VERSION,GIT_COMMIT,BUILD_TIME}from'../generated/build-info.js';import{getApiDomain,getUserDomain,getRuntimeDomain}from'../constant/domain.js';import{getProjectConfigPath,getGlobalConfigPath,buildConfigFromFlags,inspectCliConfigJsonFile}from'../context.js';function a75_0xc1cd(){const _0x21b2e0=['904236wcNcYq','gray','accessKey','\x20\x20defaultApp:\x20\x20\x20\x20\x20\x20','message','format','raw','cookie','Global','source','(none)','\x20\x20Global:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','✓\x20Valid\x20JSON','\x20\x20cookie:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','169034dmqnhv','(default:\x20','\x20\x20\x20\x20accessKey:\x20\x20','\x20\x20locale:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','358869MVobIK','yellow','arch','✓\x20Valid','2253430OqRZZT','468UOkAQg','(set,\x20length=','\x20\x20Apps','11LjLsJL','\x20\x20Merged\x20Config','\x20\x20\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20runtimeDomain:\x20\x20\x20','\x20\x20format:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','status','currentApp','appCode','apiDir','value','appcode','apps','slice','\x20\x20riskLevel:\x20\x20\x20\x20\x20\x20\x20','riskLevel','18896yBwdYC','\x20\x20Node:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','(not\x20found)','missing','\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','⚠\x20Empty\x20(treated\x20as\x20{})','\x20\x20userDomain:\x20\x20\x20\x20\x20\x20','platform','doctor','env','1jhyEBF','log','green','594715rgoIMa','\x20(default)','\x20\x20\x20\x20cookie:\x20\x20\x20\x20\x20','\x20\x20─','\x20\x20\x20\x20appcode:\x20\x20\x20\x20','version','(missing)','repeat','padEnd','✗\x20Expired','empty','(default)','bold','\x20\x20verbose:\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20explicitAppName:\x20','length','red','✗\x20Invalid\x20JSON','\x20\x20apiDomain:\x20\x20\x20\x20\x20\x20\x20','\x20\x20API\x20Endpoints','(not\x20set)','(no\x20file)','173238sFBihp','✗\x20Not\x20logged\x20in','\x20\x20Config\x20JSON','\x20\x20pageSize:\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Config\x20Files','21DVGIEu','\x20\x20apiDir:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','defaultApp'];a75_0xc1cd=function(){return _0x21b2e0;};return a75_0xc1cd();}import{getIsSessionValid}from'../auth/is-session-valid.js';import{getCookie}from'../auth/get-cookie.js';function a75_0x3a11(_0x3802f9,_0xaa0e2c){_0x3802f9=_0x3802f9-0x154;const _0xc1cd01=a75_0xc1cd();let _0x3a11a5=_0xc1cd01[_0x3802f9];return _0x3a11a5;}import{buildAppDoctorFields}from'../config/schema.js';async function execute(_0x26055a){const _0xec19a9=a75_0x3a11,_0x437c5c=GIT_COMMIT!=='unknown'?VERSION+'\x20('+GIT_COMMIT+',\x20'+BUILD_TIME[_0xec19a9(0x17c)](0x0,0xa)+')':VERSION,_0x5c6df6=buildConfigFromFlags({}),_0x2a73b9=getCookie();console[_0xec19a9(0x18a)](),console[_0xec19a9(0x18a)](a75_0x463884[_0xec19a9(0x198)](CLI_BIN_NAME+'\x20doctor')),console[_0xec19a9(0x18a)](a75_0x463884['gray']('─'['repeat'](0x32))),console[_0xec19a9(0x18a)]('\x20\x20CLI\x20Version:\x20\x20\x20\x20\x20'+_0x437c5c),console['log'](_0xec19a9(0x180)+process[_0xec19a9(0x191)]),console[_0xec19a9(0x18a)]('\x20\x20Platform:\x20\x20\x20\x20\x20\x20\x20\x20'+process[_0xec19a9(0x186)]+'\x20'+process[_0xec19a9(0x16a)]),console['log'](),console[_0xec19a9(0x18a)](a75_0x463884[_0xec19a9(0x198)](_0xec19a9(0x1a6))),console['log'](a75_0x463884[_0xec19a9(0x157)](_0xec19a9(0x18f)[_0xec19a9(0x193)](0x1e)));const _0xcb94ec=getGlobalConfigPath(),_0x1aac0a=getProjectConfigPath();console[_0xec19a9(0x18a)](_0xec19a9(0x161)+(_0xcb94ec||a75_0x463884[_0xec19a9(0x157)]('(not\x20found)'))),console['log']('\x20\x20Project:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x1aac0a||a75_0x463884['gray'](_0xec19a9(0x181)))),console[_0xec19a9(0x18a)](),console[_0xec19a9(0x18a)](a75_0x463884[_0xec19a9(0x198)](_0xec19a9(0x1a4))),console['log'](a75_0x463884[_0xec19a9(0x157)](_0xec19a9(0x18f)[_0xec19a9(0x193)](0x1e)));const _0x1b9fed=(_0x4f5525,_0x36ede8)=>{const _0x1f2ade=_0xec19a9;if(!_0x36ede8){console[_0x1f2ade(0x18a)]('\x20\x20'+_0x4f5525[_0x1f2ade(0x194)](0x11)+'\x20'+a75_0x463884[_0x1f2ade(0x157)](_0x1f2ade(0x1a1)));return;}const _0x24ea0d=inspectCliConfigJsonFile(_0x36ede8);if(_0x24ea0d[_0x1f2ade(0x175)]==='ok')console[_0x1f2ade(0x18a)]('\x20\x20'+_0x4f5525[_0x1f2ade(0x194)](0x11)+'\x20'+a75_0x463884['green'](_0x1f2ade(0x162)));else{if(_0x24ea0d['status']===_0x1f2ade(0x196))console[_0x1f2ade(0x18a)]('\x20\x20'+_0x4f5525[_0x1f2ade(0x194)](0x11)+'\x20'+a75_0x463884[_0x1f2ade(0x169)](_0x1f2ade(0x184)));else _0x24ea0d[_0x1f2ade(0x175)]===_0x1f2ade(0x182)?console[_0x1f2ade(0x18a)]('\x20\x20'+_0x4f5525[_0x1f2ade(0x194)](0x11)+'\x20'+a75_0x463884[_0x1f2ade(0x157)](_0x1f2ade(0x192))):(console[_0x1f2ade(0x18a)]('\x20\x20'+_0x4f5525['padEnd'](0x11)+'\x20'+a75_0x463884[_0x1f2ade(0x19c)](_0x1f2ade(0x19d))),console[_0x1f2ade(0x18a)]('\x20\x20'+''['padEnd'](0x11)+'\x20'+a75_0x463884[_0x1f2ade(0x19c)](_0x24ea0d[_0x1f2ade(0x15a)])));}};_0x1b9fed(_0xec19a9(0x15e),_0xcb94ec),_0x1b9fed('Project',_0x1aac0a),console[_0xec19a9(0x18a)](),console[_0xec19a9(0x18a)](a75_0x463884[_0xec19a9(0x198)](_0xec19a9(0x171))),console[_0xec19a9(0x18a)](a75_0x463884[_0xec19a9(0x157)](_0xec19a9(0x18f)[_0xec19a9(0x193)](0x1e))),console[_0xec19a9(0x18a)]('\x20\x20appCode:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5c6df6[_0xec19a9(0x177)]||a75_0x463884['red'](_0xec19a9(0x1a0)))),console[_0xec19a9(0x18a)]('\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5c6df6[_0xec19a9(0x188)]),console[_0xec19a9(0x18a)](_0xec19a9(0x167)+_0x5c6df6['locale']),console['log'](_0xec19a9(0x154)+_0x5c6df6[_0xec19a9(0x178)]),console['log'](_0xec19a9(0x159)+(_0x5c6df6['defaultApp']||a75_0x463884['gray'](_0xec19a9(0x160)))),console['log']('\x20\x20currentApp:\x20\x20\x20\x20\x20\x20'+(_0x5c6df6['currentApp']||a75_0x463884[_0xec19a9(0x157)]('(none)'))),console[_0xec19a9(0x18a)](_0xec19a9(0x19a)+(_0x5c6df6['explicitAppName']||a75_0x463884[_0xec19a9(0x157)](_0xec19a9(0x160)))),console[_0xec19a9(0x18a)](_0xec19a9(0x174)+(_0x5c6df6['format']||a75_0x463884[_0xec19a9(0x157)](_0xec19a9(0x165)+DEFAULT_CONFIG_VALUES[_0xec19a9(0x15b)]+')'))),console['log'](_0xec19a9(0x1a5)+(_0x5c6df6['pageSize']??a75_0x463884[_0xec19a9(0x157)](_0xec19a9(0x197)))),console[_0xec19a9(0x18a)](_0xec19a9(0x17d)+_0x5c6df6[_0xec19a9(0x17e)]),console['log'](_0xec19a9(0x199)+_0x5c6df6['verbose']),console[_0xec19a9(0x18a)](_0xec19a9(0x163)+(_0x5c6df6['cookie']?a75_0x463884['green'](_0xec19a9(0x16e)+_0x5c6df6[_0xec19a9(0x15d)][_0xec19a9(0x19b)]+')'):_0x2a73b9?a75_0x463884[_0xec19a9(0x18b)]('(set\x20via\x20file,\x20length='+_0x2a73b9[_0xec19a9(0x19b)]+')'):a75_0x463884[_0xec19a9(0x157)](_0xec19a9(0x160))));const _0x651341=Object['keys'](_0x5c6df6[_0xec19a9(0x17b)]);if(_0x651341[_0xec19a9(0x19b)]>0x0){console[_0xec19a9(0x18a)](),console['log'](a75_0x463884['bold'](_0xec19a9(0x16f))),console[_0xec19a9(0x18a)](a75_0x463884['gray'](_0xec19a9(0x18f)[_0xec19a9(0x193)](0x1e)));for(const _0x5b08e5 of _0x651341){const _0x43a4d3=_0x5c6df6[_0xec19a9(0x17b)][_0x5b08e5],_0x108b5b=_0x5b08e5===_0x5c6df6[_0xec19a9(0x155)],_0x33b8be=_0x5b08e5===_0x5c6df6[_0xec19a9(0x176)],_0x3bf547=_0x33b8be?a75_0x463884[_0xec19a9(0x18b)]('\x20←\x20current'):'',_0x3c958c=_0x108b5b?_0xec19a9(0x18d):'';console[_0xec19a9(0x18a)]('\x20\x20'+_0x5b08e5+_0x3c958c+_0x3bf547),console[_0xec19a9(0x18a)](_0xec19a9(0x190)+_0x43a4d3[_0xec19a9(0x17a)]);const _0x2690e3=buildAppDoctorFields(_0x43a4d3,{'env':_0x5c6df6[_0xec19a9(0x188)],'apiDir':_0x5c6df6[_0xec19a9(0x15c)]['apiDir']||DEFAULT_CONFIG_VALUES['apiDir'],'cookie':_0x5c6df6[_0xec19a9(0x15d)]||_0x2a73b9||undefined,'accessKey':_0x5c6df6[_0xec19a9(0x158)]});console[_0xec19a9(0x18a)](_0xec19a9(0x172)+_0x2690e3['env'][_0xec19a9(0x179)]+'\x20\x20'+a75_0x463884[_0xec19a9(0x157)]('('+_0x2690e3[_0xec19a9(0x188)]['source']+')')),console[_0xec19a9(0x18a)]('\x20\x20\x20\x20apiDir:\x20\x20\x20\x20\x20'+_0x2690e3[_0xec19a9(0x178)][_0xec19a9(0x179)]+'\x20\x20'+a75_0x463884['gray']('('+_0x2690e3[_0xec19a9(0x178)][_0xec19a9(0x15f)]+')'));const _0x202b6a=_0x2690e3[_0xec19a9(0x15d)][_0xec19a9(0x179)]?a75_0x463884[_0xec19a9(0x18b)](_0xec19a9(0x16e)+_0x2690e3[_0xec19a9(0x15d)][_0xec19a9(0x179)][_0xec19a9(0x19b)]+')'):a75_0x463884[_0xec19a9(0x157)](_0xec19a9(0x160));console[_0xec19a9(0x18a)](_0xec19a9(0x18e)+_0x202b6a+'\x20\x20'+a75_0x463884[_0xec19a9(0x157)]('('+_0x2690e3[_0xec19a9(0x15d)][_0xec19a9(0x15f)]+')'));const _0x223635=_0x2690e3[_0xec19a9(0x158)][_0xec19a9(0x179)]?a75_0x463884[_0xec19a9(0x18b)](_0xec19a9(0x16e)+_0x2690e3[_0xec19a9(0x158)][_0xec19a9(0x179)][_0xec19a9(0x19b)]+')'):a75_0x463884['gray'](_0xec19a9(0x160));console['log'](_0xec19a9(0x166)+_0x223635+'\x20\x20'+a75_0x463884[_0xec19a9(0x157)]('('+_0x2690e3[_0xec19a9(0x158)][_0xec19a9(0x15f)]+')'));}}console[_0xec19a9(0x18a)](),console[_0xec19a9(0x18a)](a75_0x463884[_0xec19a9(0x198)](_0xec19a9(0x19f))),console['log'](a75_0x463884['gray'](_0xec19a9(0x18f)[_0xec19a9(0x193)](0x1e))),console[_0xec19a9(0x18a)](_0xec19a9(0x19e)+getApiDomain()),console['log'](_0xec19a9(0x185)+getUserDomain()),console[_0xec19a9(0x18a)](_0xec19a9(0x173)+getRuntimeDomain()),console[_0xec19a9(0x18a)](),console[_0xec19a9(0x18a)](a75_0x463884[_0xec19a9(0x198)]('\x20\x20Auth')),console['log'](a75_0x463884['gray']('\x20\x20─'['repeat'](0x1e)));if(_0x2a73b9){const _0x164f81=await getIsSessionValid();console['log']('\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x164f81?a75_0x463884[_0xec19a9(0x18b)](_0xec19a9(0x16b)):a75_0x463884[_0xec19a9(0x19c)](_0xec19a9(0x195))));}else console[_0xec19a9(0x18a)](_0xec19a9(0x183)+a75_0x463884['red'](_0xec19a9(0x1a3)));return console[_0xec19a9(0x18a)](),{'ok':!![]};}export const doctorDefinition={'service':a75_0x207cc1(0x187),'command':'check','description':'Diagnose\x20CLI\x20configuration\x20and\x20connectivity','risk':'read','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],'execute':execute};
|
|
1
|
+
const a75_0x986a58=a75_0xd6d3;(function(_0xec107b,_0x4aa93a){const _0x168ee6=a75_0xd6d3,_0x2b33f0=_0xec107b();while(!![]){try{const _0xc0d85c=-parseInt(_0x168ee6(0x1a2))/0x1*(parseInt(_0x168ee6(0x19b))/0x2)+parseInt(_0x168ee6(0x1a3))/0x3+parseInt(_0x168ee6(0x187))/0x4*(-parseInt(_0x168ee6(0x165))/0x5)+parseInt(_0x168ee6(0x1a4))/0x6*(-parseInt(_0x168ee6(0x17f))/0x7)+-parseInt(_0x168ee6(0x16f))/0x8+parseInt(_0x168ee6(0x18e))/0x9+-parseInt(_0x168ee6(0x178))/0xa*(-parseInt(_0x168ee6(0x172))/0xb);if(_0xc0d85c===_0x4aa93a)break;else _0x2b33f0['push'](_0x2b33f0['shift']());}catch(_0x1e7dd4){_0x2b33f0['push'](_0x2b33f0['shift']());}}}(a75_0x2500,0x242b2));import a75_0x2f4fdd from'chalk';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{VERSION,GIT_COMMIT,BUILD_TIME}from'../generated/build-info.js';import{getApiDomain,getUserDomain,getRuntimeDomain}from'../constant/domain.js';import{getProjectConfigPath,getGlobalConfigPath,buildConfigFromFlags,inspectCliConfigJsonFile}from'../context.js';import{getIsSessionValid}from'../auth/is-session-valid.js';import{getCookie}from'../auth/get-cookie.js';function a75_0xd6d3(_0x28b7b2,_0x4965cb){_0x28b7b2=_0x28b7b2-0x15e;const _0x25004e=a75_0x2500();let _0xd6d3b1=_0x25004e[_0x28b7b2];return _0xd6d3b1;}import{buildAppDoctorFields}from'../config/schema.js';function a75_0x2500(){const _0x57e551=['read','yellow','locale','arch','204908rbctPw','cookie','\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Merged\x20Config','\x20\x20explicitAppName:\x20','green','\x20\x20runtimeDomain:\x20\x20\x20','1OlTDof','815595bWEkoY','345894DpmJpU','apiDir','apps','appCode','check','currentApp','message','\x20\x20defaultApp:\x20\x20\x20\x20\x20\x20','\x20\x20cookie:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20format:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','env','source','(set,\x20length=','format','\x20\x20─','5cWHGZb','log','(set\x20via\x20file,\x20length=','missing','✗\x20Invalid\x20JSON','(not\x20found)','\x20\x20\x20\x20apiDir:\x20\x20\x20\x20\x20','\x20\x20riskLevel:\x20\x20\x20\x20\x20\x20\x20','\x20\x20Config\x20Files','\x20\x20Project:\x20\x20\x20\x20\x20\x20\x20\x20\x20','1627304WnzZnT','\x20←\x20current','\x20\x20CLI\x20Version:\x20\x20\x20\x20\x20','143EzFRie','⚠\x20Empty\x20(treated\x20as\x20{})','value','status','\x20\x20\x20\x20accessKey:\x20\x20','defaultApp','331130UEtOmq','\x20\x20apiDomain:\x20\x20\x20\x20\x20\x20\x20','bold','riskLevel','\x20\x20Apps','(none)','\x20\x20currentApp:\x20\x20\x20\x20\x20\x20','14OwXHAx','repeat','\x20\x20\x20\x20cookie:\x20\x20\x20\x20\x20','Global','gray','Diagnose\x20CLI\x20configuration\x20and\x20connectivity','length','(default:\x20','1094392Iuxqer','\x20\x20Platform:\x20\x20\x20\x20\x20\x20\x20\x20','version','accessKey','\x20\x20locale:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','doctor','✗\x20Expired','1265175dzGOsA','\x20\x20\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20','padEnd','red','explicitAppName','\x20\x20apiDir:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Global:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','slice','unknown'];a75_0x2500=function(){return _0x57e551;};return a75_0x2500();}async function execute(_0x528633){const _0x1ae052=a75_0xd6d3,_0x8237be=GIT_COMMIT!==_0x1ae052(0x196)?VERSION+'\x20('+GIT_COMMIT+',\x20'+BUILD_TIME[_0x1ae052(0x195)](0x0,0xa)+')':VERSION,_0x124280=buildConfigFromFlags({}),_0x46bb1d=getCookie();console[_0x1ae052(0x166)](),console[_0x1ae052(0x166)](a75_0x2f4fdd[_0x1ae052(0x17a)](CLI_BIN_NAME+'\x20doctor')),console[_0x1ae052(0x166)](a75_0x2f4fdd['gray']('─'[_0x1ae052(0x180)](0x32))),console['log'](_0x1ae052(0x171)+_0x8237be),console['log']('\x20\x20Node:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+process[_0x1ae052(0x189)]),console['log'](_0x1ae052(0x188)+process['platform']+'\x20'+process[_0x1ae052(0x19a)]),console[_0x1ae052(0x166)](),console[_0x1ae052(0x166)](a75_0x2f4fdd['bold'](_0x1ae052(0x16d))),console[_0x1ae052(0x166)](a75_0x2f4fdd[_0x1ae052(0x183)]('\x20\x20─'[_0x1ae052(0x180)](0x1e)));const _0x11c15b=getGlobalConfigPath(),_0x28d99f=getProjectConfigPath();console[_0x1ae052(0x166)](_0x1ae052(0x194)+(_0x11c15b||a75_0x2f4fdd[_0x1ae052(0x183)](_0x1ae052(0x16a)))),console[_0x1ae052(0x166)](_0x1ae052(0x16e)+(_0x28d99f||a75_0x2f4fdd[_0x1ae052(0x183)](_0x1ae052(0x16a)))),console['log'](),console[_0x1ae052(0x166)](a75_0x2f4fdd[_0x1ae052(0x17a)]('\x20\x20Config\x20JSON')),console[_0x1ae052(0x166)](a75_0x2f4fdd[_0x1ae052(0x183)]('\x20\x20─'[_0x1ae052(0x180)](0x1e)));const _0x28dc4b=(_0x3470f0,_0x3ae9a8)=>{const _0x5229c7=_0x1ae052;if(!_0x3ae9a8){console['log']('\x20\x20'+_0x3470f0[_0x5229c7(0x190)](0x11)+'\x20'+a75_0x2f4fdd['gray']('(no\x20file)'));return;}const _0x3332d6=inspectCliConfigJsonFile(_0x3ae9a8);if(_0x3332d6['status']==='ok')console[_0x5229c7(0x166)]('\x20\x20'+_0x3470f0[_0x5229c7(0x190)](0x11)+'\x20'+a75_0x2f4fdd[_0x5229c7(0x1a0)]('✓\x20Valid\x20JSON'));else{if(_0x3332d6[_0x5229c7(0x175)]==='empty')console[_0x5229c7(0x166)]('\x20\x20'+_0x3470f0[_0x5229c7(0x190)](0x11)+'\x20'+a75_0x2f4fdd[_0x5229c7(0x198)](_0x5229c7(0x173)));else _0x3332d6[_0x5229c7(0x175)]===_0x5229c7(0x168)?console[_0x5229c7(0x166)]('\x20\x20'+_0x3470f0[_0x5229c7(0x190)](0x11)+'\x20'+a75_0x2f4fdd['gray']('(missing)')):(console[_0x5229c7(0x166)]('\x20\x20'+_0x3470f0[_0x5229c7(0x190)](0x11)+'\x20'+a75_0x2f4fdd[_0x5229c7(0x191)](_0x5229c7(0x169))),console[_0x5229c7(0x166)]('\x20\x20'+''[_0x5229c7(0x190)](0x11)+'\x20'+a75_0x2f4fdd[_0x5229c7(0x191)](_0x3332d6[_0x5229c7(0x1aa)])));}};_0x28dc4b(_0x1ae052(0x182),_0x11c15b),_0x28dc4b('Project',_0x28d99f),console[_0x1ae052(0x166)](),console[_0x1ae052(0x166)](a75_0x2f4fdd[_0x1ae052(0x17a)](_0x1ae052(0x19e))),console[_0x1ae052(0x166)](a75_0x2f4fdd['gray']('\x20\x20─'[_0x1ae052(0x180)](0x1e))),console[_0x1ae052(0x166)]('\x20\x20appCode:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x124280[_0x1ae052(0x1a7)]||a75_0x2f4fdd['red']('(not\x20set)'))),console[_0x1ae052(0x166)]('\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x124280[_0x1ae052(0x160)]),console[_0x1ae052(0x166)](_0x1ae052(0x18b)+_0x124280[_0x1ae052(0x199)]),console['log'](_0x1ae052(0x193)+_0x124280['apiDir']),console[_0x1ae052(0x166)](_0x1ae052(0x1ab)+(_0x124280[_0x1ae052(0x177)]||a75_0x2f4fdd[_0x1ae052(0x183)](_0x1ae052(0x17d)))),console['log'](_0x1ae052(0x17e)+(_0x124280[_0x1ae052(0x1a9)]||a75_0x2f4fdd[_0x1ae052(0x183)](_0x1ae052(0x17d)))),console[_0x1ae052(0x166)](_0x1ae052(0x19f)+(_0x124280[_0x1ae052(0x192)]||a75_0x2f4fdd[_0x1ae052(0x183)]('(none)'))),console[_0x1ae052(0x166)](_0x1ae052(0x15f)+(_0x124280[_0x1ae052(0x163)]||a75_0x2f4fdd['gray'](_0x1ae052(0x186)+DEFAULT_CONFIG_VALUES[_0x1ae052(0x163)]+')'))),console['log']('\x20\x20pageSize:\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x124280['pageSize']??a75_0x2f4fdd[_0x1ae052(0x183)]('(default)'))),console['log'](_0x1ae052(0x16c)+_0x124280[_0x1ae052(0x17b)]),console['log']('\x20\x20verbose:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x124280['verbose']),console[_0x1ae052(0x166)](_0x1ae052(0x15e)+(_0x124280['cookie']?a75_0x2f4fdd['green']('(set,\x20length='+_0x124280['cookie'][_0x1ae052(0x185)]+')'):_0x46bb1d?a75_0x2f4fdd['green'](_0x1ae052(0x167)+_0x46bb1d[_0x1ae052(0x185)]+')'):a75_0x2f4fdd['gray'](_0x1ae052(0x17d))));const _0x525750=Object['keys'](_0x124280[_0x1ae052(0x1a6)]);if(_0x525750[_0x1ae052(0x185)]>0x0){console[_0x1ae052(0x166)](),console[_0x1ae052(0x166)](a75_0x2f4fdd['bold'](_0x1ae052(0x17c))),console['log'](a75_0x2f4fdd[_0x1ae052(0x183)](_0x1ae052(0x164)['repeat'](0x1e)));for(const _0x2e00f9 of _0x525750){const _0x57a014=_0x124280['apps'][_0x2e00f9],_0x12567e=_0x2e00f9===_0x124280['defaultApp'],_0x32c460=_0x2e00f9===_0x124280[_0x1ae052(0x1a9)],_0x54078d=_0x32c460?a75_0x2f4fdd[_0x1ae052(0x1a0)](_0x1ae052(0x170)):'',_0x217067=_0x12567e?'\x20(default)':'';console[_0x1ae052(0x166)]('\x20\x20'+_0x2e00f9+_0x217067+_0x54078d),console[_0x1ae052(0x166)]('\x20\x20\x20\x20appcode:\x20\x20\x20\x20'+_0x57a014['appcode']);const _0x50ed9e=buildAppDoctorFields(_0x57a014,{'env':_0x124280['env'],'apiDir':_0x124280['raw'][_0x1ae052(0x1a5)]||DEFAULT_CONFIG_VALUES[_0x1ae052(0x1a5)],'cookie':_0x124280[_0x1ae052(0x19c)]||_0x46bb1d||undefined,'accessKey':_0x124280[_0x1ae052(0x18a)]});console[_0x1ae052(0x166)](_0x1ae052(0x18f)+_0x50ed9e[_0x1ae052(0x160)][_0x1ae052(0x174)]+'\x20\x20'+a75_0x2f4fdd[_0x1ae052(0x183)]('('+_0x50ed9e['env']['source']+')')),console[_0x1ae052(0x166)](_0x1ae052(0x16b)+_0x50ed9e['apiDir'][_0x1ae052(0x174)]+'\x20\x20'+a75_0x2f4fdd[_0x1ae052(0x183)]('('+_0x50ed9e['apiDir'][_0x1ae052(0x161)]+')'));const _0x533151=_0x50ed9e[_0x1ae052(0x19c)]['value']?a75_0x2f4fdd[_0x1ae052(0x1a0)](_0x1ae052(0x162)+_0x50ed9e[_0x1ae052(0x19c)][_0x1ae052(0x174)]['length']+')'):a75_0x2f4fdd[_0x1ae052(0x183)]('(none)');console[_0x1ae052(0x166)](_0x1ae052(0x181)+_0x533151+'\x20\x20'+a75_0x2f4fdd[_0x1ae052(0x183)]('('+_0x50ed9e[_0x1ae052(0x19c)][_0x1ae052(0x161)]+')'));const _0x8e7e21=_0x50ed9e[_0x1ae052(0x18a)][_0x1ae052(0x174)]?a75_0x2f4fdd[_0x1ae052(0x1a0)](_0x1ae052(0x162)+_0x50ed9e[_0x1ae052(0x18a)][_0x1ae052(0x174)][_0x1ae052(0x185)]+')'):a75_0x2f4fdd['gray'](_0x1ae052(0x17d));console['log'](_0x1ae052(0x176)+_0x8e7e21+'\x20\x20'+a75_0x2f4fdd[_0x1ae052(0x183)]('('+_0x50ed9e[_0x1ae052(0x18a)][_0x1ae052(0x161)]+')'));}}console[_0x1ae052(0x166)](),console[_0x1ae052(0x166)](a75_0x2f4fdd[_0x1ae052(0x17a)]('\x20\x20API\x20Endpoints')),console[_0x1ae052(0x166)](a75_0x2f4fdd[_0x1ae052(0x183)](_0x1ae052(0x164)[_0x1ae052(0x180)](0x1e))),console['log'](_0x1ae052(0x179)+getApiDomain()),console[_0x1ae052(0x166)]('\x20\x20userDomain:\x20\x20\x20\x20\x20\x20'+getUserDomain()),console[_0x1ae052(0x166)](_0x1ae052(0x1a1)+getRuntimeDomain()),console[_0x1ae052(0x166)](),console[_0x1ae052(0x166)](a75_0x2f4fdd[_0x1ae052(0x17a)]('\x20\x20Auth')),console[_0x1ae052(0x166)](a75_0x2f4fdd['gray'](_0x1ae052(0x164)['repeat'](0x1e)));if(_0x46bb1d){const _0x532996=await getIsSessionValid();console[_0x1ae052(0x166)](_0x1ae052(0x19d)+(_0x532996?a75_0x2f4fdd[_0x1ae052(0x1a0)]('✓\x20Valid'):a75_0x2f4fdd[_0x1ae052(0x191)](_0x1ae052(0x18d))));}else console['log']('\x20\x20Status:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a75_0x2f4fdd[_0x1ae052(0x191)]('✗\x20Not\x20logged\x20in'));return console[_0x1ae052(0x166)](),{'ok':!![]};}export const doctorDefinition={'service':a75_0x986a58(0x18c),'command':a75_0x986a58(0x1a8),'description':a75_0x986a58(0x184),'risk':a75_0x986a58(0x197),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],'execute':execute};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a76_0x1a2d(){const _0x51ff21=['appCode','str','\x20\x20Apps:\x20','\x20\x20Default:\x20','956934IvKkOZ','bool','write','\x20config','join','init','project','yes','Delegate\x20to\x20legacy\x20Ink\x20init\x20flow','nonInteractive','Use\x20`','.rabetbase.json\x20already\x20exists\x20in\x20current\x20directory.','\x20\x20Config:\x20','Write\x20to\x20global\x20config\x20instead\x20of\x20project','11ALuKbp','env','message','208VDNyjF','\x0a✓\x20Successfully\x20initialized\x20','3699804JoiMmR','appcode','105766pFtLlw','toLocaleString','production','38717MAxadq','Auto-confirm\x20prompts','2qEfHGm','cwd','defaultApp','flagMissing','Smart\x20init:\x20auto-detect,\x20upgrade,\x20or\x20select\x20app\x20from\x20platform','App\x20code\x20to\x20initialize\x20with','some','valid','检测到旧配置文件,正在自动升级...\x0a','975720NCLHZC','global','Usage:\x20','validation','map','1437330YEhpuY','24844YKSXed','Target\x20environment','boolean','log','\x20\x20Env:\x20','27SIuoib','15lojOQi','run','string'];a76_0x1a2d=function(){return _0x51ff21;};return a76_0x1a2d();}const a76_0x4aff77=a76_0x5acc;(function(_0x15c09d,_0x42b854){const _0x277763=a76_0x5acc,_0x2fe2be=_0x15c09d();while(!![]){try{const _0x3ba798=parseInt(_0x277763(0x210))/0x1*(parseInt(_0x277763(0x215))/0x2)+-parseInt(_0x277763(0x1fb))/0x3+-parseInt(_0x277763(0x1ee))/0x4*(-parseInt(_0x277763(0x1f4))/0x5)+parseInt(_0x277763(0x1ed))/0x6+-parseInt(_0x277763(0x213))/0x7*(-parseInt(_0x277763(0x20c))/0x8)+parseInt(_0x277763(0x1f3))/0x9*(parseInt(_0x277763(0x21e))/0xa)+-parseInt(_0x277763(0x209))/0xb*(parseInt(_0x277763(0x20e))/0xc);if(_0x3ba798===_0x42b854)break;else _0x2fe2be['push'](_0x2fe2be['shift']());}catch(_0x2da6d8){_0x2fe2be['push'](_0x2fe2be['shift']());}}}(a76_0x1a2d,0x2a47d));import{NEW_CONFIG_NAME,LEGACY_CONFIG_NAMES,writeConfigFile,resolveWriteConfigPath}from'../../context.js';import{upgradeApp}from'../../commands/project/upgrade.js';import{getCliVersion}from'../../utils/version.js';import{CliErrors}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';function a76_0x5acc(_0x1571de,_0x36042b){_0x1571de=_0x1571de-0x1ed;const _0x1a2d9a=a76_0x1a2d();let _0x5acc02=_0x1a2d9a[_0x1571de];return _0x5acc02;}import{RABETBASE_ENV_VALUES}from'../../constant/env.js';import{existsSync}from'node:fs';import{resolve}from'node:path';import{validateAppcode}from'../../commands/common/validate.js';import{promptCustomAppcode,selectMultipleApps}from'../../commands/common/app-selector.js';import{getCookie}from'../../auth/get-cookie.js';import{buildCanonicalProjectConfig}from'../../config/schema.js';function syntheticApp(_0x3f10ca){return{'appCode':_0x3f10ca,'appName':_0x3f10ca};}function writeInitConfig(_0x49f355,_0x4ffd33,_0x2fa0a5){const _0x169676=a76_0x5acc,_0xfc8930=resolveWriteConfigPath(_0x49f355),_0x4e8098=buildCanonicalProjectConfig({},{'appCodes':_0x4ffd33['map'](_0xeb11c=>_0xeb11c[_0x169676(0x1f7)]),'env':_0x2fa0a5,'metadata':{'version':getCliVersion(),'createdAt':new Date()[_0x169676(0x211)]()}});writeConfigFile(_0xfc8930,_0x4e8098);const _0x393ba4=_0x49f355===_0x169676(0x21f)?'global':'project';console[_0x169676(0x1f1)](_0x169676(0x20d)+_0x393ba4+_0x169676(0x1fe)),console[_0x169676(0x1f1)](_0x169676(0x1f9)+_0x4ffd33[_0x169676(0x222)](_0x13a535=>_0x13a535[_0x169676(0x1f7)])[_0x169676(0x1ff)](',\x20')),console['log'](_0x169676(0x1fa)+_0x4e8098[_0x169676(0x217)]),console['log'](_0x169676(0x1f2)+_0x4e8098['env']),console['log'](_0x169676(0x207)+_0xfc8930);}async function runSmartInit(_0x5ee56b){const _0x4f3014=a76_0x5acc,_0xe21640=process[_0x4f3014(0x216)](),_0x29cb01=_0x5ee56b[_0x4f3014(0x1fc)](_0x4f3014(0x21f))?_0x4f3014(0x21f):_0x4f3014(0x201),_0x46712d=_0x5ee56b['str'](_0x4f3014(0x20a))||_0x4f3014(0x212),_0x50bebf=_0x5ee56b[_0x4f3014(0x1f8)](_0x4f3014(0x20f))||undefined,_0x5724f9=_0x5ee56b['bool'](_0x4f3014(0x201));if(_0x5724f9){const {initConfig:_0x45341c}=await import('../../commands/project/init.js');return _0x45341c({'appcode':_0x50bebf,'env':_0x46712d,'autoYes':_0x5ee56b[_0x4f3014(0x1fc)](_0x4f3014(0x202))});}if(_0x29cb01==='project'){const _0x3eb9c9=existsSync(resolve(_0xe21640,NEW_CONFIG_NAME)),_0x1fe725=LEGACY_CONFIG_NAMES[_0x4f3014(0x21b)](_0x446b91=>existsSync(resolve(_0xe21640,_0x446b91)));if(_0x1fe725&&!_0x3eb9c9)return console[_0x4f3014(0x1f1)](_0x4f3014(0x21d)),upgradeApp(_0x5ee56b['nonInteractive'],{'yes':_0x5ee56b['bool'](_0x4f3014(0x202))});if(_0x3eb9c9)throw CliErrors['validation'](_0x4f3014(0x206),_0x4f3014(0x205)+CLI_BIN_NAME+'\x20project\x20upgrade`\x20to\x20migrate\x20from\x20legacy\x20config.');}if(_0x50bebf){const _0x2163ae=validateAppcode(_0x50bebf);if(!_0x2163ae[_0x4f3014(0x21c)])throw CliErrors[_0x4f3014(0x221)](_0x2163ae[_0x4f3014(0x20b)]);writeInitConfig(_0x29cb01,[syntheticApp(_0x50bebf)],_0x46712d);return;}if(_0x5ee56b[_0x4f3014(0x204)])throw CliErrors[_0x4f3014(0x218)](_0x4f3014(0x20f),_0x4f3014(0x220)+CLI_BIN_NAME+'\x20init\x20--appcode\x20<code>\x20[--env\x20<env>]');const _0xd978a7=getCookie(),_0x5e37a6=await selectMultipleApps(_0xd978a7),_0x13ac20=_0x5e37a6==='custom'?[syntheticApp(await promptCustomAppcode())]:_0x5e37a6;writeInitConfig(_0x29cb01,_0x13ac20,_0x46712d);}const initFlags=[{'name':'global','type':a76_0x4aff77(0x1f0),'description':a76_0x4aff77(0x208),'default':![]},{'name':'env','type':a76_0x4aff77(0x1f6),'description':a76_0x4aff77(0x1ef),'default':a76_0x4aff77(0x212),'enum':[...RABETBASE_ENV_VALUES]},{'name':'appcode','type':'string','description':a76_0x4aff77(0x21a)},{'name':a76_0x4aff77(0x201),'type':'boolean','description':a76_0x4aff77(0x203),'default':![]},{'name':a76_0x4aff77(0x202),'type':a76_0x4aff77(0x1f0),'description':a76_0x4aff77(0x214),'default':![]}];export const initDefinitions=[{'service':a76_0x4aff77(0x200),'command':a76_0x4aff77(0x1f5),'description':a76_0x4aff77(0x219),'risk':a76_0x4aff77(0x1fd),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':initFlags,async 'execute'(_0x4421f9){return await runSmartInit(_0x4421f9),{'ok':!![]};}}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a77_0x4abe(_0x833203,_0xf5d513){_0x833203=_0x833203-0x92;const _0x25dde5=a77_0x25dd();let _0x4abe4f=_0x25dde5[_0x833203];return _0x4abe4f;}(function(_0x5bdb71,_0x3d2da8){const _0x2c800e=a77_0x4abe,_0x29bfa8=_0x5bdb71();while(!![]){try{const _0x2e5d99=-parseInt(_0x2c800e(0x9a))/0x1*(-parseInt(_0x2c800e(0x9c))/0x2)+parseInt(_0x2c800e(0x99))/0x3+parseInt(_0x2c800e(0x96))/0x4*(-parseInt(_0x2c800e(0x98))/0x5)+-parseInt(_0x2c800e(0x97))/0x6*(-parseInt(_0x2c800e(0x95))/0x7)+parseInt(_0x2c800e(0x9b))/0x8+-parseInt(_0x2c800e(0x94))/0x9*(parseInt(_0x2c800e(0x93))/0xa)+-parseInt(_0x2c800e(0x92))/0xb;if(_0x2e5d99===_0x3d2da8)break;else _0x29bfa8['push'](_0x29bfa8['shift']());}catch(_0x36fa1b){_0x29bfa8['push'](_0x29bfa8['shift']());}}}(a77_0x25dd,0x41ba7));import{issueReport}from'../../commands/issue/report.js';function a77_0x25dd(){const _0x252089=['3844320EJCkOX','17806cgFIzz','12026443ppoaEr','10dIEiaT','548262kFiMBb','428036JSymOM','51988EDvEds','24kBbXWh','65ZegBuq','1293108lQrNwQ','49uwpRIH'];a77_0x25dd=function(){return _0x252089;};return a77_0x25dd();}export const issueDefinitions=[issueReport];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a78_0x3a9fde=a78_0x578f;function a78_0x578f(_0x5f5b68,_0x3dafa3){_0x5f5b68=_0x5f5b68-0xa0;const _0x1ed3b6=a78_0x1ed3();let _0x578fc7=_0x1ed3b6[_0x5f5b68];return _0x578fc7;}(function(_0xe6eeee,_0x383b3c){const _0x216469=a78_0x578f,_0x3d4d2e=_0xe6eeee();while(!![]){try{const _0x2b5e8c=-parseInt(_0x216469(0xbd))/0x1*(-parseInt(_0x216469(0xcc))/0x2)+parseInt(_0x216469(0xbc))/0x3*(-parseInt(_0x216469(0xb2))/0x4)+parseInt(_0x216469(0xc2))/0x5*(-parseInt(_0x216469(0xcd))/0x6)+parseInt(_0x216469(0xc7))/0x7*(parseInt(_0x216469(0xb1))/0x8)+parseInt(_0x216469(0xa3))/0x9+-parseInt(_0x216469(0xa7))/0xa*(parseInt(_0x216469(0xb8))/0xb)+parseInt(_0x216469(0xb7))/0xc;if(_0x2b5e8c===_0x383b3c)break;else _0x3d4d2e['push'](_0x3d4d2e['shift']());}catch(_0x3b66dc){_0x3d4d2e['push'](_0x3d4d2e['shift']());}}}(a78_0x1ed3,0x46917));import{existsSync}from'node:fs';import{readFile}from'node:fs/promises';import{resolve}from'node:path';import{CliErrors}from'../../errors.js';import{PLATFORM_ISSUE_SPAN_NAME,PLATFORM_ISSUE_TRACE_NAME,sendPlatformIssueCollectLog}from'../../telemetry/send-platform-issue-collect-log.js';const DESCRIPTION_FILE_FLAG=a78_0x3a9fde(0xbf);function a78_0x1ed3(){const _0x37096b=['description-file','issue.title','issue.description','80MwtucS','Provide\x20exactly\x20one\x20of\x20--description\x20or\x20--description-file.','inline','utf8','otel://','35539SeFHZJ','join','descriptionSource','Inline\x20markdown\x20issue\x20description\x20(alternative\x20to\x20--description-file)','string','82UhwVis','171474taglen','report','Report\x20a\x20platform\x20issue\x20with\x20title\x20and\x20markdown\x20context','Send\x20platform\x20issue\x20collect\x20log\x20via\x20the\x20CLI\x20telemetry\x20adapter','Platform\x20issue\x20reported','descriptionSource:\x20','3798756yDbSrT','filter','description','Failed\x20to\x20report\x20platform\x20issue:\x20','420PMYCEH','apiError','write','Write\x20markdown\x20context\x20into\x20the\x20file\x20before\x20retrying.','Path\x20to\x20a\x20markdown\x20file\x20whose\x20contents\x20become\x20issue.description','descriptionFilePath','Provide\x20non-empty\x20markdown\x20content\x20via\x20--description\x20or\x20--description-file.','One-line\x20issue\x20summary','Issue\x20description\x20file\x20is\x20empty:\x20','flagMissing','104IZvkAl','12CubneS','title','validation','file','Check\x20telemetry\x20configuration\x20and\x20network\x20reachability,\x20then\x20retry.','12321336igknio','139909YUkhUU','str','File\x20not\x20found:\x20','length','409137UgQLCc','4263VdocVn','trim'];a78_0x1ed3=function(){return _0x37096b;};return a78_0x1ed3();}export const issueReport={'service':'issue','command':a78_0x3a9fde(0xce),'description':a78_0x3a9fde(0xcf),'risk':a78_0x3a9fde(0xa9),'requiresAuth':![],'requiresAppCode':![],'defaultOutputFormat':'compress','flags':[{'name':a78_0x3a9fde(0xb3),'type':a78_0x3a9fde(0xcb),'required':!![],'description':a78_0x3a9fde(0xae)},{'name':a78_0x3a9fde(0xa5),'type':a78_0x3a9fde(0xcb),'description':a78_0x3a9fde(0xca)},{'name':DESCRIPTION_FILE_FLAG,'type':a78_0x3a9fde(0xcb),'description':a78_0x3a9fde(0xab)}],async 'validate'(_0x13422b){const _0x156d29=a78_0x3a9fde,_0x400845=_0x13422b[_0x156d29(0xb9)](_0x156d29(0xb3))[_0x156d29(0xbe)](),_0x203550=_0x13422b[_0x156d29(0xb9)](_0x156d29(0xa5))['trim'](),_0x51b4b7=_0x13422b[_0x156d29(0xb9)](DESCRIPTION_FILE_FLAG)[_0x156d29(0xbe)]();if(!_0x400845)throw CliErrors[_0x156d29(0xb0)](_0x156d29(0xb3),'Provide\x20--title\x20with\x20a\x20one-line\x20issue\x20summary.');const _0x4a406c=_0x203550[_0x156d29(0xbb)]>0x0,_0x1c4212=_0x51b4b7[_0x156d29(0xbb)]>0x0;if(_0x4a406c===_0x1c4212)throw CliErrors[_0x156d29(0xb4)](_0x156d29(0xc3),'Use\x20--description\x20for\x20short\x20markdown\x20text,\x20or\x20--description-file\x20for\x20full\x20issue\x20context.');if(_0x1c4212){const _0x1cc7d7=resolve(process['cwd'](),_0x51b4b7);if(!existsSync(_0x1cc7d7))throw CliErrors['validation'](_0x156d29(0xba)+_0x1cc7d7);}},async 'dryRun'(_0x5e8150){const _0x4db13a=a78_0x3a9fde,_0x229b3c=await prepareIssueReport(_0x5e8150);return{'method':'POST','url':_0x4db13a(0xc6)+PLATFORM_ISSUE_TRACE_NAME+'/'+PLATFORM_ISSUE_SPAN_NAME,'body':{'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x229b3c[_0x4db13a(0xb3)],'issue.description':_0x229b3c[_0x4db13a(0xa5)]}},'description':[_0x4db13a(0xa0),_0x4db13a(0xa2)+_0x229b3c[_0x4db13a(0xc9)],_0x229b3c[_0x4db13a(0xac)]?'descriptionFile:\x20'+_0x229b3c[_0x4db13a(0xac)]:null][_0x4db13a(0xa4)](Boolean)[_0x4db13a(0xc8)]('\x0a')};},async 'execute'(_0x23433e){const _0x3c42a7=a78_0x3a9fde,_0x2d5c8a=await prepareIssueReport(_0x23433e);try{await sendPlatformIssueCollectLog({'title':_0x2d5c8a['title'],'description':_0x2d5c8a['description']});}catch(_0xfea4ca){throw CliErrors[_0x3c42a7(0xa8)](_0x3c42a7(0xa6)+(_0xfea4ca instanceof Error?_0xfea4ca['message']:String(_0xfea4ca)),_0x3c42a7(0xb6));}return{'ok':!![],'message':_0x3c42a7(0xa1),'data':{'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logDataKeys':[_0x3c42a7(0xc0),_0x3c42a7(0xc1)],'issue':{'title':_0x2d5c8a[_0x3c42a7(0xb3)],'descriptionLength':_0x2d5c8a[_0x3c42a7(0xa5)]['length'],'descriptionSource':_0x2d5c8a[_0x3c42a7(0xc9)],..._0x2d5c8a[_0x3c42a7(0xac)]?{'descriptionFile':_0x2d5c8a[_0x3c42a7(0xac)]}:{}}}};}};async function prepareIssueReport(_0x4127e1){const _0x164b84=a78_0x3a9fde,_0x3dede2=_0x4127e1[_0x164b84(0xb9)](_0x164b84(0xb3))[_0x164b84(0xbe)](),_0x5d22a=_0x4127e1[_0x164b84(0xb9)]('description'),_0x5acead=_0x4127e1['str'](DESCRIPTION_FILE_FLAG)['trim']();if(!_0x5acead){const _0x310816=_0x5d22a;if(!_0x310816[_0x164b84(0xbe)]())throw CliErrors[_0x164b84(0xb4)]('Issue\x20description\x20cannot\x20be\x20empty.',_0x164b84(0xad));return{'title':_0x3dede2,'description':_0x310816,'descriptionSource':_0x164b84(0xc4)};}const _0x3da6ac=resolve(process['cwd'](),_0x5acead),_0x4fda8f=await readFile(_0x3da6ac,_0x164b84(0xc5));if(!_0x4fda8f[_0x164b84(0xbe)]())throw CliErrors[_0x164b84(0xb4)](_0x164b84(0xaf)+_0x3da6ac,_0x164b84(0xaa));return{'title':_0x3dede2,'description':_0x4fda8f,'descriptionSource':_0x164b84(0xb5),'descriptionFilePath':_0x3da6ac};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79_0x5e15cd=a79_0x28f6;(function(_0x3f9643,_0x498161){const _0x2b31dd=a79_0x28f6,_0x323286=_0x3f9643();while(!![]){try{const _0x3279b0=parseInt(_0x2b31dd(0xb8))/0x1+parseInt(_0x2b31dd(0xad))/0x2*(-parseInt(_0x2b31dd(0xbd))/0x3)+-parseInt(_0x2b31dd(0xb7))/0x4*(-parseInt(_0x2b31dd(0xcf))/0x5)+-parseInt(_0x2b31dd(0xcc))/0x6*(parseInt(_0x2b31dd(0xba))/0x7)+parseInt(_0x2b31dd(0xbb))/0x8+parseInt(_0x2b31dd(0xb9))/0x9+parseInt(_0x2b31dd(0xb2))/0xa*(-parseInt(_0x2b31dd(0xce))/0xb);if(_0x3279b0===_0x498161)break;else _0x323286['push'](_0x323286['shift']());}catch(_0x2347d4){_0x323286['push'](_0x323286['shift']());}}}(a79_0xd954,0x91bfc));import{logger}from'../../utils/logger.js';function printLogs(_0x943380){const _0xb09d1=a79_0x28f6;if(_0x943380[_0xb09d1(0xcd)]===0x0){console[_0xb09d1(0xb0)]('*\x20No\x20logs\x20found');return;}console[_0xb09d1(0xb0)](_0xb09d1(0xbf)),_0x943380['forEach']((_0x2b873c,_0x3725e4)=>{const _0x5ef7e0=_0xb09d1,_0x1c8d72=new Date(_0x2b873c[_0x5ef7e0(0xae)])['toLocaleString'](_0x5ef7e0(0xb6)),_0x26634f=_0x2b873c[_0x5ef7e0(0xc1)]===_0x5ef7e0(0xaf)?'√':_0x2b873c[_0x5ef7e0(0xc1)]===_0x5ef7e0(0xb4)?'×':_0x2b873c[_0x5ef7e0(0xc1)]===_0x5ef7e0(0xb1)?'!':'i';console[_0x5ef7e0(0xb0)](_0x3725e4+0x1+'.\x20'+_0x26634f+'\x20['+_0x2b873c[_0x5ef7e0(0xcb)]+']\x20'+_0x2b873c[_0x5ef7e0(0xc9)]),console[_0x5ef7e0(0xb0)](_0x5ef7e0(0xb3)+_0x1c8d72),_0x2b873c[_0x5ef7e0(0xc7)]&&console[_0x5ef7e0(0xb0)]('\x20\x20\x20Duration:\x20'+_0x2b873c[_0x5ef7e0(0xc7)]+'ms'),_0x2b873c[_0x5ef7e0(0xbe)]&&Object[_0x5ef7e0(0xbc)](_0x2b873c['details'])[_0x5ef7e0(0xcd)]>0x0&&console[_0x5ef7e0(0xb0)](_0x5ef7e0(0xac)+JSON[_0x5ef7e0(0xc4)](_0x2b873c[_0x5ef7e0(0xbe)],null,0x2)),console[_0x5ef7e0(0xb0)]('');});}function a79_0x28f6(_0x35c8d6,_0x85cb5c){_0x35c8d6=_0x35c8d6-0xac;const _0xd95400=a79_0xd954();let _0x28f678=_0xd95400[_0x35c8d6];return _0x28f678;}function a79_0xd954(){const _0x32b95c=['message','clearLogs','command','8454IxjLNB','length','11qzMgjf','335GrFGmF','\x20\x20\x20Details:\x20','2PAzFQA','timestamp','success','log','warn','10587050haOZSg','\x20\x20\x20Time:\x20','error','View\x20command\x20history\x20logs','en-US','20044ESbwlL','523324gwFULQ','10143234pRhIOu','2233ROfLoP','3215392vHrQCg','keys','848541MaExVJ','details','*\x20Lovrabet\x20CLI\x20logs:\x0a','show','level','*\x20Logs\x20cleared','write','stringify','clear','logs','duration','read'];a79_0xd954=function(){return _0x32b95c;};return a79_0xd954();}export const logsDefinitions=[{'service':a79_0x5e15cd(0xc6),'command':a79_0x5e15cd(0xc0),'description':a79_0x5e15cd(0xb5),'risk':a79_0x5e15cd(0xc8),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x4280c6){return printLogs(logger['readLogs']()),{'ok':!![]};}},{'service':a79_0x5e15cd(0xc6),'command':a79_0x5e15cd(0xc5),'description':'Clear\x20command\x20history\x20logs','risk':a79_0x5e15cd(0xc3),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x509f6c){const _0x50e910=a79_0x5e15cd;return logger[_0x50e910(0xca)](),console[_0x50e910(0xb0)](_0x50e910(0xc2)),{'ok':!![]};}}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1da663,_0x32d374){const _0x26734b=a80_0x694c,_0x4c8f87=_0x1da663();while(!![]){try{const _0x418b4f=parseInt(_0x26734b(0xd5))/0x1*(-parseInt(_0x26734b(0xda))/0x2)+parseInt(_0x26734b(0xd9))/0x3*(parseInt(_0x26734b(0xdf))/0x4)+-parseInt(_0x26734b(0xd8))/0x5*(-parseInt(_0x26734b(0xe0))/0x6)+parseInt(_0x26734b(0xd6))/0x7+parseInt(_0x26734b(0xde))/0x8*(parseInt(_0x26734b(0xdd))/0x9)+parseInt(_0x26734b(0xd4))/0xa*(-parseInt(_0x26734b(0xdb))/0xb)+-parseInt(_0x26734b(0xd7))/0xc*(parseInt(_0x26734b(0xdc))/0xd);if(_0x418b4f===_0x32d374)break;else _0x4c8f87['push'](_0x4c8f87['shift']());}catch(_0x1335ea){_0x4c8f87['push'](_0x4c8f87['shift']());}}}(a80_0x3ca0,0x2b63a));import{menuSync}from'../../commands/menu/sync.js';import{menuUpdate}from'../../commands/menu/update.js';function a80_0x3ca0(){const _0xf5addd=['1323704kYnuNL','4lDclTv','6SSEfTx','90oUwkLw','5FgfESl','37226QItkoT','1416AITaLh','894935LsfKmV','1026252MKSyxq','139598zWvRnx','294888uocrVE','9841jtZbrw','18QrXBWu'];a80_0x3ca0=function(){return _0xf5addd;};return a80_0x3ca0();}function a80_0x694c(_0x5c9a14,_0x118e0b){_0x5c9a14=_0x5c9a14-0xd4;const _0x3ca0bf=a80_0x3ca0();let _0x694c0e=_0x3ca0bf[_0x5c9a14];return _0x694c0e;}export const menuDefinitions=[menuSync,menuUpdate];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a81_0x5772(){const _0x381b87=['10097860sdOYrS','146063bVmnJv','5OBDtEv','Platform','451986OBlQlB','17721NdYuom','\x20\x20All\x20local\x20pages\x20are\x20already\x20on\x20platform.','744oqwxKB','online','\x20\x20\x20\x20JS:\x20\x20','Menu\x20Name','907924JaEaCi','local','\x20\x20\x20\x20CSS:\x20','\x20\x20Affected\x20menus:\x20','628944DUnImA','showOnline','\x20menu(s)\x20will\x20be\x20updated\x20with\x20new\x20assets:','length','label','join','(unchanged)','1829660JYVfXU','repeat','2wVZTXB','max','map','\x20\x20\x20\x20•\x20','push','test','\x20page(s)\x20will\x20be\x20created\x20on\x20platform:'];a81_0x5772=function(){return _0x381b87;};return a81_0x5772();}(function(_0x1786a3,_0x28b529){const _0x403b30=a81_0x3f0b,_0x2ddfee=_0x1786a3();while(!![]){try{const _0x233478=parseInt(_0x403b30(0x160))/0x1*(-parseInt(_0x403b30(0x158))/0x2)+-parseInt(_0x403b30(0x163))/0x3+parseInt(_0x403b30(0x16a))/0x4*(-parseInt(_0x403b30(0x161))/0x5)+parseInt(_0x403b30(0x14f))/0x6+-parseInt(_0x403b30(0x156))/0x7+parseInt(_0x403b30(0x166))/0x8*(-parseInt(_0x403b30(0x164))/0x9)+parseInt(_0x403b30(0x15f))/0xa;if(_0x233478===_0x28b529)break;else _0x2ddfee['push'](_0x2ddfee['shift']());}catch(_0x374599){_0x2ddfee['push'](_0x2ddfee['shift']());}}}(a81_0x5772,0x23be7));function strWidth(_0x4f2d6f){const _0x3a282a=a81_0x3f0b;let _0x51df04=0x0;for(const _0xcc9598 of _0x4f2d6f){_0x51df04+=/[\u4e00-\u9fa5]/[_0x3a282a(0x15d)](_0xcc9598)?0x2:0x1;}return _0x51df04;}function padRight(_0x407fa5,_0x5e5f25){const _0x579253=a81_0x3f0b,_0xde14f4=strWidth(_0x407fa5);return _0x407fa5+'\x20'[_0x579253(0x157)](Math[_0x579253(0x159)](0x0,_0x5e5f25-_0xde14f4));}export function renderCompareTable(_0x5f4509,_0x251dce={}){const _0x9a5d88=a81_0x3f0b;if(_0x5f4509[_0x9a5d88(0x152)]===0x0)return'';const _0x573136=_0x251dce[_0x9a5d88(0x150)]??!![],_0x10f7a7=Math[_0x9a5d88(0x159)](0x1e,..._0x5f4509[_0x9a5d88(0x15a)](_0x43c13a=>strWidth(_0x43c13a[_0x9a5d88(0x153)]))),_0x263abd=0x4,_0x2e0734=[],_0x2a2643='\x20\x20'+padRight(_0x9a5d88(0x169),_0x10f7a7),_0x42d5c4=padRight('Local',_0x263abd),_0x325586=_0x573136?'\x20\x20'+padRight(_0x9a5d88(0x162),_0x263abd):'';_0x2e0734['push'](_0x2a2643+'\x20\x20'+_0x42d5c4+(_0x573136?_0x325586:'')),_0x2e0734[_0x9a5d88(0x15c)]('\x20\x20'+'─'[_0x9a5d88(0x157)](_0x10f7a7)+'\x20\x20'+'─'['repeat'](_0x263abd)+(_0x573136?'\x20\x20'+'─'['repeat'](_0x263abd):''));for(const _0x66ba54 of _0x5f4509){const _0x4c27ff=padRight(_0x66ba54[_0x9a5d88(0x153)],_0x10f7a7),_0x4f7495=_0x66ba54[_0x9a5d88(0x16b)]?'✓':'✗',_0x5448ac=padRight(_0x4f7495,_0x263abd);let _0x475e3b='\x20\x20'+_0x4c27ff+'\x20\x20'+_0x5448ac;if(_0x573136){const _0x57b274=_0x66ba54[_0x9a5d88(0x167)]?'✓':'✗';_0x475e3b+='\x20\x20'+padRight(_0x57b274,_0x263abd);}_0x2e0734[_0x9a5d88(0x15c)](_0x475e3b);}return _0x2e0734['join']('\x0a');}export function renderSyncSummary(_0x872cbd,_0x22c8a4){const _0x52f56a=a81_0x3f0b;if(_0x872cbd['length']===0x0)return _0x22c8a4?_0x52f56a(0x165):'\x20\x20No\x20pages\x20to\x20sync.';const _0x2675a1=['\x20\x20'+_0x872cbd['length']+_0x52f56a(0x15e)];for(const _0x5790a9 of _0x872cbd){_0x2675a1['push'](_0x52f56a(0x15b)+_0x5790a9[_0x52f56a(0x153)]+'\x20('+_0x5790a9['path']+')');}return _0x2675a1[_0x52f56a(0x154)]('\x0a');}function a81_0x3f0b(_0x2f3f68,_0x38d8ba){_0x2f3f68=_0x2f3f68-0x14e;const _0x577233=a81_0x5772();let _0x3f0b7e=_0x577233[_0x2f3f68];return _0x3f0b7e;}export function renderUpdateSummary(_0xc8a06c,_0x297a39){const _0x234e40=a81_0x3f0b;if(_0xc8a06c[_0x234e40(0x152)]===0x0)return'\x20\x20No\x20menus\x20with\x20existing\x20resources\x20found.';const _0xea51c4=['\x20\x20'+_0xc8a06c[_0x234e40(0x152)]+_0x234e40(0x151),_0x234e40(0x168)+(_0x297a39[0x0]??_0x234e40(0x155)),_0x234e40(0x16c)+(_0x297a39[0x1]??_0x234e40(0x155)),'',_0x234e40(0x14e)+_0xc8a06c[_0x234e40(0x154)](',\x20')];return _0xea51c4[_0x234e40(0x154)]('\x0a');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1b45e9,_0x511dd5){var _0x298a16=a82_0x3ef2,_0xf094a5=_0x1b45e9();while(!![]){try{var _0x25f115=-parseInt(_0x298a16(0x1ab))/0x1*(-parseInt(_0x298a16(0x1ae))/0x2)+parseInt(_0x298a16(0x1ac))/0x3*(parseInt(_0x298a16(0x1a9))/0x4)+parseInt(_0x298a16(0x1b0))/0x5*(-parseInt(_0x298a16(0x1b3))/0x6)+-parseInt(_0x298a16(0x1b2))/0x7*(-parseInt(_0x298a16(0x1aa))/0x8)+-parseInt(_0x298a16(0x1af))/0x9*(parseInt(_0x298a16(0x1ad))/0xa)+-parseInt(_0x298a16(0x1b5))/0xb*(parseInt(_0x298a16(0x1b1))/0xc)+parseInt(_0x298a16(0x1b4))/0xd;if(_0x25f115===_0x511dd5)break;else _0xf094a5['push'](_0xf094a5['shift']());}catch(_0x3c5448){_0xf094a5['push'](_0xf094a5['shift']());}}}(a82_0x2ef8,0xdbc87));export*from'../../../commands/menu/shared/types.js';export*from'../../../commands/menu/shared/logic.js';function a82_0x2ef8(){var _0x3352ac=['2384MCruKz','22uHsXVi','1204506LUEzMV','3962950UHYJut','42638HNdlZQ','9nohJdV','21190TmQUeq','12QWogDC','16373spEkOv','2106fbSJVO','30482543KLEKTA','12411179hvikIg','4czxHvt'];a82_0x2ef8=function(){return _0x3352ac;};return a82_0x2ef8();}export*from'../../../commands/menu/shared/compare-table.js';export*from'../../../commands/menu/shared/inquirer.js';function a82_0x3ef2(_0x31c8ad,_0x2e5212){_0x31c8ad=_0x31c8ad-0x1a9;var _0x2ef8cf=a82_0x2ef8();var _0x3ef2c7=_0x2ef8cf[_0x31c8ad];return _0x3ef2c7;}export*from'../../../commands/menu/shared/valid-url.js';export*from'../../../commands/menu/shared/local-pages.js';export*from'../../../commands/menu/shared/service.js';export*from'../../../commands/menu/shared/sync-core.js';export*from'../../../commands/menu/shared/update-core.js';
|