@lovrabet/lovrabet-cli 2.0.13-beta.8 → 2.0.13

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 (76) 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/mock-loader.js +1 -1
  6. package/lib/commands/app/remote-source.js +1 -1
  7. package/lib/commands/app/shared.js +1 -1
  8. package/lib/commands/artifact/index.js +1 -1
  9. package/lib/commands/auth/index.js +1 -1
  10. package/lib/commands/auth/prompt.js +1 -1
  11. package/lib/commands/bff/detail.js +1 -1
  12. package/lib/commands/bff/exec.js +1 -1
  13. package/lib/commands/bff/index.js +1 -1
  14. package/lib/commands/common/config-policy.js +1 -1
  15. package/lib/commands/common/constraints.js +1 -1
  16. package/lib/commands/common/flags.js +1 -1
  17. package/lib/commands/config/definitions.js +1 -1
  18. package/lib/commands/config/shared.js +1 -1
  19. package/lib/commands/data/index.js +1 -1
  20. package/lib/commands/dataset/detail.js +1 -1
  21. package/lib/commands/dataset/index.js +1 -1
  22. package/lib/commands/dataset/list.js +1 -1
  23. package/lib/commands/dataset/sdk-doc.js +1 -1
  24. package/lib/commands/doctor.js +1 -1
  25. package/lib/commands/init.js +1 -1
  26. package/lib/commands/kb/index.js +1 -1
  27. package/lib/commands/logs/index.js +1 -1
  28. package/lib/commands/personal-bff/index.js +1 -1
  29. package/lib/commands/registry.js +1 -1
  30. package/lib/commands/schema.js +1 -1
  31. package/lib/commands/skill/index.js +1 -1
  32. package/lib/commands/sql/detail.js +1 -1
  33. package/lib/commands/sql/exec.js +1 -1
  34. package/lib/commands/sql/index.js +1 -1
  35. package/lib/commands/update.js +1 -1
  36. package/lib/config/schema.js +1 -1
  37. package/lib/constant/auth-mode.js +1 -1
  38. package/lib/constant/cli.js +1 -1
  39. package/lib/constant/defaults.js +1 -1
  40. package/lib/constant/distribution.js +1 -1
  41. package/lib/constant/domain.js +1 -1
  42. package/lib/constant/env.js +1 -1
  43. package/lib/constant/output.js +1 -1
  44. package/lib/constant/product.js +1 -1
  45. package/lib/constant/risk.js +1 -1
  46. package/lib/constant/url.js +1 -1
  47. package/lib/context.js +1 -1
  48. package/lib/core/api-client.js +1 -1
  49. package/lib/core/db-resolver.js +1 -1
  50. package/lib/core/sdk-client.js +1 -1
  51. package/lib/errors.js +1 -1
  52. package/lib/framework/build-all-flags.js +1 -1
  53. package/lib/framework/dryrun.js +1 -1
  54. package/lib/framework/flags.js +1 -1
  55. package/lib/framework/help.js +1 -1
  56. package/lib/framework/index.js +1 -1
  57. package/lib/framework/output.js +1 -1
  58. package/lib/framework/preparse.js +1 -1
  59. package/lib/framework/response.js +1 -1
  60. package/lib/framework/runner-confirmation.js +1 -1
  61. package/lib/framework/runner-error.js +1 -1
  62. package/lib/framework/runner.js +1 -1
  63. package/lib/framework/schema-export.js +1 -1
  64. package/lib/framework/types.js +1 -1
  65. package/lib/generated/build-info.js +1 -1
  66. package/lib/help.js +1 -1
  67. package/lib/skills/npx-skills-add.js +1 -1
  68. package/lib/skills/runtime-skill-sync.js +1 -1
  69. package/lib/utils/apply-jq-filter.js +1 -1
  70. package/lib/utils/logger.js +1 -1
  71. package/lib/utils/params.js +1 -1
  72. package/lib/utils/platform.js +1 -1
  73. package/lib/utils/update-notice.js +1 -1
  74. package/lib/utils/version.js +1 -1
  75. package/lib/utils/write-cli-side-channel.js +1 -1
  76. package/package.json +1 -1
@@ -1 +1 @@
1
- const a27_0x331f16=a27_0x16a1;(function(_0x5c3ba8,_0x35ce86){const _0x5e0bd4=a27_0x16a1,_0x563ec9=_0x5c3ba8();while(!![]){try{const _0x4e634f=parseInt(_0x5e0bd4(0x114))/0x1*(-parseInt(_0x5e0bd4(0x133))/0x2)+parseInt(_0x5e0bd4(0x101))/0x3*(parseInt(_0x5e0bd4(0x108))/0x4)+-parseInt(_0x5e0bd4(0x13a))/0x5+parseInt(_0x5e0bd4(0x10f))/0x6*(parseInt(_0x5e0bd4(0x132))/0x7)+parseInt(_0x5e0bd4(0x117))/0x8+parseInt(_0x5e0bd4(0x119))/0x9*(parseInt(_0x5e0bd4(0x121))/0xa)+parseInt(_0x5e0bd4(0xf9))/0xb*(parseInt(_0x5e0bd4(0x12f))/0xc);if(_0x4e634f===_0x35ce86)break;else _0x563ec9['push'](_0x563ec9['shift']());}catch(_0x1d977d){_0x563ec9['push'](_0x563ec9['shift']());}}}(a27_0x55e2,0xbca1f));import{existsSync,readFileSync,statSync}from'node:fs';import{createPersonalBff,executePersonalBff,getPersonalBff,listPersonalBffs,updatePersonalBff}from'../../core/api-client.js';function a27_0x55e2(){const _0x32d4ac=['Create\x20a\x20personal\x20BFF\x20from\x20a\x20local\x20script\x20file','body','file','16aTyTkg','updateTime','string','gmtCreate','test','read','Personal\x20BFF\x20script\x20file\x20is\x20blank.','10182Tqgaoe','Optional\x20source\x20RuntimeAgent\x20session\x20id','description','scriptType','personal-bff\x20update\x20requires\x20at\x20least\x20one\x20of\x20--name,\x20--description,\x20--file,\x20or\x20--source-session-id.','356jnXSmx','keys','--name\x20must\x20be\x20a\x20valid\x20JavaScript\x20identifier,\x20for\x20example\x20loadOrders.','1900408xyPZhG','Show\x20one\x20personal\x20BFF\x20by\x20id','10305ySXhxe','str','high-risk-write','build','version','appCode','Execute\x20a\x20personal\x20BFF\x20by\x20id\x20with\x20optional\x20JSON\x20params','functionName','4870YlgcbY','config','File\x20path\x20is\x20required.','create','createTime','verbose','/client/runtime-bff/personal/','validation','/client/runtime-bff/personal/create','sourceSessionId','Created\x20personal\x20BFF\x20','JSON\x20object\x20passed\x20to\x20the\x20personal\x20BFF\x20execution','bool','createUserId','1816428yRfneN','Preview:\x20create\x20personal\x20BFF\x20','--params\x20must\x20be\x20a\x20JSON\x20object.','4816XXHmfw','164ifUSoi','name','params','update','personal-bff','detail','list','6586740sEFFDn','trim','isFile','source-session-id','File\x20is\x20not\x20a\x20regular\x20file:\x20','Personal\x20BFF\x20script\x20ID','11TjFqRZ','Executed\x20personal\x20BFF\x20','/update','flag','Path\x20to\x20a\x20local\x20UTF-8\x20JavaScript\x20or\x20TypeScript\x20file','map','num','POST','3831kQLJlh','File\x20not\x20found:\x20','write','gmtModified'];a27_0x55e2=function(){return _0x32d4ac;};return a27_0x55e2();}function a27_0x16a1(_0x4740ad,_0x41462b){_0x4740ad=_0x4740ad-0xf5;const _0x55e241=a27_0x55e2();let _0x16a10c=_0x55e241[_0x4740ad];return _0x16a10c;}import{ID_FLAG,PARAMS_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';import{CliErrors}from'../../errors.js';import{dryRun}from'../../framework/dryrun.js';import{parseJsonParams}from'../../utils/params.js';const FUNCTION_NAME_PATTERN=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/,FILE_FLAG={'name':a27_0x331f16(0x107),'type':a27_0x331f16(0x10a),'description':a27_0x331f16(0xfd)},FUNCTION_NAME_FLAG={'name':a27_0x331f16(0x134),'type':'string','required':!![],'description':'Personal\x20BFF\x20functionName,\x20for\x20example\x20loadOrders'},DESCRIPTION_FLAG={'name':'description','type':a27_0x331f16(0x10a),'description':'Personal\x20BFF\x20description'},SOURCE_SESSION_FLAG={'name':'source-session-id','type':a27_0x331f16(0x10a),'description':a27_0x331f16(0x110)};function normalizeFunctionName(_0xccbe77){const _0x5a2329=a27_0x331f16,_0x272764=String(_0xccbe77||'')[_0x5a2329(0x13b)]();if(!_0x272764||!FUNCTION_NAME_PATTERN[_0x5a2329(0x10c)](_0x272764))throw CliErrors[_0x5a2329(0x128)](_0x5a2329(0x116));return _0x272764;}function readScriptFile(_0x563da0){const _0x407e28=a27_0x331f16;if(!_0x563da0)throw CliErrors[_0x407e28(0x128)](_0x407e28(0x123));if(!existsSync(_0x563da0))throw CliErrors[_0x407e28(0x128)](_0x407e28(0x102)+_0x563da0);if(!statSync(_0x563da0)[_0x407e28(0xf5)]())throw CliErrors[_0x407e28(0x128)](_0x407e28(0xf7)+_0x563da0);const _0x2241e7=readFileSync(_0x563da0,'utf8');if(!_0x2241e7[_0x407e28(0x13b)]())throw CliErrors[_0x407e28(0x128)](_0x407e28(0x10e));return _0x2241e7;}function optionalTrimmed(_0x1efaba){const _0x2cdd34=a27_0x331f16,_0x1a8ffc=String(_0x1efaba||'')[_0x2cdd34(0x13b)]();return _0x1a8ffc||undefined;}function summarizeBff(_0x592872){const _0x55730e=a27_0x331f16;return{'id':_0x592872['id'],'appCode':_0x592872['appCode'],'functionName':_0x592872['functionName'],'description':_0x592872[_0x55730e(0x111)],'scriptType':_0x592872[_0x55730e(0x112)],'version':_0x592872[_0x55730e(0x11d)],'gmtModified':_0x592872[_0x55730e(0x104)],'updateTime':_0x592872[_0x55730e(0x109)]};}function detailBff(_0xd84f66){const _0x4e5d19=a27_0x331f16;return{'id':_0xd84f66['id'],'appCode':_0xd84f66['appCode'],'functionName':_0xd84f66[_0x4e5d19(0x120)],'description':_0xd84f66['description'],'scriptType':_0xd84f66[_0x4e5d19(0x112)],'scriptContent':_0xd84f66['scriptContent']??'','config':_0xd84f66[_0x4e5d19(0x122)],'version':_0xd84f66[_0x4e5d19(0x11d)],'createUserId':_0xd84f66[_0x4e5d19(0x12e)],'gmtCreate':_0xd84f66[_0x4e5d19(0x10b)],'gmtModified':_0xd84f66['gmtModified'],'createTime':_0xd84f66[_0x4e5d19(0x125)],'updateTime':_0xd84f66[_0x4e5d19(0x109)]};}function buildCreateInput(_0x258335){const _0x47e262=a27_0x331f16;return{'functionName':normalizeFunctionName(_0x258335[_0x47e262(0x11a)](_0x47e262(0x134))),...optionalTrimmed(_0x258335[_0x47e262(0x11a)](_0x47e262(0x111)))?{'description':optionalTrimmed(_0x258335[_0x47e262(0x11a)](_0x47e262(0x111)))}:{},'scriptContent':readScriptFile(_0x258335[_0x47e262(0x11a)](_0x47e262(0x107))),...optionalTrimmed(_0x258335[_0x47e262(0x11a)](_0x47e262(0xf6)))?{'sourceSessionId':optionalTrimmed(_0x258335[_0x47e262(0x11a)](_0x47e262(0xf6)))}:{}};}function buildUpdateInput(_0x259164){const _0x12e390=a27_0x331f16,_0x480a30={};optionalTrimmed(_0x259164[_0x12e390(0x11a)](_0x12e390(0x134)))&&(_0x480a30[_0x12e390(0x120)]=normalizeFunctionName(_0x259164[_0x12e390(0x11a)](_0x12e390(0x134))));_0x259164['flag'](_0x12e390(0x111))!==undefined&&(_0x480a30[_0x12e390(0x111)]=_0x259164[_0x12e390(0x11a)](_0x12e390(0x111)));optionalTrimmed(_0x259164['str']('file'))&&(_0x480a30['scriptContent']=readScriptFile(_0x259164[_0x12e390(0x11a)](_0x12e390(0x107))));_0x259164[_0x12e390(0xfc)](_0x12e390(0xf6))!==undefined&&(_0x480a30[_0x12e390(0x12a)]=_0x259164[_0x12e390(0x11a)](_0x12e390(0xf6)));if(Object[_0x12e390(0x115)](_0x480a30)['length']===0x0)throw CliErrors[_0x12e390(0x128)](_0x12e390(0x113));return _0x480a30;}function parseExecParams(_0x50ebb9){const _0x1eaca3=a27_0x331f16,_0x1508a4=parseJsonParams(_0x50ebb9)??{};if(Array['isArray'](_0x1508a4))throw CliErrors[_0x1eaca3(0x128)](_0x1eaca3(0x131));return _0x1508a4;}const personalBffList={'service':a27_0x331f16(0x137),'command':a27_0x331f16(0x139),'description':'List\x20current\x20user\x27s\x20personal\x20BFF\x20scripts\x20for\x20the\x20current\x20app','risk':'read','flags':[VERBOSE_FLAG],async 'execute'(_0x10e83c){const _0x26102a=a27_0x331f16,_0x181ff8=await listPersonalBffs(_0x10e83c['appCode']);return{'ok':!![],'data':{'total':_0x181ff8['length'],'items':_0x10e83c[_0x26102a(0x12d)](_0x26102a(0x126))?_0x181ff8:_0x181ff8[_0x26102a(0xfe)](summarizeBff)}};}},personalBffDetail={'service':a27_0x331f16(0x137),'command':a27_0x331f16(0x138),'description':a27_0x331f16(0x118),'risk':a27_0x331f16(0x10d),'flags':[{...ID_FLAG,'description':a27_0x331f16(0xf8)}],async 'execute'(_0x4c6643){const _0x408502=a27_0x331f16,_0x273da2=await getPersonalBff(_0x4c6643[_0x408502(0xff)]('id'),_0x4c6643[_0x408502(0x11e)]);return{'ok':!![],'data':detailBff(_0x273da2)};}},personalBffCreate={'service':a27_0x331f16(0x137),'command':a27_0x331f16(0x124),'description':a27_0x331f16(0x105),'risk':'write','flags':[FUNCTION_NAME_FLAG,{...FILE_FLAG,'required':!![]},DESCRIPTION_FLAG,SOURCE_SESSION_FLAG],async 'execute'(_0x298eca){const _0x450143=a27_0x331f16,_0x361e5a=buildCreateInput(_0x298eca),_0x43fb8d=await createPersonalBff(_0x298eca['appCode'],_0x361e5a);return{'ok':!![],'data':detailBff(_0x43fb8d),'message':_0x450143(0x12b)+_0x43fb8d['id']+(_0x43fb8d[_0x450143(0x120)]?'\x20('+_0x43fb8d[_0x450143(0x120)]+')':'')};},async 'dryRun'(_0x29ff1f){const _0x346500=a27_0x331f16,_0x56dfce=buildCreateInput(_0x29ff1f);return dryRun(_0x346500(0x100),_0x346500(0x129))[_0x346500(0x106)]({'appCode':_0x29ff1f['appCode'],..._0x56dfce})['description'](_0x346500(0x130)+_0x56dfce[_0x346500(0x120)])[_0x346500(0x11c)]();}},personalBffUpdate={'service':a27_0x331f16(0x137),'command':a27_0x331f16(0x136),'description':'Update\x20a\x20personal\x20BFF\x20by\x20id','risk':a27_0x331f16(0x103),'flags':[{...ID_FLAG,'description':a27_0x331f16(0xf8)},{...FUNCTION_NAME_FLAG,'required':![]},FILE_FLAG,DESCRIPTION_FLAG,SOURCE_SESSION_FLAG],async 'execute'(_0x51fd2c){const _0x21ae9=a27_0x331f16,_0x1a5e35=_0x51fd2c[_0x21ae9(0xff)]('id'),_0x38db1c=buildUpdateInput(_0x51fd2c),_0x310aa0=await updatePersonalBff(_0x1a5e35,_0x51fd2c[_0x21ae9(0x11e)],_0x38db1c);return{'ok':!![],'data':detailBff(_0x310aa0),'message':'Updated\x20personal\x20BFF\x20'+_0x310aa0['id']+(_0x310aa0['functionName']?'\x20('+_0x310aa0[_0x21ae9(0x120)]+')':'')};},async 'dryRun'(_0x28e5db){const _0x3b7fc0=a27_0x331f16,_0x511c73=_0x28e5db[_0x3b7fc0(0xff)]('id'),_0x5b3f93=buildUpdateInput(_0x28e5db);return dryRun('POST',_0x3b7fc0(0x127)+_0x511c73+_0x3b7fc0(0xfb))[_0x3b7fc0(0x106)]({'appCode':_0x28e5db['appCode'],..._0x5b3f93})[_0x3b7fc0(0x111)]('Preview:\x20update\x20personal\x20BFF\x20'+_0x511c73)[_0x3b7fc0(0x11c)]();}},personalBffExec={'service':a27_0x331f16(0x137),'command':'exec','description':a27_0x331f16(0x11f),'risk':a27_0x331f16(0x11b),'flags':[{...ID_FLAG,'description':a27_0x331f16(0xf8)},{...PARAMS_FLAG,'description':a27_0x331f16(0x12c)}],async 'validate'(_0x1271fe){const _0x263efe=a27_0x331f16;parseExecParams(_0x1271fe[_0x263efe(0x11a)](_0x263efe(0x135)));},async 'execute'(_0x10f0ab){const _0xf6914b=a27_0x331f16,_0x53153a=_0x10f0ab[_0xf6914b(0xff)]('id'),_0x5e51da=parseExecParams(_0x10f0ab[_0xf6914b(0x11a)](_0xf6914b(0x135))),_0x9cfb74=await executePersonalBff(_0x53153a,_0x10f0ab[_0xf6914b(0x11e)],_0x5e51da);return{'ok':!![],'data':{'result':_0x9cfb74},'message':_0xf6914b(0xfa)+_0x53153a};}};export const personalBffDefinitions=[personalBffList,personalBffDetail,personalBffCreate,personalBffUpdate,personalBffExec];
1
+ const a27_0x4c1503=a27_0x2b5c;(function(_0xfc218a,_0xa3ee60){const _0x2930b2=a27_0x2b5c,_0x4ee3b2=_0xfc218a();while(!![]){try{const _0x2295ee=parseInt(_0x2930b2(0x129))/0x1*(-parseInt(_0x2930b2(0x138))/0x2)+parseInt(_0x2930b2(0x109))/0x3+parseInt(_0x2930b2(0x131))/0x4*(parseInt(_0x2930b2(0x143))/0x5)+parseInt(_0x2930b2(0x144))/0x6*(parseInt(_0x2930b2(0x11f))/0x7)+parseInt(_0x2930b2(0x149))/0x8+parseInt(_0x2930b2(0x139))/0x9+-parseInt(_0x2930b2(0x122))/0xa;if(_0x2295ee===_0xa3ee60)break;else _0x4ee3b2['push'](_0x4ee3b2['shift']());}catch(_0x327916){_0x4ee3b2['push'](_0x4ee3b2['shift']());}}}(a27_0x1e8b,0x2758d));import{existsSync,readFileSync,statSync}from'node:fs';import{createPersonalBff,executePersonalBff,getPersonalBff,listPersonalBffs,updatePersonalBff}from'../../core/api-client.js';function a27_0x1e8b(){const _0x4f5f1a=['File\x20path\x20is\x20required.','num','updateTime','file','scriptType','description','POST','Optional\x20source\x20RuntimeAgent\x20session\x20id','str','params','trim','File\x20is\x20not\x20a\x20regular\x20file:\x20','Preview:\x20create\x20personal\x20BFF\x20','133sHLgQU','Path\x20to\x20a\x20local\x20UTF-8\x20JavaScript\x20or\x20TypeScript\x20file','detail','2712360DcWJzR','exec','body','isArray','sourceSessionId','functionName','isFile','1zQUgmP','config','/update','gmtModified','utf8','map','length','build','171428xUaYgU','flag','string','--name\x20must\x20be\x20a\x20valid\x20JavaScript\x20identifier,\x20for\x20example\x20loadOrders.','personal-bff','Personal\x20BFF\x20description','bool','635462iAPnRD','480177VSlUOK','/client/runtime-bff/personal/create','source-session-id','name','version','--params\x20must\x20be\x20a\x20JSON\x20object.','appCode','gmtCreate','verbose','File\x20not\x20found:\x20','35roypWQ','23958NySeZO','Personal\x20BFF\x20functionName,\x20for\x20example\x20loadOrders','/client/runtime-bff/personal/','list','List\x20current\x20user\x27s\x20personal\x20BFF\x20scripts\x20for\x20the\x20current\x20app','1433648kllQxi','Update\x20a\x20personal\x20BFF\x20by\x20id','Preview:\x20update\x20personal\x20BFF\x20','high-risk-write','425121lPwkxs','keys','scriptContent','Personal\x20BFF\x20script\x20ID','personal-bff\x20update\x20requires\x20at\x20least\x20one\x20of\x20--name,\x20--description,\x20--file,\x20or\x20--source-session-id.','read','validation','createUserId','Created\x20personal\x20BFF\x20'];a27_0x1e8b=function(){return _0x4f5f1a;};return a27_0x1e8b();}import{ID_FLAG,PARAMS_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';import{CliErrors}from'../../errors.js';import{dryRun}from'../../framework/dryrun.js';function a27_0x2b5c(_0x5ba717,_0x496a28){_0x5ba717=_0x5ba717-0x109;const _0x1e8b0f=a27_0x1e8b();let _0x2b5c8a=_0x1e8b0f[_0x5ba717];return _0x2b5c8a;}import{parseJsonParams}from'../../utils/params.js';const FUNCTION_NAME_PATTERN=/^[a-zA-Z_$][a-zA-Z0-9_$]*$/,FILE_FLAG={'name':'file','type':a27_0x4c1503(0x133),'description':a27_0x4c1503(0x120)},FUNCTION_NAME_FLAG={'name':a27_0x4c1503(0x13c),'type':'string','required':!![],'description':a27_0x4c1503(0x145)},DESCRIPTION_FLAG={'name':a27_0x4c1503(0x117),'type':'string','description':a27_0x4c1503(0x136)},SOURCE_SESSION_FLAG={'name':'source-session-id','type':a27_0x4c1503(0x133),'description':a27_0x4c1503(0x119)};function normalizeFunctionName(_0x5d1adb){const _0x50a954=a27_0x4c1503,_0x45f458=String(_0x5d1adb||'')['trim']();if(!_0x45f458||!FUNCTION_NAME_PATTERN['test'](_0x45f458))throw CliErrors[_0x50a954(0x10f)](_0x50a954(0x134));return _0x45f458;}function readScriptFile(_0x16723c){const _0x35fab4=a27_0x4c1503;if(!_0x16723c)throw CliErrors[_0x35fab4(0x10f)](_0x35fab4(0x112));if(!existsSync(_0x16723c))throw CliErrors[_0x35fab4(0x10f)](_0x35fab4(0x142)+_0x16723c);if(!statSync(_0x16723c)[_0x35fab4(0x128)]())throw CliErrors['validation'](_0x35fab4(0x11d)+_0x16723c);const _0x241f3b=readFileSync(_0x16723c,_0x35fab4(0x12d));if(!_0x241f3b[_0x35fab4(0x11c)]())throw CliErrors[_0x35fab4(0x10f)]('Personal\x20BFF\x20script\x20file\x20is\x20blank.');return _0x241f3b;}function optionalTrimmed(_0x41f022){const _0x588d21=a27_0x4c1503,_0xefeca3=String(_0x41f022||'')[_0x588d21(0x11c)]();return _0xefeca3||undefined;}function summarizeBff(_0x18c16d){const _0x355330=a27_0x4c1503;return{'id':_0x18c16d['id'],'appCode':_0x18c16d[_0x355330(0x13f)],'functionName':_0x18c16d[_0x355330(0x127)],'description':_0x18c16d['description'],'scriptType':_0x18c16d[_0x355330(0x116)],'version':_0x18c16d[_0x355330(0x13d)],'gmtModified':_0x18c16d[_0x355330(0x12c)],'updateTime':_0x18c16d[_0x355330(0x114)]};}function detailBff(_0x540c46){const _0x3384a8=a27_0x4c1503;return{'id':_0x540c46['id'],'appCode':_0x540c46[_0x3384a8(0x13f)],'functionName':_0x540c46[_0x3384a8(0x127)],'description':_0x540c46['description'],'scriptType':_0x540c46[_0x3384a8(0x116)],'scriptContent':_0x540c46[_0x3384a8(0x10b)]??'','config':_0x540c46[_0x3384a8(0x12a)],'version':_0x540c46[_0x3384a8(0x13d)],'createUserId':_0x540c46[_0x3384a8(0x110)],'gmtCreate':_0x540c46[_0x3384a8(0x140)],'gmtModified':_0x540c46[_0x3384a8(0x12c)],'createTime':_0x540c46['createTime'],'updateTime':_0x540c46['updateTime']};}function buildCreateInput(_0x176fc8){const _0x11a3b8=a27_0x4c1503;return{'functionName':normalizeFunctionName(_0x176fc8[_0x11a3b8(0x11a)]('name')),...optionalTrimmed(_0x176fc8[_0x11a3b8(0x11a)]('description'))?{'description':optionalTrimmed(_0x176fc8['str'](_0x11a3b8(0x117)))}:{},'scriptContent':readScriptFile(_0x176fc8[_0x11a3b8(0x11a)]('file')),...optionalTrimmed(_0x176fc8['str'](_0x11a3b8(0x13b)))?{'sourceSessionId':optionalTrimmed(_0x176fc8[_0x11a3b8(0x11a)]('source-session-id'))}:{}};}function buildUpdateInput(_0x5d37eb){const _0x3f8376=a27_0x4c1503,_0x4f0b6d={};optionalTrimmed(_0x5d37eb[_0x3f8376(0x11a)](_0x3f8376(0x13c)))&&(_0x4f0b6d[_0x3f8376(0x127)]=normalizeFunctionName(_0x5d37eb[_0x3f8376(0x11a)]('name')));_0x5d37eb[_0x3f8376(0x132)]('description')!==undefined&&(_0x4f0b6d[_0x3f8376(0x117)]=_0x5d37eb[_0x3f8376(0x11a)](_0x3f8376(0x117)));optionalTrimmed(_0x5d37eb[_0x3f8376(0x11a)](_0x3f8376(0x115)))&&(_0x4f0b6d[_0x3f8376(0x10b)]=readScriptFile(_0x5d37eb[_0x3f8376(0x11a)](_0x3f8376(0x115))));_0x5d37eb['flag'](_0x3f8376(0x13b))!==undefined&&(_0x4f0b6d[_0x3f8376(0x126)]=_0x5d37eb['str']('source-session-id'));if(Object[_0x3f8376(0x10a)](_0x4f0b6d)[_0x3f8376(0x12f)]===0x0)throw CliErrors['validation'](_0x3f8376(0x10d));return _0x4f0b6d;}function parseExecParams(_0x5cdfc3){const _0x1f72e5=a27_0x4c1503,_0x118367=parseJsonParams(_0x5cdfc3)??{};if(Array[_0x1f72e5(0x125)](_0x118367))throw CliErrors[_0x1f72e5(0x10f)](_0x1f72e5(0x13e));return _0x118367;}const personalBffList={'service':'personal-bff','command':a27_0x4c1503(0x147),'description':a27_0x4c1503(0x148),'risk':a27_0x4c1503(0x10e),'flags':[VERBOSE_FLAG],async 'execute'(_0x222265){const _0x492608=a27_0x4c1503,_0x4718d1=await listPersonalBffs(_0x222265[_0x492608(0x13f)]);return{'ok':!![],'data':{'total':_0x4718d1[_0x492608(0x12f)],'items':_0x222265[_0x492608(0x137)](_0x492608(0x141))?_0x4718d1:_0x4718d1[_0x492608(0x12e)](summarizeBff)}};}},personalBffDetail={'service':a27_0x4c1503(0x135),'command':a27_0x4c1503(0x121),'description':'Show\x20one\x20personal\x20BFF\x20by\x20id','risk':a27_0x4c1503(0x10e),'flags':[{...ID_FLAG,'description':a27_0x4c1503(0x10c)}],async 'execute'(_0x281bd3){const _0x2cdbed=a27_0x4c1503,_0x234cd7=await getPersonalBff(_0x281bd3[_0x2cdbed(0x113)]('id'),_0x281bd3[_0x2cdbed(0x13f)]);return{'ok':!![],'data':detailBff(_0x234cd7)};}},personalBffCreate={'service':a27_0x4c1503(0x135),'command':'create','description':'Create\x20a\x20personal\x20BFF\x20from\x20a\x20local\x20script\x20file','risk':'write','flags':[FUNCTION_NAME_FLAG,{...FILE_FLAG,'required':!![]},DESCRIPTION_FLAG,SOURCE_SESSION_FLAG],async 'execute'(_0x92ea3){const _0x313357=a27_0x4c1503,_0x29bd0b=buildCreateInput(_0x92ea3),_0x49a1c1=await createPersonalBff(_0x92ea3[_0x313357(0x13f)],_0x29bd0b);return{'ok':!![],'data':detailBff(_0x49a1c1),'message':_0x313357(0x111)+_0x49a1c1['id']+(_0x49a1c1[_0x313357(0x127)]?'\x20('+_0x49a1c1[_0x313357(0x127)]+')':'')};},async 'dryRun'(_0x203d2f){const _0x5c2c17=a27_0x4c1503,_0x1b59c1=buildCreateInput(_0x203d2f);return dryRun(_0x5c2c17(0x118),_0x5c2c17(0x13a))[_0x5c2c17(0x124)]({'appCode':_0x203d2f[_0x5c2c17(0x13f)],..._0x1b59c1})[_0x5c2c17(0x117)](_0x5c2c17(0x11e)+_0x1b59c1[_0x5c2c17(0x127)])[_0x5c2c17(0x130)]();}},personalBffUpdate={'service':a27_0x4c1503(0x135),'command':'update','description':a27_0x4c1503(0x14a),'risk':'write','flags':[{...ID_FLAG,'description':a27_0x4c1503(0x10c)},{...FUNCTION_NAME_FLAG,'required':![]},FILE_FLAG,DESCRIPTION_FLAG,SOURCE_SESSION_FLAG],async 'execute'(_0x5d0f4d){const _0x27fb45=a27_0x4c1503,_0x1d95e1=_0x5d0f4d[_0x27fb45(0x113)]('id'),_0x3f89cb=buildUpdateInput(_0x5d0f4d),_0x8d7b18=await updatePersonalBff(_0x1d95e1,_0x5d0f4d['appCode'],_0x3f89cb);return{'ok':!![],'data':detailBff(_0x8d7b18),'message':'Updated\x20personal\x20BFF\x20'+_0x8d7b18['id']+(_0x8d7b18[_0x27fb45(0x127)]?'\x20('+_0x8d7b18['functionName']+')':'')};},async 'dryRun'(_0x97f2ad){const _0x2ebbe8=a27_0x4c1503,_0x5d2baf=_0x97f2ad['num']('id'),_0x2bd09a=buildUpdateInput(_0x97f2ad);return dryRun(_0x2ebbe8(0x118),_0x2ebbe8(0x146)+_0x5d2baf+_0x2ebbe8(0x12b))['body']({'appCode':_0x97f2ad[_0x2ebbe8(0x13f)],..._0x2bd09a})[_0x2ebbe8(0x117)](_0x2ebbe8(0x14b)+_0x5d2baf)[_0x2ebbe8(0x130)]();}},personalBffExec={'service':'personal-bff','command':a27_0x4c1503(0x123),'description':'Execute\x20a\x20personal\x20BFF\x20by\x20id\x20with\x20optional\x20JSON\x20params','risk':a27_0x4c1503(0x14c),'flags':[{...ID_FLAG,'description':a27_0x4c1503(0x10c)},{...PARAMS_FLAG,'description':'JSON\x20object\x20passed\x20to\x20the\x20personal\x20BFF\x20execution'}],async 'validate'(_0xd44b1){const _0x1ebc6f=a27_0x4c1503;parseExecParams(_0xd44b1[_0x1ebc6f(0x11a)](_0x1ebc6f(0x11b)));},async 'execute'(_0x2a32dd){const _0x352967=a27_0x4c1503,_0x436ef7=_0x2a32dd['num']('id'),_0xa01692=parseExecParams(_0x2a32dd[_0x352967(0x11a)](_0x352967(0x11b))),_0x539444=await executePersonalBff(_0x436ef7,_0x2a32dd[_0x352967(0x13f)],_0xa01692);return{'ok':!![],'data':{'result':_0x539444},'message':'Executed\x20personal\x20BFF\x20'+_0x436ef7};}};export const personalBffDefinitions=[personalBffList,personalBffDetail,personalBffCreate,personalBffUpdate,personalBffExec];
@@ -1 +1 @@
1
- const a28_0x5a826f=a28_0x30bb;(function(_0x53bfb2,_0x1ffe68){const _0x5bde3d=a28_0x30bb,_0x19410b=_0x53bfb2();while(!![]){try{const _0x53bc66=parseInt(_0x5bde3d(0xd8))/0x1*(-parseInt(_0x5bde3d(0xde))/0x2)+-parseInt(_0x5bde3d(0xef))/0x3+-parseInt(_0x5bde3d(0xf2))/0x4+parseInt(_0x5bde3d(0xda))/0x5*(-parseInt(_0x5bde3d(0xfa))/0x6)+parseInt(_0x5bde3d(0xf7))/0x7+parseInt(_0x5bde3d(0xf9))/0x8*(-parseInt(_0x5bde3d(0xe9))/0x9)+parseInt(_0x5bde3d(0xea))/0xa*(parseInt(_0x5bde3d(0xfd))/0xb);if(_0x53bc66===_0x1ffe68)break;else _0x19410b['push'](_0x19410b['shift']());}catch(_0x241db4){_0x19410b['push'](_0x19410b['shift']());}}}(a28_0x44ac,0xe8ba8));import{authDefinitions}from'../commands/auth/index.js';import{logsDefinitions}from'../commands/logs/index.js';import{skillDefinitions}from'../commands/skill/index.js';import{updateDefinition}from'../commands/update.js';function a28_0x30bb(_0x2ce6b7,_0x5f1456){_0x2ce6b7=_0x2ce6b7-0xd5;const _0x44ac4f=a28_0x44ac();let _0x30bb6d=_0x44ac4f[_0x2ce6b7];return _0x30bb6d;}import{doctorDefinition}from'../commands/doctor.js';import{schemaDefinition}from'../commands/schema.js';import{appDefinitions}from'../commands/app/definitions.js';import{configDefinitions}from'../commands/config/definitions.js';import{bffDefinitions}from'../commands/bff/index.js';import{sqlDefinitions}from'../commands/sql/index.js';import{datasetDefinitions}from'../commands/dataset/index.js';import{dataDefinitions}from'../commands/data/index.js';import{kbDefinitions}from'../commands/kb/index.js';import{artifactDefinitions}from'../commands/artifact/index.js';import{personalBffDefinitions}from'../commands/personal-bff/index.js';import{apiDocDefinitions}from'../commands/api-doc/index.js';export const serviceRegistry=[];const serviceByName=new Map();export const definitions=new Map();export const serviceGroups=new Map();function registerDefinitions(_0x1e3c04){const _0x5480fc=a28_0x30bb;for(const _0x70117e of _0x1e3c04){definitions[_0x5480fc(0xfc)](_0x70117e[_0x5480fc(0xdc)]+':'+_0x70117e[_0x5480fc(0xe6)],_0x70117e);let _0x1992cb=serviceGroups[_0x5480fc(0xe5)](_0x70117e['service']);!_0x1992cb&&(_0x1992cb=[],serviceGroups['set'](_0x70117e[_0x5480fc(0xdc)],_0x1992cb)),_0x1992cb[_0x5480fc(0xf3)](_0x70117e);}}function a28_0x44ac(){const _0x4b92fa=['description','risk','map','Knowledge\x20Base','run','get','command','App\x20Management','Configuration','27YAsGMV','35498670SpxkuM','Diagnostics','from','Self\x20Update','BFF\x20Scripts','811635SFHUDo','write','\x20\x20[write]','6606000JSfDCw','push','isSingleCommand','Skills','SQL\x20Queries','12761924CRUHol','show','2404536sQiPNC','6elyqrY','login','set','11TuaLFN','Instant\x20API','Logs','Artifacts','Datasets','544ZYChEy','Personal\x20BFF','7797745LbxRjM','defaultCommand','service','Authentication','134PXPYiu','\x20\x20[high-risk-write]'];a28_0x44ac=function(){return _0x4b92fa;};return a28_0x44ac();}function registerService(_0x3c48c4,_0x25d674,_0x348f25){const _0x1863cb=a28_0x30bb;registerDefinitions(_0x25d674);const _0x3f9650=_0x71f370=>_0x71f370==='read'?'':_0x71f370===_0x1863cb(0xf0)?_0x1863cb(0xf1):_0x1863cb(0xdf),_0x3409ad={'service':_0x25d674[0x0]['service'],'label':_0x3c48c4,'commands':_0x25d674[_0x1863cb(0xe2)](_0x3caf31=>({'command':_0x3caf31[_0x1863cb(0xe6)],'description':_0x3caf31[_0x1863cb(0xe0)],'tag':_0x3f9650(_0x3caf31[_0x1863cb(0xe1)])})),'defaultCommand':_0x348f25?.[_0x1863cb(0xdb)]??(_0x348f25?.[_0x1863cb(0xf4)]?_0x25d674[0x0][_0x1863cb(0xe6)]:undefined),'isSingleCommand':_0x348f25?.[_0x1863cb(0xf4)]};serviceRegistry[_0x1863cb(0xf3)](_0x3409ad),serviceByName['set'](_0x3409ad[_0x1863cb(0xdc)],_0x3409ad);}registerService(a28_0x5a826f(0xdd),authDefinitions,{'defaultCommand':a28_0x5a826f(0xfb)}),registerService('API\x20Documentation',apiDocDefinitions),registerService(a28_0x5a826f(0xd7),datasetDefinitions),registerService(a28_0x5a826f(0xfe),dataDefinitions),registerService(a28_0x5a826f(0xf6),sqlDefinitions),registerService(a28_0x5a826f(0xee),bffDefinitions),registerService(a28_0x5a826f(0xd9),personalBffDefinitions),registerService(a28_0x5a826f(0xd6),artifactDefinitions),registerService(a28_0x5a826f(0xe3),kbDefinitions),registerService(a28_0x5a826f(0xe7),appDefinitions,{'defaultCommand':'list'}),registerService(a28_0x5a826f(0xe8),configDefinitions,{'defaultCommand':'list'}),registerService(a28_0x5a826f(0xf5),skillDefinitions,{'defaultCommand':'install'}),registerService(a28_0x5a826f(0xed),[updateDefinition],{'defaultCommand':a28_0x5a826f(0xe4),'isSingleCommand':!![]}),registerService(a28_0x5a826f(0xeb),[doctorDefinition],{'isSingleCommand':!![]}),registerService('Schema',[schemaDefinition],{'isSingleCommand':!![]}),registerService(a28_0x5a826f(0xd5),logsDefinitions,{'defaultCommand':a28_0x5a826f(0xf8)});export function findDefinition(_0x43e5a2,_0x287a2e){const _0x5d109f=a28_0x5a826f;return definitions[_0x5d109f(0xe5)](_0x43e5a2+':'+_0x287a2e);}export function isKnownService(_0x558417){return serviceByName['has'](_0x558417);}export function getServiceEntry(_0x47e22d){const _0x205df5=a28_0x5a826f;return serviceByName[_0x205df5(0xe5)](_0x47e22d);}export function getAllDefinitions(){const _0x202f1b=a28_0x5a826f;return Array[_0x202f1b(0xec)](definitions['values']());}
1
+ const a28_0x45c324=a28_0x34cf;(function(_0x364e20,_0x383b1b){const _0x23687e=a28_0x34cf,_0x313fea=_0x364e20();while(!![]){try{const _0x185693=-parseInt(_0x23687e(0xdb))/0x1*(parseInt(_0x23687e(0xc7))/0x2)+parseInt(_0x23687e(0xc1))/0x3*(parseInt(_0x23687e(0xde))/0x4)+parseInt(_0x23687e(0xc0))/0x5+parseInt(_0x23687e(0xcd))/0x6*(-parseInt(_0x23687e(0xc2))/0x7)+parseInt(_0x23687e(0xdf))/0x8+parseInt(_0x23687e(0xda))/0x9+-parseInt(_0x23687e(0xe1))/0xa;if(_0x185693===_0x383b1b)break;else _0x313fea['push'](_0x313fea['shift']());}catch(_0x32eb85){_0x313fea['push'](_0x313fea['shift']());}}}(a28_0x52ef,0xdde8b));import{authDefinitions}from'../commands/auth/index.js';import{logsDefinitions}from'../commands/logs/index.js';function a28_0x34cf(_0x3a5cf6,_0x1dd022){_0x3a5cf6=_0x3a5cf6-0xc0;const _0x52efd1=a28_0x52ef();let _0x34cf91=_0x52efd1[_0x3a5cf6];return _0x34cf91;}import{skillDefinitions}from'../commands/skill/index.js';import{updateDefinition}from'../commands/update.js';import{doctorDefinition}from'../commands/doctor.js';import{schemaDefinition}from'../commands/schema.js';import{appDefinitions}from'../commands/app/definitions.js';function a28_0x52ef(){const _0x5d7dd1=['5077465ZvAQok','12Nffovo','7jcaccW','Logs','list','Skills','defaultCommand','2FTIWwl','set','Knowledge\x20Base','BFF\x20Scripts','API\x20Documentation','description','6279186AdobMY','App\x20Management','\x20\x20[high-risk-write]','values','Artifacts','login','isSingleCommand','Schema','command','Self\x20Update','map','from','has','14517135xieENY','970339ItFZqf','write','install','1031712dLyEzk','6042376EkBzmQ','push','14897080pdCyrs','SQL\x20Queries','get','Instant\x20API','service'];a28_0x52ef=function(){return _0x5d7dd1;};return a28_0x52ef();}import{configDefinitions}from'../commands/config/definitions.js';import{bffDefinitions}from'../commands/bff/index.js';import{sqlDefinitions}from'../commands/sql/index.js';import{datasetDefinitions}from'../commands/dataset/index.js';import{dataDefinitions}from'../commands/data/index.js';import{kbDefinitions}from'../commands/kb/index.js';import{artifactDefinitions}from'../commands/artifact/index.js';import{personalBffDefinitions}from'../commands/personal-bff/index.js';import{apiDocDefinitions}from'../commands/api-doc/index.js';export const serviceRegistry=[];const serviceByName=new Map();export const definitions=new Map();export const serviceGroups=new Map();function registerDefinitions(_0x3a0708){const _0x59cff5=a28_0x34cf;for(const _0x587f75 of _0x3a0708){definitions[_0x59cff5(0xc8)](_0x587f75[_0x59cff5(0xe5)]+':'+_0x587f75[_0x59cff5(0xd5)],_0x587f75);let _0x36fe05=serviceGroups['get'](_0x587f75[_0x59cff5(0xe5)]);!_0x36fe05&&(_0x36fe05=[],serviceGroups['set'](_0x587f75[_0x59cff5(0xe5)],_0x36fe05)),_0x36fe05[_0x59cff5(0xe0)](_0x587f75);}}function registerService(_0x2ebf2f,_0xc6e81d,_0x57837e){const _0x16946d=a28_0x34cf;registerDefinitions(_0xc6e81d);const _0x586d98=_0x11f912=>_0x11f912==='read'?'':_0x11f912===_0x16946d(0xdc)?'\x20\x20[write]':_0x16946d(0xcf),_0x1f3cb4={'service':_0xc6e81d[0x0]['service'],'label':_0x2ebf2f,'commands':_0xc6e81d[_0x16946d(0xd7)](_0x3b4409=>({'command':_0x3b4409[_0x16946d(0xd5)],'description':_0x3b4409[_0x16946d(0xcc)],'tag':_0x586d98(_0x3b4409['risk'])})),'defaultCommand':_0x57837e?.[_0x16946d(0xc6)]??(_0x57837e?.[_0x16946d(0xd3)]?_0xc6e81d[0x0][_0x16946d(0xd5)]:undefined),'isSingleCommand':_0x57837e?.['isSingleCommand']};serviceRegistry[_0x16946d(0xe0)](_0x1f3cb4),serviceByName[_0x16946d(0xc8)](_0x1f3cb4[_0x16946d(0xe5)],_0x1f3cb4);}registerService('Authentication',authDefinitions,{'defaultCommand':a28_0x45c324(0xd2)}),registerService(a28_0x45c324(0xcb),apiDocDefinitions),registerService('Datasets',datasetDefinitions),registerService(a28_0x45c324(0xe4),dataDefinitions),registerService(a28_0x45c324(0xe2),sqlDefinitions),registerService(a28_0x45c324(0xca),bffDefinitions),registerService('Personal\x20BFF',personalBffDefinitions),registerService(a28_0x45c324(0xd1),artifactDefinitions),registerService(a28_0x45c324(0xc9),kbDefinitions),registerService(a28_0x45c324(0xce),appDefinitions,{'defaultCommand':'list'}),registerService('Configuration',configDefinitions,{'defaultCommand':a28_0x45c324(0xc4)}),registerService(a28_0x45c324(0xc5),skillDefinitions,{'defaultCommand':a28_0x45c324(0xdd)}),registerService(a28_0x45c324(0xd6),[updateDefinition],{'defaultCommand':'run','isSingleCommand':!![]}),registerService('Diagnostics',[doctorDefinition],{'isSingleCommand':!![]}),registerService(a28_0x45c324(0xd4),[schemaDefinition],{'isSingleCommand':!![]}),registerService(a28_0x45c324(0xc3),logsDefinitions,{'defaultCommand':'show'});export function findDefinition(_0x3133df,_0xee969b){const _0x304aa9=a28_0x45c324;return definitions[_0x304aa9(0xe3)](_0x3133df+':'+_0xee969b);}export function isKnownService(_0x3cb481){const _0x3b135c=a28_0x45c324;return serviceByName[_0x3b135c(0xd9)](_0x3cb481);}export function getServiceEntry(_0x54d9c4){const _0x1af53f=a28_0x45c324;return serviceByName[_0x1af53f(0xe3)](_0x54d9c4);}export function getAllDefinitions(){const _0x4fa56d=a28_0x45c324;return Array[_0x4fa56d(0xd8)](definitions[_0x4fa56d(0xd0)]());}
@@ -1 +1 @@
1
- const a29_0x5e6c1e=a29_0x1044;function a29_0x3a56(){const _0x265346=['schema','read','116JGThAp','12646854WLcuFN','152455pqgbps','4iATQOM','7269GpVMTT','Export\x20machine-readable\x20command\x20schema\x20(JSON)','5587422lWCGwF','6515784MJaVvD','6398217ANUGix','149376mwaPEc','export'];a29_0x3a56=function(){return _0x265346;};return a29_0x3a56();}function a29_0x1044(_0x4199f6,_0x32c72e){_0x4199f6=_0x4199f6-0x185;const _0x3a565c=a29_0x3a56();let _0x1044a5=_0x3a565c[_0x4199f6];return _0x1044a5;}(function(_0x40ffb8,_0x508f44){const _0x12c3a3=a29_0x1044,_0x2383e3=_0x40ffb8();while(!![]){try{const _0x5d7d88=-parseInt(_0x12c3a3(0x18e))/0x1+-parseInt(_0x12c3a3(0x185))/0x2*(-parseInt(_0x12c3a3(0x189))/0x3)+-parseInt(_0x12c3a3(0x188))/0x4*(parseInt(_0x12c3a3(0x187))/0x5)+-parseInt(_0x12c3a3(0x18b))/0x6+parseInt(_0x12c3a3(0x18d))/0x7+-parseInt(_0x12c3a3(0x18c))/0x8+parseInt(_0x12c3a3(0x186))/0x9;if(_0x5d7d88===_0x508f44)break;else _0x2383e3['push'](_0x2383e3['shift']());}catch(_0x278a6c){_0x2383e3['push'](_0x2383e3['shift']());}}}(a29_0x3a56,0x826b2));import{buildSchemaPayload}from'../framework/schema-export.js';async function execute(_0x375cf1){const _0x822a87=await buildSchemaPayload();return{'ok':!![],'data':_0x822a87};}export const schemaDefinition={'service':a29_0x5e6c1e(0x190),'command':a29_0x5e6c1e(0x18f),'description':a29_0x5e6c1e(0x18a),'risk':a29_0x5e6c1e(0x191),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':[],'execute':execute};
1
+ function a29_0x3b9f(_0x1b5dee,_0x211e92){_0x1b5dee=_0x1b5dee-0x84;const _0x56b679=a29_0x56b6();let _0x3b9ff0=_0x56b679[_0x1b5dee];return _0x3b9ff0;}const a29_0x5ac61e=a29_0x3b9f;(function(_0x280aef,_0x2f5507){const _0x3b6b8b=a29_0x3b9f,_0x576ea8=_0x280aef();while(!![]){try{const _0x4045f9=-parseInt(_0x3b6b8b(0x84))/0x1+-parseInt(_0x3b6b8b(0x87))/0x2+parseInt(_0x3b6b8b(0x88))/0x3+-parseInt(_0x3b6b8b(0x8f))/0x4+parseInt(_0x3b6b8b(0x8d))/0x5*(-parseInt(_0x3b6b8b(0x8b))/0x6)+parseInt(_0x3b6b8b(0x8a))/0x7+-parseInt(_0x3b6b8b(0x85))/0x8*(-parseInt(_0x3b6b8b(0x86))/0x9);if(_0x4045f9===_0x2f5507)break;else _0x576ea8['push'](_0x576ea8['shift']());}catch(_0x2c134a){_0x576ea8['push'](_0x576ea8['shift']());}}}(a29_0x56b6,0x86d80));import{buildSchemaPayload}from'../framework/schema-export.js';async function execute(_0x14fae6){const _0x4af619=await buildSchemaPayload();return{'ok':!![],'data':_0x4af619};}function a29_0x56b6(){const _0x574d82=['3716867gkjtXY','6bvFMfb','read','4769360iqBYjD','Export\x20machine-readable\x20command\x20schema\x20(JSON)','2463948aIdemX','429465xtqNJE','76984kcpMEC','1737vmJMlo','1094118gvlepR','2131449itOTJv','schema'];a29_0x56b6=function(){return _0x574d82;};return a29_0x56b6();}export const schemaDefinition={'service':a29_0x5ac61e(0x89),'command':'export','description':a29_0x5ac61e(0x8e),'risk':a29_0x5ac61e(0x8c),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':[],'execute':execute};
@@ -1 +1 @@
1
- const a30_0x1e86cb=a30_0x3159;(function(_0x46ac83,_0x1dbd42){const _0x290b85=a30_0x3159,_0x5580d0=_0x46ac83();while(!![]){try{const _0x35e640=parseInt(_0x290b85(0x189))/0x1+parseInt(_0x290b85(0x1a4))/0x2+parseInt(_0x290b85(0x1c6))/0x3*(-parseInt(_0x290b85(0x1be))/0x4)+parseInt(_0x290b85(0x184))/0x5*(parseInt(_0x290b85(0x190))/0x6)+parseInt(_0x290b85(0x1bd))/0x7+parseInt(_0x290b85(0x188))/0x8+-parseInt(_0x290b85(0x1a5))/0x9;if(_0x35e640===_0x1dbd42)break;else _0x5580d0['push'](_0x5580d0['shift']());}catch(_0x3bc926){_0x5580d0['push'](_0x5580d0['shift']());}}}(a30_0x3820,0xec1ac));import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'../../constant/cli.js';import{CliErrors}from'../../errors.js';import{logger}from'../../utils/logger.js';import{basename,dirname}from'node:path';const CODE_FLAG={'name':a30_0x1e86cb(0x197),'type':'string','description':a30_0x1e86cb(0x1bf)},SCOPE_FLAG={'name':a30_0x1e86cb(0x1b4),'type':'string','description':a30_0x1e86cb(0x1d0)},DIR_FLAG={'name':a30_0x1e86cb(0x1c4),'type':a30_0x1e86cb(0x1ce),'required':!![],'description':a30_0x1e86cb(0x1df)};function a30_0x3820(){const _0x289d92=['treeSha256','object','\x20personal\x20and\x20','apiError','map','3530594PsryLG','34198596TniHHt','nonInteractive','size','Backend\x20returned\x20a\x20different\x20multi-file\x20Skill\x20manifest\x20after\x20push.','isArray','pipe','write','skillCode','\x20skill\x20installed','accessKey','pull','reduce','../../core/api-client.js','cwd','validation','scope','zipSha256','action','npx\x20skills\x20add\x20failed:\x20','info','Skipped\x20npx\x20(','version','Installing\x20official\x20skill\x20via\x20npx\x20(npx\x20skills\x20add\x20','skillName','11127865bHUcSz','1820488aKxcnS','Only\x20pull\x20a\x20specific\x20runtime\x20Skill\x20code','join','ossPath','path','Check\x20network\x20connectivity\x20and\x20try\x20again.','dir','readonly','6XIzOxx','Install\x20the\x20published\x20','company','find','push','str','length','trim','string','updated','Skill\x20pull\x20scope:\x20user\x20(personal/company)\x20or\x20builtin','created','builtin','some','setLogPath','\x20company\x20Skill(s).','Push\x20a\x20local\x20Skill\x20directory\x20to\x20personal\x20runtime\x20Skill\x20scope','input','Unsupported\x20Skill\x20pull\x20scope:\x20','Updated\x20personal\x20Skill\x20','Created\x20personal\x20Skill\x20','=1);\x20assuming\x20skill\x20is\x20already\x20present.','personal','\x20skill\x20via\x20npx.','Check\x20the\x20runtime\x20service\x20Skill\x20file\x20manifest\x20storage\x20before\x20pulling\x20this\x20Skill.','Local\x20Skill\x20directory\x20containing\x20SKILL.md','skill-install','get','6995LPamqK','user','../../skills/runtime-skill-sync.js','authRequired','4114400BOGnek','1437145grdybN','\x20developer\x20skill','zipSize','install','\x20-g\x20-y)...','error','production','1590FInSjk','Pulled\x20','unchanged','filter','log','Backend\x20did\x20not\x20persist\x20the\x20multi-file\x20Skill\x20manifest.','appCode','code','envName','../../skills/npx-skills-add.js','Pull\x20runtime\x20Skills\x20into\x20explicit\x20local\x20agent\x20skill\x20directories','Upgrade\x20the\x20runtime\x20service\x20before\x20pushing\x20multi-file\x20Skill\x20directories.','skill','Installing\x20published\x20','files'];a30_0x3820=function(){return _0x289d92;};return a30_0x3820();}function summarizeRuntimeSkill(_0x48adcb){const _0x1d3a9a=a30_0x1e86cb;return{'id':_0x48adcb['id'],'skillCode':_0x48adcb['skillCode'],'skillName':_0x48adcb[_0x1d3a9a(0x1bc)],'scope':_0x48adcb['scope'],'version':_0x48adcb[_0x1d3a9a(0x1ba)],'readonly':_0x48adcb[_0x1d3a9a(0x1c5)]};}function filterByCode(_0x3941f4,_0x136c96){const _0x959eec=a30_0x1e86cb,_0x4549ca=_0x136c96['trim']();if(!_0x4549ca)return _0x3941f4;return _0x3941f4[_0x959eec(0x193)](_0x2da757=>_0x2da757[_0x959eec(0x1ac)]===_0x4549ca);}export const skillDefinitions=[{'service':a30_0x1e86cb(0x19c),'command':a30_0x1e86cb(0x18c),'description':a30_0x1e86cb(0x1c7)+CLI_BIN_NAME+a30_0x1e86cb(0x18a),'risk':a30_0x1e86cb(0x1ab),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x1a429a){const _0x30e09f=a30_0x1e86cb;logger[_0x30e09f(0x1d4)](process[_0x30e09f(0x1b2)]()),logger[_0x30e09f(0x1b8)](_0x30e09f(0x1e0),_0x30e09f(0x19d)+CLI_DISPLAY_NAME+_0x30e09f(0x1dd));const {LOVRABET_SKILL_SOURCE:_0x56e466,LOVRABET_SKIP_NPX_SKILLS_ENV:_0x1048a1,runNpxSkillsAddGlobal:_0xaab447}=await import(_0x30e09f(0x199)),_0x339272=_0x1a429a[_0x30e09f(0x1a6)]?_0x30e09f(0x1aa):'inherit';console['log'](_0x30e09f(0x1bb)+_0x56e466+_0x30e09f(0x18d));const _0x240009=_0xaab447(process['cwd'](),_0x56e466,{'stdio':_0x339272});if(_0x240009['skipped'])console['log'](_0x30e09f(0x1b9)+_0x1048a1+_0x30e09f(0x1db));else{if(_0x240009['ok'])console[_0x30e09f(0x194)](CLI_BIN_NAME+_0x30e09f(0x1ad));else throw CliErrors[_0x30e09f(0x1a2)](_0x30e09f(0x1b7)+(_0x240009[_0x30e09f(0x18e)]||'unknown'),_0x30e09f(0x1c3));}return{'ok':!![]};}},{'service':a30_0x1e86cb(0x19c),'command':a30_0x1e86cb(0x1af),'description':a30_0x1e86cb(0x19a),'risk':a30_0x1e86cb(0x1ab),'flags':[CODE_FLAG,SCOPE_FLAG],async 'execute'(_0x4f4eed){const _0x25bf99=a30_0x1e86cb,{downloadRuntimeSkillPackage:_0x1c4b67,listCompanyRuntimeSkills:_0x5be3c7,listPersonalRuntimeSkills:_0x262a27,listVisibleRuntimeSkills:_0x5b5821}=await import(_0x25bf99(0x1b1)),{linkGlobalRuntimeSkills:_0x3931e,linkEffectiveRuntimeSkills:_0x2b748a,materializeRuntimeSkill:_0x42c7ca}=await import(_0x25bf99(0x186)),_0x4ecb5e=_0x4f4eed[_0x25bf99(0x1cb)](_0x25bf99(0x197)),_0x33431e=normalizePullScope(_0x4f4eed[_0x25bf99(0x1cb)]('scope')),_0x520f58=_0x4f4eed[_0x25bf99(0x198)]??_0x25bf99(0x18f),_0x180ad7=_0x4f4eed[_0x25bf99(0x1ae)];if(!_0x180ad7)throw CliErrors[_0x25bf99(0x187)]();if(_0x33431e===_0x25bf99(0x1d2)){const _0x130359=filterByCode((await _0x5b5821(_0x4f4eed[_0x25bf99(0x196)]))[_0x25bf99(0x193)](_0x902f5b=>_0x902f5b[_0x25bf99(0x1b4)]===_0x25bf99(0x1d2)),_0x4ecb5e),_0x4911e8=[];for(const _0x98166d of _0x130359){_0x4911e8['push'](_0x42c7ca(_0x98166d,_0x25bf99(0x1d2),{'env':_0x520f58,'accessKey':_0x180ad7,'appCode':_0x4f4eed[_0x25bf99(0x196)],'packageBytes':await downloadPackageIfNeeded(_0x98166d,'builtin',_0x4f4eed[_0x25bf99(0x196)],_0x1c4b67)}));}const _0x513890=_0x3931e(_0x4911e8),_0x18722f=countLinkActions(_0x513890),_0x14efc8=_0x513890[0x0]?.[_0x25bf99(0x1c2)]?dirname(_0x513890[0x0][_0x25bf99(0x1c2)]):undefined,_0x4e7550=new Map(_0x513890[_0x25bf99(0x1a3)](_0x1e4c88=>[basename(_0x1e4c88[_0x25bf99(0x1c2)]),_0x1e4c88]));return{'ok':!![],'data':{'appCode':_0x4f4eed[_0x25bf99(0x196)],'scope':_0x25bf99(0x1d2),'builtin':_0x130359[_0x25bf99(0x1cc)],'materialized':_0x4911e8['length'],'globalRoot':_0x14efc8,'links':{'total':_0x513890[_0x25bf99(0x1cc)],'created':_0x18722f[_0x25bf99(0x1d1)]??0x0,'updated':_0x18722f[_0x25bf99(0x1cf)]??0x0,'unchanged':_0x18722f[_0x25bf99(0x192)]??0x0,'skipped':0x0,'conflicted':0x0},'skills':{'builtin':_0x130359[_0x25bf99(0x1a3)](_0x26614c=>{const _0x23c86b=_0x25bf99,_0x3ac117=_0x4e7550[_0x23c86b(0x1e1)](_0x26614c[_0x23c86b(0x1ac)]);return{...summarizeRuntimeSkill(_0x26614c),'contentHash':_0x3ac117?.['contentHash']};})}},'message':_0x25bf99(0x191)+_0x130359[_0x25bf99(0x1cc)]+'\x20builtin\x20Skill(s).'};}const _0x48bcbc=filterByCode(await _0x262a27(_0x4f4eed[_0x25bf99(0x196)]),_0x4ecb5e),_0xa316a4=filterByCode(await _0x5be3c7(_0x4f4eed['appCode']),_0x4ecb5e),_0x2ada40=[];for(const _0x4af40d of _0x48bcbc){_0x2ada40[_0x25bf99(0x1ca)](_0x42c7ca(_0x4af40d,_0x25bf99(0x1dc),{'env':_0x520f58,'accessKey':_0x180ad7,'appCode':_0x4f4eed['appCode'],'packageBytes':await downloadPackageIfNeeded(_0x4af40d,_0x25bf99(0x1dc),_0x4f4eed[_0x25bf99(0x196)],_0x1c4b67)}));}for(const _0x316f83 of _0xa316a4){_0x2ada40[_0x25bf99(0x1ca)](_0x42c7ca(_0x316f83,_0x25bf99(0x1c8),{'env':_0x520f58,'accessKey':_0x180ad7,'appCode':_0x4f4eed[_0x25bf99(0x196)],'packageBytes':await downloadPackageIfNeeded(_0x316f83,_0x25bf99(0x1c8),_0x4f4eed[_0x25bf99(0x196)],_0x1c4b67)}));}const _0x1c5c61=_0x2b748a(_0x2ada40,_0x4f4eed[_0x25bf99(0x196)]),_0x526f54=countLinkActions(_0x1c5c61);return{'ok':!![],'data':{'appCode':_0x4f4eed[_0x25bf99(0x196)],'personal':_0x48bcbc[_0x25bf99(0x1cc)],'company':_0xa316a4[_0x25bf99(0x1cc)],'materialized':_0x2ada40[_0x25bf99(0x1cc)],'links':{'total':_0x1c5c61['length'],'created':_0x526f54[_0x25bf99(0x1d1)]??0x0,'updated':_0x526f54['updated']??0x0,'unchanged':_0x526f54[_0x25bf99(0x192)]??0x0,'skipped':0x0,'conflicted':0x0},'skills':{'personal':_0x48bcbc[_0x25bf99(0x1a3)](summarizeRuntimeSkill),'company':_0xa316a4[_0x25bf99(0x1a3)](summarizeRuntimeSkill)}},'message':_0x25bf99(0x191)+_0x48bcbc[_0x25bf99(0x1cc)]+_0x25bf99(0x1a1)+_0xa316a4['length']+_0x25bf99(0x1d5)};}},{'service':a30_0x1e86cb(0x19c),'command':a30_0x1e86cb(0x1ca),'description':a30_0x1e86cb(0x1d6),'risk':a30_0x1e86cb(0x1ab),'flags':[DIR_FLAG],async 'execute'(_0x33a181){const _0x4b542b=a30_0x1e86cb,{createPersonalRuntimeSkill:_0x180e0a,downloadRuntimeSkillPackage:_0x3d202e,listPersonalRuntimeSkills:_0x5cb0b9,updatePersonalRuntimeSkill:_0x2fb441}=await import(_0x4b542b(0x1b1)),{verifyRuntimeSkillPackage:_0x352162,readPushDirectory:_0x2af6f4,recordPushedRuntimeSkill:_0x1e6e80}=await import(_0x4b542b(0x186));if(!_0x33a181[_0x4b542b(0x1ae)])throw CliErrors[_0x4b542b(0x187)]();const _0x44c485=_0x2af6f4(_0x33a181[_0x4b542b(0x1cb)]('dir'),_0x33a181[_0x4b542b(0x196)]),_0x1ae47f=(await _0x5cb0b9(_0x33a181['appCode']))[_0x4b542b(0x1c9)](_0x2042f3=>_0x2042f3[_0x4b542b(0x1ac)]===_0x44c485[_0x4b542b(0x1ac)]),_0x47504f=_0x1ae47f?await _0x2fb441(_0x44c485['skillCode'],_0x33a181[_0x4b542b(0x196)],_0x44c485[_0x4b542b(0x1d7)]):await _0x180e0a(_0x33a181[_0x4b542b(0x196)],_0x44c485[_0x4b542b(0x1d7)]);assertMultiFilePushPersisted(_0x44c485[_0x4b542b(0x1d7)][_0x4b542b(0x19e)],_0x47504f);if(isPackageBackedMultiFile(_0x47504f[_0x4b542b(0x19e)])){const _0x36afe5=await _0x3d202e('personal',_0x44c485['skillCode'],_0x33a181[_0x4b542b(0x196)]);_0x352162(_0x47504f[_0x4b542b(0x19e)],_0x36afe5);}return _0x1e6e80(_0x33a181[_0x4b542b(0x1cb)](_0x4b542b(0x1c4)),_0x47504f,_0x33a181[_0x4b542b(0x196)]),{'ok':!![],'data':summarizeRuntimeSkill(_0x47504f),'message':_0x1ae47f?_0x4b542b(0x1d9)+_0x44c485[_0x4b542b(0x1ac)]:_0x4b542b(0x1da)+_0x44c485[_0x4b542b(0x1ac)]};}}];async function downloadPackageIfNeeded(_0x12ad89,_0x352855,_0x1fde3b,_0x20c4bc){const _0x2576bb=a30_0x1e86cb;if(!isPackageBackedManifest(_0x12ad89[_0x2576bb(0x19e)]))return undefined;return _0x20c4bc(_0x352855,_0x12ad89['skillCode'],_0x1fde3b);}function normalizePullScope(_0x190dfa){const _0x394001=a30_0x1e86cb,_0xed96a5=_0x190dfa[_0x394001(0x1cd)]();if(!_0xed96a5)return _0x394001(0x185);if(_0xed96a5===_0x394001(0x185)||_0xed96a5==='builtin')return _0xed96a5;throw CliErrors[_0x394001(0x1b3)](_0x394001(0x1d8)+_0x190dfa);}function countLinkActions(_0x39fe0d){const _0x547e57=a30_0x1e86cb;return _0x39fe0d[_0x547e57(0x1b0)]((_0x457e31,_0x545296)=>{const _0xbf2ea8=_0x547e57;return _0x457e31[_0x545296[_0xbf2ea8(0x1b6)]]=(_0x457e31[_0x545296['action']]??0x0)+0x1,_0x457e31;},{});}function assertMultiFilePushPersisted(_0x47e362,_0x4ac72b){const _0x28b16b=a30_0x1e86cb;if(!isMultiFileManifest(_0x47e362))return;if(!isPackageBackedMultiFile(_0x4ac72b['files']))throw CliErrors[_0x28b16b(0x1b3)](_0x28b16b(0x195),_0x28b16b(0x19b));if(_0x47e362[_0x28b16b(0x19f)]!==_0x4ac72b[_0x28b16b(0x19e)][_0x28b16b(0x19f)]||_0x47e362[_0x28b16b(0x1b5)]!==_0x4ac72b['files'][_0x28b16b(0x1b5)]||_0x47e362[_0x28b16b(0x18b)]!==_0x4ac72b[_0x28b16b(0x19e)][_0x28b16b(0x18b)]||!_0x4ac72b[_0x28b16b(0x19e)]['ossPath']||manifestFileSignature(_0x47e362)!==manifestFileSignature(_0x4ac72b[_0x28b16b(0x19e)]))throw CliErrors['validation'](_0x28b16b(0x1a8),_0x28b16b(0x1de));}function isPackageBackedManifest(_0x3ab83c){const _0x344c31=a30_0x1e86cb;return!!_0x3ab83c&&typeof _0x3ab83c==='object'&&!Array[_0x344c31(0x1a9)](_0x3ab83c)&&typeof _0x3ab83c[_0x344c31(0x1c1)]===_0x344c31(0x1ce)&&_0x3ab83c['ossPath'][_0x344c31(0x1cc)]>0x0&&Array[_0x344c31(0x1a9)](_0x3ab83c['files']);}function isPackageBackedMultiFile(_0x403104){return isPackageBackedManifest(_0x403104)&&isMultiFileManifest(_0x403104);}function a30_0x3159(_0x1886a8,_0x34b401){_0x1886a8=_0x1886a8-0x184;const _0x38203f=a30_0x3820();let _0x31595f=_0x38203f[_0x1886a8];return _0x31595f;}function isMultiFileManifest(_0x31debb){const _0x35c632=a30_0x1e86cb;return!!_0x31debb&&typeof _0x31debb===_0x35c632(0x1a0)&&!Array[_0x35c632(0x1a9)](_0x31debb)&&Array[_0x35c632(0x1a9)](_0x31debb[_0x35c632(0x19e)])&&_0x31debb[_0x35c632(0x19e)][_0x35c632(0x1d3)](_0x1452c3=>_0x1452c3[_0x35c632(0x1c2)]!=='SKILL.md');}function manifestFileSignature(_0x293b7b){const _0x5502e3=a30_0x1e86cb;return[..._0x293b7b[_0x5502e3(0x19e)]][_0x5502e3(0x1a3)](_0x558366=>_0x558366[_0x5502e3(0x1c2)]+'\x00'+_0x558366['sha256']+'\x00'+_0x558366[_0x5502e3(0x1a7)])['sort']()[_0x5502e3(0x1c0)]('\x00');}
1
+ const a30_0x171879=a30_0x1eea;(function(_0x5d22e4,_0x528734){const _0x3f908b=a30_0x1eea,_0x397ee1=_0x5d22e4();while(!![]){try{const _0x539172=-parseInt(_0x3f908b(0x191))/0x1+parseInt(_0x3f908b(0x1e0))/0x2+-parseInt(_0x3f908b(0x19d))/0x3*(-parseInt(_0x3f908b(0x1a6))/0x4)+parseInt(_0x3f908b(0x1ab))/0x5+-parseInt(_0x3f908b(0x1c8))/0x6*(parseInt(_0x3f908b(0x1b5))/0x7)+-parseInt(_0x3f908b(0x1b8))/0x8*(parseInt(_0x3f908b(0x1dd))/0x9)+parseInt(_0x3f908b(0x1bc))/0xa;if(_0x539172===_0x528734)break;else _0x397ee1['push'](_0x397ee1['shift']());}catch(_0x53e108){_0x397ee1['push'](_0x397ee1['shift']());}}}(a30_0x1b2a,0x9479c));import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'../../constant/cli.js';import{CliErrors}from'../../errors.js';import{logger}from'../../utils/logger.js';import{basename,dirname}from'node:path';const CODE_FLAG={'name':a30_0x171879(0x1a1),'type':a30_0x171879(0x1d2),'description':a30_0x171879(0x1e5)},SCOPE_FLAG={'name':'scope','type':a30_0x171879(0x1d2),'description':a30_0x171879(0x1ae)},DIR_FLAG={'name':a30_0x171879(0x1ac),'type':'string','required':!![],'description':a30_0x171879(0x1cd)};function a30_0x1eea(_0x27ee24,_0x1a5127){_0x27ee24=_0x27ee24-0x18e;const _0x1b2adf=a30_0x1b2a();let _0x1eea69=_0x1b2adf[_0x27ee24];return _0x1eea69;}function summarizeRuntimeSkill(_0x472c59){const _0xab184c=a30_0x171879;return{'id':_0x472c59['id'],'skillCode':_0x472c59['skillCode'],'skillName':_0x472c59[_0xab184c(0x1e3)],'scope':_0x472c59[_0xab184c(0x1c0)],'version':_0x472c59['version'],'readonly':_0x472c59[_0xab184c(0x1a4)]};}function filterByCode(_0x4e0fdd,_0x35102f){const _0x260e3e=a30_0x171879,_0x2aed09=_0x35102f['trim']();if(!_0x2aed09)return _0x4e0fdd;return _0x4e0fdd[_0x260e3e(0x199)](_0x1d429a=>_0x1d429a[_0x260e3e(0x1c7)]===_0x2aed09);}function a30_0x1b2a(){const _0x5c2588=['validation','5288090KhgOsH','dir','personal','Skill\x20pull\x20scope:\x20user\x20(personal/company)\x20or\x20builtin','isArray','trim','\x20skill\x20installed','join','sort','apiError','3101903GhtbiD','Pull\x20runtime\x20Skills\x20into\x20explicit\x20local\x20agent\x20skill\x20directories','Skipped\x20npx\x20(','2724680SQevjv','get','size','updated','6809770CWTnVV','object','files','zipSize','scope','skill','Install\x20the\x20published\x20','\x20company\x20Skill(s).','appCode','push','map','skillCode','6FzwAQc','zipSha256','find','authRequired','contentHash','Local\x20Skill\x20directory\x20containing\x20SKILL.md','../../skills/runtime-skill-sync.js','accessKey','../../core/api-client.js','path','string','SKILL.md','log','\x20developer\x20skill','created','error','write','Push\x20a\x20local\x20Skill\x20directory\x20to\x20personal\x20runtime\x20Skill\x20scope','info','user','reduce','9OFMgPW','Backend\x20returned\x20a\x20different\x20multi-file\x20Skill\x20manifest\x20after\x20push.','length','264646BJNwsk','builtin','Created\x20personal\x20Skill\x20','skillName','pull','Only\x20pull\x20a\x20specific\x20runtime\x20Skill\x20code','sha256','treeSha256','company','envName','1190533HpZQox','action','some','Pulled\x20','\x20-g\x20-y)...','input','install','unknown','filter','npx\x20skills\x20add\x20failed:\x20','production','skipped','3zXYSGH','skill-install','nonInteractive','Check\x20the\x20runtime\x20service\x20Skill\x20file\x20manifest\x20storage\x20before\x20pulling\x20this\x20Skill.','code','unchanged','ossPath','readonly','../../skills/npx-skills-add.js','2845940FWTeua','str','inherit','Check\x20network\x20connectivity\x20and\x20try\x20again.'];a30_0x1b2a=function(){return _0x5c2588;};return a30_0x1b2a();}export const skillDefinitions=[{'service':a30_0x171879(0x1c1),'command':a30_0x171879(0x197),'description':a30_0x171879(0x1c2)+CLI_BIN_NAME+a30_0x171879(0x1d5),'risk':a30_0x171879(0x1d8),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x168b8d){const _0x5cceac=a30_0x171879;logger['setLogPath'](process['cwd']()),logger[_0x5cceac(0x1da)](_0x5cceac(0x19e),'Installing\x20published\x20'+CLI_DISPLAY_NAME+'\x20skill\x20via\x20npx.');const {LOVRABET_SKILL_SOURCE:_0x284805,LOVRABET_SKIP_NPX_SKILLS_ENV:_0x2f000c,runNpxSkillsAddGlobal:_0x5c4a0e}=await import(_0x5cceac(0x1a5)),_0x421657=_0x168b8d[_0x5cceac(0x19f)]?'pipe':_0x5cceac(0x1a8);console[_0x5cceac(0x1d4)]('Installing\x20official\x20skill\x20via\x20npx\x20(npx\x20skills\x20add\x20'+_0x284805+_0x5cceac(0x195));const _0x4f2df7=_0x5c4a0e(process['cwd'](),_0x284805,{'stdio':_0x421657});if(_0x4f2df7[_0x5cceac(0x19c)])console['log'](_0x5cceac(0x1b7)+_0x2f000c+'=1);\x20assuming\x20skill\x20is\x20already\x20present.');else{if(_0x4f2df7['ok'])console[_0x5cceac(0x1d4)](CLI_BIN_NAME+_0x5cceac(0x1b1));else throw CliErrors[_0x5cceac(0x1b4)](_0x5cceac(0x19a)+(_0x4f2df7[_0x5cceac(0x1d7)]||_0x5cceac(0x198)),_0x5cceac(0x1a9));}return{'ok':!![]};}},{'service':a30_0x171879(0x1c1),'command':a30_0x171879(0x1e4),'description':a30_0x171879(0x1b6),'risk':a30_0x171879(0x1d8),'flags':[CODE_FLAG,SCOPE_FLAG],async 'execute'(_0x29ff7e){const _0x491ba8=a30_0x171879,{downloadRuntimeSkillPackage:_0x4ef652,listCompanyRuntimeSkills:_0x584323,listPersonalRuntimeSkills:_0x4bb3ec,listVisibleRuntimeSkills:_0x4e0f4c}=await import(_0x491ba8(0x1d0)),{linkGlobalRuntimeSkills:_0x11c2ca,linkEffectiveRuntimeSkills:_0x4b9d9c,materializeRuntimeSkill:_0x13a30e}=await import(_0x491ba8(0x1ce)),_0x2a5274=_0x29ff7e[_0x491ba8(0x1a7)]('code'),_0xc8f375=normalizePullScope(_0x29ff7e[_0x491ba8(0x1a7)]('scope')),_0x39d101=_0x29ff7e[_0x491ba8(0x190)]??_0x491ba8(0x19b),_0x289adb=_0x29ff7e[_0x491ba8(0x1cf)];if(!_0x289adb)throw CliErrors['authRequired']();if(_0xc8f375===_0x491ba8(0x1e1)){const _0x54bb0d=filterByCode((await _0x4e0f4c(_0x29ff7e['appCode']))[_0x491ba8(0x199)](_0x425244=>_0x425244['scope']===_0x491ba8(0x1e1)),_0x2a5274),_0x3c9d00=[];for(const _0x362b28 of _0x54bb0d){_0x3c9d00[_0x491ba8(0x1c5)](_0x13a30e(_0x362b28,_0x491ba8(0x1e1),{'env':_0x39d101,'accessKey':_0x289adb,'appCode':_0x29ff7e[_0x491ba8(0x1c4)],'packageBytes':await downloadPackageIfNeeded(_0x362b28,_0x491ba8(0x1e1),_0x29ff7e[_0x491ba8(0x1c4)],_0x4ef652)}));}const _0x2696e4=_0x11c2ca(_0x3c9d00),_0x4c1b6b=countLinkActions(_0x2696e4),_0x457392=_0x2696e4[0x0]?.[_0x491ba8(0x1d1)]?dirname(_0x2696e4[0x0][_0x491ba8(0x1d1)]):undefined,_0x260bff=new Map(_0x2696e4[_0x491ba8(0x1c6)](_0x185708=>[basename(_0x185708[_0x491ba8(0x1d1)]),_0x185708]));return{'ok':!![],'data':{'appCode':_0x29ff7e[_0x491ba8(0x1c4)],'scope':_0x491ba8(0x1e1),'builtin':_0x54bb0d['length'],'materialized':_0x3c9d00[_0x491ba8(0x1df)],'globalRoot':_0x457392,'links':{'total':_0x2696e4[_0x491ba8(0x1df)],'created':_0x4c1b6b[_0x491ba8(0x1d6)]??0x0,'updated':_0x4c1b6b[_0x491ba8(0x1bb)]??0x0,'unchanged':_0x4c1b6b[_0x491ba8(0x1a2)]??0x0,'skipped':0x0,'conflicted':0x0},'skills':{'builtin':_0x54bb0d[_0x491ba8(0x1c6)](_0x2a67ad=>{const _0x42f343=_0x491ba8,_0x283735=_0x260bff[_0x42f343(0x1b9)](_0x2a67ad[_0x42f343(0x1c7)]);return{...summarizeRuntimeSkill(_0x2a67ad),'contentHash':_0x283735?.[_0x42f343(0x1cc)]};})}},'message':_0x491ba8(0x194)+_0x54bb0d[_0x491ba8(0x1df)]+'\x20builtin\x20Skill(s).'};}const _0xb8e95d=filterByCode(await _0x4bb3ec(_0x29ff7e[_0x491ba8(0x1c4)]),_0x2a5274),_0xa475b3=filterByCode(await _0x584323(_0x29ff7e[_0x491ba8(0x1c4)]),_0x2a5274),_0x22c9aa=[];for(const _0x3a5fd8 of _0xb8e95d){_0x22c9aa[_0x491ba8(0x1c5)](_0x13a30e(_0x3a5fd8,'personal',{'env':_0x39d101,'accessKey':_0x289adb,'appCode':_0x29ff7e['appCode'],'packageBytes':await downloadPackageIfNeeded(_0x3a5fd8,_0x491ba8(0x1ad),_0x29ff7e[_0x491ba8(0x1c4)],_0x4ef652)}));}for(const _0x29305e of _0xa475b3){_0x22c9aa[_0x491ba8(0x1c5)](_0x13a30e(_0x29305e,_0x491ba8(0x18f),{'env':_0x39d101,'accessKey':_0x289adb,'appCode':_0x29ff7e['appCode'],'packageBytes':await downloadPackageIfNeeded(_0x29305e,_0x491ba8(0x18f),_0x29ff7e[_0x491ba8(0x1c4)],_0x4ef652)}));}const _0xdf0f0c=_0x4b9d9c(_0x22c9aa,_0x29ff7e[_0x491ba8(0x1c4)]),_0x1ef65d=countLinkActions(_0xdf0f0c);return{'ok':!![],'data':{'appCode':_0x29ff7e[_0x491ba8(0x1c4)],'personal':_0xb8e95d['length'],'company':_0xa475b3[_0x491ba8(0x1df)],'materialized':_0x22c9aa[_0x491ba8(0x1df)],'links':{'total':_0xdf0f0c[_0x491ba8(0x1df)],'created':_0x1ef65d[_0x491ba8(0x1d6)]??0x0,'updated':_0x1ef65d['updated']??0x0,'unchanged':_0x1ef65d[_0x491ba8(0x1a2)]??0x0,'skipped':0x0,'conflicted':0x0},'skills':{'personal':_0xb8e95d['map'](summarizeRuntimeSkill),'company':_0xa475b3['map'](summarizeRuntimeSkill)}},'message':'Pulled\x20'+_0xb8e95d['length']+'\x20personal\x20and\x20'+_0xa475b3[_0x491ba8(0x1df)]+_0x491ba8(0x1c3)};}},{'service':a30_0x171879(0x1c1),'command':a30_0x171879(0x1c5),'description':a30_0x171879(0x1d9),'risk':a30_0x171879(0x1d8),'flags':[DIR_FLAG],async 'execute'(_0x5b5ac2){const _0x11b8a1=a30_0x171879,{createPersonalRuntimeSkill:_0x3053bc,downloadRuntimeSkillPackage:_0x5edcc5,listPersonalRuntimeSkills:_0xc96aef,updatePersonalRuntimeSkill:_0x17ce07}=await import(_0x11b8a1(0x1d0)),{verifyRuntimeSkillPackage:_0x3ea9de,readPushDirectory:_0x1e1995,recordPushedRuntimeSkill:_0x53e3af}=await import(_0x11b8a1(0x1ce));if(!_0x5b5ac2[_0x11b8a1(0x1cf)])throw CliErrors[_0x11b8a1(0x1cb)]();const _0x25cdfb=_0x1e1995(_0x5b5ac2['str'](_0x11b8a1(0x1ac)),_0x5b5ac2[_0x11b8a1(0x1c4)]),_0x5bd217=(await _0xc96aef(_0x5b5ac2['appCode']))[_0x11b8a1(0x1ca)](_0x19263c=>_0x19263c[_0x11b8a1(0x1c7)]===_0x25cdfb[_0x11b8a1(0x1c7)]),_0x39a5ec=_0x5bd217?await _0x17ce07(_0x25cdfb[_0x11b8a1(0x1c7)],_0x5b5ac2[_0x11b8a1(0x1c4)],_0x25cdfb[_0x11b8a1(0x196)]):await _0x3053bc(_0x5b5ac2[_0x11b8a1(0x1c4)],_0x25cdfb[_0x11b8a1(0x196)]);assertMultiFilePushPersisted(_0x25cdfb[_0x11b8a1(0x196)][_0x11b8a1(0x1be)],_0x39a5ec);if(isPackageBackedMultiFile(_0x39a5ec['files'])){const _0x1c0fcd=await _0x5edcc5('personal',_0x25cdfb[_0x11b8a1(0x1c7)],_0x5b5ac2[_0x11b8a1(0x1c4)]);_0x3ea9de(_0x39a5ec[_0x11b8a1(0x1be)],_0x1c0fcd);}return _0x53e3af(_0x5b5ac2[_0x11b8a1(0x1a7)](_0x11b8a1(0x1ac)),_0x39a5ec,_0x5b5ac2['appCode']),{'ok':!![],'data':summarizeRuntimeSkill(_0x39a5ec),'message':_0x5bd217?'Updated\x20personal\x20Skill\x20'+_0x25cdfb[_0x11b8a1(0x1c7)]:_0x11b8a1(0x1e2)+_0x25cdfb[_0x11b8a1(0x1c7)]};}}];async function downloadPackageIfNeeded(_0x43f4e8,_0x267efa,_0x3ff77a,_0xb65aed){const _0x45fee5=a30_0x171879;if(!isPackageBackedManifest(_0x43f4e8[_0x45fee5(0x1be)]))return undefined;return _0xb65aed(_0x267efa,_0x43f4e8[_0x45fee5(0x1c7)],_0x3ff77a);}function normalizePullScope(_0x58442f){const _0xadbf06=a30_0x171879,_0x4089dc=_0x58442f[_0xadbf06(0x1b0)]();if(!_0x4089dc)return _0xadbf06(0x1db);if(_0x4089dc==='user'||_0x4089dc===_0xadbf06(0x1e1))return _0x4089dc;throw CliErrors[_0xadbf06(0x1aa)]('Unsupported\x20Skill\x20pull\x20scope:\x20'+_0x58442f);}function countLinkActions(_0x5e921b){const _0x193d0f=a30_0x171879;return _0x5e921b[_0x193d0f(0x1dc)]((_0x257c9d,_0x569a4f)=>{const _0xb1b444=_0x193d0f;return _0x257c9d[_0x569a4f[_0xb1b444(0x192)]]=(_0x257c9d[_0x569a4f[_0xb1b444(0x192)]]??0x0)+0x1,_0x257c9d;},{});}function assertMultiFilePushPersisted(_0x398a8e,_0x16bccc){const _0x39d7cd=a30_0x171879;if(!isMultiFileManifest(_0x398a8e))return;if(!isPackageBackedMultiFile(_0x16bccc[_0x39d7cd(0x1be)]))throw CliErrors[_0x39d7cd(0x1aa)]('Backend\x20did\x20not\x20persist\x20the\x20multi-file\x20Skill\x20manifest.','Upgrade\x20the\x20runtime\x20service\x20before\x20pushing\x20multi-file\x20Skill\x20directories.');if(_0x398a8e[_0x39d7cd(0x18e)]!==_0x16bccc[_0x39d7cd(0x1be)]['treeSha256']||_0x398a8e[_0x39d7cd(0x1c9)]!==_0x16bccc[_0x39d7cd(0x1be)]['zipSha256']||_0x398a8e['zipSize']!==_0x16bccc['files'][_0x39d7cd(0x1bf)]||!_0x16bccc['files']['ossPath']||manifestFileSignature(_0x398a8e)!==manifestFileSignature(_0x16bccc[_0x39d7cd(0x1be)]))throw CliErrors[_0x39d7cd(0x1aa)](_0x39d7cd(0x1de),_0x39d7cd(0x1a0));}function isPackageBackedManifest(_0x19214a){const _0x2e3ee5=a30_0x171879;return!!_0x19214a&&typeof _0x19214a===_0x2e3ee5(0x1bd)&&!Array['isArray'](_0x19214a)&&typeof _0x19214a[_0x2e3ee5(0x1a3)]===_0x2e3ee5(0x1d2)&&_0x19214a[_0x2e3ee5(0x1a3)]['length']>0x0&&Array['isArray'](_0x19214a[_0x2e3ee5(0x1be)]);}function isPackageBackedMultiFile(_0x4ba53c){return isPackageBackedManifest(_0x4ba53c)&&isMultiFileManifest(_0x4ba53c);}function isMultiFileManifest(_0x1a1602){const _0x4eff21=a30_0x171879;return!!_0x1a1602&&typeof _0x1a1602===_0x4eff21(0x1bd)&&!Array[_0x4eff21(0x1af)](_0x1a1602)&&Array[_0x4eff21(0x1af)](_0x1a1602['files'])&&_0x1a1602['files'][_0x4eff21(0x193)](_0x2bed42=>_0x2bed42[_0x4eff21(0x1d1)]!==_0x4eff21(0x1d3));}function manifestFileSignature(_0x6f5f0c){const _0x4ce509=a30_0x171879;return[..._0x6f5f0c[_0x4ce509(0x1be)]]['map'](_0x49fbc5=>_0x49fbc5['path']+'\x00'+_0x49fbc5[_0x4ce509(0x1e6)]+'\x00'+_0x49fbc5[_0x4ce509(0x1ba)])[_0x4ce509(0x1b3)]()[_0x4ce509(0x1b2)]('\x00');}
@@ -1 +1 @@
1
- const a31_0x237049=a31_0x2654;(function(_0x25c683,_0x459139){const _0x24ad98=a31_0x2654,_0x2d42f9=_0x25c683();while(!![]){try{const _0x5c8251=-parseInt(_0x24ad98(0xeb))/0x1+-parseInt(_0x24ad98(0xe9))/0x2+parseInt(_0x24ad98(0xf9))/0x3+-parseInt(_0x24ad98(0xf5))/0x4*(parseInt(_0x24ad98(0xf2))/0x5)+-parseInt(_0x24ad98(0xed))/0x6*(parseInt(_0x24ad98(0xfb))/0x7)+-parseInt(_0x24ad98(0xee))/0x8+-parseInt(_0x24ad98(0xf6))/0x9*(-parseInt(_0x24ad98(0xe8))/0xa);if(_0x5c8251===_0x459139)break;else _0x2d42f9['push'](_0x2d42f9['shift']());}catch(_0x4fbf52){_0x2d42f9['push'](_0x2d42f9['shift']());}}}(a31_0x3cd8,0xa9867));function a31_0x2654(_0x34b3d0,_0x4b0b90){_0x34b3d0=_0x34b3d0-0xe7;const _0x3cd817=a31_0x3cd8();let _0x2654a3=_0x3cd817[_0x34b3d0];return _0x2654a3;}import{getSqlQueryInfo}from'../../core/api-client.js';import{getDbName}from'../../core/db-resolver.js';function a31_0x3cd8(){const _0x2ab3d2=['1165436cdZbwX','18BIBXzV','description','dbId','1355019ZhzgGD','sql','418537gtyAUs','appCode','15098900jOceoz','1804488AOqqTa','Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode','329887cOlWrk','sqlName','36DNLrom','2496992SKHeNT','verbose','detail','sqlCode','15QmTvIH','sqlcode','str'];a31_0x3cd8=function(){return _0x2ab3d2;};return a31_0x3cd8();}import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const sqlDetail={'service':a31_0x237049(0xfa),'command':a31_0x237049(0xf0),'description':a31_0x237049(0xea),'risk':'read','flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x3bf595){const _0x337aaa=a31_0x237049,_0x2bd9bc=await getSqlQueryInfo(_0x3bf595[_0x337aaa(0xe7)],_0x3bf595[_0x337aaa(0xf4)](_0x337aaa(0xf3))),_0x491f3c=_0x3bf595['bool'](_0x337aaa(0xef));if(_0x491f3c)return{'ok':!![],'data':_0x2bd9bc};const _0x4eaa43=_0x2bd9bc['dbId']?await getDbName(_0x3bf595['appCode'],_0x2bd9bc['dbId']):undefined;return{'ok':!![],'data':{'sqlCode':_0x2bd9bc[_0x337aaa(0xf1)],'sqlName':_0x2bd9bc[_0x337aaa(0xec)],'db':_0x4eaa43?_0x4eaa43+'\x20('+_0x2bd9bc['dbId']+')':_0x2bd9bc[_0x337aaa(0xf8)]??'','description':_0x2bd9bc[_0x337aaa(0xf7)]??'','sqlContent':_0x2bd9bc['sqlContent']??''}};}};
1
+ const a31_0x4c33ff=a31_0x1af3;function a31_0x1af3(_0x85b6d3,_0x42ac7f){_0x85b6d3=_0x85b6d3-0xac;const _0x239ac5=a31_0x239a();let _0x1af3bf=_0x239ac5[_0x85b6d3];return _0x1af3bf;}(function(_0x3fe29c,_0x140f2f){const _0x10a51e=a31_0x1af3,_0x5ed3c9=_0x3fe29c();while(!![]){try{const _0x5d1b73=-parseInt(_0x10a51e(0xb8))/0x1+parseInt(_0x10a51e(0xb6))/0x2*(-parseInt(_0x10a51e(0xb5))/0x3)+-parseInt(_0x10a51e(0xbe))/0x4+-parseInt(_0x10a51e(0xb4))/0x5*(parseInt(_0x10a51e(0xb1))/0x6)+-parseInt(_0x10a51e(0xbb))/0x7+parseInt(_0x10a51e(0xb2))/0x8+parseInt(_0x10a51e(0xb9))/0x9;if(_0x5d1b73===_0x140f2f)break;else _0x5ed3c9['push'](_0x5ed3c9['shift']());}catch(_0x92eb6d){_0x5ed3c9['push'](_0x5ed3c9['shift']());}}}(a31_0x239a,0xa3a8d));import{getSqlQueryInfo}from'../../core/api-client.js';import{getDbName}from'../../core/db-resolver.js';import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';function a31_0x239a(){const _0x959055=['134838LMZdsS','2968760IlSTTW','sqlName','115dudFla','3gpebSt','482214Cycpbu','Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode','1133650uSAhps','24168870bCSdUW','read','2354044tveNei','str','verbose','632992oeqMKy','sql','sqlcode','dbId','sqlCode','appCode'];a31_0x239a=function(){return _0x959055;};return a31_0x239a();}export const sqlDetail={'service':a31_0x4c33ff(0xac),'command':'detail','description':a31_0x4c33ff(0xb7),'risk':a31_0x4c33ff(0xba),'flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x21eb51){const _0x3715a4=a31_0x4c33ff,_0x515bce=await getSqlQueryInfo(_0x21eb51[_0x3715a4(0xb0)],_0x21eb51[_0x3715a4(0xbc)](_0x3715a4(0xad))),_0x122502=_0x21eb51['bool'](_0x3715a4(0xbd));if(_0x122502)return{'ok':!![],'data':_0x515bce};const _0x1a9a8d=_0x515bce[_0x3715a4(0xae)]?await getDbName(_0x21eb51[_0x3715a4(0xb0)],_0x515bce[_0x3715a4(0xae)]):undefined;return{'ok':!![],'data':{'sqlCode':_0x515bce[_0x3715a4(0xaf)],'sqlName':_0x515bce[_0x3715a4(0xb3)],'db':_0x1a9a8d?_0x1a9a8d+'\x20('+_0x515bce[_0x3715a4(0xae)]+')':_0x515bce[_0x3715a4(0xae)]??'','description':_0x515bce['description']??'','sqlContent':_0x515bce['sqlContent']??''}};}};
@@ -1 +1 @@
1
- const a32_0x1b30d4=a32_0x36b7;(function(_0x42dab1,_0x30501f){const _0x1a1aad=a32_0x36b7,_0x5e0b7e=_0x42dab1();while(!![]){try{const _0x484e2e=-parseInt(_0x1a1aad(0x15e))/0x1+parseInt(_0x1a1aad(0x164))/0x2+parseInt(_0x1a1aad(0x16b))/0x3+parseInt(_0x1a1aad(0x169))/0x4+parseInt(_0x1a1aad(0x168))/0x5*(parseInt(_0x1a1aad(0x15b))/0x6)+-parseInt(_0x1a1aad(0x16c))/0x7+-parseInt(_0x1a1aad(0x15f))/0x8;if(_0x484e2e===_0x30501f)break;else _0x5e0b7e['push'](_0x5e0b7e['shift']());}catch(_0x338667){_0x5e0b7e['push'](_0x5e0b7e['shift']());}}}(a32_0x2d59,0xf3c9b));function a32_0x36b7(_0x473b0c,_0x17d1b0){_0x473b0c=_0x473b0c-0x15b;const _0x2d59e8=a32_0x2d59();let _0x36b759=_0x2d59e8[_0x473b0c];return _0x36b759;}function a32_0x2d59(){const _0x45718a=['execResult','execError','24xiXOKR','Returned\x20','now','152343vzQRJw','15328768sKlXQo','length','exec','sqlcode','sql','1886710lRLcPx','Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','SQL\x20execution\x20failed','params','2073040NdfbeX','4776028KXqCQv','str','1645875tKIvSR','8941975kkprrq'];a32_0x2d59=function(){return _0x45718a;};return a32_0x2d59();}import{executeSdkSql}from'../../core/sdk-client.js';import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';import{parseJsonParams}from'../../utils/params.js';export const sqlExec={'service':a32_0x1b30d4(0x163),'command':a32_0x1b30d4(0x161),'description':a32_0x1b30d4(0x165),'risk':'read','flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x1c3545){const _0x130dcb=a32_0x1b30d4,_0x4610df=parseJsonParams(_0x1c3545[_0x130dcb(0x16a)](_0x130dcb(0x167))),_0x4e57d3=Date[_0x130dcb(0x15d)](),_0x2c6555=await executeSdkSql(_0x1c3545[_0x130dcb(0x16a)](_0x130dcb(0x162)),_0x4610df),_0x1fc1fb=Date[_0x130dcb(0x15d)]()-_0x4e57d3,_0x1217ae=_0x2c6555?.[_0x130dcb(0x16d)]??_0x2c6555,_0x16e9ec=_0x2c6555?.['execSuccess']??!![];if(!_0x16e9ec)return{'ok':![],'data':{'error':_0x2c6555?.[_0x130dcb(0x16e)]||_0x130dcb(0x166),'elapsed':_0x1fc1fb},'message':'SQL\x20execution\x20failed'};const _0x4c62bf=Array['isArray'](_0x1217ae)?_0x1217ae:[];return{'ok':!![],'data':{'rows':_0x4c62bf,'rowCount':_0x4c62bf[_0x130dcb(0x160)],'elapsed':_0x1fc1fb},'message':_0x130dcb(0x15c)+_0x4c62bf['length']+'\x20row(s)\x20in\x20'+_0x1fc1fb+'ms'};}};
1
+ const a32_0x1c2e9c=a32_0x45fc;(function(_0x389c2b,_0x3eec82){const _0x2b9d21=a32_0x45fc,_0x9afe9f=_0x389c2b();while(!![]){try{const _0x147f52=parseInt(_0x2b9d21(0x1c0))/0x1+-parseInt(_0x2b9d21(0x1c4))/0x2*(-parseInt(_0x2b9d21(0x1b1))/0x3)+parseInt(_0x2b9d21(0x1bc))/0x4*(parseInt(_0x2b9d21(0x1b3))/0x5)+parseInt(_0x2b9d21(0x1b4))/0x6+parseInt(_0x2b9d21(0x1b0))/0x7*(parseInt(_0x2b9d21(0x1b2))/0x8)+parseInt(_0x2b9d21(0x1c3))/0x9*(parseInt(_0x2b9d21(0x1b9))/0xa)+-parseInt(_0x2b9d21(0x1c1))/0xb;if(_0x147f52===_0x3eec82)break;else _0x9afe9f['push'](_0x9afe9f['shift']());}catch(_0x569680){_0x9afe9f['push'](_0x9afe9f['shift']());}}}(a32_0x416e,0x617a2));import{executeSdkSql}from'../../core/sdk-client.js';function a32_0x416e(){const _0xc93717=['1862994NctxnI','str','execSuccess','length','\x20row(s)\x20in\x20','10YUPnCc','sql','Returned\x20','4rBdvth','execError','params','SQL\x20execution\x20failed','631864fKujZJ','26474734TjoNQK','now','5769099wMVFEv','5392vRVNcp','exec','isArray','read','Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','sqlcode','execResult','2135MykpDC','591vLYNSn','15280XvmYyE','545120yBIfoa'];a32_0x416e=function(){return _0xc93717;};return a32_0x416e();}import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';function a32_0x45fc(_0x156522,_0x3e32c6){_0x156522=_0x156522-0x1ae;const _0x416eca=a32_0x416e();let _0x45fc20=_0x416eca[_0x156522];return _0x45fc20;}import{parseJsonParams}from'../../utils/params.js';export const sqlExec={'service':a32_0x1c2e9c(0x1ba),'command':a32_0x1c2e9c(0x1c5),'description':a32_0x1c2e9c(0x1c8),'risk':a32_0x1c2e9c(0x1c7),'flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x5af0bc){const _0x2ea5c1=a32_0x1c2e9c,_0x12defd=parseJsonParams(_0x5af0bc[_0x2ea5c1(0x1b5)](_0x2ea5c1(0x1be))),_0xbd47d=Date[_0x2ea5c1(0x1c2)](),_0x51d26a=await executeSdkSql(_0x5af0bc[_0x2ea5c1(0x1b5)](_0x2ea5c1(0x1ae)),_0x12defd),_0x1ff240=Date[_0x2ea5c1(0x1c2)]()-_0xbd47d,_0x2e84a8=_0x51d26a?.[_0x2ea5c1(0x1af)]??_0x51d26a,_0x5ef3cd=_0x51d26a?.[_0x2ea5c1(0x1b6)]??!![];if(!_0x5ef3cd)return{'ok':![],'data':{'error':_0x51d26a?.[_0x2ea5c1(0x1bd)]||_0x2ea5c1(0x1bf),'elapsed':_0x1ff240},'message':_0x2ea5c1(0x1bf)};const _0x3f900a=Array[_0x2ea5c1(0x1c6)](_0x2e84a8)?_0x2e84a8:[];return{'ok':!![],'data':{'rows':_0x3f900a,'rowCount':_0x3f900a['length'],'elapsed':_0x1ff240},'message':_0x2ea5c1(0x1bb)+_0x3f900a[_0x2ea5c1(0x1b7)]+_0x2ea5c1(0x1b8)+_0x1ff240+'ms'};}};
@@ -1 +1 @@
1
- (function(_0x3c7801,_0x1ce504){const _0x22930a=a33_0x9f66,_0x41dbc=_0x3c7801();while(!![]){try{const _0xb8fd2e=-parseInt(_0x22930a(0xa0))/0x1*(parseInt(_0x22930a(0xa4))/0x2)+parseInt(_0x22930a(0x9f))/0x3+-parseInt(_0x22930a(0x9e))/0x4+-parseInt(_0x22930a(0xa2))/0x5+parseInt(_0x22930a(0x9d))/0x6+-parseInt(_0x22930a(0xa1))/0x7*(-parseInt(_0x22930a(0xa3))/0x8)+parseInt(_0x22930a(0xa5))/0x9;if(_0xb8fd2e===_0x1ce504)break;else _0x41dbc['push'](_0x41dbc['shift']());}catch(_0x381ccc){_0x41dbc['push'](_0x41dbc['shift']());}}}(a33_0x4705,0xa1d88));import{sqlDetail}from'../../commands/sql/detail.js';function a33_0x9f66(_0x4dcdee,_0x37b99b){_0x4dcdee=_0x4dcdee-0x9d;const _0x4705bc=a33_0x4705();let _0x9f66fc=_0x4705bc[_0x4dcdee];return _0x9f66fc;}import{sqlExec}from'../../commands/sql/exec.js';export const sqlDefinitions=[sqlDetail,sqlExec];function a33_0x4705(){const _0x3ee1c7=['1172kYreFU','1743NWpUpf','1287030wFcwtH','39952OdJQDE','2062XekuwK','1802034hPROGl','5089188XxhWBg','4966724DBKXRz','3235227GwAYgQ'];a33_0x4705=function(){return _0x3ee1c7;};return a33_0x4705();}
1
+ (function(_0x52a0c9,_0x4b51d3){const _0x17f004=a33_0x2521,_0x1eb810=_0x52a0c9();while(!![]){try{const _0x38ed66=-parseInt(_0x17f004(0x1f3))/0x1+parseInt(_0x17f004(0x1ec))/0x2*(-parseInt(_0x17f004(0x1f0))/0x3)+parseInt(_0x17f004(0x1eb))/0x4+parseInt(_0x17f004(0x1ef))/0x5*(parseInt(_0x17f004(0x1ea))/0x6)+-parseInt(_0x17f004(0x1ee))/0x7+-parseInt(_0x17f004(0x1f1))/0x8*(-parseInt(_0x17f004(0x1ed))/0x9)+-parseInt(_0x17f004(0x1f2))/0xa;if(_0x38ed66===_0x4b51d3)break;else _0x1eb810['push'](_0x1eb810['shift']());}catch(_0x202779){_0x1eb810['push'](_0x1eb810['shift']());}}}(a33_0x5b18,0x7c678));function a33_0x2521(_0xca02a5,_0x3f1af9){_0xca02a5=_0xca02a5-0x1ea;const _0x5b18a4=a33_0x5b18();let _0x252169=_0x5b18a4[_0xca02a5];return _0x252169;}import{sqlDetail}from'../../commands/sql/detail.js';import{sqlExec}from'../../commands/sql/exec.js';function a33_0x5b18(){const _0x4daedd=['215jzmqyo','38373tvMzbR','24pbznWw','862970RVVmjR','228725jqigBO','57006PiDAGH','2986256KkHOWb','94tSBWIi','1163349EwSldR','819917gYwdYR'];a33_0x5b18=function(){return _0x4daedd;};return a33_0x5b18();}export const sqlDefinitions=[sqlDetail,sqlExec];
@@ -1 +1 @@
1
- const a34_0x5be5bc=a34_0x501f;function a34_0x501f(_0x2c989b,_0x58a546){_0x2c989b=_0x2c989b-0xbc;const _0x416050=a34_0x4160();let _0x501fcf=_0x416050[_0x2c989b];return _0x501fcf;}(function(_0x3335f3,_0x2a1eb9){const _0x338ea5=a34_0x501f,_0x3344a8=_0x3335f3();while(!![]){try{const _0x262429=parseInt(_0x338ea5(0xda))/0x1+-parseInt(_0x338ea5(0x104))/0x2+parseInt(_0x338ea5(0xe3))/0x3+parseInt(_0x338ea5(0xc3))/0x4+-parseInt(_0x338ea5(0xee))/0x5+-parseInt(_0x338ea5(0xbc))/0x6*(-parseInt(_0x338ea5(0x10a))/0x7)+parseInt(_0x338ea5(0xbf))/0x8;if(_0x262429===_0x2a1eb9)break;else _0x3344a8['push'](_0x3344a8['shift']());}catch(_0x3fbb14){_0x3344a8['push'](_0x3344a8['shift']());}}}(a34_0x4160,0xe2648));import{spawnSync}from'node:child_process';function a34_0x4160(){const _0x45321d=['\x20\x20Run\x20manually:\x20npx\x20skills\x20add\x20','cwd','install','590201jtATSc','Already\x20on\x20requested\x20version\x20(v','stdout','warn','Checking\x20npm\x20dist-tags...','\x20\x20Official\x20skill\x20package\x20is\x20up\x20to\x20date.','\x20\x20Skipped\x20skill\x20install\x20(','skipped','latest','3263616MNgAhJ','major','Skipping\x20official\x20skill\x20package\x20(--no-skills).','--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.','\x20\x20Run\x20manually:\x20npm\x20install\x20-g\x20','\x20version\x20from\x20npm.','timeout','error','version','Invalid\x20version:\x20','source','8462835zxIqZC','minor','validation','npm','inherit','boolean','nonInteractive','json','unknown','beta','/-/package/','args','\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.','flag','Updated\x20to\x20v','skills','update','stderr','Checking\x20official\x20skill\x20package...','Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','\x20-g\x20-y','Skip\x20official\x20skill\x20package\x20refresh\x20after\x20updating','2911680phvVpI','toString','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','Update\x20failed:\x20','filter','status','35EQvpEQ','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.','1735908PaetXU','\x20\x20Official\x20skill\x20update\x20failed:\x20','entries','394936gyiiGy','log','map','Updating\x20','3606724VyJCne','Install\x20a\x20specific\x20CLI\x20version','str','Current\x20version:\x20','bool','/dist-tags','\x20\x20Try\x20manually:\x20npm\x20install\x20-g\x20','message','join','\x20CLI\x20from\x20npm','no-skills','Use\x20full\x20semver\x20versions\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','\x20->\x20','exit\x20','string','pipe','prerelease','write','Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','trim'];a34_0x4160=function(){return _0x45321d;};return a34_0x4160();}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':'latest','type':a34_0x5be5bc(0xf3),'description':a34_0x5be5bc(0xd5),'default':![]},{'name':a34_0x5be5bc(0xf7),'type':a34_0x5be5bc(0xf3),'description':a34_0x5be5bc(0x101),'default':![]},{'name':a34_0x5be5bc(0xeb),'type':a34_0x5be5bc(0xd1),'description':a34_0x5be5bc(0xc4)},{'name':a34_0x5be5bc(0xcd),'type':'boolean','description':a34_0x5be5bc(0x103),'default':![]},{'name':a34_0x5be5bc(0xfd),'type':'boolean','description':'Refresh\x20official\x20skill\x20package\x20after\x20updating','default':!![],'hidden':!![]}];function parseSemver(_0x31df8a){const _0x32c485=a34_0x5be5bc,_0x5af86d=_0x31df8a[_0x32c485(0xd6)]()['match'](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x5af86d)return null;return{'major':Number(_0x5af86d[0x1]),'minor':Number(_0x5af86d[0x2]),'patch':Number(_0x5af86d[0x3]),'prerelease':_0x5af86d[0x4]};}function compareSemver(_0x6ed62f,_0x52131f){const _0x4c79bc=a34_0x5be5bc,_0x40d10a=parseSemver(_0x6ed62f),_0xe27db7=parseSemver(_0x52131f);if(!_0x40d10a||!_0xe27db7)throw CliErrors[_0x4c79bc(0xf0)]('Version\x20comparison\x20failed.',_0x4c79bc(0xce));for(const _0x53f616 of[_0x4c79bc(0xe4),_0x4c79bc(0xef),'patch']){if(_0x40d10a[_0x53f616]<_0xe27db7[_0x53f616])return-0x1;if(_0x40d10a[_0x53f616]>_0xe27db7[_0x53f616])return 0x1;}if(!_0x40d10a[_0x4c79bc(0xd3)]&&!_0xe27db7[_0x4c79bc(0xd3)])return 0x0;if(!_0x40d10a['prerelease'])return 0x1;if(!_0xe27db7[_0x4c79bc(0xd3)])return-0x1;if(_0x40d10a[_0x4c79bc(0xd3)]===_0xe27db7['prerelease'])return 0x0;return _0x40d10a[_0x4c79bc(0xd3)]<_0xe27db7[_0x4c79bc(0xd3)]?-0x1:0x1;}function getRequestedVersion(_0x427daf){const _0x5bc923=a34_0x5be5bc,_0x8ba77f=_0x427daf[_0x5bc923(0xc5)](_0x5bc923(0xeb))[_0x5bc923(0xd6)]();if(_0x8ba77f)return _0x8ba77f;return String(_0x427daf[_0x5bc923(0xf9)]?.[0x0]??'')[_0x5bc923(0xd6)]();}function shouldSkipOfficialSkill(_0x41a39b){const _0x453d2b=a34_0x5be5bc;return _0x41a39b[_0x453d2b(0xc7)]('no-skills')||_0x41a39b[_0x453d2b(0xfb)](_0x453d2b(0xfd))===![];}async function validateUpdateFlags(_0x2143ff){const _0x8b498d=a34_0x5be5bc,_0x3acc5e=getRequestedVersion(_0x2143ff),_0x1fc536=[_0x2143ff[_0x8b498d(0xc7)](_0x8b498d(0xe2))?_0x8b498d(0xe2):'',_0x2143ff[_0x8b498d(0xc7)]('beta')?_0x8b498d(0xf7):'',_0x3acc5e?_0x8b498d(0xeb):''][_0x8b498d(0x108)](Boolean);if(_0x1fc536['length']>0x1)throw CliErrors[_0x8b498d(0xf0)](_0x8b498d(0xe6),_0x8b498d(0x10b));if(_0x3acc5e&&!parseSemver(_0x3acc5e))throw CliErrors[_0x8b498d(0xf0)](_0x8b498d(0xec)+_0x3acc5e,_0x8b498d(0x106));}async function fetchNpmDistTags(){const _0xca96c4=a34_0x5be5bc;try{const _0x464ed6=NPM_REGISTRY_BASE_URL+_0xca96c4(0xf8)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0xca96c4(0xc8),_0x2809de=await fetch(_0x464ed6,{'signal':AbortSignal[_0xca96c4(0xe9)](0x2710)});if(!_0x2809de['ok'])return null;const _0x15aef3=await _0x2809de[_0xca96c4(0xf5)]();if(!_0x15aef3||typeof _0x15aef3!=='object')return null;return Object['fromEntries'](Object[_0xca96c4(0xbe)](_0x15aef3)['filter'](([,_0x54c7c8])=>typeof _0x54c7c8===_0xca96c4(0xd1)&&_0x54c7c8['trim']())[_0xca96c4(0xc1)](([_0x3d7594,_0x12bceb])=>[_0x3d7594,String(_0x12bceb)[_0xca96c4(0xd6)]()]));}catch{return null;}}async function resolveTargetVersion(_0x205c44){const _0x16e0a1=a34_0x5be5bc,_0x1192b8=getRequestedVersion(_0x205c44);if(_0x1192b8)return{'version':_0x1192b8,'source':'version'};const _0x379eef=_0x205c44[_0x16e0a1(0xc7)]('beta')?'beta':'latest',_0x1c4a52=await fetchNpmDistTags(),_0x1fee70=_0x1c4a52?.[_0x379eef];if(!_0x1fee70)return null;return{'version':_0x1fee70,'source':_0x379eef};}function shouldInstallTarget(_0x2fb001,_0x31bf5d){const _0x19f5ba=a34_0x5be5bc,_0x260526=compareSemver(_0x2fb001,_0x31bf5d['version']);if(_0x31bf5d[_0x19f5ba(0xed)]==='version')return _0x260526!==0x0;return _0x260526<0x0;}function installCliPackage(_0x49860a,_0x2a9c38){const _0x3cbe2c=a34_0x5be5bc,_0x212e47=resolveNpmBin(_0x3cbe2c(0xf1)),_0x99ea69=[_0x3cbe2c(0xd9),'-g',LOVRABET_NPM_PACKAGE_NAME+'@'+_0x49860a];console[_0x3cbe2c(0xc0)]('*\x20'+[_0x212e47,..._0x99ea69][_0x3cbe2c(0xcb)]('\x20'));const _0x3effeb=spawnSync(_0x212e47,_0x99ea69,{'cwd':process[_0x3cbe2c(0xd8)](),'stdio':_0x2a9c38?_0x3cbe2c(0xd2):_0x3cbe2c(0xf2),'env':process.env,'shell':![]});if(_0x3effeb['status']===0x0)return{'ok':!![]};let _0x422606=_0x3effeb['error']?.[_0x3cbe2c(0xca)]||_0x3cbe2c(0xd0)+(_0x3effeb[_0x3cbe2c(0x109)]??'unknown');if(_0x2a9c38){const _0x3ccd5b=_0x3effeb['stderr']?_0x3effeb[_0x3cbe2c(0xff)][_0x3cbe2c(0x105)]()[_0x3cbe2c(0xd6)]():'',_0xe23d90=_0x3effeb[_0x3cbe2c(0xdc)]?_0x3effeb[_0x3cbe2c(0xdc)][_0x3cbe2c(0x105)]()[_0x3cbe2c(0xd6)]():'';if(_0x3ccd5b)_0x422606=_0x3ccd5b;else{if(_0xe23d90)_0x422606=_0xe23d90;}}return{'ok':![],'error':_0x422606};}async function installOfficialSkill(_0x4ced8b){const _0x2bd941=a34_0x5be5bc;console['log'](_0x2bd941(0x100));const _0x3b5b1d=runNpxSkillsAddGlobal(process['cwd'](),LOVRABET_SKILL_SOURCE,{'stdio':_0x4ced8b?_0x2bd941(0xd2):'inherit'});if(_0x3b5b1d[_0x2bd941(0xe1)]){console[_0x2bd941(0xc0)](_0x2bd941(0xe0)+LOVRABET_SKIP_NPX_SKILLS_ENV+'=1).');return;}if(_0x3b5b1d['ok']){console[_0x2bd941(0xc0)](_0x2bd941(0xdf));return;}console[_0x2bd941(0xdd)](_0x2bd941(0xbd)+(_0x3b5b1d[_0x2bd941(0xea)]||'unknown')),console[_0x2bd941(0xc0)](_0x2bd941(0xd7)+LOVRABET_SKILL_SOURCE+_0x2bd941(0x102));}async function execute(_0xdf34db){const _0x3e3bfa=a34_0x5be5bc;await validateUpdateFlags(_0xdf34db);const _0x2c7a22=getCliVersion();console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xc6)+_0x2c7a22),console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xde));const _0x2094b2=await resolveTargetVersion(_0xdf34db);if(!_0x2094b2){const _0x319a9d=_0xdf34db['bool']('beta')?_0x3e3bfa(0xf7):_0x3e3bfa(0xe2),_0x1c61ae='Unable\x20to\x20resolve\x20'+_0x319a9d+_0x3e3bfa(0xe8);return console[_0x3e3bfa(0xdd)](_0x1c61ae),console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xe7)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x319a9d),{'ok':![]};}if(!shouldInstallTarget(_0x2c7a22,_0x2094b2)){const _0x57b4c2=_0x2094b2['source']===_0x3e3bfa(0xeb)?_0x3e3bfa(0xdb)+_0x2094b2[_0x3e3bfa(0xeb)]+').':'Already\x20up\x20to\x20date\x20(v'+_0x2094b2[_0x3e3bfa(0xeb)]+').';return console[_0x3e3bfa(0xc0)](_0x57b4c2),shouldSkipOfficialSkill(_0xdf34db)?console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xe5)):await installOfficialSkill(_0xdf34db[_0x3e3bfa(0xf4)]),{'ok':!![]};}console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xc2)+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x2c7a22+_0x3e3bfa(0xcf)+_0x2094b2[_0x3e3bfa(0xeb)]);const _0x7c9dc6=installCliPackage(_0x2094b2[_0x3e3bfa(0xeb)],_0xdf34db['nonInteractive']);if(!_0x7c9dc6['ok']){const _0x5a0ac4=_0x3e3bfa(0x107)+(_0x7c9dc6['error']||_0x3e3bfa(0xf6));return console['error'](_0x5a0ac4),console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xc9)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x2094b2[_0x3e3bfa(0xeb)]),{'ok':![]};}return console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xfc)+_0x2094b2['version']+'.'),console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xfa)),shouldSkipOfficialSkill(_0xdf34db)?console[_0x3e3bfa(0xc0)](_0x3e3bfa(0xe5)):await installOfficialSkill(_0xdf34db['nonInteractive']),{'ok':!![]};}export const updateDefinition={'service':a34_0x5be5bc(0xfe),'command':'run','description':'Update\x20'+CLI_BIN_NAME+a34_0x5be5bc(0xcc),'risk':a34_0x5be5bc(0xd4),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
1
+ const a34_0x50cce0=a34_0x17a5;(function(_0x355933,_0x1ed431){const _0x22bc4c=a34_0x17a5,_0x33f06c=_0x355933();while(!![]){try{const _0x243636=-parseInt(_0x22bc4c(0xfd))/0x1+-parseInt(_0x22bc4c(0x10d))/0x2*(parseInt(_0x22bc4c(0xea))/0x3)+-parseInt(_0x22bc4c(0xc9))/0x4+-parseInt(_0x22bc4c(0xfb))/0x5+-parseInt(_0x22bc4c(0xfe))/0x6*(parseInt(_0x22bc4c(0x10f))/0x7)+parseInt(_0x22bc4c(0xc6))/0x8*(-parseInt(_0x22bc4c(0xef))/0x9)+parseInt(_0x22bc4c(0xd3))/0xa*(parseInt(_0x22bc4c(0xf8))/0xb);if(_0x243636===_0x1ed431)break;else _0x33f06c['push'](_0x33f06c['shift']());}catch(_0x2468e7){_0x33f06c['push'](_0x33f06c['shift']());}}}(a34_0x2e7f,0x9fa74));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':'latest','type':a34_0x50cce0(0xde),'description':a34_0x50cce0(0xff),'default':![]},{'name':a34_0x50cce0(0xe3),'type':a34_0x50cce0(0xde),'description':a34_0x50cce0(0xbc),'default':![]},{'name':a34_0x50cce0(0xf2),'type':a34_0x50cce0(0xda),'description':a34_0x50cce0(0x104)},{'name':a34_0x50cce0(0xc4),'type':a34_0x50cce0(0xde),'description':a34_0x50cce0(0x101),'default':![]},{'name':a34_0x50cce0(0x108),'type':'boolean','description':a34_0x50cce0(0xce),'default':!![],'hidden':!![]}];function parseSemver(_0xdd21ec){const _0x56db00=a34_0x50cce0,_0x1a3dc5=_0xdd21ec[_0x56db00(0xe9)]()[_0x56db00(0xd7)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x1a3dc5)return null;return{'major':Number(_0x1a3dc5[0x1]),'minor':Number(_0x1a3dc5[0x2]),'patch':Number(_0x1a3dc5[0x3]),'prerelease':_0x1a3dc5[0x4]};}function compareSemver(_0x37ee36,_0x1ea83d){const _0x38a417=a34_0x50cce0,_0x3de522=parseSemver(_0x37ee36),_0x3cd99a=parseSemver(_0x1ea83d);if(!_0x3de522||!_0x3cd99a)throw CliErrors['validation'](_0x38a417(0xd6),_0x38a417(0xc1));for(const _0x13e238 of[_0x38a417(0xe5),_0x38a417(0xd9),_0x38a417(0xcc)]){if(_0x3de522[_0x13e238]<_0x3cd99a[_0x13e238])return-0x1;if(_0x3de522[_0x13e238]>_0x3cd99a[_0x13e238])return 0x1;}if(!_0x3de522[_0x38a417(0xd4)]&&!_0x3cd99a[_0x38a417(0xd4)])return 0x0;if(!_0x3de522[_0x38a417(0xd4)])return 0x1;if(!_0x3cd99a[_0x38a417(0xd4)])return-0x1;if(_0x3de522['prerelease']===_0x3cd99a[_0x38a417(0xd4)])return 0x0;return _0x3de522[_0x38a417(0xd4)]<_0x3cd99a['prerelease']?-0x1:0x1;}function a34_0x2e7f(){const _0x317ef3=['Skipping\x20official\x20skill\x20package\x20(--no-skills).','boolean','\x20\x20Try\x20manually:\x20npm\x20install\x20-g\x20','npm','Current\x20version:\x20','latest','beta','update','major','\x20\x20Run\x20manually:\x20npm\x20install\x20-g\x20','map','run','trim','3585jqQHQk','\x20\x20Restart\x20your\x20terminal\x20to\x20use\x20the\x20new\x20version.','Already\x20on\x20requested\x20version\x20(v','Unable\x20to\x20resolve\x20','bool','432441rVFpjB','Update\x20failed:\x20','\x20\x20Run\x20manually:\x20npx\x20skills\x20add\x20','version','\x20->\x20','--latest,\x20--beta,\x20and\x20version\x20cannot\x20be\x20used\x20together.','toString','inherit','install','22TcWBPe','\x20version\x20from\x20npm.','=1).','5780175XhYltx','length','1275585BZSAMP','366348ujTkCR','Install\x20the\x20version\x20from\x20npm\x20latest\x20dist-tag','validation','Skip\x20official\x20skill\x20package\x20refresh\x20after\x20updating','/dist-tags','source','Install\x20a\x20specific\x20CLI\x20version','Checking\x20npm\x20dist-tags...','Checking\x20official\x20skill\x20package...','log','skills','cwd','timeout','\x20-g\x20-y','\x20\x20Official\x20skill\x20package\x20is\x20up\x20to\x20date.','1238Vkmfip','Use\x20a\x20full\x20semver\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','56RYdJRx','Install\x20the\x20version\x20from\x20npm\x20beta\x20dist-tag','unknown','Update\x20','fromEntries','nonInteractive','Use\x20full\x20semver\x20versions\x20such\x20as\x202.0.6\x20or\x202.0.7-beta.1.','stdout','message','no-skills','join','40RTjSWl','Updated\x20to\x20v','warn','4749528NQWRqH','flag','error','patch','Invalid\x20version:\x20','Refresh\x20official\x20skill\x20package\x20after\x20updating','exit\x20','skipped','\x20\x20Official\x20skill\x20update\x20failed:\x20','Choose\x20exactly\x20one\x20target:\x20--latest,\x20--beta,\x20or\x20--version\x20<version>.','28706780JpxePw','prerelease','stderr','Version\x20comparison\x20failed.','match','status','minor','string','write','\x20\x20Skipped\x20skill\x20install\x20('];a34_0x2e7f=function(){return _0x317ef3;};return a34_0x2e7f();}function getRequestedVersion(_0x49a8d0){const _0x213aca=a34_0x50cce0,_0x1a0812=_0x49a8d0['str'](_0x213aca(0xf2))[_0x213aca(0xe9)]();if(_0x1a0812)return _0x1a0812;return String(_0x49a8d0['args']?.[0x0]??'')['trim']();}function shouldSkipOfficialSkill(_0x24e13d){const _0x2aa55f=a34_0x50cce0;return _0x24e13d[_0x2aa55f(0xee)](_0x2aa55f(0xc4))||_0x24e13d[_0x2aa55f(0xca)]('skills')===![];}async function validateUpdateFlags(_0x22df53){const _0x524d2b=a34_0x50cce0,_0x1e66ce=getRequestedVersion(_0x22df53),_0xae2093=[_0x22df53[_0x524d2b(0xee)]('latest')?'latest':'',_0x22df53['bool'](_0x524d2b(0xe3))?_0x524d2b(0xe3):'',_0x1e66ce?'version':'']['filter'](Boolean);if(_0xae2093[_0x524d2b(0xfc)]>0x1)throw CliErrors['validation'](_0x524d2b(0xf4),_0x524d2b(0xd2));if(_0x1e66ce&&!parseSemver(_0x1e66ce))throw CliErrors[_0x524d2b(0x100)](_0x524d2b(0xcd)+_0x1e66ce,_0x524d2b(0x10e));}async function fetchNpmDistTags(){const _0x52495d=a34_0x50cce0;try{const _0x57851a=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x52495d(0x102),_0x48ec33=await fetch(_0x57851a,{'signal':AbortSignal[_0x52495d(0x10a)](0x2710)});if(!_0x48ec33['ok'])return null;const _0x48ba9b=await _0x48ec33['json']();if(!_0x48ba9b||typeof _0x48ba9b!=='object')return null;return Object[_0x52495d(0xbf)](Object['entries'](_0x48ba9b)['filter'](([,_0xd13e9a])=>typeof _0xd13e9a===_0x52495d(0xda)&&_0xd13e9a[_0x52495d(0xe9)]())[_0x52495d(0xe7)](([_0x17257a,_0x30f07a])=>[_0x17257a,String(_0x30f07a)[_0x52495d(0xe9)]()]));}catch{return null;}}async function resolveTargetVersion(_0x46c010){const _0x275de7=a34_0x50cce0,_0x3613ca=getRequestedVersion(_0x46c010);if(_0x3613ca)return{'version':_0x3613ca,'source':_0x275de7(0xf2)};const _0x58647a=_0x46c010[_0x275de7(0xee)](_0x275de7(0xe3))?_0x275de7(0xe3):_0x275de7(0xe2),_0x57c5c9=await fetchNpmDistTags(),_0x12979c=_0x57c5c9?.[_0x58647a];if(!_0x12979c)return null;return{'version':_0x12979c,'source':_0x58647a};}function shouldInstallTarget(_0x21992a,_0x9ef0a8){const _0x103791=a34_0x50cce0,_0x44953f=compareSemver(_0x21992a,_0x9ef0a8[_0x103791(0xf2)]);if(_0x9ef0a8[_0x103791(0x103)]==='version')return _0x44953f!==0x0;return _0x44953f<0x0;}function a34_0x17a5(_0x51e6a3,_0x494bc6){_0x51e6a3=_0x51e6a3-0xbc;const _0x2e7f22=a34_0x2e7f();let _0x17a5ce=_0x2e7f22[_0x51e6a3];return _0x17a5ce;}function installCliPackage(_0x2dcd47,_0x143a65){const _0x1a561f=a34_0x50cce0,_0x57e4e7=resolveNpmBin(_0x1a561f(0xe0)),_0x2d2b29=[_0x1a561f(0xf7),'-g',LOVRABET_NPM_PACKAGE_NAME+'@'+_0x2dcd47];console[_0x1a561f(0x107)]('*\x20'+[_0x57e4e7,..._0x2d2b29][_0x1a561f(0xc5)]('\x20'));const _0x331e99=spawnSync(_0x57e4e7,_0x2d2b29,{'cwd':process[_0x1a561f(0x109)](),'stdio':_0x143a65?'pipe':_0x1a561f(0xf6),'env':process.env,'shell':![]});if(_0x331e99['status']===0x0)return{'ok':!![]};let _0x3f480c=_0x331e99[_0x1a561f(0xcb)]?.[_0x1a561f(0xc3)]||_0x1a561f(0xcf)+(_0x331e99[_0x1a561f(0xd8)]??'unknown');if(_0x143a65){const _0x33ed72=_0x331e99['stderr']?_0x331e99[_0x1a561f(0xd5)][_0x1a561f(0xf5)]()['trim']():'',_0x3e69a0=_0x331e99[_0x1a561f(0xc2)]?_0x331e99['stdout'][_0x1a561f(0xf5)]()['trim']():'';if(_0x33ed72)_0x3f480c=_0x33ed72;else{if(_0x3e69a0)_0x3f480c=_0x3e69a0;}}return{'ok':![],'error':_0x3f480c};}async function installOfficialSkill(_0x5f3dc3){const _0x2c060a=a34_0x50cce0;console[_0x2c060a(0x107)](_0x2c060a(0x106));const _0x1e5b2e=runNpxSkillsAddGlobal(process[_0x2c060a(0x109)](),LOVRABET_SKILL_SOURCE,{'stdio':_0x5f3dc3?'pipe':_0x2c060a(0xf6)});if(_0x1e5b2e[_0x2c060a(0xd0)]){console[_0x2c060a(0x107)](_0x2c060a(0xdc)+LOVRABET_SKIP_NPX_SKILLS_ENV+_0x2c060a(0xfa));return;}if(_0x1e5b2e['ok']){console['log'](_0x2c060a(0x10c));return;}console[_0x2c060a(0xc8)](_0x2c060a(0xd1)+(_0x1e5b2e[_0x2c060a(0xcb)]||'unknown')),console[_0x2c060a(0x107)](_0x2c060a(0xf1)+LOVRABET_SKILL_SOURCE+_0x2c060a(0x10b));}async function execute(_0x3ac2c5){const _0x10a180=a34_0x50cce0;await validateUpdateFlags(_0x3ac2c5);const _0x5e984a=getCliVersion();console[_0x10a180(0x107)](_0x10a180(0xe1)+_0x5e984a),console[_0x10a180(0x107)](_0x10a180(0x105));const _0xdd2543=await resolveTargetVersion(_0x3ac2c5);if(!_0xdd2543){const _0x2366fb=_0x3ac2c5[_0x10a180(0xee)]('beta')?_0x10a180(0xe3):_0x10a180(0xe2),_0x1a5397=_0x10a180(0xed)+_0x2366fb+_0x10a180(0xf9);return console['warn'](_0x1a5397),console[_0x10a180(0x107)](_0x10a180(0xe6)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0x2366fb),{'ok':![]};}if(!shouldInstallTarget(_0x5e984a,_0xdd2543)){const _0x353499=_0xdd2543['source']===_0x10a180(0xf2)?_0x10a180(0xec)+_0xdd2543[_0x10a180(0xf2)]+').':'Already\x20up\x20to\x20date\x20(v'+_0xdd2543[_0x10a180(0xf2)]+').';return console[_0x10a180(0x107)](_0x353499),shouldSkipOfficialSkill(_0x3ac2c5)?console['log'](_0x10a180(0xdd)):await installOfficialSkill(_0x3ac2c5[_0x10a180(0xc0)]),{'ok':!![]};}console[_0x10a180(0x107)]('Updating\x20'+LOVRABET_NPM_PACKAGE_NAME+':\x20'+_0x5e984a+_0x10a180(0xf3)+_0xdd2543[_0x10a180(0xf2)]);const _0x9c69d=installCliPackage(_0xdd2543['version'],_0x3ac2c5[_0x10a180(0xc0)]);if(!_0x9c69d['ok']){const _0x14ffb7=_0x10a180(0xf0)+(_0x9c69d[_0x10a180(0xcb)]||_0x10a180(0xbd));return console['error'](_0x14ffb7),console[_0x10a180(0x107)](_0x10a180(0xdf)+LOVRABET_NPM_PACKAGE_NAME+'@'+_0xdd2543[_0x10a180(0xf2)]),{'ok':![]};}return console[_0x10a180(0x107)](_0x10a180(0xc7)+_0xdd2543[_0x10a180(0xf2)]+'.'),console['log'](_0x10a180(0xeb)),shouldSkipOfficialSkill(_0x3ac2c5)?console['log'](_0x10a180(0xdd)):await installOfficialSkill(_0x3ac2c5[_0x10a180(0xc0)]),{'ok':!![]};}export const updateDefinition={'service':a34_0x50cce0(0xe4),'command':a34_0x50cce0(0xe8),'description':a34_0x50cce0(0xbe)+CLI_BIN_NAME+'\x20CLI\x20from\x20npm','risk':a34_0x50cce0(0xdb),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':updateFlags,'validate':validateUpdateFlags,'execute':execute};
@@ -1 +1 @@
1
- const a35_0x405fd3=a35_0x5705;(function(_0x5b0aa7,_0x1b88e8){const _0x168a2a=a35_0x5705,_0xeda2c5=_0x5b0aa7();while(!![]){try{const _0x2f321b=parseInt(_0x168a2a(0xef))/0x1+-parseInt(_0x168a2a(0xee))/0x2*(parseInt(_0x168a2a(0x10c))/0x3)+-parseInt(_0x168a2a(0xf8))/0x4*(parseInt(_0x168a2a(0x10d))/0x5)+-parseInt(_0x168a2a(0x10b))/0x6*(-parseInt(_0x168a2a(0xf0))/0x7)+-parseInt(_0x168a2a(0xf7))/0x8*(-parseInt(_0x168a2a(0x109))/0x9)+-parseInt(_0x168a2a(0x104))/0xa+-parseInt(_0x168a2a(0xed))/0xb*(-parseInt(_0x168a2a(0xf1))/0xc);if(_0x2f321b===_0x1b88e8)break;else _0xeda2c5['push'](_0xeda2c5['shift']());}catch(_0x48cf9f){_0xeda2c5['push'](_0xeda2c5['shift']());}}}(a35_0x93b1,0xdbe51));import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';function a35_0x93b1(){const _0x4afa9f=['locale','enumValues','Locale','env','7128909UTKuQC','has','1218tLHvso','72QsOsnl','25595FgzQsA','cliSettableTopLevel','join','defaultValue','legacyCompatOnly','931414LWEAaG','63564cZAtvb','287585dJaCVD','21091GSFOxK','156UZGWil','map','Override\x20user\x20domain','importable','Default\x20page\x20size',';\x20local\x20alias:\x20apps.<alias>.appcode','8jOSEiF','744llYFAS','format','Risk\x20level','entries','Config\x20key.\x20Top-level:\x20','Override\x20runtime\x20domain','riskLevel','Target\x20environment','filter','Access\x20key\x20(client-ak\x20auth)','Default\x20output\x20format','Override\x20API\x20domain','1764960sYqjMZ'];a35_0x93b1=function(){return _0x4afa9f;};return a35_0x93b1();}import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';export const CONFIG_FIELD_SCHEMAS={'env':{'description':a35_0x405fd3(0xff),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a35_0x405fd3(0x108)],'importable':!![]},'format':{'description':a35_0x405fd3(0x102),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a35_0x405fd3(0xf9)],'importable':!![]},'pageSize':{'description':a35_0x405fd3(0xf5),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a35_0x405fd3(0x103),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a35_0x405fd3(0xf3),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a35_0x405fd3(0xfd),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a35_0x405fd3(0x101),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a35_0x405fd3(0xfa),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a35_0x405fd3(0xfe)],'importable':!![]},'locale':{'description':a35_0x405fd3(0x107),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a35_0x405fd3(0x105)],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object['entries'](CONFIG_FIELD_SCHEMAS)[a35_0x405fd3(0x100)](([,_0x57efd6])=>_0x57efd6[a35_0x405fd3(0xe9)])[a35_0x405fd3(0xf2)](([_0x59eae6])=>_0x59eae6));export const CONFIG_ENUM_VALUES=Object['fromEntries'](Object[a35_0x405fd3(0xfb)](CONFIG_FIELD_SCHEMAS)[a35_0x405fd3(0x100)](([,_0x299c45])=>_0x299c45[a35_0x405fd3(0x106)])[a35_0x405fd3(0xf2)](([_0xc991f9,_0x247219])=>[_0xc991f9,[..._0x247219[a35_0x405fd3(0x106)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object['entries'](CONFIG_FIELD_SCHEMAS)[a35_0x405fd3(0x100)](([,_0x89766f])=>_0x89766f[a35_0x405fd3(0xf4)])[a35_0x405fd3(0xf2)](([_0x39f8f4])=>_0x39f8f4);export function getConfigFieldSchema(_0x4a0dd6){return CONFIG_FIELD_SCHEMAS[_0x4a0dd6];}export function getConfigEnumValues(_0x100712){const _0x6fcfd5=a35_0x405fd3;return getConfigFieldSchema(_0x100712)?.[_0x6fcfd5(0x106)];}export function getConfigDefaultValue(_0x48fb89){const _0x430fe0=a35_0x405fd3;return getConfigFieldSchema(_0x48fb89)?.[_0x430fe0(0xeb)];}function a35_0x5705(_0x49ac28,_0x78bc4f){_0x49ac28=_0x49ac28-0xe9;const _0x93b115=a35_0x93b1();let _0x57058b=_0x93b115[_0x49ac28];return _0x57058b;}export function isTopLevelConfigKey(_0x1edb46){const _0x46c1db=a35_0x405fd3;return TOP_LEVEL_CONFIG_KEYS[_0x46c1db(0x10a)](_0x1edb46);}export function isLegacyCompatConfigKey(_0x59770a){const _0x152de0=a35_0x405fd3;return getConfigFieldSchema(_0x59770a)?.[_0x152de0(0xec)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x5b7788){const _0x172c80=a35_0x405fd3;return[..._0x5b7788][_0x172c80(0xea)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0xe0b201=a35_0x405fd3;return _0xe0b201(0xfc)+getTopLevelConfigKeySummary()+_0xe0b201(0xf6);}export function buildAppProfileListFields(_0x2295c0){return{'env':_0x2295c0,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
1
+ const a35_0x290112=a35_0x4fca;(function(_0x31e40d,_0x5906bc){const _0x234bd8=a35_0x4fca,_0x409f02=_0x31e40d();while(!![]){try{const _0x11572b=parseInt(_0x234bd8(0x91))/0x1*(-parseInt(_0x234bd8(0xa4))/0x2)+parseInt(_0x234bd8(0xa8))/0x3+-parseInt(_0x234bd8(0x96))/0x4*(parseInt(_0x234bd8(0xa0))/0x5)+parseInt(_0x234bd8(0xa9))/0x6*(-parseInt(_0x234bd8(0xaa))/0x7)+-parseInt(_0x234bd8(0xa1))/0x8*(-parseInt(_0x234bd8(0xa3))/0x9)+-parseInt(_0x234bd8(0xac))/0xa*(-parseInt(_0x234bd8(0x93))/0xb)+-parseInt(_0x234bd8(0x9f))/0xc*(-parseInt(_0x234bd8(0x9b))/0xd);if(_0x11572b===_0x5906bc)break;else _0x409f02['push'](_0x409f02['shift']());}catch(_0x5002be){_0x409f02['push'](_0x409f02['shift']());}}}(a35_0x5332,0x767fe));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':a35_0x290112(0x8f),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES['env'],'importable':!![]},'format':{'description':'Default\x20output\x20format','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a35_0x290112(0x95)],'importable':!![]},'pageSize':{'description':a35_0x290112(0x9c),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a35_0x290112(0xae),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':a35_0x290112(0xa6),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a35_0x290112(0x94),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':a35_0x290112(0xa2),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a35_0x290112(0x99),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a35_0x290112(0x90)],'importable':!![]},'locale':{'description':'Locale','topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES['locale'],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object[a35_0x290112(0xa7)](CONFIG_FIELD_SCHEMAS)[a35_0x290112(0x9a)](([,_0x3e6f4f])=>_0x3e6f4f[a35_0x290112(0xa5)])['map'](([_0x250d96])=>_0x250d96));export const CONFIG_ENUM_VALUES=Object[a35_0x290112(0x9e)](Object['entries'](CONFIG_FIELD_SCHEMAS)[a35_0x290112(0x9a)](([,_0x5d8b3f])=>_0x5d8b3f['enumValues'])[a35_0x290112(0xad)](([_0xa3de6a,_0x1611ce])=>[_0xa3de6a,[..._0x1611ce[a35_0x290112(0x9d)]||[]]]));function a35_0x5332(){const _0x10529a=['map','Override\x20API\x20domain','Target\x20environment','riskLevel','382vFQNBQ',';\x20local\x20alias:\x20apps.<alias>.appcode','1397EOhEVd','Override\x20runtime\x20domain','format','1218556KilJZA','has','legacyCompatOnly','Risk\x20level','filter','1469ADfCxR','Default\x20page\x20size','enumValues','fromEntries','227244wMXuFd','15ffeHed','8fbuDIL','Access\x20key\x20(client-ak\x20auth)','1008306IOSiua','4084rkDslb','cliSettableTopLevel','Override\x20user\x20domain','entries','2096400RWVFii','5270646kvvDyF','7HSVxar','defaultValue','8430JMUBOu'];a35_0x5332=function(){return _0x10529a;};return a35_0x5332();}export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a35_0x290112(0xa7)](CONFIG_FIELD_SCHEMAS)[a35_0x290112(0x9a)](([,_0x3fa0c4])=>_0x3fa0c4['importable'])['map'](([_0x217951])=>_0x217951);export function getConfigFieldSchema(_0x1db41c){return CONFIG_FIELD_SCHEMAS[_0x1db41c];}export function getConfigEnumValues(_0x9cb18d){return getConfigFieldSchema(_0x9cb18d)?.['enumValues'];}export function getConfigDefaultValue(_0x47b743){const _0x27cf5e=a35_0x290112;return getConfigFieldSchema(_0x47b743)?.[_0x27cf5e(0xab)];}export function isTopLevelConfigKey(_0x3da9b1){const _0x469774=a35_0x290112;return TOP_LEVEL_CONFIG_KEYS[_0x469774(0x97)](_0x3da9b1);}export function isLegacyCompatConfigKey(_0x4ec03c){const _0x251de1=a35_0x290112;return getConfigFieldSchema(_0x4ec03c)?.[_0x251de1(0x98)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}function a35_0x4fca(_0x44b945,_0xfd8726){_0x44b945=_0x44b945-0x8f;const _0x53329a=a35_0x5332();let _0x4fcac4=_0x53329a[_0x44b945];return _0x4fcac4;}export function formatConfigKeyList(_0x26a13f){return[..._0x26a13f]['join'](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){const _0x4bea66=a35_0x290112;return'Config\x20key.\x20Top-level:\x20'+getTopLevelConfigKeySummary()+_0x4bea66(0x92);}export function buildAppProfileListFields(_0x23c9c9){return{'env':_0x23c9c9,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}
@@ -1 +1 @@
1
- (function(_0x492ff3,_0x3bb84a){const _0x4bc6fd=a36_0x5024,_0x1f7dca=_0x492ff3();while(!![]){try{const _0x1f7224=parseInt(_0x4bc6fd(0x1a9))/0x1*(-parseInt(_0x4bc6fd(0x1a4))/0x2)+parseInt(_0x4bc6fd(0x1a2))/0x3+-parseInt(_0x4bc6fd(0x1a1))/0x4+-parseInt(_0x4bc6fd(0x1a7))/0x5*(parseInt(_0x4bc6fd(0x19e))/0x6)+parseInt(_0x4bc6fd(0x1a5))/0x7+-parseInt(_0x4bc6fd(0x1a0))/0x8*(parseInt(_0x4bc6fd(0x1a3))/0x9)+-parseInt(_0x4bc6fd(0x1a8))/0xa*(-parseInt(_0x4bc6fd(0x1a6))/0xb);if(_0x1f7224===_0x3bb84a)break;else _0x1f7dca['push'](_0x1f7dca['shift']());}catch(_0x2f1709){_0x1f7dca['push'](_0x1f7dca['shift']());}}}(a36_0x9f28,0xdcc1b));export const AUTH_MODE={'ClientAk':'client-ak'};function a36_0x5024(_0xf7edc6,_0x587c59){_0xf7edc6=_0xf7edc6-0x19e;const _0x9f289d=a36_0x9f28();let _0x502412=_0x9f289d[_0xf7edc6];return _0x502412;}function a36_0x9f28(){const _0x49dfb9=['12507FLVsXJ','10sXpvhf','13030zmcqVF','39626NZHvMb','3324828MtpBjH','ClientAk','505904KNuigJ','2027876meMNya','514026xyHrTG','9PJCRSI','2xoynuv','6786325QsWHEe'];a36_0x9f28=function(){return _0x49dfb9;};return a36_0x9f28();}export function isAuthMode(_0x32e8b8){const _0x33ecac=a36_0x5024;return _0x32e8b8===AUTH_MODE[_0x33ecac(0x19f)];}
1
+ function a36_0x570b(){const _0x5a888b=['24YAnILI','9TeXeIf','402479SthJfK','445379ejNPiE','10aEQmVY','1505448bzogWz','1579048uUUxKK','6tpVgOJ','568890WGSUpV','1291cLXcpg','client-ak','83673cxAQTe','ClientAk','262dyyKSL'];a36_0x570b=function(){return _0x5a888b;};return a36_0x570b();}function a36_0x4ae0(_0x2e540c,_0x1a8c1d){_0x2e540c=_0x2e540c-0x1ed;const _0x570bff=a36_0x570b();let _0x4ae081=_0x570bff[_0x2e540c];return _0x4ae081;}const a36_0x7c6d5e=a36_0x4ae0;(function(_0x18db2f,_0x52cd4b){const _0x3e4d6c=a36_0x4ae0,_0x1dd9b1=_0x18db2f();while(!![]){try{const _0x3d975d=-parseInt(_0x3e4d6c(0x1f0))/0x1*(parseInt(_0x3e4d6c(0x1f4))/0x2)+parseInt(_0x3e4d6c(0x1f2))/0x3*(parseInt(_0x3e4d6c(0x1f5))/0x4)+-parseInt(_0x3e4d6c(0x1ef))/0x5*(-parseInt(_0x3e4d6c(0x1ee))/0x6)+parseInt(_0x3e4d6c(0x1f7))/0x7+-parseInt(_0x3e4d6c(0x1ed))/0x8*(parseInt(_0x3e4d6c(0x1f6))/0x9)+parseInt(_0x3e4d6c(0x1f9))/0xa*(parseInt(_0x3e4d6c(0x1f8))/0xb)+parseInt(_0x3e4d6c(0x1fa))/0xc;if(_0x3d975d===_0x52cd4b)break;else _0x1dd9b1['push'](_0x1dd9b1['shift']());}catch(_0x53b72c){_0x1dd9b1['push'](_0x1dd9b1['shift']());}}}(a36_0x570b,0x21b4e));export const AUTH_MODE={'ClientAk':a36_0x7c6d5e(0x1f1)};export function isAuthMode(_0xf62497){const _0x2ccbbc=a36_0x7c6d5e;return _0xf62497===AUTH_MODE[_0x2ccbbc(0x1f3)];}
@@ -1 +1 @@
1
- const a37_0x3d1f83=a37_0x2116;(function(_0x1c80f1,_0x1891ae){const _0x42d2e5=a37_0x2116,_0x3e1a00=_0x1c80f1();while(!![]){try{const _0x121d59=-parseInt(_0x42d2e5(0x173))/0x1*(-parseInt(_0x42d2e5(0x169))/0x2)+parseInt(_0x42d2e5(0x156))/0x3+-parseInt(_0x42d2e5(0x158))/0x4*(parseInt(_0x42d2e5(0x150))/0x5)+parseInt(_0x42d2e5(0x146))/0x6*(-parseInt(_0x42d2e5(0x15c))/0x7)+-parseInt(_0x42d2e5(0x159))/0x8*(-parseInt(_0x42d2e5(0x16b))/0x9)+parseInt(_0x42d2e5(0x175))/0xa+parseInt(_0x42d2e5(0x163))/0xb*(-parseInt(_0x42d2e5(0x167))/0xc);if(_0x121d59===_0x1891ae)break;else _0x3e1a00['push'](_0x3e1a00['shift']());}catch(_0x468b8d){_0x3e1a00['push'](_0x3e1a00['shift']());}}}(a37_0x3f25,0x6b9fd));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';function a37_0x3f25(){const _0x217f51=['58091wqAHIZ','Skip\x20confirmation\x20for\x20high-risk\x20writes','Force\x20non-interactive\x20mode\x20(CI)','Output\x20format','636kvtavq','<expr>','2SDTQKv','Show\x20help','3141JmiByd','production\x20|\x20development\x20|\x20daily','app','<name>','fromEntries','Verbose\x20output','dry-run','format','521097uCgHtp','string','941450oeLmpz','Environment','global','666sbHdMk','name','yes','SQL\x20query\x20code','meowKey','env','nonInteractive','Alias\x20for\x20--non-interactive','cliBinName','Clear\x20output','105ioyopE','appcode','Use\x20global\x20config\x20scope','sqlcode','Select\x20app\x20profile\x20by\x20name','dryRun','217221lefNji','boolean','31080rjbvJL','13928EzxIYt','non-interactive','help','25942CXbmbz','params','verbose','clear','JSON\x20params\x20for\x20execute\x20commands','Name\x20filter','<code>'];a37_0x3f25=function(){return _0x217f51;};return a37_0x3f25();}export const CLI_BIN_NAME=PRODUCT_CONFIG[a37_0x3d1f83(0x14e)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG['cliDisplayName'];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a37_0x3d1f83(0x151),'meowKey':a37_0x3d1f83(0x151),'type':a37_0x3d1f83(0x174),'description':'Override\x20appcode','hint':a37_0x3d1f83(0x162)},{'name':a37_0x3d1f83(0x16d),'meowKey':a37_0x3d1f83(0x16d),'type':a37_0x3d1f83(0x174),'description':a37_0x3d1f83(0x154),'hint':a37_0x3d1f83(0x16e)},{'name':'env','meowKey':a37_0x3d1f83(0x14b),'type':a37_0x3d1f83(0x174),'description':a37_0x3d1f83(0x176),'hint':a37_0x3d1f83(0x16c)},{'name':a37_0x3d1f83(0x172),'meowKey':a37_0x3d1f83(0x172),'type':'string','description':a37_0x3d1f83(0x166),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':a37_0x3d1f83(0x174),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':a37_0x3d1f83(0x168)},{'name':'dry-run','meowKey':a37_0x3d1f83(0x155),'type':a37_0x3d1f83(0x157),'description':'Preview\x20operation\x20without\x20executing'},{'name':a37_0x3d1f83(0x148),'meowKey':a37_0x3d1f83(0x148),'type':a37_0x3d1f83(0x157),'description':a37_0x3d1f83(0x164)},{'name':a37_0x3d1f83(0x15a),'meowKey':a37_0x3d1f83(0x14c),'type':a37_0x3d1f83(0x157),'description':a37_0x3d1f83(0x165)},{'name':a37_0x3d1f83(0x145),'meowKey':'global','type':a37_0x3d1f83(0x157),'description':a37_0x3d1f83(0x152)},{'name':'ci','meowKey':'ci','type':a37_0x3d1f83(0x157),'description':a37_0x3d1f83(0x14d),'hidden':!![]},{'name':a37_0x3d1f83(0x15b),'meowKey':'help','type':a37_0x3d1f83(0x157),'description':a37_0x3d1f83(0x16a)},{'name':'id','meowKey':'id','type':a37_0x3d1f83(0x174),'description':'Record\x20ID','hidden':!![]},{'name':a37_0x3d1f83(0x147),'meowKey':'name','type':a37_0x3d1f83(0x174),'description':a37_0x3d1f83(0x161),'hidden':!![]},{'name':a37_0x3d1f83(0x153),'meowKey':a37_0x3d1f83(0x153),'type':a37_0x3d1f83(0x174),'description':a37_0x3d1f83(0x149),'hidden':!![]},{'name':a37_0x3d1f83(0x15d),'meowKey':'params','type':'string','description':a37_0x3d1f83(0x160),'hidden':!![]},{'name':'verbose','meowKey':a37_0x3d1f83(0x15e),'type':a37_0x3d1f83(0x157),'description':a37_0x3d1f83(0x170),'hidden':!![]},{'name':a37_0x3d1f83(0x15f),'meowKey':a37_0x3d1f83(0x15f),'type':a37_0x3d1f83(0x157),'description':a37_0x3d1f83(0x14f),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a37_0x3d1f83(0x151),a37_0x3d1f83(0x16d),a37_0x3d1f83(0x14b),a37_0x3d1f83(0x172),'jq',a37_0x3d1f83(0x171),'yes','non-interactive','ci']);function a37_0x2116(_0x2d1e59,_0x17ac71){_0x2d1e59=_0x2d1e59-0x145;const _0x3f250e=a37_0x3f25();let _0x21165b=_0x3f250e[_0x2d1e59];return _0x21165b;}export function buildMeowFlags(){const _0x25cf42=a37_0x3d1f83;return Object[_0x25cf42(0x16f)](GLOBAL_FLAGS['map'](_0x46b7f8=>[_0x46b7f8[_0x25cf42(0x14a)],{'type':_0x46b7f8['type']}]));}
1
+ function a37_0x96ad(_0x4f60b8,_0x2aa8f9){_0x4f60b8=_0x4f60b8-0xbb;const _0x5e14c6=a37_0x5e14();let _0x96ad3a=_0x5e14c6[_0x4f60b8];return _0x96ad3a;}const a37_0x59df2a=a37_0x96ad;(function(_0x4b47b6,_0x363546){const _0x211c02=a37_0x96ad,_0x34431e=_0x4b47b6();while(!![]){try{const _0x4fc2b2=parseInt(_0x211c02(0xd2))/0x1*(parseInt(_0x211c02(0xd8))/0x2)+parseInt(_0x211c02(0xc5))/0x3*(-parseInt(_0x211c02(0xe2))/0x4)+-parseInt(_0x211c02(0xdc))/0x5*(-parseInt(_0x211c02(0xcd))/0x6)+parseInt(_0x211c02(0xe3))/0x7+-parseInt(_0x211c02(0xd4))/0x8*(parseInt(_0x211c02(0xe7))/0x9)+parseInt(_0x211c02(0xe6))/0xa+-parseInt(_0x211c02(0xe9))/0xb;if(_0x4fc2b2===_0x363546)break;else _0x34431e['push'](_0x34431e['shift']());}catch(_0x4a182d){_0x34431e['push'](_0x34431e['shift']());}}}(a37_0x5e14,0x46164));import{PRODUCT_CONFIG}from'../constant/product.js';import{LOVRABET_NPM_PACKAGE_NAME}from'../constant/distribution.js';export const CLI_BIN_NAME=PRODUCT_CONFIG[a37_0x59df2a(0xe5)];export const CLI_DISPLAY_NAME=PRODUCT_CONFIG[a37_0x59df2a(0xe4)];export const NPM_PACKAGE_NAME=LOVRABET_NPM_PACKAGE_NAME;export const GLOBAL_FLAGS=[{'name':a37_0x59df2a(0xce),'meowKey':a37_0x59df2a(0xce),'type':a37_0x59df2a(0xe1),'description':a37_0x59df2a(0xdf),'hint':a37_0x59df2a(0xe8)},{'name':a37_0x59df2a(0xc9),'meowKey':'app','type':a37_0x59df2a(0xe1),'description':a37_0x59df2a(0xd7),'hint':a37_0x59df2a(0xc1)},{'name':a37_0x59df2a(0xbc),'meowKey':a37_0x59df2a(0xbc),'type':a37_0x59df2a(0xe1),'description':'Environment','hint':'production\x20|\x20development\x20|\x20daily'},{'name':a37_0x59df2a(0xc6),'meowKey':a37_0x59df2a(0xc6),'type':a37_0x59df2a(0xe1),'description':'Output\x20format','hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':a37_0x59df2a(0xe1),'description':'Filter\x20JSON\x20output\x20(JQ_PATH\x20>\x20bundled\x20jq\x20>\x20PATH;\x20implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':'<expr>'},{'name':a37_0x59df2a(0xd3),'meowKey':a37_0x59df2a(0xcc),'type':a37_0x59df2a(0xbb),'description':a37_0x59df2a(0xe0)},{'name':a37_0x59df2a(0xbd),'meowKey':'yes','type':a37_0x59df2a(0xbb),'description':a37_0x59df2a(0xde)},{'name':'non-interactive','meowKey':a37_0x59df2a(0xca),'type':a37_0x59df2a(0xbb),'description':a37_0x59df2a(0xcf)},{'name':'global','meowKey':'global','type':a37_0x59df2a(0xbb),'description':a37_0x59df2a(0xd5)},{'name':'ci','meowKey':'ci','type':a37_0x59df2a(0xbb),'description':a37_0x59df2a(0xc4),'hidden':!![]},{'name':a37_0x59df2a(0xbf),'meowKey':a37_0x59df2a(0xbf),'type':'boolean','description':'Show\x20help'},{'name':'id','meowKey':'id','type':'string','description':'Record\x20ID','hidden':!![]},{'name':a37_0x59df2a(0xc7),'meowKey':a37_0x59df2a(0xc7),'type':a37_0x59df2a(0xe1),'description':a37_0x59df2a(0xc8),'hidden':!![]},{'name':a37_0x59df2a(0xdd),'meowKey':a37_0x59df2a(0xdd),'type':'string','description':a37_0x59df2a(0xd6),'hidden':!![]},{'name':'params','meowKey':a37_0x59df2a(0xbe),'type':a37_0x59df2a(0xe1),'description':a37_0x59df2a(0xd0),'hidden':!![]},{'name':a37_0x59df2a(0xcb),'meowKey':'verbose','type':a37_0x59df2a(0xbb),'description':a37_0x59df2a(0xd9),'hidden':!![]},{'name':a37_0x59df2a(0xc3),'meowKey':'clear','type':a37_0x59df2a(0xbb),'description':'Clear\x20output','hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set([a37_0x59df2a(0xce),a37_0x59df2a(0xc9),a37_0x59df2a(0xbc),a37_0x59df2a(0xc6),'jq',a37_0x59df2a(0xd3),'yes',a37_0x59df2a(0xc0),'ci']);function a37_0x5e14(){const _0x1584e5=['3650094xDNrSB','cliDisplayName','cliBinName','5471360muJmdC','13212uqdnUv','<code>','8167247zUVtOz','boolean','env','yes','params','help','non-interactive','<name>','type','clear','Alias\x20for\x20--non-interactive','258471twnHBJ','format','name','Name\x20filter','app','nonInteractive','verbose','dryRun','576UXYzsQ','appcode','Force\x20non-interactive\x20mode\x20(CI)','JSON\x20params\x20for\x20execute\x20commands','map','3ffiogB','dry-run','2504ZbbWxZ','Use\x20global\x20config\x20scope','SQL\x20query\x20code','Select\x20app\x20profile\x20by\x20name','377382RvmEtS','Verbose\x20output','meowKey','fromEntries','19340rPwCmr','sqlcode','Skip\x20confirmation\x20for\x20high-risk\x20writes','Override\x20appcode','Preview\x20operation\x20without\x20executing','string','24uDWGYu'];a37_0x5e14=function(){return _0x1584e5;};return a37_0x5e14();}export function buildMeowFlags(){const _0x24f72d=a37_0x59df2a;return Object[_0x24f72d(0xdb)](GLOBAL_FLAGS[_0x24f72d(0xd1)](_0x31f948=>[_0x31f948[_0x24f72d(0xda)],{'type':_0x31f948[_0x24f72d(0xc2)]}]));}
@@ -1 +1 @@
1
- const a38_0x1e33aa=a38_0x3ce5;(function(_0x449ce0,_0x4923c1){const _0x2ebaa3=a38_0x3ce5,_0x1f5207=_0x449ce0();while(!![]){try{const _0x16f85b=parseInt(_0x2ebaa3(0x16d))/0x1+parseInt(_0x2ebaa3(0x16e))/0x2+-parseInt(_0x2ebaa3(0x168))/0x3*(-parseInt(_0x2ebaa3(0x176))/0x4)+parseInt(_0x2ebaa3(0x16b))/0x5*(-parseInt(_0x2ebaa3(0x175))/0x6)+-parseInt(_0x2ebaa3(0x170))/0x7*(-parseInt(_0x2ebaa3(0x169))/0x8)+parseInt(_0x2ebaa3(0x172))/0x9*(parseInt(_0x2ebaa3(0x16f))/0xa)+parseInt(_0x2ebaa3(0x16a))/0xb*(-parseInt(_0x2ebaa3(0x177))/0xc);if(_0x16f85b===_0x4923c1)break;else _0x1f5207['push'](_0x1f5207['shift']());}catch(_0x545216){_0x1f5207['push'](_0x1f5207['shift']());}}}(a38_0x5d38,0x61537));export const DEFAULT_APP_PROFILE_NAME=a38_0x1e33aa(0x16c);function a38_0x3ce5(_0x591da5,_0xa4640d){_0x591da5=_0x591da5-0x168;const _0x5d3855=a38_0x5d38();let _0x3ce543=_0x5d3855[_0x591da5];return _0x3ce543;}export const DEFAULT_CONFIG_VALUES={'env':a38_0x1e33aa(0x171),'format':a38_0x1e33aa(0x173),'locale':'en-US','riskLevel':a38_0x1e33aa(0x174)};function a38_0x5d38(){const _0x6170b4=['376KjOXnz','253FAyQia','1664735VciaRS','main','614153IbCckB','1387122ygfvcP','20olLMRP','29246KarYqU','production','798156dHZmsE','compress','write','12MZHzku','4JgItQt','698712KLkoYV','2166873iXgfoA'];a38_0x5d38=function(){return _0x6170b4;};return a38_0x5d38();}export const DEFAULT_COMMAND_OUTPUT_FORMAT=a38_0x1e33aa(0x173);
1
+ const a38_0xb00e98=a38_0xb864;(function(_0x42ed54,_0x885022){const _0x125ae5=a38_0xb864,_0x4c4c4f=_0x42ed54();while(!![]){try{const _0x513763=-parseInt(_0x125ae5(0x15b))/0x1+parseInt(_0x125ae5(0x15a))/0x2*(parseInt(_0x125ae5(0x166))/0x3)+-parseInt(_0x125ae5(0x157))/0x4*(parseInt(_0x125ae5(0x160))/0x5)+parseInt(_0x125ae5(0x158))/0x6+parseInt(_0x125ae5(0x15d))/0x7*(parseInt(_0x125ae5(0x159))/0x8)+-parseInt(_0x125ae5(0x163))/0x9*(parseInt(_0x125ae5(0x161))/0xa)+parseInt(_0x125ae5(0x15e))/0xb*(parseInt(_0x125ae5(0x15f))/0xc);if(_0x513763===_0x885022)break;else _0x4c4c4f['push'](_0x4c4c4f['shift']());}catch(_0x3923fd){_0x4c4c4f['push'](_0x4c4c4f['shift']());}}}(a38_0x117e,0x91a41));function a38_0xb864(_0x5e4cea,_0x58a191){_0x5e4cea=_0x5e4cea-0x157;const _0x117eb6=a38_0x117e();let _0xb8649e=_0x117eb6[_0x5e4cea];return _0xb8649e;}export const DEFAULT_APP_PROFILE_NAME=a38_0xb00e98(0x162);export const DEFAULT_CONFIG_VALUES={'env':a38_0xb00e98(0x164),'format':'compress','locale':a38_0xb00e98(0x165),'riskLevel':'write'};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a38_0xb00e98(0x15c);function a38_0x117e(){const _0x2ef59a=['main','18657gRlFjB','production','en-US','8868bCxVLP','2138956DgeDYf','2400780xLSgsK','16goavqv','128zLBpwO','641904EcKJlg','compress','3068499KvXbkR','10993917meKWuS','12nlziac','10Zyhgqn','760ZSPvDm'];a38_0x117e=function(){return _0x2ef59a;};return a38_0x117e();}
@@ -1 +1 @@
1
- const a39_0x4f20ae=a39_0x1dfd;(function(_0x330987,_0x1630eb){const _0x14249a=a39_0x1dfd,_0x55c40a=_0x330987();while(!![]){try{const _0x2e4d47=-parseInt(_0x14249a(0xd6))/0x1*(parseInt(_0x14249a(0xd2))/0x2)+-parseInt(_0x14249a(0xd8))/0x3+parseInt(_0x14249a(0xd3))/0x4*(-parseInt(_0x14249a(0xd9))/0x5)+parseInt(_0x14249a(0xda))/0x6*(-parseInt(_0x14249a(0xde))/0x7)+-parseInt(_0x14249a(0xdd))/0x8+-parseInt(_0x14249a(0xdc))/0x9+parseInt(_0x14249a(0xd7))/0xa*(parseInt(_0x14249a(0xdb))/0xb);if(_0x2e4d47===_0x1630eb)break;else _0x55c40a['push'](_0x55c40a['shift']());}catch(_0x5fcc1c){_0x55c40a['push'](_0x55c40a['shift']());}}}(a39_0xbe9c,0x76b00));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a39_0x4f20ae(0xd5)];function a39_0x1dfd(_0x5af1bb,_0x4fcc31){_0x5af1bb=_0x5af1bb-0xd1;const _0xbe9c16=a39_0xbe9c();let _0x1dfdd5=_0xbe9c16[_0x5af1bb];return _0x1dfdd5;}function a39_0xbe9c(){const _0x265396=['npmPackageName','3xuCChe','2697740IUHTTY','1342056KUCSeZ','70wdMhfN','42qErnNU','176dACOdt','6403779lMByXP','6102048swbJNy','934430hLOpFD','skillSource','504258snKzAo','62224yBmlVN','npmRegistryBaseUrl'];a39_0xbe9c=function(){return _0x265396;};return a39_0xbe9c();}export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a39_0x4f20ae(0xd1)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a39_0x4f20ae(0xd4)];
1
+ const a39_0x3a28be=a39_0x1347;(function(_0x889cac,_0x46779f){const _0x497d9f=a39_0x1347,_0x5a00d3=_0x889cac();while(!![]){try{const _0x248dce=parseInt(_0x497d9f(0x1f4))/0x1*(-parseInt(_0x497d9f(0x1f6))/0x2)+parseInt(_0x497d9f(0x1f8))/0x3+parseInt(_0x497d9f(0x1f1))/0x4*(-parseInt(_0x497d9f(0x1f3))/0x5)+-parseInt(_0x497d9f(0x1fc))/0x6*(-parseInt(_0x497d9f(0x1f9))/0x7)+parseInt(_0x497d9f(0x1f5))/0x8+parseInt(_0x497d9f(0x1fa))/0x9*(parseInt(_0x497d9f(0x1f2))/0xa)+-parseInt(_0x497d9f(0x1fb))/0xb;if(_0x248dce===_0x46779f)break;else _0x5a00d3['push'](_0x5a00d3['shift']());}catch(_0x2a6378){_0x5a00d3['push'](_0x5a00d3['shift']());}}}(a39_0x502c,0xf11f2));import{PRODUCT_CONFIG}from'../constant/product.js';export const LOVRABET_NPM_PACKAGE_NAME=PRODUCT_CONFIG[a39_0x3a28be(0x1f0)];function a39_0x1347(_0x25034b,_0x39a955){_0x25034b=_0x25034b-0x1ef;const _0x502ca8=a39_0x502c();let _0x1347a4=_0x502ca8[_0x25034b];return _0x1347a4;}export const LOVRABET_SKILL_SOURCE=PRODUCT_CONFIG[a39_0x3a28be(0x1f7)];export const NPM_REGISTRY_BASE_URL=PRODUCT_CONFIG[a39_0x3a28be(0x1ef)];function a39_0x502c(){const _0x468200=['skillSource','486837YfPkAK','7WBNUPD','2532780tcswiU','4985992MkzWMn','4566840IXQPML','npmRegistryBaseUrl','npmPackageName','76Eeeycb','40BIXEJI','407720qRUmYi','1oXYObx','8404328UGSuOt','218796OiIbHQ'];a39_0x502c=function(){return _0x468200;};return a39_0x502c();}
@@ -1 +1 @@
1
- const a40_0x530098=a40_0x44a9;function a40_0x44a9(_0xf77e9b,_0x342592){_0xf77e9b=_0xf77e9b-0x1e9;const _0x235acb=a40_0x235a();let _0x44a998=_0x235acb[_0xf77e9b];return _0x44a998;}(function(_0x325aa5,_0x50f0a2){const _0x2bf41b=a40_0x44a9,_0x3b9570=_0x325aa5();while(!![]){try{const _0xc87cf2=parseInt(_0x2bf41b(0x1ee))/0x1+parseInt(_0x2bf41b(0x1ea))/0x2+parseInt(_0x2bf41b(0x1eb))/0x3+-parseInt(_0x2bf41b(0x1f4))/0x4*(-parseInt(_0x2bf41b(0x1f7))/0x5)+parseInt(_0x2bf41b(0x1ed))/0x6*(-parseInt(_0x2bf41b(0x1f2))/0x7)+-parseInt(_0x2bf41b(0x1f1))/0x8+-parseInt(_0x2bf41b(0x1f0))/0x9;if(_0xc87cf2===_0x50f0a2)break;else _0x3b9570['push'](_0x3b9570['shift']());}catch(_0x3278d3){_0x3b9570['push'](_0x3b9570['shift']());}}}(a40_0x235a,0xdd6fe));import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x5afd23){const _0x41a874=a40_0x44a9;customApiDomain=_0x5afd23?.['apiDomain'],customUserDomain=_0x5afd23?.[_0x41a874(0x1f8)],customRuntimeDomain=_0x5afd23?.[_0x41a874(0x1f3)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a40_0x530098(0x1f9)][a40_0x530098(0x1ef)][a40_0x530098(0x1f5)]:PRODUCT_CONFIG[a40_0x530098(0x1f9)]['nonProduction']['user']);function a40_0x235a(){const _0x1e5db1=['3501762CrbgQt','2058030vDIrDi','runtime','15156gDuiDN','657187nosjWX','production','4872870bxXSci','5216792TkYxmo','3101thKoSA','runtimeDomain','14340BNjsHc','user','nonProduction','175QNbWIQ','userDomain','domains','api'];a40_0x235a=function(){return _0x1e5db1;};return a40_0x235a();}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a40_0x530098(0x1f9)][a40_0x530098(0x1ef)]['api']:PRODUCT_CONFIG[a40_0x530098(0x1f9)][a40_0x530098(0x1f6)][a40_0x530098(0x1e9)]);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a40_0x530098(0x1f9)][a40_0x530098(0x1ef)][a40_0x530098(0x1ec)]:PRODUCT_CONFIG['domains'][a40_0x530098(0x1f6)]['runtime']);
1
+ const a40_0x3b126d=a40_0x2777;(function(_0x1c6b34,_0x2fd51e){const _0x2b99fb=a40_0x2777,_0x3b653f=_0x1c6b34();while(!![]){try{const _0x2322d1=-parseInt(_0x2b99fb(0x159))/0x1+-parseInt(_0x2b99fb(0x150))/0x2*(parseInt(_0x2b99fb(0x152))/0x3)+parseInt(_0x2b99fb(0x153))/0x4+parseInt(_0x2b99fb(0x14e))/0x5*(-parseInt(_0x2b99fb(0x15e))/0x6)+parseInt(_0x2b99fb(0x14c))/0x7+-parseInt(_0x2b99fb(0x15a))/0x8+parseInt(_0x2b99fb(0x158))/0x9*(parseInt(_0x2b99fb(0x14d))/0xa);if(_0x2322d1===_0x2fd51e)break;else _0x3b653f['push'](_0x3b653f['shift']());}catch(_0x38610f){_0x3b653f['push'](_0x3b653f['shift']());}}}(a40_0x5907,0x1d83b));function a40_0x5907(){const _0x4fedb5=['runtimeDomain','api','apiDomain','1494bnupJU','189907ijxuJU','1725192cAWWNj','userDomain','nonProduction','domains','1038RSNjDY','50673Mdbxxd','28530LyOnyT','2410xTAfcR','user','6788FuQkTP','production','3TNIeBn','529560FzPdDd','runtime'];a40_0x5907=function(){return _0x4fedb5;};return a40_0x5907();}import{getEnv,isProduction}from'../constant/env.js';import{PRODUCT_CONFIG}from'../constant/product.js';function a40_0x2777(_0x58b1a3,_0xaee5f8){_0x58b1a3=_0x58b1a3-0x14c;const _0x5907c7=a40_0x5907();let _0x27770d=_0x5907c7[_0x58b1a3];return _0x27770d;}let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x56c231){const _0x563b9a=a40_0x2777;customApiDomain=_0x56c231?.[_0x563b9a(0x157)],customUserDomain=_0x56c231?.[_0x563b9a(0x15b)],customRuntimeDomain=_0x56c231?.[_0x563b9a(0x155)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a40_0x3b126d(0x15d)][a40_0x3b126d(0x151)][a40_0x3b126d(0x14f)]:PRODUCT_CONFIG[a40_0x3b126d(0x15d)][a40_0x3b126d(0x15c)][a40_0x3b126d(0x14f)]);export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a40_0x3b126d(0x15d)][a40_0x3b126d(0x151)][a40_0x3b126d(0x156)]:PRODUCT_CONFIG[a40_0x3b126d(0x15d)][a40_0x3b126d(0x15c)][a40_0x3b126d(0x156)]);export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?PRODUCT_CONFIG[a40_0x3b126d(0x15d)][a40_0x3b126d(0x151)][a40_0x3b126d(0x154)]:PRODUCT_CONFIG['domains'][a40_0x3b126d(0x15c)][a40_0x3b126d(0x154)]);
@@ -1 +1 @@
1
- function a41_0x3d31(_0x47c275,_0x16980c){_0x47c275=_0x47c275-0x1ef;const _0x2c2ce1=a41_0x2c2c();let _0x3d31a=_0x2c2ce1[_0x47c275];return _0x3d31a;}const a41_0x13b0b0=a41_0x3d31;(function(_0x17442a,_0xe9daf0){const _0x175524=a41_0x3d31,_0x7fc806=_0x17442a();while(!![]){try{const _0x511a43=parseInt(_0x175524(0x1f2))/0x1+parseInt(_0x175524(0x1fc))/0x2+parseInt(_0x175524(0x1fb))/0x3*(parseInt(_0x175524(0x1f9))/0x4)+-parseInt(_0x175524(0x1f6))/0x5*(parseInt(_0x175524(0x1f1))/0x6)+parseInt(_0x175524(0x1ef))/0x7+-parseInt(_0x175524(0x1fd))/0x8+parseInt(_0x175524(0x1f8))/0x9*(-parseInt(_0x175524(0x1f5))/0xa);if(_0x511a43===_0xe9daf0)break;else _0x7fc806['push'](_0x7fc806['shift']());}catch(_0x19fe05){_0x7fc806['push'](_0x7fc806['shift']());}}}(a41_0x2c2c,0x5fb1d));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a41_0x13b0b0(0x1f3),a41_0x13b0b0(0x1f4),a41_0x13b0b0(0x1fa)];export function normalizeEnv(_0x497069){const _0x5c718c=a41_0x13b0b0;return _0x497069===_0x5c718c(0x1f7)?_0x5c718c(0x1f3):_0x497069;}export function isProduction(_0x2396c1){const _0x145542=a41_0x13b0b0;return normalizeEnv(_0x2396c1)===_0x145542(0x1f3);}function a41_0x2c2c(){const _0x2d3cd2=['330549JOFhDB','1267286iiQxds','5887048NxuSCr','978740OWCtfp','dev','6saqydM','33230SRbvko','production','development','160qieVQf','1575485ATZLLU','online','13977rfQOHB','24LjNJCm','daily'];a41_0x2c2c=function(){return _0x2d3cd2;};return a41_0x2c2c();}export function isDaily(_0x3af62a){return normalizeEnv(_0x3af62a)==='daily';}export function isDev(_0x3bf300){const _0x49f2d0=a41_0x13b0b0,_0x308fbf=normalizeEnv(_0x3bf300);return _0x308fbf===_0x49f2d0(0x1f4)||_0x308fbf===_0x49f2d0(0x1f0);}let env=normalizeEnv(productEnv('ENV')||'production');export function getEnv(){return env;}export function initEnv(_0x29b717){env=normalizeEnv(_0x29b717);}
1
+ function a41_0x504a(_0x1af17a,_0x5dc8c2){_0x1af17a=_0x1af17a-0x1b5;const _0x4994b3=a41_0x4994();let _0x504afa=_0x4994b3[_0x1af17a];return _0x504afa;}const a41_0x4000d8=a41_0x504a;function a41_0x4994(){const _0xc78a6d=['572445bNeuEN','2959715FsmKlA','dev','5214896aVIKDC','42faYFGh','ENV','development','3Daycur','online','6483436pChrad','daily','production','419410RvjKHn','2506654ZjSIlg','27VkQxJC','1846716XCiIBV'];a41_0x4994=function(){return _0xc78a6d;};return a41_0x4994();}(function(_0x3b77fe,_0x17c17b){const _0x53be5f=a41_0x504a,_0x1920af=_0x3b77fe();while(!![]){try{const _0x191f05=parseInt(_0x53be5f(0x1c0))/0x1+parseInt(_0x53be5f(0x1bd))/0x2+parseInt(_0x53be5f(0x1b7))/0x3*(-parseInt(_0x53be5f(0x1b9))/0x4)+-parseInt(_0x53be5f(0x1c1))/0x5+parseInt(_0x53be5f(0x1bf))/0x6*(parseInt(_0x53be5f(0x1c4))/0x7)+-parseInt(_0x53be5f(0x1c3))/0x8+-parseInt(_0x53be5f(0x1be))/0x9*(-parseInt(_0x53be5f(0x1bc))/0xa);if(_0x191f05===_0x17c17b)break;else _0x1920af['push'](_0x1920af['shift']());}catch(_0x31039a){_0x1920af['push'](_0x1920af['shift']());}}}(a41_0x4994,0xe3f0f));import{productEnv}from'../constant/product.js';export const RUNTIME_ENV_VALUES=[a41_0x4000d8(0x1bb),'development','daily'];export function normalizeEnv(_0x3192de){const _0x114dbe=a41_0x4000d8;return _0x3192de===_0x114dbe(0x1b8)?'production':_0x3192de;}export function isProduction(_0x17f639){const _0x561045=a41_0x4000d8;return normalizeEnv(_0x17f639)===_0x561045(0x1bb);}export function isDaily(_0x2ea10e){const _0x1aae14=a41_0x4000d8;return normalizeEnv(_0x2ea10e)===_0x1aae14(0x1ba);}export function isDev(_0x25951c){const _0x47ff8c=a41_0x4000d8,_0x515d05=normalizeEnv(_0x25951c);return _0x515d05===_0x47ff8c(0x1b6)||_0x515d05===_0x47ff8c(0x1c2);}let env=normalizeEnv(productEnv(a41_0x4000d8(0x1b5))||'production');export function getEnv(){return env;}export function initEnv(_0x3f4a4a){env=normalizeEnv(_0x3f4a4a);}
@@ -1 +1 @@
1
- function a42_0x19f6(_0x31e3bf,_0x4ee8f6){_0x31e3bf=_0x31e3bf-0x1b7;const _0x166374=a42_0x1663();let _0x19f611=_0x166374[_0x31e3bf];return _0x19f611;}const a42_0x17a22c=a42_0x19f6;(function(_0x3260ab,_0x169dc4){const _0x31909a=a42_0x19f6,_0xb9ee9c=_0x3260ab();while(!![]){try{const _0x17ebda=parseInt(_0x31909a(0x1c3))/0x1*(parseInt(_0x31909a(0x1bb))/0x2)+-parseInt(_0x31909a(0x1b8))/0x3*(parseInt(_0x31909a(0x1c0))/0x4)+parseInt(_0x31909a(0x1bf))/0x5+parseInt(_0x31909a(0x1b9))/0x6+parseInt(_0x31909a(0x1c2))/0x7*(-parseInt(_0x31909a(0x1ba))/0x8)+parseInt(_0x31909a(0x1be))/0x9*(parseInt(_0x31909a(0x1c1))/0xa)+parseInt(_0x31909a(0x1bc))/0xb*(-parseInt(_0x31909a(0x1c4))/0xc);if(_0x17ebda===_0x169dc4)break;else _0xb9ee9c['push'](_0xb9ee9c['shift']());}catch(_0x4e4a5c){_0xb9ee9c['push'](_0xb9ee9c['shift']());}}}(a42_0x1663,0x51f00));export const OUTPUT_FORMAT_VALUES=[a42_0x17a22c(0x1bd),'pretty',a42_0x17a22c(0x1b7)];function a42_0x1663(){const _0x2e9b50=['63vqeUzh','688425WKDFrS','11080qiAPFc','656820Tiymmb','1038737mBVlch','116474wRJxDG','68460ZZsysc','compress','615xDGyTX','2278638Trbdej','8DyboGH','10WQTPfh','979OZgbef','json'];a42_0x1663=function(){return _0x2e9b50;};return a42_0x1663();}
1
+ const a42_0x5b8954=a42_0x3a90;(function(_0x5a0000,_0x71a0d){const _0x5d8a44=a42_0x3a90,_0x3dcc2a=_0x5a0000();while(!![]){try{const _0x3c3ed3=parseInt(_0x5d8a44(0x160))/0x1*(parseInt(_0x5d8a44(0x152))/0x2)+-parseInt(_0x5d8a44(0x151))/0x3*(-parseInt(_0x5d8a44(0x153))/0x4)+-parseInt(_0x5d8a44(0x15b))/0x5*(parseInt(_0x5d8a44(0x15c))/0x6)+-parseInt(_0x5d8a44(0x158))/0x7*(parseInt(_0x5d8a44(0x15f))/0x8)+parseInt(_0x5d8a44(0x15d))/0x9*(-parseInt(_0x5d8a44(0x155))/0xa)+parseInt(_0x5d8a44(0x159))/0xb*(-parseInt(_0x5d8a44(0x154))/0xc)+-parseInt(_0x5d8a44(0x161))/0xd*(-parseInt(_0x5d8a44(0x156))/0xe);if(_0x3c3ed3===_0x71a0d)break;else _0x3dcc2a['push'](_0x3dcc2a['shift']());}catch(_0x2a0b5c){_0x3dcc2a['push'](_0x3dcc2a['shift']());}}}(a42_0x5e64,0xcded3));function a42_0x3a90(_0xc18fde,_0x154c08){_0xc18fde=_0xc18fde-0x151;const _0x5e6466=a42_0x5e64();let _0x3a90c7=_0x5e6466[_0xc18fde];return _0x3a90c7;}function a42_0x5e64(){const _0x5e8e9d=['126498UiXzLH','52515Ofwmmy','json','417008rEKwtH','5OXObim','13zwYxmA','1557oyWvcz','34724APUFkb','12176PkbaKz','305772zKUmRu','2150icHykp','33721044EdCWQK','pretty','161KzQbrj','154wjXjgj','compress','100ZXhtcq'];a42_0x5e64=function(){return _0x5e8e9d;};return a42_0x5e64();}export const OUTPUT_FORMAT_VALUES=[a42_0x5b8954(0x15e),a42_0x5b8954(0x157),a42_0x5b8954(0x15a)];
@@ -1 +1 @@
1
- const a43_0x47eec9=a43_0x58a9;(function(_0xf17f39,_0x121bb8){const _0x24f7f8=a43_0x58a9,_0x477325=_0xf17f39();while(!![]){try{const _0x522c19=-parseInt(_0x24f7f8(0xc0))/0x1*(parseInt(_0x24f7f8(0xa8))/0x2)+-parseInt(_0x24f7f8(0xad))/0x3*(parseInt(_0x24f7f8(0xa6))/0x4)+-parseInt(_0x24f7f8(0xbd))/0x5*(parseInt(_0x24f7f8(0xac))/0x6)+parseInt(_0x24f7f8(0xb0))/0x7*(parseInt(_0x24f7f8(0xa3))/0x8)+-parseInt(_0x24f7f8(0xa4))/0x9*(parseInt(_0x24f7f8(0xbe))/0xa)+-parseInt(_0x24f7f8(0xb9))/0xb*(parseInt(_0x24f7f8(0xb6))/0xc)+parseInt(_0x24f7f8(0xb5))/0xd;if(_0x522c19===_0x121bb8)break;else _0x477325['push'](_0x477325['shift']());}catch(_0x3bfe69){_0x477325['push'](_0x477325['shift']());}}}(a43_0x50c0,0xf1c76));function a43_0x50c0(){const _0x29f279=['https://runtime.lovrabet.com','5007965BnXSII','10ULfiVx','Lovrabet\x20Runtime\x20CLI','9719GlEDZj','https://user-daily.lovrabet.com','https://api.lovrabet.com','/user/ak','4696swBBSP','13848318snnolm','cli:lovrabet-runtime','231824ScbkAL','Lovrabet\x20User\x20Center','206CihECf','.lovrabetrc','SKIP_NPX_SKILLS','https://registry.npmjs.org','6CirpkS','27rEnrPZ','https://daily-runtime.lovrabet.com','lovrabet/lovrabet-cli','22883tUEfbO','map','.lovrabet','LOVRABET','.lovrabet.json','46856901JDUTNP','1879992kiCGWY','envPrefix','.lovrabet-runtime.log','33NhxHtV','https://user.lovrabet.com','lovrabet'];a43_0x50c0=function(){return _0x29f279;};return a43_0x50c0();}export const PRODUCT_CONFIG={'cliBinName':a43_0x47eec9(0xbb),'cliDisplayName':a43_0x47eec9(0xbf),'npmPackageName':'@lovrabet/lovrabet-cli','skillSource':a43_0x47eec9(0xaf),'npmRegistryBaseUrl':a43_0x47eec9(0xab),'envPrefix':a43_0x47eec9(0xb3),'legacyEnvPrefixes':['RABETBASE'],'configFileNames':[a43_0x47eec9(0xb4),a43_0x47eec9(0xa9)],'newConfigFileName':a43_0x47eec9(0xb4),'homeDirName':a43_0x47eec9(0xb2),'logFileName':a43_0x47eec9(0xb8),'invokeSource':a43_0x47eec9(0xa5),'userCenterDisplayName':a43_0x47eec9(0xa7),'skipNpxSkillsEnvSuffix':a43_0x47eec9(0xaa),'domains':{'production':{'user':a43_0x47eec9(0xba),'api':a43_0x47eec9(0xc2),'runtime':a43_0x47eec9(0xbc)},'nonProduction':{'user':a43_0x47eec9(0xc1),'api':'https://daily-api.lovrabet.com','runtime':a43_0x47eec9(0xae)}},'accessKeyCreatePath':a43_0x47eec9(0xa2)};function a43_0x58a9(_0x482305,_0x5943bf){_0x482305=_0x482305-0xa2;const _0x50c07e=a43_0x50c0();let _0x58a944=_0x50c07e[_0x482305];return _0x58a944;}export function productEnvName(_0x220a07){const _0x195a35=a43_0x47eec9;return PRODUCT_CONFIG[_0x195a35(0xb7)]+'_'+_0x220a07;}export function productEnvNames(_0x45d606){const _0x435c46=a43_0x47eec9;return[productEnvName(_0x45d606),...PRODUCT_CONFIG['legacyEnvPrefixes'][_0x435c46(0xb1)](_0x47d698=>_0x47d698+'_'+_0x45d606)];}export function productEnv(_0x3dc10b){for(const _0x37b7bf of productEnvNames(_0x3dc10b)){const _0x4b0c2a=process.env[_0x37b7bf];if(_0x4b0c2a!==undefined)return _0x4b0c2a;}return undefined;}
1
+ function a43_0x55b3(){const _0x4c41dc=['.lovrabet.json','8vCLliO','1zBhmdl','envPrefix','https://user-daily.lovrabet.com','https://daily-api.lovrabet.com','.lovrabetrc','cli:lovrabet-runtime','SKIP_NPX_SKILLS','Lovrabet\x20Runtime\x20CLI','/user/ak','1245564nYBZdu','.lovrabet-runtime.log','27915nBCWxV','LOVRABET','Lovrabet\x20User\x20Center','1156576jwXzbb','52274yqopXY','https://user.lovrabet.com','lovrabet','2110230JKSnpN','map','2121815SVZupB','771274dMKpxj','@lovrabet/lovrabet-cli','lovrabet/lovrabet-cli','https://runtime.lovrabet.com'];a43_0x55b3=function(){return _0x4c41dc;};return a43_0x55b3();}const a43_0x471c4d=a43_0x4111;(function(_0x56438f,_0x1c2655){const _0x576e2d=a43_0x4111,_0x3fcab0=_0x56438f();while(!![]){try{const _0x2a10a2=-parseInt(_0x576e2d(0x1e0))/0x1*(-parseInt(_0x576e2d(0x1d4))/0x2)+parseInt(_0x576e2d(0x1d0))/0x3+parseInt(_0x576e2d(0x1d3))/0x4+-parseInt(_0x576e2d(0x1d9))/0x5+parseInt(_0x576e2d(0x1ce))/0x6+-parseInt(_0x576e2d(0x1da))/0x7+parseInt(_0x576e2d(0x1df))/0x8*(parseInt(_0x576e2d(0x1d7))/0x9);if(_0x2a10a2===_0x1c2655)break;else _0x3fcab0['push'](_0x3fcab0['shift']());}catch(_0x41a5a7){_0x3fcab0['push'](_0x3fcab0['shift']());}}}(a43_0x55b3,0x38aa9));export const PRODUCT_CONFIG={'cliBinName':a43_0x471c4d(0x1d6),'cliDisplayName':a43_0x471c4d(0x1cc),'npmPackageName':a43_0x471c4d(0x1db),'skillSource':a43_0x471c4d(0x1dc),'npmRegistryBaseUrl':'https://registry.npmjs.org','envPrefix':a43_0x471c4d(0x1d1),'legacyEnvPrefixes':['RABETBASE'],'configFileNames':[a43_0x471c4d(0x1de),a43_0x471c4d(0x1e4)],'newConfigFileName':a43_0x471c4d(0x1de),'homeDirName':'.lovrabet','logFileName':a43_0x471c4d(0x1cf),'invokeSource':a43_0x471c4d(0x1e5),'userCenterDisplayName':a43_0x471c4d(0x1d2),'skipNpxSkillsEnvSuffix':a43_0x471c4d(0x1cb),'domains':{'production':{'user':a43_0x471c4d(0x1d5),'api':'https://api.lovrabet.com','runtime':a43_0x471c4d(0x1dd)},'nonProduction':{'user':a43_0x471c4d(0x1e2),'api':a43_0x471c4d(0x1e3),'runtime':'https://daily-runtime.lovrabet.com'}},'accessKeyCreatePath':a43_0x471c4d(0x1cd)};export function productEnvName(_0x452248){const _0x5ab919=a43_0x471c4d;return PRODUCT_CONFIG[_0x5ab919(0x1e1)]+'_'+_0x452248;}function a43_0x4111(_0x4adcd8,_0x3e16f6){_0x4adcd8=_0x4adcd8-0x1cb;const _0x55b3c1=a43_0x55b3();let _0x4111d2=_0x55b3c1[_0x4adcd8];return _0x4111d2;}export function productEnvNames(_0x218e95){const _0x89ee18=a43_0x471c4d;return[productEnvName(_0x218e95),...PRODUCT_CONFIG['legacyEnvPrefixes'][_0x89ee18(0x1d8)](_0x4c6da2=>_0x4c6da2+'_'+_0x218e95)];}export function productEnv(_0x1913cc){for(const _0x5dd36f of productEnvNames(_0x1913cc)){const _0x9565ea=process.env[_0x5dd36f];if(_0x9565ea!==undefined)return _0x9565ea;}return undefined;}
@@ -1 +1 @@
1
- const a44_0x1742b5=a44_0x5203;function a44_0x5203(_0x58d37e,_0x5d2360){_0x58d37e=_0x58d37e-0x1ca;const _0x342df0=a44_0x342d();let _0x520309=_0x342df0[_0x58d37e];return _0x520309;}(function(_0x30fc4d,_0x486000){const _0x1d1c80=a44_0x5203,_0x63f5c=_0x30fc4d();while(!![]){try{const _0x157089=-parseInt(_0x1d1c80(0x1cc))/0x1+parseInt(_0x1d1c80(0x1cd))/0x2*(parseInt(_0x1d1c80(0x1ce))/0x3)+parseInt(_0x1d1c80(0x1cf))/0x4+-parseInt(_0x1d1c80(0x1d1))/0x5+-parseInt(_0x1d1c80(0x1d4))/0x6*(parseInt(_0x1d1c80(0x1ca))/0x7)+-parseInt(_0x1d1c80(0x1d0))/0x8*(parseInt(_0x1d1c80(0x1d2))/0x9)+parseInt(_0x1d1c80(0x1d6))/0xa;if(_0x157089===_0x486000)break;else _0x63f5c['push'](_0x63f5c['shift']());}catch(_0x139aed){_0x63f5c['push'](_0x63f5c['shift']());}}}(a44_0x342d,0x455e9));function a44_0x342d(){const _0xcf3b1d=['6169880qtGYFQ','396844apsWpi','write','547473eqVMlk','2quJjaq','1588737OEXFmn','1380020mDSxpr','176qdkalq','531950CaCDcV','64116FGdqKZ','read','42oDaHUI','high-risk-write'];a44_0x342d=function(){return _0xcf3b1d;};return a44_0x342d();}export const RISK_LEVEL_VALUES=[a44_0x1742b5(0x1d3),a44_0x1742b5(0x1cb),a44_0x1742b5(0x1d5)];
1
+ function a44_0xdf1a(){const _0x38d3fe=['89958HGsabj','3136555fTotrj','1636hGACEr','10767Mekiny','write','6010VTVvSV','294XoxqnL','14679360vaxDIc','7155WJJxLz','1334866LqqmWy','487710VHlCFk'];a44_0xdf1a=function(){return _0x38d3fe;};return a44_0xdf1a();}const a44_0x1a18f3=a44_0x381e;function a44_0x381e(_0x3dffb9,_0x4d8f01){_0x3dffb9=_0x3dffb9-0x12c;const _0xdf1a02=a44_0xdf1a();let _0x381ed9=_0xdf1a02[_0x3dffb9];return _0x381ed9;}(function(_0x1a0a6d,_0x3bc094){const _0x5335e4=a44_0x381e,_0x2a514a=_0x1a0a6d();while(!![]){try{const _0x15584e=parseInt(_0x5335e4(0x12e))/0x1+-parseInt(_0x5335e4(0x12d))/0x2+parseInt(_0x5335e4(0x132))/0x3*(-parseInt(_0x5335e4(0x131))/0x4)+parseInt(_0x5335e4(0x130))/0x5+parseInt(_0x5335e4(0x12f))/0x6*(parseInt(_0x5335e4(0x135))/0x7)+parseInt(_0x5335e4(0x136))/0x8+parseInt(_0x5335e4(0x12c))/0x9*(-parseInt(_0x5335e4(0x134))/0xa);if(_0x15584e===_0x3bc094)break;else _0x2a514a['push'](_0x2a514a['shift']());}catch(_0x36d121){_0x2a514a['push'](_0x2a514a['shift']());}}}(a44_0xdf1a,0xebf76));export const RISK_LEVEL_VALUES=['read',a44_0x1a18f3(0x133),'high-risk-write'];
@@ -1 +1 @@
1
- const a45_0x5adb19=a45_0x2a50;(function(_0x2492be,_0x5e643a){const _0x143238=a45_0x2a50,_0x3b320b=_0x2492be();while(!![]){try{const _0x579c1e=-parseInt(_0x143238(0x1b2))/0x1+-parseInt(_0x143238(0x1b0))/0x2+parseInt(_0x143238(0x1b4))/0x3+parseInt(_0x143238(0x1af))/0x4+parseInt(_0x143238(0x1ac))/0x5+parseInt(_0x143238(0x1ae))/0x6+-parseInt(_0x143238(0x1b1))/0x7;if(_0x579c1e===_0x5e643a)break;else _0x3b320b['push'](_0x3b320b['shift']());}catch(_0xf3cf79){_0x3b320b['push'](_0x3b320b['shift']());}}}(a45_0x6cf5,0x41cc3));function a45_0x2a50(_0x1c2a09,_0x5f3be5){_0x1c2a09=_0x1c2a09-0x1ac;const _0x6cf55b=a45_0x6cf5();let _0x2a50bb=_0x6cf55b[_0x1c2a09];return _0x2a50bb;}import{PRODUCT_CONFIG}from'../constant/product.js';export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a45_0x5adb19(0x1ad)][a45_0x5adb19(0x1b3)]['user']+PRODUCT_CONFIG['accessKeyCreatePath'];function a45_0x6cf5(){const _0x3989c3=['111328gbwuLE','912570mPUYtJ','1227331ZLZEHl','415056YpwmRi','production','1147767COENvO','2570580UlYQwY','domains','2349864MYkGJn'];a45_0x6cf5=function(){return _0x3989c3;};return a45_0x6cf5();}
1
+ const a45_0x44868d=a45_0x1d1f;(function(_0xb4bcc,_0x161a81){const _0x3eb507=a45_0x1d1f,_0x1c2536=_0xb4bcc();while(!![]){try{const _0x2be720=-parseInt(_0x3eb507(0x80))/0x1*(parseInt(_0x3eb507(0x85))/0x2)+parseInt(_0x3eb507(0x88))/0x3+parseInt(_0x3eb507(0x84))/0x4*(-parseInt(_0x3eb507(0x86))/0x5)+parseInt(_0x3eb507(0x8a))/0x6*(parseInt(_0x3eb507(0x81))/0x7)+parseInt(_0x3eb507(0x82))/0x8*(-parseInt(_0x3eb507(0x7f))/0x9)+parseInt(_0x3eb507(0x87))/0xa*(-parseInt(_0x3eb507(0x8c))/0xb)+parseInt(_0x3eb507(0x89))/0xc;if(_0x2be720===_0x161a81)break;else _0x1c2536['push'](_0x1c2536['shift']());}catch(_0x1e177b){_0x1c2536['push'](_0x1c2536['shift']());}}}(a45_0x189a,0x7fc30));import{PRODUCT_CONFIG}from'../constant/product.js';function a45_0x189a(){const _0x241aac=['61580kSIrIH','18740mmcWDn','2510xSnZFQ','1142109yNnBkK','13196220xCKwbd','48lyvWvX','domains','18139qhLPZR','accessKeyCreatePath','17289qLKcfp','3SWsbwj','197638fMrOQj','1304bBndUX','user','388fRzhHr'];a45_0x189a=function(){return _0x241aac;};return a45_0x189a();}function a45_0x1d1f(_0xc74253,_0x246948){_0xc74253=_0xc74253-0x7f;const _0x189a31=a45_0x189a();let _0x1d1fd6=_0x189a31[_0xc74253];return _0x1d1fd6;}export const USER_ACCESS_KEY_CREATE_URL=''+PRODUCT_CONFIG[a45_0x44868d(0x8b)]['production'][a45_0x44868d(0x83)]+PRODUCT_CONFIG[a45_0x44868d(0x8d)];