@lovrabet/lovrabet-cli 2.1.14 → 2.1.15

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.
Files changed (120) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/artifact/index.js +1 -1
  12. package/lib/commands/auth/index.js +1 -1
  13. package/lib/commands/auth/prompt.js +1 -1
  14. package/lib/commands/bff/detail.js +1 -1
  15. package/lib/commands/bff/exec.js +1 -1
  16. package/lib/commands/bff/index.js +1 -1
  17. package/lib/commands/cli-skill/index.js +1 -1
  18. package/lib/commands/common/config-policy.js +1 -1
  19. package/lib/commands/common/constraints.js +1 -1
  20. package/lib/commands/common/flags.js +1 -1
  21. package/lib/commands/common/local-file.js +1 -1
  22. package/lib/commands/config/definitions.js +1 -1
  23. package/lib/commands/config/shared.js +1 -1
  24. package/lib/commands/data/index.js +1 -1
  25. package/lib/commands/dataset/detail.js +1 -1
  26. package/lib/commands/dataset/index.js +1 -1
  27. package/lib/commands/dataset/list.js +1 -1
  28. package/lib/commands/dataset/sdk-doc.js +1 -1
  29. package/lib/commands/doctor.js +1 -1
  30. package/lib/commands/file/index.js +1 -1
  31. package/lib/commands/init.js +1 -1
  32. package/lib/commands/kb/index.js +1 -1
  33. package/lib/commands/logs/index.js +1 -1
  34. package/lib/commands/ocr/index.js +1 -1
  35. package/lib/commands/personal-bff/index.js +1 -1
  36. package/lib/commands/registry.js +1 -1
  37. package/lib/commands/schema.js +1 -1
  38. package/lib/commands/service/dynamic.js +1 -1
  39. package/lib/commands/service/function-name-adapter.js +1 -1
  40. package/lib/commands/service/index.js +1 -1
  41. package/lib/commands/service/registry.js +1 -1
  42. package/lib/commands/skill/commands/create.js +1 -1
  43. package/lib/commands/skill/commands/install.js +1 -1
  44. package/lib/commands/skill/commands/list.js +1 -1
  45. package/lib/commands/skill/commands/push.js +1 -1
  46. package/lib/commands/skill/commands/validate.js +1 -1
  47. package/lib/commands/skill/flags.js +1 -1
  48. package/lib/commands/skill/index.js +1 -1
  49. package/lib/commands/skill/manifest-helpers.js +1 -1
  50. package/lib/commands/skill/push-execute.js +1 -1
  51. package/lib/commands/skill/push-flow-helpers.js +1 -1
  52. package/lib/commands/skill/push-retarget.js +1 -1
  53. package/lib/commands/skill/scopes.js +1 -1
  54. package/lib/commands/skill/summary.js +1 -1
  55. package/lib/commands/skill/templates.js +1 -1
  56. package/lib/commands/skill/validate.js +1 -1
  57. package/lib/commands/sql/detail.js +1 -1
  58. package/lib/commands/sql/exec.js +1 -1
  59. package/lib/commands/sql/index.js +1 -1
  60. package/lib/commands/update.js +1 -1
  61. package/lib/commands/workspace/index.js +1 -1
  62. package/lib/config/schema.js +1 -1
  63. package/lib/constant/app.js +1 -1
  64. package/lib/constant/auth-mode.js +1 -1
  65. package/lib/constant/cli.js +1 -1
  66. package/lib/constant/defaults.js +1 -1
  67. package/lib/constant/distribution.js +1 -1
  68. package/lib/constant/domain.js +1 -1
  69. package/lib/constant/env.js +1 -1
  70. package/lib/constant/output.js +1 -1
  71. package/lib/constant/product.js +1 -1
  72. package/lib/constant/risk.js +1 -1
  73. package/lib/constant/url.js +1 -1
  74. package/lib/context.js +1 -1
  75. package/lib/core/api-client.js +1 -1
  76. package/lib/core/db-resolver.js +1 -1
  77. package/lib/core/sdk-client.js +1 -1
  78. package/lib/errors.js +1 -1
  79. package/lib/framework/build-all-flags.js +1 -1
  80. package/lib/framework/dryrun.js +1 -1
  81. package/lib/framework/flags.js +1 -1
  82. package/lib/framework/help.js +1 -1
  83. package/lib/framework/index.js +1 -1
  84. package/lib/framework/output.js +1 -1
  85. package/lib/framework/preparse.js +1 -1
  86. package/lib/framework/rate-limit.js +1 -1
  87. package/lib/framework/response.js +1 -1
  88. package/lib/framework/runner-confirmation.js +1 -1
  89. package/lib/framework/runner-error.js +1 -1
  90. package/lib/framework/runner.js +1 -1
  91. package/lib/framework/schema-export.js +1 -1
  92. package/lib/framework/service-order.js +1 -1
  93. package/lib/framework/types.js +1 -1
  94. package/lib/generated/build-info.js +1 -1
  95. package/lib/help.js +1 -1
  96. package/lib/skills/npx-skills-add.js +1 -1
  97. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  98. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  99. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  100. package/lib/skills/runtime-skill-sync/links.js +1 -1
  101. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  102. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  103. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  104. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  105. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  106. package/lib/skills/runtime-skill-sync/push.js +1 -1
  107. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  108. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  109. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  110. package/lib/skills/runtime-skill-sync.js +1 -1
  111. package/lib/utils/apply-jq-filter.js +1 -1
  112. package/lib/utils/logger.js +1 -1
  113. package/lib/utils/lossless-json.js +1 -1
  114. package/lib/utils/params.js +1 -1
  115. package/lib/utils/platform.js +1 -1
  116. package/lib/utils/update-notice.js +1 -1
  117. package/lib/utils/version.js +1 -1
  118. package/lib/utils/write-cli-side-channel.js +1 -1
  119. package/package.json +1 -1
  120. package/lib/commands/app-config/shared.js +0 -1
@@ -1 +1 @@
1
- const a55_0x89523f=a55_0x4526;(function(_0x5a3fe4,_0x430cdd){const _0x14103e=a55_0x4526,_0x34c65b=_0x5a3fe4();while(!![]){try{const _0xbbc078=-parseInt(_0x14103e(0x180))/0x1*(-parseInt(_0x14103e(0x19a))/0x2)+-parseInt(_0x14103e(0x17d))/0x3+-parseInt(_0x14103e(0x18f))/0x4*(-parseInt(_0x14103e(0x194))/0x5)+parseInt(_0x14103e(0x19f))/0x6+parseInt(_0x14103e(0x18c))/0x7+-parseInt(_0x14103e(0x181))/0x8+-parseInt(_0x14103e(0x19e))/0x9*(parseInt(_0x14103e(0x1a1))/0xa);if(_0xbbc078===_0x430cdd)break;else _0x34c65b['push'](_0x34c65b['shift']());}catch(_0xc4028f){_0x34c65b['push'](_0x34c65b['shift']());}}}(a55_0x301f,0x44bac));function a55_0x301f(){const _0x5d7841=['\x0adescription:\x20\x22【填写模型触发语义:用户在什么场景应使用本\x20Skill、不要使用的边界和关键词】\x22\x0a#\x20example:\x20\x22<填写一句用户可以直接说出的最简触发话术>\x22\x0ametadata:\x0a\x20\x20type:\x20','85448FloHWX','---\x0aname:\x20','.\x20Use\x20lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens.','1.\x20dry-run:【填写预览入口、影响范围和差异摘要;不得写入业务数据】\x0a2.\x20用户确认:【填写确认语义、目标对象、数量、风险和操作者责任】\x0a3.\x20confirmed\x20写入:【填写确认后的写入入口和幂等/防重复要求】\x0a4.\x20只读核对:【填写写入后的查询核对、差异展示和结果链接】\x0a5.\x20checkpoint:【填写失败恢复、重试条件和人工接管方式】','Use\x20lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens,\x20for\x20example\x20invoice-export.','125IbDXBS','##\x20业务状态流转\x0a\x0a【填写本\x20Skill\x20的前置业务状态、允许动作、目标业务状态、fromStatus\x20->\x20toStatus\x20预览、写入后读回核对,以及\x20unknown\x20/\x20needs_manual_check\x20处理。状态迁移合法性必须由业务\x20BFF、Lovrabet\x20平台命令或服务端接口判断,Skill\x20不作为状态事实源。】','1.\x20受控模板预览:【填写待维护内容、影响范围和预览方式】\x0a2.\x20用户确认:【填写确认信息和不可省略的人工判断点】\x0a3.\x20受控维护:【填写确认后的维护步骤和记录方式】\x0a4.\x20只读核对:【填写维护后的核对入口、差异和回滚/修正方式】','SKILL.md','trainer','test','50iTtCwF','1.\x20只读查询:【填写查询入口、过滤条件和权限边界】\x0a2.\x20业务汇总:【填写统计口径、字段解释和异常提示】\x0a3.\x20查看链接:【填写可供运营人员复核的记录、页面或报告链接】\x0a4.\x20禁止写入:不得创建、更新、删除或触发会改变业务状态的动作。','validation','\x0a\x0a##\x20展示规范\x0a\x0a【填写面向运营人员的展示字段、差异摘要、成功/失败状态和人工处理项;最终输出必须按\x20references/output-contract.md\x20的\x20status\x20/\x20mode\x20/\x20summary\x20/\x20errors\x20/\x20nextActions\x20返回,不能把\x20unknown、partial_success、failed\x20或\x20needs_manual_check\x20包装为\x20success。】\x0a\x0a##\x20失败恢复\x0a\x0a【填写失败后的\x20checkpoint、重试条件、人工接管方式和避免重复写入的核对步骤】\x0a','1863nbAaiU','1293420uooUHU','\x20的最终回复必须让运营人员能判断:是否执行、影响了什么、如何复核、失败后下一步做什么。\x0a\x0a##\x20状态枚举\x0a\x0astatus:\x20success\x20|\x20no_op\x20|\x20partial_success\x20|\x20blocked\x20|\x20failed\x20|\x20needs_manual_check\x0a\x0a-\x20success:动作已完成,且关键结果已核对。\x0a-\x20no_op:没有符合条件的对象或无需变更。\x0a-\x20partial_success:部分对象完成,未完成对象必须进入\x20errors\x20和\x20nextActions。\x0a-\x20blocked:缺少输入、权限、确认或平台能力,无法继续。\x0a-\x20failed:执行失败,必须说明失败阶段、错误和恢复方式。\x0a-\x20needs_manual_check:读回异常、状态未知或人工判断缺失。\x0a\x0aunknown、partial_success、failed、needs_manual_check\x20不能包装为\x20success。\x0a\x0a##\x20输出模式\x0a\x0amode:\x20dry_run\x20|\x20confirmed\x20|\x20read_only\x0a\x0a-\x20dry_run:只展示预览、影响范围和差异,不写入业务数据。\x0a-\x20confirmed:用户明确确认后的执行模式;写入后必须读回核对。\x0a-\x20read_only:只查询、汇总或核对,不触发写入。\x0a\x0a##\x20必填字段\x0a\x0a-\x20status\x0a-\x20mode\x0a-\x20summary\x0a-\x20scope\x0a-\x20changes\x0a-\x20verification\x0a-\x20warnings\x0a-\x20errors\x0a-\x20nextActions\x0a\x0a##\x20写入结果\x0a\x0a','6860YArhcO','Invalid\x20Skill\x20name:\x20','\x20的所有必读规则必须位于\x20SKILL.md\x20或\x20references/\x20内。\x0a\x0a##\x20必读文档\x0a\x0a-\x20[SKILL.md](../SKILL.md)\x0a-\x20[runtime-contract.md](runtime-contract.md)\x0a-\x20[output-contract.md](output-contract.md)\x0a\x0a##\x20主边界\x0a\x0a-\x20不得依赖\x20Skill\x20目录外的仓库文件、绝对路径、file\x20URL\x20或本机专属配置。\x0a-\x20文档中的缓存路径、安装路径、示例路径或排障路径不等于运行时包外依赖;只有明确要求读取、链接或执行包外内容时才属于自包含风险。\x0a-\x20如需承接仓库规范,必须把必要规则内化到本\x20Skill\x20包内的\x20references/\x20文件中。\x0a-\x20type=','join','409413wWwfXR','\x0a##\x20返回契约\x0a\x0a最终输出必须遵守\x20[output-contract.md](output-contract.md)。本文件只补充运行态安全约束;展示字段、状态枚举、失败暴露和人工处理项以\x20output-contract.md\x20为准。\x0a\x0a##\x20失败恢复\x0a\x0a【填写失败状态识别、checkpoint、重试和人工接管方式】\x0a\x0a##\x20禁止事项\x0a\x0a-\x20禁止链接或读取\x20Skill\x20目录外的\x20AGENTS.md、wiki、docs、脚本或个人路径作为运行时必读依赖。\x0a-\x20禁止把说明性的缓存路径、安装路径、示例路径或排障路径包装成运行时必读依赖。\x0a-\x20禁止在未确认影响范围时执行写入。\x0a-\x20禁止隐藏失败或把未知状态描述为成功。\x0a','read','317TuFSQo','4138768SXnneD','Unsupported\x20Skill\x20type:\x20','\x0a\x0a##\x20内部要求\x0a\x0a执行前必须读取并遵守\x20[runtime-contract.md](references/runtime-contract.md)\x20和\x20[output-contract.md](references/output-contract.md)。\x0a\x0a##\x20使用边界\x0a\x0a【填写该\x20Skill\x20能做什么、不能做什么、适用业务范围和禁止扩大执行范围】\x0a\x0a##\x20输入门禁\x0a\x0a【填写必须具备的输入;缺失业务对象、执行范围、确认信息或权限上下文时必须停止】\x0a\x0a##\x20与现有能力集成\x0a\x0a【填写本\x20Skill\x20使用的\x20lovrabet\x20data、lovrabet\x20sql、lovrabet\x20bff\x20或\x20lovrabet\x20personal-bff\x20命令,以及包内\x20references/\x20中沉淀的运行态入口、脚本对接方式或人工操作边界。不得依赖\x20Skill\x20目录外文件、绝对路径或本机专属配置。】\x0a\x0a##\x20平台能力优先\x0a\x0a【填写本\x20Skill\x20优先使用的\x20Lovrabet\x20平台命令:lovrabet\x20data\x20/\x20lovrabet\x20sql\x20/\x20lovrabet\x20bff\x20/\x20lovrabet\x20personal-bff。本地脚本仅用于平台明确不覆盖的文件格式转换、静态校验、展示整理或第三方薄适配;不得用本地脚本替代平台命令承载业务写入、权限判断、状态机、审批提交或回滚。】\x0a\x0a##\x20第三方服务边界\x0a\x0a【填写是否调用第三方识别、生成、上传或行业服务;如涉及\x20API\x20Key、OAuth、Cookie、登录态或业务数据上传,必须说明由\x20Lovrabet\x20应用后台、BFF\x20或平台适配器统一配置。目标治理口径是\x20Skill\x20不读取、不分发、不保存明文凭证。详细凭证、额度、审计和审核发布规则写入\x20references/runtime-contract.md。】\x0a\x0a##\x20SOP\x20工作流\x0a\x0a','includes','\x20只作为模板选择器,不替代业务权限、风险等级和用户确认。\x0a\x0a##\x20运行态入口\x0a\x0a【填写包内说明的运行态入口、可调用脚本或人工执行边界】\x0a\x0a##\x20凭证与登录态\x0a\x0a【填写本\x20Skill\x20依赖的第三方服务凭证和登录态治理方式。强烈建议通过\x20Lovrabet\x20应用后台或平台服务端适配器做平台托管配置;开发先行阶段如存在临时明文凭证,应标注后续治理计划、适用环境和额度边界,并避免进入长期交付内容。】\x0a\x0a##\x20第三方候选资产\x0a\x0a【填写第三方生成类结果的消费边界。生成类结果仅作为候选素材;涉及商品图、客户资料、Excel\x20或业务文件上传时,必须声明授权、额度、审计、失败降级和人工审核/业务\x20BFF\x20校验后的发布边界。】\x0a\x0a##\x20预览\x20/\x20写入\x20/\x20核对差异\x0a\x0a【填写预览、确认、正式执行和只读核对的顺序】\x0a\x0a','trim','\x20类型默认不执行业务写入;如流程包含受控维护或人工确认,也必须用\x20mode\x20标明执行阶段并暴露核对结果。','write','.agents/skills','Use\x20one\x20of:\x20','type','2238530ZfxNLu','\x0a\x0a##\x20错误与人工接管\x0a\x0aerrors\x20必须包含失败阶段、错误原因和可复核对象。\x0anextActions\x20必须给出重试、补充输入、人工接管或停止处理的动作。\x0a'];a55_0x301f=function(){return _0x5d7841;};return a55_0x301f();}import{CliErrors}from'../../errors.js';export const SKILL_TYPES=[a55_0x89523f(0x188),a55_0x89523f(0x17f),a55_0x89523f(0x198)];function a55_0x4526(_0x51fbfa,_0x34058e){_0x51fbfa=_0x51fbfa-0x17d;const _0x301f02=a55_0x301f();let _0x4526dc=_0x301f02[_0x51fbfa];return _0x4526dc;}export const DEFAULT_SKILL_TARGET=a55_0x89523f(0x189);export const SKILL_NAME_PATTERN=/^[a-z0-9]+(?:-[a-z0-9]+)*$/;export const RUNTIME_CONTRACT_FILE='references/runtime-contract.md';export const OUTPUT_CONTRACT_FILE='references/output-contract.md';export function validateSkillName(_0x563b02){const _0x56a92=a55_0x89523f,_0x5ed472=_0x563b02[_0x56a92(0x186)]();if(!SKILL_NAME_PATTERN[_0x56a92(0x199)](_0x5ed472))throw CliErrors[_0x56a92(0x19c)](_0x56a92(0x1a2)+_0x563b02+_0x56a92(0x191),_0x56a92(0x193));return _0x5ed472;}export function normalizeSkillTemplateType(_0x27c37c){const _0x55fa8b=a55_0x89523f,_0x21af1b=(_0x27c37c||_0x55fa8b(0x188))[_0x55fa8b(0x186)]()||_0x55fa8b(0x188);if(SKILL_TYPES[_0x55fa8b(0x184)](_0x21af1b))return _0x21af1b;throw CliErrors[_0x55fa8b(0x19c)](_0x55fa8b(0x182)+_0x27c37c,_0x55fa8b(0x18a)+SKILL_TYPES[_0x55fa8b(0x1a4)](',\x20')+'.');}export function renderSkillTemplate(_0x44ea94){const _0xa0a819=a55_0x89523f,_0x2a9398=validateSkillName(_0x44ea94['skillName']),_0xf3c55e=normalizeSkillTemplateType(_0x44ea94[_0xa0a819(0x18b)]),_0x5bd772=_0x44ea94['timestamp']??new Date()['toISOString']();return{'skillName':_0x2a9398,'type':_0xf3c55e,'files':[{'path':_0xa0a819(0x197),'content':renderSkillMd(_0x2a9398,_0xf3c55e,_0x5bd772)},{'path':RUNTIME_CONTRACT_FILE,'content':renderRuntimeContract(_0x2a9398,_0xf3c55e)},{'path':OUTPUT_CONTRACT_FILE,'content':renderOutputContract(_0x2a9398,_0xf3c55e)}]};}function renderSkillMd(_0x1908f9,_0x2b802d,_0x190d88){const _0x316156=a55_0x89523f,_0x43447d=typeWorkflow(_0x2b802d);return _0x316156(0x190)+_0x1908f9+_0x316156(0x18e)+_0x2b802d+'\x0a\x20\x20created:\x20\x22'+_0x190d88+'\x22\x0a\x20\x20generator:\x20\x22lovrabet\x20skill\x20create\x22\x0a---\x0a\x0a#\x20'+_0x1908f9+_0x316156(0x183)+_0x43447d+'\x0a\x0a'+businessStateSection(_0x2b802d)+_0x316156(0x19d);}function renderRuntimeContract(_0x1d83a8,_0x1c29cc){const _0x38336f=a55_0x89523f,_0x2ee74f=_0x1c29cc==='write'?'##\x20状态读回与未知状态处理\x0a\x0a【填写业务状态事实源、fromStatus\x20->\x20toStatus\x20预览、写入后读回核对方式,以及\x20unknown\x20/\x20needs_manual_check\x20的处理边界】\x0a\x0a':'';return'#\x20Runtime\x20Contract\x0a\x0aSkill\x20push\x20后的\x20zip\x20包就是完整交付产物。'+_0x1d83a8+_0x38336f(0x1a3)+_0x1c29cc+_0x38336f(0x185)+_0x2ee74f+_0x38336f(0x17e);}function renderOutputContract(_0x213427,_0x21590d){const _0x5b725f=a55_0x89523f,_0x39e67f=_0x21590d==='write'?'write\x20类型在\x20dry_run\x20下只展示预览、影响范围和差异,不写入业务数据。\x0aconfirmed\x20写入后必须执行读回核对,并把核对结果写入\x20verification。\x0a读回异常、业务状态未知或结果不一致时,status\x20必须为\x20partial_success、failed\x20或\x20needs_manual_check。':_0x21590d+_0x5b725f(0x187);return'#\x20Output\x20Contract\x0a\x0a'+_0x213427+_0x5b725f(0x1a0)+_0x39e67f+_0x5b725f(0x18d);}function typeWorkflow(_0x489a27){const _0x24182a=a55_0x89523f;if(_0x489a27==='read')return _0x24182a(0x19b);if(_0x489a27===_0x24182a(0x198))return _0x24182a(0x196);return _0x24182a(0x192);}function businessStateSection(_0x5e4404){const _0x17dde8=a55_0x89523f;if(_0x5e4404!==_0x17dde8(0x188))return'';return _0x17dde8(0x195);}
1
+ const a54_0x263528=a54_0x52cc;function a54_0x1ad6(){const _0x242fdb=['8eSOPKq','\x20只作为模板选择器,不替代业务权限、风险等级和用户确认。\x0a\x0a##\x20运行态入口\x0a\x0a【填写包内说明的运行态入口、可调用脚本或人工执行边界】\x0a\x0a##\x20凭证与登录态\x0a\x0a【填写本\x20Skill\x20依赖的第三方服务凭证和登录态治理方式。强烈建议通过\x20Lovrabet\x20应用后台或平台服务端适配器做平台托管配置;开发先行阶段如存在临时明文凭证,应标注后续治理计划、适用环境和额度边界,并避免进入长期交付内容。】\x0a\x0a##\x20第三方候选资产\x0a\x0a【填写第三方生成类结果的消费边界。生成类结果仅作为候选素材;涉及商品图、客户资料、Excel\x20或业务文件上传时,必须声明授权、额度、审计、失败降级和人工审核/业务\x20BFF\x20校验后的发布边界。】\x0a\x0a##\x20预览\x20/\x20写入\x20/\x20核对差异\x0a\x0a【填写预览、确认、正式执行和只读核对的顺序】\x0a\x0a','1999272aHzYJf','trim','.agents/skills','write','skillName','\x0a\x0a##\x20展示规范\x0a\x0a【填写面向运营人员的展示字段、差异摘要、成功/失败状态和人工处理项;最终输出必须按\x20references/output-contract.md\x20的\x20status\x20/\x20mode\x20/\x20summary\x20/\x20errors\x20/\x20nextActions\x20返回,不能把\x20unknown、partial_success、failed\x20或\x20needs_manual_check\x20包装为\x20success。】\x0a\x0a##\x20失败恢复\x0a\x0a【填写失败后的\x20checkpoint、重试条件、人工接管方式和避免重复写入的核对步骤】\x0a','join','12045bCmXcs','1292cdptyF','timestamp','read','##\x20状态读回与未知状态处理\x0a\x0a【填写业务状态事实源、fromStatus\x20->\x20toStatus\x20预览、写入后读回核对方式,以及\x20unknown\x20/\x20needs_manual_check\x20的处理边界】\x0a\x0a','Use\x20lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens,\x20for\x20example\x20invoice-export.','test','.\x20Use\x20lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens.','1.\x20dry-run:【填写预览入口、影响范围和差异摘要;不得写入业务数据】\x0a2.\x20用户确认:【填写确认语义、目标对象、数量、风险和操作者责任】\x0a3.\x20confirmed\x20写入:【填写确认后的写入入口和幂等/防重复要求】\x0a4.\x20只读核对:【填写写入后的查询核对、差异展示和结果链接】\x0a5.\x20checkpoint:【填写失败恢复、重试条件和人工接管方式】','5544049tMQsaL','18225TUKJHQ','##\x20业务状态流转\x0a\x0a【填写本\x20Skill\x20的前置业务状态、允许动作、目标业务状态、fromStatus\x20->\x20toStatus\x20预览、写入后读回核对,以及\x20unknown\x20/\x20needs_manual_check\x20处理。状态迁移合法性必须由业务\x20BFF、Lovrabet\x20平台命令或服务端接口判断,Skill\x20不作为状态事实源。】','223535NBfPlG','\x0adescription:\x20\x22【填写模型触发语义:用户在什么场景应使用本\x20Skill、不要使用的边界和关键词】\x22\x0a#\x20example:\x20\x22<填写一句用户可以直接说出的最简触发话术>\x22\x0ametadata:\x0a\x20\x20type:\x20','#\x20Runtime\x20Contract\x0a\x0aSkill\x20push\x20后的\x20zip\x20包就是完整交付产物。','\x20的最终回复必须让运营人员能判断:是否执行、影响了什么、如何复核、失败后下一步做什么。\x0a\x0a##\x20状态枚举\x0a\x0astatus:\x20success\x20|\x20no_op\x20|\x20partial_success\x20|\x20blocked\x20|\x20failed\x20|\x20needs_manual_check\x0a\x0a-\x20success:动作已完成,且关键结果已核对。\x0a-\x20no_op:没有符合条件的对象或无需变更。\x0a-\x20partial_success:部分对象完成,未完成对象必须进入\x20errors\x20和\x20nextActions。\x0a-\x20blocked:缺少输入、权限、确认或平台能力,无法继续。\x0a-\x20failed:执行失败,必须说明失败阶段、错误和恢复方式。\x0a-\x20needs_manual_check:读回异常、状态未知或人工判断缺失。\x0a\x0aunknown、partial_success、failed、needs_manual_check\x20不能包装为\x20success。\x0a\x0a##\x20输出模式\x0a\x0amode:\x20dry_run\x20|\x20confirmed\x20|\x20read_only\x0a\x0a-\x20dry_run:只展示预览、影响范围和差异,不写入业务数据。\x0a-\x20confirmed:用户明确确认后的执行模式;写入后必须读回核对。\x0a-\x20read_only:只查询、汇总或核对,不触发写入。\x0a\x0a##\x20必填字段\x0a\x0a-\x20status\x0a-\x20mode\x0a-\x20summary\x0a-\x20scope\x0a-\x20changes\x0a-\x20verification\x0a-\x20warnings\x0a-\x20errors\x0a-\x20nextActions\x0a\x0a##\x20写入结果\x0a\x0a','1.\x20受控模板预览:【填写待维护内容、影响范围和预览方式】\x0a2.\x20用户确认:【填写确认信息和不可省略的人工判断点】\x0a3.\x20受控维护:【填写确认后的维护步骤和记录方式】\x0a4.\x20只读核对:【填写维护后的核对入口、差异和回滚/修正方式】','12462489UuLBgY','Use\x20one\x20of:\x20','\x20类型默认不执行业务写入;如流程包含受控维护或人工确认,也必须用\x20mode\x20标明执行阶段并暴露核对结果。','\x0a\x20\x20created:\x20\x22','\x20的所有必读规则必须位于\x20SKILL.md\x20或\x20references/\x20内。\x0a\x0a##\x20必读文档\x0a\x0a-\x20[SKILL.md](../SKILL.md)\x0a-\x20[runtime-contract.md](runtime-contract.md)\x0a-\x20[output-contract.md](output-contract.md)\x0a\x0a##\x20主边界\x0a\x0a-\x20不得依赖\x20Skill\x20目录外的仓库文件、绝对路径、file\x20URL\x20或本机专属配置。\x0a-\x20文档中的缓存路径、安装路径、示例路径或排障路径不等于运行时包外依赖;只有明确要求读取、链接或执行包外内容时才属于自包含风险。\x0a-\x20如需承接仓库规范,必须把必要规则内化到本\x20Skill\x20包内的\x20references/\x20文件中。\x0a-\x20type=','SKILL.md','Unsupported\x20Skill\x20type:\x20','3486831xmNDmC','#\x20Output\x20Contract\x0a\x0a','2gyhbUL','references/runtime-contract.md','trainer','10440OcMsFD','\x0a\x0a##\x20错误与人工接管\x0a\x0aerrors\x20必须包含失败阶段、错误原因和可复核对象。\x0anextActions\x20必须给出重试、补充输入、人工接管或停止处理的动作。\x0a','validation'];a54_0x1ad6=function(){return _0x242fdb;};return a54_0x1ad6();}function a54_0x52cc(_0x4b1815,_0x2dceff){_0x4b1815=_0x4b1815-0x1be;const _0x1ad692=a54_0x1ad6();let _0x52cc43=_0x1ad692[_0x4b1815];return _0x52cc43;}(function(_0x136fd7,_0x4390e3){const _0x19b000=a54_0x52cc,_0x5b1e73=_0x136fd7();while(!![]){try{const _0x4c877d=-parseInt(_0x19b000(0x1c9))/0x1+-parseInt(_0x19b000(0x1d7))/0x2*(-parseInt(_0x19b000(0x1d5))/0x3)+parseInt(_0x19b000(0x1be))/0x4*(parseInt(_0x19b000(0x1c7))/0x5)+parseInt(_0x19b000(0x1df))/0x6+parseInt(_0x19b000(0x1c6))/0x7+parseInt(_0x19b000(0x1dd))/0x8*(-parseInt(_0x19b000(0x1ce))/0x9)+parseInt(_0x19b000(0x1da))/0xa*(-parseInt(_0x19b000(0x1e6))/0xb);if(_0x4c877d===_0x4390e3)break;else _0x5b1e73['push'](_0x5b1e73['shift']());}catch(_0x3a5c43){_0x5b1e73['push'](_0x5b1e73['shift']());}}}(a54_0x1ad6,0xae2b3));import{CliErrors}from'../../errors.js';export const SKILL_TYPES=[a54_0x263528(0x1e2),a54_0x263528(0x1c0),a54_0x263528(0x1d9)];export const DEFAULT_SKILL_TARGET=a54_0x263528(0x1e1);export const SKILL_NAME_PATTERN=/^[a-z0-9]+(?:-[a-z0-9]+)*$/;export const RUNTIME_CONTRACT_FILE=a54_0x263528(0x1d8);export const OUTPUT_CONTRACT_FILE='references/output-contract.md';export function validateSkillName(_0x496a3e){const _0x412340=a54_0x263528,_0x37c376=_0x496a3e[_0x412340(0x1e0)]();if(!SKILL_NAME_PATTERN[_0x412340(0x1c3)](_0x37c376))throw CliErrors['validation']('Invalid\x20Skill\x20name:\x20'+_0x496a3e+_0x412340(0x1c4),_0x412340(0x1c2));return _0x37c376;}export function normalizeSkillTemplateType(_0x2b7b8e){const _0x49f548=a54_0x263528,_0x15e97c=(_0x2b7b8e||_0x49f548(0x1e2))['trim']()||_0x49f548(0x1e2);if(SKILL_TYPES['includes'](_0x15e97c))return _0x15e97c;throw CliErrors[_0x49f548(0x1dc)](_0x49f548(0x1d4)+_0x2b7b8e,_0x49f548(0x1cf)+SKILL_TYPES[_0x49f548(0x1e5)](',\x20')+'.');}export function renderSkillTemplate(_0x5487ca){const _0x4b0103=a54_0x263528,_0x8afac4=validateSkillName(_0x5487ca[_0x4b0103(0x1e3)]),_0x392850=normalizeSkillTemplateType(_0x5487ca['type']),_0x3aa5f2=_0x5487ca[_0x4b0103(0x1bf)]??new Date()['toISOString']();return{'skillName':_0x8afac4,'type':_0x392850,'files':[{'path':_0x4b0103(0x1d3),'content':renderSkillMd(_0x8afac4,_0x392850,_0x3aa5f2)},{'path':RUNTIME_CONTRACT_FILE,'content':renderRuntimeContract(_0x8afac4,_0x392850)},{'path':OUTPUT_CONTRACT_FILE,'content':renderOutputContract(_0x8afac4,_0x392850)}]};}function renderSkillMd(_0x5a26e2,_0x3a9486,_0x1b4efe){const _0x437d9e=a54_0x263528,_0x39dbfc=typeWorkflow(_0x3a9486);return'---\x0aname:\x20'+_0x5a26e2+_0x437d9e(0x1ca)+_0x3a9486+_0x437d9e(0x1d1)+_0x1b4efe+'\x22\x0a\x20\x20generator:\x20\x22lovrabet\x20skill\x20create\x22\x0a---\x0a\x0a#\x20'+_0x5a26e2+'\x0a\x0a##\x20内部要求\x0a\x0a执行前必须读取并遵守\x20[runtime-contract.md](references/runtime-contract.md)\x20和\x20[output-contract.md](references/output-contract.md)。\x0a\x0a##\x20使用边界\x0a\x0a【填写该\x20Skill\x20能做什么、不能做什么、适用业务范围和禁止扩大执行范围】\x0a\x0a##\x20输入门禁\x0a\x0a【填写必须具备的输入;缺失业务对象、执行范围、确认信息或权限上下文时必须停止】\x0a\x0a##\x20与现有能力集成\x0a\x0a【填写本\x20Skill\x20使用的\x20lovrabet\x20data、lovrabet\x20sql、lovrabet\x20bff\x20或\x20lovrabet\x20personal-bff\x20命令,以及包内\x20references/\x20中沉淀的运行态入口、脚本对接方式或人工操作边界。不得依赖\x20Skill\x20目录外文件、绝对路径或本机专属配置。】\x0a\x0a##\x20平台能力优先\x0a\x0a【填写本\x20Skill\x20优先使用的\x20Lovrabet\x20平台命令:lovrabet\x20data\x20/\x20lovrabet\x20sql\x20/\x20lovrabet\x20bff\x20/\x20lovrabet\x20personal-bff。本地脚本仅用于平台明确不覆盖的文件格式转换、静态校验、展示整理或第三方薄适配;不得用本地脚本替代平台命令承载业务写入、权限判断、状态机、审批提交或回滚。】\x0a\x0a##\x20第三方服务边界\x0a\x0a【填写是否调用第三方识别、生成、上传或行业服务;如涉及\x20API\x20Key、OAuth、Cookie、登录态或业务数据上传,必须说明由\x20Lovrabet\x20应用后台、BFF\x20或平台适配器统一配置。目标治理口径是\x20Skill\x20不读取、不分发、不保存明文凭证。详细凭证、额度、审计和审核发布规则写入\x20references/runtime-contract.md。】\x0a\x0a##\x20SOP\x20工作流\x0a\x0a'+_0x39dbfc+'\x0a\x0a'+businessStateSection(_0x3a9486)+_0x437d9e(0x1e4);}function renderRuntimeContract(_0x4a1c3f,_0x506088){const _0x210d67=a54_0x263528,_0x4d12e5=_0x506088===_0x210d67(0x1e2)?_0x210d67(0x1c1):'';return _0x210d67(0x1cb)+_0x4a1c3f+_0x210d67(0x1d2)+_0x506088+_0x210d67(0x1de)+_0x4d12e5+'\x0a##\x20返回契约\x0a\x0a最终输出必须遵守\x20[output-contract.md](output-contract.md)。本文件只补充运行态安全约束;展示字段、状态枚举、失败暴露和人工处理项以\x20output-contract.md\x20为准。\x0a\x0a##\x20失败恢复\x0a\x0a【填写失败状态识别、checkpoint、重试和人工接管方式】\x0a\x0a##\x20禁止事项\x0a\x0a-\x20禁止链接或读取\x20Skill\x20目录外的\x20AGENTS.md、wiki、docs、脚本或个人路径作为运行时必读依赖。\x0a-\x20禁止把说明性的缓存路径、安装路径、示例路径或排障路径包装成运行时必读依赖。\x0a-\x20禁止在未确认影响范围时执行写入。\x0a-\x20禁止隐藏失败或把未知状态描述为成功。\x0a';}function renderOutputContract(_0x4f9945,_0x47e211){const _0x2dac0c=a54_0x263528,_0x3057b2=_0x47e211==='write'?'write\x20类型在\x20dry_run\x20下只展示预览、影响范围和差异,不写入业务数据。\x0aconfirmed\x20写入后必须执行读回核对,并把核对结果写入\x20verification。\x0a读回异常、业务状态未知或结果不一致时,status\x20必须为\x20partial_success、failed\x20或\x20needs_manual_check。':_0x47e211+_0x2dac0c(0x1d0);return _0x2dac0c(0x1d6)+_0x4f9945+_0x2dac0c(0x1cc)+_0x3057b2+_0x2dac0c(0x1db);}function typeWorkflow(_0x1a5007){const _0x237ed8=a54_0x263528;if(_0x1a5007===_0x237ed8(0x1c0))return'1.\x20只读查询:【填写查询入口、过滤条件和权限边界】\x0a2.\x20业务汇总:【填写统计口径、字段解释和异常提示】\x0a3.\x20查看链接:【填写可供运营人员复核的记录、页面或报告链接】\x0a4.\x20禁止写入:不得创建、更新、删除或触发会改变业务状态的动作。';if(_0x1a5007==='trainer')return _0x237ed8(0x1cd);return _0x237ed8(0x1c5);}function businessStateSection(_0x105055){const _0x4ee343=a54_0x263528;if(_0x105055!=='write')return'';return _0x4ee343(0x1c8);}
@@ -1 +1 @@
1
- function a56_0x351a(){const _0x20f7e7=['type','match','2846124bHuhAo','dataset','isDirectory','example','34NTpaVg','Set\x20displayName\x20to\x20the\x20human-readable\x20Skill\x20name\x20shown\x20in\x20SkillHub.','isFile','number','validation','raw','metadata.internal=true\x20Skills\x20cannot\x20be\x20uploaded.','Skill\x20validation\x20failed:\x0a','level','schema','display-name-recommended','displayName','\x20Fix:\x20','toLowerCase','service','Add\x20SKILL.md\x20as\x20a\x20regular\x20file\x20at\x20the\x20Skill\x20directory\x20root.','Frontmatter\x20example\x20is\x20missing.','section','file','description','message','metadata','Set\x20example\x20to\x20one\x20short\x20user\x20message\x20that\x20can\x20directly\x20trigger\x20this\x20Skill.','internal','read','search','boolean','SKILL.md\x20must\x20be\x20a\x20regular\x20file.','push','path','structure-complete','Add\x20frontmatter\x20with\x20name\x20and\x20description.','Add\x20SKILL.md\x20at\x20the\x20Skill\x20directory\x20root.','308942cOXJPc','config','flatMap','split','map','metadata.type\x20must\x20be\x20one\x20of\x20write,\x20read,\x20or\x20trainer.','description-required','warning','join','This\x20line\x20invokes\x20the\x20rabetbase\x20CLI.\x20rabetbase\x20is\x20a\x20dev-time\x20tool;\x20runtime\x20Skills\x20should\x20drive\x20runtime\x20work\x20through\x20lovrabet\x20commands.','78063sjXUVf','errors','If\x20this\x20is\x20a\x20runtime\x20step,\x20replace\x20it\x20with\x20the\x20equivalent\x20lovrabet\x20command.\x20Dev-time\x20discovery\x20or\x20handoff\x20notes\x20can\x20stay.','trim','project','1780980xSDlLW','Set\x20name\x20to\x20the\x20Skill\x20directory\x20code.','name','artifact','sql','slice','填写模型触发语义:用户在什么场景应使用本\x20Skill、不要使用的边界和关键词。','string','Frontmatter\x20description\x20is\x20empty.','page','isArray','1264949mLisOn','data','4VyTEFY','Frontmatter\x20name\x20is\x20missing.','content','object','isSymbolicLink','trainer','Skill\x20directory\x20not\x20found:\x20','1191605jKOoIv','27432RZSTFn','hasFrontmatter','Replace\x20the\x20symlink\x20with\x20a\x20regular\x20SKILL.md\x20file\x20inside\x20the\x20Skill\x20directory.','toUpperCase','ruleId','Set\x20metadata.type\x20to\x20write,\x20read,\x20or\x20trainer.','has','SKILL.md\x20must\x20start\x20with\x20frontmatter.','example-recommended','auth','error','filter','frontmatter-required','true','9IzEQwD','false','workspace','Fix\x20the\x20Skill\x20metadata\x20before\x20running\x20skill\x20push.'];a56_0x351a=function(){return _0x20f7e7;};return a56_0x351a();}const a56_0x53906c=a56_0x1adf;(function(_0x22d22f,_0x123cda){const _0x1f75a2=a56_0x1adf,_0x3f3439=_0x22d22f();while(!![]){try{const _0x288863=-parseInt(_0x1f75a2(0x177))/0x1+-parseInt(_0x1f75a2(0x1b3))/0x2*(-parseInt(_0x1f75a2(0x181))/0x3)+-parseInt(_0x1f75a2(0x193))/0x4*(-parseInt(_0x1f75a2(0x19a))/0x5)+-parseInt(_0x1f75a2(0x1af))/0x6+parseInt(_0x1f75a2(0x191))/0x7+-parseInt(_0x1f75a2(0x19b))/0x8+-parseInt(_0x1f75a2(0x1a9))/0x9*(-parseInt(_0x1f75a2(0x186))/0xa);if(_0x288863===_0x123cda)break;else _0x3f3439['push'](_0x3f3439['shift']());}catch(_0x4341d3){_0x3f3439['push'](_0x3f3439['shift']());}}}(a56_0x351a,0x3db56));import{existsSync,lstatSync,readFileSync,realpathSync}from'node:fs';import{resolve}from'node:path';function a56_0x1adf(_0x545006,_0x431367){_0x545006=_0x545006-0x161;const _0x351a86=a56_0x351a();let _0x1adf32=_0x351a86[_0x545006];return _0x1adf32;}import{parse as a56_0x3fe74c}from'yaml';import{CliErrors}from'../../errors.js';import{fileText,scanSkillDirectory}from'../../skills/runtime-skill-sync/local-files.js';const SKILL_FILE='SKILL.md',SUPPORTED_SKILL_TYPES=new Set(['write',a56_0x53906c(0x16e),a56_0x53906c(0x198)]),TEXT_SKILL_FILE_PATTERN=/(?:^SKILL\.md$|\.(?:md|mdx|txt|json|ya?ml|js|mjs|cjs|ts|tsx|sh|sql))$/i;export function validateSkillDirectory(_0x44e135,_0x2fbd3b={}){const _0x5b04f0=a56_0x53906c,_0x18f21e=resolveSkillDirectoryRoot(_0x44e135),_0x3adc71=[],_0xf7b020=loadRequiredSkillFile(_0x18f21e,_0x3adc71),_0x1b338b=_0xf7b020?parseFrontmatter(_0xf7b020[_0x5b04f0(0x195)]):{'hasFrontmatter':![]};_0xf7b020&&validateFrontmatter(_0xf7b020[_0x5b04f0(0x173)],_0x1b338b,_0x3adc71);validateRuntimeCliReferences(_0x18f21e,_0x3adc71);const _0x133675=_0x3adc71['filter'](_0x2d3215=>_0x2d3215['level']===_0x5b04f0(0x1a5)),_0x23467a=_0x3adc71['filter'](_0x30baa9=>_0x30baa9[_0x5b04f0(0x1bb)]===_0x5b04f0(0x17e));return{'ok':_0x133675['length']===0x0,'dir':_0x18f21e,'type':_0x1b338b[_0x5b04f0(0x1ad)],'errors':_0x133675,'warnings':_0x23467a};}function resolveSkillDirectoryRoot(_0x2241b5){const _0x43e6ca=a56_0x53906c,_0x2e7eac=resolve(_0x2241b5);if(!existsSync(_0x2e7eac))throw CliErrors[_0x43e6ca(0x1b7)](_0x43e6ca(0x199)+_0x2241b5);const _0x1aa753=lstatSync(_0x2e7eac);if(_0x1aa753[_0x43e6ca(0x1b1)]())return _0x2e7eac;if(_0x1aa753[_0x43e6ca(0x197)]()){const _0x390834=realpathSync(_0x2e7eac);if(lstatSync(_0x390834)[_0x43e6ca(0x1b1)]())return _0x390834;}throw CliErrors[_0x43e6ca(0x1b7)](_0x43e6ca(0x199)+_0x2241b5);}export function throwIfSkillValidationFailed(_0x12e7c7,_0x59186a=![]){const _0x49b4c7=a56_0x53906c;if(_0x12e7c7['ok'])return;const _0x38597b=_0x12e7c7[_0x49b4c7(0x182)][_0x49b4c7(0x17b)](_0x23beff=>{const _0x568211=_0x49b4c7,_0x4fe537=_0x23beff[_0x568211(0x167)]?'#'+_0x23beff['section']:'';return _0x23beff[_0x568211(0x1bb)][_0x568211(0x19e)]()+'\x20'+_0x23beff[_0x568211(0x19f)]+'\x20'+_0x23beff[_0x568211(0x168)]+_0x4fe537+':\x20'+_0x23beff[_0x568211(0x16a)]+_0x568211(0x162)+_0x23beff['suggestion'];});throw CliErrors[_0x49b4c7(0x1b7)](_0x49b4c7(0x1ba)+_0x38597b[_0x49b4c7(0x17f)]('\x0a'),_0x49b4c7(0x1ac));}function loadRequiredSkillFile(_0x463e91,_0x412c80){const _0x55b4da=a56_0x53906c,_0x3ed35b=resolve(_0x463e91,SKILL_FILE);if(!existsSync(_0x3ed35b))return _0x412c80[_0x55b4da(0x172)](issue(_0x55b4da(0x1a5),_0x55b4da(0x174),SKILL_FILE,'Missing\x20SKILL.md.',_0x55b4da(0x176))),undefined;const _0x426f8e=lstatSync(_0x3ed35b);if(_0x426f8e['isSymbolicLink']())return _0x412c80['push'](issue(_0x55b4da(0x1a5),'structure-complete',SKILL_FILE,_0x55b4da(0x171),_0x55b4da(0x19d))),undefined;if(!_0x426f8e[_0x55b4da(0x1b5)]())return _0x412c80['push'](issue('error',_0x55b4da(0x174),SKILL_FILE,'SKILL.md\x20is\x20not\x20a\x20file.',_0x55b4da(0x165))),undefined;return{'path':SKILL_FILE,'content':readFileSync(_0x3ed35b,'utf8')};}function validateFrontmatter(_0x37ee37,_0x4023f5,_0x5c21a8){const _0x2be287=a56_0x53906c;if(!_0x4023f5[_0x2be287(0x19c)]){_0x5c21a8[_0x2be287(0x172)](issue(_0x2be287(0x1a5),_0x2be287(0x1a7),_0x37ee37,_0x2be287(0x1a2),_0x2be287(0x175)));return;}!_0x4023f5['name']?.['trim']()&&_0x5c21a8['push'](issue('error','frontmatter-required',_0x37ee37,_0x2be287(0x194),_0x2be287(0x187))),!_0x4023f5[_0x2be287(0x161)]?.[_0x2be287(0x184)]()&&_0x5c21a8[_0x2be287(0x172)](issue('warning',_0x2be287(0x1bd),_0x37ee37,'Frontmatter\x20displayName\x20is\x20missing.',_0x2be287(0x1b4))),!_0x4023f5['example']?.[_0x2be287(0x184)]()&&_0x5c21a8[_0x2be287(0x172)](issue(_0x2be287(0x17e),_0x2be287(0x1a3),_0x37ee37,_0x2be287(0x166),_0x2be287(0x16c))),!_0x4023f5[_0x2be287(0x169)]?.['trim']()&&_0x5c21a8[_0x2be287(0x172)](issue(_0x2be287(0x1a5),_0x2be287(0x17d),_0x37ee37,_0x2be287(0x18e),_0x2be287(0x18c))),_0x4023f5[_0x2be287(0x16d)]===!![]&&_0x5c21a8[_0x2be287(0x172)](issue('error','internal-skill',_0x37ee37,_0x2be287(0x1b9),'Remove\x20metadata.internal\x20or\x20set\x20it\x20to\x20false\x20before\x20running\x20skill\x20push.')),_0x4023f5[_0x2be287(0x1ad)]?.[_0x2be287(0x184)]()&&!SUPPORTED_SKILL_TYPES[_0x2be287(0x1a1)](_0x4023f5[_0x2be287(0x1ad)])&&_0x5c21a8['push'](issue(_0x2be287(0x1a5),_0x2be287(0x1a7),_0x37ee37,_0x2be287(0x17c),_0x2be287(0x1a0)));}function validateRuntimeCliReferences(_0x43958b,_0x60762e){const _0x260d50=a56_0x53906c;for(const _0x6ccb69 of findRabetbaseCliInvocations(_0x43958b)){_0x60762e[_0x260d50(0x172)](issue('warning','rabetbase-cli-reference',_0x6ccb69[_0x260d50(0x168)],_0x260d50(0x180),_0x260d50(0x183),'L'+_0x6ccb69['line']));}}function findRabetbaseCliInvocations(_0x5b207e){const _0x1fcb86=a56_0x53906c;return scanSkillDirectory(_0x5b207e)[_0x1fcb86(0x1a6)](_0x1cd7a8=>TEXT_SKILL_FILE_PATTERN['test'](_0x1cd7a8['path']))[_0x1fcb86(0x179)](_0x35ecf9=>{const _0x432144=_0x1fcb86,_0x3f9c29=fileText(_0x35ecf9);return _0x3f9c29[_0x432144(0x17a)](/\r?\n/)[_0x432144(0x17b)]((_0x15f07a,_0x1cf9fd)=>({'file':_0x35ecf9['path'],'line':_0x1cf9fd+0x1,'text':_0x15f07a}))[_0x432144(0x1a6)](({text:_0x52a899})=>isRabetbaseCliInvocation(_0x52a899))[_0x432144(0x17b)](({file:_0x4561e4,line:_0xe0e0a8})=>({'file':_0x4561e4,'line':_0xe0e0a8}));});}const RABETBASE_SUBCOMMANDS=[a56_0x53906c(0x1b0),a56_0x53906c(0x18a),'bff',a56_0x53906c(0x18f),a56_0x53906c(0x185),'app',a56_0x53906c(0x1bc),a56_0x53906c(0x164),a56_0x53906c(0x189),'kb',a56_0x53906c(0x178),a56_0x53906c(0x1ab),a56_0x53906c(0x192),a56_0x53906c(0x1a4),'logs','registry'],RABETBASE_INVOCATION=new RegExp(String[a56_0x53906c(0x1b8)]`\brabetbase\s+(?:${RABETBASE_SUBCOMMANDS['join']('|')})\b`+String[a56_0x53906c(0x1b8)]`(?:\s+[a-z][\w-]*){0,2}\s+(?:--?[a-z]|[\w.-]+=)`,'i');function isRabetbaseCliInvocation(_0x18f188){const _0x57a3bc=a56_0x53906c,_0x57a8e9=_0x18f188[_0x57a3bc(0x16f)](/\brabetbase\b/i);if(_0x57a8e9<0x0)return![];const _0xe54253=_0x18f188[_0x57a3bc(0x18b)](_0x57a8e9)[_0x57a3bc(0x17a)](/\blovrabet\b/i)[0x0]??'';return RABETBASE_INVOCATION['test'](_0xe54253);}function parseFrontmatter(_0x571e33){const _0x358be0=a56_0x53906c,_0x11eb26=_0x571e33[_0x358be0(0x1ae)](/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!_0x11eb26)return{'hasFrontmatter':![]};const _0x1fe7ae=_0x11eb26[0x1]??'',_0xf88614={'hasFrontmatter':!![]};let _0x1524ab;try{_0x1524ab=a56_0x3fe74c(_0x1fe7ae);}catch{return _0xf88614;}const _0x49bf54=asRecord(_0x1524ab);if(!_0x49bf54)return _0xf88614;_0xf88614[_0x358be0(0x188)]=scalarToString(_0x49bf54[_0x358be0(0x188)]),_0xf88614[_0x358be0(0x161)]=scalarToString(_0x49bf54['displayName']),_0xf88614['description']=scalarToString(_0x49bf54[_0x358be0(0x169)]),_0xf88614[_0x358be0(0x1b2)]=scalarToString(_0x49bf54[_0x358be0(0x1b2)]);const _0x5bef30=asRecord(_0x49bf54[_0x358be0(0x16b)]);return _0x5bef30&&(_0xf88614[_0x358be0(0x1ad)]=scalarToString(_0x5bef30[_0x358be0(0x1ad)]),_0xf88614[_0x358be0(0x16d)]=scalarToBoolean(_0x5bef30['internal'])),_0xf88614;}function asRecord(_0xb5a855){const _0x1389df=a56_0x53906c;if(_0xb5a855&&typeof _0xb5a855===_0x1389df(0x196)&&!Array[_0x1389df(0x190)](_0xb5a855))return _0xb5a855;return undefined;}function scalarToString(_0x2319fe){const _0xada565=a56_0x53906c;if(typeof _0x2319fe==='string')return _0x2319fe[_0xada565(0x184)]();if(typeof _0x2319fe===_0xada565(0x1b6)||typeof _0x2319fe===_0xada565(0x170))return String(_0x2319fe);return undefined;}function scalarToBoolean(_0x317838){const _0x499400=a56_0x53906c;if(typeof _0x317838===_0x499400(0x170))return _0x317838;if(typeof _0x317838===_0x499400(0x18d))return cleanBoolean(_0x317838);return undefined;}function cleanBoolean(_0x102205){const _0x22b65b=a56_0x53906c,_0xb9866d=_0x102205[_0x22b65b(0x184)]()[_0x22b65b(0x163)]();if(_0xb9866d===_0x22b65b(0x1a8))return!![];if(_0xb9866d===_0x22b65b(0x1aa))return![];return undefined;}function issue(_0xb1b92,_0x47384a,_0x4cf0d5,_0x411c65,_0x2cba8f,_0x447773){return{'level':_0xb1b92,'ruleId':_0x47384a,'file':_0x4cf0d5,'section':_0x447773,'message':_0x411c65,'suggestion':_0x2cba8f};}
1
+ const a55_0x311c84=a55_0x2d90;(function(_0xc3503,_0x297384){const _0x21206c=a55_0x2d90,_0x381b23=_0xc3503();while(!![]){try{const _0x2cff37=-parseInt(_0x21206c(0xaf))/0x1*(parseInt(_0x21206c(0xd6))/0x2)+-parseInt(_0x21206c(0xb2))/0x3+-parseInt(_0x21206c(0xf5))/0x4*(-parseInt(_0x21206c(0xa6))/0x5)+parseInt(_0x21206c(0xa5))/0x6*(-parseInt(_0x21206c(0xdc))/0x7)+-parseInt(_0x21206c(0xb3))/0x8*(parseInt(_0x21206c(0xb9))/0x9)+parseInt(_0x21206c(0xf4))/0xa*(-parseInt(_0x21206c(0xb6))/0xb)+-parseInt(_0x21206c(0xf0))/0xc*(-parseInt(_0x21206c(0xa8))/0xd);if(_0x2cff37===_0x297384)break;else _0x381b23['push'](_0x381b23['shift']());}catch(_0x18a5b5){_0x381b23['push'](_0x381b23['shift']());}}}(a55_0x39e9,0xa2d7b));import{existsSync,lstatSync,readFileSync,realpathSync}from'node:fs';import{resolve}from'node:path';import{parse as a55_0x1ac55a}from'yaml';import{CliErrors}from'../../errors.js';import{fileText,scanSkillDirectory}from'../../skills/runtime-skill-sync/local-files.js';const SKILL_FILE=a55_0x311c84(0xdd),SUPPORTED_SKILL_TYPES=new Set([a55_0x311c84(0xdf),a55_0x311c84(0xc6),a55_0x311c84(0xf8)]),TEXT_SKILL_FILE_PATTERN=/(?:^SKILL\.md$|\.(?:md|mdx|txt|json|ya?ml|js|mjs|cjs|ts|tsx|sh|sql))$/i;export function validateSkillDirectory(_0x46f4e5,_0x4a99dd={}){const _0x5cd431=a55_0x311c84,_0x26fc19=resolveSkillDirectoryRoot(_0x46f4e5),_0x46215d=[],_0x537a95=loadRequiredSkillFile(_0x26fc19,_0x46215d),_0x382610=_0x537a95?parseFrontmatter(_0x537a95[_0x5cd431(0x9c)]):{'hasFrontmatter':![]};_0x537a95&&validateFrontmatter(_0x537a95[_0x5cd431(0xba)],_0x382610,_0x46215d);validateRuntimeCliReferences(_0x26fc19,_0x46215d);const _0x59cd42=_0x46215d['filter'](_0x137973=>_0x137973[_0x5cd431(0xef)]===_0x5cd431(0xeb)),_0x387473=_0x46215d[_0x5cd431(0xb1)](_0x1124a2=>_0x1124a2[_0x5cd431(0xef)]===_0x5cd431(0xbe));return{'ok':_0x59cd42[_0x5cd431(0xf9)]===0x0,'dir':_0x26fc19,'type':_0x382610[_0x5cd431(0xab)],'errors':_0x59cd42,'warnings':_0x387473};}function resolveSkillDirectoryRoot(_0x2a2d5c){const _0x21e63c=a55_0x311c84,_0x2aa3c3=resolve(_0x2a2d5c);if(!existsSync(_0x2aa3c3))throw CliErrors[_0x21e63c(0xf7)]('Skill\x20directory\x20not\x20found:\x20'+_0x2a2d5c);const _0x4467ed=lstatSync(_0x2aa3c3);if(_0x4467ed['isDirectory']())return _0x2aa3c3;if(_0x4467ed[_0x21e63c(0xec)]()){const _0x29eb7d=realpathSync(_0x2aa3c3);if(lstatSync(_0x29eb7d)[_0x21e63c(0xaa)]())return _0x29eb7d;}throw CliErrors['validation'](_0x21e63c(0xd3)+_0x2a2d5c);}export function throwIfSkillValidationFailed(_0x3df005,_0x15bd08=![]){const _0x2e8a83=a55_0x311c84;if(_0x3df005['ok'])return;const _0x3f5f9e=_0x3df005[_0x2e8a83(0xb5)]['map'](_0x2d8d63=>{const _0x28d779=_0x2e8a83,_0x51ef71=_0x2d8d63[_0x28d779(0x9d)]?'#'+_0x2d8d63[_0x28d779(0x9d)]:'';return _0x2d8d63['level'][_0x28d779(0xc1)]()+'\x20'+_0x2d8d63[_0x28d779(0xe3)]+'\x20'+_0x2d8d63[_0x28d779(0xad)]+_0x51ef71+':\x20'+_0x2d8d63[_0x28d779(0xe1)]+_0x28d779(0xac)+_0x2d8d63['suggestion'];});throw CliErrors[_0x2e8a83(0xf7)](_0x2e8a83(0xa4)+_0x3f5f9e[_0x2e8a83(0x9b)]('\x0a'),_0x2e8a83(0xcb));}function loadRequiredSkillFile(_0x41f75a,_0x1d2cb8){const _0x3db9b1=a55_0x311c84,_0x4bb02f=resolve(_0x41f75a,SKILL_FILE);if(!existsSync(_0x4bb02f))return _0x1d2cb8[_0x3db9b1(0xbc)](issue('error',_0x3db9b1(0xda),SKILL_FILE,_0x3db9b1(0x9f),'Add\x20SKILL.md\x20at\x20the\x20Skill\x20directory\x20root.')),undefined;const _0x362af5=lstatSync(_0x4bb02f);if(_0x362af5[_0x3db9b1(0xec)]())return _0x1d2cb8[_0x3db9b1(0xbc)](issue('error',_0x3db9b1(0xda),SKILL_FILE,'SKILL.md\x20must\x20be\x20a\x20regular\x20file.',_0x3db9b1(0xa3))),undefined;if(!_0x362af5[_0x3db9b1(0xd1)]())return _0x1d2cb8['push'](issue(_0x3db9b1(0xeb),_0x3db9b1(0xda),SKILL_FILE,'SKILL.md\x20is\x20not\x20a\x20file.',_0x3db9b1(0xdb))),undefined;return{'path':SKILL_FILE,'content':readFileSync(_0x4bb02f,_0x3db9b1(0xd9))};}function validateFrontmatter(_0x515ceb,_0x18f0dd,_0x177c44){const _0x45fa65=a55_0x311c84;if(!_0x18f0dd[_0x45fa65(0xb4)]){_0x177c44[_0x45fa65(0xbc)](issue(_0x45fa65(0xeb),_0x45fa65(0xc7),_0x515ceb,_0x45fa65(0xf6),'Add\x20frontmatter\x20with\x20name\x20and\x20description.'));return;}!_0x18f0dd[_0x45fa65(0xe7)]?.['trim']()&&_0x177c44['push'](issue(_0x45fa65(0xeb),_0x45fa65(0xc7),_0x515ceb,'Frontmatter\x20name\x20is\x20missing.','Set\x20name\x20to\x20the\x20Skill\x20directory\x20code.')),!_0x18f0dd['displayName']?.[_0x45fa65(0xd0)]()&&_0x177c44[_0x45fa65(0xbc)](issue(_0x45fa65(0xbe),_0x45fa65(0xca),_0x515ceb,_0x45fa65(0xbb),_0x45fa65(0xed))),!_0x18f0dd[_0x45fa65(0xd2)]?.[_0x45fa65(0xd0)]()&&_0x177c44['push'](issue(_0x45fa65(0xbe),_0x45fa65(0xb8),_0x515ceb,'Frontmatter\x20example\x20is\x20missing.',_0x45fa65(0xe6))),!_0x18f0dd[_0x45fa65(0xee)]?.[_0x45fa65(0xd0)]()&&_0x177c44[_0x45fa65(0xbc)](issue(_0x45fa65(0xeb),_0x45fa65(0xfa),_0x515ceb,_0x45fa65(0xb0),'填写模型触发语义:用户在什么场景应使用本\x20Skill、不要使用的边界和关键词。')),_0x18f0dd['internal']===!![]&&_0x177c44['push'](issue(_0x45fa65(0xeb),_0x45fa65(0xe2),_0x515ceb,'metadata.internal=true\x20Skills\x20cannot\x20be\x20uploaded.',_0x45fa65(0x9e))),_0x18f0dd[_0x45fa65(0xab)]?.[_0x45fa65(0xd0)]()&&!SUPPORTED_SKILL_TYPES['has'](_0x18f0dd[_0x45fa65(0xab)])&&_0x177c44[_0x45fa65(0xbc)](issue(_0x45fa65(0xeb),_0x45fa65(0xc7),_0x515ceb,_0x45fa65(0xf1),_0x45fa65(0xc8)));}function validateRuntimeCliReferences(_0x56c8fb,_0x2118cc){const _0x2240c4=a55_0x311c84;for(const _0x56e791 of findRabetbaseCliInvocations(_0x56c8fb)){_0x2118cc[_0x2240c4(0xbc)](issue('warning',_0x2240c4(0x99),_0x56e791['file'],_0x2240c4(0xd5),_0x2240c4(0xc3),'L'+_0x56e791[_0x2240c4(0xbd)]));}}function findRabetbaseCliInvocations(_0x176b57){const _0x20fd8e=a55_0x311c84;return scanSkillDirectory(_0x176b57)[_0x20fd8e(0xb1)](_0x22215b=>TEXT_SKILL_FILE_PATTERN[_0x20fd8e(0xf3)](_0x22215b['path']))[_0x20fd8e(0xcf)](_0x4af5b9=>{const _0x4ba038=_0x20fd8e,_0x4e9fa5=fileText(_0x4af5b9);return _0x4e9fa5[_0x4ba038(0xd8)](/\r?\n/)[_0x4ba038(0xc5)]((_0x312d40,_0xff19ac)=>({'file':_0x4af5b9[_0x4ba038(0xba)],'line':_0xff19ac+0x1,'text':_0x312d40}))[_0x4ba038(0xb1)](({text:_0x4ab407})=>isRabetbaseCliInvocation(_0x4ab407))['map'](({file:_0x2482b5,line:_0x5bf4b8})=>({'file':_0x2482b5,'line':_0x5bf4b8}));});}const RABETBASE_SUBCOMMANDS=[a55_0x311c84(0xe4),'sql',a55_0x311c84(0xd7),'page',a55_0x311c84(0xea),a55_0x311c84(0xc9),a55_0x311c84(0xc2),a55_0x311c84(0xc0),a55_0x311c84(0xcc),'kb',a55_0x311c84(0xa7),a55_0x311c84(0xa9),a55_0x311c84(0xe8),a55_0x311c84(0xe9),a55_0x311c84(0xa2),a55_0x311c84(0xc4)],RABETBASE_INVOCATION=new RegExp(String['raw']`\brabetbase\s+(?:${RABETBASE_SUBCOMMANDS[a55_0x311c84(0x9b)]('|')})\b`+String[a55_0x311c84(0xd4)]`(?:\s+[a-z][\w-]*){0,2}\s+(?:--?[a-z]|[\w.-]+=)`,'i');function isRabetbaseCliInvocation(_0x46c772){const _0xa83711=a55_0x311c84,_0x15327f=_0x46c772[_0xa83711(0xe5)](/\brabetbase\b/i);if(_0x15327f<0x0)return![];const _0x462e89=_0x46c772[_0xa83711(0x9a)](_0x15327f)[_0xa83711(0xd8)](/\blovrabet\b/i)[0x0]??'';return RABETBASE_INVOCATION['test'](_0x462e89);}function parseFrontmatter(_0x58f0dd){const _0x2038a5=a55_0x311c84,_0x3fc970=_0x58f0dd[_0x2038a5(0xce)](/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!_0x3fc970)return{'hasFrontmatter':![]};const _0x3699a0=_0x3fc970[0x1]??'',_0x1cc43b={'hasFrontmatter':!![]};let _0x4b547d;try{_0x4b547d=a55_0x1ac55a(_0x3699a0);}catch{return _0x1cc43b;}const _0x34c9cd=asRecord(_0x4b547d);if(!_0x34c9cd)return _0x1cc43b;_0x1cc43b[_0x2038a5(0xe7)]=scalarToString(_0x34c9cd[_0x2038a5(0xe7)]),_0x1cc43b[_0x2038a5(0xcd)]=scalarToString(_0x34c9cd[_0x2038a5(0xcd)]),_0x1cc43b['description']=scalarToString(_0x34c9cd['description']),_0x1cc43b[_0x2038a5(0xd2)]=scalarToString(_0x34c9cd[_0x2038a5(0xd2)]);const _0x6a093a=asRecord(_0x34c9cd[_0x2038a5(0xb7)]);return _0x6a093a&&(_0x1cc43b['type']=scalarToString(_0x6a093a[_0x2038a5(0xab)]),_0x1cc43b['internal']=scalarToBoolean(_0x6a093a[_0x2038a5(0xa1)])),_0x1cc43b;}function asRecord(_0x17ee39){const _0x3eeffe=a55_0x311c84;if(_0x17ee39&&typeof _0x17ee39===_0x3eeffe(0xde)&&!Array[_0x3eeffe(0xa0)](_0x17ee39))return _0x17ee39;return undefined;}function a55_0x39e9(){const _0x355193=['write','boolean','message','internal-skill','ruleId','dataset','search','Set\x20example\x20to\x20one\x20short\x20user\x20message\x20that\x20can\x20directly\x20trigger\x20this\x20Skill.','name','data','auth','project','error','isSymbolicLink','Set\x20displayName\x20to\x20the\x20human-readable\x20Skill\x20name\x20shown\x20in\x20SkillHub.','description','level','36395940FZQZKn','metadata.type\x20must\x20be\x20one\x20of\x20write,\x20read,\x20or\x20trainer.','number','test','91830bJtRuO','275804MjqVmL','SKILL.md\x20must\x20start\x20with\x20frontmatter.','validation','trainer','length','description-required','rabetbase-cli-reference','slice','join','content','section','Remove\x20metadata.internal\x20or\x20set\x20it\x20to\x20false\x20before\x20running\x20skill\x20push.','Missing\x20SKILL.md.','isArray','internal','logs','Replace\x20the\x20symlink\x20with\x20a\x20regular\x20SKILL.md\x20file\x20inside\x20the\x20Skill\x20directory.','Skill\x20validation\x20failed:\x0a','49398omXPCE','95LbZdkV','config','13GxhOWP','workspace','isDirectory','type','\x20Fix:\x20','file','string','733289MtAKmr','Frontmatter\x20description\x20is\x20empty.','filter','3576039yOBDLa','1784yISzMB','hasFrontmatter','errors','1133DXqopl','metadata','example-recommended','5571JzXaQD','path','Frontmatter\x20displayName\x20is\x20missing.','push','line','warning','toLowerCase','service','toUpperCase','schema','If\x20this\x20is\x20a\x20runtime\x20step,\x20replace\x20it\x20with\x20the\x20equivalent\x20lovrabet\x20command.\x20Dev-time\x20discovery\x20or\x20handoff\x20notes\x20can\x20stay.','registry','map','read','frontmatter-required','Set\x20metadata.type\x20to\x20write,\x20read,\x20or\x20trainer.','app','display-name-recommended','Fix\x20the\x20Skill\x20metadata\x20before\x20running\x20skill\x20push.','artifact','displayName','match','flatMap','trim','isFile','example','Skill\x20directory\x20not\x20found:\x20','raw','This\x20line\x20invokes\x20the\x20rabetbase\x20CLI.\x20rabetbase\x20is\x20a\x20dev-time\x20tool;\x20runtime\x20Skills\x20should\x20drive\x20runtime\x20work\x20through\x20lovrabet\x20commands.','2PWUmuO','bff','split','utf8','structure-complete','Add\x20SKILL.md\x20as\x20a\x20regular\x20file\x20at\x20the\x20Skill\x20directory\x20root.','567wEkmvN','SKILL.md','object'];a55_0x39e9=function(){return _0x355193;};return a55_0x39e9();}function scalarToString(_0xeaf0b2){const _0xd00e4a=a55_0x311c84;if(typeof _0xeaf0b2==='string')return _0xeaf0b2[_0xd00e4a(0xd0)]();if(typeof _0xeaf0b2===_0xd00e4a(0xf2)||typeof _0xeaf0b2===_0xd00e4a(0xe0))return String(_0xeaf0b2);return undefined;}function scalarToBoolean(_0x121b44){const _0x4b1bbd=a55_0x311c84;if(typeof _0x121b44==='boolean')return _0x121b44;if(typeof _0x121b44===_0x4b1bbd(0xae))return cleanBoolean(_0x121b44);return undefined;}function a55_0x2d90(_0x17ad22,_0x28a78f){_0x17ad22=_0x17ad22-0x99;const _0x39e97c=a55_0x39e9();let _0x2d907d=_0x39e97c[_0x17ad22];return _0x2d907d;}function cleanBoolean(_0x22a6b5){const _0x7838a8=a55_0x311c84,_0x1d7a17=_0x22a6b5[_0x7838a8(0xd0)]()[_0x7838a8(0xbf)]();if(_0x1d7a17==='true')return!![];if(_0x1d7a17==='false')return![];return undefined;}function issue(_0x29148b,_0xc8cbb1,_0x35d0d1,_0x2df896,_0x49ac4d,_0x77cb23){return{'level':_0x29148b,'ruleId':_0xc8cbb1,'file':_0x35d0d1,'section':_0x77cb23,'message':_0x2df896,'suggestion':_0x49ac4d};}
@@ -1 +1 @@
1
- const a57_0x4a510f=a57_0x37d1;(function(_0x584f48,_0x21d77e){const _0x222ea1=a57_0x37d1,_0x485ceb=_0x584f48();while(!![]){try{const _0x37ef44=-parseInt(_0x222ea1(0x1ae))/0x1+parseInt(_0x222ea1(0x1a9))/0x2*(-parseInt(_0x222ea1(0x1b4))/0x3)+-parseInt(_0x222ea1(0x1b7))/0x4*(parseInt(_0x222ea1(0x1b2))/0x5)+-parseInt(_0x222ea1(0x1aa))/0x6+-parseInt(_0x222ea1(0x1be))/0x7*(parseInt(_0x222ea1(0x1b9))/0x8)+-parseInt(_0x222ea1(0x1b6))/0x9*(-parseInt(_0x222ea1(0x1b5))/0xa)+parseInt(_0x222ea1(0x1ac))/0xb*(parseInt(_0x222ea1(0x1b0))/0xc);if(_0x37ef44===_0x21d77e)break;else _0x485ceb['push'](_0x485ceb['shift']());}catch(_0x4dfdc1){_0x485ceb['push'](_0x485ceb['shift']());}}}(a57_0x532a,0xe460e));function a57_0x37d1(_0x2d84f4,_0xd1cfbd){_0x2d84f4=_0x2d84f4-0x1a9;const _0x532a9f=a57_0x532a();let _0x37d1de=_0x532a9f[_0x2d84f4];return _0x37d1de;}function a57_0x532a(){const _0x23cbf5=['sqlContent','appCode','detail','980175ddbNOA','sql','dbId','2DaqPXt','7433784ZFeoTq','bool','11638SlkYDK','str','1314000wnlRbX','verbose','65424AfOOdk','description','8275935pXGGBA','sqlCode','4146018QSxfgW','10zXSRec','15637986ActtPl','4bGOedT','sqlName','56BNHlEU','Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode'];a57_0x532a=function(){return _0x23cbf5;};return a57_0x532a();}import{getSqlQueryInfo}from'../../core/api-client.js';import{getDbName}from'../../core/db-resolver.js';import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const sqlDetail={'service':a57_0x4a510f(0x1bf),'command':a57_0x4a510f(0x1bd),'description':a57_0x4a510f(0x1ba),'risk':'read','flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0xfaf7b){const _0x3e6828=a57_0x4a510f,_0x36ba30=await getSqlQueryInfo(_0xfaf7b[_0x3e6828(0x1bc)],_0xfaf7b[_0x3e6828(0x1ad)]('sqlcode')),_0x1b063b=_0xfaf7b[_0x3e6828(0x1ab)](_0x3e6828(0x1af));if(_0x1b063b)return{'ok':!![],'data':_0x36ba30};const _0x474ba1=_0x36ba30[_0x3e6828(0x1c0)]?await getDbName(_0xfaf7b[_0x3e6828(0x1bc)],_0x36ba30[_0x3e6828(0x1c0)]):undefined;return{'ok':!![],'data':{'sqlCode':_0x36ba30[_0x3e6828(0x1b3)],'sqlName':_0x36ba30[_0x3e6828(0x1b8)],'db':_0x474ba1?_0x474ba1+'\x20('+_0x36ba30['dbId']+')':_0x36ba30['dbId']??'','description':_0x36ba30[_0x3e6828(0x1b1)]??'','sqlContent':_0x36ba30[_0x3e6828(0x1bb)]??''}};}};
1
+ const a56_0x36334e=a56_0x1a8f;(function(_0x5cda6f,_0x483eea){const _0x3ba0fd=a56_0x1a8f,_0x17cf6c=_0x5cda6f();while(!![]){try{const _0x412082=parseInt(_0x3ba0fd(0xd4))/0x1+parseInt(_0x3ba0fd(0xd6))/0x2*(parseInt(_0x3ba0fd(0xcc))/0x3)+-parseInt(_0x3ba0fd(0xd9))/0x4*(parseInt(_0x3ba0fd(0xde))/0x5)+-parseInt(_0x3ba0fd(0xd8))/0x6*(-parseInt(_0x3ba0fd(0xd2))/0x7)+-parseInt(_0x3ba0fd(0xd3))/0x8+parseInt(_0x3ba0fd(0xdc))/0x9+-parseInt(_0x3ba0fd(0xd5))/0xa;if(_0x412082===_0x483eea)break;else _0x17cf6c['push'](_0x17cf6c['shift']());}catch(_0x1dce22){_0x17cf6c['push'](_0x17cf6c['shift']());}}}(a56_0x5ce9,0xb494f));function a56_0x1a8f(_0x4693c0,_0x3d2961){_0x4693c0=_0x4693c0-0xcb;const _0x5ce9da=a56_0x5ce9();let _0x1a8f0f=_0x5ce9da[_0x4693c0];return _0x1a8f0f;}import{getSqlQueryInfo}from'../../core/api-client.js';import{getDbName}from'../../core/db-resolver.js';function a56_0x5ce9(){const _0x2f9fe6=['sqlCode','40314HXzWdQ','5439932AkRihb','bool','read','6558759NbejlP','sqlContent','5BxaJOY','str','verbose','510NYvrxY','sqlName','detail','appCode','sql','dbId','245afIyEP','4076984pRgcaz','561353exdQIg','3292100QzXlAL','16626fcLjmG'];a56_0x5ce9=function(){return _0x2f9fe6;};return a56_0x5ce9();}import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const sqlDetail={'service':a56_0x36334e(0xd0),'command':a56_0x36334e(0xce),'description':'Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode','risk':a56_0x36334e(0xdb),'flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x138108){const _0x3e25ef=a56_0x36334e,_0x20eeae=await getSqlQueryInfo(_0x138108[_0x3e25ef(0xcf)],_0x138108[_0x3e25ef(0xdf)]('sqlcode')),_0x2d4d43=_0x138108[_0x3e25ef(0xda)](_0x3e25ef(0xcb));if(_0x2d4d43)return{'ok':!![],'data':_0x20eeae};const _0x1fdc02=_0x20eeae[_0x3e25ef(0xd1)]?await getDbName(_0x138108[_0x3e25ef(0xcf)],_0x20eeae[_0x3e25ef(0xd1)]):undefined;return{'ok':!![],'data':{'sqlCode':_0x20eeae[_0x3e25ef(0xd7)],'sqlName':_0x20eeae[_0x3e25ef(0xcd)],'db':_0x1fdc02?_0x1fdc02+'\x20('+_0x20eeae[_0x3e25ef(0xd1)]+')':_0x20eeae[_0x3e25ef(0xd1)]??'','description':_0x20eeae['description']??'','sqlContent':_0x20eeae[_0x3e25ef(0xdd)]??''}};}};
@@ -1 +1 @@
1
- function a58_0x2b2e(){const _0x2a0b66=['execSuccess','2490201SOFADj','14833700LqmotQ','6217013dLrSNX','5359542VMloDg','str','now','8BenXrg','params','23757ElpwqX','18jkaBBF','exec','execError','read','Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','length','104lLdqwK','5agOddh','\x20row(s)\x20in\x20','Returned\x20','sqlcode','execResult','42388VtzUYL','3263769EspKpe'];a58_0x2b2e=function(){return _0x2a0b66;};return a58_0x2b2e();}const a58_0x34c3f8=a58_0x4d54;(function(_0x2a019b,_0x3d1b07){const _0x377996=a58_0x4d54,_0x3bfdb1=_0x2a019b();while(!![]){try{const _0x4a1a30=parseInt(_0x377996(0x196))/0x1*(parseInt(_0x377996(0x1a2))/0x2)+-parseInt(_0x377996(0x195))/0x3*(parseInt(_0x377996(0x19c))/0x4)+parseInt(_0x377996(0x19d))/0x5*(parseInt(_0x377996(0x190))/0x6)+parseInt(_0x377996(0x1a5))/0x7+-parseInt(_0x377996(0x193))/0x8*(-parseInt(_0x377996(0x1a3))/0x9)+-parseInt(_0x377996(0x1a6))/0xa+parseInt(_0x377996(0x18f))/0xb;if(_0x4a1a30===_0x3d1b07)break;else _0x3bfdb1['push'](_0x3bfdb1['shift']());}catch(_0x1d81b7){_0x3bfdb1['push'](_0x3bfdb1['shift']());}}}(a58_0x2b2e,0xd42bc));import{executeSdkSql}from'../../core/sdk-client.js';import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';function a58_0x4d54(_0x1ebced,_0x1d5d70){_0x1ebced=_0x1ebced-0x18f;const _0x2b2ed9=a58_0x2b2e();let _0x4d541b=_0x2b2ed9[_0x1ebced];return _0x4d541b;}import{parseJsonParams}from'../../utils/params.js';export const sqlExec={'service':'sql','command':a58_0x34c3f8(0x197),'description':a58_0x34c3f8(0x19a),'risk':a58_0x34c3f8(0x199),'flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x1b9c60){const _0x23ddaa=a58_0x34c3f8,_0x57df1c=parseJsonParams(_0x1b9c60[_0x23ddaa(0x191)](_0x23ddaa(0x194))),_0x37bebc=Date[_0x23ddaa(0x192)](),_0x1c6e94=await executeSdkSql(_0x1b9c60[_0x23ddaa(0x191)](_0x23ddaa(0x1a0)),_0x57df1c),_0x133dae=Date[_0x23ddaa(0x192)]()-_0x37bebc,_0x2811c1=_0x1c6e94?.[_0x23ddaa(0x1a1)]??_0x1c6e94,_0x2d7cb6=_0x1c6e94?.[_0x23ddaa(0x1a4)]??!![];if(!_0x2d7cb6)return{'ok':![],'data':{'error':_0x1c6e94?.[_0x23ddaa(0x198)]||'SQL\x20execution\x20failed','elapsed':_0x133dae},'message':'SQL\x20execution\x20failed'};const _0x2c72db=Array['isArray'](_0x2811c1)?_0x2811c1:[];return{'ok':!![],'data':{'rows':_0x2c72db,'rowCount':_0x2c72db[_0x23ddaa(0x19b)],'elapsed':_0x133dae},'message':_0x23ddaa(0x19f)+_0x2c72db['length']+_0x23ddaa(0x19e)+_0x133dae+'ms'};}};
1
+ const a57_0x3e87a8=a57_0x4bd2;(function(_0x58c98a,_0x90e56a){const _0x52214d=a57_0x4bd2,_0x519a77=_0x58c98a();while(!![]){try{const _0x75b0e7=-parseInt(_0x52214d(0x1c7))/0x1*(-parseInt(_0x52214d(0x1d6))/0x2)+parseInt(_0x52214d(0x1d7))/0x3*(parseInt(_0x52214d(0x1d5))/0x4)+-parseInt(_0x52214d(0x1cc))/0x5*(parseInt(_0x52214d(0x1c8))/0x6)+-parseInt(_0x52214d(0x1ca))/0x7*(-parseInt(_0x52214d(0x1c9))/0x8)+-parseInt(_0x52214d(0x1c6))/0x9*(parseInt(_0x52214d(0x1d4))/0xa)+-parseInt(_0x52214d(0x1d3))/0xb*(-parseInt(_0x52214d(0x1cb))/0xc)+-parseInt(_0x52214d(0x1d0))/0xd;if(_0x75b0e7===_0x90e56a)break;else _0x519a77['push'](_0x519a77['shift']());}catch(_0x49253c){_0x519a77['push'](_0x519a77['shift']());}}}(a57_0x126c,0xab9eb));import{executeSdkSql}from'../../core/sdk-client.js';function a57_0x126c(){const _0x496662=['sql','2861716PcvVpa','7890ADAjZV','5728LEkDyz','321434ftgLmu','1497RVHzIL','str','execError','SQL\x20execution\x20failed','3807kPrbEG','5EWIAqW','564708uxMGmj','32ZkMOcx','60389QrLoDR','48mCyHPx','5uioWYo','sqlcode','Returned\x20','length','19012045zIcrTL','now'];a57_0x126c=function(){return _0x496662;};return a57_0x126c();}function a57_0x4bd2(_0x1cc140,_0x323632){_0x1cc140=_0x1cc140-0x1c3;const _0x126c04=a57_0x126c();let _0x4bd2f3=_0x126c04[_0x1cc140];return _0x4bd2f3;}import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';import{parseJsonParams}from'../../utils/params.js';export const sqlExec={'service':a57_0x3e87a8(0x1d2),'command':'exec','description':'Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','risk':'read','flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x5f2740){const _0x3596f1=a57_0x3e87a8,_0x1c6b5d=parseJsonParams(_0x5f2740[_0x3596f1(0x1c3)]('params')),_0x263bc6=Date[_0x3596f1(0x1d1)](),_0x4436f5=await executeSdkSql(_0x5f2740['str'](_0x3596f1(0x1cd)),_0x1c6b5d),_0x1e32bf=Date[_0x3596f1(0x1d1)]()-_0x263bc6,_0xbd77b4=_0x4436f5?.['execResult']??_0x4436f5,_0x45d0f8=_0x4436f5?.['execSuccess']??!![];if(!_0x45d0f8)return{'ok':![],'data':{'error':_0x4436f5?.[_0x3596f1(0x1c4)]||_0x3596f1(0x1c5),'elapsed':_0x1e32bf},'message':_0x3596f1(0x1c5)};const _0x3d12d6=Array['isArray'](_0xbd77b4)?_0xbd77b4:[];return{'ok':!![],'data':{'rows':_0x3d12d6,'rowCount':_0x3d12d6[_0x3596f1(0x1cf)],'elapsed':_0x1e32bf},'message':_0x3596f1(0x1ce)+_0x3d12d6['length']+'\x20row(s)\x20in\x20'+_0x1e32bf+'ms'};}};
@@ -1 +1 @@
1
- (function(_0x2887b1,_0x5c1119){const _0x82383c=a59_0x4e7b,_0x4b25d3=_0x2887b1();while(!![]){try{const _0x3153d2=parseInt(_0x82383c(0x1f9))/0x1+-parseInt(_0x82383c(0x1f4))/0x2+-parseInt(_0x82383c(0x1f5))/0x3+parseInt(_0x82383c(0x1f6))/0x4+-parseInt(_0x82383c(0x1f8))/0x5+-parseInt(_0x82383c(0x1f7))/0x6+-parseInt(_0x82383c(0x1fa))/0x7*(-parseInt(_0x82383c(0x1fb))/0x8);if(_0x3153d2===_0x5c1119)break;else _0x4b25d3['push'](_0x4b25d3['shift']());}catch(_0x2b90ad){_0x4b25d3['push'](_0x4b25d3['shift']());}}}(a59_0x126d,0x8e369));import{sqlDetail}from'../../commands/sql/detail.js';import{sqlExec}from'../../commands/sql/exec.js';function a59_0x4e7b(_0x4bdd58,_0x1f6410){_0x4bdd58=_0x4bdd58-0x1f4;const _0x126d44=a59_0x126d();let _0x4e7bd2=_0x126d44[_0x4bdd58];return _0x4e7bd2;}function a59_0x126d(){const _0x461ada=['10303192qIxDzM','1787100YVVxJG','612117CEWeQa','1556768vbMoaD','1419348PqwjMZ','3955080AbGQwi','1030577bibKmN','7ostTrZ'];a59_0x126d=function(){return _0x461ada;};return a59_0x126d();}export const sqlDefinitions=[sqlDetail,sqlExec];
1
+ function a58_0x179b(_0x19bd5b,_0x4edbf2){_0x19bd5b=_0x19bd5b-0x163;const _0x5b4255=a58_0x5b42();let _0x179bfc=_0x5b4255[_0x19bd5b];return _0x179bfc;}(function(_0x2c7f9b,_0x455c96){const _0x314be9=a58_0x179b,_0x5a8cf7=_0x2c7f9b();while(!![]){try{const _0x833599=-parseInt(_0x314be9(0x16a))/0x1+parseInt(_0x314be9(0x166))/0x2*(-parseInt(_0x314be9(0x168))/0x3)+parseInt(_0x314be9(0x16c))/0x4+parseInt(_0x314be9(0x163))/0x5*(parseInt(_0x314be9(0x165))/0x6)+-parseInt(_0x314be9(0x167))/0x7+parseInt(_0x314be9(0x169))/0x8*(parseInt(_0x314be9(0x164))/0x9)+-parseInt(_0x314be9(0x16b))/0xa;if(_0x833599===_0x455c96)break;else _0x5a8cf7['push'](_0x5a8cf7['shift']());}catch(_0x29291d){_0x5a8cf7['push'](_0x5a8cf7['shift']());}}}(a58_0x5b42,0x2fed4));import{sqlDetail}from'../../commands/sql/detail.js';function a58_0x5b42(){const _0x1865a5=['9fazMMD','485310uOMjqR','339362tUxFMY','2387420CjfiCw','3FWetAk','1547728DsXjyY','560iXGOZW','278440lVDIxE','873788Cikpif','20xcgFWf'];a58_0x5b42=function(){return _0x1865a5;};return a58_0x5b42();}import{sqlExec}from'../../commands/sql/exec.js';export const sqlDefinitions=[sqlDetail,sqlExec];
@@ -1 +1 @@
1
- const a60_0x2a44e4=a60_0x231e;(function(_0x1a08f2,_0x115e74){const _0xce7487=a60_0x231e,_0x30f77e=_0x1a08f2();while(!![]){try{const _0x28cb1c=-parseInt(_0xce7487(0x182))/0x1*(-parseInt(_0xce7487(0x173))/0x2)+-parseInt(_0xce7487(0x14a))/0x3*(parseInt(_0xce7487(0x15b))/0x4)+-parseInt(_0xce7487(0x18a))/0x5*(-parseInt(_0xce7487(0x188))/0x6)+parseInt(_0xce7487(0x180))/0x7*(-parseInt(_0xce7487(0x161))/0x8)+-parseInt(_0xce7487(0x167))/0x9*(parseInt(_0xce7487(0x14f))/0xa)+parseInt(_0xce7487(0x14e))/0xb+-parseInt(_0xce7487(0x17f))/0xc*(-parseInt(_0xce7487(0x152))/0xd);if(_0x28cb1c===_0x115e74)break;else _0x30f77e['push'](_0x30f77e['shift']());}catch(_0x1fe606){_0x30f77e['push'](_0x30f77e['shift']());}}}(a60_0x23d2,0x524ee));import{spawnSync}from'node:child_process';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{LOVRABET_NPM_PACKAGE_NAME,LOVRABET_SKILL_SOURCE,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{resolveNpmBin}from'../utils/platform.js';function a60_0x231e(_0x588f1f,_0xdb3e41){_0x588f1f=_0x588f1f-0x143;const _0x23d273=a60_0x23d2();let _0x231e42=_0x23d273[_0x588f1f];return _0x231e42;}import{getCliVersion}from'../utils/version.js';import{LOVRABET_SKIP_NPX_SKILLS_ENV,runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';const updateFlags=[{'name':'latest','type':'boolean','description':'Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','default':![]},{'name':a60_0x2a44e4(0x158),'type':a60_0x2a44e4(0x16e),'description':'Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','default':![]},{'name':'version','type':a60_0x2a44e4(0x16b),'description':a60_0x2a44e4(0x14d)},{'name':a60_0x2a44e4(0x18d),'type':a60_0x2a44e4(0x16e),'description':a60_0x2a44e4(0x185),'default':![]},{'name':'skills','type':a60_0x2a44e4(0x16e),'description':a60_0x2a44e4(0x191),'default':!![],'hidden':!![]}];function parseSemver(_0x5debea){const _0x4e356f=a60_0x2a44e4,_0x57cc79=_0x5debea['trim']()[_0x4e356f(0x15c)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x57cc79)return null;return{'major':Number(_0x57cc79[0x1]),'minor':Number(_0x57cc79[0x2]),'patch':Number(_0x57cc79[0x3]),'prerelease':_0x57cc79[0x4]};}function compareSemver(_0x4cabdd,_0x43ee95){const _0x258959=a60_0x2a44e4,_0x2a4802=parseSemver(_0x4cabdd),_0x559277=parseSemver(_0x43ee95);if(!_0x2a4802||!_0x559277)throw CliErrors['validation'](_0x258959(0x177),_0x258959(0x15d));for(const _0x463fe3 of[_0x258959(0x16a),_0x258959(0x183),'patch']){if(_0x2a4802[_0x463fe3]<_0x559277[_0x463fe3])return-0x1;if(_0x2a4802[_0x463fe3]>_0x559277[_0x463fe3])return 0x1;}if(!_0x2a4802[_0x258959(0x143)]&&!_0x559277[_0x258959(0x143)])return 0x0;if(!_0x2a4802['prerelease'])return 0x1;if(!_0x559277[_0x258959(0x143)])return-0x1;if(_0x2a4802[_0x258959(0x143)]===_0x559277['prerelease'])return 0x0;return _0x2a4802['prerelease']<_0x559277[_0x258959(0x143)]?-0x1:0x1;}function getRequestedVersion(_0x2ed7ad){const _0x858d76=a60_0x2a44e4,_0x4fc534=_0x2ed7ad[_0x858d76(0x16f)](_0x858d76(0x178))[_0x858d76(0x163)]();if(_0x4fc534)return _0x4fc534;return String(_0x2ed7ad[_0x858d76(0x148)]?.[0x0]??'')[_0x858d76(0x163)]();}function shouldSkipCliBuiltInSkill(_0x5043c5){const _0x2e7d47=a60_0x2a44e4;return _0x5043c5[_0x2e7d47(0x18b)](_0x2e7d47(0x18d))||_0x5043c5['flag'](_0x2e7d47(0x17b))===![];}function a60_0x23d2(){const _0x576ba0=['\x20CLI\x20from\x20npm','\x20\x20Skipped\x20CLI\x20Built-in\x20Skill\x20install\x20(','nonInteractive','Already\x20on\x20requested\x20version\x20(v','beta','map','filter','100prffqb','match','Use\x20full\x20semver\x20versions\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','stderr','write','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','2168qeDNNl','object','trim','update','\x20\x20Try\x20manually:\x20npm\x20install\x20-g\x20','source','18jIXlwS','toString','inherit','major','string','\x20version\x20from\x20npm.','Skipping\x20CLI\x20Built-in\x20Skill\x20refresh\x20(--no-skills).','boolean','str','\x20->\x20','Updated\x20to\x20v','message','100762LpXVoW','Unable\x20to\x20resolve\x20','json','skipped','Version\x20comparison\x20failed.','version','latest','run','skills','Update\x20','/dist-tags','npm','300JOipsO','12761sNBMrI','error','11YjGESn','minor','warn','Skip\x20CLI\x20Built-in\x20Skill\x20refresh\x20after\x20updating','/-/package/','entries','1434HFZAPj','Invalid\x20version:\x20','4780QrzEMn','bool','status','no-skills','Checking\x20CLI\x20Built-in\x20Skill...','=1).','unknown','Refresh\x20CLI\x20Built-in\x20Skill\x20after\x20updating','prerelease','\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.','cwd','log','stdout','args','Current\x20version:\x20','68559UWdEBa','pipe','\x20\x20Run\x20manually:\x20lovrabet\x20cli-skill\x20install','Install\x20a\x20specific\x20CLI\x20version','7170570DIbBXq','612890eVdVYf','validation','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.','47073QulvCO','length'];a60_0x23d2=function(){return _0x576ba0;};return a60_0x23d2();}async function validateUpdateFlags(_0x5685e6){const _0x5ba281=a60_0x2a44e4,_0x2281e6=getRequestedVersion(_0x5685e6),_0x19a133=[_0x5685e6[_0x5ba281(0x18b)]('latest')?_0x5ba281(0x179):'',_0x5685e6[_0x5ba281(0x18b)]('beta')?_0x5ba281(0x158):'',_0x2281e6?_0x5ba281(0x178):''][_0x5ba281(0x15a)](Boolean);if(_0x19a133[_0x5ba281(0x153)]>0x1)throw CliErrors['validation']('--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.',_0x5ba281(0x151));if(_0x2281e6&&!parseSemver(_0x2281e6))throw CliErrors[_0x5ba281(0x150)](_0x5ba281(0x189)+_0x2281e6,_0x5ba281(0x160));}async function fetchNpmDistTags(){const _0x398db3=a60_0x2a44e4;try{const _0x5e3073=NPM_REGISTRY_BASE_URL+_0x398db3(0x186)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x398db3(0x17d),_0x32df47=await fetch(_0x5e3073,{'signal':AbortSignal['timeout'](0x2710)});if(!_0x32df47['ok'])return null;const _0x3a7fb1=await _0x32df47[_0x398db3(0x175)]();if(!_0x3a7fb1||typeof _0x3a7fb1!==_0x398db3(0x162))return null;return Object['fromEntries'](Object[_0x398db3(0x187)](_0x3a7fb1)['filter'](([,_0x5581b9])=>typeof _0x5581b9==='string'&&_0x5581b9[_0x398db3(0x163)]())[_0x398db3(0x159)](([_0x1b2c8e,_0x5770e6])=>[_0x1b2c8e,String(_0x5770e6)[_0x398db3(0x163)]()]));}catch{return null;}}async function resolveTargetVersion(_0x3cfbb1){const _0x3dc4c2=a60_0x2a44e4,_0x48ee3b=getRequestedVersion(_0x3cfbb1);if(_0x48ee3b)return{'version':_0x48ee3b,'source':_0x3dc4c2(0x178)};const _0x20055b=_0x3cfbb1[_0x3dc4c2(0x18b)](_0x3dc4c2(0x158))?'beta':'latest',_0x2640e7=await fetchNpmDistTags(),_0x170b58=_0x2640e7?.[_0x20055b];if(!_0x170b58)return null;return{'version':_0x170b58,'source':_0x20055b};}function shouldInstallTarget(_0x589949,_0x2c0740){const _0x563581=a60_0x2a44e4,_0x173160=compareSemver(_0x589949,_0x2c0740[_0x563581(0x178)]);if(_0x2c0740[_0x563581(0x166)]===_0x563581(0x178))return _0x173160!==0x0;return _0x173160<0x0;}function installCliPackage(_0x2e58b4,_0x59c77a){const _0xdf3d08=a60_0x2a44e4,_0x62d266=resolveNpmBin(_0xdf3d08(0x17e)),_0x93ae7a=['install','-g',LOVRABET_NPM_PACKAGE_NAME+'@'+_0x2e58b4];console[_0xdf3d08(0x146)]('*\x20'+[_0x62d266,..._0x93ae7a]['join']('\x20'));const _0x4ad1ff=spawnSync(_0x62d266,_0x93ae7a,{'cwd':process[_0xdf3d08(0x145)](),'stdio':_0x59c77a?_0xdf3d08(0x14b):_0xdf3d08(0x169),'env':process.env,'shell':![]});if(_0x4ad1ff['status']===0x0)return{'ok':!![]};let _0x2b2f4c=_0x4ad1ff[_0xdf3d08(0x181)]?.[_0xdf3d08(0x172)]||'exit\x20'+(_0x4ad1ff[_0xdf3d08(0x18c)]??_0xdf3d08(0x190));if(_0x59c77a){const _0x16b892=_0x4ad1ff[_0xdf3d08(0x15e)]?_0x4ad1ff[_0xdf3d08(0x15e)][_0xdf3d08(0x168)]()[_0xdf3d08(0x163)]():'',_0x4b5a9f=_0x4ad1ff[_0xdf3d08(0x147)]?_0x4ad1ff[_0xdf3d08(0x147)][_0xdf3d08(0x168)]()['trim']():'';if(_0x16b892)_0x2b2f4c=_0x16b892;else{if(_0x4b5a9f)_0x2b2f4c=_0x4b5a9f;}}return{'ok':![],'error':_0x2b2f4c};}async function installCliBuiltInSkill(_0x40b3a6){const _0x2c7417=a60_0x2a44e4;console[_0x2c7417(0x146)](_0x2c7417(0x18e));const _0x3224b6=runNpxSkillsAddGlobal(process[_0x2c7417(0x145)](),LOVRABET_SKILL_SOURCE,{'stdio':_0x40b3a6?_0x2c7417(0x14b):_0x2c7417(0x169)});if(_0x3224b6[_0x2c7417(0x176)]){console[_0x2c7417(0x146)](_0x2c7417(0x155)+LOVRABET_SKIP_NPX_SKILLS_ENV+_0x2c7417(0x18f));return;}if(_0x3224b6['ok']){console[_0x2c7417(0x146)]('\x20\x20CLI\x20Built-in\x20Skill\x20is\x20up\x20to\x20date.');return;}console[_0x2c7417(0x184)]('\x20\x20CLI\x20Built-in\x20Skill\x20update\x20failed:\x20'+(_0x3224b6['error']||'unknown')),console[_0x2c7417(0x146)](_0x2c7417(0x14c));}async function execute(_0x3bbe46){const _0x359d35=a60_0x2a44e4;await validateUpdateFlags(_0x3bbe46);const _0x20f017=getCliVersion();console['log'](_0x359d35(0x149)+_0x20f017),console[_0x359d35(0x146)]('Checking\x20npm\x20dist-tags...');const _0x5d3e81=await resolveTargetVersion(_0x3bbe46);if(!_0x5d3e81){const _0x2ae31a=_0x3bbe46['bool'](_0x359d35(0x158))?_0x359d35(0x158):'latest',_0x3235eb=_0x359d35(0x174)+_0x2ae31a+_0x359d35(0x16c);return console['warn'](_0x3235eb),console[_0x359d35(0x146)]('\x20\x20Run\x20manually:\x20npm\x20install\x20-g\x20'+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x2ae31a),{'ok':![]};}if(!shouldInstallTarget(_0x20f017,_0x5d3e81)){const _0xb15a44=_0x5d3e81[_0x359d35(0x166)]===_0x359d35(0x178)?_0x359d35(0x157)+_0x5d3e81[_0x359d35(0x178)]+').':'Already\x20up\x20to\x20date\x20(v'+_0x5d3e81[_0x359d35(0x178)]+').';return console[_0x359d35(0x146)](_0xb15a44),shouldSkipCliBuiltInSkill(_0x3bbe46)?console[_0x359d35(0x146)]('Skipping\x20CLI\x20Built-in\x20Skill\x20refresh\x20(--no-skills).'):await installCliBuiltInSkill(_0x3bbe46[_0x359d35(0x156)]),{'ok':!![]};}console[_0x359d35(0x146)]('Updating\x20'+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x20f017+_0x359d35(0x170)+_0x5d3e81[_0x359d35(0x178)]);const _0x2e3595=installCliPackage(_0x5d3e81[_0x359d35(0x178)],_0x3bbe46[_0x359d35(0x156)]);if(!_0x2e3595['ok']){const _0x12e3bc='Update\x20failed:\x20'+(_0x2e3595[_0x359d35(0x181)]||_0x359d35(0x190));return console[_0x359d35(0x181)](_0x12e3bc),console[_0x359d35(0x146)](_0x359d35(0x165)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x5d3e81['version']),{'ok':![]};}return console[_0x359d35(0x146)](_0x359d35(0x171)+_0x5d3e81[_0x359d35(0x178)]+'.'),console[_0x359d35(0x146)](_0x359d35(0x144)),shouldSkipCliBuiltInSkill(_0x3bbe46)?console[_0x359d35(0x146)](_0x359d35(0x16d)):await installCliBuiltInSkill(_0x3bbe46[_0x359d35(0x156)]),{'ok':!![]};}export const updateDefinition={'service':a60_0x2a44e4(0x164),'command':a60_0x2a44e4(0x17a),'description':a60_0x2a44e4(0x17c)+CLI_BIN_NAME+a60_0x2a44e4(0x154),'risk':a60_0x2a44e4(0x15f),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
1
+ const a59_0x2548ee=a59_0x20cd;(function(_0x14a9b4,_0x5ab6ec){const _0x33880d=a59_0x20cd,_0x5cc6a5=_0x14a9b4();while(!![]){try{const _0x277be8=parseInt(_0x33880d(0x1ab))/0x1*(parseInt(_0x33880d(0x1b4))/0x2)+-parseInt(_0x33880d(0x1a5))/0x3*(parseInt(_0x33880d(0x1b7))/0x4)+-parseInt(_0x33880d(0x1ad))/0x5*(-parseInt(_0x33880d(0x1e5))/0x6)+parseInt(_0x33880d(0x1c1))/0x7*(-parseInt(_0x33880d(0x1d6))/0x8)+parseInt(_0x33880d(0x1b5))/0x9+-parseInt(_0x33880d(0x1b1))/0xa*(-parseInt(_0x33880d(0x1a9))/0xb)+-parseInt(_0x33880d(0x1a1))/0xc*(parseInt(_0x33880d(0x1c0))/0xd);if(_0x277be8===_0x5ab6ec)break;else _0x5cc6a5['push'](_0x5cc6a5['shift']());}catch(_0x53a41c){_0x5cc6a5['push'](_0x5cc6a5['shift']());}}}(a59_0x2c5b,0x48f99));import{spawnSync}from'node:child_process';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{LOVRABET_NPM_PACKAGE_NAME,LOVRABET_SKILL_SOURCE,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{resolveNpmBin}from'../utils/platform.js';import{getCliVersion}from'../utils/version.js';import{LOVRABET_SKIP_NPX_SKILLS_ENV,runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';const updateFlags=[{'name':a59_0x2548ee(0x1aa),'type':a59_0x2548ee(0x1d8),'description':a59_0x2548ee(0x1c8),'default':![]},{'name':a59_0x2548ee(0x1a3),'type':'boolean','description':a59_0x2548ee(0x1b2),'default':![]},{'name':a59_0x2548ee(0x1cc),'type':a59_0x2548ee(0x1bc),'description':'Install\x20a\x20specific\x20CLI\x20version'},{'name':a59_0x2548ee(0x1c5),'type':a59_0x2548ee(0x1d8),'description':a59_0x2548ee(0x19c),'default':![]},{'name':a59_0x2548ee(0x1bd),'type':a59_0x2548ee(0x1d8),'description':a59_0x2548ee(0x1de),'default':!![],'hidden':!![]}];function parseSemver(_0x1f89d4){const _0x459d0f=a59_0x2548ee,_0x4d214b=_0x1f89d4[_0x459d0f(0x1e7)]()[_0x459d0f(0x1b3)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x4d214b)return null;return{'major':Number(_0x4d214b[0x1]),'minor':Number(_0x4d214b[0x2]),'patch':Number(_0x4d214b[0x3]),'prerelease':_0x4d214b[0x4]};}function compareSemver(_0x2dbb1e,_0x113dbd){const _0x1d6d4d=a59_0x2548ee,_0xa1c93a=parseSemver(_0x2dbb1e),_0x109d07=parseSemver(_0x113dbd);if(!_0xa1c93a||!_0x109d07)throw CliErrors[_0x1d6d4d(0x1d0)](_0x1d6d4d(0x1e6),_0x1d6d4d(0x1c9));for(const _0x2aa193 of[_0x1d6d4d(0x1e3),_0x1d6d4d(0x1c4),_0x1d6d4d(0x1e4)]){if(_0xa1c93a[_0x2aa193]<_0x109d07[_0x2aa193])return-0x1;if(_0xa1c93a[_0x2aa193]>_0x109d07[_0x2aa193])return 0x1;}if(!_0xa1c93a['prerelease']&&!_0x109d07[_0x1d6d4d(0x1ba)])return 0x0;if(!_0xa1c93a['prerelease'])return 0x1;if(!_0x109d07[_0x1d6d4d(0x1ba)])return-0x1;if(_0xa1c93a[_0x1d6d4d(0x1ba)]===_0x109d07['prerelease'])return 0x0;return _0xa1c93a[_0x1d6d4d(0x1ba)]<_0x109d07['prerelease']?-0x1:0x1;}function a59_0x2c5b(){const _0x292832=['Already\x20up\x20to\x20date\x20(v','18660xLWyOm','warn','beta','fromEntries','19923ZqjxYg','Checking\x20npm\x20dist-tags...','Skipping\x20CLI\x20Built-in\x20Skill\x20refresh\x20(--no-skills).','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.','761750kbZyYJ','latest','2eaCvwb','status','5oWcmOd','\x20\x20Try\x20manually:\x20npm\x20install\x20-g\x20','filter','length','30VTidwj','Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','match','395572aeikCD','816480YwRpDT','error','216qBdZvT','inherit','/dist-tags','prerelease','\x20\x20Run\x20manually:\x20npm\x20install\x20-g\x20','string','skills','source','Updating\x20','715PMzdob','4732hwYaZH','Update\x20','\x20version\x20from\x20npm.','minor','no-skills','join','map','Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','Use\x20full\x20semver\x20versions\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','Already\x20on\x20requested\x20version\x20(v','npm','version','update','json','exit\x20','validation','nonInteractive','bool','log','message','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','3856oHxoUt','toString','boolean','object','cwd','args','\x20\x20CLI\x20Built-in\x20Skill\x20update\x20failed:\x20','\x20\x20CLI\x20Built-in\x20Skill\x20is\x20up\x20to\x20date.','Refresh\x20CLI\x20Built-in\x20Skill\x20after\x20updating','pipe','\x20\x20Run\x20manually:\x20lovrabet\x20cli-skill\x20install','stdout','stderr','major','patch','2249004OjXtQe','Version\x20comparison\x20failed.','trim','Skip\x20CLI\x20Built-in\x20Skill\x20refresh\x20after\x20updating','Update\x20failed:\x20','/-/package/','\x20\x20Skipped\x20CLI\x20Built-in\x20Skill\x20install\x20('];a59_0x2c5b=function(){return _0x292832;};return a59_0x2c5b();}function getRequestedVersion(_0x1f0599){const _0x110723=a59_0x2548ee,_0x5b0d01=_0x1f0599['str'](_0x110723(0x1cc))[_0x110723(0x1e7)]();if(_0x5b0d01)return _0x5b0d01;return String(_0x1f0599[_0x110723(0x1db)]?.[0x0]??'')[_0x110723(0x1e7)]();}function shouldSkipCliBuiltInSkill(_0x532511){const _0x186ffd=a59_0x2548ee;return _0x532511[_0x186ffd(0x1d2)](_0x186ffd(0x1c5))||_0x532511['flag'](_0x186ffd(0x1bd))===![];}async function validateUpdateFlags(_0x12c6fd){const _0x46bb10=a59_0x2548ee,_0x474267=getRequestedVersion(_0x12c6fd),_0x28a580=[_0x12c6fd['bool'](_0x46bb10(0x1aa))?'latest':'',_0x12c6fd['bool'](_0x46bb10(0x1a3))?'beta':'',_0x474267?_0x46bb10(0x1cc):'']['filter'](Boolean);if(_0x28a580[_0x46bb10(0x1b0)]>0x1)throw CliErrors['validation']('--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.',_0x46bb10(0x1a8));if(_0x474267&&!parseSemver(_0x474267))throw CliErrors[_0x46bb10(0x1d0)]('Invalid\x20version:\x20'+_0x474267,_0x46bb10(0x1d5));}async function fetchNpmDistTags(){const _0x34cf00=a59_0x2548ee;try{const _0x273fb2=NPM_REGISTRY_BASE_URL+_0x34cf00(0x19e)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x34cf00(0x1b9),_0x361c7a=await fetch(_0x273fb2,{'signal':AbortSignal['timeout'](0x2710)});if(!_0x361c7a['ok'])return null;const _0x52db4c=await _0x361c7a[_0x34cf00(0x1ce)]();if(!_0x52db4c||typeof _0x52db4c!==_0x34cf00(0x1d9))return null;return Object[_0x34cf00(0x1a4)](Object['entries'](_0x52db4c)[_0x34cf00(0x1af)](([,_0x211e89])=>typeof _0x211e89===_0x34cf00(0x1bc)&&_0x211e89['trim']())[_0x34cf00(0x1c7)](([_0xa41a33,_0x1cc796])=>[_0xa41a33,String(_0x1cc796)[_0x34cf00(0x1e7)]()]));}catch{return null;}}async function resolveTargetVersion(_0x4cebd4){const _0xab6d25=a59_0x2548ee,_0x462afa=getRequestedVersion(_0x4cebd4);if(_0x462afa)return{'version':_0x462afa,'source':_0xab6d25(0x1cc)};const _0xf576b4=_0x4cebd4['bool'](_0xab6d25(0x1a3))?_0xab6d25(0x1a3):_0xab6d25(0x1aa),_0x3d8b10=await fetchNpmDistTags(),_0x2f9ca0=_0x3d8b10?.[_0xf576b4];if(!_0x2f9ca0)return null;return{'version':_0x2f9ca0,'source':_0xf576b4};}function shouldInstallTarget(_0x5e91a5,_0x49403e){const _0x2f0f16=compareSemver(_0x5e91a5,_0x49403e['version']);if(_0x49403e['source']==='version')return _0x2f0f16!==0x0;return _0x2f0f16<0x0;}function installCliPackage(_0x4ca847,_0x4269e9){const _0xa83ba=a59_0x2548ee,_0x314c42=resolveNpmBin(_0xa83ba(0x1cb)),_0x229118=['install','-g',LOVRABET_NPM_PACKAGE_NAME+'@'+_0x4ca847];console[_0xa83ba(0x1d3)]('*\x20'+[_0x314c42,..._0x229118][_0xa83ba(0x1c6)]('\x20'));const _0x210622=spawnSync(_0x314c42,_0x229118,{'cwd':process['cwd'](),'stdio':_0x4269e9?_0xa83ba(0x1df):_0xa83ba(0x1b8),'env':process.env,'shell':![]});if(_0x210622[_0xa83ba(0x1ac)]===0x0)return{'ok':!![]};let _0x5512d0=_0x210622['error']?.[_0xa83ba(0x1d4)]||_0xa83ba(0x1cf)+(_0x210622['status']??'unknown');if(_0x4269e9){const _0x3f0eef=_0x210622[_0xa83ba(0x1e2)]?_0x210622[_0xa83ba(0x1e2)][_0xa83ba(0x1d7)]()[_0xa83ba(0x1e7)]():'',_0x67d5b2=_0x210622[_0xa83ba(0x1e1)]?_0x210622[_0xa83ba(0x1e1)]['toString']()[_0xa83ba(0x1e7)]():'';if(_0x3f0eef)_0x5512d0=_0x3f0eef;else{if(_0x67d5b2)_0x5512d0=_0x67d5b2;}}return{'ok':![],'error':_0x5512d0};}function a59_0x20cd(_0x55a29c,_0x2ac5d4){_0x55a29c=_0x55a29c-0x19c;const _0x2c5baf=a59_0x2c5b();let _0x20cd63=_0x2c5baf[_0x55a29c];return _0x20cd63;}async function installCliBuiltInSkill(_0x1d7c06){const _0x2ac78c=a59_0x2548ee;console[_0x2ac78c(0x1d3)]('Checking\x20CLI\x20Built-in\x20Skill...');const _0x28428f=runNpxSkillsAddGlobal(process[_0x2ac78c(0x1da)](),LOVRABET_SKILL_SOURCE,{'stdio':_0x1d7c06?_0x2ac78c(0x1df):_0x2ac78c(0x1b8)});if(_0x28428f['skipped']){console['log'](_0x2ac78c(0x19f)+LOVRABET_SKIP_NPX_SKILLS_ENV+'=1).');return;}if(_0x28428f['ok']){console[_0x2ac78c(0x1d3)](_0x2ac78c(0x1dd));return;}console[_0x2ac78c(0x1a2)](_0x2ac78c(0x1dc)+(_0x28428f[_0x2ac78c(0x1b6)]||'unknown')),console[_0x2ac78c(0x1d3)](_0x2ac78c(0x1e0));}async function execute(_0x1fea9c){const _0x163e12=a59_0x2548ee;await validateUpdateFlags(_0x1fea9c);const _0x1b44a6=getCliVersion();console[_0x163e12(0x1d3)]('Current\x20version:\x20'+_0x1b44a6),console[_0x163e12(0x1d3)](_0x163e12(0x1a6));const _0x4d8158=await resolveTargetVersion(_0x1fea9c);if(!_0x4d8158){const _0x244797=_0x1fea9c['bool'](_0x163e12(0x1a3))?_0x163e12(0x1a3):_0x163e12(0x1aa),_0x399f0c='Unable\x20to\x20resolve\x20'+_0x244797+_0x163e12(0x1c3);return console[_0x163e12(0x1a2)](_0x399f0c),console[_0x163e12(0x1d3)](_0x163e12(0x1bb)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x244797),{'ok':![]};}if(!shouldInstallTarget(_0x1b44a6,_0x4d8158)){const _0x54096f=_0x4d8158[_0x163e12(0x1be)]===_0x163e12(0x1cc)?_0x163e12(0x1ca)+_0x4d8158[_0x163e12(0x1cc)]+').':_0x163e12(0x1a0)+_0x4d8158[_0x163e12(0x1cc)]+').';return console[_0x163e12(0x1d3)](_0x54096f),shouldSkipCliBuiltInSkill(_0x1fea9c)?console[_0x163e12(0x1d3)](_0x163e12(0x1a7)):await installCliBuiltInSkill(_0x1fea9c[_0x163e12(0x1d1)]),{'ok':!![]};}console[_0x163e12(0x1d3)](_0x163e12(0x1bf)+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x1b44a6+'\x20->\x20'+_0x4d8158['version']);const _0x303680=installCliPackage(_0x4d8158['version'],_0x1fea9c[_0x163e12(0x1d1)]);if(!_0x303680['ok']){const _0x1ae1ce=_0x163e12(0x19d)+(_0x303680[_0x163e12(0x1b6)]||'unknown');return console[_0x163e12(0x1b6)](_0x1ae1ce),console[_0x163e12(0x1d3)](_0x163e12(0x1ae)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x4d8158['version']),{'ok':![]};}return console[_0x163e12(0x1d3)]('Updated\x20to\x20v'+_0x4d8158[_0x163e12(0x1cc)]+'.'),console[_0x163e12(0x1d3)]('\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.'),shouldSkipCliBuiltInSkill(_0x1fea9c)?console[_0x163e12(0x1d3)]('Skipping\x20CLI\x20Built-in\x20Skill\x20refresh\x20(--no-skills).'):await installCliBuiltInSkill(_0x1fea9c[_0x163e12(0x1d1)]),{'ok':!![]};}export const updateDefinition={'service':a59_0x2548ee(0x1cd),'command':'run','description':a59_0x2548ee(0x1c2)+CLI_BIN_NAME+'\x20CLI\x20from\x20npm','risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
@@ -1 +1 @@
1
- const a61_0x3e704c=a61_0x3411;(function(_0x1b48c6,_0x3abe7e){const _0x4916e5=a61_0x3411,_0xd99d18=_0x1b48c6();while(!![]){try{const _0x442e41=parseInt(_0x4916e5(0x13e))/0x1*(-parseInt(_0x4916e5(0x145))/0x2)+-parseInt(_0x4916e5(0x12e))/0x3*(parseInt(_0x4916e5(0x13a))/0x4)+-parseInt(_0x4916e5(0x144))/0x5+-parseInt(_0x4916e5(0x14b))/0x6+-parseInt(_0x4916e5(0x13f))/0x7*(-parseInt(_0x4916e5(0x12a))/0x8)+parseInt(_0x4916e5(0x161))/0x9*(parseInt(_0x4916e5(0x13b))/0xa)+parseInt(_0x4916e5(0x141))/0xb*(parseInt(_0x4916e5(0x13d))/0xc);if(_0x442e41===_0x3abe7e)break;else _0xd99d18['push'](_0xd99d18['shift']());}catch(_0xe2d7c7){_0xd99d18['push'](_0xd99d18['shift']());}}}(a61_0x5f23,0x7ad8b));import{CLI_BIN_NAME}from'../../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../../constant/env.js';import{CliErrors}from'../../errors.js';import{readConfigFile,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../../commands/app/eligibility.js';const WORKSPACE_USE_FLAGS=[{'name':a61_0x3e704c(0x155),'type':a61_0x3e704c(0x151),'description':a61_0x3e704c(0x12b)},{'name':a61_0x3e704c(0x131),'type':a61_0x3e704c(0x151),'description':'App\x20code\x20to\x20bind\x20directly'},{'name':'env','type':'string','description':a61_0x3e704c(0x152),'enum':[...RUNTIME_ENV_VALUES]},{'name':a61_0x3e704c(0x15f),'type':a61_0x3e704c(0x143),'description':a61_0x3e704c(0x138),'default':![]}];async function executeWorkspaceUse(_0x401959,_0x279121){const _0xd8407=a61_0x3e704c,_0x11b51c=_0x401959[_0xd8407(0x136)](_0xd8407(0x155))[_0xd8407(0x130)](),_0x5f1681=_0x401959[_0xd8407(0x136)](_0xd8407(0x131))[_0xd8407(0x130)](),_0x3d57db=_0x401959[_0xd8407(0x136)](_0xd8407(0x157))['trim'](),_0x5895d1=resolveWorkspaceEnv(_0x3d57db||_0x401959[_0xd8407(0x140)]||DEFAULT_CONFIG_VALUES[_0xd8407(0x157)]);if(!_0x11b51c&&!_0x5f1681)throw CliErrors[_0xd8407(0x158)]('Missing\x20workspace\x20app\x20selector.',_0xd8407(0x15d)+CLI_BIN_NAME+_0xd8407(0x15e)+_0x279121+_0xd8407(0x12f)+CLI_BIN_NAME+'\x20workspace\x20'+_0x279121+_0xd8407(0x15c));const _0x25f7f2=_0x5f1681||await resolveRemoteAppCode({'command':_0x279121,'appName':_0x11b51c,'env':_0x5895d1,'accessKey':_0x401959[_0xd8407(0x15b)]}),_0x3c33eb=writeWorkspaceConfig({'command':_0x279121,'appName':_0x11b51c,'appcode':_0x25f7f2,'env':_0x5895d1,'shouldWriteEnv':!!_0x3d57db,'accessKey':_0x401959[_0xd8407(0x15b)]});return{'ok':!![],'data':{'configPath':_0x3c33eb,'app':_0x11b51c||null,'appcode':_0x25f7f2,'env':_0x3d57db?_0x5895d1:null,'accessKeyWritten':![],'command':_0xd8407(0x14c)+_0x279121},'message':buildWorkspaceMessage(_0x3c33eb,_0x11b51c,_0x25f7f2,_0x3d57db?_0x5895d1:undefined)};}async function resolveRemoteAppCode(_0x5d5915){const _0x2da76b=a61_0x3e704c;if(!_0x5d5915[_0x2da76b(0x15b)])throw CliErrors['authRequired'](_0x2da76b(0x132)+CLI_BIN_NAME+_0x2da76b(0x15e)+_0x5d5915[_0x2da76b(0x12c)]+'.');const {setActiveAK:_0x54f743}=await import(_0x2da76b(0x129)),{getRemoteAppList:_0x3a8714}=await import(_0x2da76b(0x162));_0x54f743(_0x5d5915['accessKey']);const _0x3208f6=await _0x3a8714({'env':_0x5d5915[_0x2da76b(0x157)],'accessKey':_0x5d5915[_0x2da76b(0x15b)],'noCache':![]}),_0x2d9606=findAppByName(_0x3208f6[_0x2da76b(0x14d)],_0x5d5915['appName']);if(_0x2d9606&&!isRuntimeAccessibleApp(_0x2d9606))throw runtimeInaccessibleAppError(_0x2d9606,'\x22'+_0x5d5915[_0x2da76b(0x153)]+'\x22');const _0x184289=_0x2d9606?.['appCode']?.[_0x2da76b(0x130)]();if(_0x184289)return _0x184289;const _0x179fad=_0x3208f6[_0x2da76b(0x14d)][_0x2da76b(0x13c)](_0x5b25e2=>_0x5b25e2[_0x2da76b(0x153)])['filter'](Boolean),_0x5b9001=_0x179fad[_0x2da76b(0x160)]?'Available\x20apps:\x20'+Array[_0x2da76b(0x14a)](new Set(_0x179fad))['join'](',\x20')+'.':_0x2da76b(0x146)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.';throw CliErrors[_0x2da76b(0x158)](_0x2da76b(0x14f)+_0x5d5915[_0x2da76b(0x153)]+'\x22\x20not\x20found.',_0x5b9001);}function writeWorkspaceConfig(_0x2eee73){const _0x181d92=a61_0x3e704c,_0x38c761=resolveWriteConfigPath(_0x181d92(0x149)),_0x909585=readConfigFile(_0x38c761);_0x2eee73['shouldWriteEnv']&&(_0x909585[_0x181d92(0x157)]=_0x2eee73[_0x181d92(0x157)]);if(_0x2eee73[_0x181d92(0x153)]){const _0x542dcb=isRecord(_0x909585[_0x181d92(0x159)])?{..._0x909585[_0x181d92(0x159)]}:{},_0x2b5112=isRecord(_0x542dcb[_0x2eee73[_0x181d92(0x153)]])?_0x542dcb[_0x2eee73['appName']]:{};_0x542dcb[_0x2eee73['appName']]={..._0x2b5112,'appcode':_0x2eee73[_0x181d92(0x131)]},_0x909585[_0x181d92(0x159)]=_0x542dcb,_0x909585[_0x181d92(0x156)]=_0x2eee73[_0x181d92(0x153)];if(_0x909585[_0x181d92(0x155)])delete _0x909585[_0x181d92(0x155)];return writeAndReturn(_0x38c761,_0x909585);}_0x909585[_0x181d92(0x131)]=_0x2eee73['appcode'];if(_0x909585[_0x181d92(0x155)])delete _0x909585[_0x181d92(0x155)];return writeAndReturn(_0x38c761,_0x909585);}function writeAndReturn(_0xd0fb3a,_0x2e460e){return writeConfigFile(_0xd0fb3a,_0x2e460e),_0xd0fb3a;}function resolveWorkspaceEnv(_0x4c241a){const _0x3a6c03=a61_0x3e704c;if(RUNTIME_ENV_VALUES[_0x3a6c03(0x154)](_0x4c241a))return _0x4c241a;throw CliErrors[_0x3a6c03(0x158)](_0x3a6c03(0x137)+_0x4c241a+_0x3a6c03(0x148)+RUNTIME_ENV_VALUES[_0x3a6c03(0x14e)](',\x20'));}function a61_0x3411(_0x336351,_0x29eda8){_0x336351=_0x336351-0x129;const _0x5f2315=a61_0x5f23();let _0x3411ae=_0x5f2315[_0x336351];return _0x3411ae;}function a61_0x5f23(){const _0x2591a9=['\x20workspace\x20','yes','length','27GtebdQ','../../commands/app/remote-source.js','../../core/api-client.js','16jcWMKI','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','command','init','9198SwJtsS','\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20','trim','appcode','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','isArray','Initialize\x20app\x20context\x20for\x20the\x20current\x20workspace','use','str','Invalid\x20env\x20\x22','Compatibility\x20flag;\x20workspace\x20config\x20updates\x20are\x20non-interactive','\x0aEnv:\x20','148ghadbR','2657690PGTzcA','map','1032wRShUl','2837oGTlYS','3122581EiqDVi','envName','67188xgCLBt','\x0aDefault\x20app:\x20','boolean','4277425OopETD','254dsLlAI','Run\x20`','object','\x22.\x20Allowed:\x20','project','from','2294136jBIBxB','workspace\x20','items','join','App\x20\x22','Workspace\x20configured.\x0aConfig\x20file:\x20','string','Target\x20environment','appName','includes','app','defaultApp','env','validation','apps','\x0aAccessKey:\x20not\x20written','accessKey','\x20--appcode\x20<code>\x20[--env\x20daily]','Usage:\x20'];a61_0x5f23=function(){return _0x2591a9;};return a61_0x5f23();}function buildWorkspaceMessage(_0x3775c1,_0xcd764c,_0x179d98,_0x4ac1a4){const _0x567a5e=a61_0x3e704c,_0x4f9f75=_0xcd764c?_0xcd764c+'\x20('+_0x179d98+')':_0x179d98,_0x1397cb=_0x4ac1a4?_0x567a5e(0x139)+_0x4ac1a4:'';return _0x567a5e(0x150)+_0x3775c1+_0x567a5e(0x142)+_0x4f9f75+_0x1397cb+_0x567a5e(0x15a);}function isRecord(_0x4d2dab){const _0x3abdab=a61_0x3e704c;return typeof _0x4d2dab===_0x3abdab(0x147)&&_0x4d2dab!==null&&!Array[_0x3abdab(0x133)](_0x4d2dab);}function makeWorkspaceCommand(_0x1e348d){const _0x7db99c=a61_0x3e704c;return{'service':'workspace','command':_0x1e348d,'description':_0x1e348d===_0x7db99c(0x12d)?_0x7db99c(0x134):'Set\x20app\x20context\x20for\x20the\x20current\x20workspace','risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x6b6221){return executeWorkspaceUse(_0x6b6221,_0x1e348d);}};}export const workspaceDefinitions=[makeWorkspaceCommand(a61_0x3e704c(0x12d)),makeWorkspaceCommand(a61_0x3e704c(0x135))];
1
+ const a60_0x579f5d=a60_0x5016;(function(_0x4233fc,_0x102992){const _0x30c6ab=a60_0x5016,_0x2b358c=_0x4233fc();while(!![]){try{const _0x57406b=parseInt(_0x30c6ab(0xe2))/0x1*(-parseInt(_0x30c6ab(0xbe))/0x2)+parseInt(_0x30c6ab(0xc8))/0x3*(parseInt(_0x30c6ab(0xe0))/0x4)+parseInt(_0x30c6ab(0xcf))/0x5+parseInt(_0x30c6ab(0xd3))/0x6+parseInt(_0x30c6ab(0xcb))/0x7+parseInt(_0x30c6ab(0xbc))/0x8*(-parseInt(_0x30c6ab(0xd5))/0x9)+parseInt(_0x30c6ab(0xe3))/0xa;if(_0x57406b===_0x102992)break;else _0x2b358c['push'](_0x2b358c['shift']());}catch(_0x4ede06){_0x2b358c['push'](_0x2b358c['shift']());}}}(a60_0xb831,0x95d4a));import{CLI_BIN_NAME}from'../../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../../constant/env.js';import{CliErrors}from'../../errors.js';import{readConfigFile,resolveWriteConfigPath,writeConfigFile}from'../../context.js';import{findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../../commands/app/eligibility.js';const WORKSPACE_USE_FLAGS=[{'name':a60_0x579f5d(0xcc),'type':a60_0x579f5d(0xd6),'description':a60_0x579f5d(0xe4)},{'name':a60_0x579f5d(0xe5),'type':'string','description':a60_0x579f5d(0xc4)},{'name':'env','type':'string','description':a60_0x579f5d(0xce),'enum':[...RUNTIME_ENV_VALUES]},{'name':a60_0x579f5d(0xc6),'type':a60_0x579f5d(0xdc),'description':a60_0x579f5d(0xb8),'default':![]}];async function executeWorkspaceUse(_0x25f8d2,_0x5ed18c){const _0x2dcb74=a60_0x579f5d,_0x2dc852=_0x25f8d2['str']('app')[_0x2dcb74(0xe7)](),_0x39451c=_0x25f8d2['str'](_0x2dcb74(0xe5))[_0x2dcb74(0xe7)](),_0x2458c6=_0x25f8d2['str']('env')['trim'](),_0x354369=resolveWorkspaceEnv(_0x2458c6||_0x25f8d2[_0x2dcb74(0xba)]||DEFAULT_CONFIG_VALUES[_0x2dcb74(0xc7)]);if(!_0x2dc852&&!_0x39451c)throw CliErrors['validation']('Missing\x20workspace\x20app\x20selector.','Usage:\x20'+CLI_BIN_NAME+'\x20workspace\x20'+_0x5ed18c+'\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20'+CLI_BIN_NAME+_0x2dcb74(0xc2)+_0x5ed18c+'\x20--appcode\x20<code>\x20[--env\x20daily]');const _0x4520b5=_0x39451c||await resolveRemoteAppCode({'command':_0x5ed18c,'appName':_0x2dc852,'env':_0x354369,'accessKey':_0x25f8d2['accessKey']}),_0x10af89=writeWorkspaceConfig({'command':_0x5ed18c,'appName':_0x2dc852,'appcode':_0x4520b5,'env':_0x354369,'shouldWriteEnv':!!_0x2458c6,'accessKey':_0x25f8d2[_0x2dcb74(0xd8)]});return{'ok':!![],'data':{'configPath':_0x10af89,'app':_0x2dc852||null,'appcode':_0x4520b5,'env':_0x2458c6?_0x354369:null,'accessKeyWritten':![],'command':_0x2dcb74(0xca)+_0x5ed18c},'message':buildWorkspaceMessage(_0x10af89,_0x2dc852,_0x4520b5,_0x2458c6?_0x354369:undefined)};}async function resolveRemoteAppCode(_0x224f25){const _0x11a551=a60_0x579f5d;if(!_0x224f25['accessKey'])throw CliErrors[_0x11a551(0xe6)](_0x11a551(0xcd)+CLI_BIN_NAME+_0x11a551(0xc2)+_0x224f25['command']+'.');const {setActiveAK:_0x19cde2}=await import('../../core/api-client.js'),{getRemoteAppList:_0x518cc2}=await import(_0x11a551(0xd2));_0x19cde2(_0x224f25[_0x11a551(0xd8)]);const _0x2b5507=await _0x518cc2({'env':_0x224f25[_0x11a551(0xc7)],'accessKey':_0x224f25[_0x11a551(0xd8)],'noCache':![]}),_0x4dc700=findAppByName(_0x2b5507['items'],_0x224f25[_0x11a551(0xb9)]);if(_0x4dc700&&!isRuntimeAccessibleApp(_0x4dc700))throw runtimeInaccessibleAppError(_0x4dc700,'\x22'+_0x224f25['appName']+'\x22');const _0xae800b=_0x4dc700?.[_0x11a551(0xe9)]?.[_0x11a551(0xe7)]();if(_0xae800b)return _0xae800b;const _0x406c5e=_0x2b5507[_0x11a551(0xc9)][_0x11a551(0xdb)](_0x58b569=>_0x58b569[_0x11a551(0xb9)])[_0x11a551(0xda)](Boolean),_0x23e8cb=_0x406c5e['length']?'Available\x20apps:\x20'+Array[_0x11a551(0xc5)](new Set(_0x406c5e))[_0x11a551(0xd1)](',\x20')+'.':_0x11a551(0xd9)+CLI_BIN_NAME+_0x11a551(0xbd);throw CliErrors['validation'](_0x11a551(0xc3)+_0x224f25[_0x11a551(0xb9)]+'\x22\x20not\x20found.',_0x23e8cb);}function writeWorkspaceConfig(_0x25e700){const _0x4718ca=a60_0x579f5d,_0x13bfef=resolveWriteConfigPath('project'),_0x9a8387=readConfigFile(_0x13bfef);_0x25e700[_0x4718ca(0xc1)]&&(_0x9a8387[_0x4718ca(0xc7)]=_0x25e700[_0x4718ca(0xc7)]);if(_0x25e700[_0x4718ca(0xb9)]){const _0x54b291=isRecord(_0x9a8387[_0x4718ca(0xe8)])?{..._0x9a8387['apps']}:{},_0x3c87e4=isRecord(_0x54b291[_0x25e700['appName']])?_0x54b291[_0x25e700['appName']]:{};_0x54b291[_0x25e700[_0x4718ca(0xb9)]]={..._0x3c87e4,'appcode':_0x25e700[_0x4718ca(0xe5)]},_0x9a8387['apps']=_0x54b291,_0x9a8387[_0x4718ca(0xd7)]=_0x25e700['appName'];if(_0x9a8387['app'])delete _0x9a8387[_0x4718ca(0xcc)];return writeAndReturn(_0x13bfef,_0x9a8387);}_0x9a8387[_0x4718ca(0xe5)]=_0x25e700[_0x4718ca(0xe5)];if(_0x9a8387[_0x4718ca(0xcc)])delete _0x9a8387['app'];return writeAndReturn(_0x13bfef,_0x9a8387);}function a60_0xb831(){const _0x436687=['defaultApp','accessKey','Run\x20`','filter','map','boolean','\x22.\x20Allowed:\x20','\x0aEnv:\x20','use','4wesdPx','isArray','5977nhIUxa','8049050ZauunT','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','appcode','authRequired','trim','apps','appCode','\x0aDefault\x20app:\x20','Compatibility\x20flag;\x20workspace\x20config\x20updates\x20are\x20non-interactive','appName','envName','workspace','8gKVLfS','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','166jJzwKW','Invalid\x20env\x20\x22','write','shouldWriteEnv','\x20workspace\x20','App\x20\x22','App\x20code\x20to\x20bind\x20directly','from','yes','env','2347977dnmeJj','items','workspace\x20','2125396BqLDAJ','app','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','Target\x20environment','611580FIlbna','\x0aAccessKey:\x20not\x20written','join','../../commands/app/remote-source.js','1579548IskJxm','includes','10502721OjQnfY','string'];a60_0xb831=function(){return _0x436687;};return a60_0xb831();}function writeAndReturn(_0x55432f,_0x1d70ae){return writeConfigFile(_0x55432f,_0x1d70ae),_0x55432f;}function resolveWorkspaceEnv(_0x223923){const _0x3cbe3e=a60_0x579f5d;if(RUNTIME_ENV_VALUES[_0x3cbe3e(0xd4)](_0x223923))return _0x223923;throw CliErrors['validation'](_0x3cbe3e(0xbf)+_0x223923+_0x3cbe3e(0xdd)+RUNTIME_ENV_VALUES[_0x3cbe3e(0xd1)](',\x20'));}function a60_0x5016(_0x2f4155,_0x214dbb){_0x2f4155=_0x2f4155-0xb8;const _0xb83197=a60_0xb831();let _0x5016ac=_0xb83197[_0x2f4155];return _0x5016ac;}function buildWorkspaceMessage(_0xd2ff29,_0x536fa0,_0x4d3be0,_0x3cbfbf){const _0x3bc8ec=a60_0x579f5d,_0x16eb80=_0x536fa0?_0x536fa0+'\x20('+_0x4d3be0+')':_0x4d3be0,_0x376cd6=_0x3cbfbf?_0x3bc8ec(0xde)+_0x3cbfbf:'';return'Workspace\x20configured.\x0aConfig\x20file:\x20'+_0xd2ff29+_0x3bc8ec(0xea)+_0x16eb80+_0x376cd6+_0x3bc8ec(0xd0);}function isRecord(_0xa51f9a){const _0x19ccc3=a60_0x579f5d;return typeof _0xa51f9a==='object'&&_0xa51f9a!==null&&!Array[_0x19ccc3(0xe1)](_0xa51f9a);}function makeWorkspaceCommand(_0x19e8db){const _0x3d8a82=a60_0x579f5d;return{'service':_0x3d8a82(0xbb),'command':_0x19e8db,'description':_0x19e8db==='init'?'Initialize\x20app\x20context\x20for\x20the\x20current\x20workspace':'Set\x20app\x20context\x20for\x20the\x20current\x20workspace','risk':_0x3d8a82(0xc0),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x42f2a5){return executeWorkspaceUse(_0x42f2a5,_0x19e8db);}};}export const workspaceDefinitions=[makeWorkspaceCommand('init'),makeWorkspaceCommand(a60_0x579f5d(0xdf))];
@@ -1 +1 @@
1
- const a62_0x1c6135=a62_0x22f2;(function(_0x525408,_0x2814d2){const _0x39d3bc=a62_0x22f2,_0x5c9725=_0x525408();while(!![]){try{const _0x4675c8=parseInt(_0x39d3bc(0x1a4))/0x1*(parseInt(_0x39d3bc(0x1ab))/0x2)+parseInt(_0x39d3bc(0x1b4))/0x3*(parseInt(_0x39d3bc(0x1ae))/0x4)+parseInt(_0x39d3bc(0x19c))/0x5+parseInt(_0x39d3bc(0x1ac))/0x6*(parseInt(_0x39d3bc(0x1b3))/0x7)+-parseInt(_0x39d3bc(0x1a7))/0x8*(parseInt(_0x39d3bc(0x1ad))/0x9)+parseInt(_0x39d3bc(0x1b2))/0xa*(parseInt(_0x39d3bc(0x1a9))/0xb)+-parseInt(_0x39d3bc(0x1a0))/0xc;if(_0x4675c8===_0x2814d2)break;else _0x5c9725['push'](_0x5c9725['shift']());}catch(_0x5d9b76){_0x5c9725['push'](_0x5c9725['shift']());}}}(a62_0x4e8f,0xa5491));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';export const CONFIG_FIELD_SCHEMAS={'env':{'description':'Target\x20environment','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a62_0x1c6135(0x1a3)],'importable':!![]},'format':{'description':'Default\x20output\x20format','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a62_0x1c6135(0x19a)],'importable':!![]},'pageSize':{'description':a62_0x1c6135(0x1b1),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':'Override\x20API\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a62_0x1c6135(0x19e),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a62_0x1c6135(0x1b0),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillHubDomain':{'description':a62_0x1c6135(0x1a2),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a62_0x1c6135(0x1a5),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a62_0x1c6135(0x199),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a62_0x1c6135(0x197)],'importable':!![]},'locale':{'description':a62_0x1c6135(0x1a1),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['locale'],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object['entries'](CONFIG_FIELD_SCHEMAS)[a62_0x1c6135(0x198)](([,_0x10958f])=>_0x10958f['cliSettableTopLevel'])[a62_0x1c6135(0x19b)](([_0x221eec])=>_0x221eec));export const CONFIG_ENUM_VALUES=Object[a62_0x1c6135(0x19d)](Object['entries'](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x4a0325])=>_0x4a0325[a62_0x1c6135(0x1a6)])[a62_0x1c6135(0x19b)](([_0x58b3ff,_0x554423])=>[_0x58b3ff,[..._0x554423[a62_0x1c6135(0x1a6)]||[]]]));function a62_0x22f2(_0xe60ea3,_0x1ef782){_0xe60ea3=_0xe60ea3-0x197;const _0x4e8fe1=a62_0x4e8f();let _0x22f2dd=_0x4e8fe1[_0xe60ea3];return _0x22f2dd;}export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a62_0x1c6135(0x1a8)](CONFIG_FIELD_SCHEMAS)[a62_0x1c6135(0x198)](([,_0x3b0399])=>_0x3b0399[a62_0x1c6135(0x1af)])[a62_0x1c6135(0x19b)](([_0x63278a])=>_0x63278a);export function getConfigFieldSchema(_0x4a8a2a){return CONFIG_FIELD_SCHEMAS[_0x4a8a2a];}function a62_0x4e8f(){const _0x490abb=['format','map','654910ETgHgv','fromEntries','Override\x20user\x20domain','Config\x20key.\x20Top-level:\x20','4435116KJGQgs','Locale','Override\x20SkillHub\x20domain','env','11794bNIOub','Access\x20key\x20(client-ak\x20auth)','enumValues','327064eDGEAz','entries','1816089pYaYnq',';\x20local\x20alias:\x20apps.<alias>.appcode','56GOpbTI','309252OhkVXf','45pIgTNK','104324wWEFNr','importable','Override\x20runtime\x20domain','Default\x20page\x20size','10icfPuE','14AHFHpf','60Gxnjfp','riskLevel','filter','Risk\x20level'];a62_0x4e8f=function(){return _0x490abb;};return a62_0x4e8f();}export function getConfigEnumValues(_0x2b004b){const _0x2c9662=a62_0x1c6135;return getConfigFieldSchema(_0x2b004b)?.[_0x2c9662(0x1a6)];}export function getConfigDefaultValue(_0x49e3f4){return getConfigFieldSchema(_0x49e3f4)?.['defaultValue'];}export function isTopLevelConfigKey(_0x39bb43){return TOP_LEVEL_CONFIG_KEYS['has'](_0x39bb43);}export function isLegacyCompatConfigKey(_0x5b43d5){return getConfigFieldSchema(_0x5b43d5)?.['legacyCompatOnly']===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x37f507){return[..._0x37f507]['join'](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x51d4b8=a62_0x1c6135;return _0x51d4b8(0x19f)+getTopLevelConfigKeySummary()+_0x51d4b8(0x1aa);}export function buildAppProfileListFields(_0x161af8){return{'env':_0x161af8,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a61_0x4ff06f=a61_0x4d54;(function(_0x5a880e,_0x5b1094){const _0x453ebf=a61_0x4d54,_0x1e9cfa=_0x5a880e();while(!![]){try{const _0x2a3a88=parseInt(_0x453ebf(0x120))/0x1+parseInt(_0x453ebf(0x123))/0x2+parseInt(_0x453ebf(0x109))/0x3+parseInt(_0x453ebf(0x10d))/0x4+-parseInt(_0x453ebf(0x11c))/0x5*(-parseInt(_0x453ebf(0x10f))/0x6)+parseInt(_0x453ebf(0x110))/0x7+parseInt(_0x453ebf(0x122))/0x8*(-parseInt(_0x453ebf(0x115))/0x9);if(_0x2a3a88===_0x5b1094)break;else _0x1e9cfa['push'](_0x1e9cfa['shift']());}catch(_0x27ea10){_0x1e9cfa['push'](_0x1e9cfa['shift']());}}}(a61_0x2c99,0xd444b));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';function a61_0x4d54(_0x6513a6,_0x1a165a){_0x6513a6=_0x6513a6-0x108;const _0x2c9933=a61_0x2c99();let _0x4d54bb=_0x2c9933[_0x6513a6];return _0x4d54bb;}import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';export const CONFIG_FIELD_SCHEMAS={'env':{'description':a61_0x4ff06f(0x121),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x4ff06f(0x10c)],'importable':!![]},'format':{'description':'Default\x20output\x20format','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES['format'],'importable':!![]},'pageSize':{'description':'Default\x20page\x20size','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a61_0x4ff06f(0x112),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a61_0x4ff06f(0x10b),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':'Override\x20runtime\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillHubDomain':{'description':'Override\x20SkillHub\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a61_0x4ff06f(0x11f),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a61_0x4ff06f(0x113),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x4ff06f(0x116)],'importable':!![]},'locale':{'description':a61_0x4ff06f(0x11b),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x4ff06f(0x10a)],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a61_0x4ff06f(0x11a)](CONFIG_FIELD_SCHEMAS)[a61_0x4ff06f(0x111)](([,_0x260c3e])=>_0x260c3e[a61_0x4ff06f(0x114)])[a61_0x4ff06f(0x11d)](([_0x5406c7])=>_0x5406c7));export const CONFIG_ENUM_VALUES=Object[a61_0x4ff06f(0x117)](Object[a61_0x4ff06f(0x11a)](CONFIG_FIELD_SCHEMAS)[a61_0x4ff06f(0x111)](([,_0x623af7])=>_0x623af7[a61_0x4ff06f(0x108)])[a61_0x4ff06f(0x11d)](([_0x49ad54,_0xcfce50])=>[_0x49ad54,[..._0xcfce50[a61_0x4ff06f(0x108)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a61_0x4ff06f(0x11a)](CONFIG_FIELD_SCHEMAS)[a61_0x4ff06f(0x111)](([,_0x10707b])=>_0x10707b['importable'])[a61_0x4ff06f(0x11d)](([_0x311565])=>_0x311565);export function getConfigFieldSchema(_0x58ac2b){return CONFIG_FIELD_SCHEMAS[_0x58ac2b];}export function getConfigEnumValues(_0x2ee142){return getConfigFieldSchema(_0x2ee142)?.['enumValues'];}export function getConfigDefaultValue(_0x1ff485){const _0x2cd6df=a61_0x4ff06f;return getConfigFieldSchema(_0x1ff485)?.[_0x2cd6df(0x119)];}export function isTopLevelConfigKey(_0x27e06d){return TOP_LEVEL_CONFIG_KEYS['has'](_0x27e06d);}export function isLegacyCompatConfigKey(_0x4e6567){const _0x1030d7=a61_0x4ff06f;return getConfigFieldSchema(_0x4e6567)?.[_0x1030d7(0x10e)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x5d47fa){const _0x1278b6=a61_0x4ff06f;return[..._0x5d47fa][_0x1278b6(0x118)](',\x20');}function a61_0x2c99(){const _0x40fbd5=['90248NdfvcV','3398156EkaFRD','enumValues','4704768kqfOqj','locale','Override\x20user\x20domain','env','4230936HXYfRz','legacyCompatOnly','3304734tOHIcE','8549730jwHbBs','filter','Override\x20API\x20domain','Risk\x20level','cliSettableTopLevel','4527XskaaI','riskLevel','fromEntries','join','defaultValue','entries','Locale','5qCBuLH','map','Config\x20key.\x20Top-level:\x20','Access\x20key\x20(client-ak\x20auth)','446547THqRHl','Target\x20environment'];a61_0x2c99=function(){return _0x40fbd5;};return a61_0x2c99();}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x5bf31f=a61_0x4ff06f;return _0x5bf31f(0x11e)+getTopLevelConfigKeySummary()+';\x20local\x20alias:\x20apps.<alias>.appcode';}export function buildAppProfileListFields(_0x4483aa){return{'env':_0x4483aa,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- const a63_0x1d538c=a63_0x449d;function a63_0x3c1a(){const _0x58715f=['435123UBMwYU','570zxaTQv','2964432npEXug','Published','PUBLISHED','5076gChtuK','5QMoHqX','688776tTYYZd','1944824IirShr','53954JnDxQV','10kljKtX','5180gsDvjB','8SfnntA'];a63_0x3c1a=function(){return _0x58715f;};return a63_0x3c1a();}(function(_0x3fc45e,_0x27bbf2){const _0x442dd8=a63_0x449d,_0x31beaf=_0x3fc45e();while(!![]){try{const _0x280e41=-parseInt(_0x442dd8(0xd8))/0x1+parseInt(_0x442dd8(0xda))/0x2+parseInt(_0x442dd8(0xdd))/0x3*(parseInt(_0x442dd8(0xd4))/0x4)+-parseInt(_0x442dd8(0xd5))/0x5*(-parseInt(_0x442dd8(0xd1))/0x6)+-parseInt(_0x442dd8(0xd7))/0x7+-parseInt(_0x442dd8(0xdb))/0x8*(parseInt(_0x442dd8(0xdc))/0x9)+parseInt(_0x442dd8(0xd9))/0xa*(-parseInt(_0x442dd8(0xd6))/0xb);if(_0x280e41===_0x27bbf2)break;else _0x31beaf['push'](_0x31beaf['shift']());}catch(_0x51bd0d){_0x31beaf['push'](_0x31beaf['shift']());}}}(a63_0x3c1a,0x4806f));function a63_0x449d(_0x1b3486,_0x459edf){_0x1b3486=_0x1b3486-0xd1;const _0x3c1aa0=a63_0x3c1a();let _0x449dce=_0x3c1aa0[_0x1b3486];return _0x449dce;}export const APP_PUBLISH_STATUS={'Published':a63_0x1d538c(0xd3),'Unpublished':'UNPUBLISH'};export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a63_0x1d538c(0xd2)];
1
+ function a62_0x3554(){const _0x2a239d=['25055NUHvqF','84ZgVMPr','502RzplxG','Published','6723126ppxcNr','5744754VSYgJn','UNPUBLISH','1304QhkBcb','6551YfSiOv','10PVmyMI','PUBLISHED','283816rhoEtk','2148957dzdWVi','7803917SGMikO'];a62_0x3554=function(){return _0x2a239d;};return a62_0x3554();}const a62_0x3e2eb9=a62_0x507f;(function(_0x281ed4,_0x1f4dc5){const _0x443973=a62_0x507f,_0x1c595a=_0x281ed4();while(!![]){try{const _0x1a4903=-parseInt(_0x443973(0x179))/0x1*(-parseInt(_0x443973(0x181))/0x2)+-parseInt(_0x443973(0x17d))/0x3+parseInt(_0x443973(0x178))/0x4*(parseInt(_0x443973(0x17f))/0x5)+-parseInt(_0x443973(0x183))/0x6+-parseInt(_0x443973(0x180))/0x7*(parseInt(_0x443973(0x17c))/0x8)+parseInt(_0x443973(0x176))/0x9+-parseInt(_0x443973(0x17a))/0xa*(parseInt(_0x443973(0x17e))/0xb);if(_0x1a4903===_0x1f4dc5)break;else _0x1c595a['push'](_0x1c595a['shift']());}catch(_0x551f69){_0x1c595a['push'](_0x1c595a['shift']());}}}(a62_0x3554,0xe6836));export const APP_PUBLISH_STATUS={'Published':a62_0x3e2eb9(0x17b),'Unpublished':a62_0x3e2eb9(0x177)};function a62_0x507f(_0x60b031,_0x1cf8e0){_0x60b031=_0x60b031-0x176;const _0x3554fa=a62_0x3554();let _0x507fdc=_0x3554fa[_0x60b031];return _0x507fdc;}export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a62_0x3e2eb9(0x182)];
@@ -1 +1 @@
1
- const a64_0x3ad41d=a64_0x3c11;function a64_0x2a42(){const _0x7f1ffe=['6oPiXPz','406soXKJE','172lWhodK','5199822CznGeM','client-ak','39064IUIkmn','6342095GyNTxI','24vDXpKR','14247edHOoV','3548bloCxT','ClientAk','10613740GQERPn','452jHzxHX','1789953OMsHxd'];a64_0x2a42=function(){return _0x7f1ffe;};return a64_0x2a42();}(function(_0x1d175c,_0x24e517){const _0x10262c=a64_0x3c11,_0x23d877=_0x1d175c();while(!![]){try{const _0x159e3f=-parseInt(_0x10262c(0x1d8))/0x1*(parseInt(_0x10262c(0x1db))/0x2)+parseInt(_0x10262c(0x1d7))/0x3*(-parseInt(_0x10262c(0x1df))/0x4)+-parseInt(_0x10262c(0x1d5))/0x5*(-parseInt(_0x10262c(0x1dd))/0x6)+parseInt(_0x10262c(0x1de))/0x7*(parseInt(_0x10262c(0x1d4))/0x8)+-parseInt(_0x10262c(0x1d2))/0x9+parseInt(_0x10262c(0x1da))/0xa+-parseInt(_0x10262c(0x1dc))/0xb*(parseInt(_0x10262c(0x1d6))/0xc);if(_0x159e3f===_0x24e517)break;else _0x23d877['push'](_0x23d877['shift']());}catch(_0x440657){_0x23d877['push'](_0x23d877['shift']());}}}(a64_0x2a42,0xabd04));function a64_0x3c11(_0x345b67,_0x19e8e3){_0x345b67=_0x345b67-0x1d2;const _0x2a428f=a64_0x2a42();let _0x3c1185=_0x2a428f[_0x345b67];return _0x3c1185;}export const AUTH_MODE={'ClientAk':a64_0x3ad41d(0x1d3)};export function isAuthMode(_0x5f09c4){const _0x128e49=a64_0x3ad41d;return _0x5f09c4===AUTH_MODE[_0x128e49(0x1d9)];}
1
+ function a63_0x47c5(){const _0xe0f18=['969977ZVGasp','10VPkcvh','1432apbXxM','ClientAk','1788795MoWFuu','25067cfoAGz','1409485phVXdU','2UiWqvr','3954519QTamEC','5864478OIelLM','5qlHZno','649276geODji'];a63_0x47c5=function(){return _0xe0f18;};return a63_0x47c5();}(function(_0x41bbfe,_0x232a4c){const _0x3f14e0=a63_0x647a,_0x39c2b6=_0x41bbfe();while(!![]){try{const _0x2afb0a=parseInt(_0x3f14e0(0x10a))/0x1*(parseInt(_0x3f14e0(0x111))/0x2)+parseInt(_0x3f14e0(0x10e))/0x3+-parseInt(_0x3f14e0(0x109))/0x4+-parseInt(_0x3f14e0(0x108))/0x5*(parseInt(_0x3f14e0(0x107))/0x6)+parseInt(_0x3f14e0(0x10f))/0x7*(parseInt(_0x3f14e0(0x10c))/0x8)+-parseInt(_0x3f14e0(0x112))/0x9+-parseInt(_0x3f14e0(0x10b))/0xa*(parseInt(_0x3f14e0(0x110))/0xb);if(_0x2afb0a===_0x232a4c)break;else _0x39c2b6['push'](_0x39c2b6['shift']());}catch(_0x1993b0){_0x39c2b6['push'](_0x39c2b6['shift']());}}}(a63_0x47c5,0x7a10f));function a63_0x647a(_0x10e70e,_0x548a69){_0x10e70e=_0x10e70e-0x107;const _0x47c53c=a63_0x47c5();let _0x647a41=_0x47c53c[_0x10e70e];return _0x647a41;}export const AUTH_MODE={'ClientAk':'client-ak'};export function isAuthMode(_0x427b71){const _0x451c5e=a63_0x647a;return _0x427b71===AUTH_MODE[_0x451c5e(0x10d)];}
@@ -1 +1 @@
1
- const a65_0x5bf573=a65_0xcf9d;(function(_0xd368be,_0x1b7991){const _0x574ae2=a65_0xcf9d,_0x35ddeb=_0xd368be();while(!![]){try{const _0xf691c=parseInt(_0x574ae2(0x16a))/0x1+-parseInt(_0x574ae2(0x158))/0x2*(-parseInt(_0x574ae2(0x15c))/0x3)+-parseInt(_0x574ae2(0x173))/0x4+parseInt(_0x574ae2(0x186))/0x5+parseInt(_0x574ae2(0x15b))/0x6*(parseInt(_0x574ae2(0x175))/0x7)+parseInt(_0x574ae2(0x165))/0x8*(parseInt(_0x574ae2(0x170))/0x9)+-parseInt(_0x574ae2(0x16e))/0xa;if(_0xf691c===_0x1b7991)break;else _0x35ddeb['push'](_0x35ddeb['shift']());}catch(_0x3c685a){_0x35ddeb['push'](_0x35ddeb['shift']());}}}(a65_0x3b4a,0xc95f3));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a65_0x5bf573(0x15d)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a65_0x5bf573(0x174)];function a65_0xcf9d(_0x357d3f,_0x25763d){_0x357d3f=_0x357d3f-0x158;const _0x3b4a79=a65_0x3b4a();let _0xcf9d93=_0x3b4a79[_0x357d3f];return _0xcf9d93;}export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;function a65_0x3b4a(){const _0x2936c6=['env','<expr>','<name>','Show\x20help','1048aIciUB','sqlcode','app','format','verbose','1120103LqMdpG','Override\x20appcode','type','global','14539200ZyxnTg','json\x20|\x20pretty\x20|\x20compress','38232OJZjMK','Environment','Verbose\x20output','5987824bYDnZK','cliDisplayName','11371087eOflJD','yes','Record\x20ID','help','meowKey','non-interactive','JSON\x20params\x20for\x20execute\x20commands','dry-run','Name\x20filter','string','boolean','Use\x20global\x20config\x20scope','name','Force\x20non-interactive\x20mode\x20(CI)','production\x20|\x20development\x20|\x20daily','<code>','Alias\x20for\x20--non-interactive','1611100ZmStUc','Select\x20app\x20profile\x20by\x20name','Skip\x20confirmation\x20for\x20high-risk\x20writes','appcode','304886tqnavr','Output\x20format','clear','6GKIMlT','3zCSIRY','cliBinName','Preview\x20operation\x20without\x20executing','Clear\x20output','params'];a65_0x3b4a=function(){return _0x2936c6;};return a65_0x3b4a();}export const GLOBAL_FLAGS=[{'name':a65_0x5bf573(0x189),'meowKey':a65_0x5bf573(0x189),'type':a65_0x5bf573(0x17e),'description':a65_0x5bf573(0x16b),'hint':a65_0x5bf573(0x184)},{'name':a65_0x5bf573(0x167),'meowKey':a65_0x5bf573(0x167),'type':a65_0x5bf573(0x17e),'description':a65_0x5bf573(0x187),'hint':a65_0x5bf573(0x163)},{'name':a65_0x5bf573(0x161),'meowKey':'env','type':a65_0x5bf573(0x17e),'description':a65_0x5bf573(0x171),'hint':a65_0x5bf573(0x183)},{'name':a65_0x5bf573(0x168),'meowKey':a65_0x5bf573(0x168),'type':a65_0x5bf573(0x17e),'description':a65_0x5bf573(0x159),'hint':a65_0x5bf573(0x16f)},{'name':'jq','meowKey':'jq','type':a65_0x5bf573(0x17e),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':a65_0x5bf573(0x162)},{'name':a65_0x5bf573(0x17c),'meowKey':'dryRun','type':a65_0x5bf573(0x17f),'description':a65_0x5bf573(0x15e)},{'name':a65_0x5bf573(0x176),'meowKey':a65_0x5bf573(0x176),'type':a65_0x5bf573(0x17f),'description':a65_0x5bf573(0x188)},{'name':'non-interactive','meowKey':'nonInteractive','type':a65_0x5bf573(0x17f),'description':a65_0x5bf573(0x182)},{'name':a65_0x5bf573(0x16d),'meowKey':a65_0x5bf573(0x16d),'type':a65_0x5bf573(0x17f),'description':a65_0x5bf573(0x180)},{'name':'ci','meowKey':'ci','type':a65_0x5bf573(0x17f),'description':a65_0x5bf573(0x185),'hidden':!![]},{'name':a65_0x5bf573(0x178),'meowKey':a65_0x5bf573(0x178),'type':a65_0x5bf573(0x17f),'description':a65_0x5bf573(0x164)},{'name':'id','meowKey':'id','type':a65_0x5bf573(0x17e),'description':a65_0x5bf573(0x177),'hidden':!![]},{'name':a65_0x5bf573(0x181),'meowKey':a65_0x5bf573(0x181),'type':a65_0x5bf573(0x17e),'description':a65_0x5bf573(0x17d),'hidden':!![]},{'name':a65_0x5bf573(0x166),'meowKey':'sqlcode','type':a65_0x5bf573(0x17e),'description':'SQL\x20query\x20code','hidden':!![]},{'name':'params','meowKey':a65_0x5bf573(0x160),'type':'string','description':a65_0x5bf573(0x17b),'hidden':!![]},{'name':a65_0x5bf573(0x169),'meowKey':a65_0x5bf573(0x169),'type':a65_0x5bf573(0x17f),'description':a65_0x5bf573(0x172),'hidden':!![]},{'name':a65_0x5bf573(0x15a),'meowKey':a65_0x5bf573(0x15a),'type':'boolean','description':a65_0x5bf573(0x15f),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode','app','env',a65_0x5bf573(0x168),'jq',a65_0x5bf573(0x17c),a65_0x5bf573(0x176),a65_0x5bf573(0x17a),'ci']);export function buildMeowFlags(){const _0x251a9b=a65_0x5bf573;return Object['fromEntries'](GLOBAL_FLAGS['map'](_0xded423=>[_0xded423[_0x251a9b(0x179)],{'type':_0xded423[_0x251a9b(0x16c)]}]));}
1
+ const a64_0x3f7b58=a64_0x15df;(function(_0x36c79d,_0x4407c6){const _0x502389=a64_0x15df,_0x4bae39=_0x36c79d();while(!![]){try{const _0x487c2c=-parseInt(_0x502389(0xa6))/0x1+parseInt(_0x502389(0x9a))/0x2*(parseInt(_0x502389(0x8a))/0x3)+-parseInt(_0x502389(0xb5))/0x4+parseInt(_0x502389(0xb6))/0x5+parseInt(_0x502389(0xad))/0x6+-parseInt(_0x502389(0x9e))/0x7*(parseInt(_0x502389(0xb0))/0x8)+parseInt(_0x502389(0x9c))/0x9*(parseInt(_0x502389(0xa0))/0xa);if(_0x487c2c===_0x4407c6)break;else _0x4bae39['push'](_0x4bae39['shift']());}catch(_0xe3f5eb){_0x4bae39['push'](_0x4bae39['shift']());}}}(a64_0x54f2,0x8861d));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG['cliBinName'];function a64_0x54f2(){const _0x5215ba=['Select\x20app\x20profile\x20by\x20name','json\x20|\x20pretty\x20|\x20compress','1005285hCxfvh','Clear\x20output','Skip\x20confirmation\x20for\x20high-risk\x20writes','Name\x20filter','map','Environment','help','6654774ggKRyj','app','string','104CoZwnr','cliDisplayName','Output\x20format','fromEntries','production\x20|\x20development\x20|\x20daily','3423852ZmHITP','123410VRuOfF','sqlcode','2517vjUQJo','verbose','format','appcode','type','global','Override\x20appcode','dry-run','env','name','JSON\x20params\x20for\x20execute\x20commands','clear','nonInteractive','yes','Record\x20ID','non-interactive','1790gAPFvW','<expr>','10318770yPlwKm','meowKey','329203Jknzid','SQL\x20query\x20code','10JHgNzn','dryRun','Force\x20non-interactive\x20mode\x20(CI)','boolean'];a64_0x54f2=function(){return _0x5215ba;};return a64_0x54f2();}function a64_0x15df(_0x2f54e1,_0xd05a5){_0x2f54e1=_0x2f54e1-0x8a;const _0x54f2e1=a64_0x54f2();let _0x15dfbe=_0x54f2e1[_0x2f54e1];return _0x15dfbe;}export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a64_0x3f7b58(0xb1)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a64_0x3f7b58(0x8d),'meowKey':'appcode','type':a64_0x3f7b58(0xaf),'description':a64_0x3f7b58(0x90),'hint':'<code>'},{'name':a64_0x3f7b58(0xae),'meowKey':a64_0x3f7b58(0xae),'type':a64_0x3f7b58(0xaf),'description':a64_0x3f7b58(0xa4),'hint':'<name>'},{'name':a64_0x3f7b58(0x92),'meowKey':'env','type':'string','description':a64_0x3f7b58(0xab),'hint':a64_0x3f7b58(0xb4)},{'name':a64_0x3f7b58(0x8c),'meowKey':a64_0x3f7b58(0x8c),'type':a64_0x3f7b58(0xaf),'description':a64_0x3f7b58(0xb2),'hint':a64_0x3f7b58(0xa5)},{'name':'jq','meowKey':'jq','type':a64_0x3f7b58(0xaf),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':a64_0x3f7b58(0x9b)},{'name':a64_0x3f7b58(0x91),'meowKey':a64_0x3f7b58(0xa1),'type':a64_0x3f7b58(0xa3),'description':'Preview\x20operation\x20without\x20executing'},{'name':a64_0x3f7b58(0x97),'meowKey':a64_0x3f7b58(0x97),'type':'boolean','description':a64_0x3f7b58(0xa8)},{'name':'non-interactive','meowKey':a64_0x3f7b58(0x96),'type':a64_0x3f7b58(0xa3),'description':a64_0x3f7b58(0xa2)},{'name':a64_0x3f7b58(0x8f),'meowKey':'global','type':a64_0x3f7b58(0xa3),'description':'Use\x20global\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a64_0x3f7b58(0xa3),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a64_0x3f7b58(0xac),'meowKey':a64_0x3f7b58(0xac),'type':a64_0x3f7b58(0xa3),'description':'Show\x20help'},{'name':'id','meowKey':'id','type':a64_0x3f7b58(0xaf),'description':a64_0x3f7b58(0x98),'hidden':!![]},{'name':a64_0x3f7b58(0x93),'meowKey':a64_0x3f7b58(0x93),'type':a64_0x3f7b58(0xaf),'description':a64_0x3f7b58(0xa9),'hidden':!![]},{'name':a64_0x3f7b58(0xb7),'meowKey':a64_0x3f7b58(0xb7),'type':a64_0x3f7b58(0xaf),'description':a64_0x3f7b58(0x9f),'hidden':!![]},{'name':'params','meowKey':'params','type':a64_0x3f7b58(0xaf),'description':a64_0x3f7b58(0x94),'hidden':!![]},{'name':a64_0x3f7b58(0x8b),'meowKey':a64_0x3f7b58(0x8b),'type':a64_0x3f7b58(0xa3),'description':'Verbose\x20output','hidden':!![]},{'name':a64_0x3f7b58(0x95),'meowKey':a64_0x3f7b58(0x95),'type':a64_0x3f7b58(0xa3),'description':a64_0x3f7b58(0xa7),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a64_0x3f7b58(0x8d),a64_0x3f7b58(0xae),a64_0x3f7b58(0x92),a64_0x3f7b58(0x8c),'jq',a64_0x3f7b58(0x91),a64_0x3f7b58(0x97),a64_0x3f7b58(0x99),'ci']);export function buildMeowFlags(){const _0x9cf4c9=a64_0x3f7b58;return Object[_0x9cf4c9(0xb3)](GLOBAL_FLAGS[_0x9cf4c9(0xaa)](_0x2c748f=>[_0x2c748f[_0x9cf4c9(0x9d)],{'type':_0x2c748f[_0x9cf4c9(0x8e)]}]));}
@@ -1 +1 @@
1
- function a66_0x3d57(){const _0x9618c0=['write','2912968JVtBMU','20249406GIhvHN','116952DDFDVe','6rqBMYB','main','1299789kqXvkQ','3398820dXrKKd','en-US','4ZwzuRY','1361568XYTIgb','727517fswJVl','compress'];a66_0x3d57=function(){return _0x9618c0;};return a66_0x3d57();}const a66_0x51c9e8=a66_0x48ef;function a66_0x48ef(_0x172f03,_0xfa390){_0x172f03=_0x172f03-0x94;const _0x3d57d6=a66_0x3d57();let _0x48ef2a=_0x3d57d6[_0x172f03];return _0x48ef2a;}(function(_0x191ec1,_0x1d5e71){const _0x5c3187=a66_0x48ef,_0x184811=_0x191ec1();while(!![]){try{const _0x348ae5=parseInt(_0x5c3187(0x98))/0x1+parseInt(_0x5c3187(0x9c))/0x2+parseInt(_0x5c3187(0x95))/0x3+-parseInt(_0x5c3187(0x9b))/0x4*(-parseInt(_0x5c3187(0x99))/0x5)+parseInt(_0x5c3187(0x96))/0x6*(-parseInt(_0x5c3187(0x9d))/0x7)+parseInt(_0x5c3187(0xa0))/0x8+-parseInt(_0x5c3187(0x94))/0x9;if(_0x348ae5===_0x1d5e71)break;else _0x184811['push'](_0x184811['shift']());}catch(_0x1c5e8e){_0x184811['push'](_0x184811['shift']());}}}(a66_0x3d57,0xad3c9));export const DEFAULT_APP_PROFILE_NAME=a66_0x51c9e8(0x97);export const DEFAULT_CONFIG_VALUES={'env':'production','format':a66_0x51c9e8(0x9e),'locale':a66_0x51c9e8(0x9a),'riskLevel':a66_0x51c9e8(0x9f)};export const DEFAULT_COMMAND_OUTPUT_FORMAT='compress';
1
+ function a65_0x2f94(_0x26456e,_0x2027b6){_0x26456e=_0x26456e-0xb4;const _0x3da0e8=a65_0x3da0();let _0x2f94b1=_0x3da0e8[_0x26456e];return _0x2f94b1;}const a65_0x31e7df=a65_0x2f94;(function(_0x2936fc,_0x1f02da){const _0x50939b=a65_0x2f94,_0xcb58ce=_0x2936fc();while(!![]){try{const _0xfecd3a=-parseInt(_0x50939b(0xc3))/0x1+parseInt(_0x50939b(0xbc))/0x2+-parseInt(_0x50939b(0xb5))/0x3*(parseInt(_0x50939b(0xc2))/0x4)+parseInt(_0x50939b(0xbb))/0x5*(-parseInt(_0x50939b(0xbf))/0x6)+parseInt(_0x50939b(0xc1))/0x7*(parseInt(_0x50939b(0xb4))/0x8)+-parseInt(_0x50939b(0xb6))/0x9*(-parseInt(_0x50939b(0xbd))/0xa)+-parseInt(_0x50939b(0xb9))/0xb*(-parseInt(_0x50939b(0xba))/0xc);if(_0xfecd3a===_0x1f02da)break;else _0xcb58ce['push'](_0xcb58ce['shift']());}catch(_0x55396c){_0xcb58ce['push'](_0xcb58ce['shift']());}}}(a65_0x3da0,0xa4d6f));export const DEFAULT_APP_PROFILE_NAME=a65_0x31e7df(0xbe);export const DEFAULT_CONFIG_VALUES={'env':a65_0x31e7df(0xc0),'format':a65_0x31e7df(0xb8),'locale':a65_0x31e7df(0xb7),'riskLevel':'write'};function a65_0x3da0(){const _0x5c20b5=['771088uOGDOg','603337cMFiZc','13464ShlqFa','6KWBIDw','1682469PPlhGd','en-US','compress','19646187muSDlu','12NIjKqB','26990rTTIzH','226624CxakBM','10mGxCgX','main','1356HUGcFz','production','3318TGzsWK'];a65_0x3da0=function(){return _0x5c20b5;};return a65_0x3da0();}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a65_0x31e7df(0xb8);
@@ -1 +1 @@
1
- function a67_0x3829(_0x3e375b,_0x2b9327){_0x3e375b=_0x3e375b-0x1e8;const _0x41f360=a67_0x41f3();let _0x3829ae=_0x41f360[_0x3e375b];return _0x3829ae;}const a67_0x13e313=a67_0x3829;(function(_0x561624,_0x5278aa){const _0x4b0252=a67_0x3829,_0x42711c=_0x561624();while(!![]){try{const _0x39adcd=-parseInt(_0x4b0252(0x1f1))/0x1+-parseInt(_0x4b0252(0x1f2))/0x2+-parseInt(_0x4b0252(0x1e8))/0x3*(-parseInt(_0x4b0252(0x1eb))/0x4)+parseInt(_0x4b0252(0x1ec))/0x5*(parseInt(_0x4b0252(0x1ee))/0x6)+-parseInt(_0x4b0252(0x1ea))/0x7+parseInt(_0x4b0252(0x1ed))/0x8+-parseInt(_0x4b0252(0x1f0))/0x9*(-parseInt(_0x4b0252(0x1ef))/0xa);if(_0x39adcd===_0x5278aa)break;else _0x42711c['push'](_0x42711c['shift']());}catch(_0x582285){_0x42711c['push'](_0x42711c['shift']());}}}(a67_0x41f3,0x36de8));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a67_0x13e313(0x1f4)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a67_0x13e313(0x1f3)];function a67_0x41f3(){const _0x1726f4=['4qZwQlK','1203025cwMXnH','3174680cdYKsw','6FwVEcG','110lAqBvr','174465efQVcX','224344knpwnd','754108UGECMk','skillSource','npmPackageName','281538bdSdGI','npmRegistryBaseUrl','828653oyZaHR'];a67_0x41f3=function(){return _0x1726f4;};return a67_0x41f3();}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a67_0x13e313(0x1e9)];
1
+ const a66_0x5a1e2a=a66_0x8dfe;(function(_0x35f9b6,_0x582d66){const _0xe3f9d1=a66_0x8dfe,_0x1cf778=_0x35f9b6();while(!![]){try{const _0x22c405=parseInt(_0xe3f9d1(0x14f))/0x1+-parseInt(_0xe3f9d1(0x151))/0x2+parseInt(_0xe3f9d1(0x14e))/0x3*(-parseInt(_0xe3f9d1(0x157))/0x4)+parseInt(_0xe3f9d1(0x156))/0x5*(parseInt(_0xe3f9d1(0x14c))/0x6)+-parseInt(_0xe3f9d1(0x154))/0x7+parseInt(_0xe3f9d1(0x158))/0x8*(parseInt(_0xe3f9d1(0x153))/0x9)+-parseInt(_0xe3f9d1(0x152))/0xa*(parseInt(_0xe3f9d1(0x150))/0xb);if(_0x22c405===_0x582d66)break;else _0x1cf778['push'](_0x1cf778['shift']());}catch(_0x48e950){_0x1cf778['push'](_0x1cf778['shift']());}}}(a66_0x4075,0x3aa6a));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a66_0x5a1e2a(0x155)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a66_0x5a1e2a(0x14d)];function a66_0x8dfe(_0x32a266,_0x8e576b){_0x32a266=_0x32a266-0x14b;const _0x407514=a66_0x4075();let _0x8dfe06=_0x407514[_0x32a266];return _0x8dfe06;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a66_0x5a1e2a(0x14b)];function a66_0x4075(){const _0x3280fb=['40290GjIkJX','skillSource','244443bFdieL','316524UXKhVe','11wIQzqj','222140sDgtru','1256070VuXyaZ','9DJFhFi','2065847bXhzjN','npmPackageName','190dbOXQO','4KzsbHI','2254552TlEMkR','npmRegistryBaseUrl'];a66_0x4075=function(){return _0x3280fb;};return a66_0x4075();}
@@ -1 +1 @@
1
- const a68_0x4ea7ee=a68_0xb58f;(function(_0x20dcd4,_0x2b69e2){const _0x52b4df=a68_0xb58f,_0x2e58ee=_0x20dcd4();while(!![]){try{const _0x51eee6=-parseInt(_0x52b4df(0xab))/0x1*(parseInt(_0x52b4df(0xa8))/0x2)+parseInt(_0x52b4df(0xb6))/0x3*(parseInt(_0x52b4df(0xb1))/0x4)+parseInt(_0x52b4df(0xaf))/0x5+parseInt(_0x52b4df(0xaa))/0x6*(parseInt(_0x52b4df(0xb0))/0x7)+-parseInt(_0x52b4df(0xba))/0x8*(-parseInt(_0x52b4df(0xb4))/0x9)+parseInt(_0x52b4df(0xb8))/0xa*(parseInt(_0x52b4df(0xbc))/0xb)+parseInt(_0x52b4df(0xa9))/0xc*(-parseInt(_0x52b4df(0xb9))/0xd);if(_0x51eee6===_0x2b69e2)break;else _0x2e58ee['push'](_0x2e58ee['shift']());}catch(_0x54bc47){_0x2e58ee['push'](_0x2e58ee['shift']());}}}(a68_0x1ba9,0x62fcb));import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillHubDomain;export function initDomains(_0x5d2b60){const _0xb6cd29=a68_0xb58f;customApiDomain=_0x5d2b60?.[_0xb6cd29(0xad)],customUserDomain=_0x5d2b60?.['userDomain'],customRuntimeDomain=_0x5d2b60?.[_0xb6cd29(0xbd)],customSkillHubDomain=_0x5d2b60?.[_0xb6cd29(0xb5)];}function a68_0xb58f(_0x394157,_0x53e260){_0x394157=_0x394157-0xa8;const _0x1ba99b=a68_0x1ba9();let _0xb58f52=_0x1ba99b[_0x394157];return _0xb58f52;}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a68_0x4ea7ee(0xac)][a68_0x4ea7ee(0xbb)][a68_0x4ea7ee(0xb3)]:PRODUCT_CONFIG['domains'][a68_0x4ea7ee(0xb2)][a68_0x4ea7ee(0xb3)]);function a68_0x1ba9(){const _0x426794=['51702oWzyyc','2698676YWVxzx','nonProduction','user','9jzIHwT','skillHubDomain','3HjDDui','skillhub','8680bKHRGl','13fxAUaC','1214632HjSibd','production','7480TPefsn','runtimeDomain','2MEDacl','15996696qooOlM','144pGaqfz','42646snxZJp','domains','apiDomain','api','935765rrvlbh'];a68_0x1ba9=function(){return _0x426794;};return a68_0x1ba9();}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a68_0x4ea7ee(0xac)][a68_0x4ea7ee(0xbb)][a68_0x4ea7ee(0xae)]:PRODUCT_CONFIG[a68_0x4ea7ee(0xac)][a68_0x4ea7ee(0xb2)]['api']);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a68_0x4ea7ee(0xac)][a68_0x4ea7ee(0xbb)]['runtime']:PRODUCT_CONFIG[a68_0x4ea7ee(0xac)]['nonProduction']['runtime']);export const getSkillHubDomain=()=>customSkillHubDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a68_0x4ea7ee(0xac)][a68_0x4ea7ee(0xbb)]['skillhub']:PRODUCT_CONFIG['domains'][a68_0x4ea7ee(0xb2)][a68_0x4ea7ee(0xb7)]);
1
+ const a67_0x2a4710=a67_0x1775;(function(_0x361638,_0x158ed2){const _0x1eda76=a67_0x1775,_0x3e2345=_0x361638();while(!![]){try{const _0x211c7f=parseInt(_0x1eda76(0x1d5))/0x1+-parseInt(_0x1eda76(0x1d0))/0x2+parseInt(_0x1eda76(0x1c3))/0x3+-parseInt(_0x1eda76(0x1cd))/0x4*(parseInt(_0x1eda76(0x1d1))/0x5)+-parseInt(_0x1eda76(0x1d2))/0x6*(parseInt(_0x1eda76(0x1cf))/0x7)+parseInt(_0x1eda76(0x1d7))/0x8+-parseInt(_0x1eda76(0x1cc))/0x9*(parseInt(_0x1eda76(0x1d4))/0xa);if(_0x211c7f===_0x158ed2)break;else _0x3e2345['push'](_0x3e2345['shift']());}catch(_0x13ab21){_0x3e2345['push'](_0x3e2345['shift']());}}}(a67_0xfc75,0xa3714));function a67_0xfc75(){const _0x4e6216=['9466688eWofWV','1423110hnskkN','api','skillhub','runtimeDomain','skillHubDomain','apiDomain','user','nonProduction','userDomain','23589MTtWvB','1947468MPwjGO','runtime','14yCDcAd','404298iyugRc','5ioXgvt','1192524xXgWno','domains','4710gBNXVv','1332769YLnnHr','production'];a67_0xfc75=function(){return _0x4e6216;};return a67_0xfc75();}import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillHubDomain;export function initDomains(_0x2af6ca){const _0x3f0d1b=a67_0x1775;customApiDomain=_0x2af6ca?.[_0x3f0d1b(0x1c8)],customUserDomain=_0x2af6ca?.[_0x3f0d1b(0x1cb)],customRuntimeDomain=_0x2af6ca?.[_0x3f0d1b(0x1c6)],customSkillHubDomain=_0x2af6ca?.[_0x3f0d1b(0x1c7)];}function a67_0x1775(_0x5430d0,_0x22bb14){_0x5430d0=_0x5430d0-0x1c3;const _0xfc7550=a67_0xfc75();let _0x177528=_0xfc7550[_0x5430d0];return _0x177528;}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a67_0x2a4710(0x1d6)][a67_0x2a4710(0x1c9)]:PRODUCT_CONFIG[a67_0x2a4710(0x1d3)][a67_0x2a4710(0x1ca)][a67_0x2a4710(0x1c9)]);export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a67_0x2a4710(0x1d6)]['api']:PRODUCT_CONFIG['domains'][a67_0x2a4710(0x1ca)][a67_0x2a4710(0x1c4)]);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains']['production'][a67_0x2a4710(0x1ce)]:PRODUCT_CONFIG[a67_0x2a4710(0x1d3)][a67_0x2a4710(0x1ca)]['runtime']);export const getSkillHubDomain=()=>customSkillHubDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a67_0x2a4710(0x1d6)][a67_0x2a4710(0x1c5)]:PRODUCT_CONFIG['domains'][a67_0x2a4710(0x1ca)]['skillhub']);
@@ -1 +1 @@
1
- const a69_0x4b0c70=a69_0x3e7e;(function(_0x3e4797,_0x7cd1f){const _0x1d7bb0=a69_0x3e7e,_0xe5cccb=_0x3e4797();while(!![]){try{const _0x4161ce=parseInt(_0x1d7bb0(0xb9))/0x1*(parseInt(_0x1d7bb0(0xb6))/0x2)+parseInt(_0x1d7bb0(0xb1))/0x3+parseInt(_0x1d7bb0(0xb7))/0x4+parseInt(_0x1d7bb0(0xae))/0x5+-parseInt(_0x1d7bb0(0xaf))/0x6+-parseInt(_0x1d7bb0(0xb5))/0x7*(-parseInt(_0x1d7bb0(0xb2))/0x8)+parseInt(_0x1d7bb0(0xb0))/0x9*(-parseInt(_0x1d7bb0(0xb8))/0xa);if(_0x4161ce===_0x7cd1f)break;else _0xe5cccb['push'](_0xe5cccb['shift']());}catch(_0x431150){_0xe5cccb['push'](_0xe5cccb['shift']());}}}(a69_0x2a4d,0xa978a));function a69_0x2a4d(){const _0x23eb8d=['2089950YMtRAf','9vAGHdw','2648151mQvTHo','624lMDyPD','online','production','18795bULGgy','2sfyQks','2739860pJIlLd','30556930BzvCSn','1121851iajsNY','daily','development','5996045EqNjPQ'];a69_0x2a4d=function(){return _0x23eb8d;};return a69_0x2a4d();}import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a69_0x4b0c70(0xb4),a69_0x4b0c70(0xad),a69_0x4b0c70(0xba)];export function normalizeEnv(_0x5a65c2){const _0x31a9b7=a69_0x4b0c70;return _0x5a65c2===_0x31a9b7(0xb3)?_0x31a9b7(0xb4):_0x5a65c2;}export function isProduction(_0x1fceb7){const _0x30007e=a69_0x4b0c70;return normalizeEnv(_0x1fceb7)===_0x30007e(0xb4);}export function isDaily(_0x382308){return normalizeEnv(_0x382308)==='daily';}export function isDev(_0x8c0b51){const _0x542701=a69_0x4b0c70,_0x5379d3=normalizeEnv(_0x8c0b51);return _0x5379d3===_0x542701(0xad)||_0x5379d3==='dev';}let env=normalizeEnv(productEnv('ENV')||a69_0x4b0c70(0xb4));function a69_0x3e7e(_0x43157a,_0x203bfe){_0x43157a=_0x43157a-0xad;const _0x2a4d0e=a69_0x2a4d();let _0x3e7eb5=_0x2a4d0e[_0x43157a];return _0x3e7eb5;}export function getEnv(){return env;}export function initEnv(_0x182ef8){env=normalizeEnv(_0x182ef8);}
1
+ const a68_0x150500=a68_0x3e70;function a68_0x3e70(_0x1df5ef,_0x2d3457){_0x1df5ef=_0x1df5ef-0x196;const _0x230c25=a68_0x230c();let _0x3e70d0=_0x230c25[_0x1df5ef];return _0x3e70d0;}(function(_0x4e6bb4,_0x55d096){const _0x17132f=a68_0x3e70,_0x38f84a=_0x4e6bb4();while(!![]){try{const _0x345446=-parseInt(_0x17132f(0x1a4))/0x1*(-parseInt(_0x17132f(0x1a0))/0x2)+-parseInt(_0x17132f(0x1a5))/0x3+-parseInt(_0x17132f(0x196))/0x4+parseInt(_0x17132f(0x1a3))/0x5*(parseInt(_0x17132f(0x19b))/0x6)+-parseInt(_0x17132f(0x1a1))/0x7*(parseInt(_0x17132f(0x19a))/0x8)+parseInt(_0x17132f(0x19f))/0x9*(parseInt(_0x17132f(0x19e))/0xa)+-parseInt(_0x17132f(0x19d))/0xb*(-parseInt(_0x17132f(0x19c))/0xc);if(_0x345446===_0x55d096)break;else _0x38f84a['push'](_0x38f84a['shift']());}catch(_0x50c001){_0x38f84a['push'](_0x38f84a['shift']());}}}(a68_0x230c,0x8b6b2));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a68_0x150500(0x1a2),'development','daily'];export function normalizeEnv(_0x85f19d){const _0xf7df8e=a68_0x150500;return _0x85f19d===_0xf7df8e(0x198)?'production':_0x85f19d;}export function isProduction(_0x4d3c4e){const _0x1290f4=a68_0x150500;return normalizeEnv(_0x4d3c4e)===_0x1290f4(0x1a2);}export function isDaily(_0x56aef1){return normalizeEnv(_0x56aef1)==='daily';}export function isDev(_0x2e788e){const _0x36a7d8=a68_0x150500,_0x189c77=normalizeEnv(_0x2e788e);return _0x189c77===_0x36a7d8(0x197)||_0x189c77==='dev';}let env=normalizeEnv(productEnv(a68_0x150500(0x199))||a68_0x150500(0x1a2));export function getEnv(){return env;}export function initEnv(_0x585965){env=normalizeEnv(_0x585965);}function a68_0x230c(){const _0x3e901a=['133278AEzNGF','2232TsXbgP','56782trycIV','970DyHWiH','70272RCuVDM','111892llXFNg','77NrtdrF','production','155eHIRZE','2dgRxzY','1823508yTkvnQ','3635992CeJiPj','development','online','ENV','312808OoPSND'];a68_0x230c=function(){return _0x3e901a;};return a68_0x230c();}
@@ -1 +1 @@
1
- function a70_0x1046(_0x2e8785,_0x1e4bea){_0x2e8785=_0x2e8785-0xf3;const _0x42beb2=a70_0x42be();let _0x1046b7=_0x42beb2[_0x2e8785];return _0x1046b7;}function a70_0x42be(){const _0x2a8082=['48QsSQUi','json','6PRfHhI','34412sKSNkD','pretty','730041mmIHYx','1268661xEUgBU','9vikcjt','8996590CNmpLb','11209136czpJUL','82439mfRfun','470WGtCeP','1723700uOaSkW'];a70_0x42be=function(){return _0x2a8082;};return a70_0x42be();}const a70_0x4edec8=a70_0x1046;(function(_0x4434fb,_0x466faa){const _0xba554=a70_0x1046,_0xb5b617=_0x4434fb();while(!![]){try{const _0x88f152=-parseInt(_0xba554(0xff))/0x1+parseInt(_0xba554(0xfb))/0x2*(parseInt(_0xba554(0xfe))/0x3)+-parseInt(_0xba554(0xfc))/0x4*(parseInt(_0xba554(0xf7))/0x5)+parseInt(_0xba554(0xf9))/0x6*(-parseInt(_0xba554(0xf6))/0x7)+-parseInt(_0xba554(0xf5))/0x8*(-parseInt(_0xba554(0xf3))/0x9)+parseInt(_0xba554(0xf4))/0xa+-parseInt(_0xba554(0xf8))/0xb;if(_0x88f152===_0x466faa)break;else _0xb5b617['push'](_0xb5b617['shift']());}catch(_0xc80134){_0xb5b617['push'](_0xb5b617['shift']());}}}(a70_0x42be,0xab877));export const OUTPUT_FORMAT_VALUES=[a70_0x4edec8(0xfa),a70_0x4edec8(0xfd),'compress'];
1
+ function a69_0x5ebd(){const _0x8aa101=['581192NEXAPB','721pvnxLo','2901273BwvpHM','2372230sgvSAx','2247172GnOAeN','json','955410eJYCLP','15732ZGDCwD','225gfKOrM','compress','5236184HGAUYj'];a69_0x5ebd=function(){return _0x8aa101;};return a69_0x5ebd();}const a69_0x16e357=a69_0x4bd1;function a69_0x4bd1(_0x25a287,_0x1e9def){_0x25a287=_0x25a287-0x11a;const _0x5ebd91=a69_0x5ebd();let _0x4bd16a=_0x5ebd91[_0x25a287];return _0x4bd16a;}(function(_0x389e2e,_0x98c638){const _0x5d1fac=a69_0x4bd1,_0x5135d7=_0x389e2e();while(!![]){try{const _0x5e1522=parseInt(_0x5d1fac(0x11d))/0x1+parseInt(_0x5d1fac(0x11b))/0x2+parseInt(_0x5d1fac(0x124))/0x3+-parseInt(_0x5d1fac(0x121))/0x4+parseInt(_0x5d1fac(0x11a))/0x5+-parseInt(_0x5d1fac(0x11e))/0x6*(-parseInt(_0x5d1fac(0x123))/0x7)+-parseInt(_0x5d1fac(0x122))/0x8*(parseInt(_0x5d1fac(0x11f))/0x9);if(_0x5e1522===_0x98c638)break;else _0x5135d7['push'](_0x5135d7['shift']());}catch(_0x76e115){_0x5135d7['push'](_0x5135d7['shift']());}}}(a69_0x5ebd,0xa26f0));export const OUTPUT_FORMAT_VALUES=[a69_0x16e357(0x11c),'pretty',a69_0x16e357(0x120)];
@@ -1 +1 @@
1
- function a71_0x2795(_0x5d7aa2,_0x4c542e){_0x5d7aa2=_0x5d7aa2-0x16e;const _0x479459=a71_0x4794();let _0x2795e8=_0x479459[_0x5d7aa2];return _0x2795e8;}function a71_0x4794(){const _0xe9d141=['2941475ECBSeA','.lovrabet.json','lovrabet','771528EYeWHZ','https://runtime.lovrabet.com','.lovrabetrc','2421507QPIyaw','Lovrabet\x20User\x20Center','7piXlKT','.lovrabet-runtime.log','/user/ak','https://user.lovrabet.com','12520crDdAQ','SKIP_NPX_SKILLS','legacyEnvPrefixes','57900EdhsQC','@lovrabet/lovrabet-cli','3771rizenT','envPrefix','lovrabet/lovrabet-cli','96FRRpPu','.lovrabet','https://skills-daily.lovrabet.com','LOVRABET','https://daily-api.lovrabet.com','RABETBASE','2741796zcHOXG','Lovrabet\x20Runtime\x20CLI','9793BIkrRB','https://skills.lovrabet.com'];a71_0x4794=function(){return _0xe9d141;};return a71_0x4794();}const a71_0x44e80c=a71_0x2795;(function(_0x1f66f2,_0x442da8){const _0x397013=a71_0x2795,_0x45953a=_0x1f66f2();while(!![]){try{const _0x4addc5=-parseInt(_0x397013(0x184))/0x1*(-parseInt(_0x397013(0x18b))/0x2)+parseInt(_0x397013(0x182))/0x3+parseInt(_0x397013(0x178))/0x4+-parseInt(_0x397013(0x17c))/0x5+-parseInt(_0x397013(0x172))/0x6*(parseInt(_0x397013(0x17a))/0x7)+-parseInt(_0x397013(0x17f))/0x8+parseInt(_0x397013(0x16f))/0x9*(-parseInt(_0x397013(0x188))/0xa);if(_0x4addc5===_0x442da8)break;else _0x45953a['push'](_0x45953a['shift']());}catch(_0x281afb){_0x45953a['push'](_0x45953a['shift']());}}}(a71_0x4794,0x712c8));export const PRODUCT_CONFIG={'cliBinName':a71_0x44e80c(0x17e),'cliDisplayName':a71_0x44e80c(0x179),'npmPackageName':a71_0x44e80c(0x16e),'skillSource':a71_0x44e80c(0x171),'npmRegistryBaseUrl':'https://registry.npmjs.org','envPrefix':a71_0x44e80c(0x175),'legacyEnvPrefixes':[a71_0x44e80c(0x177)],'configFileNames':[a71_0x44e80c(0x17d),a71_0x44e80c(0x181)],'newConfigFileName':a71_0x44e80c(0x17d),'homeDirName':a71_0x44e80c(0x173),'logFileName':a71_0x44e80c(0x185),'invokeSource':'cli:lovrabet-runtime','userCenterDisplayName':a71_0x44e80c(0x183),'skipNpxSkillsEnvSuffix':a71_0x44e80c(0x189),'domains':{'production':{'user':a71_0x44e80c(0x187),'api':'https://api.lovrabet.com','runtime':a71_0x44e80c(0x180),'skillhub':a71_0x44e80c(0x17b)},'nonProduction':{'user':'https://user-daily.lovrabet.com','api':a71_0x44e80c(0x176),'runtime':'https://daily-runtime.lovrabet.com','skillhub':a71_0x44e80c(0x174)}},'accessKeyCreatePath':a71_0x44e80c(0x186)};export function productEnvName(_0x392f00){const _0x2b33df=a71_0x44e80c;return PRODUCT_CONFIG[_0x2b33df(0x170)]+'_'+_0x392f00;}export function productEnvNames(_0x29cfa5){const _0x48a2a6=a71_0x44e80c;return[productEnvName(_0x29cfa5),...PRODUCT_CONFIG[_0x48a2a6(0x18a)]['map'](_0x5d084d=>_0x5d084d+'_'+_0x29cfa5)];}export function productEnv(_0x476ffb){for(const _0x51a85f of productEnvNames(_0x476ffb)){const _0x4e661c=process.env[_0x51a85f];if(_0x4e661c!==undefined)return _0x4e661c;}return undefined;}
1
+ const a70_0x4e6340=a70_0x4935;(function(_0x55c103,_0x1d1776){const _0x7cb6e0=a70_0x4935,_0x598ecb=_0x55c103();while(!![]){try{const _0x33085e=-parseInt(_0x7cb6e0(0x148))/0x1*(parseInt(_0x7cb6e0(0x13b))/0x2)+parseInt(_0x7cb6e0(0x14c))/0x3*(-parseInt(_0x7cb6e0(0x154))/0x4)+parseInt(_0x7cb6e0(0x150))/0x5*(parseInt(_0x7cb6e0(0x135))/0x6)+parseInt(_0x7cb6e0(0x13d))/0x7*(-parseInt(_0x7cb6e0(0x153))/0x8)+-parseInt(_0x7cb6e0(0x145))/0x9*(-parseInt(_0x7cb6e0(0x14b))/0xa)+-parseInt(_0x7cb6e0(0x13e))/0xb*(-parseInt(_0x7cb6e0(0x140))/0xc)+-parseInt(_0x7cb6e0(0x14f))/0xd*(-parseInt(_0x7cb6e0(0x13c))/0xe);if(_0x33085e===_0x1d1776)break;else _0x598ecb['push'](_0x598ecb['shift']());}catch(_0x421b1c){_0x598ecb['push'](_0x598ecb['shift']());}}}(a70_0x726f,0x23b11));function a70_0x726f(){const _0x38306a=['357810JkSTFz','https://runtime.lovrabet.com','.lovrabet','4296cqsfbO','4CDsqeE','https://api.lovrabet.com','cli:lovrabet-runtime','24gjnFGs','.lovrabet-runtime.log','map','https://skills-daily.lovrabet.com','RABETBASE','envPrefix','578484syblcU','434lzxMjV','3535qLjvjp','5335fIfFRw','https://daily-api.lovrabet.com','2616aJNbWo','.lovrabet.json','https://user-daily.lovrabet.com','https://skills.lovrabet.com','Lovrabet\x20User\x20Center','126GxLRVo','https://daily-runtime.lovrabet.com','https://user.lovrabet.com','1chRktk','lovrabet/lovrabet-cli','.lovrabetrc','153430mHsVPn','696603dUIAKD','SKIP_NPX_SKILLS','Lovrabet\x20Runtime\x20CLI','139243eBRAwN'];a70_0x726f=function(){return _0x38306a;};return a70_0x726f();}export const PRODUCT_CONFIG={'cliBinName':'lovrabet','cliDisplayName':a70_0x4e6340(0x14e),'npmPackageName':'@lovrabet/lovrabet-cli','skillSource':a70_0x4e6340(0x149),'npmRegistryBaseUrl':'https://registry.npmjs.org','envPrefix':'LOVRABET','legacyEnvPrefixes':[a70_0x4e6340(0x139)],'configFileNames':[a70_0x4e6340(0x141),a70_0x4e6340(0x14a)],'newConfigFileName':a70_0x4e6340(0x141),'homeDirName':a70_0x4e6340(0x152),'logFileName':a70_0x4e6340(0x136),'invokeSource':a70_0x4e6340(0x134),'userCenterDisplayName':a70_0x4e6340(0x144),'skipNpxSkillsEnvSuffix':a70_0x4e6340(0x14d),'domains':{'production':{'user':a70_0x4e6340(0x147),'api':a70_0x4e6340(0x155),'runtime':a70_0x4e6340(0x151),'skillhub':a70_0x4e6340(0x143)},'nonProduction':{'user':a70_0x4e6340(0x142),'api':a70_0x4e6340(0x13f),'runtime':a70_0x4e6340(0x146),'skillhub':a70_0x4e6340(0x138)}},'accessKeyCreatePath':'/user/ak'};export function productEnvName(_0x25bb0e){const _0x2ffdf2=a70_0x4e6340;return PRODUCT_CONFIG[_0x2ffdf2(0x13a)]+'_'+_0x25bb0e;}export function productEnvNames(_0x5c0f52){const _0x589193=a70_0x4e6340;return[productEnvName(_0x5c0f52),...PRODUCT_CONFIG['legacyEnvPrefixes'][_0x589193(0x137)](_0x3d42e7=>_0x3d42e7+'_'+_0x5c0f52)];}function a70_0x4935(_0x4b6f45,_0x4b6689){_0x4b6f45=_0x4b6f45-0x134;const _0x726f23=a70_0x726f();let _0x4935e9=_0x726f23[_0x4b6f45];return _0x4935e9;}export function productEnv(_0x2eabb7){for(const _0x1595d1 of productEnvNames(_0x2eabb7)){const _0x2e8242=process.env[_0x1595d1];if(_0x2e8242!==undefined)return _0x2e8242;}return undefined;}
@@ -1 +1 @@
1
- const a72_0x4f72f9=a72_0x5964;function a72_0x5cd2(){const _0x3394eb=['read','8178240gvBuVF','write','5676300lbmUZm','6880pAbVri','7870185QDSODA','1367esrDKn','1434unZdzZ','2610507BRGTEi','4YRchGd','6892047MPmYBo'];a72_0x5cd2=function(){return _0x3394eb;};return a72_0x5cd2();}function a72_0x5964(_0x59fdc4,_0x1149da){_0x59fdc4=_0x59fdc4-0xb3;const _0x5cd240=a72_0x5cd2();let _0x596472=_0x5cd240[_0x59fdc4];return _0x596472;}(function(_0x53ea56,_0x291741){const _0x248993=a72_0x5964,_0x52b837=_0x53ea56();while(!![]){try{const _0x5f533c=parseInt(_0x248993(0xba))/0x1*(parseInt(_0x248993(0xbb))/0x2)+-parseInt(_0x248993(0xbc))/0x3*(-parseInt(_0x248993(0xbd))/0x4)+-parseInt(_0x248993(0xb9))/0x5+parseInt(_0x248993(0xb7))/0x6+-parseInt(_0x248993(0xb5))/0x7+-parseInt(_0x248993(0xb8))/0x8+parseInt(_0x248993(0xb3))/0x9;if(_0x5f533c===_0x291741)break;else _0x52b837['push'](_0x52b837['shift']());}catch(_0x333e09){_0x52b837['push'](_0x52b837['shift']());}}}(a72_0x5cd2,0xc7eec));export const RISK_LEVEL_VALUES=[a72_0x4f72f9(0xb4),a72_0x4f72f9(0xb6),'high-risk-write'];
1
+ function a71_0x227d(_0x519e95,_0x4b7165){_0x519e95=_0x519e95-0xf5;const _0x6a630f=a71_0x6a63();let _0x227d9f=_0x6a630f[_0x519e95];return _0x227d9f;}const a71_0x2e67cd=a71_0x227d;(function(_0x3c8f98,_0x5572ed){const _0x593483=a71_0x227d,_0x21bd61=_0x3c8f98();while(!![]){try{const _0x2653ef=parseInt(_0x593483(0xf5))/0x1*(-parseInt(_0x593483(0xf6))/0x2)+parseInt(_0x593483(0xf7))/0x3*(parseInt(_0x593483(0xfa))/0x4)+parseInt(_0x593483(0xfc))/0x5*(parseInt(_0x593483(0xf9))/0x6)+-parseInt(_0x593483(0xfe))/0x7*(parseInt(_0x593483(0xfd))/0x8)+-parseInt(_0x593483(0xff))/0x9+-parseInt(_0x593483(0xf8))/0xa*(-parseInt(_0x593483(0x100))/0xb)+parseInt(_0x593483(0xfb))/0xc*(parseInt(_0x593483(0x101))/0xd);if(_0x2653ef===_0x5572ed)break;else _0x21bd61['push'](_0x21bd61['shift']());}catch(_0x31dd0c){_0x21bd61['push'](_0x21bd61['shift']());}}}(a71_0x6a63,0xb8ffa));export const RISK_LEVEL_VALUES=['read',a71_0x2e67cd(0x102),'high-risk-write'];function a71_0x6a63(){const _0x3aaac5=['1781TULzyi','write','1VMutha','2386438LssdlR','1003602xglXEi','22280nxQcjA','1548vaBFDD','4aZBbca','155796CiCryp','12625Ooksaz','649488ynksNk','42vbQZeU','11020050nVxIRF','4433pCAycs'];a71_0x6a63=function(){return _0x3aaac5;};return a71_0x6a63();}
@@ -1 +1 @@
1
- function a73_0x4cfd(){const _0x395360=['3632004xHEmkI','production','321125KnPTYG','6503aXQhCV','accessKeyCreatePath','40bKxgLS','1080774XQLryZ','5230424hYxllb','1336727UauitR','1391402DDyBmQ','user'];a73_0x4cfd=function(){return _0x395360;};return a73_0x4cfd();}const a73_0x200de8=a73_0x209c;(function(_0x395fd7,_0x4980a4){const _0x58a3a3=a73_0x209c,_0x52e673=_0x395fd7();while(!![]){try{const _0x2ae180=parseInt(_0x58a3a3(0x1aa))/0x1+-parseInt(_0x58a3a3(0x1ab))/0x2+parseInt(_0x58a3a3(0x1ad))/0x3+-parseInt(_0x58a3a3(0x1a9))/0x4+parseInt(_0x58a3a3(0x1af))/0x5+parseInt(_0x58a3a3(0x1a8))/0x6+parseInt(_0x58a3a3(0x1a5))/0x7*(parseInt(_0x58a3a3(0x1a7))/0x8);if(_0x2ae180===_0x4980a4)break;else _0x52e673['push'](_0x52e673['shift']());}catch(_0x10ae02){_0x52e673['push'](_0x52e673['shift']());}}}(a73_0x4cfd,0xc19ff));import{PRODUCT_CONFIG}from'../constant/product.js';function a73_0x209c(_0x40ba5c,_0x3d333f){_0x40ba5c=_0x40ba5c-0x1a5;const _0x4cfdb6=a73_0x4cfd();let _0x209cb7=_0x4cfdb6[_0x40ba5c];return _0x209cb7;}export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG['domains'][a73_0x200de8(0x1ae)][a73_0x200de8(0x1ac)]+PRODUCT_CONFIG[a73_0x200de8(0x1a6)];
1
+ const a72_0x41a65c=a72_0x2d3a;(function(_0x4609bd,_0xcba79f){const _0x59cff3=a72_0x2d3a,_0xbbf150=_0x4609bd();while(!![]){try{const _0x2a7448=parseInt(_0x59cff3(0xf9))/0x1*(parseInt(_0x59cff3(0x101))/0x2)+parseInt(_0x59cff3(0xff))/0x3*(-parseInt(_0x59cff3(0xf5))/0x4)+parseInt(_0x59cff3(0xf7))/0x5+parseInt(_0x59cff3(0x100))/0x6+-parseInt(_0x59cff3(0xf6))/0x7*(parseInt(_0x59cff3(0xfb))/0x8)+parseInt(_0x59cff3(0xfc))/0x9*(parseInt(_0x59cff3(0xfa))/0xa)+-parseInt(_0x59cff3(0xf3))/0xb*(-parseInt(_0x59cff3(0xfe))/0xc);if(_0x2a7448===_0xcba79f)break;else _0xbbf150['push'](_0xbbf150['shift']());}catch(_0x3a9b74){_0xbbf150['push'](_0xbbf150['shift']());}}}(a72_0x5ba0,0x48f83));import{PRODUCT_CONFIG}from'../constant/product.js';function a72_0x2d3a(_0x21a90a,_0x29a89a){_0x21a90a=_0x21a90a-0xf3;const _0x5ba063=a72_0x5ba0();let _0x2d3abe=_0x5ba063[_0x21a90a];return _0x2d3abe;}export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a72_0x41a65c(0xfd)][a72_0x41a65c(0xf4)][a72_0x41a65c(0xf8)]+PRODUCT_CONFIG['accessKeyCreatePath'];function a72_0x5ba0(){const _0x3a283f=['252852vDEvNo','678riSmgd','2549640oVpkAI','2zLCoGv','11YJaiiS','production','9100czEmxl','613991luncgd','723390gfBzfA','user','250487LZuTRq','10rRrmmo','32AfvSnf','2904381bbtwIe','domains'];a72_0x5ba0=function(){return _0x3a283f;};return a72_0x5ba0();}