@lovrabet/lovrabet-cli 2.1.8 → 2.1.9-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) 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/app-config/shared.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/shared.js +1 -1
  25. package/lib/commands/data/index.js +1 -1
  26. package/lib/commands/dataset/detail.js +1 -1
  27. package/lib/commands/dataset/index.js +1 -1
  28. package/lib/commands/dataset/list.js +1 -1
  29. package/lib/commands/dataset/sdk-doc.js +1 -1
  30. package/lib/commands/doctor.js +1 -1
  31. package/lib/commands/file/index.js +1 -1
  32. package/lib/commands/init.js +1 -1
  33. package/lib/commands/kb/index.js +1 -1
  34. package/lib/commands/logs/index.js +1 -1
  35. package/lib/commands/ocr/index.js +1 -1
  36. package/lib/commands/personal-bff/index.js +1 -1
  37. package/lib/commands/registry.js +1 -1
  38. package/lib/commands/schema.js +1 -1
  39. package/lib/commands/service/dynamic.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/response.js +1 -1
  87. package/lib/framework/runner-confirmation.js +1 -1
  88. package/lib/framework/runner-error.js +1 -1
  89. package/lib/framework/runner.js +1 -1
  90. package/lib/framework/schema-export.js +1 -1
  91. package/lib/framework/service-order.js +1 -1
  92. package/lib/framework/types.js +1 -1
  93. package/lib/generated/build-info.js +1 -1
  94. package/lib/help.js +1 -1
  95. package/lib/skills/npx-skills-add.js +1 -1
  96. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  97. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  98. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  99. package/lib/skills/runtime-skill-sync/links.js +1 -1
  100. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  101. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  102. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  103. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  104. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  105. package/lib/skills/runtime-skill-sync/push.js +1 -1
  106. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  107. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  108. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  109. package/lib/skills/runtime-skill-sync.js +1 -1
  110. package/lib/utils/apply-jq-filter.js +1 -1
  111. package/lib/utils/logger.js +1 -1
  112. package/lib/utils/params.js +1 -1
  113. package/lib/utils/platform.js +1 -1
  114. package/lib/utils/update-notice.js +1 -1
  115. package/lib/utils/version.js +1 -1
  116. package/lib/utils/write-cli-side-channel.js +1 -1
  117. package/package.json +1 -1
@@ -1 +1 @@
1
- const a54_0x2af132=a54_0x9658;(function(_0x52ef7d,_0x5f0e38){const _0x5eb6e3=a54_0x9658,_0x19d3f6=_0x52ef7d();while(!![]){try{const _0x4301a5=-parseInt(_0x5eb6e3(0x1de))/0x1*(parseInt(_0x5eb6e3(0x1dd))/0x2)+-parseInt(_0x5eb6e3(0x200))/0x3*(parseInt(_0x5eb6e3(0x1fd))/0x4)+-parseInt(_0x5eb6e3(0x1dc))/0x5+-parseInt(_0x5eb6e3(0x1e3))/0x6+parseInt(_0x5eb6e3(0x1ef))/0x7+parseInt(_0x5eb6e3(0x1e0))/0x8+parseInt(_0x5eb6e3(0x1f3))/0x9;if(_0x4301a5===_0x5f0e38)break;else _0x19d3f6['push'](_0x19d3f6['shift']());}catch(_0x56178b){_0x19d3f6['push'](_0x19d3f6['shift']());}}}(a54_0x278c,0xcc84e));import{CliErrors}from'../../errors.js';export const SKILL_TYPES=[a54_0x2af132(0x1df),a54_0x2af132(0x1f9),a54_0x2af132(0x1e9)];export const DEFAULT_SKILL_TARGET=a54_0x2af132(0x1e4);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';function a54_0x278c(){const _0x4d84e2=['\x0a\x0a##\x20错误与人工接管\x0a\x0aerrors\x20必须包含失败阶段、错误原因和可复核对象。\x0anextActions\x20必须给出重试、补充输入、人工接管或停止处理的动作。\x0a','timestamp','.\x20Use\x20lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens.','##\x20状态读回与未知状态处理\x0a\x0a【填写业务状态事实源、fromStatus\x20->\x20toStatus\x20预览、写入后读回核对方式,以及\x20unknown\x20/\x20needs_manual_check\x20的处理边界】\x0a\x0a','write\x20类型在\x20dry_run\x20下只展示预览、影响范围和差异,不写入业务数据。\x0aconfirmed\x20写入后必须执行读回核对,并把核对结果写入\x20verification。\x0a读回异常、业务状态未知或结果不一致时,status\x20必须为\x20partial_success、failed\x20或\x20needs_manual_check。','6660425LAkkUI','40336RGKjUb','67BcMBBn','write','5597024luwwCD','\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=','validation','1485348PIzEJF','.agents/skills','1.\x20只读查询:【填写查询入口、过滤条件和权限边界】\x0a2.\x20业务汇总:【填写统计口径、字段解释和异常提示】\x0a3.\x20查看链接:【填写可供运营人员复核的记录、页面或报告链接】\x0a4.\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','Use\x20lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens,\x20for\x20example\x20invoice-export.','1.\x20受控模板预览:【填写待维护内容、影响范围和预览方式】\x0a2.\x20用户确认:【填写确认信息和不可省略的人工判断点】\x0a3.\x20受控维护:【填写确认后的维护步骤和记录方式】\x0a4.\x20只读核对:【填写维护后的核对入口、差异和回滚/修正方式】','trainer','\x0adescription:\x20\x22【填写模型触发语义:用户在什么场景应使用本\x20Skill、不要使用的边界和关键词】\x22\x0ametadata:\x0a\x20\x20type:\x20','\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','Invalid\x20Skill\x20name:\x20','\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','type','1713754KjQukj','\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','Unsupported\x20Skill\x20type:\x20','toISOString','25491870bkABtq','#\x20Output\x20Contract\x0a\x0a','\x22\x0a\x20\x20generator:\x20\x22lovrabet\x20skill\x20create\x22\x0a---\x0a\x0a#\x20','SKILL.md','trim','includes','read','#\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','##\x20业务状态流转\x0a\x0a【填写本\x20Skill\x20的前置业务状态、允许动作、目标业务状态、fromStatus\x20->\x20toStatus\x20预览、写入后读回核对,以及\x20unknown\x20/\x20needs_manual_check\x20处理。状态迁移合法性必须由业务\x20BFF、Lovrabet\x20平台命令或服务端接口判断,Skill\x20不作为状态事实源。】','33084rNfmQH','skillName','1.\x20dry-run:【填写预览入口、影响范围和差异摘要;不得写入业务数据】\x0a2.\x20用户确认:【填写确认语义、目标对象、数量、风险和操作者责任】\x0a3.\x20confirmed\x20写入:【填写确认后的写入入口和幂等/防重复要求】\x0a4.\x20只读核对:【填写写入后的查询核对、差异展示和结果链接】\x0a5.\x20checkpoint:【填写失败恢复、重试条件和人工接管方式】','3VLsfGG'];a54_0x278c=function(){return _0x4d84e2;};return a54_0x278c();}export function validateSkillName(_0xfd9dd2){const _0x2b87b7=a54_0x2af132,_0x4a29ce=_0xfd9dd2['trim']();if(!SKILL_NAME_PATTERN['test'](_0x4a29ce))throw CliErrors[_0x2b87b7(0x1e2)](_0x2b87b7(0x1ec)+_0xfd9dd2+_0x2b87b7(0x203),_0x2b87b7(0x1e7));return _0x4a29ce;}function a54_0x9658(_0x28e758,_0x2d2f9a){_0x28e758=_0x28e758-0x1dc;const _0x278c5d=a54_0x278c();let _0x965886=_0x278c5d[_0x28e758];return _0x965886;}export function normalizeSkillTemplateType(_0x543538){const _0xf4327f=a54_0x2af132,_0x19719c=(_0x543538||_0xf4327f(0x1df))[_0xf4327f(0x1f7)]()||'write';if(SKILL_TYPES[_0xf4327f(0x1f8)](_0x19719c))return _0x19719c;throw CliErrors[_0xf4327f(0x1e2)](_0xf4327f(0x1f1)+_0x543538,'Use\x20one\x20of:\x20'+SKILL_TYPES['join'](',\x20')+'.');}export function renderSkillTemplate(_0x132132){const _0x43fc01=a54_0x2af132,_0x2f381e=validateSkillName(_0x132132[_0x43fc01(0x1fe)]),_0x5e826f=normalizeSkillTemplateType(_0x132132[_0x43fc01(0x1ee)]),_0x36e421=_0x132132[_0x43fc01(0x202)]??new Date()[_0x43fc01(0x1f2)]();return{'skillName':_0x2f381e,'type':_0x5e826f,'files':[{'path':_0x43fc01(0x1f6),'content':renderSkillMd(_0x2f381e,_0x5e826f,_0x36e421)},{'path':RUNTIME_CONTRACT_FILE,'content':renderRuntimeContract(_0x2f381e,_0x5e826f)},{'path':OUTPUT_CONTRACT_FILE,'content':renderOutputContract(_0x2f381e,_0x5e826f)}]};}function renderSkillMd(_0x4f44dc,_0x208d76,_0xe13362){const _0x56411c=a54_0x2af132,_0x4f32ba=typeWorkflow(_0x208d76);return'---\x0aname:\x20'+_0x4f44dc+_0x56411c(0x1ea)+_0x208d76+'\x0a\x20\x20created:\x20\x22'+_0xe13362+_0x56411c(0x1f5)+_0x4f44dc+_0x56411c(0x1e6)+_0x4f32ba+'\x0a\x0a'+businessStateSection(_0x208d76)+_0x56411c(0x1ed);}function renderRuntimeContract(_0x50b274,_0x2686be){const _0x33c2b4=a54_0x2af132,_0x2e1a3b=_0x2686be===_0x33c2b4(0x1df)?_0x33c2b4(0x204):'';return _0x33c2b4(0x1fa)+_0x50b274+_0x33c2b4(0x1e1)+_0x2686be+_0x33c2b4(0x1eb)+_0x2e1a3b+_0x33c2b4(0x1f0);}function renderOutputContract(_0xea0116,_0x268d80){const _0x2a146a=a54_0x2af132,_0x1d7596=_0x268d80===_0x2a146a(0x1df)?_0x2a146a(0x205):_0x268d80+'\x20类型默认不执行业务写入;如流程包含受控维护或人工确认,也必须用\x20mode\x20标明执行阶段并暴露核对结果。';return _0x2a146a(0x1f4)+_0xea0116+_0x2a146a(0x1fb)+_0x1d7596+_0x2a146a(0x201);}function typeWorkflow(_0x138f6d){const _0x216301=a54_0x2af132;if(_0x138f6d===_0x216301(0x1f9))return _0x216301(0x1e5);if(_0x138f6d===_0x216301(0x1e9))return _0x216301(0x1e8);return _0x216301(0x1ff);}function businessStateSection(_0x74b6a8){const _0x1d4ddb=a54_0x2af132;if(_0x74b6a8!==_0x1d4ddb(0x1df))return'';return _0x1d4ddb(0x1fc);}
1
+ const a54_0x39ce19=a54_0x4cfc;(function(_0x3a2f81,_0x1526d8){const _0x3dc2f0=a54_0x4cfc,_0x1b1ac6=_0x3a2f81();while(!![]){try{const _0x295bb9=parseInt(_0x3dc2f0(0x125))/0x1*(parseInt(_0x3dc2f0(0x121))/0x2)+-parseInt(_0x3dc2f0(0x130))/0x3+parseInt(_0x3dc2f0(0x131))/0x4+parseInt(_0x3dc2f0(0x123))/0x5*(parseInt(_0x3dc2f0(0x11c))/0x6)+-parseInt(_0x3dc2f0(0x11e))/0x7*(-parseInt(_0x3dc2f0(0x12b))/0x8)+-parseInt(_0x3dc2f0(0x13b))/0x9+-parseInt(_0x3dc2f0(0x127))/0xa*(parseInt(_0x3dc2f0(0x12d))/0xb);if(_0x295bb9===_0x1526d8)break;else _0x1b1ac6['push'](_0x1b1ac6['shift']());}catch(_0x5e230e){_0x1b1ac6['push'](_0x1b1ac6['shift']());}}}(a54_0x1a75,0xe2d56));import{CliErrors}from'../../errors.js';export const SKILL_TYPES=['write',a54_0x39ce19(0x120),a54_0x39ce19(0x138)];function a54_0x1a75(){const _0x448152=['references/output-contract.md','4336626oaOXJW','6837388oubhsc','1.\x20dry-run:【填写预览入口、影响范围和差异摘要;不得写入业务数据】\x0a2.\x20用户确认:【填写确认语义、目标对象、数量、风险和操作者责任】\x0a3.\x20confirmed\x20写入:【填写确认后的写入入口和幂等/防重复要求】\x0a4.\x20只读核对:【填写写入后的查询核对、差异展示和结果链接】\x0a5.\x20checkpoint:【填写失败恢复、重试条件和人工接管方式】','Use\x20one\x20of:\x20','\x0a\x20\x20created:\x20\x22','type','toISOString','validation','trainer','#\x20Runtime\x20Contract\x0a\x0aSkill\x20push\x20后的\x20zip\x20包就是完整交付产物。','skillName','13408704XmlASF','Unsupported\x20Skill\x20type:\x20','write','1.\x20受控模板预览:【填写待维护内容、影响范围和预览方式】\x0a2.\x20用户确认:【填写确认信息和不可省略的人工判断点】\x0a3.\x20受控维护:【填写确认后的维护步骤和记录方式】\x0a4.\x20只读核对:【填写维护后的核对入口、差异和回滚/修正方式】','trim','\x0adescription:\x20\x22【填写模型触发语义:用户在什么场景应使用本\x20Skill、不要使用的边界和关键词】\x22\x0ametadata:\x0a\x20\x20type:\x20','.\x20Use\x20lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens.','join','references/runtime-contract.md','2412hZKlCX','\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','35teGTwc','Invalid\x20Skill\x20name:\x20','read','12leBmXU','timestamp','6290EtSCHO','\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','239240JsNKhk','\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','190GSROKh','#\x20Output\x20Contract\x0a\x0a','\x0a\x0a##\x20错误与人工接管\x0a\x0aerrors\x20必须包含失败阶段、错误原因和可复核对象。\x0anextActions\x20必须给出重试、补充输入、人工接管或停止处理的动作。\x0a','\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','983848xptWTx','##\x20业务状态流转\x0a\x0a【填写本\x20Skill\x20的前置业务状态、允许动作、目标业务状态、fromStatus\x20->\x20toStatus\x20预览、写入后读回核对,以及\x20unknown\x20/\x20needs_manual_check\x20处理。状态迁移合法性必须由业务\x20BFF、Lovrabet\x20平台命令或服务端接口判断,Skill\x20不作为状态事实源。】','232100LyeuSo','includes'];a54_0x1a75=function(){return _0x448152;};return a54_0x1a75();}export const DEFAULT_SKILL_TARGET='.agents/skills';export const SKILL_NAME_PATTERN=/^[a-z0-9]+(?:-[a-z0-9]+)*$/;export const RUNTIME_CONTRACT_FILE=a54_0x39ce19(0x11b);export const OUTPUT_CONTRACT_FILE=a54_0x39ce19(0x12f);export function validateSkillName(_0x41fd9c){const _0x48dfb3=a54_0x39ce19,_0x93ac78=_0x41fd9c[_0x48dfb3(0x13f)]();if(!SKILL_NAME_PATTERN['test'](_0x93ac78))throw CliErrors[_0x48dfb3(0x137)](_0x48dfb3(0x11f)+_0x41fd9c+_0x48dfb3(0x141),'Use\x20lowercase\x20letters,\x20numbers,\x20and\x20single\x20hyphens,\x20for\x20example\x20invoice-export.');return _0x93ac78;}export function normalizeSkillTemplateType(_0x5814b4){const _0x322453=a54_0x39ce19,_0x2dc905=(_0x5814b4||_0x322453(0x13d))[_0x322453(0x13f)]()||'write';if(SKILL_TYPES[_0x322453(0x12e)](_0x2dc905))return _0x2dc905;throw CliErrors[_0x322453(0x137)](_0x322453(0x13c)+_0x5814b4,_0x322453(0x133)+SKILL_TYPES[_0x322453(0x142)](',\x20')+'.');}export function renderSkillTemplate(_0x1305fe){const _0x5ca607=a54_0x39ce19,_0x4ef9c6=validateSkillName(_0x1305fe[_0x5ca607(0x13a)]),_0x35073b=normalizeSkillTemplateType(_0x1305fe[_0x5ca607(0x135)]),_0x1e5694=_0x1305fe[_0x5ca607(0x122)]??new Date()[_0x5ca607(0x136)]();return{'skillName':_0x4ef9c6,'type':_0x35073b,'files':[{'path':'SKILL.md','content':renderSkillMd(_0x4ef9c6,_0x35073b,_0x1e5694)},{'path':RUNTIME_CONTRACT_FILE,'content':renderRuntimeContract(_0x4ef9c6,_0x35073b)},{'path':OUTPUT_CONTRACT_FILE,'content':renderOutputContract(_0x4ef9c6,_0x35073b)}]};}function renderSkillMd(_0x4d51a8,_0x18fa4a,_0x3f47a7){const _0x39d304=a54_0x39ce19,_0x84505d=typeWorkflow(_0x18fa4a);return'---\x0aname:\x20'+_0x4d51a8+_0x39d304(0x140)+_0x18fa4a+_0x39d304(0x134)+_0x3f47a7+'\x22\x0a\x20\x20generator:\x20\x22lovrabet\x20skill\x20create\x22\x0a---\x0a\x0a#\x20'+_0x4d51a8+_0x39d304(0x126)+_0x84505d+'\x0a\x0a'+businessStateSection(_0x18fa4a)+'\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';}function a54_0x4cfc(_0x29e29c,_0x26385e){_0x29e29c=_0x29e29c-0x11b;const _0x1a7515=a54_0x1a75();let _0x4cfc0f=_0x1a7515[_0x29e29c];return _0x4cfc0f;}function renderRuntimeContract(_0x43a3e8,_0x357cc5){const _0x21d0bd=a54_0x39ce19,_0x374d22=_0x357cc5==='write'?'##\x20状态读回与未知状态处理\x0a\x0a【填写业务状态事实源、fromStatus\x20->\x20toStatus\x20预览、写入后读回核对方式,以及\x20unknown\x20/\x20needs_manual_check\x20的处理边界】\x0a\x0a':'';return _0x21d0bd(0x139)+_0x43a3e8+'\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='+_0x357cc5+_0x21d0bd(0x11d)+_0x374d22+_0x21d0bd(0x124);}function renderOutputContract(_0xa5fe54,_0x1bc436){const _0x20db33=a54_0x39ce19,_0x46a18f=_0x1bc436===_0x20db33(0x13d)?'write\x20类型在\x20dry_run\x20下只展示预览、影响范围和差异,不写入业务数据。\x0aconfirmed\x20写入后必须执行读回核对,并把核对结果写入\x20verification。\x0a读回异常、业务状态未知或结果不一致时,status\x20必须为\x20partial_success、failed\x20或\x20needs_manual_check。':_0x1bc436+'\x20类型默认不执行业务写入;如流程包含受控维护或人工确认,也必须用\x20mode\x20标明执行阶段并暴露核对结果。';return _0x20db33(0x128)+_0xa5fe54+_0x20db33(0x12a)+_0x46a18f+_0x20db33(0x129);}function typeWorkflow(_0x58ee2e){const _0x48e8d2=a54_0x39ce19;if(_0x58ee2e===_0x48e8d2(0x120))return'1.\x20只读查询:【填写查询入口、过滤条件和权限边界】\x0a2.\x20业务汇总:【填写统计口径、字段解释和异常提示】\x0a3.\x20查看链接:【填写可供运营人员复核的记录、页面或报告链接】\x0a4.\x20禁止写入:不得创建、更新、删除或触发会改变业务状态的动作。';if(_0x58ee2e===_0x48e8d2(0x138))return _0x48e8d2(0x13e);return _0x48e8d2(0x132);}function businessStateSection(_0x8ebd54){const _0x44c18a=a54_0x39ce19;if(_0x8ebd54!=='write')return'';return _0x44c18a(0x12c);}
@@ -1 +1 @@
1
- const a55_0x2fff73=a55_0x5490;function a55_0x5cb1(){const _0x5d2023=['message','SKILL.md\x20is\x20not\x20a\x20file.','warning','raw','config','string','split','display-name-recommended','dataset','error','SKILL.md','suggestion','Frontmatter\x20displayName\x20is\x20missing.','schema','section','auth','toLowerCase','bff','level','Set\x20metadata.type\x20to\x20write,\x20read,\x20or\x20trainer.','write','service','structure-complete','match','filter','trim','internal-skill','104504MIzLqB','path','type','frontmatter-required','isDirectory','Add\x20SKILL.md\x20as\x20a\x20regular\x20file\x20at\x20the\x20Skill\x20directory\x20root.','search','Frontmatter\x20description\x20is\x20empty.','internal','This\x20line\x20invokes\x20the\x20rabetbase\x20CLI.\x20rabetbase\x20is\x20a\x20dev-time\x20tool;\x20runtime\x20Skills\x20should\x20drive\x20runtime\x20work\x20through\x20lovrabet\x20commands.','Skill\x20directory\x20not\x20found:\x20','isSymbolicLink','填写模型触发语义:用户在什么场景应使用本\x20Skill、不要使用的边界和关键词。','metadata.type\x20must\x20be\x20one\x20of\x20write,\x20read,\x20or\x20trainer.','length','Add\x20frontmatter\x20with\x20name\x20and\x20description.','12whEVgz','4497245LkStxA','boolean','4letOHi','Replace\x20the\x20symlink\x20with\x20a\x20regular\x20SKILL.md\x20file\x20inside\x20the\x20Skill\x20directory.','198LuiFfz','has','project','line','metadata.internal=true\x20Skills\x20cannot\x20be\x20uploaded.','displayName','5854DIEChG','validation','Remove\x20metadata.internal\x20or\x20set\x20it\x20to\x20false\x20before\x20running\x20skill\x20push.','description-required','push','object','hasFrontmatter','Skill\x20validation\x20failed:\x0a','name','21JIHoFL','rabetbase-cli-reference','description','artifact','join','isFile','true','Add\x20SKILL.md\x20at\x20the\x20Skill\x20directory\x20root.','content','file','errors','372CyeMAq','map','\x20Fix:\x20','test','Fix\x20the\x20Skill\x20metadata\x20before\x20running\x20skill\x20push.','utf8','Frontmatter\x20name\x20is\x20missing.','logs','isArray','workspace','data','5450350XmtnxM','trainer','5315321QyzytZ','786712MIxYaC','1733058AvcBUn','app','Missing\x20SKILL.md.'];a55_0x5cb1=function(){return _0x5d2023;};return a55_0x5cb1();}(function(_0x3f6df4,_0x3d098c){const _0x35a2fe=a55_0x5490,_0x48c675=_0x3f6df4();while(!![]){try{const _0x36b286=parseInt(_0x35a2fe(0x1ac))/0x1+-parseInt(_0x35a2fe(0x1e6))/0x2*(parseInt(_0x35a2fe(0x1fa))/0x3)+-parseInt(_0x35a2fe(0x1de))/0x4*(parseInt(_0x35a2fe(0x1dc))/0x5)+parseInt(_0x35a2fe(0x1ad))/0x6*(parseInt(_0x35a2fe(0x1ef))/0x7)+parseInt(_0x35a2fe(0x1cb))/0x8*(parseInt(_0x35a2fe(0x1e0))/0x9)+parseInt(_0x35a2fe(0x1a9))/0xa+-parseInt(_0x35a2fe(0x1ab))/0xb*(parseInt(_0x35a2fe(0x1db))/0xc);if(_0x36b286===_0x3d098c)break;else _0x48c675['push'](_0x48c675['shift']());}catch(_0x448b75){_0x48c675['push'](_0x48c675['shift']());}}}(a55_0x5cb1,0xb4ad6));import{existsSync,lstatSync,readFileSync,realpathSync}from'node:fs';import{resolve}from'node:path';import{parse as a55_0xf302d9}from'yaml';import{CliErrors}from'../../errors.js';import{fileText,scanSkillDirectory}from'../../skills/runtime-skill-sync/local-files.js';const SKILL_FILE=a55_0x2fff73(0x1ba),SUPPORTED_SKILL_TYPES=new Set([a55_0x2fff73(0x1c4),'read',a55_0x2fff73(0x1aa)]),TEXT_SKILL_FILE_PATTERN=/(?:^SKILL\.md$|\.(?:md|mdx|txt|json|ya?ml|js|mjs|cjs|ts|tsx|sh|sql))$/i;export function validateSkillDirectory(_0x3b1081,_0x32d655={}){const _0x5571b7=a55_0x2fff73,_0x12dfd9=resolveSkillDirectoryRoot(_0x3b1081),_0x11a044=[],_0x15432c=loadRequiredSkillFile(_0x12dfd9,_0x11a044),_0x332ba1=_0x15432c?parseFrontmatter(_0x15432c[_0x5571b7(0x1f7)]):{'hasFrontmatter':![]};_0x15432c&&validateFrontmatter(_0x15432c[_0x5571b7(0x1cc)],_0x332ba1,_0x11a044);validateRuntimeCliReferences(_0x12dfd9,_0x11a044);const _0x197ad6=_0x11a044[_0x5571b7(0x1c8)](_0x27ad1b=>_0x27ad1b[_0x5571b7(0x1c2)]===_0x5571b7(0x1b9)),_0x5490a7=_0x11a044['filter'](_0x14ad1d=>_0x14ad1d['level']===_0x5571b7(0x1b2));return{'ok':_0x197ad6[_0x5571b7(0x1d9)]===0x0,'dir':_0x12dfd9,'type':_0x332ba1['type'],'errors':_0x197ad6,'warnings':_0x5490a7};}function resolveSkillDirectoryRoot(_0x3bab5b){const _0x486b65=a55_0x2fff73,_0x5eb347=resolve(_0x3bab5b);if(!existsSync(_0x5eb347))throw CliErrors[_0x486b65(0x1e7)](_0x486b65(0x1d5)+_0x3bab5b);const _0x26ad73=lstatSync(_0x5eb347);if(_0x26ad73['isDirectory']())return _0x5eb347;if(_0x26ad73[_0x486b65(0x1d6)]()){const _0xdca0c8=realpathSync(_0x5eb347);if(lstatSync(_0xdca0c8)[_0x486b65(0x1cf)]())return _0xdca0c8;}throw CliErrors[_0x486b65(0x1e7)]('Skill\x20directory\x20not\x20found:\x20'+_0x3bab5b);}export function throwIfSkillValidationFailed(_0x5a4f20,_0x28b5bd=![]){const _0x1ab3c5=a55_0x2fff73;if(_0x5a4f20['ok'])return;const _0x7e271e=_0x5a4f20[_0x1ab3c5(0x1f9)][_0x1ab3c5(0x1fb)](_0x2c77c5=>{const _0x388fcf=_0x1ab3c5,_0x53c6c2=_0x2c77c5[_0x388fcf(0x1be)]?'#'+_0x2c77c5[_0x388fcf(0x1be)]:'';return _0x2c77c5['level']['toUpperCase']()+'\x20'+_0x2c77c5['ruleId']+'\x20'+_0x2c77c5[_0x388fcf(0x1f8)]+_0x53c6c2+':\x20'+_0x2c77c5[_0x388fcf(0x1b0)]+_0x388fcf(0x1fc)+_0x2c77c5[_0x388fcf(0x1bb)];});throw CliErrors[_0x1ab3c5(0x1e7)](_0x1ab3c5(0x1ed)+_0x7e271e[_0x1ab3c5(0x1f3)]('\x0a'),_0x1ab3c5(0x1fe));}function a55_0x5490(_0x4c17f1,_0x16aa96){_0x4c17f1=_0x4c17f1-0x1a5;const _0x5cb143=a55_0x5cb1();let _0x5490d3=_0x5cb143[_0x4c17f1];return _0x5490d3;}function loadRequiredSkillFile(_0x2580a9,_0x213ee3){const _0x5054f6=a55_0x2fff73,_0x3f2aaa=resolve(_0x2580a9,SKILL_FILE);if(!existsSync(_0x3f2aaa))return _0x213ee3[_0x5054f6(0x1ea)](issue(_0x5054f6(0x1b9),_0x5054f6(0x1c6),SKILL_FILE,_0x5054f6(0x1af),_0x5054f6(0x1f6))),undefined;const _0xd2e301=lstatSync(_0x3f2aaa);if(_0xd2e301[_0x5054f6(0x1d6)]())return _0x213ee3[_0x5054f6(0x1ea)](issue(_0x5054f6(0x1b9),_0x5054f6(0x1c6),SKILL_FILE,'SKILL.md\x20must\x20be\x20a\x20regular\x20file.',_0x5054f6(0x1df))),undefined;if(!_0xd2e301[_0x5054f6(0x1f4)]())return _0x213ee3[_0x5054f6(0x1ea)](issue(_0x5054f6(0x1b9),_0x5054f6(0x1c6),SKILL_FILE,_0x5054f6(0x1b1),_0x5054f6(0x1d0))),undefined;return{'path':SKILL_FILE,'content':readFileSync(_0x3f2aaa,_0x5054f6(0x1ff))};}function validateFrontmatter(_0x1940ca,_0x30f275,_0x42dd39){const _0x3df342=a55_0x2fff73;if(!_0x30f275[_0x3df342(0x1ec)]){_0x42dd39[_0x3df342(0x1ea)](issue('error',_0x3df342(0x1ce),_0x1940ca,'SKILL.md\x20must\x20start\x20with\x20frontmatter.',_0x3df342(0x1da)));return;}!_0x30f275[_0x3df342(0x1ee)]?.['trim']()&&_0x42dd39[_0x3df342(0x1ea)](issue(_0x3df342(0x1b9),_0x3df342(0x1ce),_0x1940ca,_0x3df342(0x200),'Set\x20name\x20to\x20the\x20Skill\x20directory\x20code.')),!_0x30f275[_0x3df342(0x1e5)]?.[_0x3df342(0x1c9)]()&&_0x42dd39[_0x3df342(0x1ea)](issue(_0x3df342(0x1b2),_0x3df342(0x1b7),_0x1940ca,_0x3df342(0x1bc),'Set\x20displayName\x20to\x20the\x20human-readable\x20Skill\x20name\x20shown\x20in\x20SkillHub.')),!_0x30f275['description']?.[_0x3df342(0x1c9)]()&&_0x42dd39[_0x3df342(0x1ea)](issue(_0x3df342(0x1b9),_0x3df342(0x1e9),_0x1940ca,_0x3df342(0x1d2),_0x3df342(0x1d7))),_0x30f275['internal']===!![]&&_0x42dd39[_0x3df342(0x1ea)](issue('error',_0x3df342(0x1ca),_0x1940ca,_0x3df342(0x1e4),_0x3df342(0x1e8))),_0x30f275[_0x3df342(0x1cd)]?.[_0x3df342(0x1c9)]()&&!SUPPORTED_SKILL_TYPES[_0x3df342(0x1e1)](_0x30f275['type'])&&_0x42dd39[_0x3df342(0x1ea)](issue(_0x3df342(0x1b9),_0x3df342(0x1ce),_0x1940ca,_0x3df342(0x1d8),_0x3df342(0x1c3)));}function validateRuntimeCliReferences(_0x17736d,_0x53da1c){const _0x26944c=a55_0x2fff73;for(const _0x5a8d84 of findRabetbaseCliInvocations(_0x17736d)){_0x53da1c['push'](issue(_0x26944c(0x1b2),_0x26944c(0x1f0),_0x5a8d84[_0x26944c(0x1f8)],_0x26944c(0x1d4),'If\x20this\x20is\x20a\x20runtime\x20step,\x20replace\x20it\x20with\x20the\x20equivalent\x20lovrabet\x20command.\x20Dev-time\x20discovery\x20or\x20handoff\x20notes\x20can\x20stay.','L'+_0x5a8d84[_0x26944c(0x1e3)]));}}function findRabetbaseCliInvocations(_0xa65c32){const _0x59bb51=a55_0x2fff73;return scanSkillDirectory(_0xa65c32)[_0x59bb51(0x1c8)](_0xf03c50=>TEXT_SKILL_FILE_PATTERN[_0x59bb51(0x1fd)](_0xf03c50[_0x59bb51(0x1cc)]))['flatMap'](_0x18ea33=>{const _0xfc0523=_0x59bb51,_0x42513a=fileText(_0x18ea33);return _0x42513a[_0xfc0523(0x1b6)](/\r?\n/)['map']((_0x4b4e69,_0x5700da)=>({'file':_0x18ea33['path'],'line':_0x5700da+0x1,'text':_0x4b4e69}))[_0xfc0523(0x1c8)](({text:_0x20966f})=>isRabetbaseCliInvocation(_0x20966f))[_0xfc0523(0x1fb)](({file:_0x35f515,line:_0x2867f6})=>({'file':_0x35f515,'line':_0x2867f6}));});}const RABETBASE_SUBCOMMANDS=[a55_0x2fff73(0x1b8),'sql',a55_0x2fff73(0x1c1),'page',a55_0x2fff73(0x1e2),a55_0x2fff73(0x1ae),a55_0x2fff73(0x1bd),a55_0x2fff73(0x1c5),a55_0x2fff73(0x1f2),'kb',a55_0x2fff73(0x1b4),a55_0x2fff73(0x1a7),a55_0x2fff73(0x1a8),a55_0x2fff73(0x1bf),a55_0x2fff73(0x1a5),'registry'],RABETBASE_INVOCATION=new RegExp(String['raw']`\brabetbase\s+(?:${RABETBASE_SUBCOMMANDS[a55_0x2fff73(0x1f3)]('|')})\b`+String[a55_0x2fff73(0x1b3)]`(?:\s+[a-z][\w-]*){0,2}\s+(?:--?[a-z]|[\w.-]+=)`,'i');function isRabetbaseCliInvocation(_0x16d49f){const _0x22eb0c=a55_0x2fff73,_0x539894=_0x16d49f[_0x22eb0c(0x1d1)](/\brabetbase\b/i);if(_0x539894<0x0)return![];const _0x5bc36b=_0x16d49f['slice'](_0x539894)['split'](/\blovrabet\b/i)[0x0]??'';return RABETBASE_INVOCATION[_0x22eb0c(0x1fd)](_0x5bc36b);}function parseFrontmatter(_0x3a2acc){const _0x2cf25f=a55_0x2fff73,_0x266481=_0x3a2acc[_0x2cf25f(0x1c7)](/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!_0x266481)return{'hasFrontmatter':![]};const _0x408956=_0x266481[0x1]??'',_0x1af03c={'hasFrontmatter':!![]};let _0x9045e5;try{_0x9045e5=a55_0xf302d9(_0x408956);}catch{return _0x1af03c;}const _0x336bc6=asRecord(_0x9045e5);if(!_0x336bc6)return _0x1af03c;_0x1af03c[_0x2cf25f(0x1ee)]=scalarToString(_0x336bc6[_0x2cf25f(0x1ee)]),_0x1af03c[_0x2cf25f(0x1e5)]=scalarToString(_0x336bc6[_0x2cf25f(0x1e5)]),_0x1af03c[_0x2cf25f(0x1f1)]=scalarToString(_0x336bc6[_0x2cf25f(0x1f1)]);const _0x381c86=asRecord(_0x336bc6['metadata']);return _0x381c86&&(_0x1af03c[_0x2cf25f(0x1cd)]=scalarToString(_0x381c86['type']),_0x1af03c[_0x2cf25f(0x1d3)]=scalarToBoolean(_0x381c86[_0x2cf25f(0x1d3)])),_0x1af03c;}function asRecord(_0x56a0f1){const _0x508dd3=a55_0x2fff73;if(_0x56a0f1&&typeof _0x56a0f1===_0x508dd3(0x1eb)&&!Array[_0x508dd3(0x1a6)](_0x56a0f1))return _0x56a0f1;return undefined;}function scalarToString(_0x2cbf0f){const _0x175e58=a55_0x2fff73;if(typeof _0x2cbf0f===_0x175e58(0x1b5))return _0x2cbf0f[_0x175e58(0x1c9)]();if(typeof _0x2cbf0f==='number'||typeof _0x2cbf0f===_0x175e58(0x1dd))return String(_0x2cbf0f);return undefined;}function scalarToBoolean(_0x76bf8c){const _0x3cf7d6=a55_0x2fff73;if(typeof _0x76bf8c==='boolean')return _0x76bf8c;if(typeof _0x76bf8c===_0x3cf7d6(0x1b5))return cleanBoolean(_0x76bf8c);return undefined;}function cleanBoolean(_0x4be773){const _0x32c989=a55_0x2fff73,_0x213652=_0x4be773[_0x32c989(0x1c9)]()[_0x32c989(0x1c0)]();if(_0x213652===_0x32c989(0x1f5))return!![];if(_0x213652==='false')return![];return undefined;}function issue(_0xbe7c32,_0x8a0cc,_0xc7ee06,_0x2bbaa9,_0x11f434,_0xdd54b3){return{'level':_0xbe7c32,'ruleId':_0x8a0cc,'file':_0xc7ee06,'section':_0xdd54b3,'message':_0x2bbaa9,'suggestion':_0x11f434};}
1
+ const a55_0x53689a=a55_0x43f7;function a55_0xc7ae(){const _0x409471=['false','utf8','warning','SKILL.md\x20is\x20not\x20a\x20file.','errors','Add\x20frontmatter\x20with\x20name\x20and\x20description.','artifact','1095805hzyJRE','Set\x20name\x20to\x20the\x20Skill\x20directory\x20code.','path','SKILL.md\x20must\x20start\x20with\x20frontmatter.','read','Frontmatter\x20displayName\x20is\x20missing.','\x20Fix:\x20','true','internal','填写模型触发语义:用户在什么场景应使用本\x20Skill、不要使用的边界和关键词。','has','Frontmatter\x20description\x20is\x20empty.','1874547MKvjAk','map','section','type','68LEsggg','isDirectory','error','string','content','raw','462BtHQOo','join','bff','Skill\x20validation\x20failed:\x0a','SKILL.md\x20must\x20be\x20a\x20regular\x20file.','ruleId','trainer','2ReUWxd','Skill\x20directory\x20not\x20found:\x20','Set\x20metadata.type\x20to\x20write,\x20read,\x20or\x20trainer.','split','auth','slice','write','If\x20this\x20is\x20a\x20runtime\x20step,\x20replace\x20it\x20with\x20the\x20equivalent\x20lovrabet\x20command.\x20Dev-time\x20discovery\x20or\x20handoff\x20notes\x20can\x20stay.','project','filter','frontmatter-required','1269220ubIOqr','validation','Missing\x20SKILL.md.','name','Add\x20SKILL.md\x20at\x20the\x20Skill\x20directory\x20root.','Set\x20displayName\x20to\x20the\x20human-readable\x20Skill\x20name\x20shown\x20in\x20SkillHub.','Frontmatter\x20name\x20is\x20missing.','level','Remove\x20metadata.internal\x20or\x20set\x20it\x20to\x20false\x20before\x20running\x20skill\x20push.','2643gjjMfn','message','Replace\x20the\x20symlink\x20with\x20a\x20regular\x20SKILL.md\x20file\x20inside\x20the\x20Skill\x20directory.','hasFrontmatter','file','line','rabetbase-cli-reference','2788313LWExCI','trim','push','displayName','description','flatMap','test','internal-skill','metadata.internal=true\x20Skills\x20cannot\x20be\x20uploaded.','boolean','Add\x20SKILL.md\x20as\x20a\x20regular\x20file\x20at\x20the\x20Skill\x20directory\x20root.','structure-complete','number','service','page','34984oXOmad','workspace','18657LWGkJc','data','isSymbolicLink','toUpperCase','6bVORMX','registry'];a55_0xc7ae=function(){return _0x409471;};return a55_0xc7ae();}(function(_0x150ed7,_0x11cacf){const _0x3f994c=a55_0x43f7,_0x1f33de=_0x150ed7();while(!![]){try{const _0x58ebc2=-parseInt(_0x3f994c(0x1af))/0x1*(parseInt(_0x3f994c(0x183))/0x2)+parseInt(_0x3f994c(0x197))/0x3*(parseInt(_0x3f994c(0x1cc))/0x4)+-parseInt(_0x3f994c(0x1bc))/0x5*(parseInt(_0x3f994c(0x1b3))/0x6)+-parseInt(_0x3f994c(0x17c))/0x7*(-parseInt(_0x3f994c(0x1ad))/0x8)+parseInt(_0x3f994c(0x1c8))/0x9+parseInt(_0x3f994c(0x18e))/0xa+-parseInt(_0x3f994c(0x19e))/0xb;if(_0x58ebc2===_0x11cacf)break;else _0x1f33de['push'](_0x1f33de['shift']());}catch(_0x1aefd1){_0x1f33de['push'](_0x1f33de['shift']());}}}(a55_0xc7ae,0x2402b));import{existsSync,lstatSync,readFileSync,realpathSync}from'node:fs';import{resolve}from'node:path';import{parse as a55_0x229dd7}from'yaml';function a55_0x43f7(_0x2a702b,_0x4bc696){_0x2a702b=_0x2a702b-0x17c;const _0xc7ae20=a55_0xc7ae();let _0x43f785=_0xc7ae20[_0x2a702b];return _0x43f785;}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([a55_0x53689a(0x189),a55_0x53689a(0x1c0),a55_0x53689a(0x182)]),TEXT_SKILL_FILE_PATTERN=/(?:^SKILL\.md$|\.(?:md|mdx|txt|json|ya?ml|js|mjs|cjs|ts|tsx|sh|sql))$/i;export function validateSkillDirectory(_0x179053,_0x4cf29f={}){const _0x2628b4=a55_0x53689a,_0xefd346=resolveSkillDirectoryRoot(_0x179053),_0x38795a=[],_0x8d47a=loadRequiredSkillFile(_0xefd346,_0x38795a),_0x194236=_0x8d47a?parseFrontmatter(_0x8d47a[_0x2628b4(0x1d0)]):{'hasFrontmatter':![]};_0x8d47a&&validateFrontmatter(_0x8d47a[_0x2628b4(0x1be)],_0x194236,_0x38795a);validateRuntimeCliReferences(_0xefd346,_0x38795a);const _0x482c3b=_0x38795a['filter'](_0x5d2d27=>_0x5d2d27[_0x2628b4(0x195)]===_0x2628b4(0x1ce)),_0x347ff3=_0x38795a[_0x2628b4(0x18c)](_0x71eee7=>_0x71eee7[_0x2628b4(0x195)]===_0x2628b4(0x1b7));return{'ok':_0x482c3b['length']===0x0,'dir':_0xefd346,'type':_0x194236[_0x2628b4(0x1cb)],'errors':_0x482c3b,'warnings':_0x347ff3};}function resolveSkillDirectoryRoot(_0x599a13){const _0x29cf6f=a55_0x53689a,_0x137fa6=resolve(_0x599a13);if(!existsSync(_0x137fa6))throw CliErrors[_0x29cf6f(0x18f)](_0x29cf6f(0x184)+_0x599a13);const _0x203930=lstatSync(_0x137fa6);if(_0x203930['isDirectory']())return _0x137fa6;if(_0x203930[_0x29cf6f(0x1b1)]()){const _0x1b3fbe=realpathSync(_0x137fa6);if(lstatSync(_0x1b3fbe)[_0x29cf6f(0x1cd)]())return _0x1b3fbe;}throw CliErrors[_0x29cf6f(0x18f)](_0x29cf6f(0x184)+_0x599a13);}export function throwIfSkillValidationFailed(_0x436e4f,_0x17537e=![]){const _0x6c9a9d=a55_0x53689a;if(_0x436e4f['ok'])return;const _0x2c9aa3=_0x436e4f[_0x6c9a9d(0x1b9)][_0x6c9a9d(0x1c9)](_0x1b2c50=>{const _0x56538b=_0x6c9a9d,_0x54dbd8=_0x1b2c50['section']?'#'+_0x1b2c50[_0x56538b(0x1ca)]:'';return _0x1b2c50[_0x56538b(0x195)][_0x56538b(0x1b2)]()+'\x20'+_0x1b2c50[_0x56538b(0x181)]+'\x20'+_0x1b2c50[_0x56538b(0x19b)]+_0x54dbd8+':\x20'+_0x1b2c50[_0x56538b(0x198)]+_0x56538b(0x1c2)+_0x1b2c50['suggestion'];});throw CliErrors[_0x6c9a9d(0x18f)](_0x6c9a9d(0x17f)+_0x2c9aa3[_0x6c9a9d(0x17d)]('\x0a'),'Fix\x20the\x20Skill\x20metadata\x20before\x20running\x20skill\x20push.');}function loadRequiredSkillFile(_0x5773dc,_0x4f9356){const _0x43d9a6=a55_0x53689a,_0x4a7af2=resolve(_0x5773dc,SKILL_FILE);if(!existsSync(_0x4a7af2))return _0x4f9356[_0x43d9a6(0x1a0)](issue(_0x43d9a6(0x1ce),_0x43d9a6(0x1a9),SKILL_FILE,_0x43d9a6(0x190),_0x43d9a6(0x192))),undefined;const _0x4b8a1f=lstatSync(_0x4a7af2);if(_0x4b8a1f[_0x43d9a6(0x1b1)]())return _0x4f9356[_0x43d9a6(0x1a0)](issue(_0x43d9a6(0x1ce),_0x43d9a6(0x1a9),SKILL_FILE,_0x43d9a6(0x180),_0x43d9a6(0x199))),undefined;if(!_0x4b8a1f['isFile']())return _0x4f9356[_0x43d9a6(0x1a0)](issue(_0x43d9a6(0x1ce),_0x43d9a6(0x1a9),SKILL_FILE,_0x43d9a6(0x1b8),_0x43d9a6(0x1a8))),undefined;return{'path':SKILL_FILE,'content':readFileSync(_0x4a7af2,_0x43d9a6(0x1b6))};}function validateFrontmatter(_0xed167b,_0x5cf69c,_0x4e89a2){const _0x2545aa=a55_0x53689a;if(!_0x5cf69c[_0x2545aa(0x19a)]){_0x4e89a2[_0x2545aa(0x1a0)](issue(_0x2545aa(0x1ce),'frontmatter-required',_0xed167b,_0x2545aa(0x1bf),_0x2545aa(0x1ba)));return;}!_0x5cf69c[_0x2545aa(0x191)]?.[_0x2545aa(0x19f)]()&&_0x4e89a2[_0x2545aa(0x1a0)](issue(_0x2545aa(0x1ce),'frontmatter-required',_0xed167b,_0x2545aa(0x194),_0x2545aa(0x1bd))),!_0x5cf69c[_0x2545aa(0x1a1)]?.[_0x2545aa(0x19f)]()&&_0x4e89a2[_0x2545aa(0x1a0)](issue(_0x2545aa(0x1b7),'display-name-recommended',_0xed167b,_0x2545aa(0x1c1),_0x2545aa(0x193))),!_0x5cf69c['description']?.[_0x2545aa(0x19f)]()&&_0x4e89a2['push'](issue('error','description-required',_0xed167b,_0x2545aa(0x1c7),_0x2545aa(0x1c5))),_0x5cf69c['internal']===!![]&&_0x4e89a2['push'](issue(_0x2545aa(0x1ce),_0x2545aa(0x1a5),_0xed167b,_0x2545aa(0x1a6),_0x2545aa(0x196))),_0x5cf69c[_0x2545aa(0x1cb)]?.[_0x2545aa(0x19f)]()&&!SUPPORTED_SKILL_TYPES[_0x2545aa(0x1c6)](_0x5cf69c[_0x2545aa(0x1cb)])&&_0x4e89a2[_0x2545aa(0x1a0)](issue(_0x2545aa(0x1ce),_0x2545aa(0x18d),_0xed167b,'metadata.type\x20must\x20be\x20one\x20of\x20write,\x20read,\x20or\x20trainer.',_0x2545aa(0x185)));}function validateRuntimeCliReferences(_0x3a0250,_0x21f025){const _0x23ef40=a55_0x53689a;for(const _0x4a425e of findRabetbaseCliInvocations(_0x3a0250)){_0x21f025[_0x23ef40(0x1a0)](issue(_0x23ef40(0x1b7),_0x23ef40(0x19d),_0x4a425e['file'],'This\x20line\x20invokes\x20the\x20rabetbase\x20CLI.\x20rabetbase\x20is\x20a\x20dev-time\x20tool;\x20runtime\x20Skills\x20should\x20drive\x20runtime\x20work\x20through\x20lovrabet\x20commands.',_0x23ef40(0x18a),'L'+_0x4a425e[_0x23ef40(0x19c)]));}}function findRabetbaseCliInvocations(_0x589120){const _0x50c923=a55_0x53689a;return scanSkillDirectory(_0x589120)[_0x50c923(0x18c)](_0x334653=>TEXT_SKILL_FILE_PATTERN['test'](_0x334653[_0x50c923(0x1be)]))[_0x50c923(0x1a3)](_0x4c4f53=>{const _0x32bdd4=_0x50c923,_0x4fe8df=fileText(_0x4c4f53);return _0x4fe8df['split'](/\r?\n/)[_0x32bdd4(0x1c9)]((_0x5148cf,_0x1404a2)=>({'file':_0x4c4f53['path'],'line':_0x1404a2+0x1,'text':_0x5148cf}))['filter'](({text:_0x58dbbb})=>isRabetbaseCliInvocation(_0x58dbbb))[_0x32bdd4(0x1c9)](({file:_0x54c029,line:_0x23b095})=>({'file':_0x54c029,'line':_0x23b095}));});}const RABETBASE_SUBCOMMANDS=['dataset','sql',a55_0x53689a(0x17e),a55_0x53689a(0x1ac),a55_0x53689a(0x18b),'app','schema',a55_0x53689a(0x1ab),a55_0x53689a(0x1bb),'kb','config',a55_0x53689a(0x1ae),a55_0x53689a(0x1b0),a55_0x53689a(0x187),'logs',a55_0x53689a(0x1b4)],RABETBASE_INVOCATION=new RegExp(String[a55_0x53689a(0x1d1)]`\brabetbase\s+(?:${RABETBASE_SUBCOMMANDS[a55_0x53689a(0x17d)]('|')})\b`+String[a55_0x53689a(0x1d1)]`(?:\s+[a-z][\w-]*){0,2}\s+(?:--?[a-z]|[\w.-]+=)`,'i');function isRabetbaseCliInvocation(_0x4e8221){const _0x23c505=a55_0x53689a,_0x1ca26a=_0x4e8221['search'](/\brabetbase\b/i);if(_0x1ca26a<0x0)return![];const _0x2c5651=_0x4e8221[_0x23c505(0x188)](_0x1ca26a)[_0x23c505(0x186)](/\blovrabet\b/i)[0x0]??'';return RABETBASE_INVOCATION[_0x23c505(0x1a4)](_0x2c5651);}function parseFrontmatter(_0x2ff52b){const _0x146161=a55_0x53689a,_0x33200f=_0x2ff52b['match'](/^---\r?\n([\s\S]*?)\r?\n---(?:\r?\n|$)/);if(!_0x33200f)return{'hasFrontmatter':![]};const _0x3964ec=_0x33200f[0x1]??'',_0x553b45={'hasFrontmatter':!![]};let _0x24fdcd;try{_0x24fdcd=a55_0x229dd7(_0x3964ec);}catch{return _0x553b45;}const _0x32b4d4=asRecord(_0x24fdcd);if(!_0x32b4d4)return _0x553b45;_0x553b45['name']=scalarToString(_0x32b4d4['name']),_0x553b45[_0x146161(0x1a1)]=scalarToString(_0x32b4d4['displayName']),_0x553b45['description']=scalarToString(_0x32b4d4[_0x146161(0x1a2)]);const _0x223c23=asRecord(_0x32b4d4['metadata']);return _0x223c23&&(_0x553b45[_0x146161(0x1cb)]=scalarToString(_0x223c23[_0x146161(0x1cb)]),_0x553b45[_0x146161(0x1c4)]=scalarToBoolean(_0x223c23['internal'])),_0x553b45;}function asRecord(_0x518293){if(_0x518293&&typeof _0x518293==='object'&&!Array['isArray'](_0x518293))return _0x518293;return undefined;}function scalarToString(_0x9d897f){const _0x3eb597=a55_0x53689a;if(typeof _0x9d897f===_0x3eb597(0x1cf))return _0x9d897f[_0x3eb597(0x19f)]();if(typeof _0x9d897f===_0x3eb597(0x1aa)||typeof _0x9d897f==='boolean')return String(_0x9d897f);return undefined;}function scalarToBoolean(_0x563237){const _0x556698=a55_0x53689a;if(typeof _0x563237===_0x556698(0x1a7))return _0x563237;if(typeof _0x563237===_0x556698(0x1cf))return cleanBoolean(_0x563237);return undefined;}function cleanBoolean(_0x514f9d){const _0x13e40f=a55_0x53689a,_0x136120=_0x514f9d[_0x13e40f(0x19f)]()['toLowerCase']();if(_0x136120===_0x13e40f(0x1c3))return!![];if(_0x136120===_0x13e40f(0x1b5))return![];return undefined;}function issue(_0x1e5dbe,_0x11f6db,_0x4994e6,_0x1f5605,_0x226aea,_0x8250a){return{'level':_0x1e5dbe,'ruleId':_0x11f6db,'file':_0x4994e6,'section':_0x8250a,'message':_0x1f5605,'suggestion':_0x226aea};}
@@ -1 +1 @@
1
- const a56_0x343675=a56_0x2cb0;(function(_0x597093,_0x3d6e35){const _0x445fce=a56_0x2cb0,_0x528f5b=_0x597093();while(!![]){try{const _0x31abb1=parseInt(_0x445fce(0xa7))/0x1*(parseInt(_0x445fce(0xb7))/0x2)+parseInt(_0x445fce(0xb8))/0x3*(-parseInt(_0x445fce(0xac))/0x4)+-parseInt(_0x445fce(0xb9))/0x5+parseInt(_0x445fce(0xb6))/0x6*(-parseInt(_0x445fce(0xae))/0x7)+-parseInt(_0x445fce(0xb5))/0x8*(-parseInt(_0x445fce(0xa8))/0x9)+parseInt(_0x445fce(0xab))/0xa+parseInt(_0x445fce(0xa9))/0xb;if(_0x31abb1===_0x3d6e35)break;else _0x528f5b['push'](_0x528f5b['shift']());}catch(_0x2cbff7){_0x528f5b['push'](_0x528f5b['shift']());}}}(a56_0x3cc4,0xc689d));import{getSqlQueryInfo}from'../../core/api-client.js';import{getDbName}from'../../core/db-resolver.js';function a56_0x2cb0(_0x1fc417,_0x188474){_0x1fc417=_0x1fc417-0xa5;const _0x3cc4bf=a56_0x3cc4();let _0x2cb0e0=_0x3cc4bf[_0x1fc417];return _0x2cb0e0;}function a56_0x3cc4(){const _0x5eb57c=['1ZRmkGA','13491KrgGQx','8586930RrxNJE','sql','10170900fEOoMb','40ebRMFA','detail','28826IjzlWp','bool','appCode','verbose','sqlName','str','dbId','6672gBbcWN','384uYFQAr','1489522RQLZIV','446601bIWSFi','6136060QgWAbc','read','Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode'];a56_0x3cc4=function(){return _0x5eb57c;};return a56_0x3cc4();}import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const sqlDetail={'service':a56_0x343675(0xaa),'command':a56_0x343675(0xad),'description':a56_0x343675(0xa6),'risk':a56_0x343675(0xa5),'flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x31d494){const _0x24a494=a56_0x343675,_0x50f165=await getSqlQueryInfo(_0x31d494[_0x24a494(0xb0)],_0x31d494[_0x24a494(0xb3)]('sqlcode')),_0x41bcc3=_0x31d494[_0x24a494(0xaf)](_0x24a494(0xb1));if(_0x41bcc3)return{'ok':!![],'data':_0x50f165};const _0x41c751=_0x50f165['dbId']?await getDbName(_0x31d494[_0x24a494(0xb0)],_0x50f165[_0x24a494(0xb4)]):undefined;return{'ok':!![],'data':{'sqlCode':_0x50f165['sqlCode'],'sqlName':_0x50f165[_0x24a494(0xb2)],'db':_0x41c751?_0x41c751+'\x20('+_0x50f165[_0x24a494(0xb4)]+')':_0x50f165[_0x24a494(0xb4)]??'','description':_0x50f165['description']??'','sqlContent':_0x50f165['sqlContent']??''}};}};
1
+ const a56_0x170931=a56_0x5566;(function(_0x2114b4,_0x1aa45b){const _0x3ae4b5=a56_0x5566,_0x2bab00=_0x2114b4();while(!![]){try{const _0x4d5934=parseInt(_0x3ae4b5(0x1d5))/0x1*(-parseInt(_0x3ae4b5(0x1ea))/0x2)+-parseInt(_0x3ae4b5(0x1d9))/0x3+parseInt(_0x3ae4b5(0x1d8))/0x4+-parseInt(_0x3ae4b5(0x1d6))/0x5+parseInt(_0x3ae4b5(0x1e4))/0x6*(-parseInt(_0x3ae4b5(0x1e9))/0x7)+parseInt(_0x3ae4b5(0x1e7))/0x8*(parseInt(_0x3ae4b5(0x1e3))/0x9)+-parseInt(_0x3ae4b5(0x1e1))/0xa*(-parseInt(_0x3ae4b5(0x1e8))/0xb);if(_0x4d5934===_0x1aa45b)break;else _0x2bab00['push'](_0x2bab00['shift']());}catch(_0x518f81){_0x2bab00['push'](_0x2bab00['shift']());}}}(a56_0x5b44,0x74952));import{getSqlQueryInfo}from'../../core/api-client.js';function a56_0x5b44(){const _0x5df75d=['36813WQoVUB','9082UDtkVL','sqlName','179iFJlJJ','4584050urdMtg','str','1288464EUyeAx','663213FVGwzT','dbId','Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode','sqlContent','read','bool','appCode','sqlcode','50hdEpLk','detail','9sGjeid','894ETZycl','sql','description','6838896VHuqYQ','4476681tBJxmY'];a56_0x5b44=function(){return _0x5df75d;};return a56_0x5b44();}import{getDbName}from'../../core/db-resolver.js';import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';function a56_0x5566(_0x33c617,_0x3b4fcd){_0x33c617=_0x33c617-0x1d4;const _0x5b4483=a56_0x5b44();let _0x556675=_0x5b4483[_0x33c617];return _0x556675;}export const sqlDetail={'service':a56_0x170931(0x1e5),'command':a56_0x170931(0x1e2),'description':a56_0x170931(0x1db),'risk':a56_0x170931(0x1dd),'flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x865945){const _0x272b33=a56_0x170931,_0x5e91d=await getSqlQueryInfo(_0x865945[_0x272b33(0x1df)],_0x865945[_0x272b33(0x1d7)](_0x272b33(0x1e0))),_0x3d3f6e=_0x865945[_0x272b33(0x1de)]('verbose');if(_0x3d3f6e)return{'ok':!![],'data':_0x5e91d};const _0x434336=_0x5e91d[_0x272b33(0x1da)]?await getDbName(_0x865945[_0x272b33(0x1df)],_0x5e91d[_0x272b33(0x1da)]):undefined;return{'ok':!![],'data':{'sqlCode':_0x5e91d['sqlCode'],'sqlName':_0x5e91d[_0x272b33(0x1d4)],'db':_0x434336?_0x434336+'\x20('+_0x5e91d[_0x272b33(0x1da)]+')':_0x5e91d[_0x272b33(0x1da)]??'','description':_0x5e91d[_0x272b33(0x1e6)]??'','sqlContent':_0x5e91d[_0x272b33(0x1dc)]??''}};}};
@@ -1 +1 @@
1
- const a57_0xcdbbfa=a57_0x302a;(function(_0x452166,_0x3c191d){const _0x47f6ab=a57_0x302a,_0x3ed228=_0x452166();while(!![]){try{const _0x58f474=-parseInt(_0x47f6ab(0xd7))/0x1+parseInt(_0x47f6ab(0xd5))/0x2+parseInt(_0x47f6ab(0xcf))/0x3*(-parseInt(_0x47f6ab(0xc3))/0x4)+parseInt(_0x47f6ab(0xcb))/0x5*(-parseInt(_0x47f6ab(0xd0))/0x6)+parseInt(_0x47f6ab(0xd8))/0x7+parseInt(_0x47f6ab(0xcd))/0x8*(-parseInt(_0x47f6ab(0xc2))/0x9)+parseInt(_0x47f6ab(0xc8))/0xa*(parseInt(_0x47f6ab(0xc1))/0xb);if(_0x58f474===_0x3c191d)break;else _0x3ed228['push'](_0x3ed228['shift']());}catch(_0x14abf3){_0x3ed228['push'](_0x3ed228['shift']());}}}(a57_0x7517,0x4cdce));function a57_0x7517(){const _0x58b8a5=['1159048loEwyh','now','42501UDwImp','298218NKelHL','execSuccess','read','Returned\x20','execError','1117044zoOOIv','exec','366703wufNXP','902153mbMrDd','\x20row(s)\x20in\x20','552255zUZbjb','27acjBbd','164vBSiTs','params','str','SQL\x20execution\x20failed','sql','310SioKWb','length','isArray','55RcCMZu','execResult'];a57_0x7517=function(){return _0x58b8a5;};return a57_0x7517();}import{executeSdkSql}from'../../core/sdk-client.js';import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';import{parseJsonParams}from'../../utils/params.js';function a57_0x302a(_0x244738,_0x15788c){_0x244738=_0x244738-0xc0;const _0x75173=a57_0x7517();let _0x302aec=_0x75173[_0x244738];return _0x302aec;}export const sqlExec={'service':a57_0xcdbbfa(0xc7),'command':a57_0xcdbbfa(0xd6),'description':'Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','risk':a57_0xcdbbfa(0xd2),'flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x4629e8){const _0xe1ec37=a57_0xcdbbfa,_0x1afca3=parseJsonParams(_0x4629e8['str'](_0xe1ec37(0xc4))),_0x58e910=Date[_0xe1ec37(0xce)](),_0x417609=await executeSdkSql(_0x4629e8[_0xe1ec37(0xc5)]('sqlcode'),_0x1afca3),_0x54e87f=Date['now']()-_0x58e910,_0x20409f=_0x417609?.[_0xe1ec37(0xcc)]??_0x417609,_0x3633f5=_0x417609?.[_0xe1ec37(0xd1)]??!![];if(!_0x3633f5)return{'ok':![],'data':{'error':_0x417609?.[_0xe1ec37(0xd4)]||_0xe1ec37(0xc6),'elapsed':_0x54e87f},'message':_0xe1ec37(0xc6)};const _0x39820c=Array[_0xe1ec37(0xca)](_0x20409f)?_0x20409f:[];return{'ok':!![],'data':{'rows':_0x39820c,'rowCount':_0x39820c[_0xe1ec37(0xc9)],'elapsed':_0x54e87f},'message':_0xe1ec37(0xd3)+_0x39820c['length']+_0xe1ec37(0xc0)+_0x54e87f+'ms'};}};
1
+ const a57_0x289d12=a57_0x5b84;(function(_0x4ad79f,_0x25193a){const _0x12daa2=a57_0x5b84,_0x44f74b=_0x4ad79f();while(!![]){try{const _0x1c9edf=parseInt(_0x12daa2(0xa1))/0x1+parseInt(_0x12daa2(0x9d))/0x2+-parseInt(_0x12daa2(0x95))/0x3*(parseInt(_0x12daa2(0xa0))/0x4)+-parseInt(_0x12daa2(0x97))/0x5*(parseInt(_0x12daa2(0x93))/0x6)+-parseInt(_0x12daa2(0x9b))/0x7*(parseInt(_0x12daa2(0x91))/0x8)+-parseInt(_0x12daa2(0x92))/0x9+-parseInt(_0x12daa2(0xa2))/0xa*(-parseInt(_0x12daa2(0x8c))/0xb);if(_0x1c9edf===_0x25193a)break;else _0x44f74b['push'](_0x44f74b['shift']());}catch(_0x2139e4){_0x44f74b['push'](_0x44f74b['shift']());}}}(a57_0x469d,0x52d28));import{executeSdkSql}from'../../core/sdk-client.js';function a57_0x469d(){const _0x2003ac=['\x20row(s)\x20in\x20','1498snGaEc','SQL\x20execution\x20failed','699416VSnoRF','params','execSuccess','278444isCgfP','333670dBNiJK','384010HDPMvi','execResult','execError','231XjKuqg','length','Returned\x20','isArray','sql','12712Huwwuk','4448889TmDpfo','92022wgrSdB','now','9CRhBnI','Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','35VAbVYy','read','str'];a57_0x469d=function(){return _0x2003ac;};return a57_0x469d();}import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';import{parseJsonParams}from'../../utils/params.js';function a57_0x5b84(_0x684f13,_0x18f68e){_0x684f13=_0x684f13-0x8b;const _0x469dce=a57_0x469d();let _0x5b849e=_0x469dce[_0x684f13];return _0x5b849e;}export const sqlExec={'service':a57_0x289d12(0x90),'command':'exec','description':a57_0x289d12(0x96),'risk':a57_0x289d12(0x98),'flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x5bc457){const _0x144cae=a57_0x289d12,_0xee40ae=parseJsonParams(_0x5bc457[_0x144cae(0x99)](_0x144cae(0x9e))),_0x2ce20b=Date[_0x144cae(0x94)](),_0x5ceb91=await executeSdkSql(_0x5bc457['str']('sqlcode'),_0xee40ae),_0x1827de=Date['now']()-_0x2ce20b,_0x2e4f70=_0x5ceb91?.[_0x144cae(0xa3)]??_0x5ceb91,_0x3e36bf=_0x5ceb91?.[_0x144cae(0x9f)]??!![];if(!_0x3e36bf)return{'ok':![],'data':{'error':_0x5ceb91?.[_0x144cae(0x8b)]||_0x144cae(0x9c),'elapsed':_0x1827de},'message':_0x144cae(0x9c)};const _0x3548b1=Array[_0x144cae(0x8f)](_0x2e4f70)?_0x2e4f70:[];return{'ok':!![],'data':{'rows':_0x3548b1,'rowCount':_0x3548b1['length'],'elapsed':_0x1827de},'message':_0x144cae(0x8e)+_0x3548b1[_0x144cae(0x8d)]+_0x144cae(0x9a)+_0x1827de+'ms'};}};
@@ -1 +1 @@
1
- function a58_0x4248(){const _0x470efe=['559578ZBQIkh','279wwXpNT','1808358aAvahh','1489995YmksVB','1280EpKcpx','4077LncwVa','18150VeBFYI','328727irmgMI','7vQkAbi','622912gYBMyi'];a58_0x4248=function(){return _0x470efe;};return a58_0x4248();}(function(_0x3ac797,_0x2d2e4a){const _0x10baae=a58_0x4dd5,_0x18ac59=_0x3ac797();while(!![]){try{const _0x46a435=-parseInt(_0x10baae(0x128))/0x1+parseInt(_0x10baae(0x121))/0x2+-parseInt(_0x10baae(0x122))/0x3*(-parseInt(_0x10baae(0x125))/0x4)+-parseInt(_0x10baae(0x124))/0x5+-parseInt(_0x10baae(0x123))/0x6+parseInt(_0x10baae(0x129))/0x7*(parseInt(_0x10baae(0x120))/0x8)+-parseInt(_0x10baae(0x126))/0x9*(-parseInt(_0x10baae(0x127))/0xa);if(_0x46a435===_0x2d2e4a)break;else _0x18ac59['push'](_0x18ac59['shift']());}catch(_0x203901){_0x18ac59['push'](_0x18ac59['shift']());}}}(a58_0x4248,0x44b91));function a58_0x4dd5(_0xce3fd1,_0x4f8ff2){_0xce3fd1=_0xce3fd1-0x120;const _0x424824=a58_0x4248();let _0x4dd537=_0x424824[_0xce3fd1];return _0x4dd537;}import{sqlDetail}from'../../commands/sql/detail.js';import{sqlExec}from'../../commands/sql/exec.js';export const sqlDefinitions=[sqlDetail,sqlExec];
1
+ function a58_0x38a0(){const _0x2a3f19=['921484xyqGHR','6Lthodn','1679875MgBPDb','2291688CrFrtt','6PKaxFA','340777nrjYoe','307279bPNQFN','978152PCIZFS','14021847UbJwRz'];a58_0x38a0=function(){return _0x2a3f19;};return a58_0x38a0();}(function(_0x19dac9,_0x171192){const _0x1802b7=a58_0x5df0,_0xc9773e=_0x19dac9();while(!![]){try{const _0x1292d2=-parseInt(_0x1802b7(0x8e))/0x1+-parseInt(_0x1802b7(0x89))/0x2+parseInt(_0x1802b7(0x8d))/0x3*(-parseInt(_0x1802b7(0x90))/0x4)+parseInt(_0x1802b7(0x8b))/0x5+parseInt(_0x1802b7(0x8a))/0x6*(-parseInt(_0x1802b7(0x8f))/0x7)+-parseInt(_0x1802b7(0x8c))/0x8+parseInt(_0x1802b7(0x91))/0x9;if(_0x1292d2===_0x171192)break;else _0xc9773e['push'](_0xc9773e['shift']());}catch(_0x419075){_0xc9773e['push'](_0xc9773e['shift']());}}}(a58_0x38a0,0x42a6d));import{sqlDetail}from'../../commands/sql/detail.js';import{sqlExec}from'../../commands/sql/exec.js';function a58_0x5df0(_0x27c5c0,_0x2235ee){_0x27c5c0=_0x27c5c0-0x89;const _0x38a0f7=a58_0x38a0();let _0x5df0c0=_0x38a0f7[_0x27c5c0];return _0x5df0c0;}export const sqlDefinitions=[sqlDetail,sqlExec];
@@ -1 +1 @@
1
- function a59_0x5d52(_0x2271ab,_0x535a57){_0x2271ab=_0x2271ab-0xda;const _0x3f1e35=a59_0x3f1e();let _0x5d52f6=_0x3f1e35[_0x2271ab];return _0x5d52f6;}const a59_0x5d5de1=a59_0x5d52;(function(_0x3e1d3c,_0x586ea6){const _0x482287=a59_0x5d52,_0x4de6a3=_0x3e1d3c();while(!![]){try{const _0x26e70a=parseInt(_0x482287(0xf2))/0x1+-parseInt(_0x482287(0x110))/0x2*(parseInt(_0x482287(0xfc))/0x3)+parseInt(_0x482287(0xf5))/0x4+parseInt(_0x482287(0xe2))/0x5+-parseInt(_0x482287(0x119))/0x6+-parseInt(_0x482287(0xed))/0x7+parseInt(_0x482287(0xe1))/0x8;if(_0x26e70a===_0x586ea6)break;else _0x4de6a3['push'](_0x4de6a3['shift']());}catch(_0x3a3bc9){_0x4de6a3['push'](_0x4de6a3['shift']());}}}(a59_0x3f1e,0x4ab3b));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_0x5d5de1(0x111),'type':a59_0x5d5de1(0xe8),'description':'Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','default':![]},{'name':a59_0x5d5de1(0x112),'type':a59_0x5d5de1(0xe8),'description':a59_0x5d5de1(0x122),'default':![]},{'name':a59_0x5d5de1(0x121),'type':a59_0x5d5de1(0x108),'description':a59_0x5d5de1(0xde)},{'name':'no-skills','type':'boolean','description':a59_0x5d5de1(0xf0),'default':![]},{'name':a59_0x5d5de1(0x104),'type':a59_0x5d5de1(0xe8),'description':'Refresh\x20CLI\x20Built-in\x20Skill\x20after\x20updating','default':!![],'hidden':!![]}];function parseSemver(_0x5aa489){const _0x1e6783=a59_0x5d5de1,_0xf9746d=_0x5aa489['trim']()[_0x1e6783(0xfa)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0xf9746d)return null;return{'major':Number(_0xf9746d[0x1]),'minor':Number(_0xf9746d[0x2]),'patch':Number(_0xf9746d[0x3]),'prerelease':_0xf9746d[0x4]};}function compareSemver(_0xc8885f,_0x3702f7){const _0xc9de9b=a59_0x5d5de1,_0xec7136=parseSemver(_0xc8885f),_0x2ef25b=parseSemver(_0x3702f7);if(!_0xec7136||!_0x2ef25b)throw CliErrors[_0xc9de9b(0xe7)](_0xc9de9b(0xe5),_0xc9de9b(0x116));for(const _0xe4e83e of[_0xc9de9b(0xe6),_0xc9de9b(0xf7),'patch']){if(_0xec7136[_0xe4e83e]<_0x2ef25b[_0xe4e83e])return-0x1;if(_0xec7136[_0xe4e83e]>_0x2ef25b[_0xe4e83e])return 0x1;}if(!_0xec7136[_0xc9de9b(0x117)]&&!_0x2ef25b[_0xc9de9b(0x117)])return 0x0;if(!_0xec7136[_0xc9de9b(0x117)])return 0x1;if(!_0x2ef25b['prerelease'])return-0x1;if(_0xec7136[_0xc9de9b(0x117)]===_0x2ef25b['prerelease'])return 0x0;return _0xec7136[_0xc9de9b(0x117)]<_0x2ef25b['prerelease']?-0x1:0x1;}function getRequestedVersion(_0x534e5b){const _0x5961d2=a59_0x5d5de1,_0x3ac9fa=_0x534e5b[_0x5961d2(0x109)](_0x5961d2(0x121))[_0x5961d2(0xda)]();if(_0x3ac9fa)return _0x3ac9fa;return String(_0x534e5b['args']?.[0x0]??'')[_0x5961d2(0xda)]();}function shouldSkipCliBuiltInSkill(_0x23fee9){const _0x3654f1=a59_0x5d5de1;return _0x23fee9[_0x3654f1(0x105)]('no-skills')||_0x23fee9[_0x3654f1(0xeb)](_0x3654f1(0x104))===![];}async function validateUpdateFlags(_0x5698f4){const _0x7436a3=a59_0x5d5de1,_0x528821=getRequestedVersion(_0x5698f4),_0x95ea86=[_0x5698f4['bool']('latest')?'latest':'',_0x5698f4[_0x7436a3(0x105)]('beta')?'beta':'',_0x528821?_0x7436a3(0x121):'']['filter'](Boolean);if(_0x95ea86[_0x7436a3(0xfb)]>0x1)throw CliErrors[_0x7436a3(0xe7)](_0x7436a3(0x11a),_0x7436a3(0xe9));if(_0x528821&&!parseSemver(_0x528821))throw CliErrors[_0x7436a3(0xe7)](_0x7436a3(0xf3)+_0x528821,_0x7436a3(0x126));}async function fetchNpmDistTags(){const _0x58d612=a59_0x5d5de1;try{const _0x165371=NPM_REGISTRY_BASE_URL+_0x58d612(0xee)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x58d612(0xea),_0xe3205d=await fetch(_0x165371,{'signal':AbortSignal['timeout'](0x2710)});if(!_0xe3205d['ok'])return null;const _0x57882b=await _0xe3205d[_0x58d612(0x100)]();if(!_0x57882b||typeof _0x57882b!==_0x58d612(0xdd))return null;return Object['fromEntries'](Object[_0x58d612(0x102)](_0x57882b)[_0x58d612(0x103)](([,_0x120bb6])=>typeof _0x120bb6==='string'&&_0x120bb6[_0x58d612(0xda)]())[_0x58d612(0xe3)](([_0x118461,_0x14ef2d])=>[_0x118461,String(_0x14ef2d)['trim']()]));}catch{return null;}}async function resolveTargetVersion(_0x4fa696){const _0xe2dfa7=a59_0x5d5de1,_0x3265=getRequestedVersion(_0x4fa696);if(_0x3265)return{'version':_0x3265,'source':_0xe2dfa7(0x121)};const _0x2d8d9f=_0x4fa696[_0xe2dfa7(0x105)]('beta')?'beta':_0xe2dfa7(0x111),_0x5aa128=await fetchNpmDistTags(),_0x1fede1=_0x5aa128?.[_0x2d8d9f];if(!_0x1fede1)return null;return{'version':_0x1fede1,'source':_0x2d8d9f};}function shouldInstallTarget(_0x3bc046,_0x8c78ef){const _0x1390ea=a59_0x5d5de1,_0x201da6=compareSemver(_0x3bc046,_0x8c78ef[_0x1390ea(0x121)]);if(_0x8c78ef[_0x1390ea(0x118)]==='version')return _0x201da6!==0x0;return _0x201da6<0x0;}function installCliPackage(_0x40ce33,_0x4f642d){const _0x5bf890=a59_0x5d5de1,_0x236631=resolveNpmBin(_0x5bf890(0x106)),_0x59fcaa=[_0x5bf890(0xfe),'-g',LOVRABET_NPM_PACKAGE_NAME+'@'+_0x40ce33];console[_0x5bf890(0x11c)]('*\x20'+[_0x236631,..._0x59fcaa][_0x5bf890(0x115)]('\x20'));const _0xe09f8=spawnSync(_0x236631,_0x59fcaa,{'cwd':process[_0x5bf890(0x124)](),'stdio':_0x4f642d?'pipe':_0x5bf890(0x10b),'env':process.env,'shell':![]});if(_0xe09f8[_0x5bf890(0x120)]===0x0)return{'ok':!![]};let _0xc736bd=_0xe09f8[_0x5bf890(0x123)]?.[_0x5bf890(0xef)]||_0x5bf890(0x113)+(_0xe09f8[_0x5bf890(0x120)]??'unknown');if(_0x4f642d){const _0x1036b9=_0xe09f8[_0x5bf890(0x125)]?_0xe09f8[_0x5bf890(0x125)]['toString']()['trim']():'',_0x11a287=_0xe09f8[_0x5bf890(0x107)]?_0xe09f8[_0x5bf890(0x107)][_0x5bf890(0x10f)]()['trim']():'';if(_0x1036b9)_0xc736bd=_0x1036b9;else{if(_0x11a287)_0xc736bd=_0x11a287;}}return{'ok':![],'error':_0xc736bd};}function a59_0x3f1e(){const _0xfeff=['exit\x20','warn','join','Use\x20full\x20semver\x20versions\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','prerelease','source','805998CNGEJI','--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.','\x20version\x20from\x20npm.','log','Update\x20failed:\x20','Update\x20','\x20\x20Skipped\x20CLI\x20Built-in\x20Skill\x20install\x20(','status','version','Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','error','cwd','stderr','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','trim','=1).','\x20->\x20','object','Install\x20a\x20specific\x20CLI\x20version','\x20\x20Run\x20manually:\x20lovrabet\x20cli-skill\x20install','update','3462648sHgcqg','1756690WUHvCv','map','nonInteractive','Version\x20comparison\x20failed.','major','validation','boolean','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.','/dist-tags','flag','Unable\x20to\x20resolve\x20','4195828YbbwXZ','/-/package/','message','Skip\x20CLI\x20Built-in\x20Skill\x20refresh\x20after\x20updating','skipped','542766vmqwkL','Invalid\x20version:\x20','\x20\x20Run\x20manually:\x20npm\x20install\x20-g\x20','438524wDoseC','\x20\x20CLI\x20Built-in\x20Skill\x20update\x20failed:\x20','minor','pipe','\x20\x20Try\x20manually:\x20npm\x20install\x20-g\x20','match','length','6qMmvxt','Skipping\x20CLI\x20Built-in\x20Skill\x20refresh\x20(--no-skills).','install','write','json','Already\x20up\x20to\x20date\x20(v','entries','filter','skills','bool','npm','stdout','string','str','Current\x20version:\x20','inherit','Updated\x20to\x20v','Checking\x20CLI\x20Built-in\x20Skill...','Checking\x20npm\x20dist-tags...','toString','396850ViCFEk','latest','beta'];a59_0x3f1e=function(){return _0xfeff;};return a59_0x3f1e();}async function installCliBuiltInSkill(_0x245739){const _0x1e573c=a59_0x5d5de1;console[_0x1e573c(0x11c)](_0x1e573c(0x10d));const _0x67b5ed=runNpxSkillsAddGlobal(process['cwd'](),LOVRABET_SKILL_SOURCE,{'stdio':_0x245739?_0x1e573c(0xf8):_0x1e573c(0x10b)});if(_0x67b5ed[_0x1e573c(0xf1)]){console[_0x1e573c(0x11c)](_0x1e573c(0x11f)+LOVRABET_SKIP_NPX_SKILLS_ENV+_0x1e573c(0xdb));return;}if(_0x67b5ed['ok']){console[_0x1e573c(0x11c)]('\x20\x20CLI\x20Built-in\x20Skill\x20is\x20up\x20to\x20date.');return;}console[_0x1e573c(0x114)](_0x1e573c(0xf6)+(_0x67b5ed[_0x1e573c(0x123)]||'unknown')),console[_0x1e573c(0x11c)](_0x1e573c(0xdf));}async function execute(_0x1fd4eb){const _0x58c1cc=a59_0x5d5de1;await validateUpdateFlags(_0x1fd4eb);const _0x25a11e=getCliVersion();console[_0x58c1cc(0x11c)](_0x58c1cc(0x10a)+_0x25a11e),console[_0x58c1cc(0x11c)](_0x58c1cc(0x10e));const _0x3178b3=await resolveTargetVersion(_0x1fd4eb);if(!_0x3178b3){const _0x319669=_0x1fd4eb[_0x58c1cc(0x105)](_0x58c1cc(0x112))?'beta':'latest',_0x2bbe08=_0x58c1cc(0xec)+_0x319669+_0x58c1cc(0x11b);return console[_0x58c1cc(0x114)](_0x2bbe08),console[_0x58c1cc(0x11c)](_0x58c1cc(0xf4)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x319669),{'ok':![]};}if(!shouldInstallTarget(_0x25a11e,_0x3178b3)){const _0x39f4bd=_0x3178b3[_0x58c1cc(0x118)]===_0x58c1cc(0x121)?'Already\x20on\x20requested\x20version\x20(v'+_0x3178b3[_0x58c1cc(0x121)]+').':_0x58c1cc(0x101)+_0x3178b3[_0x58c1cc(0x121)]+').';return console[_0x58c1cc(0x11c)](_0x39f4bd),shouldSkipCliBuiltInSkill(_0x1fd4eb)?console['log'](_0x58c1cc(0xfd)):await installCliBuiltInSkill(_0x1fd4eb[_0x58c1cc(0xe4)]),{'ok':!![]};}console['log']('Updating\x20'+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x25a11e+_0x58c1cc(0xdc)+_0x3178b3[_0x58c1cc(0x121)]);const _0xf3e551=installCliPackage(_0x3178b3[_0x58c1cc(0x121)],_0x1fd4eb[_0x58c1cc(0xe4)]);if(!_0xf3e551['ok']){const _0x69e88c=_0x58c1cc(0x11d)+(_0xf3e551['error']||'unknown');return console[_0x58c1cc(0x123)](_0x69e88c),console[_0x58c1cc(0x11c)](_0x58c1cc(0xf9)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x3178b3[_0x58c1cc(0x121)]),{'ok':![]};}return console[_0x58c1cc(0x11c)](_0x58c1cc(0x10c)+_0x3178b3[_0x58c1cc(0x121)]+'.'),console[_0x58c1cc(0x11c)]('\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.'),shouldSkipCliBuiltInSkill(_0x1fd4eb)?console[_0x58c1cc(0x11c)](_0x58c1cc(0xfd)):await installCliBuiltInSkill(_0x1fd4eb[_0x58c1cc(0xe4)]),{'ok':!![]};}export const updateDefinition={'service':a59_0x5d5de1(0xe0),'command':'run','description':a59_0x5d5de1(0x11e)+CLI_BIN_NAME+'\x20CLI\x20from\x20npm','risk':a59_0x5d5de1(0xff),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
1
+ const a59_0x4bad35=a59_0x61c7;(function(_0xa96265,_0x4528af){const _0x587735=a59_0x61c7,_0x41f04e=_0xa96265();while(!![]){try{const _0xdcdb46=parseInt(_0x587735(0x1f8))/0x1*(parseInt(_0x587735(0x20c))/0x2)+parseInt(_0x587735(0x206))/0x3*(-parseInt(_0x587735(0x1db))/0x4)+-parseInt(_0x587735(0x207))/0x5*(parseInt(_0x587735(0x208))/0x6)+-parseInt(_0x587735(0x1ff))/0x7*(-parseInt(_0x587735(0x1c6))/0x8)+parseInt(_0x587735(0x1c4))/0x9*(parseInt(_0x587735(0x1dd))/0xa)+-parseInt(_0x587735(0x1c0))/0xb+parseInt(_0x587735(0x1be))/0xc*(parseInt(_0x587735(0x1e2))/0xd);if(_0xdcdb46===_0x4528af)break;else _0x41f04e['push'](_0x41f04e['shift']());}catch(_0x4b183d){_0x41f04e['push'](_0x41f04e['shift']());}}}(a59_0x4c57,0x37be1));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 a59_0x61c7(_0x2cfe7f,_0x46535d){_0x2cfe7f=_0x2cfe7f-0x1ba;const _0x4c5782=a59_0x4c57();let _0x61c711=_0x4c5782[_0x2cfe7f];return _0x61c711;}import{getCliVersion}from'../utils/version.js';import{LOVRABET_SKIP_NPX_SKILLS_ENV,runNpxSkillsAddGlobal}from'../skills/npx-skills-add.js';const updateFlags=[{'name':'latest','type':a59_0x4bad35(0x1d6),'description':a59_0x4bad35(0x1cb),'default':![]},{'name':a59_0x4bad35(0x1df),'type':a59_0x4bad35(0x1d6),'description':a59_0x4bad35(0x1fb),'default':![]},{'name':a59_0x4bad35(0x1cf),'type':a59_0x4bad35(0x1ec),'description':a59_0x4bad35(0x1e9)},{'name':a59_0x4bad35(0x1f3),'type':'boolean','description':a59_0x4bad35(0x1e3),'default':![]},{'name':a59_0x4bad35(0x1f7),'type':a59_0x4bad35(0x1d6),'description':a59_0x4bad35(0x1e5),'default':!![],'hidden':!![]}];function parseSemver(_0x2c6408){const _0x671f6a=a59_0x4bad35,_0x3653a4=_0x2c6408['trim']()[_0x671f6a(0x20d)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x3653a4)return null;return{'major':Number(_0x3653a4[0x1]),'minor':Number(_0x3653a4[0x2]),'patch':Number(_0x3653a4[0x3]),'prerelease':_0x3653a4[0x4]};}function compareSemver(_0xbc4b9d,_0x457db2){const _0x5496bb=a59_0x4bad35,_0x53cabf=parseSemver(_0xbc4b9d),_0x1890c0=parseSemver(_0x457db2);if(!_0x53cabf||!_0x1890c0)throw CliErrors[_0x5496bb(0x1d4)](_0x5496bb(0x1c8),'Use\x20full\x20semver\x20versions\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.');for(const _0x42c3b3 of[_0x5496bb(0x1f6),_0x5496bb(0x204),_0x5496bb(0x1dc)]){if(_0x53cabf[_0x42c3b3]<_0x1890c0[_0x42c3b3])return-0x1;if(_0x53cabf[_0x42c3b3]>_0x1890c0[_0x42c3b3])return 0x1;}if(!_0x53cabf['prerelease']&&!_0x1890c0['prerelease'])return 0x0;if(!_0x53cabf[_0x5496bb(0x1c3)])return 0x1;if(!_0x1890c0[_0x5496bb(0x1c3)])return-0x1;if(_0x53cabf['prerelease']===_0x1890c0[_0x5496bb(0x1c3)])return 0x0;return _0x53cabf[_0x5496bb(0x1c3)]<_0x1890c0[_0x5496bb(0x1c3)]?-0x1:0x1;}function getRequestedVersion(_0x4eba22){const _0x25238a=a59_0x4bad35,_0x211355=_0x4eba22['str'](_0x25238a(0x1cf))[_0x25238a(0x1ce)]();if(_0x211355)return _0x211355;return String(_0x4eba22[_0x25238a(0x200)]?.[0x0]??'')[_0x25238a(0x1ce)]();}function a59_0x4c57(){const _0x3034be=['\x20version\x20from\x20npm.','--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.','Update\x20failed:\x20','274490WCytjP','match','status','object','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.','Updating\x20','stdout','12EekHFZ','Skipping\x20CLI\x20Built-in\x20Skill\x20refresh\x20(--no-skills).','4287459OShuQr','json','\x20\x20Run\x20manually:\x20npm\x20install\x20-g\x20','prerelease','468ylYnwR','Checking\x20npm\x20dist-tags...','16ZlraWr','skipped','Version\x20comparison\x20failed.','\x20\x20Skipped\x20CLI\x20Built-in\x20Skill\x20install\x20(','timeout','Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','\x20\x20Try\x20manually:\x20npm\x20install\x20-g\x20','\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.','trim','version','/-/package/','source','join','unknown','validation','cwd','boolean','nonInteractive','\x20\x20CLI\x20Built-in\x20Skill\x20update\x20failed:\x20','fromEntries','Unable\x20to\x20resolve\x20','27604VoUgpE','patch','46270LxChrL','Current\x20version:\x20','beta','run','Updated\x20to\x20v','3435562ScOxBb','Skip\x20CLI\x20Built-in\x20Skill\x20refresh\x20after\x20updating','toString','Refresh\x20CLI\x20Built-in\x20Skill\x20after\x20updating','pipe','Already\x20on\x20requested\x20version\x20(v','\x20\x20CLI\x20Built-in\x20Skill\x20is\x20up\x20to\x20date.','Install\x20a\x20specific\x20CLI\x20version','length','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','string','stderr','flag','message','inherit','filter','bool','no-skills','update','error','major','skills','3vcRNWg','\x20\x20Run\x20manually:\x20lovrabet\x20cli-skill\x20install','latest','Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','write','log','=1).','885801DcQCdd','args','install','exit\x20','entries','minor','warn','171Vkcvjw','5lJhNNO','949512QfWNCQ'];a59_0x4c57=function(){return _0x3034be;};return a59_0x4c57();}function shouldSkipCliBuiltInSkill(_0x3f22a9){const _0x57f6d1=a59_0x4bad35;return _0x3f22a9[_0x57f6d1(0x1f2)](_0x57f6d1(0x1f3))||_0x3f22a9[_0x57f6d1(0x1ee)](_0x57f6d1(0x1f7))===![];}async function validateUpdateFlags(_0x481ecd){const _0x4b1d5e=a59_0x4bad35,_0x2655bf=getRequestedVersion(_0x481ecd),_0x132d9c=[_0x481ecd[_0x4b1d5e(0x1f2)]('latest')?'latest':'',_0x481ecd[_0x4b1d5e(0x1f2)](_0x4b1d5e(0x1df))?'beta':'',_0x2655bf?_0x4b1d5e(0x1cf):''][_0x4b1d5e(0x1f1)](Boolean);if(_0x132d9c[_0x4b1d5e(0x1ea)]>0x1)throw CliErrors[_0x4b1d5e(0x1d4)](_0x4b1d5e(0x20a),_0x4b1d5e(0x1bb));if(_0x2655bf&&!parseSemver(_0x2655bf))throw CliErrors[_0x4b1d5e(0x1d4)]('Invalid\x20version:\x20'+_0x2655bf,_0x4b1d5e(0x1eb));}async function fetchNpmDistTags(){const _0x253520=a59_0x4bad35;try{const _0x412328=NPM_REGISTRY_BASE_URL+_0x253520(0x1d0)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+'/dist-tags',_0x12c791=await fetch(_0x412328,{'signal':AbortSignal[_0x253520(0x1ca)](0x2710)});if(!_0x12c791['ok'])return null;const _0x21a938=await _0x12c791[_0x253520(0x1c1)]();if(!_0x21a938||typeof _0x21a938!==_0x253520(0x1ba))return null;return Object[_0x253520(0x1d9)](Object[_0x253520(0x203)](_0x21a938)[_0x253520(0x1f1)](([,_0x22f4fe])=>typeof _0x22f4fe===_0x253520(0x1ec)&&_0x22f4fe['trim']())['map'](([_0x3b6876,_0x3b8dde])=>[_0x3b6876,String(_0x3b8dde)['trim']()]));}catch{return null;}}async function resolveTargetVersion(_0x1e9a41){const _0x3b9bfb=a59_0x4bad35,_0x455a31=getRequestedVersion(_0x1e9a41);if(_0x455a31)return{'version':_0x455a31,'source':_0x3b9bfb(0x1cf)};const _0x2643cb=_0x1e9a41[_0x3b9bfb(0x1f2)](_0x3b9bfb(0x1df))?'beta':_0x3b9bfb(0x1fa),_0x371332=await fetchNpmDistTags(),_0x565ea4=_0x371332?.[_0x2643cb];if(!_0x565ea4)return null;return{'version':_0x565ea4,'source':_0x2643cb};}function shouldInstallTarget(_0x14453f,_0x2e27cc){const _0x1d59b0=a59_0x4bad35,_0x329edc=compareSemver(_0x14453f,_0x2e27cc[_0x1d59b0(0x1cf)]);if(_0x2e27cc[_0x1d59b0(0x1d1)]===_0x1d59b0(0x1cf))return _0x329edc!==0x0;return _0x329edc<0x0;}function installCliPackage(_0x39f326,_0x1ec496){const _0x4d6ef9=a59_0x4bad35,_0x4fae85=resolveNpmBin('npm'),_0x421140=[_0x4d6ef9(0x201),'-g',LOVRABET_NPM_PACKAGE_NAME+'@'+_0x39f326];console[_0x4d6ef9(0x1fd)]('*\x20'+[_0x4fae85,..._0x421140][_0x4d6ef9(0x1d2)]('\x20'));const _0x5570b3=spawnSync(_0x4fae85,_0x421140,{'cwd':process['cwd'](),'stdio':_0x1ec496?_0x4d6ef9(0x1e6):_0x4d6ef9(0x1f0),'env':process.env,'shell':![]});if(_0x5570b3[_0x4d6ef9(0x20e)]===0x0)return{'ok':!![]};let _0x37a4ee=_0x5570b3[_0x4d6ef9(0x1f5)]?.[_0x4d6ef9(0x1ef)]||_0x4d6ef9(0x202)+(_0x5570b3[_0x4d6ef9(0x20e)]??_0x4d6ef9(0x1d3));if(_0x1ec496){const _0x110c1c=_0x5570b3[_0x4d6ef9(0x1ed)]?_0x5570b3[_0x4d6ef9(0x1ed)][_0x4d6ef9(0x1e4)]()['trim']():'',_0x28cbd5=_0x5570b3[_0x4d6ef9(0x1bd)]?_0x5570b3[_0x4d6ef9(0x1bd)]['toString']()[_0x4d6ef9(0x1ce)]():'';if(_0x110c1c)_0x37a4ee=_0x110c1c;else{if(_0x28cbd5)_0x37a4ee=_0x28cbd5;}}return{'ok':![],'error':_0x37a4ee};}async function installCliBuiltInSkill(_0x41be43){const _0x3daff4=a59_0x4bad35;console[_0x3daff4(0x1fd)]('Checking\x20CLI\x20Built-in\x20Skill...');const _0x24f1cf=runNpxSkillsAddGlobal(process[_0x3daff4(0x1d5)](),LOVRABET_SKILL_SOURCE,{'stdio':_0x41be43?_0x3daff4(0x1e6):_0x3daff4(0x1f0)});if(_0x24f1cf[_0x3daff4(0x1c7)]){console[_0x3daff4(0x1fd)](_0x3daff4(0x1c9)+LOVRABET_SKIP_NPX_SKILLS_ENV+_0x3daff4(0x1fe));return;}if(_0x24f1cf['ok']){console[_0x3daff4(0x1fd)](_0x3daff4(0x1e8));return;}console[_0x3daff4(0x205)](_0x3daff4(0x1d8)+(_0x24f1cf[_0x3daff4(0x1f5)]||_0x3daff4(0x1d3))),console['log'](_0x3daff4(0x1f9));}async function execute(_0x56127d){const _0x5ece4c=a59_0x4bad35;await validateUpdateFlags(_0x56127d);const _0x31005f=getCliVersion();console[_0x5ece4c(0x1fd)](_0x5ece4c(0x1de)+_0x31005f),console['log'](_0x5ece4c(0x1c5));const _0xb420c9=await resolveTargetVersion(_0x56127d);if(!_0xb420c9){const _0x5aaa86=_0x56127d[_0x5ece4c(0x1f2)]('beta')?_0x5ece4c(0x1df):_0x5ece4c(0x1fa),_0x19dd30=_0x5ece4c(0x1da)+_0x5aaa86+_0x5ece4c(0x209);return console[_0x5ece4c(0x205)](_0x19dd30),console['log'](_0x5ece4c(0x1c2)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x5aaa86),{'ok':![]};}if(!shouldInstallTarget(_0x31005f,_0xb420c9)){const _0x111890=_0xb420c9['source']===_0x5ece4c(0x1cf)?_0x5ece4c(0x1e7)+_0xb420c9[_0x5ece4c(0x1cf)]+').':'Already\x20up\x20to\x20date\x20(v'+_0xb420c9[_0x5ece4c(0x1cf)]+').';return console[_0x5ece4c(0x1fd)](_0x111890),shouldSkipCliBuiltInSkill(_0x56127d)?console[_0x5ece4c(0x1fd)](_0x5ece4c(0x1bf)):await installCliBuiltInSkill(_0x56127d['nonInteractive']),{'ok':!![]};}console[_0x5ece4c(0x1fd)](_0x5ece4c(0x1bc)+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x31005f+'\x20->\x20'+_0xb420c9['version']);const _0x28fe14=installCliPackage(_0xb420c9['version'],_0x56127d[_0x5ece4c(0x1d7)]);if(!_0x28fe14['ok']){const _0x22be81=_0x5ece4c(0x20b)+(_0x28fe14[_0x5ece4c(0x1f5)]||_0x5ece4c(0x1d3));return console[_0x5ece4c(0x1f5)](_0x22be81),console['log'](_0x5ece4c(0x1cc)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0xb420c9[_0x5ece4c(0x1cf)]),{'ok':![]};}return console[_0x5ece4c(0x1fd)](_0x5ece4c(0x1e1)+_0xb420c9[_0x5ece4c(0x1cf)]+'.'),console[_0x5ece4c(0x1fd)](_0x5ece4c(0x1cd)),shouldSkipCliBuiltInSkill(_0x56127d)?console[_0x5ece4c(0x1fd)](_0x5ece4c(0x1bf)):await installCliBuiltInSkill(_0x56127d[_0x5ece4c(0x1d7)]),{'ok':!![]};}export const updateDefinition={'service':a59_0x4bad35(0x1f4),'command':a59_0x4bad35(0x1e0),'description':'Update\x20'+CLI_BIN_NAME+'\x20CLI\x20from\x20npm','risk':a59_0x4bad35(0x1fc),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
@@ -1 +1 @@
1
- const a60_0x483547=a60_0xf359;(function(_0x5861c6,_0x2b085d){const _0x3b151e=a60_0xf359,_0x234563=_0x5861c6();while(!![]){try{const _0x5c66c3=-parseInt(_0x3b151e(0xf0))/0x1*(parseInt(_0x3b151e(0x112))/0x2)+parseInt(_0x3b151e(0x102))/0x3*(parseInt(_0x3b151e(0x103))/0x4)+-parseInt(_0x3b151e(0xf9))/0x5+parseInt(_0x3b151e(0xfc))/0x6*(-parseInt(_0x3b151e(0x11c))/0x7)+-parseInt(_0x3b151e(0x104))/0x8+-parseInt(_0x3b151e(0x10b))/0x9+parseInt(_0x3b151e(0x114))/0xa;if(_0x5c66c3===_0x2b085d)break;else _0x234563['push'](_0x234563['shift']());}catch(_0x463b25){_0x234563['push'](_0x234563['shift']());}}}(a60_0x3df7,0x6e817));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';function a60_0x3df7(){const _0x2b6aab=['Usage:\x20','Target\x20environment','length','\x22.\x20Allowed:\x20','2190Bsltbb','Compatibility\x20flag;\x20workspace\x20config\x20updates\x20are\x20non-interactive','authRequired','apps','env','yes','string','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','Invalid\x20env\x20\x22','77350TTTepn','workspace\x20','\x0aDefault\x20app:\x20','66xkeWCm','workspace','join','items','appName','accessKey','525738UCsSGm','8Ttpvvw','1875320LfQuCW','project','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','appCode','includes','\x22\x20not\x20found.','map','644499cRKfHW','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','boolean','write','Missing\x20workspace\x20app\x20selector.','app','appcode','106roNhmB','\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20','6646540xAqIEO','from','App\x20code\x20to\x20bind\x20directly','filter','\x0aAccessKey:\x20not\x20written','init','envName','trim','79513BXzuyI','Set\x20app\x20context\x20for\x20the\x20current\x20workspace','str','validation','defaultApp','\x20workspace\x20','Run\x20`','shouldWriteEnv'];a60_0x3df7=function(){return _0x2b6aab;};return a60_0x3df7();}const WORKSPACE_USE_FLAGS=[{'name':a60_0x483547(0x110),'type':a60_0x483547(0xf6),'description':a60_0x483547(0x10c)},{'name':a60_0x483547(0x111),'type':a60_0x483547(0xf6),'description':a60_0x483547(0x116)},{'name':'env','type':a60_0x483547(0xf6),'description':a60_0x483547(0x125),'enum':[...RUNTIME_ENV_VALUES]},{'name':a60_0x483547(0xf5),'type':a60_0x483547(0x10d),'description':a60_0x483547(0xf1),'default':![]}];async function executeWorkspaceUse(_0x33736d,_0x568fd6){const _0x1fa69b=a60_0x483547,_0x101061=_0x33736d[_0x1fa69b(0x11e)](_0x1fa69b(0x110))[_0x1fa69b(0x11b)](),_0x26a6c1=_0x33736d['str'](_0x1fa69b(0x111))[_0x1fa69b(0x11b)](),_0x3285ec=_0x33736d[_0x1fa69b(0x11e)](_0x1fa69b(0xf4))[_0x1fa69b(0x11b)](),_0x1d00e7=resolveWorkspaceEnv(_0x3285ec||_0x33736d[_0x1fa69b(0x11a)]||DEFAULT_CONFIG_VALUES['env']);if(!_0x101061&&!_0x26a6c1)throw CliErrors['validation'](_0x1fa69b(0x10f),_0x1fa69b(0x124)+CLI_BIN_NAME+_0x1fa69b(0x121)+_0x568fd6+_0x1fa69b(0x113)+CLI_BIN_NAME+'\x20workspace\x20'+_0x568fd6+'\x20--appcode\x20<code>\x20[--env\x20daily]');const _0x1d4a89=_0x26a6c1||await resolveRemoteAppCode({'command':_0x568fd6,'appName':_0x101061,'env':_0x1d00e7,'accessKey':_0x33736d[_0x1fa69b(0x101)]}),_0x300e63=writeWorkspaceConfig({'command':_0x568fd6,'appName':_0x101061,'appcode':_0x1d4a89,'env':_0x1d00e7,'shouldWriteEnv':!!_0x3285ec,'accessKey':_0x33736d['accessKey']});return{'ok':!![],'data':{'configPath':_0x300e63,'app':_0x101061||null,'appcode':_0x1d4a89,'env':_0x3285ec?_0x1d00e7:null,'accessKeyWritten':![],'command':_0x1fa69b(0xfa)+_0x568fd6},'message':buildWorkspaceMessage(_0x300e63,_0x101061,_0x1d4a89,_0x3285ec?_0x1d00e7:undefined)};}async function resolveRemoteAppCode(_0x465c11){const _0x55c569=a60_0x483547;if(!_0x465c11[_0x55c569(0x101)])throw CliErrors[_0x55c569(0xf2)](_0x55c569(0x106)+CLI_BIN_NAME+_0x55c569(0x121)+_0x465c11['command']+'.');const {setActiveAK:_0x59e926}=await import('../../core/api-client.js'),{getRemoteAppList:_0xaee5cf}=await import('../../commands/app/remote-source.js');_0x59e926(_0x465c11[_0x55c569(0x101)]);const _0x4a0e37=await _0xaee5cf({'env':_0x465c11[_0x55c569(0xf4)],'accessKey':_0x465c11['accessKey'],'noCache':![]}),_0x57cb7d=findAppByName(_0x4a0e37[_0x55c569(0xff)],_0x465c11[_0x55c569(0x100)]);if(_0x57cb7d&&!isRuntimeAccessibleApp(_0x57cb7d))throw runtimeInaccessibleAppError(_0x57cb7d,'\x22'+_0x465c11[_0x55c569(0x100)]+'\x22');const _0x599958=_0x57cb7d?.[_0x55c569(0x107)]?.['trim']();if(_0x599958)return _0x599958;const _0x414721=_0x4a0e37[_0x55c569(0xff)][_0x55c569(0x10a)](_0x21ba1e=>_0x21ba1e[_0x55c569(0x100)])[_0x55c569(0x117)](Boolean),_0x582647=_0x414721[_0x55c569(0x126)]?'Available\x20apps:\x20'+Array[_0x55c569(0x115)](new Set(_0x414721))[_0x55c569(0xfe)](',\x20')+'.':_0x55c569(0x122)+CLI_BIN_NAME+_0x55c569(0xf7);throw CliErrors[_0x55c569(0x11f)]('App\x20\x22'+_0x465c11[_0x55c569(0x100)]+_0x55c569(0x109),_0x582647);}function writeWorkspaceConfig(_0x250b33){const _0x5c0b6d=a60_0x483547,_0x4724d8=resolveWriteConfigPath(_0x5c0b6d(0x105)),_0x1e6db6=readConfigFile(_0x4724d8);_0x250b33[_0x5c0b6d(0x123)]&&(_0x1e6db6['env']=_0x250b33['env']);if(_0x250b33[_0x5c0b6d(0x100)]){const _0x4f9007=isRecord(_0x1e6db6[_0x5c0b6d(0xf3)])?{..._0x1e6db6[_0x5c0b6d(0xf3)]}:{},_0x2b53e9=isRecord(_0x4f9007[_0x250b33[_0x5c0b6d(0x100)]])?_0x4f9007[_0x250b33[_0x5c0b6d(0x100)]]:{};_0x4f9007[_0x250b33[_0x5c0b6d(0x100)]]={..._0x2b53e9,'appcode':_0x250b33[_0x5c0b6d(0x111)]},_0x1e6db6[_0x5c0b6d(0xf3)]=_0x4f9007,_0x1e6db6[_0x5c0b6d(0x120)]=_0x250b33[_0x5c0b6d(0x100)];if(_0x1e6db6[_0x5c0b6d(0x110)])delete _0x1e6db6[_0x5c0b6d(0x110)];return writeAndReturn(_0x4724d8,_0x1e6db6);}_0x1e6db6[_0x5c0b6d(0x111)]=_0x250b33[_0x5c0b6d(0x111)];if(_0x1e6db6['app'])delete _0x1e6db6[_0x5c0b6d(0x110)];return writeAndReturn(_0x4724d8,_0x1e6db6);}function writeAndReturn(_0x38a1be,_0x3f9ab3){return writeConfigFile(_0x38a1be,_0x3f9ab3),_0x38a1be;}function resolveWorkspaceEnv(_0x3422cd){const _0x930849=a60_0x483547;if(RUNTIME_ENV_VALUES[_0x930849(0x108)](_0x3422cd))return _0x3422cd;throw CliErrors['validation'](_0x930849(0xf8)+_0x3422cd+_0x930849(0xef)+RUNTIME_ENV_VALUES[_0x930849(0xfe)](',\x20'));}function buildWorkspaceMessage(_0x18ad61,_0x24f6aa,_0x4c2f4f,_0x34355a){const _0x35317f=a60_0x483547,_0x5d9157=_0x24f6aa?_0x24f6aa+'\x20('+_0x4c2f4f+')':_0x4c2f4f,_0x37d96d=_0x34355a?'\x0aEnv:\x20'+_0x34355a:'';return'Workspace\x20configured.\x0aConfig\x20file:\x20'+_0x18ad61+_0x35317f(0xfb)+_0x5d9157+_0x37d96d+_0x35317f(0x118);}function isRecord(_0x1d891c){return typeof _0x1d891c==='object'&&_0x1d891c!==null&&!Array['isArray'](_0x1d891c);}function makeWorkspaceCommand(_0x2f3837){const _0x453f5d=a60_0x483547;return{'service':_0x453f5d(0xfd),'command':_0x2f3837,'description':_0x2f3837==='init'?'Initialize\x20app\x20context\x20for\x20the\x20current\x20workspace':_0x453f5d(0x11d),'risk':_0x453f5d(0x10e),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x34b036){return executeWorkspaceUse(_0x34b036,_0x2f3837);}};}function a60_0xf359(_0x1fe80f,_0x357f9d){_0x1fe80f=_0x1fe80f-0xef;const _0x3df7fe=a60_0x3df7();let _0xf35967=_0x3df7fe[_0x1fe80f];return _0xf35967;}export const workspaceDefinitions=[makeWorkspaceCommand(a60_0x483547(0x119)),makeWorkspaceCommand('use')];
1
+ const a60_0x1a43ae=a60_0x1379;(function(_0x590368,_0x3d59ef){const _0x36f921=a60_0x1379,_0x132ae8=_0x590368();while(!![]){try{const _0x15a02c=parseInt(_0x36f921(0xc5))/0x1+-parseInt(_0x36f921(0xa5))/0x2+parseInt(_0x36f921(0xa9))/0x3*(parseInt(_0x36f921(0xd9))/0x4)+parseInt(_0x36f921(0xd7))/0x5*(parseInt(_0x36f921(0xb3))/0x6)+parseInt(_0x36f921(0xb1))/0x7*(parseInt(_0x36f921(0xb4))/0x8)+-parseInt(_0x36f921(0xb6))/0x9*(parseInt(_0x36f921(0xcd))/0xa)+-parseInt(_0x36f921(0xad))/0xb*(-parseInt(_0x36f921(0xac))/0xc);if(_0x15a02c===_0x3d59ef)break;else _0x132ae8['push'](_0x132ae8['shift']());}catch(_0x3a0f82){_0x132ae8['push'](_0x132ae8['shift']());}}}(a60_0x43d1,0x5205a));import{CLI_BIN_NAME}from'../../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../../constant/env.js';function a60_0x1379(_0xb81cc4,_0x13f637){_0xb81cc4=_0xb81cc4-0x9e;const _0x43d1dd=a60_0x43d1();let _0x137983=_0x43d1dd[_0xb81cc4];return _0x137983;}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_0x1a43ae(0xd8),'type':a60_0x1a43ae(0xaa),'description':a60_0x1a43ae(0xc0)},{'name':'appcode','type':a60_0x1a43ae(0xaa),'description':a60_0x1a43ae(0xa4)},{'name':a60_0x1a43ae(0x9e),'type':'string','description':a60_0x1a43ae(0xd3),'enum':[...RUNTIME_ENV_VALUES]},{'name':a60_0x1a43ae(0xa8),'type':a60_0x1a43ae(0xc4),'description':a60_0x1a43ae(0xb8),'default':![]}];async function executeWorkspaceUse(_0x2171c0,_0x2ce226){const _0x4e08d0=a60_0x1a43ae,_0x553969=_0x2171c0['str'](_0x4e08d0(0xd8))['trim'](),_0x549969=_0x2171c0[_0x4e08d0(0xc8)](_0x4e08d0(0xc9))[_0x4e08d0(0xb5)](),_0x5bf3ec=_0x2171c0[_0x4e08d0(0xc8)](_0x4e08d0(0x9e))[_0x4e08d0(0xb5)](),_0x490baa=resolveWorkspaceEnv(_0x5bf3ec||_0x2171c0[_0x4e08d0(0xd1)]||DEFAULT_CONFIG_VALUES[_0x4e08d0(0x9e)]);if(!_0x553969&&!_0x549969)throw CliErrors[_0x4e08d0(0xaf)](_0x4e08d0(0xa2),'Usage:\x20'+CLI_BIN_NAME+_0x4e08d0(0xa0)+_0x2ce226+'\x20--app\x20<name>\x20[--env\x20daily]\x20or\x20'+CLI_BIN_NAME+_0x4e08d0(0xa0)+_0x2ce226+_0x4e08d0(0x9f));const _0x957280=_0x549969||await resolveRemoteAppCode({'command':_0x2ce226,'appName':_0x553969,'env':_0x490baa,'accessKey':_0x2171c0['accessKey']}),_0x3970f9=writeWorkspaceConfig({'command':_0x2ce226,'appName':_0x553969,'appcode':_0x957280,'env':_0x490baa,'shouldWriteEnv':!!_0x5bf3ec,'accessKey':_0x2171c0[_0x4e08d0(0xcf)]});return{'ok':!![],'data':{'configPath':_0x3970f9,'app':_0x553969||null,'appcode':_0x957280,'env':_0x5bf3ec?_0x490baa:null,'accessKeyWritten':![],'command':_0x4e08d0(0xb7)+_0x2ce226},'message':buildWorkspaceMessage(_0x3970f9,_0x553969,_0x957280,_0x5bf3ec?_0x490baa:undefined)};}async function resolveRemoteAppCode(_0x19f9fe){const _0x328bf5=a60_0x1a43ae;if(!_0x19f9fe[_0x328bf5(0xcf)])throw CliErrors[_0x328bf5(0xc1)](_0x328bf5(0xd6)+CLI_BIN_NAME+_0x328bf5(0xa0)+_0x19f9fe[_0x328bf5(0xa3)]+'.');const {setActiveAK:_0x3483bf}=await import(_0x328bf5(0xbc)),{getRemoteAppList:_0x104a99}=await import(_0x328bf5(0xb0));_0x3483bf(_0x19f9fe[_0x328bf5(0xcf)]);const _0x5f4c87=await _0x104a99({'env':_0x19f9fe[_0x328bf5(0x9e)],'accessKey':_0x19f9fe[_0x328bf5(0xcf)],'noCache':![]}),_0x302a5e=findAppByName(_0x5f4c87[_0x328bf5(0xa7)],_0x19f9fe[_0x328bf5(0xcb)]);if(_0x302a5e&&!isRuntimeAccessibleApp(_0x302a5e))throw runtimeInaccessibleAppError(_0x302a5e,'\x22'+_0x19f9fe['appName']+'\x22');const _0x1d2531=_0x302a5e?.['appCode']?.[_0x328bf5(0xb5)]();if(_0x1d2531)return _0x1d2531;const _0x2dcc54=_0x5f4c87[_0x328bf5(0xa7)][_0x328bf5(0xc7)](_0x3c5aa5=>_0x3c5aa5[_0x328bf5(0xcb)])['filter'](Boolean),_0x4afd3b=_0x2dcc54[_0x328bf5(0xca)]?'Available\x20apps:\x20'+Array['from'](new Set(_0x2dcc54))[_0x328bf5(0xd0)](',\x20')+'.':_0x328bf5(0xa1)+CLI_BIN_NAME+_0x328bf5(0xb2);throw CliErrors['validation'](_0x328bf5(0xbd)+_0x19f9fe[_0x328bf5(0xcb)]+_0x328bf5(0xd5),_0x4afd3b);}function writeWorkspaceConfig(_0x3ab138){const _0x99ff2b=a60_0x1a43ae,_0x5cb433=resolveWriteConfigPath('project'),_0x512584=readConfigFile(_0x5cb433);_0x3ab138[_0x99ff2b(0xae)]&&(_0x512584[_0x99ff2b(0x9e)]=_0x3ab138[_0x99ff2b(0x9e)]);if(_0x3ab138[_0x99ff2b(0xcb)]){const _0x116629=isRecord(_0x512584['apps'])?{..._0x512584[_0x99ff2b(0xab)]}:{},_0x212cdc=isRecord(_0x116629[_0x3ab138[_0x99ff2b(0xcb)]])?_0x116629[_0x3ab138[_0x99ff2b(0xcb)]]:{};_0x116629[_0x3ab138[_0x99ff2b(0xcb)]]={..._0x212cdc,'appcode':_0x3ab138[_0x99ff2b(0xc9)]},_0x512584[_0x99ff2b(0xab)]=_0x116629,_0x512584[_0x99ff2b(0xd4)]=_0x3ab138[_0x99ff2b(0xcb)];if(_0x512584[_0x99ff2b(0xd8)])delete _0x512584['app'];return writeAndReturn(_0x5cb433,_0x512584);}_0x512584[_0x99ff2b(0xc9)]=_0x3ab138[_0x99ff2b(0xc9)];if(_0x512584[_0x99ff2b(0xd8)])delete _0x512584['app'];return writeAndReturn(_0x5cb433,_0x512584);}function writeAndReturn(_0x2110be,_0x26f39b){return writeConfigFile(_0x2110be,_0x26f39b),_0x2110be;}function a60_0x43d1(){const _0x285c11=['App\x20\x22','init','includes','App\x20name\x20to\x20bind\x20as\x20the\x20current\x20workspace\x20default','authRequired','Invalid\x20env\x20\x22','Workspace\x20configured.\x0aConfig\x20file:\x20','boolean','205137CKsogg','workspace','map','str','appcode','length','appName','object','2353080fxeDPk','\x0aAccessKey:\x20not\x20written','accessKey','join','envName','\x0aDefault\x20app:\x20','Target\x20environment','defaultApp','\x22\x20not\x20found.','Resolving\x20--app\x20requires\x20accessKey.\x20Pass\x20--appcode\x20directly,\x20or\x20set\x20accessKey\x20before\x20running\x20','810AXRyUn','app','84yIpVgM','env','\x20--appcode\x20<code>\x20[--env\x20daily]','\x20workspace\x20','Run\x20`','Missing\x20workspace\x20app\x20selector.','command','App\x20code\x20to\x20bind\x20directly','798564uGXQrz','isArray','items','yes','1428xibXCr','string','apps','228OiLcPK','173162LTtSuy','shouldWriteEnv','validation','../../commands/app/remote-source.js','3655239bUOycn','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20pass\x20--appcode\x20directly.','6276gTNzgg','8OghPhl','trim','18PThuBK','workspace\x20','Compatibility\x20flag;\x20workspace\x20config\x20updates\x20are\x20non-interactive','Initialize\x20app\x20context\x20for\x20the\x20current\x20workspace','\x0aEnv:\x20','use','../../core/api-client.js'];a60_0x43d1=function(){return _0x285c11;};return a60_0x43d1();}function resolveWorkspaceEnv(_0x4defd5){const _0x6a5f70=a60_0x1a43ae;if(RUNTIME_ENV_VALUES[_0x6a5f70(0xbf)](_0x4defd5))return _0x4defd5;throw CliErrors[_0x6a5f70(0xaf)](_0x6a5f70(0xc2)+_0x4defd5+'\x22.\x20Allowed:\x20'+RUNTIME_ENV_VALUES[_0x6a5f70(0xd0)](',\x20'));}function buildWorkspaceMessage(_0x402cee,_0x5c203d,_0x1f42da,_0x36b3cc){const _0x1a90a8=a60_0x1a43ae,_0x399a05=_0x5c203d?_0x5c203d+'\x20('+_0x1f42da+')':_0x1f42da,_0x5ad5e3=_0x36b3cc?_0x1a90a8(0xba)+_0x36b3cc:'';return _0x1a90a8(0xc3)+_0x402cee+_0x1a90a8(0xd2)+_0x399a05+_0x5ad5e3+_0x1a90a8(0xce);}function isRecord(_0x208870){const _0x535897=a60_0x1a43ae;return typeof _0x208870===_0x535897(0xcc)&&_0x208870!==null&&!Array[_0x535897(0xa6)](_0x208870);}function makeWorkspaceCommand(_0xa2d19f){const _0x33a866=a60_0x1a43ae;return{'service':_0x33a866(0xc6),'command':_0xa2d19f,'description':_0xa2d19f===_0x33a866(0xbe)?_0x33a866(0xb9):'Set\x20app\x20context\x20for\x20the\x20current\x20workspace','risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':WORKSPACE_USE_FLAGS,async 'execute'(_0x17d062){return executeWorkspaceUse(_0x17d062,_0xa2d19f);}};}export const workspaceDefinitions=[makeWorkspaceCommand(a60_0x1a43ae(0xbe)),makeWorkspaceCommand(a60_0x1a43ae(0xbb))];
@@ -1 +1 @@
1
- const a61_0x293585=a61_0x5f85;(function(_0x51dce6,_0x397571){const _0x343723=a61_0x5f85,_0x435cc9=_0x51dce6();while(!![]){try{const _0x327dfb=parseInt(_0x343723(0x1d7))/0x1+-parseInt(_0x343723(0x1d8))/0x2+parseInt(_0x343723(0x1bd))/0x3+parseInt(_0x343723(0x1d9))/0x4*(-parseInt(_0x343723(0x1d0))/0x5)+-parseInt(_0x343723(0x1cc))/0x6*(-parseInt(_0x343723(0x1ce))/0x7)+parseInt(_0x343723(0x1d5))/0x8*(parseInt(_0x343723(0x1cb))/0x9)+-parseInt(_0x343723(0x1c3))/0xa*(parseInt(_0x343723(0x1da))/0xb);if(_0x327dfb===_0x397571)break;else _0x435cc9['push'](_0x435cc9['shift']());}catch(_0x58040f){_0x435cc9['push'](_0x435cc9['shift']());}}}(a61_0x1a04,0x1afed));function a61_0x1a04(){const _0x4a42be=['riskLevel','436610fLFBWi','format','Access\x20key\x20(client-ak\x20auth)','locale','join','Override\x20user\x20domain','Target\x20environment','Override\x20API\x20domain','39681EhymeR','1159974whsHEf','importable','7bPRqDq','Config\x20key.\x20Top-level:\x20','40xNYVJj','Override\x20SkillHub\x20domain','env','Risk\x20level','enumValues','72IyEMKK','Default\x20output\x20format','119787JopqKx','106392qEqwwU','99976SjyQTc','22ligygF','294738gEgoyo','map','filter','Override\x20runtime\x20domain','entries'];a61_0x1a04=function(){return _0x4a42be;};return a61_0x1a04();}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':a61_0x293585(0x1c9),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x293585(0x1d2)],'importable':!![]},'format':{'description':a61_0x293585(0x1d6),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x293585(0x1c4)],'importable':!![]},'pageSize':{'description':'Default\x20page\x20size','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a61_0x293585(0x1ca),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a61_0x293585(0x1c8),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a61_0x293585(0x1c0),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillHubDomain':{'description':a61_0x293585(0x1d1),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a61_0x293585(0x1c5),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a61_0x293585(0x1d3),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x293585(0x1c2)],'importable':!![]},'locale':{'description':'Locale','topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x293585(0x1c6)],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object['entries'](CONFIG_FIELD_SCHEMAS)[a61_0x293585(0x1bf)](([,_0x280088])=>_0x280088['cliSettableTopLevel'])[a61_0x293585(0x1be)](([_0x16a9a3])=>_0x16a9a3));function a61_0x5f85(_0x22323f,_0x370a81){_0x22323f=_0x22323f-0x1bd;const _0x1a044e=a61_0x1a04();let _0x5f858e=_0x1a044e[_0x22323f];return _0x5f858e;}export const CONFIG_ENUM_VALUES=Object['fromEntries'](Object[a61_0x293585(0x1c1)](CONFIG_FIELD_SCHEMAS)[a61_0x293585(0x1bf)](([,_0x4c80e0])=>_0x4c80e0[a61_0x293585(0x1d4)])['map'](([_0x259106,_0xb5daa3])=>[_0x259106,[..._0xb5daa3['enumValues']||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object['entries'](CONFIG_FIELD_SCHEMAS)[a61_0x293585(0x1bf)](([,_0x50ead9])=>_0x50ead9[a61_0x293585(0x1cd)])[a61_0x293585(0x1be)](([_0x589544])=>_0x589544);export function getConfigFieldSchema(_0x50bf20){return CONFIG_FIELD_SCHEMAS[_0x50bf20];}export function getConfigEnumValues(_0x1acee1){return getConfigFieldSchema(_0x1acee1)?.['enumValues'];}export function getConfigDefaultValue(_0x73bcfa){return getConfigFieldSchema(_0x73bcfa)?.['defaultValue'];}export function isTopLevelConfigKey(_0x33cb07){return TOP_LEVEL_CONFIG_KEYS['has'](_0x33cb07);}export function isLegacyCompatConfigKey(_0x523730){return getConfigFieldSchema(_0x523730)?.['legacyCompatOnly']===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0xe02380){const _0xed80f=a61_0x293585;return[..._0xe02380][_0xed80f(0x1c7)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x16ab7c=a61_0x293585;return _0x16ab7c(0x1cf)+getTopLevelConfigKeySummary()+';\x20local\x20alias:\x20apps.<alias>.appcode';}export function buildAppProfileListFields(_0x20b9fb){return{'env':_0x20b9fb,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a61_0x28d119=a61_0x9db7;(function(_0x4bef0c,_0x4f9dc7){const _0x4853d1=a61_0x9db7,_0x2849c1=_0x4bef0c();while(!![]){try{const _0x10e338=-parseInt(_0x4853d1(0x1d8))/0x1+parseInt(_0x4853d1(0x1cc))/0x2+-parseInt(_0x4853d1(0x1bd))/0x3+parseInt(_0x4853d1(0x1c5))/0x4*(parseInt(_0x4853d1(0x1c6))/0x5)+parseInt(_0x4853d1(0x1c1))/0x6*(parseInt(_0x4853d1(0x1c9))/0x7)+-parseInt(_0x4853d1(0x1da))/0x8*(-parseInt(_0x4853d1(0x1d7))/0x9)+-parseInt(_0x4853d1(0x1c2))/0xa*(-parseInt(_0x4853d1(0x1d2))/0xb);if(_0x10e338===_0x4f9dc7)break;else _0x2849c1['push'](_0x2849c1['shift']());}catch(_0x19022d){_0x2849c1['push'](_0x2849c1['shift']());}}}(a61_0x5d16,0xd4acc));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';function a61_0x9db7(_0x439c42,_0x151701){_0x439c42=_0x439c42-0x1ba;const _0x5d1699=a61_0x5d16();let _0x9db72b=_0x5d1699[_0x439c42];return _0x9db72b;}export const CONFIG_FIELD_SCHEMAS={'env':{'description':a61_0x28d119(0x1ba),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x28d119(0x1be)],'importable':!![]},'format':{'description':a61_0x28d119(0x1cd),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x28d119(0x1d6)],'importable':!![]},'pageSize':{'description':a61_0x28d119(0x1cb),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a61_0x28d119(0x1c0),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':'Override\x20user\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a61_0x28d119(0x1d0),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'skillHubDomain':{'description':a61_0x28d119(0x1bf),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a61_0x28d119(0x1db),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a61_0x28d119(0x1d5),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x28d119(0x1c7)],'importable':!![]},'locale':{'description':a61_0x28d119(0x1cf),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a61_0x28d119(0x1dc)],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object['entries'](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x44c214])=>_0x44c214[a61_0x28d119(0x1d1)])[a61_0x28d119(0x1c3)](([_0x3fc76b])=>_0x3fc76b));export const CONFIG_ENUM_VALUES=Object[a61_0x28d119(0x1bc)](Object['entries'](CONFIG_FIELD_SCHEMAS)[a61_0x28d119(0x1d9)](([,_0x3b650a])=>_0x3b650a[a61_0x28d119(0x1ce)])[a61_0x28d119(0x1c3)](([_0x5bd212,_0x1d15a7])=>[_0x5bd212,[..._0x1d15a7[a61_0x28d119(0x1ce)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a61_0x28d119(0x1c8)](CONFIG_FIELD_SCHEMAS)[a61_0x28d119(0x1d9)](([,_0x43b9a2])=>_0x43b9a2['importable'])[a61_0x28d119(0x1c3)](([_0x5bf23e])=>_0x5bf23e);export function getConfigFieldSchema(_0x275b0d){return CONFIG_FIELD_SCHEMAS[_0x275b0d];}export function getConfigEnumValues(_0x577150){const _0x5f098f=a61_0x28d119;return getConfigFieldSchema(_0x577150)?.[_0x5f098f(0x1ce)];}export function getConfigDefaultValue(_0x1d83bf){const _0x15e487=a61_0x28d119;return getConfigFieldSchema(_0x1d83bf)?.[_0x15e487(0x1d3)];}export function isTopLevelConfigKey(_0x4f3755){const _0x33a302=a61_0x28d119;return TOP_LEVEL_CONFIG_KEYS[_0x33a302(0x1d4)](_0x4f3755);}export function isLegacyCompatConfigKey(_0x33cf8a){const _0x8f5bfc=a61_0x28d119;return getConfigFieldSchema(_0x33cf8a)?.[_0x8f5bfc(0x1ca)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x37a880){const _0x1f500f=a61_0x28d119;return[..._0x37a880][_0x1f500f(0x1bb)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x9a2660=a61_0x28d119;return'Config\x20key.\x20Top-level:\x20'+getTopLevelConfigKeySummary()+_0x9a2660(0x1c4);}function a61_0x5d16(){const _0x8a5ac5=['264957pUFCft','legacyCompatOnly','Default\x20page\x20size','341566HjzsIc','Default\x20output\x20format','enumValues','Locale','Override\x20runtime\x20domain','cliSettableTopLevel','11GsEPbj','defaultValue','has','Risk\x20level','format','117RDNyOH','733885updGfX','filter','782792yMFkRu','Access\x20key\x20(client-ak\x20auth)','locale','Target\x20environment','join','fromEntries','2255358BMkfUF','env','Override\x20SkillHub\x20domain','Override\x20API\x20domain','18IBZKaX','2534180MkKIwA','map',';\x20local\x20alias:\x20apps.<alias>.appcode','316ISasJh','34620jzTEgD','riskLevel','entries'];a61_0x5d16=function(){return _0x8a5ac5;};return a61_0x5d16();}export function buildAppProfileListFields(_0x30fdc8){return{'env':_0x30fdc8,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- const a62_0x26be43=a62_0x3b08;function a62_0x3b08(_0x3a1d54,_0x5e3272){_0x3a1d54=_0x3a1d54-0x1af;const _0x54fd23=a62_0x54fd();let _0x3b0893=_0x54fd23[_0x3a1d54];return _0x3b0893;}(function(_0x4d4ddd,_0x2e793c){const _0x5c8471=a62_0x3b08,_0xba82db=_0x4d4ddd();while(!![]){try{const _0x57bbef=-parseInt(_0x5c8471(0x1b6))/0x1+parseInt(_0x5c8471(0x1b4))/0x2*(parseInt(_0x5c8471(0x1af))/0x3)+-parseInt(_0x5c8471(0x1b1))/0x4*(parseInt(_0x5c8471(0x1b0))/0x5)+-parseInt(_0x5c8471(0x1b5))/0x6*(parseInt(_0x5c8471(0x1b9))/0x7)+parseInt(_0x5c8471(0x1b2))/0x8+parseInt(_0x5c8471(0x1bb))/0x9*(-parseInt(_0x5c8471(0x1b8))/0xa)+-parseInt(_0x5c8471(0x1bc))/0xb;if(_0x57bbef===_0x2e793c)break;else _0xba82db['push'](_0xba82db['shift']());}catch(_0x3d02e7){_0xba82db['push'](_0xba82db['shift']());}}}(a62_0x54fd,0xa47e1));export const APP_PUBLISH_STATUS={'Published':a62_0x26be43(0x1ba),'Unpublished':a62_0x26be43(0x1b3)};function a62_0x54fd(){const _0x1d037c=['801765jnLByh','16775yJtgAR','132uidzlC','9887488bnDzII','UNPUBLISH','8vbCmHc','2002854uVNeye','423455biBwoW','Published','37130PUQaIc','14HHZcJj','PUBLISHED','225wFGJGA','3702402xCBbHH'];a62_0x54fd=function(){return _0x1d037c;};return a62_0x54fd();}export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a62_0x26be43(0x1b7)];
1
+ const a62_0x205460=a62_0xde01;function a62_0xde01(_0x4999de,_0x563329){_0x4999de=_0x4999de-0x168;const _0x4e4841=a62_0x4e48();let _0xde013e=_0x4e4841[_0x4999de];return _0xde013e;}(function(_0x4a966d,_0x6c745d){const _0x1a8b68=a62_0xde01,_0x5472fc=_0x4a966d();while(!![]){try{const _0x31382d=-parseInt(_0x1a8b68(0x172))/0x1*(-parseInt(_0x1a8b68(0x16c))/0x2)+parseInt(_0x1a8b68(0x173))/0x3+parseInt(_0x1a8b68(0x171))/0x4+-parseInt(_0x1a8b68(0x16d))/0x5*(-parseInt(_0x1a8b68(0x169))/0x6)+parseInt(_0x1a8b68(0x16e))/0x7*(-parseInt(_0x1a8b68(0x16a))/0x8)+parseInt(_0x1a8b68(0x174))/0x9*(-parseInt(_0x1a8b68(0x170))/0xa)+-parseInt(_0x1a8b68(0x16f))/0xb;if(_0x31382d===_0x6c745d)break;else _0x5472fc['push'](_0x5472fc['shift']());}catch(_0x4c82fa){_0x5472fc['push'](_0x5472fc['shift']());}}}(a62_0x4e48,0x69d7d));export const APP_PUBLISH_STATUS={'Published':a62_0x205460(0x16b),'Unpublished':a62_0x205460(0x175)};function a62_0x4e48(){const _0x22d128=['Published','1954026cZufyA','162088VJgoRt','PUBLISHED','2GjrlvQ','5zNfpMa','161hszijU','4585977UiZPcZ','50rEJzZS','3340924tslDmU','491607klSkUE','389787UljhKF','838791FBMOUG','UNPUBLISH'];a62_0x4e48=function(){return _0x22d128;};return a62_0x4e48();}export const RUNTIME_ACCESSIBLE_APP_STATUS=APP_PUBLISH_STATUS[a62_0x205460(0x168)];
@@ -1 +1 @@
1
- function a63_0x37c7(_0x45ef87,_0x5bd5a6){_0x45ef87=_0x45ef87-0x12c;const _0x2d6d6b=a63_0x2d6d();let _0x37c7f5=_0x2d6d6b[_0x45ef87];return _0x37c7f5;}const a63_0x414bc1=a63_0x37c7;(function(_0x1077f4,_0x12c65e){const _0x42b2a0=a63_0x37c7,_0x5aec87=_0x1077f4();while(!![]){try{const _0x32c675=-parseInt(_0x42b2a0(0x132))/0x1+-parseInt(_0x42b2a0(0x134))/0x2*(parseInt(_0x42b2a0(0x131))/0x3)+parseInt(_0x42b2a0(0x12e))/0x4*(-parseInt(_0x42b2a0(0x136))/0x5)+parseInt(_0x42b2a0(0x138))/0x6+parseInt(_0x42b2a0(0x12c))/0x7+parseInt(_0x42b2a0(0x135))/0x8*(-parseInt(_0x42b2a0(0x12f))/0x9)+parseInt(_0x42b2a0(0x137))/0xa*(parseInt(_0x42b2a0(0x130))/0xb);if(_0x32c675===_0x12c65e)break;else _0x5aec87['push'](_0x5aec87['shift']());}catch(_0x2c5d78){_0x5aec87['push'](_0x5aec87['shift']());}}}(a63_0x2d6d,0x2e63b));export const AUTH_MODE={'ClientAk':a63_0x414bc1(0x12d)};function a63_0x2d6d(){const _0x30b650=['57958cqYahv','ClientAk','14TiJhup','818568wUSbgW','1582505TpvTif','50CBGflW','2096886jDrWBB','171262cUquQt','client-ak','4fLbmqD','9XqaxcV','788755ZJNXIR','28149PAFJvf'];a63_0x2d6d=function(){return _0x30b650;};return a63_0x2d6d();}export function isAuthMode(_0x5d55ee){const _0x23f17f=a63_0x414bc1;return _0x5d55ee===AUTH_MODE[_0x23f17f(0x133)];}
1
+ const a63_0x501485=a63_0xf503;function a63_0x3554(){const _0x3dcccf=['739280QkXZrY','client-ak','5216808fUpoKF','42wqCynt','12PZYGfy','112265VXuMBq','836216ujoIRg','50xrXPxE','2uXfOkG','11nyHYmk','327870HoCRKH','ClientAk','337059skRzdw','984969svtEUB'];a63_0x3554=function(){return _0x3dcccf;};return a63_0x3554();}(function(_0xa8c491,_0x4dea77){const _0x5b44a3=a63_0xf503,_0x2a9820=_0xa8c491();while(!![]){try{const _0xe61032=-parseInt(_0x5b44a3(0x112))/0x1*(-parseInt(_0x5b44a3(0x10e))/0x2)+parseInt(_0x5b44a3(0x113))/0x3+-parseInt(_0x5b44a3(0x10c))/0x4+-parseInt(_0x5b44a3(0x10b))/0x5*(-parseInt(_0x5b44a3(0x10a))/0x6)+parseInt(_0x5b44a3(0x117))/0x7*(-parseInt(_0x5b44a3(0x114))/0x8)+-parseInt(_0x5b44a3(0x110))/0x9*(-parseInt(_0x5b44a3(0x10d))/0xa)+parseInt(_0x5b44a3(0x10f))/0xb*(parseInt(_0x5b44a3(0x116))/0xc);if(_0xe61032===_0x4dea77)break;else _0x2a9820['push'](_0x2a9820['shift']());}catch(_0x1e1529){_0x2a9820['push'](_0x2a9820['shift']());}}}(a63_0x3554,0x899ca));export const AUTH_MODE={'ClientAk':a63_0x501485(0x115)};function a63_0xf503(_0x548d03,_0x3f5119){_0x548d03=_0x548d03-0x10a;const _0x35543a=a63_0x3554();let _0xf5037d=_0x35543a[_0x548d03];return _0xf5037d;}export function isAuthMode(_0x5e5ec7){const _0x92d707=a63_0x501485;return _0x5e5ec7===AUTH_MODE[_0x92d707(0x111)];}
@@ -1 +1 @@
1
- const a64_0x7a9932=a64_0x166a;(function(_0x12d67f,_0x3173da){const _0x374e41=a64_0x166a,_0x23d528=_0x12d67f();while(!![]){try{const _0x130327=parseInt(_0x374e41(0x105))/0x1+-parseInt(_0x374e41(0x122))/0x2*(parseInt(_0x374e41(0x10f))/0x3)+parseInt(_0x374e41(0x133))/0x4+parseInt(_0x374e41(0x12f))/0x5*(parseInt(_0x374e41(0xfe))/0x6)+-parseInt(_0x374e41(0x12a))/0x7*(parseInt(_0x374e41(0x10b))/0x8)+parseInt(_0x374e41(0x132))/0x9+-parseInt(_0x374e41(0x12c))/0xa*(parseInt(_0x374e41(0x124))/0xb);if(_0x130327===_0x3173da)break;else _0x23d528['push'](_0x23d528['shift']());}catch(_0x38f17a){_0x23d528['push'](_0x23d528['shift']());}}}(a64_0x499f,0xb6139));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';function a64_0x166a(_0x5ecb5e,_0x5ac98c){_0x5ecb5e=_0x5ecb5e-0xfe;const _0x499f26=a64_0x499f();let _0x166adf=_0x499f26[_0x5ecb5e];return _0x166adf;}export const CLI_BIN_NAME=PRODUCT_CONFIG[a64_0x7a9932(0x119)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a64_0x7a9932(0x11c)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a64_0x7a9932(0x106),'meowKey':a64_0x7a9932(0x106),'type':'string','description':a64_0x7a9932(0x114),'hint':a64_0x7a9932(0x10a)},{'name':a64_0x7a9932(0x130),'meowKey':a64_0x7a9932(0x130),'type':'string','description':a64_0x7a9932(0x104),'hint':a64_0x7a9932(0x11e)},{'name':a64_0x7a9932(0x123),'meowKey':a64_0x7a9932(0x123),'type':a64_0x7a9932(0x12b),'description':a64_0x7a9932(0x120),'hint':a64_0x7a9932(0x100)},{'name':a64_0x7a9932(0x113),'meowKey':a64_0x7a9932(0x113),'type':'string','description':a64_0x7a9932(0x125),'hint':a64_0x7a9932(0x109)},{'name':'jq','meowKey':'jq','type':a64_0x7a9932(0x12b),'description':a64_0x7a9932(0x12e),'hint':a64_0x7a9932(0x112)},{'name':a64_0x7a9932(0x118),'meowKey':a64_0x7a9932(0x126),'type':a64_0x7a9932(0x101),'description':a64_0x7a9932(0x11b)},{'name':a64_0x7a9932(0x128),'meowKey':'yes','type':a64_0x7a9932(0x101),'description':a64_0x7a9932(0x102)},{'name':'non-interactive','meowKey':a64_0x7a9932(0x10e),'type':'boolean','description':a64_0x7a9932(0x11a)},{'name':a64_0x7a9932(0x12d),'meowKey':a64_0x7a9932(0x12d),'type':a64_0x7a9932(0x101),'description':a64_0x7a9932(0x11f)},{'name':'ci','meowKey':'ci','type':a64_0x7a9932(0x101),'description':'Alias\x20for\x20--non-interactive','hidden':!![]},{'name':a64_0x7a9932(0x11d),'meowKey':'help','type':a64_0x7a9932(0x101),'description':a64_0x7a9932(0x108)},{'name':'id','meowKey':'id','type':'string','description':a64_0x7a9932(0x117),'hidden':!![]},{'name':a64_0x7a9932(0x110),'meowKey':a64_0x7a9932(0x110),'type':'string','description':a64_0x7a9932(0x10d),'hidden':!![]},{'name':'sqlcode','meowKey':'sqlcode','type':a64_0x7a9932(0x12b),'description':'SQL\x20query\x20code','hidden':!![]},{'name':'params','meowKey':a64_0x7a9932(0x103),'type':a64_0x7a9932(0x12b),'description':a64_0x7a9932(0x107),'hidden':!![]},{'name':a64_0x7a9932(0xff),'meowKey':a64_0x7a9932(0xff),'type':a64_0x7a9932(0x101),'description':a64_0x7a9932(0x127),'hidden':!![]},{'name':'clear','meowKey':a64_0x7a9932(0x10c),'type':a64_0x7a9932(0x101),'description':a64_0x7a9932(0x116),'hidden':!![]}];function a64_0x499f(){const _0x5bbcc9=['app','non-interactive','4899933GlpsMx','3789652lHLrIn','24zMTVWF','verbose','production\x20|\x20development\x20|\x20daily','boolean','Skip\x20confirmation\x20for\x20high-risk\x20writes','params','Select\x20app\x20profile\x20by\x20name','391771hEDvnf','appcode','JSON\x20params\x20for\x20execute\x20commands','Show\x20help','json\x20|\x20pretty\x20|\x20compress','<code>','32JQVpAF','clear','Name\x20filter','nonInteractive','3VrSaJJ','name','meowKey','<expr>','format','Override\x20appcode','type','Clear\x20output','Record\x20ID','dry-run','cliBinName','Force\x20non-interactive\x20mode\x20(CI)','Preview\x20operation\x20without\x20executing','cliDisplayName','help','<name>','Use\x20global\x20config\x20scope','Environment','fromEntries','1158874azEDfV','env','165Xgfexf','Output\x20format','dryRun','Verbose\x20output','yes','map','302561DlQvMw','string','546610ObZtsT','global','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','543010ckrjVm'];a64_0x499f=function(){return _0x5bbcc9;};return a64_0x499f();}export const PIPELINE_FLAG_NAMES=new Set([a64_0x7a9932(0x106),a64_0x7a9932(0x130),a64_0x7a9932(0x123),a64_0x7a9932(0x113),'jq',a64_0x7a9932(0x118),a64_0x7a9932(0x128),a64_0x7a9932(0x131),'ci']);export function buildMeowFlags(){const _0x401950=a64_0x7a9932;return Object[_0x401950(0x121)](GLOBAL_FLAGS[_0x401950(0x129)](_0x1ca8d6=>[_0x1ca8d6[_0x401950(0x111)],{'type':_0x1ca8d6[_0x401950(0x115)]}]));}
1
+ const a64_0x218306=a64_0x24de;(function(_0x137db9,_0x39f316){const _0x6589f3=a64_0x24de,_0x122929=_0x137db9();while(!![]){try{const _0x140081=parseInt(_0x6589f3(0x15e))/0x1*(-parseInt(_0x6589f3(0x14e))/0x2)+parseInt(_0x6589f3(0x156))/0x3*(parseInt(_0x6589f3(0x144))/0x4)+-parseInt(_0x6589f3(0x141))/0x5*(-parseInt(_0x6589f3(0x139))/0x6)+parseInt(_0x6589f3(0x15b))/0x7+-parseInt(_0x6589f3(0x153))/0x8+-parseInt(_0x6589f3(0x138))/0x9*(parseInt(_0x6589f3(0x130))/0xa)+parseInt(_0x6589f3(0x12c))/0xb*(parseInt(_0x6589f3(0x151))/0xc);if(_0x140081===_0x39f316)break;else _0x122929['push'](_0x122929['shift']());}catch(_0xdb36c1){_0x122929['push'](_0x122929['shift']());}}}(a64_0x38c3,0x51a3d));function a64_0x24de(_0x1d0eb2,_0x5f4d0b){_0x1d0eb2=_0x1d0eb2-0x12b;const _0x38c3ad=a64_0x38c3();let _0x24de6e=_0x38c3ad[_0x1d0eb2];return _0x24de6e;}import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a64_0x218306(0x13e)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a64_0x218306(0x12d)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':'appcode','meowKey':'appcode','type':a64_0x218306(0x15c),'description':a64_0x218306(0x14b),'hint':a64_0x218306(0x131)},{'name':a64_0x218306(0x146),'meowKey':a64_0x218306(0x146),'type':'string','description':a64_0x218306(0x12e),'hint':'<name>'},{'name':'env','meowKey':a64_0x218306(0x14a),'type':a64_0x218306(0x15c),'description':a64_0x218306(0x158),'hint':a64_0x218306(0x150)},{'name':a64_0x218306(0x14d),'meowKey':a64_0x218306(0x14d),'type':a64_0x218306(0x15c),'description':'Output\x20format','hint':a64_0x218306(0x134)},{'name':'jq','meowKey':'jq','type':a64_0x218306(0x15c),'description':a64_0x218306(0x13a),'hint':a64_0x218306(0x13c)},{'name':a64_0x218306(0x148),'meowKey':a64_0x218306(0x15d),'type':'boolean','description':'Preview\x20operation\x20without\x20executing'},{'name':a64_0x218306(0x154),'meowKey':'yes','type':a64_0x218306(0x12f),'description':a64_0x218306(0x133)},{'name':a64_0x218306(0x149),'meowKey':a64_0x218306(0x137),'type':'boolean','description':a64_0x218306(0x135)},{'name':a64_0x218306(0x13f),'meowKey':'global','type':a64_0x218306(0x12f),'description':a64_0x218306(0x145)},{'name':'ci','meowKey':'ci','type':a64_0x218306(0x12f),'description':a64_0x218306(0x13d),'hidden':!![]},{'name':a64_0x218306(0x143),'meowKey':'help','type':a64_0x218306(0x12f),'description':a64_0x218306(0x13b)},{'name':'id','meowKey':'id','type':a64_0x218306(0x15c),'description':'Record\x20ID','hidden':!![]},{'name':'name','meowKey':a64_0x218306(0x147),'type':a64_0x218306(0x15c),'description':a64_0x218306(0x12b),'hidden':!![]},{'name':a64_0x218306(0x159),'meowKey':a64_0x218306(0x159),'type':'string','description':a64_0x218306(0x136),'hidden':!![]},{'name':a64_0x218306(0x157),'meowKey':a64_0x218306(0x157),'type':a64_0x218306(0x15c),'description':'JSON\x20params\x20for\x20execute\x20commands','hidden':!![]},{'name':a64_0x218306(0x155),'meowKey':a64_0x218306(0x155),'type':a64_0x218306(0x12f),'description':a64_0x218306(0x14c),'hidden':!![]},{'name':a64_0x218306(0x15f),'meowKey':a64_0x218306(0x15f),'type':a64_0x218306(0x12f),'description':a64_0x218306(0x142),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a64_0x218306(0x15a),'app',a64_0x218306(0x14a),a64_0x218306(0x14d),'jq',a64_0x218306(0x148),a64_0x218306(0x154),a64_0x218306(0x149),'ci']);function a64_0x38c3(){const _0x105ff2=['params','Environment','sqlcode','appcode','229047nRDNDg','string','dryRun','26072GCaMhz','clear','Name\x20filter','15895uFgaGG','cliDisplayName','Select\x20app\x20profile\x20by\x20name','boolean','1098070qrkVtF','<code>','map','Skip\x20confirmation\x20for\x20high-risk\x20writes','json\x20|\x20pretty\x20|\x20compress','Force\x20non-interactive\x20mode\x20(CI)','SQL\x20query\x20code','nonInteractive','9apQYae','246lrWRDd','Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','Show\x20help','<expr>','Alias\x20for\x20--non-interactive','cliBinName','global','type','26960tPURuX','Clear\x20output','help','526060hXOOhB','Use\x20global\x20config\x20scope','app','name','dry-run','non-interactive','env','Override\x20appcode','Verbose\x20output','format','6nkSotv','meowKey','production\x20|\x20development\x20|\x20daily','6312czyjMy','fromEntries','4983664Vtflwm','yes','verbose','3mOkhen'];a64_0x38c3=function(){return _0x105ff2;};return a64_0x38c3();}export function buildMeowFlags(){const _0x10a8f5=a64_0x218306;return Object[_0x10a8f5(0x152)](GLOBAL_FLAGS[_0x10a8f5(0x132)](_0x334398=>[_0x334398[_0x10a8f5(0x14f)],{'type':_0x334398[_0x10a8f5(0x140)]}]));}
@@ -1 +1 @@
1
- const a65_0x3497b3=a65_0xf0ca;function a65_0x2d8e(){const _0x156411=['main','9pzQoKB','650exeAoo','en-US','2679EMdqtw','6OjmhBA','36005472UmLUgU','compress','564860TdTfNw','4279374AbrZmB','20ljpFcm','28ZiHAuc','production','491560HkUxWQ','700550jqhMJK','6077099IhsZqi'];a65_0x2d8e=function(){return _0x156411;};return a65_0x2d8e();}(function(_0x100a09,_0x30f052){const _0x360cc2=a65_0xf0ca,_0x57aea8=_0x100a09();while(!![]){try{const _0x37a318=parseInt(_0x360cc2(0x12a))/0x1+parseInt(_0x360cc2(0x11e))/0x2*(parseInt(_0x360cc2(0x120))/0x3)+-parseInt(_0x360cc2(0x127))/0x4*(-parseInt(_0x360cc2(0x124))/0x5)+parseInt(_0x360cc2(0x121))/0x6*(parseInt(_0x360cc2(0x11b))/0x7)+parseInt(_0x360cc2(0x129))/0x8*(parseInt(_0x360cc2(0x11d))/0x9)+-parseInt(_0x360cc2(0x126))/0xa*(-parseInt(_0x360cc2(0x125))/0xb)+-parseInt(_0x360cc2(0x122))/0xc;if(_0x37a318===_0x30f052)break;else _0x57aea8['push'](_0x57aea8['shift']());}catch(_0x133ffd){_0x57aea8['push'](_0x57aea8['shift']());}}}(a65_0x2d8e,0x77559));export const DEFAULT_APP_PROFILE_NAME=a65_0x3497b3(0x11c);function a65_0xf0ca(_0x5bcaf1,_0x38653b){_0x5bcaf1=_0x5bcaf1-0x11b;const _0x2d8e69=a65_0x2d8e();let _0xf0ca43=_0x2d8e69[_0x5bcaf1];return _0xf0ca43;}export const DEFAULT_CONFIG_VALUES={'env':a65_0x3497b3(0x128),'format':a65_0x3497b3(0x123),'locale':a65_0x3497b3(0x11f),'riskLevel':'write'};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a65_0x3497b3(0x123);
1
+ const a65_0x581a4d=a65_0x4050;(function(_0x862dd9,_0x358ea0){const _0x4c5cb8=a65_0x4050,_0x321041=_0x862dd9();while(!![]){try{const _0x3beecd=-parseInt(_0x4c5cb8(0xd4))/0x1*(-parseInt(_0x4c5cb8(0xd8))/0x2)+-parseInt(_0x4c5cb8(0xcb))/0x3*(-parseInt(_0x4c5cb8(0xcc))/0x4)+-parseInt(_0x4c5cb8(0xce))/0x5*(parseInt(_0x4c5cb8(0xcf))/0x6)+-parseInt(_0x4c5cb8(0xd1))/0x7*(-parseInt(_0x4c5cb8(0xc9))/0x8)+parseInt(_0x4c5cb8(0xd2))/0x9*(parseInt(_0x4c5cb8(0xd6))/0xa)+parseInt(_0x4c5cb8(0xd0))/0xb*(-parseInt(_0x4c5cb8(0xc8))/0xc)+-parseInt(_0x4c5cb8(0xcd))/0xd;if(_0x3beecd===_0x358ea0)break;else _0x321041['push'](_0x321041['shift']());}catch(_0x2ea015){_0x321041['push'](_0x321041['shift']());}}}(a65_0x5cd9,0x5628d));function a65_0x4050(_0x4b3fc0,_0x51c7bc){_0x4b3fc0=_0x4b3fc0-0xc7;const _0x5cd929=a65_0x5cd9();let _0x405035=_0x5cd929[_0x4b3fc0];return _0x405035;}export const DEFAULT_APP_PROFILE_NAME=a65_0x581a4d(0xd3);export const DEFAULT_CONFIG_VALUES={'env':a65_0x581a4d(0xd5),'format':'compress','locale':a65_0x581a4d(0xca),'riskLevel':a65_0x581a4d(0xd7)};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a65_0x581a4d(0xc7);function a65_0x5cd9(){const _0x31afd8=['en-US','9TdSnoS','675344FPHJtr','1754740pZZsQJ','5NCaeSE','2778678lqqZPk','2619276BLXIEj','14679JYgpVN','2047779MtBzuL','main','184OJhTUO','production','10boUTHY','write','1140OQWovw','compress','12bczrca','1336eVUICA'];a65_0x5cd9=function(){return _0x31afd8;};return a65_0x5cd9();}
@@ -1 +1 @@
1
- const a66_0x1502a2=a66_0x4c7d;(function(_0x4bc75e,_0x57d9f2){const _0x308951=a66_0x4c7d,_0x3fd67b=_0x4bc75e();while(!![]){try{const _0x2590e5=parseInt(_0x308951(0xea))/0x1*(parseInt(_0x308951(0xe6))/0x2)+-parseInt(_0x308951(0xe9))/0x3*(-parseInt(_0x308951(0xe3))/0x4)+parseInt(_0x308951(0xe8))/0x5*(parseInt(_0x308951(0xe2))/0x6)+-parseInt(_0x308951(0xe4))/0x7+parseInt(_0x308951(0xe5))/0x8*(parseInt(_0x308951(0xeb))/0x9)+parseInt(_0x308951(0xe1))/0xa*(parseInt(_0x308951(0xec))/0xb)+-parseInt(_0x308951(0xed))/0xc*(parseInt(_0x308951(0xe7))/0xd);if(_0x2590e5===_0x57d9f2)break;else _0x3fd67b['push'](_0x3fd67b['shift']());}catch(_0x28117a){_0x3fd67b['push'](_0x3fd67b['shift']());}}}(a66_0x18ce,0x96d02));function a66_0x18ce(){const _0x74611c=['24WgqFQs','npmRegistryBaseUrl','npmPackageName','10ZSLyGv','3378MKnfnE','4FnyDke','2569763GHaQEy','1282712CkZOuC','2fKqZjJ','20340151UjXQIQ','5435kWRKCk','2349231hxNhys','1120404VINAak','45KukJIx','8766296oPbieD'];a66_0x18ce=function(){return _0x74611c;};return a66_0x18ce();}function a66_0x4c7d(_0x85e730,_0x45e8d7){_0x85e730=_0x85e730-0xe1;const _0x18ce28=a66_0x18ce();let _0x4c7d38=_0x18ce28[_0x85e730];return _0x4c7d38;}import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a66_0x1502a2(0xef)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG['skillSource'];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a66_0x1502a2(0xee)];
1
+ const a66_0x1fd8a9=a66_0x1438;(function(_0x29b44a,_0x8ace64){const _0x58ddb4=a66_0x1438,_0x2f4b4c=_0x29b44a();while(!![]){try{const _0x14174b=-parseInt(_0x58ddb4(0x1f5))/0x1*(parseInt(_0x58ddb4(0x1ef))/0x2)+-parseInt(_0x58ddb4(0x1f4))/0x3+parseInt(_0x58ddb4(0x1ee))/0x4*(-parseInt(_0x58ddb4(0x1f2))/0x5)+-parseInt(_0x58ddb4(0x1f0))/0x6+-parseInt(_0x58ddb4(0x1eb))/0x7*(-parseInt(_0x58ddb4(0x1f3))/0x8)+parseInt(_0x58ddb4(0x1ec))/0x9+parseInt(_0x58ddb4(0x1ed))/0xa;if(_0x14174b===_0x8ace64)break;else _0x2f4b4c['push'](_0x2f4b4c['shift']());}catch(_0x4bc154){_0x2f4b4c['push'](_0x2f4b4c['shift']());}}}(a66_0x4159,0xb402a));import{PRODUCT_CONFIG}from'../constant/product.js';function a66_0x4159(){const _0x5a27d7=['32gyqusG','1829094UMcsLd','617657XuOYpU','npmPackageName','283157eZseEM','11594286jfwjoq','23099320KFgMdC','300GbRYrs','2tLCPmy','8678478MPvvov','skillSource','23260ZTYLAy'];a66_0x4159=function(){return _0x5a27d7;};return a66_0x4159();}export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a66_0x1fd8a9(0x1f6)];export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a66_0x1fd8a9(0x1f1)];function a66_0x1438(_0x1caff2,_0x18935b){_0x1caff2=_0x1caff2-0x1eb;const _0x415953=a66_0x4159();let _0x1438bc=_0x415953[_0x1caff2];return _0x1438bc;}export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG['npmRegistryBaseUrl'];
@@ -1 +1 @@
1
- const a67_0x3e9ad2=a67_0xc699;(function(_0x4b7a87,_0x4bd83a){const _0x48d706=a67_0xc699,_0x554097=_0x4b7a87();while(!![]){try{const _0x1cab7f=parseInt(_0x48d706(0x170))/0x1+parseInt(_0x48d706(0x181))/0x2+parseInt(_0x48d706(0x174))/0x3+parseInt(_0x48d706(0x180))/0x4+parseInt(_0x48d706(0x179))/0x5+parseInt(_0x48d706(0x17e))/0x6+-parseInt(_0x48d706(0x17a))/0x7;if(_0x1cab7f===_0x4bd83a)break;else _0x554097['push'](_0x554097['shift']());}catch(_0x5a3c34){_0x554097['push'](_0x554097['shift']());}}}(a67_0x52b7,0xd87fc));import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillHubDomain;function a67_0xc699(_0x110a59,_0x50ebc6){_0x110a59=_0x110a59-0x170;const _0x52b7fd=a67_0x52b7();let _0xc69949=_0x52b7fd[_0x110a59];return _0xc69949;}export function initDomains(_0x1d0aa6){const _0x17100d=a67_0xc699;customApiDomain=_0x1d0aa6?.[_0x17100d(0x17c)],customUserDomain=_0x1d0aa6?.[_0x17100d(0x175)],customRuntimeDomain=_0x1d0aa6?.[_0x17100d(0x173)],customSkillHubDomain=_0x1d0aa6?.[_0x17100d(0x171)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a67_0x3e9ad2(0x172)]['production'][a67_0x3e9ad2(0x178)]:PRODUCT_CONFIG[a67_0x3e9ad2(0x172)]['nonProduction'][a67_0x3e9ad2(0x178)]);function a67_0x52b7(){const _0x3b93a0=['1247500JgUgMX','skillHubDomain','domains','runtimeDomain','5169015EprKBq','userDomain','runtime','api','user','6174350eZIDKw','45027521SHkFmd','skillhub','apiDomain','nonProduction','8844822CWOjkb','production','1377116ZKGzcG','2590984FSNhaq'];a67_0x52b7=function(){return _0x3b93a0;};return a67_0x52b7();}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a67_0x3e9ad2(0x172)][a67_0x3e9ad2(0x17f)][a67_0x3e9ad2(0x177)]:PRODUCT_CONFIG[a67_0x3e9ad2(0x172)][a67_0x3e9ad2(0x17d)][a67_0x3e9ad2(0x177)]);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a67_0x3e9ad2(0x17f)][a67_0x3e9ad2(0x176)]:PRODUCT_CONFIG[a67_0x3e9ad2(0x172)][a67_0x3e9ad2(0x17d)][a67_0x3e9ad2(0x176)]);export const getSkillHubDomain=()=>customSkillHubDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a67_0x3e9ad2(0x172)][a67_0x3e9ad2(0x17f)]['skillhub']:PRODUCT_CONFIG[a67_0x3e9ad2(0x172)][a67_0x3e9ad2(0x17d)][a67_0x3e9ad2(0x17b)]);
1
+ const a67_0x2f2282=a67_0x221e;(function(_0x3dd752,_0x128d00){const _0x2be4a6=a67_0x221e,_0x2f1da5=_0x3dd752();while(!![]){try{const _0x4d4a55=-parseInt(_0x2be4a6(0x1b4))/0x1*(-parseInt(_0x2be4a6(0x1bf))/0x2)+parseInt(_0x2be4a6(0x1b0))/0x3*(parseInt(_0x2be4a6(0x1ae))/0x4)+parseInt(_0x2be4a6(0x1b3))/0x5*(parseInt(_0x2be4a6(0x1b9))/0x6)+-parseInt(_0x2be4a6(0x1b1))/0x7+parseInt(_0x2be4a6(0x1b5))/0x8*(-parseInt(_0x2be4a6(0x1ac))/0x9)+-parseInt(_0x2be4a6(0x1b6))/0xa*(parseInt(_0x2be4a6(0x1ab))/0xb)+parseInt(_0x2be4a6(0x1bb))/0xc;if(_0x4d4a55===_0x128d00)break;else _0x2f1da5['push'](_0x2f1da5['shift']());}catch(_0x21f0d4){_0x2f1da5['push'](_0x2f1da5['shift']());}}}(a67_0x1597,0x8f5fe));import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain,customSkillHubDomain;export function initDomains(_0xa65aa){const _0x3c9ef2=a67_0x221e;customApiDomain=_0xa65aa?.[_0x3c9ef2(0x1b8)],customUserDomain=_0xa65aa?.[_0x3c9ef2(0x1bc)],customRuntimeDomain=_0xa65aa?.[_0x3c9ef2(0x1b2)],customSkillHubDomain=_0xa65aa?.['skillHubDomain'];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a67_0x2f2282(0x1be)][a67_0x2f2282(0x1c0)][a67_0x2f2282(0x1ba)]:PRODUCT_CONFIG['domains']['nonProduction'][a67_0x2f2282(0x1ba)]);export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG['domains'][a67_0x2f2282(0x1c0)][a67_0x2f2282(0x1bd)]:PRODUCT_CONFIG[a67_0x2f2282(0x1be)][a67_0x2f2282(0x1af)][a67_0x2f2282(0x1bd)]);function a67_0x221e(_0x3cabfd,_0x52ffae){_0x3cabfd=_0x3cabfd-0x1ab;const _0x1597c6=a67_0x1597();let _0x221eae=_0x1597c6[_0x3cabfd];return _0x221eae;}function a67_0x1597(){const _0x12c4c7=['48NFFeDc','user','12014232XNUCmF','userDomain','api','domains','8MNoQLQ','production','3067999ZNFkCe','5751VaeXfp','runtime','188pQNHkx','nonProduction','27969yxriMw','6646150eKHrpo','runtimeDomain','632865XxJeCo','58733BOTLNV','7416IQhArM','20KLuVyx','skillhub','apiDomain'];a67_0x1597=function(){return _0x12c4c7;};return a67_0x1597();}export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a67_0x2f2282(0x1be)][a67_0x2f2282(0x1c0)]['runtime']:PRODUCT_CONFIG[a67_0x2f2282(0x1be)][a67_0x2f2282(0x1af)][a67_0x2f2282(0x1ad)]);export const getSkillHubDomain=()=>customSkillHubDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a67_0x2f2282(0x1be)][a67_0x2f2282(0x1c0)][a67_0x2f2282(0x1b7)]:PRODUCT_CONFIG[a67_0x2f2282(0x1be)][a67_0x2f2282(0x1af)][a67_0x2f2282(0x1b7)]);
@@ -1 +1 @@
1
- const a68_0x2ace65=a68_0xea96;function a68_0xea96(_0x35d666,_0x3fbffe){_0x35d666=_0x35d666-0x14a;const _0x10b5f2=a68_0x10b5();let _0xea965e=_0x10b5f2[_0x35d666];return _0xea965e;}(function(_0x185226,_0x4a215e){const _0x495088=a68_0xea96,_0x1f6dc4=_0x185226();while(!![]){try{const _0x31cb19=parseInt(_0x495088(0x14f))/0x1+-parseInt(_0x495088(0x152))/0x2*(parseInt(_0x495088(0x158))/0x3)+parseInt(_0x495088(0x151))/0x4*(-parseInt(_0x495088(0x14e))/0x5)+-parseInt(_0x495088(0x14a))/0x6+parseInt(_0x495088(0x14d))/0x7*(-parseInt(_0x495088(0x156))/0x8)+-parseInt(_0x495088(0x155))/0x9+parseInt(_0x495088(0x14b))/0xa;if(_0x31cb19===_0x4a215e)break;else _0x1f6dc4['push'](_0x1f6dc4['shift']());}catch(_0x22a8f9){_0x1f6dc4['push'](_0x1f6dc4['shift']());}}}(a68_0x10b5,0xc6f40));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a68_0x2ace65(0x157),a68_0x2ace65(0x154),a68_0x2ace65(0x150)];export function normalizeEnv(_0x50ba64){const _0x3896d3=a68_0x2ace65;return _0x50ba64===_0x3896d3(0x14c)?_0x3896d3(0x157):_0x50ba64;}export function isProduction(_0x2d37cb){const _0x5960a8=a68_0x2ace65;return normalizeEnv(_0x2d37cb)===_0x5960a8(0x157);}export function isDaily(_0x2ca6e1){const _0x11bfe6=a68_0x2ace65;return normalizeEnv(_0x2ca6e1)===_0x11bfe6(0x150);}export function isDev(_0x44805d){const _0x5297e8=a68_0x2ace65,_0x13f1bb=normalizeEnv(_0x44805d);return _0x13f1bb===_0x5297e8(0x154)||_0x13f1bb===_0x5297e8(0x153);}function a68_0x10b5(){const _0x3f96f5=['13101471mmygYc','79456aRkXfd','production','3LhREyY','4357302SkEtns','31310480gdhzQT','online','371MxQXhS','22840OGMnzn','1194145fHneVh','daily','648OCMGTU','123866cgWbwR','dev','development'];a68_0x10b5=function(){return _0x3f96f5;};return a68_0x10b5();}let env=normalizeEnv(productEnv('ENV')||'production');export function getEnv(){return env;}export function initEnv(_0x33a39b){env=normalizeEnv(_0x33a39b);}
1
+ function a68_0x1ec5(_0x2d8ff6,_0x38e732){_0x2d8ff6=_0x2d8ff6-0x9e;const _0x586f48=a68_0x586f();let _0x1ec5f9=_0x586f48[_0x2d8ff6];return _0x1ec5f9;}const a68_0x6d73ab=a68_0x1ec5;(function(_0x1a5834,_0x12feda){const _0x5bf9e2=a68_0x1ec5,_0x325b7c=_0x1a5834();while(!![]){try{const _0x25d5ba=-parseInt(_0x5bf9e2(0x9f))/0x1+parseInt(_0x5bf9e2(0xa0))/0x2*(parseInt(_0x5bf9e2(0xa8))/0x3)+parseInt(_0x5bf9e2(0xa2))/0x4+parseInt(_0x5bf9e2(0xad))/0x5+-parseInt(_0x5bf9e2(0xa1))/0x6*(parseInt(_0x5bf9e2(0x9e))/0x7)+-parseInt(_0x5bf9e2(0xa7))/0x8*(parseInt(_0x5bf9e2(0xac))/0x9)+parseInt(_0x5bf9e2(0xa4))/0xa*(parseInt(_0x5bf9e2(0xa5))/0xb);if(_0x25d5ba===_0x12feda)break;else _0x325b7c['push'](_0x325b7c['shift']());}catch(_0x5b2416){_0x325b7c['push'](_0x325b7c['shift']());}}}(a68_0x586f,0x24884));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a68_0x6d73ab(0xa9),a68_0x6d73ab(0xaa),a68_0x6d73ab(0xab)];export function normalizeEnv(_0x5d7abf){const _0x45d6f2=a68_0x6d73ab;return _0x5d7abf===_0x45d6f2(0xa3)?_0x45d6f2(0xa9):_0x5d7abf;}export function isProduction(_0x3608b2){const _0x5a067a=a68_0x6d73ab;return normalizeEnv(_0x3608b2)===_0x5a067a(0xa9);}export function isDaily(_0x481899){const _0x15fa00=a68_0x6d73ab;return normalizeEnv(_0x481899)===_0x15fa00(0xab);}function a68_0x586f(){const _0x2d9552=['1537512QQnCVV','1086uiLSLB','production','development','daily','9HSoTHV','704025NMbABU','25655MWfIPR','210293sAfkpK','1570TQlopi','402pPgnBS','600384bQwrqG','online','10ipFbGl','2448622HlkxwL','dev'];a68_0x586f=function(){return _0x2d9552;};return a68_0x586f();}export function isDev(_0xbd64ec){const _0x25dbaa=a68_0x6d73ab,_0x4907e8=normalizeEnv(_0xbd64ec);return _0x4907e8===_0x25dbaa(0xaa)||_0x4907e8===_0x25dbaa(0xa6);}let env=normalizeEnv(productEnv('ENV')||a68_0x6d73ab(0xa9));export function getEnv(){return env;}export function initEnv(_0x3f5959){env=normalizeEnv(_0x3f5959);}
@@ -1 +1 @@
1
- const a69_0x443ce4=a69_0x219c;function a69_0x219c(_0x6d881e,_0x554f8f){_0x6d881e=_0x6d881e-0x8e;const _0x216745=a69_0x2167();let _0x219c5a=_0x216745[_0x6d881e];return _0x219c5a;}function a69_0x2167(){const _0x470d6c=['10DmOgKe','pretty','79jSZVBH','6904QDxvwq','1395254IhAYez','1223271qgJejZ','16464sgKjFs','10684zQUngg','json','7766sxfZHg','6WScEju','417483yHsxhU','1416560msYPjU','265PqKESQ'];a69_0x2167=function(){return _0x470d6c;};return a69_0x2167();}(function(_0x5dd80a,_0x4a5a6d){const _0x499e51=a69_0x219c,_0x4c6542=_0x5dd80a();while(!![]){try{const _0x208343=-parseInt(_0x499e51(0x8e))/0x1*(parseInt(_0x499e51(0x93))/0x2)+-parseInt(_0x499e51(0x97))/0x3+-parseInt(_0x499e51(0x8f))/0x4*(-parseInt(_0x499e51(0x99))/0x5)+parseInt(_0x499e51(0x96))/0x6*(parseInt(_0x499e51(0x90))/0x7)+-parseInt(_0x499e51(0x98))/0x8+-parseInt(_0x499e51(0x91))/0x9*(parseInt(_0x499e51(0x9a))/0xa)+parseInt(_0x499e51(0x95))/0xb*(parseInt(_0x499e51(0x92))/0xc);if(_0x208343===_0x4a5a6d)break;else _0x4c6542['push'](_0x4c6542['shift']());}catch(_0x56fe94){_0x4c6542['push'](_0x4c6542['shift']());}}}(a69_0x2167,0x5e0f0));export const OUTPUT_FORMAT_VALUES=[a69_0x443ce4(0x94),a69_0x443ce4(0x9b),'compress'];
1
+ const a69_0x3bbfc0=a69_0x3a69;(function(_0x3388a0,_0x36e520){const _0x5e2ce3=a69_0x3a69,_0x284e1f=_0x3388a0();while(!![]){try{const _0x3bcc2b=-parseInt(_0x5e2ce3(0x198))/0x1*(parseInt(_0x5e2ce3(0x1a2))/0x2)+parseInt(_0x5e2ce3(0x19d))/0x3+parseInt(_0x5e2ce3(0x19b))/0x4+-parseInt(_0x5e2ce3(0x197))/0x5*(-parseInt(_0x5e2ce3(0x19f))/0x6)+-parseInt(_0x5e2ce3(0x19e))/0x7+parseInt(_0x5e2ce3(0x1a1))/0x8*(parseInt(_0x5e2ce3(0x19a))/0x9)+parseInt(_0x5e2ce3(0x196))/0xa*(-parseInt(_0x5e2ce3(0x199))/0xb);if(_0x3bcc2b===_0x36e520)break;else _0x284e1f['push'](_0x284e1f['shift']());}catch(_0x1b389b){_0x284e1f['push'](_0x284e1f['shift']());}}}(a69_0x5b89,0x1fa5c));export const OUTPUT_FORMAT_VALUES=[a69_0x3bbfc0(0x1a0),a69_0x3bbfc0(0x19c),'compress'];function a69_0x3a69(_0x4f7bf1,_0x3f8c4b){_0x4f7bf1=_0x4f7bf1-0x196;const _0x5b898f=a69_0x5b89();let _0x3a690b=_0x5b898f[_0x4f7bf1];return _0x3a690b;}function a69_0x5b89(){const _0x4918b7=['26344lufoAc','178064Qrwtsa','10uqYMQx','55rbqovh','2jXHKDk','3143932sstvua','513cZcMlL','1032232CJeQWa','pretty','206607yiIcPM','1145795fYeEwC','132306TYYyEn','json'];a69_0x5b89=function(){return _0x4918b7;};return a69_0x5b89();}
@@ -1 +1 @@
1
- const a70_0x3cd26a=a70_0x54df;(function(_0x43bff2,_0x1f6ae7){const _0x4d68f9=a70_0x54df,_0x1c6ad8=_0x43bff2();while(!![]){try{const _0x380afd=-parseInt(_0x4d68f9(0x1c5))/0x1*(-parseInt(_0x4d68f9(0x1b9))/0x2)+parseInt(_0x4d68f9(0x1ba))/0x3*(-parseInt(_0x4d68f9(0x1b7))/0x4)+-parseInt(_0x4d68f9(0x1bd))/0x5*(-parseInt(_0x4d68f9(0x1bb))/0x6)+parseInt(_0x4d68f9(0x1c1))/0x7+parseInt(_0x4d68f9(0x1a7))/0x8+parseInt(_0x4d68f9(0x1c4))/0x9+-parseInt(_0x4d68f9(0x1b6))/0xa;if(_0x380afd===_0x1f6ae7)break;else _0x1c6ad8['push'](_0x1c6ad8['shift']());}catch(_0x13e801){_0x1c6ad8['push'](_0x1c6ad8['shift']());}}}(a70_0x57fa,0x61e1f));export const PRODUCT_CONFIG={'cliBinName':'lovrabet','cliDisplayName':a70_0x3cd26a(0x1b2),'npmPackageName':a70_0x3cd26a(0x1ab),'skillSource':a70_0x3cd26a(0x1ac),'npmRegistryBaseUrl':a70_0x3cd26a(0x1ad),'envPrefix':a70_0x3cd26a(0x1b1),'legacyEnvPrefixes':[a70_0x3cd26a(0x1b5)],'configFileNames':[a70_0x3cd26a(0x1af),'.lovrabetrc'],'newConfigFileName':'.lovrabet.json','homeDirName':'.lovrabet','logFileName':a70_0x3cd26a(0x1ae),'invokeSource':a70_0x3cd26a(0x1bf),'userCenterDisplayName':a70_0x3cd26a(0x1bc),'skipNpxSkillsEnvSuffix':a70_0x3cd26a(0x1c3),'domains':{'production':{'user':a70_0x3cd26a(0x1b8),'api':a70_0x3cd26a(0x1b0),'runtime':a70_0x3cd26a(0x1c0),'skillhub':a70_0x3cd26a(0x1c6)},'nonProduction':{'user':a70_0x3cd26a(0x1a6),'api':a70_0x3cd26a(0x1a8),'runtime':a70_0x3cd26a(0x1b4),'skillhub':a70_0x3cd26a(0x1be)}},'accessKeyCreatePath':a70_0x3cd26a(0x1aa)};function a70_0x57fa(){const _0x36d7bb=['map','https://daily-runtime.lovrabet.com','RABETBASE','14250600BWJzNF','92EPSFgv','https://user.lovrabet.com','5174hAQZpH','35214zKwkqz','12rtzcro','Lovrabet\x20User\x20Center','446365baHTaw','https://skills-daily.lovrabet.com','cli:lovrabet-runtime','https://runtime.lovrabet.com','4651577cVmjju','legacyEnvPrefixes','SKIP_NPX_SKILLS','1354095HESHDF','123mYbDZN','https://skills.lovrabet.com','https://user-daily.lovrabet.com','6273984obKTmJ','https://daily-api.lovrabet.com','envPrefix','/user/ak','@lovrabet/lovrabet-cli','lovrabet/lovrabet-cli','https://registry.npmjs.org','.lovrabet-runtime.log','.lovrabet.json','https://api.lovrabet.com','LOVRABET','Lovrabet\x20Runtime\x20CLI'];a70_0x57fa=function(){return _0x36d7bb;};return a70_0x57fa();}function a70_0x54df(_0x2ce4ea,_0xc41e23){_0x2ce4ea=_0x2ce4ea-0x1a6;const _0x57faf2=a70_0x57fa();let _0x54df99=_0x57faf2[_0x2ce4ea];return _0x54df99;}export function productEnvName(_0x2815cc){const _0x1c7523=a70_0x3cd26a;return PRODUCT_CONFIG[_0x1c7523(0x1a9)]+'_'+_0x2815cc;}export function productEnvNames(_0x112dac){const _0x582286=a70_0x3cd26a;return[productEnvName(_0x112dac),...PRODUCT_CONFIG[_0x582286(0x1c2)][_0x582286(0x1b3)](_0x5e95b3=>_0x5e95b3+'_'+_0x112dac)];}export function productEnv(_0x486d31){for(const _0xc8ed91 of productEnvNames(_0x486d31)){const _0x454f97=process.env[_0xc8ed91];if(_0x454f97!==undefined)return _0x454f97;}return undefined;}
1
+ const a70_0x3e6a09=a70_0x5a23;(function(_0x2d9fdf,_0x18a866){const _0x348685=a70_0x5a23,_0x329d8c=_0x2d9fdf();while(!![]){try{const _0x8c9d8a=-parseInt(_0x348685(0xfa))/0x1+-parseInt(_0x348685(0x10e))/0x2+-parseInt(_0x348685(0x10f))/0x3+parseInt(_0x348685(0x114))/0x4+-parseInt(_0x348685(0x105))/0x5*(parseInt(_0x348685(0x110))/0x6)+-parseInt(_0x348685(0xff))/0x7*(parseInt(_0x348685(0x112))/0x8)+parseInt(_0x348685(0x10a))/0x9;if(_0x8c9d8a===_0x18a866)break;else _0x329d8c['push'](_0x329d8c['shift']());}catch(_0x25806b){_0x329d8c['push'](_0x329d8c['shift']());}}}(a70_0x50f5,0xd0f76));function a70_0x50f5(){const _0xbed5e5=['https://daily-runtime.lovrabet.com','lovrabet/lovrabet-cli','Lovrabet\x20Runtime\x20CLI','687078NTJhrU','legacyEnvPrefixes','https://runtime.lovrabet.com','https://user-daily.lovrabet.com','https://user.lovrabet.com','1475523ugqReB','map','SKIP_NPX_SKILLS','RABETBASE','Lovrabet\x20User\x20Center','@lovrabet/lovrabet-cli','7205IoHnaN','.lovrabet.json','https://skills.lovrabet.com','envPrefix','https://registry.npmjs.org','50921190MEwXIo','.lovrabet','.lovrabetrc','https://api.lovrabet.com','1760860TynPwg','4672104PtRAdM','372YtbDZZ','https://skills-daily.lovrabet.com','64AxCQsT','https://daily-api.lovrabet.com','394184Pfuifp','.lovrabet-runtime.log'];a70_0x50f5=function(){return _0xbed5e5;};return a70_0x50f5();}export const PRODUCT_CONFIG={'cliBinName':'lovrabet','cliDisplayName':a70_0x3e6a09(0xf9),'npmPackageName':a70_0x3e6a09(0x104),'skillSource':a70_0x3e6a09(0x117),'npmRegistryBaseUrl':a70_0x3e6a09(0x109),'envPrefix':'LOVRABET','legacyEnvPrefixes':[a70_0x3e6a09(0x102)],'configFileNames':[a70_0x3e6a09(0x106),a70_0x3e6a09(0x10c)],'newConfigFileName':a70_0x3e6a09(0x106),'homeDirName':a70_0x3e6a09(0x10b),'logFileName':a70_0x3e6a09(0x115),'invokeSource':'cli:lovrabet-runtime','userCenterDisplayName':a70_0x3e6a09(0x103),'skipNpxSkillsEnvSuffix':a70_0x3e6a09(0x101),'domains':{'production':{'user':a70_0x3e6a09(0xfe),'api':a70_0x3e6a09(0x10d),'runtime':a70_0x3e6a09(0xfc),'skillhub':a70_0x3e6a09(0x107)},'nonProduction':{'user':a70_0x3e6a09(0xfd),'api':a70_0x3e6a09(0x113),'runtime':a70_0x3e6a09(0x116),'skillhub':a70_0x3e6a09(0x111)}},'accessKeyCreatePath':'/user/ak'};export function productEnvName(_0x56d428){const _0x5c2c84=a70_0x3e6a09;return PRODUCT_CONFIG[_0x5c2c84(0x108)]+'_'+_0x56d428;}function a70_0x5a23(_0x41d2a6,_0x4adc60){_0x41d2a6=_0x41d2a6-0xf9;const _0x50f5a6=a70_0x50f5();let _0x5a23a2=_0x50f5a6[_0x41d2a6];return _0x5a23a2;}export function productEnvNames(_0x36ecb1){const _0x5a24b6=a70_0x3e6a09;return[productEnvName(_0x36ecb1),...PRODUCT_CONFIG[_0x5a24b6(0xfb)][_0x5a24b6(0x100)](_0x5229ac=>_0x5229ac+'_'+_0x36ecb1)];}export function productEnv(_0x5f1f2a){for(const _0x2ea6ad of productEnvNames(_0x5f1f2a)){const _0x1942f6=process.env[_0x2ea6ad];if(_0x1942f6!==undefined)return _0x1942f6;}return undefined;}
@@ -1 +1 @@
1
- const a71_0x17c153=a71_0x428b;(function(_0x2ce793,_0x5b4dd1){const _0x14dde6=a71_0x428b,_0x220870=_0x2ce793();while(!![]){try{const _0x5da324=-parseInt(_0x14dde6(0xb2))/0x1+-parseInt(_0x14dde6(0xb0))/0x2+parseInt(_0x14dde6(0xb5))/0x3*(parseInt(_0x14dde6(0xb3))/0x4)+-parseInt(_0x14dde6(0xb9))/0x5+parseInt(_0x14dde6(0xb1))/0x6*(-parseInt(_0x14dde6(0xb8))/0x7)+parseInt(_0x14dde6(0xba))/0x8+parseInt(_0x14dde6(0xb7))/0x9;if(_0x5da324===_0x5b4dd1)break;else _0x220870['push'](_0x220870['shift']());}catch(_0x15d842){_0x220870['push'](_0x220870['shift']());}}}(a71_0x451e,0x34ec8));export const RISK_LEVEL_VALUES=[a71_0x17c153(0xb4),'write',a71_0x17c153(0xb6)];function a71_0x428b(_0x8ad886,_0x5aea6a){_0x8ad886=_0x8ad886-0xb0;const _0x451e3d=a71_0x451e();let _0x428bd6=_0x451e3d[_0x8ad886];return _0x428bd6;}function a71_0x451e(){const _0x979007=['read','929517AasSGo','high-risk-write','11023488lYxwEg','93821tMbGtV','1508280KxceOv','505368YedYrX','599266jUbbhE','174hxxLSk','391090MuOccc','4wOkNCr'];a71_0x451e=function(){return _0x979007;};return a71_0x451e();}
1
+ function a71_0x4ffd(){const _0x134c25=['4JpejRV','738534WiVSpz','162204kivMOY','3652112CawnVV','567kZQNzl','2717721IBWiBd','high-risk-write','read','62466lcBWOi','70vNOFsx','285134aoShaG','3221530BcIhrF'];a71_0x4ffd=function(){return _0x134c25;};return a71_0x4ffd();}const a71_0x35df16=a71_0x2eb6;(function(_0x2ef802,_0xc8afaf){const _0x115e97=a71_0x2eb6,_0x2aad6f=_0x2ef802();while(!![]){try{const _0x1d9d27=-parseInt(_0x115e97(0x1c9))/0x1*(parseInt(_0x115e97(0x1c7))/0x2)+-parseInt(_0x115e97(0x1ca))/0x3+-parseInt(_0x115e97(0x1cb))/0x4*(-parseInt(_0x115e97(0x1c6))/0x5)+-parseInt(_0x115e97(0x1c5))/0x6*(-parseInt(_0x115e97(0x1cd))/0x7)+parseInt(_0x115e97(0x1cc))/0x8+-parseInt(_0x115e97(0x1ce))/0x9+-parseInt(_0x115e97(0x1c8))/0xa;if(_0x1d9d27===_0xc8afaf)break;else _0x2aad6f['push'](_0x2aad6f['shift']());}catch(_0xdb034){_0x2aad6f['push'](_0x2aad6f['shift']());}}}(a71_0x4ffd,0x683c7));function a71_0x2eb6(_0x1162db,_0x2f8eeb){_0x1162db=_0x1162db-0x1c5;const _0x4ffd27=a71_0x4ffd();let _0x2eb6a1=_0x4ffd27[_0x1162db];return _0x2eb6a1;}export const RISK_LEVEL_VALUES=[a71_0x35df16(0x1d0),'write',a71_0x35df16(0x1cf)];
@@ -1 +1 @@
1
- const a72_0x4b3fe9=a72_0x4f5f;(function(_0x7ffb13,_0x485bb7){const _0x5b9cf5=a72_0x4f5f,_0x43fa16=_0x7ffb13();while(!![]){try{const _0x4399d5=parseInt(_0x5b9cf5(0x67))/0x1*(-parseInt(_0x5b9cf5(0x6e))/0x2)+-parseInt(_0x5b9cf5(0x66))/0x3*(parseInt(_0x5b9cf5(0x6d))/0x4)+-parseInt(_0x5b9cf5(0x68))/0x5+parseInt(_0x5b9cf5(0x70))/0x6+parseInt(_0x5b9cf5(0x6a))/0x7+parseInt(_0x5b9cf5(0x64))/0x8*(parseInt(_0x5b9cf5(0x6f))/0x9)+-parseInt(_0x5b9cf5(0x69))/0xa;if(_0x4399d5===_0x485bb7)break;else _0x43fa16['push'](_0x43fa16['shift']());}catch(_0x4894fb){_0x43fa16['push'](_0x43fa16['shift']());}}}(a72_0x5656,0x5ca80));function a72_0x4f5f(_0x15b548,_0x177889){_0x15b548=_0x15b548-0x64;const _0x565630=a72_0x5656();let _0x4f5f03=_0x565630[_0x15b548];return _0x4f5f03;}import{PRODUCT_CONFIG}from'../constant/product.js';function a72_0x5656(){const _0xc20a8=['8onTboC','18RZhNJH','6442029lcMyAs','2777244BAEMaw','domains','8rCbbsm','user','219972ehHuIe','37783wHAXvD','540055mzkiGA','2093940lTCkxG','34755qDsxoO','production','accessKeyCreatePath'];a72_0x5656=function(){return _0xc20a8;};return a72_0x5656();}export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a72_0x4b3fe9(0x71)][a72_0x4b3fe9(0x6b)][a72_0x4b3fe9(0x65)]+PRODUCT_CONFIG[a72_0x4b3fe9(0x6c)];
1
+ function a72_0x4e76(_0x214a20,_0x3c7a21){_0x214a20=_0x214a20-0xee;const _0x37717a=a72_0x3771();let _0x4e76fa=_0x37717a[_0x214a20];return _0x4e76fa;}const a72_0x3e3e66=a72_0x4e76;(function(_0x17080b,_0x59295f){const _0x59a355=a72_0x4e76,_0x1f7bcc=_0x17080b();while(!![]){try{const _0x3839be=parseInt(_0x59a355(0xef))/0x1+-parseInt(_0x59a355(0xee))/0x2+parseInt(_0x59a355(0xf1))/0x3*(parseInt(_0x59a355(0xf5))/0x4)+-parseInt(_0x59a355(0xf9))/0x5+parseInt(_0x59a355(0xf3))/0x6+-parseInt(_0x59a355(0xf0))/0x7*(parseInt(_0x59a355(0xf7))/0x8)+-parseInt(_0x59a355(0xf6))/0x9;if(_0x3839be===_0x59295f)break;else _0x1f7bcc['push'](_0x1f7bcc['shift']());}catch(_0x1f6e25){_0x1f7bcc['push'](_0x1f7bcc['shift']());}}}(a72_0x3771,0xd1d8b));function a72_0x3771(){const _0x5185d5=['production','4lkXKwP','971568xKkVGX','2862056lFNdqB','accessKeyCreatePath','4654235pWkNNu','950000qkNzxx','850727hxFtUY','7dWLWih','699717NnFNPg','domains','9882726EdXjIi'];a72_0x3771=function(){return _0x5185d5;};return a72_0x3771();}import{PRODUCT_CONFIG}from'../constant/product.js';export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a72_0x3e3e66(0xf2)][a72_0x3e3e66(0xf4)]['user']+PRODUCT_CONFIG[a72_0x3e3e66(0xf8)];