@lovrabet/lovrabet-cli 2.0.9-beta.3 → 2.0.9-beta.4

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 (70) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/app/cache.js +1 -1
  3. package/lib/commands/app/definitions.js +1 -1
  4. package/lib/commands/app/mock-loader.js +1 -1
  5. package/lib/commands/app/remote-source.js +1 -1
  6. package/lib/commands/app/shared.js +1 -1
  7. package/lib/commands/auth/index.js +1 -1
  8. package/lib/commands/auth/prompt.js +1 -1
  9. package/lib/commands/bff/detail.js +1 -1
  10. package/lib/commands/bff/exec.js +1 -1
  11. package/lib/commands/bff/index.js +1 -1
  12. package/lib/commands/common/config-policy.js +1 -1
  13. package/lib/commands/common/constraints.js +1 -1
  14. package/lib/commands/common/flags.js +1 -1
  15. package/lib/commands/config/definitions.js +1 -1
  16. package/lib/commands/config/shared.js +1 -1
  17. package/lib/commands/data/index.js +1 -1
  18. package/lib/commands/dataset/detail.js +1 -1
  19. package/lib/commands/dataset/index.js +1 -1
  20. package/lib/commands/dataset/list.js +1 -1
  21. package/lib/commands/doctor.js +1 -1
  22. package/lib/commands/init.js +1 -1
  23. package/lib/commands/kb/index.js +1 -1
  24. package/lib/commands/logs/index.js +1 -1
  25. package/lib/commands/registry.js +1 -1
  26. package/lib/commands/schema.js +1 -1
  27. package/lib/commands/skill/index.js +1 -1
  28. package/lib/commands/sql/detail.js +1 -1
  29. package/lib/commands/sql/exec.js +1 -1
  30. package/lib/commands/sql/index.js +1 -1
  31. package/lib/commands/update.js +1 -1
  32. package/lib/config/schema.js +1 -1
  33. package/lib/constant/auth-mode.js +1 -1
  34. package/lib/constant/cli.js +1 -1
  35. package/lib/constant/defaults.js +1 -1
  36. package/lib/constant/distribution.js +1 -1
  37. package/lib/constant/domain.js +1 -1
  38. package/lib/constant/env.js +1 -1
  39. package/lib/constant/output.js +1 -1
  40. package/lib/constant/product.js +1 -1
  41. package/lib/constant/risk.js +1 -1
  42. package/lib/constant/url.js +1 -1
  43. package/lib/context.js +1 -1
  44. package/lib/core/api-client.js +1 -1
  45. package/lib/core/db-resolver.js +1 -1
  46. package/lib/core/sdk-client.js +1 -1
  47. package/lib/errors.js +1 -1
  48. package/lib/framework/build-all-flags.js +1 -1
  49. package/lib/framework/dryrun.js +1 -1
  50. package/lib/framework/flags.js +1 -1
  51. package/lib/framework/help.js +1 -1
  52. package/lib/framework/index.js +1 -1
  53. package/lib/framework/output.js +1 -1
  54. package/lib/framework/preparse.js +1 -1
  55. package/lib/framework/response.js +1 -1
  56. package/lib/framework/runner-confirmation.js +1 -1
  57. package/lib/framework/runner-error.js +1 -1
  58. package/lib/framework/runner.js +1 -1
  59. package/lib/framework/schema-export.js +1 -1
  60. package/lib/framework/types.js +1 -1
  61. package/lib/help.js +1 -1
  62. package/lib/skills/npx-skills-add.js +1 -1
  63. package/lib/skills/runtime-skill-sync.js +1 -1
  64. package/lib/utils/apply-jq-filter.js +1 -1
  65. package/lib/utils/logger.js +1 -1
  66. package/lib/utils/params.js +1 -1
  67. package/lib/utils/platform.js +1 -1
  68. package/lib/utils/version.js +1 -1
  69. package/lib/utils/write-cli-side-channel.js +1 -1
  70. package/package.json +1 -1
@@ -1 +1 @@
1
- const a49_0x44799d=a49_0x5e50;(function(_0x1d688f,_0x5bf81a){const _0x437e28=a49_0x5e50,_0x315d98=_0x1d688f();while(!![]){try{const _0x2336a9=-parseInt(_0x437e28(0x11b))/0x1+parseInt(_0x437e28(0x11a))/0x2*(-parseInt(_0x437e28(0x11d))/0x3)+parseInt(_0x437e28(0x114))/0x4+parseInt(_0x437e28(0x11e))/0x5*(parseInt(_0x437e28(0x116))/0x6)+parseInt(_0x437e28(0x11f))/0x7*(-parseInt(_0x437e28(0x119))/0x8)+-parseInt(_0x437e28(0x113))/0x9*(parseInt(_0x437e28(0x115))/0xa)+-parseInt(_0x437e28(0x118))/0xb*(-parseInt(_0x437e28(0x120))/0xc);if(_0x2336a9===_0x5bf81a)break;else _0x315d98['push'](_0x315d98['shift']());}catch(_0x7e8a0b){_0x315d98['push'](_0x315d98['shift']());}}}(a49_0x405c,0xb7655));function a49_0x5e50(_0x5695db,_0x3c4ea5){_0x5695db=_0x5695db-0x113;const _0x405c56=a49_0x405c();let _0x5e50d2=_0x405c56[_0x5695db];return _0x5e50d2;}import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a49_0x44799d(0x11c)];export const validateFlags=helpers[a49_0x44799d(0x117)];function a49_0x405c(){const _0x36f0fb=['10600jfTgzu','1426004QJjNtU','313190GxhxHg','parseFlags','3vGkcrP','2397365PhDTuy','2933aAqNqy','2341932WhDFsz','11142RaieGM','4480068mDfmYB','6690duRKBL','6WMIRsD','validateFlags','88VngvHA'];a49_0x405c=function(){return _0x36f0fb;};return a49_0x405c();}
1
+ const a49_0x27434f=a49_0x4f43;(function(_0x1c7502,_0x299baa){const _0x19e27a=a49_0x4f43,_0x2edb6b=_0x1c7502();while(!![]){try{const _0x3eab11=-parseInt(_0x19e27a(0xbc))/0x1+-parseInt(_0x19e27a(0xbb))/0x2+-parseInt(_0x19e27a(0xbd))/0x3*(parseInt(_0x19e27a(0xc0))/0x4)+parseInt(_0x19e27a(0xbf))/0x5*(parseInt(_0x19e27a(0xc2))/0x6)+-parseInt(_0x19e27a(0xc1))/0x7*(-parseInt(_0x19e27a(0xbe))/0x8)+-parseInt(_0x19e27a(0xb9))/0x9+parseInt(_0x19e27a(0xb8))/0xa;if(_0x3eab11===_0x299baa)break;else _0x2edb6b['push'](_0x2edb6b['shift']());}catch(_0x47094c){_0x2edb6b['push'](_0x2edb6b['shift']());}}}(a49_0x448e,0x5db4d));import{createFlagHelpers}from'@lovrabet/cli-framework';function a49_0x4f43(_0x5220ff,_0x5c6dc9){_0x5220ff=_0x5220ff-0xb8;const _0x448e0e=a49_0x448e();let _0x4f4330=_0x448e0e[_0x5220ff];return _0x4f4330;}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a49_0x448e(){const _0x1f1145=['4UgQtLf','7aRLSdv','228RLzaLD','9930090qIFPqg','3263706WOPzpc','parseFlags','689678zvjEJt','535604wivwau','1830828ogySNc','4487096dEdjpB','89905QnUQEy'];a49_0x448e=function(){return _0x1f1145;};return a49_0x448e();}export const parseFlags=helpers[a49_0x27434f(0xba)];export const validateFlags=helpers['validateFlags'];
@@ -1 +1 @@
1
- const a50_0x39189f=a50_0x3185;(function(_0x4edbc7,_0x495b45){const _0x3d7b98=a50_0x3185,_0x3a7e5a=_0x4edbc7();while(!![]){try{const _0x159bc6=-parseInt(_0x3d7b98(0x7b))/0x1+parseInt(_0x3d7b98(0x70))/0x2+-parseInt(_0x3d7b98(0x77))/0x3*(parseInt(_0x3d7b98(0x7a))/0x4)+-parseInt(_0x3d7b98(0x75))/0x5+-parseInt(_0x3d7b98(0x7c))/0x6*(-parseInt(_0x3d7b98(0x7d))/0x7)+-parseInt(_0x3d7b98(0x71))/0x8+parseInt(_0x3d7b98(0x6f))/0x9;if(_0x159bc6===_0x495b45)break;else _0x3a7e5a['push'](_0x3a7e5a['shift']());}catch(_0x27dac6){_0x3a7e5a['push'](_0x3a7e5a['shift']());}}}(a50_0x1595,0xbe5d5));function a50_0x3185(_0x304e44,_0x29a0cc){_0x304e44=_0x304e44-0x6f;const _0x159590=a50_0x1595();let _0x31852b=_0x159590[_0x304e44];return _0x31852b;}import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';function a50_0x1595(){const _0x6c1486=['2786882WlzZIS','34503750jBduQH','100346RGHPZQ','3939632YGETJB','newConfigFileName','generateFullHelp','Requires\x20appcode\x20(set\x20via\x20','7624775LSyebo','\x20or\x20--appcode).','3VnvtzM','generateServiceHelp','get','5233628umynlw','972752QYNvva','18JYELkP'];a50_0x1595=function(){return _0x6c1486;};return a50_0x1595();}const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x21158e=>serviceGroups[a50_0x39189f(0x79)](_0x21158e),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a50_0x39189f(0x74)+PRODUCT_CONFIG[a50_0x39189f(0x72)]+a50_0x39189f(0x76)});export function generateCommandHelp(_0x2a155f){return generators['generateCommandHelp'](_0x2a155f);}export const generateServiceHelp=generators[a50_0x39189f(0x78)];export const generateFullHelp=generators[a50_0x39189f(0x73)];
1
+ const a50_0x25683b=a50_0xb558;(function(_0x37ba68,_0x378bae){const _0x3cee4e=a50_0xb558,_0x4f25c9=_0x37ba68();while(!![]){try{const _0x1132c5=parseInt(_0x3cee4e(0x17e))/0x1*(-parseInt(_0x3cee4e(0x179))/0x2)+-parseInt(_0x3cee4e(0x178))/0x3*(-parseInt(_0x3cee4e(0x175))/0x4)+parseInt(_0x3cee4e(0x181))/0x5+parseInt(_0x3cee4e(0x183))/0x6+-parseInt(_0x3cee4e(0x182))/0x7+-parseInt(_0x3cee4e(0x17a))/0x8+parseInt(_0x3cee4e(0x17c))/0x9*(parseInt(_0x3cee4e(0x176))/0xa);if(_0x1132c5===_0x378bae)break;else _0x4f25c9['push'](_0x4f25c9['shift']());}catch(_0x52cc3c){_0x4f25c9['push'](_0x4f25c9['shift']());}}}(a50_0x5425,0xdd478));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';const generators=createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':serviceRegistry,'getServiceEntry':getServiceEntry,'getServiceDefinitions':_0x5acdec=>serviceGroups[a50_0x25683b(0x17b)](_0x5acdec),'buildAllFlags':buildAllFlags,'appPrerequisiteText':'Requires\x20appcode\x20(set\x20via\x20'+PRODUCT_CONFIG[a50_0x25683b(0x180)]+a50_0x25683b(0x17d)});function a50_0xb558(_0x5cd543,_0x3ca4a1){_0x5cd543=_0x5cd543-0x175;const _0x542545=a50_0x5425();let _0xb558eb=_0x542545[_0x5cd543];return _0xb558eb;}export function generateCommandHelp(_0x35c7ca){return generators['generateCommandHelp'](_0x35c7ca);}export const generateServiceHelp=generators[a50_0x25683b(0x17f)];function a50_0x5425(){const _0xb58cf5=['get','3880665tAgksQ','\x20or\x20--appcode).','1087591nMGyNr','generateServiceHelp','newConfigFileName','5043605JYXIYs','1075291rKIAJb','579396ZJIdHZ','4OPWtan','10CltfUy','generateFullHelp','3033624nthsww','2cZaXyj','3200928aYUYrS'];a50_0x5425=function(){return _0xb58cf5;};return a50_0x5425();}export const generateFullHelp=generators[a50_0x25683b(0x177)];
@@ -1 +1 @@
1
- (function(_0x5156be,_0x420493){var _0xa7572b=a51_0x315e,_0x479f30=_0x5156be();while(!![]){try{var _0x5992d7=-parseInt(_0xa7572b(0x18a))/0x1*(parseInt(_0xa7572b(0x18d))/0x2)+parseInt(_0xa7572b(0x18f))/0x3+-parseInt(_0xa7572b(0x18c))/0x4+parseInt(_0xa7572b(0x189))/0x5*(-parseInt(_0xa7572b(0x188))/0x6)+parseInt(_0xa7572b(0x191))/0x7*(-parseInt(_0xa7572b(0x186))/0x8)+-parseInt(_0xa7572b(0x187))/0x9*(-parseInt(_0xa7572b(0x18e))/0xa)+-parseInt(_0xa7572b(0x190))/0xb*(-parseInt(_0xa7572b(0x18b))/0xc);if(_0x5992d7===_0x420493)break;else _0x479f30['push'](_0x479f30['shift']());}catch(_0x4cf0a5){_0x479f30['push'](_0x479f30['shift']());}}}(a51_0x46d4,0xc2457));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a51_0x46d4(){var _0x328a5b=['8ylBMlV','4318983REreNk','3111738gdKsZB','10jrtHcb','47gMEfrJ','28068oEBOLt','2981964ItiKKl','24442sheWmA','30GmKtVv','4086120EoFFdp','6941bnnPJk','7873257vnLlNa'];a51_0x46d4=function(){return _0x328a5b;};return a51_0x46d4();}export{dryRun}from'../framework/dryrun.js';function a51_0x315e(_0x4f1439,_0xa43377){_0x4f1439=_0x4f1439-0x186;var _0x46d400=a51_0x46d4();var _0x315e81=_0x46d400[_0x4f1439];return _0x315e81;}export{riskLevelOrder,isValidFormat}from'../framework/types.js';
1
+ (function(_0x29bf69,_0x2a9bbd){var _0x43cc2a=a51_0x5557,_0x1f65dd=_0x29bf69();while(!![]){try{var _0x4481f5=-parseInt(_0x43cc2a(0xd4))/0x1+-parseInt(_0x43cc2a(0xd5))/0x2+-parseInt(_0x43cc2a(0xd6))/0x3*(-parseInt(_0x43cc2a(0xd2))/0x4)+parseInt(_0x43cc2a(0xd0))/0x5*(parseInt(_0x43cc2a(0xd7))/0x6)+parseInt(_0x43cc2a(0xcf))/0x7*(parseInt(_0x43cc2a(0xd3))/0x8)+parseInt(_0x43cc2a(0xd9))/0x9*(parseInt(_0x43cc2a(0xd8))/0xa)+parseInt(_0x43cc2a(0xd1))/0xb*(-parseInt(_0x43cc2a(0xda))/0xc);if(_0x4481f5===_0x2a9bbd)break;else _0x1f65dd['push'](_0x1f65dd['shift']());}catch(_0x367172){_0x1f65dd['push'](_0x1f65dd['shift']());}}}(a51_0x2364,0x3a016));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';function a51_0x2364(){var _0x55098f=['291588POxbhl','2118aVZROu','834MMdPYx','30bkIWmC','596196IUVQFJ','36PDELHQ','12439BFGcfS','3040ONzjGV','413369hBEcTA','2680OnySai','424IPBDaA','354324IynxMO'];a51_0x2364=function(){return _0x55098f;};return a51_0x2364();}function a51_0x5557(_0x54fc69,_0x2a3099){_0x54fc69=_0x54fc69-0xcf;var _0x236473=a51_0x2364();var _0x555753=_0x236473[_0x54fc69];return _0x555753;}export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
@@ -1 +1 @@
1
- function a52_0x59a5(_0x37818e,_0x29fa2d){_0x37818e=_0x37818e-0x145;const _0x5c9d0c=a52_0x5c9d();let _0x59a553=_0x5c9d0c[_0x37818e];return _0x59a553;}(function(_0x597e8f,_0x1efacf){const _0x117c4f=a52_0x59a5,_0x370732=_0x597e8f();while(!![]){try{const _0x18ea26=parseInt(_0x117c4f(0x14b))/0x1*(parseInt(_0x117c4f(0x14f))/0x2)+-parseInt(_0x117c4f(0x14d))/0x3*(parseInt(_0x117c4f(0x151))/0x4)+-parseInt(_0x117c4f(0x148))/0x5*(parseInt(_0x117c4f(0x150))/0x6)+parseInt(_0x117c4f(0x149))/0x7*(parseInt(_0x117c4f(0x146))/0x8)+parseInt(_0x117c4f(0x14a))/0x9+parseInt(_0x117c4f(0x145))/0xa*(-parseInt(_0x117c4f(0x147))/0xb)+-parseInt(_0x117c4f(0x14c))/0xc*(-parseInt(_0x117c4f(0x14e))/0xd);if(_0x18ea26===_0x1efacf)break;else _0x370732['push'](_0x370732['shift']());}catch(_0xc3a9df){_0x370732['push'](_0x370732['shift']());}}}(a52_0x5c9d,0x328ee));function a52_0x5c9d(){const _0xd21306=['26642UznVbo','150DKjTba','86804kQzttt','180BANmyz','37432RHoErX','40447ZwcaxQ','13255cmaxmq','350LZYpio','2263527niNfnk','2WyyotE','12yHPxJf','39wxtrNp','1424345AxfvkI'];a52_0x5c9d=function(){return _0xd21306;};return a52_0x5c9d();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
1
+ (function(_0x2d8b07,_0xbf920d){const _0x25ee2c=a52_0x3191,_0x384672=_0x2d8b07();while(!![]){try{const _0x405cdb=parseInt(_0x25ee2c(0x135))/0x1+-parseInt(_0x25ee2c(0x132))/0x2+parseInt(_0x25ee2c(0x12c))/0x3*(-parseInt(_0x25ee2c(0x12f))/0x4)+parseInt(_0x25ee2c(0x12d))/0x5+parseInt(_0x25ee2c(0x134))/0x6+parseInt(_0x25ee2c(0x131))/0x7*(-parseInt(_0x25ee2c(0x130))/0x8)+parseInt(_0x25ee2c(0x133))/0x9*(-parseInt(_0x25ee2c(0x12e))/0xa);if(_0x405cdb===_0xbf920d)break;else _0x384672['push'](_0x384672['shift']());}catch(_0x23afc1){_0x384672['push'](_0x384672['shift']());}}}(a52_0x1b78,0x2a725));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a52_0x3191(_0x498997,_0x7a07f0){_0x498997=_0x498997-0x12c;const _0x1b7862=a52_0x1b78();let _0x3191a5=_0x1b7862[_0x498997];return _0x3191a5;}import{CliErrors}from'../errors.js';function a52_0x1b78(){const _0x26eceb=['332200fmSmwV','698337uaayoi','863712xlRxCf','192675CsHMMf','57813yySyWW','1390255tupbKa','10msEVkN','12NzGHfR','184CfLUKB','42399rbIomp'];a52_0x1b78=function(){return _0x26eceb;};return a52_0x1b78();}export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
@@ -1 +1 @@
1
- (function(_0xaa44c9,_0x134df4){const _0x2fa60c=a53_0x315a,_0x334ef1=_0xaa44c9();while(!![]){try{const _0x1a7137=-parseInt(_0x2fa60c(0x173))/0x1+parseInt(_0x2fa60c(0x16f))/0x2*(parseInt(_0x2fa60c(0x168))/0x3)+parseInt(_0x2fa60c(0x16e))/0x4+-parseInt(_0x2fa60c(0x169))/0x5+parseInt(_0x2fa60c(0x176))/0x6*(parseInt(_0x2fa60c(0x180))/0x7)+-parseInt(_0x2fa60c(0x187))/0x8*(parseInt(_0x2fa60c(0x164))/0x9)+-parseInt(_0x2fa60c(0x177))/0xa*(-parseInt(_0x2fa60c(0x162))/0xb);if(_0x1a7137===_0x134df4)break;else _0x334ef1['push'](_0x334ef1['shift']());}catch(_0x284116){_0x334ef1['push'](_0x334ef1['shift']());}}}(a53_0x6981,0x2841d));function toKebab(_0xf6db6d){const _0x65c28e=a53_0x315a;return _0xf6db6d[_0x65c28e(0x170)](/_/g,'-')[_0x65c28e(0x170)](/-([A-Z]+)/g,(_0x15070f,_0x3f566a)=>'-'+_0x3f566a[_0x65c28e(0x160)]())[_0x65c28e(0x170)](/([a-z0-9])([A-Z])/g,(_0x1db868,_0x152a14,_0x18f136)=>_0x152a14+'-'+_0x18f136)[_0x65c28e(0x160)]();}function buildKnownFlags(_0x54de82){const _0xddf17d=a53_0x315a,_0xd37eb8=new Set();for(const _0x275c3f of _0x54de82){_0xd37eb8[_0xddf17d(0x16a)](_0x275c3f[_0xddf17d(0x17f)]),_0xd37eb8[_0xddf17d(0x16a)](toCamelCase(_0x275c3f[_0xddf17d(0x17f)]));}for(const _0x36c970 of[_0xddf17d(0x17a),'dryRun',_0xddf17d(0x17d),_0xddf17d(0x171)]){_0xd37eb8[_0xddf17d(0x16a)](_0x36c970);}for(const _0x5d42de of[_0xddf17d(0x167),'env',_0xddf17d(0x165),_0xddf17d(0x186),_0xddf17d(0x16c),_0xddf17d(0x16b),'ci','global',_0xddf17d(0x161)]){_0xd37eb8[_0xddf17d(0x16a)](_0x5d42de);}return _0xd37eb8;}function buildFlagTypeMap(_0x2a4e82){const _0x8fa01=a53_0x315a,_0x1a2711=new Map();for(const _0x5b872d of _0x2a4e82){_0x1a2711['set'](_0x5b872d[_0x8fa01(0x17f)],_0x5b872d['type']),_0x1a2711[_0x8fa01(0x172)](toCamelCase(_0x5b872d[_0x8fa01(0x17f)]),_0x5b872d[_0x8fa01(0x182)]);}return _0x1a2711;}function toCamelCase(_0x38bfb4){const _0x2cc1b9=a53_0x315a;return _0x38bfb4[_0x2cc1b9(0x170)](/-([a-z])/g,(_0x4d39df,_0x36da3f)=>_0x36da3f[_0x2cc1b9(0x17c)]());}function aliasHandler(_0x3db514,_0x1f5375){const _0x5cd52b=a53_0x315a,_0x1adf26=[];for(const _0x1d437c of Object[_0x5cd52b(0x163)](_0x3db514)){if(_0x1f5375[_0x5cd52b(0x178)](_0x1d437c))continue;const _0x29891b=toKebab(_0x1d437c);_0x29891b!==_0x1d437c&&_0x1f5375[_0x5cd52b(0x178)](_0x29891b)&&_0x1adf26[_0x5cd52b(0x16d)]({'original':_0x1d437c,'corrected':_0x29891b,'handler':_0x5cd52b(0x183)});}return _0x1adf26;}function a53_0x6981(){const _0x567858=['number','boolean','207678pLDpQd','817040HlEWTS','has','original','dry-run','string','toUpperCase','yes','get','name','7qnAjua','slice','type','alias','length','entries','app','1896hgBKlE','toLowerCase','version','22bOmQMV','keys','1746IYCuFS','appcode','corrected','help','21BqYeQR','671715WgMuXK','add','non-interactive','nonInteractive','push','859936RUHduP','14164KTkuQK','replace','format','set','117365CWGMiI'];a53_0x6981=function(){return _0x567858;};return a53_0x6981();}function stickyHandler(_0x3fb0c9,_0x2a6d9c,_0x407dc2){const _0x3b8bb0=a53_0x315a,_0x81c74=[];for(const [_0x38c7,_0x33a05e]of Object[_0x3b8bb0(0x185)](_0x3fb0c9)){if(_0x33a05e!==!![])continue;for(let _0x463f38=_0x38c7['length']-0x1;_0x463f38>0x0;_0x463f38--){const _0x210c08=_0x38c7[_0x3b8bb0(0x181)](0x0,_0x463f38),_0x56b7f5=_0x38c7[_0x3b8bb0(0x181)](_0x463f38),_0x4e42c4=toKebab(_0x210c08),_0x1ef172=toCamelCase(_0x210c08),_0x58fc63=_0x2a6d9c[_0x3b8bb0(0x178)](_0x210c08)?_0x210c08:_0x2a6d9c[_0x3b8bb0(0x178)](_0x4e42c4)?_0x4e42c4:_0x2a6d9c[_0x3b8bb0(0x178)](_0x1ef172)?_0x1ef172:null;if(!_0x58fc63)continue;const _0x265d61=_0x407dc2['get'](_0x58fc63)??_0x3b8bb0(0x17b);let _0x300a10;if(_0x265d61===_0x3b8bb0(0x174)){const _0x3378c4=Number(_0x56b7f5);if(isNaN(_0x3378c4)||_0x56b7f5==='')continue;_0x300a10=_0x3378c4;}else{if(_0x265d61===_0x3b8bb0(0x175))continue;else{if(_0x56b7f5==='')continue;_0x300a10=_0x56b7f5;}}_0x81c74[_0x3b8bb0(0x16d)]({'original':_0x38c7,'corrected':_0x58fc63+'='+_0x300a10,'handler':'sticky'});break;}}return _0x81c74;}function a53_0x315a(_0x32c6c3,_0xdccfeb){_0x32c6c3=_0x32c6c3-0x160;const _0x6981fe=a53_0x6981();let _0x315a65=_0x6981fe[_0x32c6c3];return _0x315a65;}export function correctFlags(_0x5a53f5,_0x29b950){const _0x89e67b=a53_0x315a,_0x5e3ce1=buildKnownFlags(_0x29b950),_0x1103eb=buildFlagTypeMap(_0x29b950),_0x380583=aliasHandler(_0x5a53f5,_0x5e3ce1),_0x816ce=stickyHandler(_0x5a53f5,_0x5e3ce1,_0x1103eb),_0x111bd6=[..._0x380583,..._0x816ce];if(_0x111bd6[_0x89e67b(0x184)]===0x0)return{'flags':_0x5a53f5,'corrections':[]};const _0xf03c8f={..._0x5a53f5},_0x1c2b23=new Set();for(const _0x3654d8 of _0x380583){_0xf03c8f[_0x3654d8[_0x89e67b(0x166)]]=_0x5a53f5[_0x3654d8[_0x89e67b(0x179)]],_0x1c2b23['add'](_0x3654d8[_0x89e67b(0x179)]);}for(const _0x475b2b of _0x816ce){const _0xb50d71=_0x475b2b[_0x89e67b(0x166)]['indexOf']('='),_0x38843d=_0x475b2b[_0x89e67b(0x166)][_0x89e67b(0x181)](0x0,_0xb50d71),_0x32260b=_0x475b2b[_0x89e67b(0x166)]['slice'](_0xb50d71+0x1),_0x28f1a1=_0x1103eb[_0x89e67b(0x17e)](_0x38843d)??_0x89e67b(0x17b);_0x28f1a1===_0x89e67b(0x174)?_0xf03c8f[_0x38843d]=Number(_0x32260b):_0xf03c8f[_0x38843d]=_0x32260b,_0x1c2b23[_0x89e67b(0x16a)](_0x475b2b[_0x89e67b(0x179)]);}for(const _0x1deb4b of _0x1c2b23){delete _0xf03c8f[_0x1deb4b];}return{'flags':_0xf03c8f,'corrections':_0x111bd6};}
1
+ (function(_0x5ff711,_0x3b23bf){const _0x30cd54=a53_0x2855,_0x457def=_0x5ff711();while(!![]){try{const _0x955040=-parseInt(_0x30cd54(0xc2))/0x1+-parseInt(_0x30cd54(0xe4))/0x2+parseInt(_0x30cd54(0xde))/0x3*(parseInt(_0x30cd54(0xd8))/0x4)+-parseInt(_0x30cd54(0xd3))/0x5*(parseInt(_0x30cd54(0xbe))/0x6)+-parseInt(_0x30cd54(0xc8))/0x7*(-parseInt(_0x30cd54(0xe0))/0x8)+-parseInt(_0x30cd54(0xc4))/0x9*(-parseInt(_0x30cd54(0xe3))/0xa)+parseInt(_0x30cd54(0xd6))/0xb;if(_0x955040===_0x3b23bf)break;else _0x457def['push'](_0x457def['shift']());}catch(_0x269b9a){_0x457def['push'](_0x457def['shift']());}}}(a53_0x1b9e,0x7bf7e));function toKebab(_0x44ccc3){const _0x410d5d=a53_0x2855;return _0x44ccc3['replace'](/_/g,'-')[_0x410d5d(0xda)](/-([A-Z]+)/g,(_0x624703,_0x15e4f6)=>'-'+_0x15e4f6[_0x410d5d(0xc1)]())[_0x410d5d(0xda)](/([a-z0-9])([A-Z])/g,(_0x503482,_0x4a3054,_0x3dd0fe)=>_0x4a3054+'-'+_0x3dd0fe)[_0x410d5d(0xc1)]();}function buildKnownFlags(_0x31d631){const _0x1be0cb=a53_0x2855,_0x5d7b7c=new Set();for(const _0x160297 of _0x31d631){_0x5d7b7c[_0x1be0cb(0xc7)](_0x160297[_0x1be0cb(0xd9)]),_0x5d7b7c['add'](toCamelCase(_0x160297['name']));}for(const _0x11e3a8 of['dry-run',_0x1be0cb(0xc0),_0x1be0cb(0xd7),_0x1be0cb(0xc6)]){_0x5d7b7c[_0x1be0cb(0xc7)](_0x11e3a8);}for(const _0x5e7bb3 of[_0x1be0cb(0xc3),_0x1be0cb(0xd2),'appcode',_0x1be0cb(0xca),_0x1be0cb(0xdf),_0x1be0cb(0xd5),'ci',_0x1be0cb(0xc9),'version']){_0x5d7b7c[_0x1be0cb(0xc7)](_0x5e7bb3);}return _0x5d7b7c;}function buildFlagTypeMap(_0x521363){const _0x7bcb84=a53_0x2855,_0x55a29e=new Map();for(const _0x2c7b38 of _0x521363){_0x55a29e['set'](_0x2c7b38[_0x7bcb84(0xd9)],_0x2c7b38[_0x7bcb84(0xc5)]),_0x55a29e[_0x7bcb84(0xce)](toCamelCase(_0x2c7b38[_0x7bcb84(0xd9)]),_0x2c7b38[_0x7bcb84(0xc5)]);}return _0x55a29e;}function a53_0x2855(_0x4f854f,_0x2e2e26){_0x4f854f=_0x4f854f-0xbe;const _0x1b9e7e=a53_0x1b9e();let _0x285574=_0x1b9e7e[_0x4f854f];return _0x285574;}function a53_0x1b9e(){const _0x33cb91=['corrected','2889NVBCUW','nonInteractive','72GNAhoK','original','get','1661830ulttsk','335040dTyYhg','408ngqPSB','slice','dryRun','toLowerCase','438484WCBoVI','help','9lUfkmV','type','format','add','691411AgZsla','global','app','has','boolean','toUpperCase','set','push','string','number','env','34565MOvQiF','length','non-interactive','5741791CHfiAr','yes','28CUFVvS','name','replace','entries','alias'];a53_0x1b9e=function(){return _0x33cb91;};return a53_0x1b9e();}function toCamelCase(_0x2faeac){const _0x4005e5=a53_0x2855;return _0x2faeac[_0x4005e5(0xda)](/-([a-z])/g,(_0x145f23,_0x243b35)=>_0x243b35[_0x4005e5(0xcd)]());}function aliasHandler(_0x21ccd0,_0x33bf3f){const _0x3da6d0=a53_0x2855,_0x3c8a63=[];for(const _0x151e87 of Object['keys'](_0x21ccd0)){if(_0x33bf3f['has'](_0x151e87))continue;const _0x8b4f8a=toKebab(_0x151e87);_0x8b4f8a!==_0x151e87&&_0x33bf3f[_0x3da6d0(0xcb)](_0x8b4f8a)&&_0x3c8a63[_0x3da6d0(0xcf)]({'original':_0x151e87,'corrected':_0x8b4f8a,'handler':_0x3da6d0(0xdc)});}return _0x3c8a63;}function stickyHandler(_0x89d543,_0x1b4374,_0x2dff5b){const _0x483450=a53_0x2855,_0x11c271=[];for(const [_0x402fc4,_0x435c43]of Object[_0x483450(0xdb)](_0x89d543)){if(_0x435c43!==!![])continue;for(let _0x2d29a1=_0x402fc4[_0x483450(0xd4)]-0x1;_0x2d29a1>0x0;_0x2d29a1--){const _0x36be45=_0x402fc4['slice'](0x0,_0x2d29a1),_0x511bec=_0x402fc4[_0x483450(0xbf)](_0x2d29a1),_0x522708=toKebab(_0x36be45),_0x35096b=toCamelCase(_0x36be45),_0x42e17d=_0x1b4374[_0x483450(0xcb)](_0x36be45)?_0x36be45:_0x1b4374[_0x483450(0xcb)](_0x522708)?_0x522708:_0x1b4374['has'](_0x35096b)?_0x35096b:null;if(!_0x42e17d)continue;const _0xb70245=_0x2dff5b[_0x483450(0xe2)](_0x42e17d)??_0x483450(0xd0);let _0x5f1af9;if(_0xb70245===_0x483450(0xd1)){const _0x227162=Number(_0x511bec);if(isNaN(_0x227162)||_0x511bec==='')continue;_0x5f1af9=_0x227162;}else{if(_0xb70245===_0x483450(0xcc))continue;else{if(_0x511bec==='')continue;_0x5f1af9=_0x511bec;}}_0x11c271[_0x483450(0xcf)]({'original':_0x402fc4,'corrected':_0x42e17d+'='+_0x5f1af9,'handler':'sticky'});break;}}return _0x11c271;}export function correctFlags(_0xafc974,_0x6ca7bb){const _0x2d4247=a53_0x2855,_0x3465fc=buildKnownFlags(_0x6ca7bb),_0x32645b=buildFlagTypeMap(_0x6ca7bb),_0x218226=aliasHandler(_0xafc974,_0x3465fc),_0x3c7781=stickyHandler(_0xafc974,_0x3465fc,_0x32645b),_0x1619f6=[..._0x218226,..._0x3c7781];if(_0x1619f6[_0x2d4247(0xd4)]===0x0)return{'flags':_0xafc974,'corrections':[]};const _0x28fdee={..._0xafc974},_0x129c9a=new Set();for(const _0x21e7bd of _0x218226){_0x28fdee[_0x21e7bd['corrected']]=_0xafc974[_0x21e7bd['original']],_0x129c9a[_0x2d4247(0xc7)](_0x21e7bd[_0x2d4247(0xe1)]);}for(const _0x1659d5 of _0x3c7781){const _0x1eda3b=_0x1659d5[_0x2d4247(0xdd)]['indexOf']('='),_0x2e083b=_0x1659d5[_0x2d4247(0xdd)][_0x2d4247(0xbf)](0x0,_0x1eda3b),_0x5487f6=_0x1659d5['corrected']['slice'](_0x1eda3b+0x1),_0x473fa3=_0x32645b['get'](_0x2e083b)??_0x2d4247(0xd0);_0x473fa3===_0x2d4247(0xd1)?_0x28fdee[_0x2e083b]=Number(_0x5487f6):_0x28fdee[_0x2e083b]=_0x5487f6,_0x129c9a['add'](_0x1659d5[_0x2d4247(0xe1)]);}for(const _0x4c05a5 of _0x129c9a){delete _0x28fdee[_0x4c05a5];}return{'flags':_0x28fdee,'corrections':_0x1619f6};}
@@ -1 +1 @@
1
- function a54_0x5db2(){var _0x500034=['3516QjWhta','15277060oYdajU','4HfEpWd','6041240VqJKeu','246SFAIoR','1881693iKqaBR','11AAXTAQ','7001298bpMZpx','4385yWkFpJ','112784mJRazF','600246pdiqoJ'];a54_0x5db2=function(){return _0x500034;};return a54_0x5db2();}function a54_0x343f(_0x4003ed,_0x19b1ca){_0x4003ed=_0x4003ed-0x173;var _0x5db2fe=a54_0x5db2();var _0x343f26=_0x5db2fe[_0x4003ed];return _0x343f26;}(function(_0x44d34b,_0x44c0ab){var _0x56d446=a54_0x343f,_0x4126c5=_0x44d34b();while(!![]){try{var _0x26dd58=-parseInt(_0x56d446(0x179))/0x1*(-parseInt(_0x56d446(0x17c))/0x2)+-parseInt(_0x56d446(0x174))/0x3+parseInt(_0x56d446(0x17a))/0x4*(-parseInt(_0x56d446(0x177))/0x5)+parseInt(_0x56d446(0x173))/0x6*(-parseInt(_0x56d446(0x178))/0x7)+-parseInt(_0x56d446(0x17d))/0x8+parseInt(_0x56d446(0x176))/0x9+-parseInt(_0x56d446(0x17b))/0xa*(-parseInt(_0x56d446(0x175))/0xb);if(_0x26dd58===_0x44c0ab)break;else _0x4126c5['push'](_0x4126c5['shift']());}catch(_0x525b9a){_0x4126c5['push'](_0x4126c5['shift']());}}}(a54_0x5db2,0xa9023));export{extractList,extractPaging}from'@lovrabet/cli-framework';
1
+ function a54_0x1ac0(){var _0x5810f5=['33nPFeln','24397worRjW','4298YbtHqD','2103030wcBgWb','2895072gkBkop','82CZDIdp','2382183zjqJcY','25kIbKIH','2704lTSNDc','944838PmlRXt','1806042OxGtfW'];a54_0x1ac0=function(){return _0x5810f5;};return a54_0x1ac0();}function a54_0x3c5f(_0x21861a,_0x5cb713){_0x21861a=_0x21861a-0xd8;var _0x1ac0c8=a54_0x1ac0();var _0x3c5f4c=_0x1ac0c8[_0x21861a];return _0x3c5f4c;}(function(_0x35fc34,_0x3fc661){var _0x2aaa10=a54_0x3c5f,_0x464745=_0x35fc34();while(!![]){try{var _0x3a4918=-parseInt(_0x2aaa10(0xe0))/0x1*(parseInt(_0x2aaa10(0xd9))/0x2)+parseInt(_0x2aaa10(0xde))/0x3+parseInt(_0x2aaa10(0xd8))/0x4+-parseInt(_0x2aaa10(0xdb))/0x5*(parseInt(_0x2aaa10(0xdd))/0x6)+-parseInt(_0x2aaa10(0xe1))/0x7*(-parseInt(_0x2aaa10(0xdc))/0x8)+parseInt(_0x2aaa10(0xda))/0x9+parseInt(_0x2aaa10(0xe2))/0xa*(parseInt(_0x2aaa10(0xdf))/0xb);if(_0x3a4918===_0x3fc661)break;else _0x464745['push'](_0x464745['shift']());}catch(_0x15768a){_0x464745['push'](_0x464745['shift']());}}}(a54_0x1ac0,0x9c8f4));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a55_0x5313(){const _0x4deea6=['18120aHyWwD','push','name=','\x20\x20\x20Continue?\x20[y/N]\x20','entries','code','params=','--yes','service','join','command','109GExvOn','186ZlkReO','code=','3961400XtfpTR','402172nkGFyQ','3307738mORZGq','commandLabel','affectedRecords','⚠\x20\x20High-risk\x20operation:\x20','length','name','params','\x20\x20\x20Affected:\x20','\x20\x20\x20','4554710KGJOUR','description','9KDJFDU','682884TIQkEL','7004iHgEwP'];a55_0x5313=function(){return _0x4deea6;};return a55_0x5313();}(function(_0x464fea,_0x194910){const _0x275b66=a55_0x447a,_0x320e6f=_0x464fea();while(!![]){try{const _0x3d1f67=parseInt(_0x275b66(0x1d7))/0x1*(-parseInt(_0x275b66(0x1e9))/0x2)+parseInt(_0x275b66(0x1e8))/0x3+parseInt(_0x275b66(0x1db))/0x4+-parseInt(_0x275b66(0x1ea))/0x5*(parseInt(_0x275b66(0x1d8))/0x6)+parseInt(_0x275b66(0x1dc))/0x7+parseInt(_0x275b66(0x1da))/0x8+-parseInt(_0x275b66(0x1e7))/0x9*(parseInt(_0x275b66(0x1e5))/0xa);if(_0x3d1f67===_0x194910)break;else _0x320e6f['push'](_0x320e6f['shift']());}catch(_0x304c47){_0x320e6f['push'](_0x320e6f['shift']());}}}(a55_0x5313,0x548eb));import{CLI_BIN_NAME}from'../constant/cli.js';function a55_0x447a(_0x1508fb,_0x219031){_0x1508fb=_0x1508fb-0x1d3;const _0x531390=a55_0x5313();let _0x447a78=_0x531390[_0x1508fb];return _0x447a78;}export function buildConfirmationLines(_0x1af807,_0x4f2562,_0x531ded){const _0x369076=a55_0x447a,_0x3e33dc=buildConfirmationContext(_0x1af807,_0x4f2562,_0x531ded),_0x4a8614=[_0x369076(0x1df)+_0x3e33dc[_0x369076(0x1dd)]];return _0x3e33dc[_0x369076(0x1e6)]&&_0x4a8614['push'](_0x369076(0x1e4)+_0x3e33dc[_0x369076(0x1e6)]),_0x3e33dc[_0x369076(0x1de)]&&_0x4a8614[_0x369076(0x1eb)](_0x369076(0x1e3)+_0x3e33dc[_0x369076(0x1de)]),_0x4a8614[_0x369076(0x1eb)](_0x369076(0x1ed)),_0x4a8614;}export function reconstructCommandArgv(_0x147e0a,_0x51c296){const _0x5410da=a55_0x447a,_0x22dd71=[CLI_BIN_NAME,_0x147e0a[_0x5410da(0x1d4)],_0x147e0a[_0x5410da(0x1d6)]];for(const [_0x35b286,_0x36bd2a]of Object[_0x5410da(0x1ee)](_0x51c296)){if(_0x36bd2a===!![])_0x22dd71['push']('--'+_0x35b286);else _0x36bd2a!==![]&&_0x36bd2a!==undefined&&_0x36bd2a!==''&&_0x22dd71[_0x5410da(0x1eb)]('--'+_0x35b286+'\x20'+JSON['stringify'](_0x36bd2a));}return _0x22dd71['push'](_0x5410da(0x1d3)),_0x22dd71['join']('\x20');}function buildConfirmationContext(_0x8856d5,_0x5a78f2,_0x27bcaa){const _0x708bf7=a55_0x447a,_0x5067ad=extractAffectedRecords(_0x27bcaa);return{'commandLabel':_0x5a78f2,'description':_0x8856d5[_0x708bf7(0x1e6)],'affectedRecords':_0x5067ad};}function extractAffectedRecords(_0x27f1dd){const _0x1d9108=a55_0x447a,_0x160d4b=[];if(_0x27f1dd['code'])_0x160d4b['push'](_0x1d9108(0x1d9)+_0x27f1dd[_0x1d9108(0x1ef)]);if(_0x27f1dd['id'])_0x160d4b[_0x1d9108(0x1eb)]('id='+_0x27f1dd['id']);if(_0x27f1dd[_0x1d9108(0x1e1)])_0x160d4b[_0x1d9108(0x1eb)](_0x1d9108(0x1ec)+_0x27f1dd[_0x1d9108(0x1e1)]);if(_0x27f1dd[_0x1d9108(0x1e2)])_0x160d4b[_0x1d9108(0x1eb)](_0x1d9108(0x1f0)+_0x27f1dd[_0x1d9108(0x1e2)]);return _0x160d4b[_0x1d9108(0x1e0)]>0x0?_0x160d4b[_0x1d9108(0x1d5)](',\x20'):undefined;}
1
+ (function(_0x101307,_0x8896f4){const _0x335233=a55_0x2d71,_0x52017c=_0x101307();while(!![]){try{const _0x3a957b=-parseInt(_0x335233(0x1d0))/0x1*(parseInt(_0x335233(0x1d3))/0x2)+-parseInt(_0x335233(0x1df))/0x3+-parseInt(_0x335233(0x1e7))/0x4+-parseInt(_0x335233(0x1e0))/0x5*(parseInt(_0x335233(0x1dd))/0x6)+-parseInt(_0x335233(0x1d1))/0x7+parseInt(_0x335233(0x1cc))/0x8*(-parseInt(_0x335233(0x1d4))/0x9)+parseInt(_0x335233(0x1ce))/0xa*(parseInt(_0x335233(0x1d6))/0xb);if(_0x3a957b===_0x8896f4)break;else _0x52017c['push'](_0x52017c['shift']());}catch(_0x267b44){_0x52017c['push'](_0x52017c['shift']());}}}(a55_0xfceb,0xaca74));import{CLI_BIN_NAME}from'../constant/cli.js';function a55_0xfceb(){const _0x5c059e=['686873kDbuDP','name=','command','name','id=','stringify','--yes','996438JeCveH','params=','1149810GawjkF','5bMEoIn','⚠\x20\x20High-risk\x20operation:\x20','code','push','service','\x20\x20\x20','description','1963972dfreSv','join','48376tDosiq','\x20\x20\x20Continue?\x20[y/N]\x20','670uudKWJ','affectedRecords','121gJprRT','6190401rVsxrd','length','21252qgNAkx','396UXFrcK','params'];a55_0xfceb=function(){return _0x5c059e;};return a55_0xfceb();}export function buildConfirmationLines(_0x2a2136,_0x4828aa,_0x4ccd3d){const _0x19ce20=a55_0x2d71,_0x4c1377=buildConfirmationContext(_0x2a2136,_0x4828aa,_0x4ccd3d),_0x4b1c23=[_0x19ce20(0x1e1)+_0x4c1377['commandLabel']];return _0x4c1377[_0x19ce20(0x1e6)]&&_0x4b1c23[_0x19ce20(0x1e3)](_0x19ce20(0x1e5)+_0x4c1377[_0x19ce20(0x1e6)]),_0x4c1377[_0x19ce20(0x1cf)]&&_0x4b1c23['push']('\x20\x20\x20Affected:\x20'+_0x4c1377[_0x19ce20(0x1cf)]),_0x4b1c23[_0x19ce20(0x1e3)](_0x19ce20(0x1cd)),_0x4b1c23;}export function reconstructCommandArgv(_0x53b725,_0x2613fd){const _0x5cfdec=a55_0x2d71,_0x1d45ee=[CLI_BIN_NAME,_0x53b725[_0x5cfdec(0x1e4)],_0x53b725[_0x5cfdec(0x1d8)]];for(const [_0xf70d3a,_0x1d1a6e]of Object['entries'](_0x2613fd)){if(_0x1d1a6e===!![])_0x1d45ee['push']('--'+_0xf70d3a);else _0x1d1a6e!==![]&&_0x1d1a6e!==undefined&&_0x1d1a6e!==''&&_0x1d45ee[_0x5cfdec(0x1e3)]('--'+_0xf70d3a+'\x20'+JSON[_0x5cfdec(0x1db)](_0x1d1a6e));}return _0x1d45ee[_0x5cfdec(0x1e3)](_0x5cfdec(0x1dc)),_0x1d45ee[_0x5cfdec(0x1cb)]('\x20');}function buildConfirmationContext(_0xe2add2,_0x529e7a,_0x607995){const _0x200235=a55_0x2d71,_0x346ecc=extractAffectedRecords(_0x607995);return{'commandLabel':_0x529e7a,'description':_0xe2add2[_0x200235(0x1e6)],'affectedRecords':_0x346ecc};}function a55_0x2d71(_0x222c23,_0x1e8b4d){_0x222c23=_0x222c23-0x1cb;const _0xfceb7b=a55_0xfceb();let _0x2d71a9=_0xfceb7b[_0x222c23];return _0x2d71a9;}function extractAffectedRecords(_0x463db3){const _0x5a516a=a55_0x2d71,_0x1a7fdc=[];if(_0x463db3[_0x5a516a(0x1e2)])_0x1a7fdc['push']('code='+_0x463db3[_0x5a516a(0x1e2)]);if(_0x463db3['id'])_0x1a7fdc['push'](_0x5a516a(0x1da)+_0x463db3['id']);if(_0x463db3['name'])_0x1a7fdc['push'](_0x5a516a(0x1d7)+_0x463db3[_0x5a516a(0x1d9)]);if(_0x463db3[_0x5a516a(0x1d5)])_0x1a7fdc[_0x5a516a(0x1e3)](_0x5a516a(0x1de)+_0x463db3[_0x5a516a(0x1d5)]);return _0x1a7fdc[_0x5a516a(0x1d2)]>0x0?_0x1a7fdc['join'](',\x20'):undefined;}
@@ -1 +1 @@
1
- function a56_0x5140(){const _0x219f30=['16riCcHf','906057UNQelN','603FTdkcB','33776HTxQbF','10NwbmaU','13625220QWZCZx','trim','string','stringify','message','3226160lkclSV','385150PEdZwT','validation','1975218UugXJy','11498886mAYQrf'];a56_0x5140=function(){return _0x219f30;};return a56_0x5140();}function a56_0x2797(_0x418a58,_0x3cac07){_0x418a58=_0x418a58-0x1d8;const _0x51408c=a56_0x5140();let _0x27977e=_0x51408c[_0x418a58];return _0x27977e;}(function(_0x59cf0e,_0x1ed248){const _0x1f5dde=a56_0x2797,_0x128fae=_0x59cf0e();while(!![]){try{const _0x31cf69=-parseInt(_0x1f5dde(0x1df))/0x1+-parseInt(_0x1f5dde(0x1da))/0x2+parseInt(_0x1f5dde(0x1e0))/0x3*(parseInt(_0x1f5dde(0x1e1))/0x4)+-parseInt(_0x1f5dde(0x1e2))/0x5*(parseInt(_0x1f5dde(0x1dc))/0x6)+-parseInt(_0x1f5dde(0x1d9))/0x7*(-parseInt(_0x1f5dde(0x1de))/0x8)+-parseInt(_0x1f5dde(0x1dd))/0x9+parseInt(_0x1f5dde(0x1e3))/0xa;if(_0x31cf69===_0x1ed248)break;else _0x128fae['push'](_0x128fae['shift']());}catch(_0x317d67){_0x128fae['push'](_0x128fae['shift']());}}}(a56_0x5140,0xe7292));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';export function mapUserFacingExecuteError(_0x1ba883){const _0x514dfd=a56_0x2797;if(_0x1ba883 instanceof LovrabetError)return CliErrors[_0x514dfd(0x1db)](userFacingLovrabetMessage(_0x1ba883));return _0x1ba883;}function userFacingLovrabetMessage(_0x54b0b5){const _0x3b268d=a56_0x2797,_0x595c90=_0x54b0b5['description'];if(_0x595c90!==undefined&&_0x595c90!==null){if(typeof _0x595c90===_0x3b268d(0x1e5)&&_0x595c90[_0x3b268d(0x1e4)]())return _0x595c90[_0x3b268d(0x1e4)]();try{return JSON[_0x3b268d(0x1e6)](_0x595c90);}catch{}}return _0x54b0b5[_0x3b268d(0x1d8)];}
1
+ function a56_0x1aef(_0x1a3d1f,_0x2eb3be){_0x1a3d1f=_0x1a3d1f-0x10e;const _0x1006c7=a56_0x1006();let _0x1aef28=_0x1006c7[_0x1a3d1f];return _0x1aef28;}(function(_0x4d7e0b,_0x7d5a39){const _0x21f335=a56_0x1aef,_0x16b13f=_0x4d7e0b();while(!![]){try{const _0x293b7c=-parseInt(_0x21f335(0x11d))/0x1+-parseInt(_0x21f335(0x11e))/0x2*(-parseInt(_0x21f335(0x11f))/0x3)+parseInt(_0x21f335(0x11c))/0x4*(-parseInt(_0x21f335(0x111))/0x5)+parseInt(_0x21f335(0x115))/0x6+-parseInt(_0x21f335(0x10e))/0x7*(parseInt(_0x21f335(0x119))/0x8)+parseInt(_0x21f335(0x112))/0x9*(parseInt(_0x21f335(0x11a))/0xa)+parseInt(_0x21f335(0x114))/0xb*(parseInt(_0x21f335(0x118))/0xc);if(_0x293b7c===_0x7d5a39)break;else _0x16b13f['push'](_0x16b13f['shift']());}catch(_0x27a1b5){_0x16b13f['push'](_0x16b13f['shift']());}}}(a56_0x1006,0x55f81));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';export function mapUserFacingExecuteError(_0x4701be){const _0x5b69ef=a56_0x1aef;if(_0x4701be instanceof LovrabetError)return CliErrors[_0x5b69ef(0x11b)](userFacingLovrabetMessage(_0x4701be));return _0x4701be;}function a56_0x1006(){const _0x2c636f=['validation','3364YapXfV','174774vkyuxf','2eIAOiY','584499PkAlcr','72695nPDdCX','message','description','3205vsqrld','9igntcA','string','11Edwefr','2123772jaxseT','stringify','trim','9374604sWirBx','424ZkzHAx','2863770eaZBfr'];a56_0x1006=function(){return _0x2c636f;};return a56_0x1006();}function userFacingLovrabetMessage(_0x18592a){const _0x16977a=a56_0x1aef,_0xb0320f=_0x18592a[_0x16977a(0x110)];if(_0xb0320f!==undefined&&_0xb0320f!==null){if(typeof _0xb0320f===_0x16977a(0x113)&&_0xb0320f[_0x16977a(0x117)]())return _0xb0320f['trim']();try{return JSON[_0x16977a(0x116)](_0xb0320f);}catch{}}return _0x18592a[_0x16977a(0x10f)];}
@@ -1 +1 @@
1
- const a57_0x4da37d=a57_0x3898;(function(_0x5c5c6a,_0x459c86){const _0xfaa44b=a57_0x3898,_0x25bb87=_0x5c5c6a();while(!![]){try{const _0x475b7c=-parseInt(_0xfaa44b(0x1ee))/0x1*(-parseInt(_0xfaa44b(0x1f1))/0x2)+-parseInt(_0xfaa44b(0x215))/0x3+-parseInt(_0xfaa44b(0x211))/0x4*(parseInt(_0xfaa44b(0x208))/0x5)+parseInt(_0xfaa44b(0x1f4))/0x6*(parseInt(_0xfaa44b(0x213))/0x7)+parseInt(_0xfaa44b(0x1f3))/0x8*(parseInt(_0xfaa44b(0x1fb))/0x9)+parseInt(_0xfaa44b(0x212))/0xa*(-parseInt(_0xfaa44b(0x1e8))/0xb)+parseInt(_0xfaa44b(0x20a))/0xc*(-parseInt(_0xfaa44b(0x21c))/0xd);if(_0x475b7c===_0x459c86)break;else _0x25bb87['push'](_0x25bb87['shift']());}catch(_0x5d437f){_0x25bb87['push'](_0x25bb87['shift']());}}}(a57_0x50bd,0x3bdc9));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a57_0x50bd(){const _0x4e8bd5=['env','104YohoKi','6OgvRXL','configMissing','trim','local-alias','../core/api-client.js','items','riskLevel','337185DrUNwY','ClientAk','ACCESS_KEY','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','APPCODE','requiresAuth','validation','../core/sdk-client.js','Set\x20accessKey\x20in\x20','cancelled','has','High-risk\x20operation\x20`','filter','55565VlNEjc','isNonInteractive','21036vsFOVV','service','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','map','\x20or\x20pass\x20','string','requiresAppCode','116ljsdVr','60TsZatA','2324882noaGFy','format','363279ASsSPz','production','accessKey','app','newConfigFileName','defaultApp','defaultVerbose','2678uoSzTt','.appcode\x20to\x20','appName','271953fBdPMx','appcode','appCodeSource','appCode','mergedCli','verbose','32dNlENP','../commands/app/remote-source.js','rawFlags','23678URtLoq'];a57_0x50bd=function(){return _0x4e8bd5;};return a57_0x50bd();}import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';function a57_0x3898(_0x25bfe2,_0x4dbba8){_0x25bfe2=_0x25bfe2-0x1e8;const _0x50bded=a57_0x50bd();let _0x3898af=_0x50bded[_0x25bfe2];return _0x3898af;}import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';export function resolveAuthMode(_0x203f84){const _0x3a428d=a57_0x3898;return void _0x203f84,AUTH_MODE[_0x3a428d(0x1fc)];}export function createPipelineEnv(_0x679ba3,_0x27ab19){const _0x17aba8=a57_0x3898,_0x48b47a=typeof _0x27ab19[_0x17aba8(0x218)]===_0x17aba8(0x20f)&&_0x27ab19[_0x17aba8(0x218)][_0x17aba8(0x1f6)]();return{'rawFlags':_0x27ab19,'appCode':_0x679ba3['appCode']||productEnv(_0x17aba8(0x1ff))||(_0x48b47a?undefined:readAppCodeFromConfig()),'appCodeSource':_0x679ba3[_0x17aba8(0x1ea)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x27ab19),'defaultFormat':_0x679ba3[_0x17aba8(0x214)],'defaultPageSize':_0x679ba3['pageSize'],'defaultVerbose':_0x679ba3[_0x17aba8(0x1ed)],'riskLevel':_0x679ba3[_0x17aba8(0x1fa)],'accessKey':_0x679ba3[_0x17aba8(0x217)],'env':_0x679ba3[_0x17aba8(0x1f2)],'mergedCli':{'defaultApp':_0x679ba3[_0x17aba8(0x21a)],'currentApp':_0x679ba3['currentApp'],'appCode':_0x679ba3['appCode']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a57_0x4da37d(0x207)](_0x15655c=>PIPELINE_FLAG_NAMES[a57_0x4da37d(0x205)](_0x15655c['name']))[a57_0x4da37d(0x20d)](({name:_0x2499d4,type:_0x1bdef8,description:_0x3cd111})=>({'name':_0x2499d4,'type':_0x1bdef8,'description':_0x3cd111})),'formatOutput':formatOutput,'getCommandLabel'(_0x59a213){const _0x171271=a57_0x4da37d;return CLI_BIN_NAME+'\x20'+_0x59a213[_0x171271(0x20b)]+'\x20'+_0x59a213['command'];},'riskPolicy':{'onViolation'(_0x112810){console['error'](_0x112810);},'createError'(_0x200785){return CliErrors['cancelled'](_0x200785);}},async 'prepare'(_0x93e262,_0x322eb5){const _0x51f1b6=a57_0x4da37d,_0x613958=resolveAuthMode(_0x322eb5);if(_0x93e262[_0x51f1b6(0x200)]!==![]){if(!_0x322eb5['accessKey'])throw CliErrors['authRequired'](_0x51f1b6(0x203)+PRODUCT_CONFIG['newConfigFileName']+_0x51f1b6(0x20e)+productEnvName(_0x51f1b6(0x1fd))+'.');const {setActiveAK:_0x469dd1}=await import(_0x51f1b6(0x1f8));_0x469dd1(_0x322eb5[_0x51f1b6(0x217)]);}let _0x4e4875='';if(_0x93e262[_0x51f1b6(0x210)]!==![]){_0x4e4875=_0x322eb5[_0x51f1b6(0x1eb)]??'',_0x4e4875=await resolveExplicitAppName(_0x93e262,_0x322eb5,_0x4e4875);if(!_0x4e4875)throw CliErrors[_0x51f1b6(0x1f5)](_0x51f1b6(0x20c)+PRODUCT_CONFIG[_0x51f1b6(0x219)]+'.');}if(_0x4e4875){const {initSdkClient:_0x1b6590}=await import(_0x51f1b6(0x202));_0x1b6590({'appCode':_0x4e4875,'env':_0x322eb5[_0x51f1b6(0x1f2)]??_0x51f1b6(0x216),'accessKey':_0x322eb5[_0x51f1b6(0x217)],'authMode':_0x613958});}return{'defaults':{'booleans':{'verbose':_0x322eb5[_0x51f1b6(0x21b)]},'numbers':{'pagesize':_0x322eb5['defaultPageSize']}},'extras':{'appCode':_0x4e4875,'cookie':'','apiDomain':_0x322eb5['apiDomain'],'apiDir':'','accessKey':_0x322eb5[_0x51f1b6(0x217)],'envName':_0x322eb5[_0x51f1b6(0x1f2)],'mergedCli':_0x322eb5[_0x51f1b6(0x1ec)]}};},async 'confirmHighRisk'({def:_0x5ea4a4,env:_0x4e2e0c,flags:_0xc8bcd5,commandLabel:_0x43e4a5}){const _0x576c1e=a57_0x4da37d;if(_0x4e2e0c[_0x576c1e(0x209)]){const _0xe29789=reconstructCommandArgv(_0x5ea4a4,_0xc8bcd5);throw CliErrors[_0x576c1e(0x201)](_0x576c1e(0x206)+_0x43e4a5+_0x576c1e(0x1fe)+('\x20\x20To\x20proceed:\x20'+_0xe29789));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x5ea4a4,_0x43e4a5,_0xc8bcd5),'createCancelledError':_0x1ea3df=>CliErrors[_0x576c1e(0x204)](_0x1ea3df)});},'mapDryRunError'(_0x314ea3){return mapUserFacingExecuteError(_0x314ea3);},'mapExecuteError'(_0xd72120){return mapUserFacingExecuteError(_0xd72120);},async 'finalize'(){const _0xfb3b8f=a57_0x4da37d,{clearActiveAK:_0xbbfa2f}=await import(_0xfb3b8f(0x1f8));_0xbbfa2f();}};async function resolveExplicitAppName(_0xca3302,_0x364566,_0x4543d6){const _0x1f0002=a57_0x4da37d;if(_0xca3302[_0x1f0002(0x210)]===![])return _0x4543d6;const _0x481609=typeof _0x364566[_0x1f0002(0x1f0)][_0x1f0002(0x218)]===_0x1f0002(0x20f)?_0x364566[_0x1f0002(0x1f0)][_0x1f0002(0x218)][_0x1f0002(0x1f6)]():'';if(!_0x481609)return _0x4543d6;const _0x2bddf1=typeof _0x364566[_0x1f0002(0x1f0)]['appcode']===_0x1f0002(0x20f)&&_0x364566['rawFlags'][_0x1f0002(0x1e9)]['trim']()||productEnv(_0x1f0002(0x1ff));if(_0x2bddf1||_0x364566[_0x1f0002(0x1ea)]===_0x1f0002(0x1f7))return _0x4543d6;const {getRemoteAppList:_0x2ee8d2}=await import(_0x1f0002(0x1ef)),_0xdc1d7f=await _0x2ee8d2({'env':_0x364566[_0x1f0002(0x1f2)]??_0x1f0002(0x216),'accessKey':_0x364566[_0x1f0002(0x217)]}),_0x374c1e=_0xdc1d7f[_0x1f0002(0x1f9)]['find'](_0x5a370a=>_0x5a370a[_0x1f0002(0x21e)]===_0x481609),_0x3f019f=_0x374c1e?.[_0x1f0002(0x1eb)]?.[_0x1f0002(0x1f6)]();if(_0x3f019f)return _0x3f019f;throw CliErrors[_0x1f0002(0x201)]('Unknown\x20app:\x20'+_0x481609,'Run\x20`'+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x481609+_0x1f0002(0x21d)+PRODUCT_CONFIG[_0x1f0002(0x219)]+'.');}export async function runCommand(_0x576780,_0x93abbd){await runCommandWithAdapter(_0x576780,_0x93abbd,runnerAdapter);}
1
+ const a57_0x1b5022=a57_0x1d41;(function(_0xd71aa4,_0x2fb645){const _0x2d1afb=a57_0x1d41,_0x46bbc0=_0xd71aa4();while(!![]){try{const _0x34ff32=-parseInt(_0x2d1afb(0x194))/0x1+-parseInt(_0x2d1afb(0x168))/0x2*(parseInt(_0x2d1afb(0x16b))/0x3)+-parseInt(_0x2d1afb(0x16e))/0x4+parseInt(_0x2d1afb(0x15b))/0x5+-parseInt(_0x2d1afb(0x181))/0x6*(parseInt(_0x2d1afb(0x158))/0x7)+parseInt(_0x2d1afb(0x186))/0x8*(-parseInt(_0x2d1afb(0x16d))/0x9)+parseInt(_0x2d1afb(0x188))/0xa*(parseInt(_0x2d1afb(0x160))/0xb);if(_0x34ff32===_0x2fb645)break;else _0x46bbc0['push'](_0x46bbc0['shift']());}catch(_0x5712ea){_0x46bbc0['push'](_0x46bbc0['shift']());}}}(a57_0x3269,0xb9911));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a57_0x1d41(_0x59edc0,_0x325ba0){_0x59edc0=_0x59edc0-0x158;const _0x326937=a57_0x3269();let _0x1d41d1=_0x326937[_0x59edc0];return _0x1d41d1;}function a57_0x3269(){const _0x25327f=['appName','APPCODE','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','appcode','currentApp','4420956hFiBKE','Set\x20accessKey\x20in\x20','configMissing','apiDomain','has','25808CscsJn','filter','8766370jkJwkD','../commands/app/remote-source.js','../core/sdk-client.js','env','name','accessKey','appCodeSource','Unknown\x20app:\x20','requiresAuth','pageSize','service','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','685971ERHcFZ','app','14crfkVe','ClientAk','riskLevel','711100lhAgya','../core/api-client.js','validation','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','rawFlags','77FANWHP','authRequired','production','defaultPageSize','requiresAppCode','newConfigFileName','defaultVerbose','\x20\x20To\x20proceed:\x20','1291138AlbmYu','format','trim','3YzTiBZ','command','3789ULTOIn','5421040pXvEtI','.appcode\x20to\x20','cancelled','map','string','defaultApp','Run\x20`','items','error','\x20or\x20pass\x20','appCode','High-risk\x20operation\x20`','local-alias','verbose'];a57_0x3269=function(){return _0x25327f;};return a57_0x3269();}import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';export function resolveAuthMode(_0x13ccdd){const _0x111430=a57_0x1d41;return void _0x13ccdd,AUTH_MODE[_0x111430(0x159)];}export function createPipelineEnv(_0x2a0e86,_0x25bba8){const _0x25a79c=a57_0x1d41,_0x25fd4a=typeof _0x25bba8[_0x25a79c(0x195)]===_0x25a79c(0x172)&&_0x25bba8[_0x25a79c(0x195)]['trim']();return{'rawFlags':_0x25bba8,'appCode':_0x2a0e86[_0x25a79c(0x178)]||productEnv(_0x25a79c(0x17d))||(_0x25fd4a?undefined:readAppCodeFromConfig()),'appCodeSource':_0x2a0e86[_0x25a79c(0x18e)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x25bba8),'defaultFormat':_0x2a0e86[_0x25a79c(0x169)],'defaultPageSize':_0x2a0e86[_0x25a79c(0x191)],'defaultVerbose':_0x2a0e86[_0x25a79c(0x17b)],'riskLevel':_0x2a0e86[_0x25a79c(0x15a)],'accessKey':_0x2a0e86['accessKey'],'env':_0x2a0e86[_0x25a79c(0x18b)],'mergedCli':{'defaultApp':_0x2a0e86[_0x25a79c(0x173)],'currentApp':_0x2a0e86[_0x25a79c(0x180)],'appCode':_0x2a0e86['appCode']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a57_0x1b5022(0x187)](_0x246085=>PIPELINE_FLAG_NAMES[a57_0x1b5022(0x185)](_0x246085[a57_0x1b5022(0x18c)]))[a57_0x1b5022(0x171)](({name:_0x25b415,type:_0x3fd8d9,description:_0x9c7c7})=>({'name':_0x25b415,'type':_0x3fd8d9,'description':_0x9c7c7})),'formatOutput':formatOutput,'getCommandLabel'(_0x2e84ab){const _0x568aaf=a57_0x1b5022;return CLI_BIN_NAME+'\x20'+_0x2e84ab[_0x568aaf(0x192)]+'\x20'+_0x2e84ab[_0x568aaf(0x16c)];},'riskPolicy':{'onViolation'(_0x48cf69){const _0x224926=a57_0x1b5022;console[_0x224926(0x176)](_0x48cf69);},'createError'(_0x5f1af2){const _0x392e86=a57_0x1b5022;return CliErrors[_0x392e86(0x170)](_0x5f1af2);}},async 'prepare'(_0x1fa4ed,_0x1e0ad1){const _0x2d326e=a57_0x1b5022,_0x45b15f=resolveAuthMode(_0x1e0ad1);if(_0x1fa4ed[_0x2d326e(0x190)]!==![]){if(!_0x1e0ad1[_0x2d326e(0x18d)])throw CliErrors[_0x2d326e(0x161)](_0x2d326e(0x182)+PRODUCT_CONFIG[_0x2d326e(0x165)]+_0x2d326e(0x177)+productEnvName('ACCESS_KEY')+'.');const {setActiveAK:_0x566e86}=await import(_0x2d326e(0x15c));_0x566e86(_0x1e0ad1[_0x2d326e(0x18d)]);}let _0x521d0f='';if(_0x1fa4ed[_0x2d326e(0x164)]!==![]){_0x521d0f=_0x1e0ad1[_0x2d326e(0x178)]??'',_0x521d0f=await resolveExplicitAppName(_0x1fa4ed,_0x1e0ad1,_0x521d0f);if(!_0x521d0f)throw CliErrors[_0x2d326e(0x183)](_0x2d326e(0x15e)+PRODUCT_CONFIG['newConfigFileName']+'.');}if(_0x521d0f){const {initSdkClient:_0x5af96c}=await import(_0x2d326e(0x18a));_0x5af96c({'appCode':_0x521d0f,'env':_0x1e0ad1[_0x2d326e(0x18b)]??_0x2d326e(0x162),'accessKey':_0x1e0ad1[_0x2d326e(0x18d)],'authMode':_0x45b15f});}return{'defaults':{'booleans':{'verbose':_0x1e0ad1[_0x2d326e(0x166)]},'numbers':{'pagesize':_0x1e0ad1[_0x2d326e(0x163)]}},'extras':{'appCode':_0x521d0f,'cookie':'','apiDomain':_0x1e0ad1[_0x2d326e(0x184)],'apiDir':'','accessKey':_0x1e0ad1['accessKey'],'envName':_0x1e0ad1[_0x2d326e(0x18b)],'mergedCli':_0x1e0ad1['mergedCli']}};},async 'confirmHighRisk'({def:_0x26dfc8,env:_0xa4b15,flags:_0x36894f,commandLabel:_0x1487ef}){const _0x1db104=a57_0x1b5022;if(_0xa4b15['isNonInteractive']){const _0x257315=reconstructCommandArgv(_0x26dfc8,_0x36894f);throw CliErrors[_0x1db104(0x15d)](_0x1db104(0x179)+_0x1487ef+_0x1db104(0x193)+(_0x1db104(0x167)+_0x257315));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x26dfc8,_0x1487ef,_0x36894f),'createCancelledError':_0x6f868e=>CliErrors[_0x1db104(0x170)](_0x6f868e)});},'mapDryRunError'(_0x2fd549){return mapUserFacingExecuteError(_0x2fd549);},'mapExecuteError'(_0xf1219e){return mapUserFacingExecuteError(_0xf1219e);},async 'finalize'(){const _0x40255f=a57_0x1b5022,{clearActiveAK:_0x5e748c}=await import(_0x40255f(0x15c));_0x5e748c();}};async function resolveExplicitAppName(_0x5131d9,_0x5e346b,_0x5e9382){const _0x4e41b7=a57_0x1b5022;if(_0x5131d9[_0x4e41b7(0x164)]===![])return _0x5e9382;const _0x427ff4=typeof _0x5e346b['rawFlags'][_0x4e41b7(0x195)]===_0x4e41b7(0x172)?_0x5e346b[_0x4e41b7(0x15f)][_0x4e41b7(0x195)]['trim']():'';if(!_0x427ff4)return _0x5e9382;const _0x189d0e=typeof _0x5e346b[_0x4e41b7(0x15f)][_0x4e41b7(0x17f)]===_0x4e41b7(0x172)&&_0x5e346b[_0x4e41b7(0x15f)][_0x4e41b7(0x17f)][_0x4e41b7(0x16a)]()||productEnv(_0x4e41b7(0x17d));if(_0x189d0e||_0x5e346b[_0x4e41b7(0x18e)]===_0x4e41b7(0x17a))return _0x5e9382;const {getRemoteAppList:_0xb645b2}=await import(_0x4e41b7(0x189)),_0x19596d=await _0xb645b2({'env':_0x5e346b['env']??'production','accessKey':_0x5e346b[_0x4e41b7(0x18d)]}),_0x23317e=_0x19596d[_0x4e41b7(0x175)]['find'](_0x5c6be6=>_0x5c6be6[_0x4e41b7(0x17c)]===_0x427ff4),_0x53eec8=_0x23317e?.[_0x4e41b7(0x178)]?.[_0x4e41b7(0x16a)]();if(_0x53eec8)return _0x53eec8;throw CliErrors['validation'](_0x4e41b7(0x18f)+_0x427ff4,_0x4e41b7(0x174)+CLI_BIN_NAME+_0x4e41b7(0x17e)+_0x427ff4+_0x4e41b7(0x16f)+PRODUCT_CONFIG[_0x4e41b7(0x165)]+'.');}export async function runCommand(_0x2ecb68,_0x4ba134){await runCommandWithAdapter(_0x2ecb68,_0x4ba134,runnerAdapter);}
@@ -1 +1 @@
1
- function a58_0x3bf6(_0x5e0562,_0x8bf574){_0x5e0562=_0x5e0562-0x1c1;const _0xa6a4da=a58_0xa6a4();let _0x3bf683=_0xa6a4da[_0x5e0562];return _0x3bf683;}(function(_0x5745f1,_0x2cccfe){const _0x65a1f1=a58_0x3bf6,_0x5c72aa=_0x5745f1();while(!![]){try{const _0x154ab1=parseInt(_0x65a1f1(0x1ce))/0x1*(-parseInt(_0x65a1f1(0x1c2))/0x2)+-parseInt(_0x65a1f1(0x1c3))/0x3+-parseInt(_0x65a1f1(0x1c9))/0x4*(parseInt(_0x65a1f1(0x1c1))/0x5)+parseInt(_0x65a1f1(0x1c6))/0x6*(parseInt(_0x65a1f1(0x1c4))/0x7)+parseInt(_0x65a1f1(0x1ca))/0x8*(parseInt(_0x65a1f1(0x1c5))/0x9)+-parseInt(_0x65a1f1(0x1cb))/0xa*(parseInt(_0x65a1f1(0x1cc))/0xb)+parseInt(_0x65a1f1(0x1c7))/0xc*(parseInt(_0x65a1f1(0x1cd))/0xd);if(_0x154ab1===_0x2cccfe)break;else _0x5c72aa['push'](_0x5c72aa['shift']());}catch(_0x18a0e2){_0x5c72aa['push'](_0x5c72aa['shift']());}}}(a58_0xa6a4,0x99b5d));import{buildSchemaPayload as a58_0x22601e}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x48780e=a58_0x3bf6,{serviceRegistry:_0x216809,findDefinition:_0x139c7d}=await import(_0x48780e(0x1c8));return a58_0x22601e({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x216809,'buildAllFlags':buildAllFlags,'findDefinition':_0x139c7d});}function a58_0xa6a4(){const _0x504d33=['2hpGyPF','3404379xvslSR','27601jpKDss','5603193slRVga','606VqhIWy','27504252YzvxId','../commands/registry.js','484UhXjwO','8dRHWHL','11440MIvSco','9878GPEcGD','13yXvmLy','207265BOhWVf','12970mmSNCW'];a58_0xa6a4=function(){return _0x504d33;};return a58_0xa6a4();}
1
+ (function(_0x588871,_0x490c6d){const _0x23b319=a58_0x969b,_0x5f0dda=_0x588871();while(!![]){try{const _0x514c5d=-parseInt(_0x23b319(0xb8))/0x1*(parseInt(_0x23b319(0xb3))/0x2)+-parseInt(_0x23b319(0xba))/0x3*(parseInt(_0x23b319(0xb5))/0x4)+-parseInt(_0x23b319(0xb9))/0x5*(parseInt(_0x23b319(0xb0))/0x6)+-parseInt(_0x23b319(0xb7))/0x7+parseInt(_0x23b319(0xb1))/0x8+parseInt(_0x23b319(0xb4))/0x9*(parseInt(_0x23b319(0xb6))/0xa)+parseInt(_0x23b319(0xb2))/0xb;if(_0x514c5d===_0x490c6d)break;else _0x5f0dda['push'](_0x5f0dda['shift']());}catch(_0xd96fc3){_0x5f0dda['push'](_0x5f0dda['shift']());}}}(a58_0x5702,0x942eb));function a58_0x969b(_0x297f81,_0x39f653){_0x297f81=_0x297f81-0xb0;const _0x570253=a58_0x5702();let _0x969b6d=_0x570253[_0x297f81];return _0x969b6d;}import{buildSchemaPayload as a58_0x2dda60}from'@lovrabet/cli-framework';function a58_0x5702(){const _0x19e71c=['477450qPFJll','4870872Hwvxhr','4074114ruHmLp','487162ZoQTtU','5429916hIYJIm','308julajM','20egZDJU','6526051fBZgIU','1sNscvn','5HkBHFb','12603MdqDrx'];a58_0x5702=function(){return _0x19e71c;};return a58_0x5702();}import{buildAllFlags}from'../framework/build-all-flags.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const {serviceRegistry:_0x10ced9,findDefinition:_0x567fed}=await import('../commands/registry.js');return a58_0x2dda60({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x10ced9,'buildAllFlags':buildAllFlags,'findDefinition':_0x567fed});}
@@ -1 +1 @@
1
- (function(_0x46e8a3,_0x3ea70a){var _0x4e9872=a59_0x20e4,_0x370f11=_0x46e8a3();while(!![]){try{var _0x3703b9=parseInt(_0x4e9872(0x89))/0x1*(-parseInt(_0x4e9872(0x8f))/0x2)+-parseInt(_0x4e9872(0x92))/0x3+parseInt(_0x4e9872(0x8a))/0x4+parseInt(_0x4e9872(0x8b))/0x5+-parseInt(_0x4e9872(0x8c))/0x6+parseInt(_0x4e9872(0x8d))/0x7*(parseInt(_0x4e9872(0x91))/0x8)+parseInt(_0x4e9872(0x90))/0x9*(parseInt(_0x4e9872(0x8e))/0xa);if(_0x3703b9===_0x3ea70a)break;else _0x370f11['push'](_0x370f11['shift']());}catch(_0x4d62d2){_0x370f11['push'](_0x370f11['shift']());}}}(a59_0x4636,0xf1db6));function a59_0x20e4(_0x106207,_0x1aef3d){_0x106207=_0x106207-0x89;var _0x4636a8=a59_0x4636();var _0x20e49c=_0x4636a8[_0x106207];return _0x20e49c;}function a59_0x4636(){var _0x1c862e=['6532340FcIysU','11186940yOtSRk','910BgmPuY','16209380ailTsf','3830nrgNRP','9TVsmpA','85112AypKHV','4229370SeaUml','557TSrGcD','4084420vaLFoU'];a59_0x4636=function(){return _0x1c862e;};return a59_0x4636();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ function a59_0xd442(){var _0x2f1475=['11kpIdBE','56kUIOZm','810430AdtsOd','138936eNMNMe','830634MxeGre','186wnoxim','16452162AmOxDt','9679VQvvHe','49896384NRqMaZ','2983135suzEgc','52hRQKKE','6XIwWPF'];a59_0xd442=function(){return _0x2f1475;};return a59_0xd442();}(function(_0x3f9bd4,_0x2f00d5){var _0x4e77dd=a59_0x152d,_0x16c81=_0x3f9bd4();while(!![]){try{var _0x42059e=-parseInt(_0x4e77dd(0x154))/0x1*(parseInt(_0x4e77dd(0x152))/0x2)+-parseInt(_0x4e77dd(0x150))/0x3*(parseInt(_0x4e77dd(0x14b))/0x4)+parseInt(_0x4e77dd(0x14a))/0x5*(-parseInt(_0x4e77dd(0x14c))/0x6)+parseInt(_0x4e77dd(0x151))/0x7*(parseInt(_0x4e77dd(0x14e))/0x8)+-parseInt(_0x4e77dd(0x153))/0x9+-parseInt(_0x4e77dd(0x14f))/0xa+-parseInt(_0x4e77dd(0x14d))/0xb*(-parseInt(_0x4e77dd(0x149))/0xc);if(_0x42059e===_0x2f00d5)break;else _0x16c81['push'](_0x16c81['shift']());}catch(_0x41aaaa){_0x16c81['push'](_0x16c81['shift']());}}}(a59_0xd442,0xef727));function a59_0x152d(_0x12d8f1,_0x8344b3){_0x12d8f1=_0x12d8f1-0x149;var _0xd4428=a59_0xd442();var _0x152db4=_0xd4428[_0x12d8f1];return _0x152db4;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x143af2,_0x358189){const _0x3943e1=a60_0x3c1a,_0x11ec7d=_0x143af2();while(!![]){try{const _0x473d69=parseInt(_0x3943e1(0x12b))/0x1*(parseInt(_0x3943e1(0x12d))/0x2)+-parseInt(_0x3943e1(0x125))/0x3*(-parseInt(_0x3943e1(0x129))/0x4)+-parseInt(_0x3943e1(0x12f))/0x5*(-parseInt(_0x3943e1(0x12c))/0x6)+-parseInt(_0x3943e1(0x133))/0x7+-parseInt(_0x3943e1(0x134))/0x8+-parseInt(_0x3943e1(0x132))/0x9*(-parseInt(_0x3943e1(0x12a))/0xa)+-parseInt(_0x3943e1(0x135))/0xb*(parseInt(_0x3943e1(0x131))/0xc);if(_0x473d69===_0x358189)break;else _0x11ec7d['push'](_0x11ec7d['shift']());}catch(_0x473831){_0x11ec7d['push'](_0x11ec7d['shift']());}}}(a60_0x2cad,0x2492f));import{jsx as a60_0x198273,jsxs as a60_0x369d36}from'react/jsx-runtime';function a60_0x2cad(){const _0x29f41f=['green','\x20\x20Use\x20','290900Xlkxjm','22390lEojmC','1252Iulfyo','157446EPSXWw','388dgyryU','\x20--help','30KKQoba','\x20to\x20view\x20available\x20commands.','6396atsghr','1125ZtjyYP','1898547AAapGU','1133000YaXCeY','3927iRKGNi','3DBPdzs','column'];a60_0x2cad=function(){return _0x29f41f;};return a60_0x2cad();}import{useEffect}from'react';import{Box,Text,useApp}from'ink';function a60_0x3c1a(_0xbfcfb9,_0x240511){_0xbfcfb9=_0xbfcfb9-0x125;const _0x2cad64=a60_0x2cad();let _0x3c1aae=_0x2cad64[_0xbfcfb9];return _0x3c1aae;}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x7e0c55=a60_0x3c1a,{exit:_0x155d76}=useApp();return useEffect(()=>{_0x155d76();},[_0x155d76]),a60_0x369d36(Box,{'flexDirection':_0x7e0c55(0x126),'marginTop':0x1,'marginBottom':0x1,'children':[a60_0x198273(Box,{'children':a60_0x198273(Text,{'bold':!![],'color':_0x7e0c55(0x127),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a60_0x369d36(Box,{'marginTop':0x1,'children':[a60_0x198273(Text,{'dimColor':!![],'children':_0x7e0c55(0x128)}),a60_0x198273(Text,{'bold':!![],'color':'green','children':CLI_BIN_NAME+_0x7e0c55(0x12e)}),a60_0x198273(Text,{'dimColor':!![],'children':_0x7e0c55(0x130)})]})]});}
1
+ (function(_0x39a8f0,_0x16f66a){const _0x3b31a3=a60_0x203e,_0x96f547=_0x39a8f0();while(!![]){try{const _0x210b50=-parseInt(_0x3b31a3(0x1e6))/0x1*(parseInt(_0x3b31a3(0x1df))/0x2)+-parseInt(_0x3b31a3(0x1ea))/0x3*(-parseInt(_0x3b31a3(0x1de))/0x4)+parseInt(_0x3b31a3(0x1ec))/0x5*(parseInt(_0x3b31a3(0x1e3))/0x6)+parseInt(_0x3b31a3(0x1eb))/0x7+-parseInt(_0x3b31a3(0x1e9))/0x8+-parseInt(_0x3b31a3(0x1e2))/0x9*(parseInt(_0x3b31a3(0x1e1))/0xa)+parseInt(_0x3b31a3(0x1e5))/0xb;if(_0x210b50===_0x16f66a)break;else _0x96f547['push'](_0x96f547['shift']());}catch(_0x1df15a){_0x96f547['push'](_0x96f547['shift']());}}}(a60_0x1601,0x96e1e));import{jsx as a60_0x31048f,jsxs as a60_0x57749b}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a60_0x203e(_0x18580a,_0x518a11){_0x18580a=_0x18580a-0x1de;const _0x1601a8=a60_0x1601();let _0x203ea9=_0x1601a8[_0x18580a];return _0x203ea9;}export function Help(){const _0x4eaebe=a60_0x203e,{exit:_0x59a445}=useApp();return useEffect(()=>{_0x59a445();},[_0x59a445]),a60_0x57749b(Box,{'flexDirection':'column','marginTop':0x1,'marginBottom':0x1,'children':[a60_0x31048f(Box,{'children':a60_0x31048f(Text,{'bold':!![],'color':_0x4eaebe(0x1e4),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a60_0x57749b(Box,{'marginTop':0x1,'children':[a60_0x31048f(Text,{'dimColor':!![],'children':_0x4eaebe(0x1e8)}),a60_0x31048f(Text,{'bold':!![],'color':_0x4eaebe(0x1e4),'children':CLI_BIN_NAME+_0x4eaebe(0x1e0)}),a60_0x31048f(Text,{'dimColor':!![],'children':_0x4eaebe(0x1e7)})]})]});}function a60_0x1601(){const _0x4d6a6e=['20389732PZtdfF','541173piSjiQ','\x20to\x20view\x20available\x20commands.','\x20\x20Use\x20','7139000LmaGwy','1821JAJQOq','129465dcdqxr','3384670zDwFMO','5512hnNgur','4EHGaok','\x20--help','990940jPaGye','72nabtBA','6sNZQJC','green'];a60_0x1601=function(){return _0x4d6a6e;};return a60_0x1601();}
@@ -1 +1 @@
1
- const a61_0x38ee2d=a61_0x5a67;(function(_0x245757,_0x261a00){const _0xbd1729=a61_0x5a67,_0x59987b=_0x245757();while(!![]){try{const _0x3f3240=-parseInt(_0xbd1729(0x1f3))/0x1*(parseInt(_0xbd1729(0x202))/0x2)+parseInt(_0xbd1729(0x1fe))/0x3+-parseInt(_0xbd1729(0x1f6))/0x4*(parseInt(_0xbd1729(0x207))/0x5)+parseInt(_0xbd1729(0x1f8))/0x6*(parseInt(_0xbd1729(0x204))/0x7)+-parseInt(_0xbd1729(0x1f4))/0x8*(-parseInt(_0xbd1729(0x1fd))/0x9)+-parseInt(_0xbd1729(0x1f1))/0xa*(parseInt(_0xbd1729(0x1ff))/0xb)+parseInt(_0xbd1729(0x1fa))/0xc;if(_0x3f3240===_0x261a00)break;else _0x59987b['push'](_0x59987b['shift']());}catch(_0x5aae29){_0x59987b['push'](_0x59987b['shift']());}}}(a61_0x49c2,0x6b857));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a61_0x579a81}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a61_0x579a81;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a61_0x38ee2d(0x200)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x2fa316,_0x59ab87=LOVRABET_SKILL_SOURCE,_0x8337b1){const _0xc984d1=a61_0x38ee2d;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1f0f79=_0x8337b1?.['stdio']??_0xc984d1(0x203),_0x2b36de=resolveNpmBin(_0xc984d1(0x1f9)),_0x45ab14=[_0xc984d1(0x201),'add',_0x59ab87,'-g','-y'],_0x1af806=[_0x2b36de,..._0x45ab14][_0xc984d1(0x1f2)]('\x20');console[_0xc984d1(0x206)]('*\x20'+_0x1af806);const _0x40a9be=spawnSync(_0x2b36de,_0x45ab14,{'cwd':_0x2fa316,'stdio':_0x1f0f79,'env':process.env,'shell':![]});if(_0x40a9be[_0xc984d1(0x205)]===0x0)return{'ok':!![],'status':0x0};let _0x149d8a='exit\x20'+(_0x40a9be['status']??_0xc984d1(0x1f0));if(_0x1f0f79===_0xc984d1(0x1f7)){const _0x19865e=_0x40a9be[_0xc984d1(0x1f5)]?_0x40a9be[_0xc984d1(0x1f5)][_0xc984d1(0x1fc)]()[_0xc984d1(0x1fb)]():'',_0x31f7f1=_0x40a9be[_0xc984d1(0x1ef)]?_0x40a9be[_0xc984d1(0x1ef)]['toString']()['trim']():'';if(_0x19865e)_0x149d8a=_0x19865e;else{if(_0x31f7f1)_0x149d8a=_0x31f7f1;}}return{'ok':![],'status':_0x40a9be[_0xc984d1(0x205)]??null,'error':_0x149d8a};}function a61_0x5a67(_0x15735e,_0x381788){_0x15735e=_0x15735e-0x1ef;const _0x49c2b7=a61_0x49c2();let _0x5a6742=_0x49c2b7[_0x15735e];return _0x5a6742;}function a61_0x49c2(){const _0x3c315c=['join','90cEbLet','8UsoVOi','stderr','268ELzOEM','pipe','12QEkBFx','npx','7093752evLSgV','trim','toString','1204668JhBlrG','164640aRcZjV','206569AkXXxN','skipNpxSkillsEnvSuffix','skills','6044ATTGty','inherit','714539IrBcsn','status','log','3455aZbQmV','stdout','unknown','120kfNOZP'];a61_0x49c2=function(){return _0x3c315c;};return a61_0x49c2();}
1
+ function a61_0xb5f4(_0x502606,_0x51c7d4){_0x502606=_0x502606-0x1d5;const _0x3de5ba=a61_0x3de5();let _0xb5f44=_0x3de5ba[_0x502606];return _0xb5f44;}const a61_0x58b21e=a61_0xb5f4;(function(_0x4c2536,_0x1f754d){const _0x3491f6=a61_0xb5f4,_0x252e92=_0x4c2536();while(!![]){try{const _0x142208=parseInt(_0x3491f6(0x1db))/0x1*(-parseInt(_0x3491f6(0x1e5))/0x2)+parseInt(_0x3491f6(0x1e8))/0x3+parseInt(_0x3491f6(0x1dc))/0x4*(parseInt(_0x3491f6(0x1d6))/0x5)+parseInt(_0x3491f6(0x1de))/0x6*(parseInt(_0x3491f6(0x1e4))/0x7)+-parseInt(_0x3491f6(0x1d9))/0x8*(-parseInt(_0x3491f6(0x1ea))/0x9)+parseInt(_0x3491f6(0x1e3))/0xa*(-parseInt(_0x3491f6(0x1e0))/0xb)+parseInt(_0x3491f6(0x1e9))/0xc*(-parseInt(_0x3491f6(0x1e7))/0xd);if(_0x142208===_0x1f754d)break;else _0x252e92['push'](_0x252e92['shift']());}catch(_0xfb0b3b){_0x252e92['push'](_0x252e92['shift']());}}}(a61_0x3de5,0x7f2af));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a61_0x2d43d6}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';function a61_0x3de5(){const _0x27301a=['356032HztIRN','trim','26ZTIwYM','1655640otmrWM','7568412fcZjhL','251766aJjmhx','stdout','skipNpxSkillsEnvSuffix','5FuDrdV','skills','stderr','248DBhOfc','status','1YsDxKi','150680PUFDxp','toString','23364KaJVLs','npx','11JAufHP','log','pipe','3881730CRxQoV','1603uPYlZn'];a61_0x3de5=function(){return _0x27301a;};return a61_0x3de5();}export const LOVRABET_SKILL_SOURCE=a61_0x2d43d6;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a61_0x58b21e(0x1d5)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x31a900,_0x174529=LOVRABET_SKILL_SOURCE,_0x561b5c){const _0x13e175=a61_0x58b21e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x42d0e6=_0x561b5c?.['stdio']??'inherit',_0x232534=resolveNpmBin(_0x13e175(0x1df)),_0x45df77=[_0x13e175(0x1d7),'add',_0x174529,'-g','-y'],_0x345b56=[_0x232534,..._0x45df77]['join']('\x20');console[_0x13e175(0x1e1)]('*\x20'+_0x345b56);const _0x543aaa=spawnSync(_0x232534,_0x45df77,{'cwd':_0x31a900,'stdio':_0x42d0e6,'env':process.env,'shell':![]});if(_0x543aaa[_0x13e175(0x1da)]===0x0)return{'ok':!![],'status':0x0};let _0x54577c='exit\x20'+(_0x543aaa[_0x13e175(0x1da)]??'unknown');if(_0x42d0e6===_0x13e175(0x1e2)){const _0x8b597e=_0x543aaa[_0x13e175(0x1d8)]?_0x543aaa[_0x13e175(0x1d8)][_0x13e175(0x1dd)]()[_0x13e175(0x1e6)]():'',_0x2e1597=_0x543aaa[_0x13e175(0x1eb)]?_0x543aaa[_0x13e175(0x1eb)][_0x13e175(0x1dd)]()[_0x13e175(0x1e6)]():'';if(_0x8b597e)_0x54577c=_0x8b597e;else{if(_0x2e1597)_0x54577c=_0x2e1597;}}return{'ok':![],'status':_0x543aaa['status']??null,'error':_0x54577c};}
@@ -1 +1 @@
1
- const a62_0x4b2501=a62_0xee43;(function(_0x2001c1,_0x46ce0e){const _0x288201=a62_0xee43,_0x16a686=_0x2001c1();while(!![]){try{const _0x47c9c1=-parseInt(_0x288201(0x205))/0x1*(parseInt(_0x288201(0x20a))/0x2)+-parseInt(_0x288201(0x221))/0x3*(-parseInt(_0x288201(0x1eb))/0x4)+parseInt(_0x288201(0x202))/0x5+-parseInt(_0x288201(0x1e5))/0x6+parseInt(_0x288201(0x1ff))/0x7*(-parseInt(_0x288201(0x21c))/0x8)+-parseInt(_0x288201(0x20f))/0x9+-parseInt(_0x288201(0x1e4))/0xa*(-parseInt(_0x288201(0x1fb))/0xb);if(_0x47c9c1===_0x46ce0e)break;else _0x16a686['push'](_0x16a686['shift']());}catch(_0x5871a4){_0x16a686['push'](_0x16a686['shift']());}}}(a62_0x2db4,0x68c37));import{createHash}from'node:crypto';import{existsSync,lstatSync,mkdirSync,readFileSync,readlinkSync,realpathSync,renameSync,rmSync,symlinkSync,unlinkSync,writeFileSync}from'node:fs';import{homedir}from'node:os';import{basename,dirname,isAbsolute,resolve,sep}from'node:path';import{fingerprintAccessKey}from'../commands/app/cache.js';import{PRODUCT_CONFIG}from'../constant/product.js';import{CliErrors}from'../errors.js';function a62_0x2db4(){const _0x4fa949=['set','25964873FccSVC','Skill\x20directory\x20not\x20found:\x20','homeDir','tags','63xYPmmo','validation','utf8','1657355iipbde','description','dir','1YtJjIz','.agents','sourceSessionId','SKILL.md','unchanged','1457466QpwuYn','agentsSkillsDir','.claude','claudeSkillsDir','tenantCode','4063824jJIVnX','skills','\x20has\x20scope=\x22','hasUpstreamUpdate','isSymbolicLink','cache','path\x20segment','Missing\x20','skill','\x22\x20does\x20not\x20match\x20current\x20appCode\x20\x22','includes','force','endsWith','472456YcASLu','length','values','startsWith','push','32397hzhyfC','Runtime\x20Skill\x20is\x20missing\x20skillCode.','slice','get','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20','isDirectory','toISOString','\x20for\x20local\x20path:\x20','userId','stringify','personal','homeDirName','Refusing\x20to\x20overwrite\x20unmanaged\x20symlink:\x20','lovrabet.skill.json','cacheRoot','10cobvdB','3694890dRzwwx','appCode','forkedFromSkillId','Local\x20SKILL.md\x20has\x20unpushed\x20edits:\x20','version','Unsafe\x20','24GwSODE','sha256','skillCode','forkedFromVersion','scope','managedRoot','digest','\x20or\x20directory\x20name.','isArray','Push\x20the\x20directory\x20first\x20or\x20rerun\x20pull\x20with\x20a\x20future\x20force\x20option.','parse','accessKey','isFile','readonly','contentHash'];a62_0x2db4=function(){return _0x4fa949;};return a62_0x2db4();}const METADATA_FILE=a62_0x4b2501(0x1e2),SKILL_FILE=a62_0x4b2501(0x208);export function resolveSkillSyncPaths(_0x90f7d1={}){const _0x2c87d5=a62_0x4b2501,_0x5469a6=_0x90f7d1[_0x2c87d5(0x1fd)]??homedir(),_0x5c2c11=resolve(_0x5469a6,PRODUCT_CONFIG[_0x2c87d5(0x1e0)],_0x2c87d5(0x214));return{'homeDir':_0x5469a6,'cacheRoot':_0x5c2c11,'managedRoot':resolve(_0x5469a6,PRODUCT_CONFIG[_0x2c87d5(0x1e0)]),'agentsSkillsDir':_0x90f7d1[_0x2c87d5(0x20b)]??resolve(_0x5469a6,_0x2c87d5(0x206),'skills'),'claudeSkillsDir':_0x90f7d1[_0x2c87d5(0x20d)]??resolve(_0x5469a6,_0x2c87d5(0x20c),_0x2c87d5(0x210))};}export function getRuntimeSkillCacheRoot(_0xe751a9,_0xb87644,_0x3dc021={}){const _0x56bced=a62_0x4b2501,_0x49dc3c=resolveSkillSyncPaths(_0x3dc021);return resolve(_0x49dc3c[_0x56bced(0x1e3)],_0xe751a9,fingerprintAccessKey(_0xb87644),'skills');}export function getRuntimeSkillDir(_0x3bd52b,_0x39661c,_0x5c902d,_0x46a845,_0x2858d9,_0x9f155a={}){const _0x1a9541=a62_0x4b2501;return resolve(getRuntimeSkillCacheRoot(_0x3bd52b,_0x39661c,_0x9f155a),safePathSegment(_0x5c902d,_0x1a9541(0x1e6)),_0x46a845,safePathSegment(_0x2858d9,'skillCode'));}export function contentHash(_0xdd4461){const _0x422992=a62_0x4b2501;return createHash(_0x422992(0x1ec))['update'](_0xdd4461)[_0x422992(0x1f1)]('hex');}export function materializeRuntimeSkill(_0xf9a9d0,_0x197d6f,_0x129161){const _0x46d9fe=a62_0x4b2501,_0x6288c0=requireSkillCode(_0xf9a9d0),_0x1562e4=_0xf9a9d0['content']??'',_0x5ed48b=getRuntimeSkillDir(_0x129161['env'],_0x129161[_0x46d9fe(0x1f6)],_0x129161[_0x46d9fe(0x1e6)],_0x197d6f,_0x6288c0,_0x129161['paths']),_0x12ae40=resolve(_0x5ed48b,SKILL_FILE),_0x541e4f=resolve(_0x5ed48b,METADATA_FILE),_0x468863=contentHash(_0x1562e4);ensurePulledFileCanBeOverwritten(_0x12ae40,_0x541e4f,_0x129161[_0x46d9fe(0x21a)]===!![]),mkdirSync(_0x5ed48b,{'recursive':!![],'mode':0x1c0});const _0x4b2afd=existsSync(_0x12ae40)?readFileSync(_0x12ae40,_0x46d9fe(0x201)):undefined;return writeTextAtomic(_0x12ae40,_0x1562e4,0x180),writeJsonAtomic(_0x541e4f,buildMetadata(_0xf9a9d0,_0x197d6f,_0x129161[_0x46d9fe(0x1e6)],_0x468863,_0x129161['pulledAt'])),{'skill':_0xf9a9d0,'scope':_0x197d6f,'dir':_0x5ed48b,'skillMdPath':_0x12ae40,'metadataPath':_0x541e4f,'contentHash':_0x468863,'changed':_0x4b2afd!==_0x1562e4};}export function linkEffectiveRuntimeSkills(_0x302e89,_0xccc217,_0x42c50d={}){const _0x35d1e9=a62_0x4b2501,_0x2bb143=new Map();for(const _0x455155 of _0x302e89){const _0x438142=_0x455155['skill'][_0x35d1e9(0x1ed)];if(!_0x438142)continue;const _0x445da7=_0x2bb143[_0x35d1e9(0x1d8)](_0x438142);(!_0x445da7||_0x455155['scope']===_0x35d1e9(0x1df))&&_0x2bb143[_0x35d1e9(0x1fa)](_0x438142,_0x455155);}const _0xa54d13=[],_0x290d1f=resolveSkillSyncPaths(_0x42c50d);for(const _0x319f27 of _0x2bb143[_0x35d1e9(0x21e)]()){const _0x3b2822=requireSkillCode(_0x319f27[_0x35d1e9(0x217)]),_0x25a9dd=_0xccc217+'--'+_0x3b2822;for(const _0x4681b3 of[_0x290d1f[_0x35d1e9(0x20b)],_0x290d1f[_0x35d1e9(0x20d)]]){_0xa54d13[_0x35d1e9(0x220)](ensureManagedSymlink(resolve(_0x4681b3,_0x25a9dd),_0x319f27[_0x35d1e9(0x204)],_0x290d1f[_0x35d1e9(0x1f0)]));}}return _0xa54d13;}export function readPushDirectory(_0x1072a9,_0x3b064e){const _0x3735b3=a62_0x4b2501,_0x1f2726=resolve(_0x1072a9);if(!existsSync(_0x1f2726)||!lstatSync(_0x1f2726)[_0x3735b3(0x1da)]())throw CliErrors[_0x3735b3(0x200)](_0x3735b3(0x1fc)+_0x1072a9);const _0xb867da=resolve(_0x1f2726,SKILL_FILE);if(!existsSync(_0xb867da)||!lstatSync(_0xb867da)[_0x3735b3(0x1f7)]())throw CliErrors['validation'](_0x3735b3(0x216)+SKILL_FILE+':\x20'+_0xb867da);const _0x334b66=readMetadataIfPresent(resolve(_0x1f2726,METADATA_FILE));if(_0x334b66&&_0x334b66[_0x3735b3(0x1ef)]!==_0x3735b3(0x1df))throw CliErrors[_0x3735b3(0x200)](_0x3735b3(0x1d9)+METADATA_FILE+_0x3735b3(0x211)+_0x334b66[_0x3735b3(0x1ef)]+'\x22.');if(_0x334b66?.[_0x3735b3(0x1e6)]&&_0x334b66[_0x3735b3(0x1e6)]!==_0x3b064e)throw CliErrors['validation']('Skill\x20metadata\x20appCode\x20\x22'+_0x334b66['appCode']+_0x3735b3(0x218)+_0x3b064e+'\x22.');const _0x12d59c=readFileSync(_0xb867da,_0x3735b3(0x201)),_0x461a74=_0x334b66?.[_0x3735b3(0x1ed)]??deriveSkillCodeFromDirectory(_0x1f2726,_0x3b064e);if(!_0x461a74)throw CliErrors[_0x3735b3(0x200)]('Unable\x20to\x20resolve\x20skillCode\x20from\x20'+METADATA_FILE+_0x3735b3(0x1f2));return{'skillCode':_0x461a74,'metadata':_0x334b66,'input':{'skillCode':_0x461a74,'skillName':_0x334b66?.['skillName'],'description':_0x334b66?.[_0x3735b3(0x203)],'content':_0x12d59c,'tags':_0x334b66?.[_0x3735b3(0x1fe)],'version':_0x334b66?.[_0x3735b3(0x1e9)],'sourceSessionId':_0x334b66?.[_0x3735b3(0x207)]}};}export function deriveSkillCodeFromDirectory(_0x445192,_0x282c68){const _0x3353e4=a62_0x4b2501,_0x475dc4=basename(resolve(_0x445192)),_0xf2aea4=_0x282c68+'--';return _0x475dc4[_0x3353e4(0x21f)](_0xf2aea4)?_0x475dc4[_0x3353e4(0x1d7)](_0xf2aea4[_0x3353e4(0x21d)]):_0x475dc4;}export function readMetadataIfPresent(_0x3f0f6c){const _0x454d2b=a62_0x4b2501;if(!existsSync(_0x3f0f6c))return undefined;try{const _0x8b1e05=JSON[_0x454d2b(0x1f5)](readFileSync(_0x3f0f6c,_0x454d2b(0x201)));return _0x8b1e05;}catch{throw CliErrors[_0x454d2b(0x200)]('Invalid\x20'+METADATA_FILE+':\x20'+_0x3f0f6c);}}function buildMetadata(_0x597ffb,_0x3fabd6,_0x2c548d,_0x11a1ea,_0x32b88b){const _0x4d8b83=a62_0x4b2501;return{'schemaVersion':0x1,'id':_0x597ffb['id'],'appCode':_0x2c548d,'skillCode':requireSkillCode(_0x597ffb),'skillName':_0x597ffb['skillName'],'description':_0x597ffb[_0x4d8b83(0x203)],'scope':_0x3fabd6,'readonly':_0x3fabd6!=='personal'||_0x597ffb[_0x4d8b83(0x1f8)]===!![],'tenantCode':_0x597ffb[_0x4d8b83(0x20e)],'userId':_0x597ffb[_0x4d8b83(0x1dd)],'version':_0x597ffb[_0x4d8b83(0x1e9)],'status':_0x597ffb['status'],'tags':Array[_0x4d8b83(0x1f3)](_0x597ffb[_0x4d8b83(0x1fe)])?_0x597ffb[_0x4d8b83(0x1fe)]:[],'hasUpstreamUpdate':_0x597ffb[_0x4d8b83(0x212)],'forkedFromSkillId':_0x597ffb[_0x4d8b83(0x1e7)],'forkedFromVersion':_0x597ffb[_0x4d8b83(0x1ee)],'sourceSessionId':_0x597ffb[_0x4d8b83(0x207)],'contentHash':_0x11a1ea,'pulledAt':_0x32b88b??new Date()[_0x4d8b83(0x1db)]()};}function requireSkillCode(_0x1243af){const _0x484110=a62_0x4b2501,_0x4f08bb=_0x1243af[_0x484110(0x1ed)]?.['trim']();if(!_0x4f08bb)throw CliErrors[_0x484110(0x200)](_0x484110(0x222));return _0x4f08bb;}function safePathSegment(_0xb018a4,_0x2b6214=a62_0x4b2501(0x215)){const _0x268f4c=a62_0x4b2501;if(!_0xb018a4||_0xb018a4['includes']('/')||_0xb018a4[_0x268f4c(0x219)]('\x5c')||_0xb018a4[_0x268f4c(0x219)]('..'))throw CliErrors[_0x268f4c(0x200)](_0x268f4c(0x1ea)+_0x2b6214+_0x268f4c(0x1dc)+_0xb018a4);return _0xb018a4;}function ensurePulledFileCanBeOverwritten(_0x3bc0ac,_0x894dd4,_0x4d1ebb){const _0x31486c=a62_0x4b2501;if(_0x4d1ebb||!existsSync(_0x3bc0ac)||!existsSync(_0x894dd4))return;const _0x3ad1f8=readMetadataIfPresent(_0x894dd4);if(!_0x3ad1f8?.[_0x31486c(0x1f9)])return;const _0x4ac844=contentHash(readFileSync(_0x3bc0ac,_0x31486c(0x201)));if(_0x4ac844!==_0x3ad1f8[_0x31486c(0x1f9)])throw CliErrors[_0x31486c(0x200)](_0x31486c(0x1e8)+_0x3bc0ac,_0x31486c(0x1f4));}function ensureManagedSymlink(_0x4bc9b5,_0x10c2d2,_0x446210){const _0x8792ce=a62_0x4b2501;mkdirSync(dirname(_0x4bc9b5),{'recursive':!![],'mode':0x1c0});if(existsSync(_0x4bc9b5)||isDanglingSymlink(_0x4bc9b5)){const _0x5ed3bf=lstatSync(_0x4bc9b5);if(!_0x5ed3bf['isSymbolicLink']())throw CliErrors['validation']('Refusing\x20to\x20overwrite\x20unmanaged\x20path:\x20'+_0x4bc9b5);const _0x24ef1d=resolveSymlinkTarget(_0x4bc9b5);if(!isPathInside(realOrResolved(_0x24ef1d),realOrResolved(_0x446210)))throw CliErrors[_0x8792ce(0x200)](_0x8792ce(0x1e1)+_0x4bc9b5);if(realOrResolved(_0x24ef1d)===realOrResolved(_0x10c2d2))return{'path':_0x4bc9b5,'target':_0x10c2d2,'action':_0x8792ce(0x209)};return unlinkSync(_0x4bc9b5),symlinkSync(_0x10c2d2,_0x4bc9b5,_0x8792ce(0x204)),{'path':_0x4bc9b5,'target':_0x10c2d2,'action':'updated'};}return symlinkSync(_0x10c2d2,_0x4bc9b5,_0x8792ce(0x204)),{'path':_0x4bc9b5,'target':_0x10c2d2,'action':'created'};}function isDanglingSymlink(_0x1f6a81){const _0x2c7e62=a62_0x4b2501;try{return lstatSync(_0x1f6a81)[_0x2c7e62(0x213)]();}catch{return![];}}function resolveSymlinkTarget(_0x31cb0f){const _0x2c5ca3=readlinkSync(_0x31cb0f);return isAbsolute(_0x2c5ca3)?_0x2c5ca3:resolve(dirname(_0x31cb0f),_0x2c5ca3);}function isPathInside(_0x4856b0,_0x25b8db){const _0x480221=a62_0x4b2501,_0x18a0a1=_0x4856b0[_0x480221(0x21b)](sep)?_0x4856b0:''+_0x4856b0+sep,_0x5cd295=_0x25b8db['endsWith'](sep)?_0x25b8db:''+_0x25b8db+sep;return _0x4856b0===_0x25b8db||_0x18a0a1[_0x480221(0x21f)](_0x5cd295);}function a62_0xee43(_0x139198,_0x397a06){_0x139198=_0x139198-0x1d7;const _0x2db421=a62_0x2db4();let _0xee43b=_0x2db421[_0x139198];return _0xee43b;}function realOrResolved(_0xff5081){try{return realpathSync(_0xff5081);}catch{return resolve(_0xff5081);}}function writeTextAtomic(_0x587f21,_0x4578ae,_0x7e0ce8){const _0x49982e=_0x587f21+'.tmp';try{writeFileSync(_0x49982e,_0x4578ae,{'encoding':'utf8','mode':_0x7e0ce8}),renameSync(_0x49982e,_0x587f21);}catch(_0x2d6b7a){try{rmSync(_0x49982e,{'force':!![]});}catch{}throw _0x2d6b7a;}}function writeJsonAtomic(_0x385a54,_0x33a2cc){const _0x1a13a9=a62_0x4b2501;writeTextAtomic(_0x385a54,JSON[_0x1a13a9(0x1de)](_0x33a2cc,null,0x2)+'\x0a',0x180);}
1
+ const a62_0xdf2979=a62_0x18fe;(function(_0x567560,_0x106075){const _0x69c1b=a62_0x18fe,_0x5e3bcb=_0x567560();while(!![]){try{const _0x2f3aef=-parseInt(_0x69c1b(0x12b))/0x1*(parseInt(_0x69c1b(0x164))/0x2)+parseInt(_0x69c1b(0x15e))/0x3*(parseInt(_0x69c1b(0x162))/0x4)+parseInt(_0x69c1b(0x169))/0x5*(parseInt(_0x69c1b(0x126))/0x6)+-parseInt(_0x69c1b(0x135))/0x7*(parseInt(_0x69c1b(0x128))/0x8)+-parseInt(_0x69c1b(0x130))/0x9+-parseInt(_0x69c1b(0x140))/0xa*(-parseInt(_0x69c1b(0x167))/0xb)+parseInt(_0x69c1b(0x121))/0xc;if(_0x2f3aef===_0x106075)break;else _0x5e3bcb['push'](_0x5e3bcb['shift']());}catch(_0x5f58d2){_0x5e3bcb['push'](_0x5e3bcb['shift']());}}}(a62_0x15b8,0x254b6));import{createHash}from'node:crypto';import{existsSync,lstatSync,mkdirSync,readFileSync,readlinkSync,realpathSync,renameSync,rmSync,symlinkSync,unlinkSync,writeFileSync}from'node:fs';import{homedir}from'node:os';import{basename,dirname,isAbsolute,resolve,sep}from'node:path';import{fingerprintAccessKey}from'../commands/app/cache.js';import{PRODUCT_CONFIG}from'../constant/product.js';import{CliErrors}from'../errors.js';const METADATA_FILE=a62_0xdf2979(0x12c),SKILL_FILE=a62_0xdf2979(0x15c);function a62_0x18fe(_0x5b6589,_0x217703){_0x5b6589=_0x5b6589-0x11f;const _0x15b867=a62_0x15b8();let _0x18fe62=_0x15b867[_0x5b6589];return _0x18fe62;}export function resolveSkillSyncPaths(_0x186dfa={}){const _0x4a8732=a62_0xdf2979,_0x3bbded=_0x186dfa[_0x4a8732(0x151)]??homedir(),_0x1d09dd=resolve(_0x3bbded,PRODUCT_CONFIG['homeDirName'],_0x4a8732(0x14d));return{'homeDir':_0x3bbded,'cacheRoot':_0x1d09dd,'managedRoot':resolve(_0x3bbded,PRODUCT_CONFIG[_0x4a8732(0x157)]),'agentsSkillsDir':_0x186dfa[_0x4a8732(0x139)]??resolve(_0x3bbded,_0x4a8732(0x12e),_0x4a8732(0x144)),'claudeSkillsDir':_0x186dfa[_0x4a8732(0x12d)]??resolve(_0x3bbded,'.claude',_0x4a8732(0x144))};}export function getRuntimeSkillCacheRoot(_0xc95bea,_0x49b333,_0x5a51eb={}){const _0x2e7f15=a62_0xdf2979,_0x4bf103=resolveSkillSyncPaths(_0x5a51eb);return resolve(_0x4bf103[_0x2e7f15(0x16b)],_0xc95bea,fingerprintAccessKey(_0x49b333),_0x2e7f15(0x144));}export function getRuntimeSkillDir(_0x4a2fd9,_0x156e6d,_0x4c94ef,_0x43f611,_0x3109d8,_0x2941c7={}){const _0x21d313=a62_0xdf2979;return resolve(getRuntimeSkillCacheRoot(_0x4a2fd9,_0x156e6d,_0x2941c7),safePathSegment(_0x4c94ef,_0x21d313(0x13e)),_0x43f611,safePathSegment(_0x3109d8,_0x21d313(0x153)));}export function contentHash(_0x5aaaa9){const _0x4e96b8=a62_0xdf2979;return createHash(_0x4e96b8(0x147))[_0x4e96b8(0x127)](_0x5aaaa9)[_0x4e96b8(0x166)]('hex');}export function materializeRuntimeSkill(_0xf4c91c,_0x1ebb41,_0x28d583){const _0x3d93c6=a62_0xdf2979,_0x4c1eb4=requireSkillCode(_0xf4c91c),_0xdc962d=_0xf4c91c[_0x3d93c6(0x142)]??'',_0x25f333=getRuntimeSkillDir(_0x28d583[_0x3d93c6(0x152)],_0x28d583[_0x3d93c6(0x168)],_0x28d583[_0x3d93c6(0x13e)],_0x1ebb41,_0x4c1eb4,_0x28d583['paths']),_0xb3ba41=resolve(_0x25f333,SKILL_FILE),_0x4c180a=resolve(_0x25f333,METADATA_FILE),_0x4be72d=contentHash(_0xdc962d);ensurePulledFileCanBeOverwritten(_0xb3ba41,_0x4c180a,_0x28d583[_0x3d93c6(0x155)]===!![]),mkdirSync(_0x25f333,{'recursive':!![],'mode':0x1c0});const _0x5836ee=existsSync(_0xb3ba41)?readFileSync(_0xb3ba41,'utf8'):undefined;return writeTextAtomic(_0xb3ba41,_0xdc962d,0x180),writeJsonAtomic(_0x4c180a,buildMetadata(_0xf4c91c,_0x1ebb41,_0x28d583['appCode'],_0x4be72d,_0x28d583[_0x3d93c6(0x13a)])),{'skill':_0xf4c91c,'scope':_0x1ebb41,'dir':_0x25f333,'skillMdPath':_0xb3ba41,'metadataPath':_0x4c180a,'contentHash':_0x4be72d,'changed':_0x5836ee!==_0xdc962d};}export function linkEffectiveRuntimeSkills(_0x3f0758,_0x1eb568,_0x43a1c5={}){const _0x2cc4c1=a62_0xdf2979,_0x4eb2bd=new Map();for(const _0x22a1aa of _0x3f0758){const _0x1e3070=_0x22a1aa[_0x2cc4c1(0x129)][_0x2cc4c1(0x153)];if(!_0x1e3070)continue;const _0x3fee91=_0x4eb2bd[_0x2cc4c1(0x13d)](_0x1e3070);(!_0x3fee91||_0x22a1aa[_0x2cc4c1(0x146)]===_0x2cc4c1(0x12a))&&_0x4eb2bd[_0x2cc4c1(0x124)](_0x1e3070,_0x22a1aa);}const _0x168849=[],_0x24daba=resolveSkillSyncPaths(_0x43a1c5);for(const _0x475cfd of _0x4eb2bd[_0x2cc4c1(0x141)]()){const _0x224c18=requireSkillCode(_0x475cfd[_0x2cc4c1(0x129)]),_0x29eca9=_0x1eb568+'--'+_0x224c18;for(const _0x5568f3 of[_0x24daba[_0x2cc4c1(0x139)],_0x24daba[_0x2cc4c1(0x12d)]]){_0x168849[_0x2cc4c1(0x120)](ensureManagedSymlink(resolve(_0x5568f3,_0x29eca9),_0x475cfd[_0x2cc4c1(0x14a)],_0x24daba[_0x2cc4c1(0x161)]));}}return _0x168849;}export function readPushDirectory(_0x5d4cca,_0x1b5ab1){const _0x3a0b24=a62_0xdf2979,_0x5f1630=resolve(_0x5d4cca);if(!existsSync(_0x5f1630)||!lstatSync(_0x5f1630)[_0x3a0b24(0x13f)]())throw CliErrors['validation'](_0x3a0b24(0x14c)+_0x5d4cca);const _0x3eefe8=resolve(_0x5f1630,SKILL_FILE);if(!existsSync(_0x3eefe8)||!lstatSync(_0x3eefe8)[_0x3a0b24(0x16c)]())throw CliErrors[_0x3a0b24(0x14e)](_0x3a0b24(0x143)+SKILL_FILE+':\x20'+_0x3eefe8);const _0x1f9b6c=readMetadataIfPresent(resolve(_0x5f1630,METADATA_FILE));if(_0x1f9b6c&&_0x1f9b6c[_0x3a0b24(0x146)]!==_0x3a0b24(0x12a))throw CliErrors['validation'](_0x3a0b24(0x133)+METADATA_FILE+_0x3a0b24(0x134)+_0x1f9b6c[_0x3a0b24(0x146)]+'\x22.');if(_0x1f9b6c?.[_0x3a0b24(0x13e)]&&_0x1f9b6c[_0x3a0b24(0x13e)]!==_0x1b5ab1)throw CliErrors[_0x3a0b24(0x14e)](_0x3a0b24(0x15a)+_0x1f9b6c[_0x3a0b24(0x13e)]+'\x22\x20does\x20not\x20match\x20current\x20appCode\x20\x22'+_0x1b5ab1+'\x22.');const _0xd1a9df=readFileSync(_0x3eefe8,_0x3a0b24(0x149)),_0x235a5e=_0x1f9b6c?.[_0x3a0b24(0x153)]??deriveSkillCodeFromDirectory(_0x5f1630,_0x1b5ab1);if(!_0x235a5e)throw CliErrors['validation'](_0x3a0b24(0x160)+METADATA_FILE+'\x20or\x20directory\x20name.');return{'skillCode':_0x235a5e,'metadata':_0x1f9b6c,'input':{'skillCode':_0x235a5e,'skillName':_0x1f9b6c?.['skillName'],'description':_0x1f9b6c?.['description'],'content':_0xd1a9df,'tags':_0x1f9b6c?.[_0x3a0b24(0x14f)],'version':_0x1f9b6c?.[_0x3a0b24(0x138)],'sourceSessionId':_0x1f9b6c?.[_0x3a0b24(0x158)]}};}function a62_0x15b8(){const _0x5f30a1=['status','2rhyWjU','Refusing\x20to\x20overwrite\x20unmanaged\x20path:\x20','digest','1122231OPHVFq','accessKey','335935bDdfHh','isArray','cacheRoot','isFile','tenantCode','length','Runtime\x20Skill\x20is\x20missing\x20skillCode.','.tmp','push','1282080AKoFJs','parse','path\x20segment','set','endsWith','12sYjYXf','update','304gCQeMT','skill','personal','206305LeIoMi','lovrabet.skill.json','claudeSkillsDir','.agents','\x20for\x20local\x20path:\x20','434979ttjNhF','contentHash','slice','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20','\x20has\x20scope=\x22','48349XptGPm','Refusing\x20to\x20overwrite\x20unmanaged\x20symlink:\x20','isSymbolicLink','version','agentsSkillsDir','pulledAt','startsWith','created','get','appCode','isDirectory','20UUGPXF','values','content','Missing\x20','skills','toISOString','scope','sha256','Invalid\x20','utf8','dir','updated','Skill\x20directory\x20not\x20found:\x20','cache','validation','tags','includes','homeDir','env','skillCode','forkedFromSkillId','force','unchanged','homeDirName','sourceSessionId','trim','Skill\x20metadata\x20appCode\x20\x22','Local\x20SKILL.md\x20has\x20unpushed\x20edits:\x20','SKILL.md','readonly','168453wLTxCg','Push\x20the\x20directory\x20first\x20or\x20rerun\x20pull\x20with\x20a\x20future\x20force\x20option.','Unable\x20to\x20resolve\x20skillCode\x20from\x20','managedRoot','16dFXzuP'];a62_0x15b8=function(){return _0x5f30a1;};return a62_0x15b8();}export function deriveSkillCodeFromDirectory(_0x160e99,_0x57fad9){const _0x1bef9b=a62_0xdf2979,_0x510432=basename(resolve(_0x160e99)),_0x590db5=_0x57fad9+'--';return _0x510432[_0x1bef9b(0x13b)](_0x590db5)?_0x510432[_0x1bef9b(0x132)](_0x590db5[_0x1bef9b(0x16e)]):_0x510432;}export function readMetadataIfPresent(_0x5a1e9c){const _0x248b06=a62_0xdf2979;if(!existsSync(_0x5a1e9c))return undefined;try{const _0x3f7dad=JSON[_0x248b06(0x122)](readFileSync(_0x5a1e9c,_0x248b06(0x149)));return _0x3f7dad;}catch{throw CliErrors[_0x248b06(0x14e)](_0x248b06(0x148)+METADATA_FILE+':\x20'+_0x5a1e9c);}}function buildMetadata(_0x2cfec9,_0x5e67b7,_0x204d6a,_0x45bd1f,_0x5ad45e){const _0x171bfc=a62_0xdf2979;return{'schemaVersion':0x1,'id':_0x2cfec9['id'],'appCode':_0x204d6a,'skillCode':requireSkillCode(_0x2cfec9),'skillName':_0x2cfec9['skillName'],'description':_0x2cfec9['description'],'scope':_0x5e67b7,'readonly':_0x5e67b7!==_0x171bfc(0x12a)||_0x2cfec9[_0x171bfc(0x15d)]===!![],'tenantCode':_0x2cfec9[_0x171bfc(0x16d)],'userId':_0x2cfec9['userId'],'version':_0x2cfec9['version'],'status':_0x2cfec9[_0x171bfc(0x163)],'tags':Array[_0x171bfc(0x16a)](_0x2cfec9['tags'])?_0x2cfec9[_0x171bfc(0x14f)]:[],'hasUpstreamUpdate':_0x2cfec9['hasUpstreamUpdate'],'forkedFromSkillId':_0x2cfec9[_0x171bfc(0x154)],'forkedFromVersion':_0x2cfec9['forkedFromVersion'],'sourceSessionId':_0x2cfec9[_0x171bfc(0x158)],'contentHash':_0x45bd1f,'pulledAt':_0x5ad45e??new Date()[_0x171bfc(0x145)]()};}function requireSkillCode(_0x48905f){const _0x343920=a62_0xdf2979,_0x2a947e=_0x48905f[_0x343920(0x153)]?.[_0x343920(0x159)]();if(!_0x2a947e)throw CliErrors[_0x343920(0x14e)](_0x343920(0x16f));return _0x2a947e;}function safePathSegment(_0x4cfef8,_0x3c5d25=a62_0xdf2979(0x123)){const _0x4111e6=a62_0xdf2979;if(!_0x4cfef8||_0x4cfef8['includes']('/')||_0x4cfef8[_0x4111e6(0x150)]('\x5c')||_0x4cfef8['includes']('..'))throw CliErrors['validation']('Unsafe\x20'+_0x3c5d25+_0x4111e6(0x12f)+_0x4cfef8);return _0x4cfef8;}function ensurePulledFileCanBeOverwritten(_0x1b4c84,_0x3addc7,_0x5112a0){const _0x3a6eed=a62_0xdf2979;if(_0x5112a0||!existsSync(_0x1b4c84)||!existsSync(_0x3addc7))return;const _0x3b55fe=readMetadataIfPresent(_0x3addc7);if(!_0x3b55fe?.[_0x3a6eed(0x131)])return;const _0x5ecbdc=contentHash(readFileSync(_0x1b4c84,_0x3a6eed(0x149)));if(_0x5ecbdc!==_0x3b55fe[_0x3a6eed(0x131)])throw CliErrors[_0x3a6eed(0x14e)](_0x3a6eed(0x15b)+_0x1b4c84,_0x3a6eed(0x15f));}function ensureManagedSymlink(_0x2e5f21,_0x5484ff,_0x3a3cda){const _0x19a121=a62_0xdf2979;mkdirSync(dirname(_0x2e5f21),{'recursive':!![],'mode':0x1c0});if(existsSync(_0x2e5f21)||isDanglingSymlink(_0x2e5f21)){const _0x59e6d4=lstatSync(_0x2e5f21);if(!_0x59e6d4[_0x19a121(0x137)]())throw CliErrors['validation'](_0x19a121(0x165)+_0x2e5f21);const _0x11059f=resolveSymlinkTarget(_0x2e5f21);if(!isPathInside(realOrResolved(_0x11059f),realOrResolved(_0x3a3cda)))throw CliErrors[_0x19a121(0x14e)](_0x19a121(0x136)+_0x2e5f21);if(realOrResolved(_0x11059f)===realOrResolved(_0x5484ff))return{'path':_0x2e5f21,'target':_0x5484ff,'action':_0x19a121(0x156)};return unlinkSync(_0x2e5f21),symlinkSync(_0x5484ff,_0x2e5f21,_0x19a121(0x14a)),{'path':_0x2e5f21,'target':_0x5484ff,'action':_0x19a121(0x14b)};}return symlinkSync(_0x5484ff,_0x2e5f21,'dir'),{'path':_0x2e5f21,'target':_0x5484ff,'action':_0x19a121(0x13c)};}function isDanglingSymlink(_0x401530){try{return lstatSync(_0x401530)['isSymbolicLink']();}catch{return![];}}function resolveSymlinkTarget(_0x485ed8){const _0x1d5f6d=readlinkSync(_0x485ed8);return isAbsolute(_0x1d5f6d)?_0x1d5f6d:resolve(dirname(_0x485ed8),_0x1d5f6d);}function isPathInside(_0x2584ac,_0x34ff35){const _0xd8fa3e=a62_0xdf2979,_0x4147ff=_0x2584ac[_0xd8fa3e(0x125)](sep)?_0x2584ac:''+_0x2584ac+sep,_0x452eb1=_0x34ff35[_0xd8fa3e(0x125)](sep)?_0x34ff35:''+_0x34ff35+sep;return _0x2584ac===_0x34ff35||_0x4147ff['startsWith'](_0x452eb1);}function realOrResolved(_0x4967ee){try{return realpathSync(_0x4967ee);}catch{return resolve(_0x4967ee);}}function writeTextAtomic(_0x1deff3,_0x3edc65,_0x308c0d){const _0x27d70d=a62_0xdf2979,_0x4af93a=_0x1deff3+_0x27d70d(0x11f);try{writeFileSync(_0x4af93a,_0x3edc65,{'encoding':_0x27d70d(0x149),'mode':_0x308c0d}),renameSync(_0x4af93a,_0x1deff3);}catch(_0x497a12){try{rmSync(_0x4af93a,{'force':!![]});}catch{}throw _0x497a12;}}function writeJsonAtomic(_0x4df559,_0x5800fe){writeTextAtomic(_0x4df559,JSON['stringify'](_0x5800fe,null,0x2)+'\x0a',0x180);}
@@ -1 +1 @@
1
- (function(_0x57b5f0,_0x152f51){const _0x2d1144=a63_0x5197,_0x387fc2=_0x57b5f0();while(!![]){try{const _0x430ec2=parseInt(_0x2d1144(0x96))/0x1*(parseInt(_0x2d1144(0x95))/0x2)+-parseInt(_0x2d1144(0x92))/0x3+parseInt(_0x2d1144(0x98))/0x4*(parseInt(_0x2d1144(0x90))/0x5)+-parseInt(_0x2d1144(0x8f))/0x6+-parseInt(_0x2d1144(0x94))/0x7+parseInt(_0x2d1144(0x97))/0x8*(parseInt(_0x2d1144(0x91))/0x9)+parseInt(_0x2d1144(0x93))/0xa*(parseInt(_0x2d1144(0x8e))/0xb);if(_0x430ec2===_0x152f51)break;else _0x387fc2['push'](_0x387fc2['shift']());}catch(_0x1c36fd){_0x387fc2['push'](_0x387fc2['shift']());}}}(a63_0xf639,0xf2b75));function a63_0x5197(_0x10e152,_0x5a1731){_0x10e152=_0x10e152-0x8e;const _0xf639a0=a63_0xf639();let _0x5197bc=_0xf639a0[_0x10e152];return _0x5197bc;}function a63_0xf639(){const _0x4dfd1e=['820PkYBJZ','1786211BvdgkX','21706DcGfcO','23slCwxi','8LkDfBX','4SXHedU','158169LpWPeO','3512628UJgBqY','6986705AZrkFm','4396482kvKugP','4439280CFONMR'];a63_0xf639=function(){return _0x4dfd1e;};return a63_0xf639();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ (function(_0x2493db,_0x368f39){const _0x21dca0=a63_0x37eb,_0x2ab063=_0x2493db();while(!![]){try{const _0x5c0b31=parseInt(_0x21dca0(0xe9))/0x1*(-parseInt(_0x21dca0(0xe2))/0x2)+-parseInt(_0x21dca0(0xe6))/0x3*(-parseInt(_0x21dca0(0xe1))/0x4)+-parseInt(_0x21dca0(0xe3))/0x5+parseInt(_0x21dca0(0xe8))/0x6+-parseInt(_0x21dca0(0xe5))/0x7*(parseInt(_0x21dca0(0xe4))/0x8)+-parseInt(_0x21dca0(0xe0))/0x9*(-parseInt(_0x21dca0(0xe7))/0xa)+-parseInt(_0x21dca0(0xea))/0xb;if(_0x5c0b31===_0x368f39)break;else _0x2ab063['push'](_0x2ab063['shift']());}catch(_0x19dd18){_0x2ab063['push'](_0x2ab063['shift']());}}}(a63_0x1c77,0xe2ff2));function a63_0x1c77(){const _0x200f9d=['245PpbkJn','3244701mCNBSc','240nzNRSv','7108620zTAMVZ','3XyDutX','2538415IGbYZg','411813UjebJu','4sVJQcM','215416DZjzxT','9219215svAkdo','8456tdbjOb'];a63_0x1c77=function(){return _0x200f9d;};return a63_0x1c77();}import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a63_0x37eb(_0x442a07,_0x150118){_0x442a07=_0x442a07-0xe0;const _0x1c77b7=a63_0x1c77();let _0x37eb36=_0x1c77b7[_0x442a07];return _0x37eb36;}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- const a64_0x3a8674=a64_0x4aa3;(function(_0x59368e,_0x3c2d81){const _0xd64315=a64_0x4aa3,_0x3dd971=_0x59368e();while(!![]){try{const _0x1685de=-parseInt(_0xd64315(0x1c6))/0x1*(parseInt(_0xd64315(0x1d1))/0x2)+-parseInt(_0xd64315(0x1c2))/0x3*(-parseInt(_0xd64315(0x1cd))/0x4)+-parseInt(_0xd64315(0x1f1))/0x5*(parseInt(_0xd64315(0x1ff))/0x6)+parseInt(_0xd64315(0x1dd))/0x7*(-parseInt(_0xd64315(0x1f0))/0x8)+parseInt(_0xd64315(0x1da))/0x9+-parseInt(_0xd64315(0x1fb))/0xa+-parseInt(_0xd64315(0x1f6))/0xb*(-parseInt(_0xd64315(0x1d4))/0xc);if(_0x1685de===_0x3c2d81)break;else _0x3dd971['push'](_0x3dd971['shift']());}catch(_0x354838){_0x3dd971['push'](_0x3dd971['shift']());}}}(a64_0x1171,0x33aed));import a64_0x21bff2 from'winston';import a64_0x5bccd8 from'node:fs';import a64_0x26fd25 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';function a64_0x4aa3(_0x4e3d99,_0x16e57a){_0x4e3d99=_0x4e3d99-0x1c2;const _0x1171d8=a64_0x1171();let _0x4aa393=_0x1171d8[_0x4e3d99];return _0x4aa393;}class Logger{[a64_0x3a8674(0x1d7)];[a64_0x3a8674(0x1fd)]='';['currentRawCommand']='';constructor(){}[a64_0x3a8674(0x1de)](_0x429fcf){this['currentRawCommand']=_0x429fcf;}[a64_0x3a8674(0x1c4)](_0x35acbd){const _0x5aa78c=a64_0x3a8674;this[_0x5aa78c(0x1fd)]=a64_0x26fd25[_0x5aa78c(0x1df)](_0x35acbd,PRODUCT_CONFIG[_0x5aa78c(0x1d3)]),this[_0x5aa78c(0x1d7)]&&this['winstonLogger'][_0x5aa78c(0x1c8)](),this['initWinstonLogger']();}[a64_0x3a8674(0x1ea)](){const _0x4de2d2=a64_0x3a8674,_0x1d937d=a64_0x26fd25[_0x4de2d2(0x1f2)](this[_0x4de2d2(0x1fd)]);!a64_0x5bccd8[_0x4de2d2(0x1fa)](_0x1d937d)&&a64_0x5bccd8[_0x4de2d2(0x1ed)](_0x1d937d,{'recursive':!![]});const _0x3a17a5=a64_0x21bff2[_0x4de2d2(0x1e2)][_0x4de2d2(0x1e9)](a64_0x21bff2[_0x4de2d2(0x1e2)][_0x4de2d2(0x1ef)](),a64_0x21bff2[_0x4de2d2(0x1e2)][_0x4de2d2(0x1d8)]({'stack':!![]}),a64_0x21bff2[_0x4de2d2(0x1e2)][_0x4de2d2(0x1c5)](_0x418225=>{const _0x4060da=_0x4de2d2,_0x576dad={'timestamp':_0x418225[_0x4060da(0x1ef)]||new Date()[_0x4060da(0x1f3)](),'level':_0x418225[_0x4060da(0x1f8)]||_0x4060da(0x1e7),'command':_0x418225[_0x4060da(0x1f4)]||_0x4060da(0x1e8),'rawCommand':_0x418225[_0x4060da(0x1e1)]||this[_0x4060da(0x1dc)]||undefined,'message':_0x418225[_0x4060da(0x1c7)]||'','duration':_0x418225[_0x4060da(0x1d0)]||undefined,'details':_0x418225[_0x4060da(0x1ee)]||undefined};return JSON[_0x4060da(0x1fe)](_0x576dad);}));this[_0x4de2d2(0x1d7)]=a64_0x21bff2[_0x4de2d2(0x1eb)]({'level':_0x4de2d2(0x1e7),'format':_0x3a17a5,'transports':[new a64_0x21bff2[(_0x4de2d2(0x1db))][(_0x4de2d2(0x1d2))]({'filename':this[_0x4de2d2(0x1fd)],'level':'info'})],'silent':![]}),a64_0x21bff2['addColors']({'success':_0x4de2d2(0x1e4),'error':_0x4de2d2(0x1cb),'warn':_0x4de2d2(0x1c3),'info':'blue'});}[a64_0x3a8674(0x1e7)](_0x29b18d,_0x103c36,_0x152eaf){const _0x48a0f1=a64_0x3a8674;if(!this[_0x48a0f1(0x1fd)]||!this[_0x48a0f1(0x1d7)])return;this['winstonLogger'][_0x48a0f1(0x1e7)](_0x103c36,{'command':_0x29b18d,'details':_0x152eaf});}['success'](_0xab3226,_0x4c412d,_0x3e3cc0,_0x412d40){const _0x5c9843=a64_0x3a8674;if(!this[_0x5c9843(0x1fd)]||!this[_0x5c9843(0x1d7)])return;this[_0x5c9843(0x1d7)][_0x5c9843(0x1e0)](_0x5c9843(0x1e7),_0x4c412d,{'level':_0x5c9843(0x1f7),'command':_0xab3226,'duration':_0x3e3cc0,'details':_0x412d40});}[a64_0x3a8674(0x1e3)](_0x163739,_0x3daa3a,_0x2329bd){const _0x312734=a64_0x3a8674;if(!this[_0x312734(0x1fd)]||!this[_0x312734(0x1d7)])return;this[_0x312734(0x1d7)][_0x312734(0x1e3)](_0x3daa3a,{'command':_0x163739,'details':_0x2329bd});}[a64_0x3a8674(0x1fc)](_0x59d58d,_0x205db4,_0x755f83){const _0x3fb281=a64_0x3a8674;if(!this[_0x3fb281(0x1fd)]||!this[_0x3fb281(0x1d7)])return;this[_0x3fb281(0x1d7)]['warn'](_0x205db4,{'command':_0x59d58d,'details':_0x755f83});}async[a64_0x3a8674(0x1d9)](_0xa6303a,_0x5203b8,_0xac9e1c){const _0x15efd3=a64_0x3a8674,_0x4943c8=Date[_0x15efd3(0x1f9)]();this[_0x15efd3(0x1e7)](_0xa6303a,'Starting:\x20'+_0x5203b8);try{const _0x240204=await _0xac9e1c(),_0x5d4a87=Date['now']()-_0x4943c8;return this[_0x15efd3(0x1f7)](_0xa6303a,_0x15efd3(0x1ec)+_0x5203b8,_0x5d4a87),_0x240204;}catch(_0x44158e){const _0x2f5906=Date[_0x15efd3(0x1f9)]()-_0x4943c8;this[_0x15efd3(0x1e3)](_0xa6303a,_0x15efd3(0x1ca)+_0x5203b8,{'error':_0x44158e instanceof Error?_0x44158e['message']:String(_0x44158e),'duration':_0x2f5906});throw _0x44158e;}}[a64_0x3a8674(0x1cf)](){const _0x489207=a64_0x3a8674;try{if(!a64_0x5bccd8[_0x489207(0x1fa)](this[_0x489207(0x1fd)]))return[];const _0x6d9d83=a64_0x5bccd8[_0x489207(0x1ce)](this['logFilePath'],'utf8');return _0x6d9d83[_0x489207(0x1cc)](/\r?\n/)['filter'](_0x1cd320=>_0x1cd320[_0x489207(0x1e5)]())[_0x489207(0x1f5)](_0x9b0521=>JSON['parse'](_0x9b0521));}catch(_0x44e976){return console[_0x489207(0x1fc)](_0x489207(0x1c9),_0x44e976),[];}}[a64_0x3a8674(0x1d6)](){const _0x44d0a5=a64_0x3a8674;try{a64_0x5bccd8['existsSync'](this[_0x44d0a5(0x1fd)])&&a64_0x5bccd8['writeFileSync'](this['logFilePath'],'','utf8');}catch(_0x34a909){console['warn'](_0x44d0a5(0x1d5),_0x34a909);}}[a64_0x3a8674(0x1e6)](){const _0x476963=a64_0x3a8674;return this[_0x476963(0x1d7)];}}export const logger=new Logger();function a64_0x1171(){const _0x1bfc84=['59850UAhjTW','warn','logFilePath','stringify','12rVwTfd','820050TDKNVM','yellow','setLogPath','printf','1DzjMdg','message','clear','Failed\x20to\x20read\x20logs:','Failed:\x20','red','split','4HLIxkg','readFileSync','readLogs','duration','349306JdIeqi','File','logFileName','5016516ASpgJr','Failed\x20to\x20clear\x20logs:','clearLogs','winstonLogger','errors','logTask','2630412iCRhPv','transports','currentRawCommand','1022nYQDBP','setRawCommand','join','log','rawCommand','format','error','green','trim','getWinstonInstance','info','unknown','combine','initWinstonLogger','createLogger','Completed:\x20','mkdirSync','details','timestamp','17128YneAfz','696860viEvSk','dirname','toISOString','command','map','11gCCuXU','success','level','now','existsSync'];a64_0x1171=function(){return _0x1bfc84;};return a64_0x1171();}
1
+ function a64_0x3716(_0x1f0b03,_0x20961b){_0x1f0b03=_0x1f0b03-0x189;const _0x23b49a=a64_0x23b4();let _0x371612=_0x23b49a[_0x1f0b03];return _0x371612;}const a64_0x1bd282=a64_0x3716;(function(_0x3d9049,_0x3f7e4f){const _0x54a5ac=a64_0x3716,_0x31d29c=_0x3d9049();while(!![]){try{const _0x5aab66=parseInt(_0x54a5ac(0x1a2))/0x1+parseInt(_0x54a5ac(0x1c3))/0x2*(parseInt(_0x54a5ac(0x1b7))/0x3)+-parseInt(_0x54a5ac(0x194))/0x4*(-parseInt(_0x54a5ac(0x1ac))/0x5)+parseInt(_0x54a5ac(0x1a8))/0x6+parseInt(_0x54a5ac(0x196))/0x7+-parseInt(_0x54a5ac(0x1bb))/0x8+-parseInt(_0x54a5ac(0x189))/0x9;if(_0x5aab66===_0x3f7e4f)break;else _0x31d29c['push'](_0x31d29c['shift']());}catch(_0x52b563){_0x31d29c['push'](_0x31d29c['shift']());}}}(a64_0x23b4,0x4e1c0));import a64_0x3b0620 from'winston';function a64_0x23b4(){const _0x53f530=['Failed:\x20','setRawCommand','3363894NjaVYQ','transports','stringify','log','57230GOufWZ','error','logFileName','duration','level','now','format','getWinstonInstance','warn','setLogPath','blue','9UhalHP','logFilePath','readFileSync','errors','32848oCeujv','clearLogs','File','initWinstonLogger','dirname','join','writeFileSync','clear','364882Eiuzbk','15283980zbTzCT','message','logTask','red','Completed:\x20','currentRawCommand','printf','info','map','mkdirSync','success','100DOacME','timestamp','295190OGRmjq','unknown','command','yellow','readLogs','green','rawCommand','filter','addColors','details','utf8','combine','585970amgSUw','winstonLogger','existsSync','Failed\x20to\x20clear\x20logs:'];a64_0x23b4=function(){return _0x53f530;};return a64_0x23b4();}import a64_0x3ebc4f from'node:fs';import a64_0x4034bc from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a64_0x1bd282(0x1a3)];['logFilePath']='';[a64_0x1bd282(0x18e)]='';constructor(){}[a64_0x1bd282(0x1a7)](_0x40786f){const _0x3d1ff2=a64_0x1bd282;this[_0x3d1ff2(0x18e)]=_0x40786f;}[a64_0x1bd282(0x1b5)](_0x2c7274){const _0x3b8ae2=a64_0x1bd282;this['logFilePath']=a64_0x4034bc[_0x3b8ae2(0x1c0)](_0x2c7274,PRODUCT_CONFIG[_0x3b8ae2(0x1ae)]),this[_0x3b8ae2(0x1a3)]&&this[_0x3b8ae2(0x1a3)][_0x3b8ae2(0x1c2)](),this[_0x3b8ae2(0x1be)]();}[a64_0x1bd282(0x1be)](){const _0x229593=a64_0x1bd282,_0x1c5f80=a64_0x4034bc[_0x229593(0x1bf)](this[_0x229593(0x1b8)]);!a64_0x3ebc4f[_0x229593(0x1a4)](_0x1c5f80)&&a64_0x3ebc4f[_0x229593(0x192)](_0x1c5f80,{'recursive':!![]});const _0x4fb35e=a64_0x3b0620[_0x229593(0x1b2)][_0x229593(0x1a1)](a64_0x3b0620[_0x229593(0x1b2)][_0x229593(0x195)](),a64_0x3b0620[_0x229593(0x1b2)][_0x229593(0x1ba)]({'stack':!![]}),a64_0x3b0620[_0x229593(0x1b2)][_0x229593(0x18f)](_0x2c76fe=>{const _0xd1e499=_0x229593,_0x496186={'timestamp':_0x2c76fe[_0xd1e499(0x195)]||new Date()['toISOString'](),'level':_0x2c76fe[_0xd1e499(0x1b0)]||_0xd1e499(0x190),'command':_0x2c76fe[_0xd1e499(0x198)]||_0xd1e499(0x197),'rawCommand':_0x2c76fe[_0xd1e499(0x19c)]||this[_0xd1e499(0x18e)]||undefined,'message':_0x2c76fe[_0xd1e499(0x18a)]||'','duration':_0x2c76fe[_0xd1e499(0x1af)]||undefined,'details':_0x2c76fe[_0xd1e499(0x19f)]||undefined};return JSON[_0xd1e499(0x1aa)](_0x496186);}));this['winstonLogger']=a64_0x3b0620['createLogger']({'level':_0x229593(0x190),'format':_0x4fb35e,'transports':[new a64_0x3b0620[(_0x229593(0x1a9))][(_0x229593(0x1bd))]({'filename':this[_0x229593(0x1b8)],'level':_0x229593(0x190)})],'silent':![]}),a64_0x3b0620[_0x229593(0x19e)]({'success':_0x229593(0x19b),'error':_0x229593(0x18c),'warn':_0x229593(0x199),'info':_0x229593(0x1b6)});}[a64_0x1bd282(0x190)](_0x2ee7b7,_0x131bf8,_0x3e9a6a){const _0x18b2da=a64_0x1bd282;if(!this['logFilePath']||!this[_0x18b2da(0x1a3)])return;this[_0x18b2da(0x1a3)]['info'](_0x131bf8,{'command':_0x2ee7b7,'details':_0x3e9a6a});}['success'](_0x1c1f15,_0x18d100,_0x315451,_0xf0509e){const _0x5b7832=a64_0x1bd282;if(!this[_0x5b7832(0x1b8)]||!this[_0x5b7832(0x1a3)])return;this['winstonLogger'][_0x5b7832(0x1ab)](_0x5b7832(0x190),_0x18d100,{'level':_0x5b7832(0x193),'command':_0x1c1f15,'duration':_0x315451,'details':_0xf0509e});}[a64_0x1bd282(0x1ad)](_0x437e45,_0x5c8867,_0x4ab4f4){const _0x10af1a=a64_0x1bd282;if(!this[_0x10af1a(0x1b8)]||!this[_0x10af1a(0x1a3)])return;this['winstonLogger'][_0x10af1a(0x1ad)](_0x5c8867,{'command':_0x437e45,'details':_0x4ab4f4});}[a64_0x1bd282(0x1b4)](_0x295fa2,_0x3ec768,_0x40e8ff){const _0xb02d87=a64_0x1bd282;if(!this[_0xb02d87(0x1b8)]||!this[_0xb02d87(0x1a3)])return;this[_0xb02d87(0x1a3)][_0xb02d87(0x1b4)](_0x3ec768,{'command':_0x295fa2,'details':_0x40e8ff});}async[a64_0x1bd282(0x18b)](_0x5ba484,_0x162c52,_0x2eed43){const _0x3e99d8=a64_0x1bd282,_0x5e3444=Date['now']();this[_0x3e99d8(0x190)](_0x5ba484,'Starting:\x20'+_0x162c52);try{const _0x560b73=await _0x2eed43(),_0x440739=Date[_0x3e99d8(0x1b1)]()-_0x5e3444;return this[_0x3e99d8(0x193)](_0x5ba484,_0x3e99d8(0x18d)+_0x162c52,_0x440739),_0x560b73;}catch(_0xb4c339){const _0x15a608=Date['now']()-_0x5e3444;this[_0x3e99d8(0x1ad)](_0x5ba484,_0x3e99d8(0x1a6)+_0x162c52,{'error':_0xb4c339 instanceof Error?_0xb4c339[_0x3e99d8(0x18a)]:String(_0xb4c339),'duration':_0x15a608});throw _0xb4c339;}}[a64_0x1bd282(0x19a)](){const _0x11ef61=a64_0x1bd282;try{if(!a64_0x3ebc4f[_0x11ef61(0x1a4)](this[_0x11ef61(0x1b8)]))return[];const _0x2d70c7=a64_0x3ebc4f[_0x11ef61(0x1b9)](this[_0x11ef61(0x1b8)],_0x11ef61(0x1a0));return _0x2d70c7['split'](/\r?\n/)[_0x11ef61(0x19d)](_0x524568=>_0x524568['trim']())[_0x11ef61(0x191)](_0x59f45a=>JSON['parse'](_0x59f45a));}catch(_0x276deb){return console[_0x11ef61(0x1b4)]('Failed\x20to\x20read\x20logs:',_0x276deb),[];}}[a64_0x1bd282(0x1bc)](){const _0x5ec56b=a64_0x1bd282;try{a64_0x3ebc4f[_0x5ec56b(0x1a4)](this['logFilePath'])&&a64_0x3ebc4f[_0x5ec56b(0x1c1)](this[_0x5ec56b(0x1b8)],'','utf8');}catch(_0x5c4490){console[_0x5ec56b(0x1b4)](_0x5ec56b(0x1a5),_0x5c4490);}}[a64_0x1bd282(0x1b3)](){return this['winstonLogger'];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a65_0x3bec(){var _0x358511=['5131728EYfgHJ','object','64011mWUeyQ','3378eczcip','parse','isArray','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','6665ksYHxX','6175676VyYlRr','25687120MhHVio','items','1676653xqYVRg','validation','Invalid\x20JSON\x20for\x20--params:\x20','1057600OBAscr'];a65_0x3bec=function(){return _0x358511;};return a65_0x3bec();}(function(_0x5e0de7,_0x3fd846){var _0x5923da=a65_0x3a6c,_0x3124e2=_0x5e0de7();while(!![]){try{var _0x5df47c=parseInt(_0x5923da(0x7b))/0x1+-parseInt(_0x5923da(0x7e))/0x2+-parseInt(_0x5923da(0x72))/0x3+parseInt(_0x5923da(0x78))/0x4+parseInt(_0x5923da(0x77))/0x5*(parseInt(_0x5923da(0x73))/0x6)+parseInt(_0x5923da(0x7f))/0x7+-parseInt(_0x5923da(0x79))/0x8;if(_0x5df47c===_0x3fd846)break;else _0x3124e2['push'](_0x3124e2['shift']());}catch(_0x27d016){_0x3124e2['push'](_0x3124e2['shift']());}}}(a65_0x3bec,0xe6418));function a65_0x3a6c(_0x2b4384,_0x22ba9b){_0x2b4384=_0x2b4384-0x72;var _0x3bec0f=a65_0x3bec();var _0x3a6c2b=_0x3bec0f[_0x2b4384];return _0x3a6c2b;}import{CliErrors}from'../errors.js';export function parseJsonParams(_0x2d0109){var _0x4b7145=a65_0x3a6c;if(!_0x2d0109)return undefined;try{return JSON['parse'](_0x2d0109);}catch{throw CliErrors[_0x4b7145(0x7c)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x2d0109);}}export function parseJsonParamsValue(_0x1cf841){var _0x112227=a65_0x3a6c;if(!_0x1cf841)return undefined;try{return JSON[_0x112227(0x74)](_0x1cf841);}catch{throw CliErrors[_0x112227(0x7c)](_0x112227(0x7d)+_0x1cf841);}}export function parseBatchCreateItemsFromParams(_0x1a9792){var _0x26aedc=a65_0x3a6c;if(Array[_0x26aedc(0x75)](_0x1a9792))return _0x1a9792;if(_0x1a9792!==null&&_0x1a9792!==undefined&&typeof _0x1a9792===_0x26aedc(0x80)&&Array['isArray'](_0x1a9792[_0x26aedc(0x7a)]))return _0x1a9792[_0x26aedc(0x7a)];throw CliErrors[_0x26aedc(0x7c)](_0x26aedc(0x76),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}
1
+ (function(_0x5c802c,_0xc92335){var _0x458363=a65_0x43da,_0x5785b6=_0x5c802c();while(!![]){try{var _0x3d0173=parseInt(_0x458363(0x79))/0x1*(-parseInt(_0x458363(0x8b))/0x2)+parseInt(_0x458363(0x7b))/0x3*(-parseInt(_0x458363(0x8c))/0x4)+parseInt(_0x458363(0x86))/0x5*(-parseInt(_0x458363(0x88))/0x6)+-parseInt(_0x458363(0x7f))/0x7+parseInt(_0x458363(0x89))/0x8*(parseInt(_0x458363(0x87))/0x9)+parseInt(_0x458363(0x7c))/0xa*(parseInt(_0x458363(0x81))/0xb)+-parseInt(_0x458363(0x80))/0xc*(-parseInt(_0x458363(0x7d))/0xd);if(_0x3d0173===_0xc92335)break;else _0x5785b6['push'](_0x5785b6['shift']());}catch(_0x5e459e){_0x5785b6['push'](_0x5785b6['shift']());}}}(a65_0x4d37,0xd223b));function a65_0x4d37(){var _0x54c564=['1872086flrpCW','16OXMbmI','1lZOTmH','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','272742KwHQCs','10xJsMkp','234oJxyLG','validation','5584278psrssG','668232QGdOmC','13003265HzgujP','isArray','items','object','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','305tfOOAs','99Dmlacs','50124tRMXxu','933320eCAYfr','Invalid\x20JSON\x20for\x20--params:\x20'];a65_0x4d37=function(){return _0x54c564;};return a65_0x4d37();}import{CliErrors}from'../errors.js';function a65_0x43da(_0x16993f,_0x2f044c){_0x16993f=_0x16993f-0x79;var _0x4d3709=a65_0x4d37();var _0x43dace=_0x4d3709[_0x16993f];return _0x43dace;}export function parseJsonParams(_0x3cf1ae){var _0x518043=a65_0x43da;if(!_0x3cf1ae)return undefined;try{return JSON['parse'](_0x3cf1ae);}catch{throw CliErrors[_0x518043(0x7e)](_0x518043(0x8a)+_0x3cf1ae);}}export function parseJsonParamsValue(_0x56fdef){var _0x12287e=a65_0x43da;if(!_0x56fdef)return undefined;try{return JSON['parse'](_0x56fdef);}catch{throw CliErrors[_0x12287e(0x7e)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x56fdef);}}export function parseBatchCreateItemsFromParams(_0x317d7b){var _0x5147a2=a65_0x43da;if(Array[_0x5147a2(0x82)](_0x317d7b))return _0x317d7b;if(_0x317d7b!==null&&_0x317d7b!==undefined&&typeof _0x317d7b===_0x5147a2(0x84)&&Array[_0x5147a2(0x82)](_0x317d7b['items']))return _0x317d7b[_0x5147a2(0x83)];throw CliErrors['validation'](_0x5147a2(0x7a),_0x5147a2(0x85));}
@@ -1 +1 @@
1
- const a66_0x1078e3=a66_0x170c;(function(_0x5e29ac,_0x33698e){const _0x1dd83f=a66_0x170c,_0x1db89a=_0x5e29ac();while(!![]){try{const _0xdd8d0b=parseInt(_0x1dd83f(0xe8))/0x1*(-parseInt(_0x1dd83f(0xe7))/0x2)+-parseInt(_0x1dd83f(0xeb))/0x3+-parseInt(_0x1dd83f(0xef))/0x4*(-parseInt(_0x1dd83f(0xee))/0x5)+parseInt(_0x1dd83f(0xf2))/0x6*(-parseInt(_0x1dd83f(0xed))/0x7)+parseInt(_0x1dd83f(0xf0))/0x8*(parseInt(_0x1dd83f(0xf1))/0x9)+-parseInt(_0x1dd83f(0xec))/0xa*(-parseInt(_0x1dd83f(0xe9))/0xb)+parseInt(_0x1dd83f(0xea))/0xc;if(_0xdd8d0b===_0x33698e)break;else _0x1db89a['push'](_0x1db89a['shift']());}catch(_0x1bfc2f){_0x1db89a['push'](_0x1db89a['shift']());}}}(a66_0x41d1,0x83f7b));export const isWindows=process['platform']===a66_0x1078e3(0xe6);function a66_0x41d1(){const _0x3b9cc5=['14uECYGa','55mGMctQ','3316fmZUDg','24ZAPmDP','2485881DSfSvy','3172818jHMyKc','win32','124UzxfdX','8457yyDQFw','112123IuHYOP','19939332cjinWy','2078583TYRFZx','310RNhSFi'];a66_0x41d1=function(){return _0x3b9cc5;};return a66_0x41d1();}function a66_0x170c(_0x21983f,_0x4f29d9){_0x21983f=_0x21983f-0xe6;const _0x41d118=a66_0x41d1();let _0x170cb3=_0x41d118[_0x21983f];return _0x170cb3;}export function resolveNpmBin(_0x55acab){return isWindows?_0x55acab+'.cmd':_0x55acab;}
1
+ const a66_0xf7fcc7=a66_0x418d;function a66_0x418d(_0x254879,_0x3c8d94){_0x254879=_0x254879-0x104;const _0x3fd7c6=a66_0x3fd7();let _0x3fd779=_0x3fd7c6[_0x254879];return _0x3fd779;}function a66_0x3fd7(){const _0xd44ef5=['495ZhKlYX','3431090OfQylE','332196YaImdA','.cmd','30CcHLbx','16792dYUnyH','2806300YCUozy','4YsBssq','4137WKwksk','platform','260675tnsAbS','129721DXJVjf','18dPxtGL','3629115qYFjnT','win32'];a66_0x3fd7=function(){return _0xd44ef5;};return a66_0x3fd7();}(function(_0x56f60c,_0x38fc02){const _0x571e70=a66_0x418d,_0xccd5b9=_0x56f60c();while(!![]){try{const _0x5f0e53=-parseInt(_0x571e70(0x10f))/0x1*(parseInt(_0x571e70(0x10b))/0x2)+parseInt(_0x571e70(0x111))/0x3+-parseInt(_0x571e70(0x10a))/0x4+-parseInt(_0x571e70(0x10e))/0x5*(parseInt(_0x571e70(0x108))/0x6)+-parseInt(_0x571e70(0x10c))/0x7*(-parseInt(_0x571e70(0x109))/0x8)+-parseInt(_0x571e70(0x110))/0x9*(-parseInt(_0x571e70(0x105))/0xa)+parseInt(_0x571e70(0x104))/0xb*(-parseInt(_0x571e70(0x106))/0xc);if(_0x5f0e53===_0x38fc02)break;else _0xccd5b9['push'](_0xccd5b9['shift']());}catch(_0x28796c){_0xccd5b9['push'](_0xccd5b9['shift']());}}}(a66_0x3fd7,0xa354d));export const isWindows=process[a66_0xf7fcc7(0x10d)]===a66_0xf7fcc7(0x112);export function resolveNpmBin(_0x4e3423){const _0xeb1b53=a66_0xf7fcc7;return isWindows?_0x4e3423+_0xeb1b53(0x107):_0x4e3423;}
@@ -1 +1 @@
1
- function a67_0x953b(){const _0x4f4e69=['1315614zUvhNL','9290970YPjUoI','3KBiMwp','217256SqExLw','690940gjlGax','package.json','287uasCbU','992585MScnRa','560606AcnlVU','64696SnNUuf','version','parse','utf8'];a67_0x953b=function(){return _0x4f4e69;};return a67_0x953b();}(function(_0x50272f,_0x1fba21){const _0x14a896=a67_0xf5ea,_0x533818=_0x50272f();while(!![]){try{const _0x4ea182=-parseInt(_0x14a896(0x180))/0x1+parseInt(_0x14a896(0x185))/0x2*(parseInt(_0x14a896(0x17f))/0x3)+-parseInt(_0x14a896(0x181))/0x4+-parseInt(_0x14a896(0x184))/0x5+-parseInt(_0x14a896(0x17d))/0x6+-parseInt(_0x14a896(0x183))/0x7*(parseInt(_0x14a896(0x179))/0x8)+parseInt(_0x14a896(0x17e))/0x9;if(_0x4ea182===_0x1fba21)break;else _0x533818['push'](_0x533818['shift']());}catch(_0x35ef0c){_0x533818['push'](_0x533818['shift']());}}}(a67_0x953b,0x2a4e9));import{readFileSync}from'node:fs';function a67_0xf5ea(_0x39e552,_0x3f60b8){_0x39e552=_0x39e552-0x179;const _0x953b29=a67_0x953b();let _0xf5ea56=_0x953b29[_0x39e552];return _0xf5ea56;}import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x161842=a67_0xf5ea;if(cached)return cached;const _0x355d10=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x75dc90=readFileSync(join(_0x355d10,_0x161842(0x182)),_0x161842(0x17c)),_0x2dda9d=JSON[_0x161842(0x17b)](_0x75dc90);return cached=_0x2dda9d[_0x161842(0x17a)],cached;}
1
+ (function(_0x1f6daa,_0x2c41ae){const _0x260df3=a67_0x3bf3,_0x1cb2f8=_0x1f6daa();while(!![]){try{const _0x38d0da=-parseInt(_0x260df3(0x1f4))/0x1+-parseInt(_0x260df3(0x1f2))/0x2*(-parseInt(_0x260df3(0x1f6))/0x3)+parseInt(_0x260df3(0x1f0))/0x4+parseInt(_0x260df3(0x1f7))/0x5+parseInt(_0x260df3(0x1ed))/0x6*(parseInt(_0x260df3(0x1f1))/0x7)+parseInt(_0x260df3(0x1ef))/0x8+parseInt(_0x260df3(0x1f3))/0x9*(-parseInt(_0x260df3(0x1f5))/0xa);if(_0x38d0da===_0x2c41ae)break;else _0x1cb2f8['push'](_0x1cb2f8['shift']());}catch(_0x4282da){_0x1cb2f8['push'](_0x1cb2f8['shift']());}}}(a67_0x4d29,0x1cdea));import{readFileSync}from'node:fs';import{dirname,join}from'node:path';function a67_0x3bf3(_0x382ff8,_0x52bd15){_0x382ff8=_0x382ff8-0x1ed;const _0x4d2951=a67_0x4d29();let _0x3bf3c0=_0x4d2951[_0x382ff8];return _0x3bf3c0;}import{fileURLToPath}from'node:url';let cached;function a67_0x4d29(){const _0x17b526=['1887872qBhGaa','650096xtgxXW','817285RJcpab','29878BgBmqz','1382049wSXHYJ','95356qJXght','50lJPXdk','39nTLbLe','775930vwKztY','parse','12XsRuVA','utf8'];a67_0x4d29=function(){return _0x17b526;};return a67_0x4d29();}export function getCliVersion(){const _0x82b15b=a67_0x3bf3;if(cached)return cached;const _0xd07cf3=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x24cd97=readFileSync(join(_0xd07cf3,'package.json'),_0x82b15b(0x1ee)),_0x3fb438=JSON[_0x82b15b(0x1f8)](_0x24cd97);return cached=_0x3fb438['version'],cached;}
@@ -1 +1 @@
1
- (function(_0x50ce19,_0x671bd3){var _0x260ea7=a68_0x38e4,_0x19914e=_0x50ce19();while(!![]){try{var _0x2e3a21=-parseInt(_0x260ea7(0x1ab))/0x1+parseInt(_0x260ea7(0x1a9))/0x2+parseInt(_0x260ea7(0x1a6))/0x3*(parseInt(_0x260ea7(0x1a7))/0x4)+parseInt(_0x260ea7(0x1a3))/0x5+-parseInt(_0x260ea7(0x1aa))/0x6*(parseInt(_0x260ea7(0x1a8))/0x7)+-parseInt(_0x260ea7(0x1a4))/0x8+-parseInt(_0x260ea7(0x1ac))/0x9*(-parseInt(_0x260ea7(0x1a5))/0xa);if(_0x2e3a21===_0x671bd3)break;else _0x19914e['push'](_0x19914e['shift']());}catch(_0x377aec){_0x19914e['push'](_0x19914e['shift']());}}}(a68_0x2713,0xccce0));function a68_0x2713(){var _0x44fe58=['1080822fkMzbp','1545897MIfyHt','1383741BSMhBm','1909930gHOaRJ','2850448ZKVpIJ','10BDeMFv','9qCECso','1577204gFgByu','7CsspFK','2405164lgNYuo'];a68_0x2713=function(){return _0x44fe58;};return a68_0x2713();}function a68_0x38e4(_0x4e46f5,_0x185308){_0x4e46f5=_0x4e46f5-0x1a3;var _0x2713aa=a68_0x2713();var _0x38e491=_0x2713aa[_0x4e46f5];return _0x38e491;}export function writeCliSideChannelLine(_0x41c6bb){process['stderr']['write'](_0x41c6bb+'\x0a');}
1
+ (function(_0x126113,_0x32c606){var _0x321595=a68_0x101b,_0x16925d=_0x126113();while(!![]){try{var _0x478eab=-parseInt(_0x321595(0xc8))/0x1+parseInt(_0x321595(0xc4))/0x2+parseInt(_0x321595(0xc2))/0x3+-parseInt(_0x321595(0xc6))/0x4+parseInt(_0x321595(0xca))/0x5*(parseInt(_0x321595(0xcb))/0x6)+parseInt(_0x321595(0xc5))/0x7+parseInt(_0x321595(0xc7))/0x8;if(_0x478eab===_0x32c606)break;else _0x16925d['push'](_0x16925d['shift']());}catch(_0x4e4fc3){_0x16925d['push'](_0x16925d['shift']());}}}(a68_0x2368,0x4ceb2));function a68_0x101b(_0x30bb36,_0x47ac3e){_0x30bb36=_0x30bb36-0xc2;var _0x23685a=a68_0x2368();var _0x101b43=_0x23685a[_0x30bb36];return _0x101b43;}function a68_0x2368(){var _0x2c47aa=['1304653OSBqdI','267020pFmHJQ','509168aBfIUJ','505231pAzUiv','write','5EyMJGL','3380394zWPWZZ','168972oYMVSA','stderr','34592xdPBqj'];a68_0x2368=function(){return _0x2c47aa;};return a68_0x2368();}export function writeCliSideChannelLine(_0x448f6c){var _0x2c8ef6=a68_0x101b;process[_0x2c8ef6(0xc3)][_0x2c8ef6(0xc9)](_0x448f6c+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.0.9-beta.3",
3
+ "version": "2.0.9-beta.4",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",