@lovrabet/lovrabet-cli 2.0.9-beta.6 → 2.0.10

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 +3 -3
@@ -1 +1 @@
1
- const a49_0x42f0fa=a49_0x275e;(function(_0x16c791,_0x545856){const _0x29b714=a49_0x275e,_0x435776=_0x16c791();while(!![]){try{const _0x260794=-parseInt(_0x29b714(0xef))/0x1+parseInt(_0x29b714(0xfa))/0x2+-parseInt(_0x29b714(0xee))/0x3*(-parseInt(_0x29b714(0xf0))/0x4)+-parseInt(_0x29b714(0xf7))/0x5*(parseInt(_0x29b714(0xf4))/0x6)+-parseInt(_0x29b714(0xf9))/0x7*(parseInt(_0x29b714(0xf3))/0x8)+-parseInt(_0x29b714(0xf6))/0x9*(-parseInt(_0x29b714(0xf2))/0xa)+parseInt(_0x29b714(0xf1))/0xb;if(_0x260794===_0x545856)break;else _0x435776['push'](_0x435776['shift']());}catch(_0x3c6bc5){_0x435776['push'](_0x435776['shift']());}}}(a49_0x511b,0xc473c));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a49_0x42f0fa(0xf5)];function a49_0x511b(){const _0x430b75=['24632kvNhCJ','26151433QNWOtI','54350OdNjTy','168FAvQHQ','28206LFDPPO','parseFlags','432YsYnuf','1370HUgkzX','validateFlags','195447WTUFjr','1778032KbCRfQ','141sBipCr','1137642rkWwQh'];a49_0x511b=function(){return _0x430b75;};return a49_0x511b();}function a49_0x275e(_0x313772,_0x32aa7a){_0x313772=_0x313772-0xee;const _0x511b02=a49_0x511b();let _0x275e38=_0x511b02[_0x313772];return _0x275e38;}export const validateFlags=helpers[a49_0x42f0fa(0xf8)];
1
+ const a49_0x2cd618=a49_0x5c48;(function(_0x571473,_0x4dcf30){const _0x20cc96=a49_0x5c48,_0x207a8d=_0x571473();while(!![]){try{const _0x231e12=-parseInt(_0x20cc96(0x18d))/0x1+-parseInt(_0x20cc96(0x191))/0x2*(parseInt(_0x20cc96(0x193))/0x3)+-parseInt(_0x20cc96(0x195))/0x4*(parseInt(_0x20cc96(0x192))/0x5)+-parseInt(_0x20cc96(0x194))/0x6*(parseInt(_0x20cc96(0x199))/0x7)+parseInt(_0x20cc96(0x190))/0x8+parseInt(_0x20cc96(0x196))/0x9*(-parseInt(_0x20cc96(0x18e))/0xa)+parseInt(_0x20cc96(0x198))/0xb;if(_0x231e12===_0x4dcf30)break;else _0x207a8d['push'](_0x207a8d['shift']());}catch(_0x39aa72){_0x207a8d['push'](_0x207a8d['shift']());}}}(a49_0x4b32,0x4390b));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a49_0x4b32(){const _0x102583=['1262270ahVLOW','364938qVIWbv','18tQIclu','8bMSBUS','126HDVpXQ','parseFlags','17354447emEkjR','110278EAORnh','521602lPYWLL','297510koEdbn','validateFlags','2488016wJsrTe','2LAfSXe'];a49_0x4b32=function(){return _0x102583;};return a49_0x4b32();}const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a49_0x2cd618(0x197)];function a49_0x5c48(_0x52cc7f,_0xe441d){_0x52cc7f=_0x52cc7f-0x18d;const _0x4b3265=a49_0x4b32();let _0x5c48be=_0x4b3265[_0x52cc7f];return _0x5c48be;}export const validateFlags=helpers[a49_0x2cd618(0x18f)];
@@ -1 +1 @@
1
- const a50_0x4d6e13=a50_0x2948;(function(_0x413983,_0x24ee72){const _0x180cb6=a50_0x2948,_0x21f261=_0x413983();while(!![]){try{const _0x2f5218=parseInt(_0x180cb6(0x1d5))/0x1+-parseInt(_0x180cb6(0x1d7))/0x2+parseInt(_0x180cb6(0x1d6))/0x3*(-parseInt(_0x180cb6(0x1d4))/0x4)+parseInt(_0x180cb6(0x1cd))/0x5+parseInt(_0x180cb6(0x1d3))/0x6+parseInt(_0x180cb6(0x1cf))/0x7+parseInt(_0x180cb6(0x1d1))/0x8*(-parseInt(_0x180cb6(0x1ca))/0x9);if(_0x2f5218===_0x24ee72)break;else _0x21f261['push'](_0x21f261['shift']());}catch(_0x11e4ce){_0x21f261['push'](_0x21f261['shift']());}}}(a50_0x383a,0x80682));function a50_0x2948(_0x15f435,_0x470230){_0x15f435=_0x15f435-0x1ca;const _0x383acd=a50_0x383a();let _0x2948aa=_0x383acd[_0x15f435];return _0x2948aa;}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':_0x3728ec=>serviceGroups[a50_0x4d6e13(0x1cb)](_0x3728ec),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a50_0x4d6e13(0x1d0)+PRODUCT_CONFIG['newConfigFileName']+a50_0x4d6e13(0x1ce)});export function generateCommandHelp(_0x2e0524){const _0x132cc0=a50_0x4d6e13;return generators[_0x132cc0(0x1cc)](_0x2e0524);}export const generateServiceHelp=generators[a50_0x4d6e13(0x1d2)];export const generateFullHelp=generators['generateFullHelp'];function a50_0x383a(){const _0x538ab5=['1558884ZyOhTt','8XdvMZx','993745qPThlh','737652UWLtAm','1335630WMQwkp','155628kMVcGT','get','generateCommandHelp','3337435BwjxrF','\x20or\x20--appcode).','3435285UVGEWF','Requires\x20appcode\x20(set\x20via\x20','336vLeIvc','generateServiceHelp'];a50_0x383a=function(){return _0x538ab5;};return a50_0x383a();}
1
+ const a50_0xc9bcb=a50_0x2853;(function(_0xefb542,_0x6dcb5f){const _0x42bbd6=a50_0x2853,_0x2f0694=_0xefb542();while(!![]){try{const _0x5cd694=parseInt(_0x42bbd6(0x199))/0x1+-parseInt(_0x42bbd6(0x1a6))/0x2*(-parseInt(_0x42bbd6(0x19c))/0x3)+parseInt(_0x42bbd6(0x1a1))/0x4*(parseInt(_0x42bbd6(0x1a5))/0x5)+-parseInt(_0x42bbd6(0x19a))/0x6*(-parseInt(_0x42bbd6(0x1a7))/0x7)+-parseInt(_0x42bbd6(0x1aa))/0x8*(parseInt(_0x42bbd6(0x1a9))/0x9)+parseInt(_0x42bbd6(0x19b))/0xa*(parseInt(_0x42bbd6(0x19d))/0xb)+-parseInt(_0x42bbd6(0x19e))/0xc;if(_0x5cd694===_0x6dcb5f)break;else _0x2f0694['push'](_0x2f0694['shift']());}catch(_0x4573a7){_0x2f0694['push'](_0x2f0694['shift']());}}}(a50_0x1aa4,0x6d8e3));function a50_0x2853(_0x9cc2e,_0x4fa7b4){_0x9cc2e=_0x9cc2e-0x199;const _0x1aa4dc=a50_0x1aa4();let _0x285337=_0x1aa4dc[_0x9cc2e];return _0x285337;}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':_0x10d7c3=>serviceGroups[a50_0xc9bcb(0x1a4)](_0x10d7c3),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a50_0xc9bcb(0x1a2)+PRODUCT_CONFIG[a50_0xc9bcb(0x1a8)]+a50_0xc9bcb(0x1a0)});export function generateCommandHelp(_0x913f65){const _0x467c2a=a50_0xc9bcb;return generators[_0x467c2a(0x1a3)](_0x913f65);}function a50_0x1aa4(){const _0x4b850a=['483785UsOsyC','12cQbOaw','31470iFhoSp','36xcCWnV','2068JJzBMO','20218416pjOvlt','generateFullHelp','\x20or\x20--appcode).','3279076ItDHWK','Requires\x20appcode\x20(set\x20via\x20','generateCommandHelp','get','5BueGkk','18308HKnpcR','1586445aOQPiI','newConfigFileName','2922309tHKePq','8yjSCyv','generateServiceHelp'];a50_0x1aa4=function(){return _0x4b850a;};return a50_0x1aa4();}export const generateServiceHelp=generators[a50_0xc9bcb(0x1ab)];export const generateFullHelp=generators[a50_0xc9bcb(0x19f)];
@@ -1 +1 @@
1
- (function(_0x3f2d24,_0x1ec299){var _0x1a3cce=a51_0x3e73,_0x152862=_0x3f2d24();while(!![]){try{var _0x957fc=-parseInt(_0x1a3cce(0x1db))/0x1+-parseInt(_0x1a3cce(0x1de))/0x2+-parseInt(_0x1a3cce(0x1e1))/0x3+parseInt(_0x1a3cce(0x1da))/0x4*(-parseInt(_0x1a3cce(0x1dd))/0x5)+parseInt(_0x1a3cce(0x1df))/0x6+parseInt(_0x1a3cce(0x1dc))/0x7*(-parseInt(_0x1a3cce(0x1d9))/0x8)+parseInt(_0x1a3cce(0x1e0))/0x9;if(_0x957fc===_0x1ec299)break;else _0x152862['push'](_0x152862['shift']());}catch(_0x1229ce){_0x152862['push'](_0x152862['shift']());}}}(a51_0x31a6,0xbda4b));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';function a51_0x3e73(_0x5761b8,_0x17efd5){_0x5761b8=_0x5761b8-0x1d9;var _0x31a60a=a51_0x31a6();var _0x3e7349=_0x31a60a[_0x5761b8];return _0x3e7349;}export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';function a51_0x31a6(){var _0x334dbe=['404MwhLlV','113473BeNUCE','571739fQdxZs','55970PukeTP','2854766KyMdsY','3090840HcniEI','49086990uipSsw','2907474YFSOeQ','152YTJnLN'];a51_0x31a6=function(){return _0x334dbe;};return a51_0x31a6();}
1
+ function a51_0x228d(_0xb2eecb,_0x15d85d){_0xb2eecb=_0xb2eecb-0x1b1;var _0x29e3a6=a51_0x29e3();var _0x228d0f=_0x29e3a6[_0xb2eecb];return _0x228d0f;}(function(_0x16395e,_0x3f0d46){var _0x2d74f3=a51_0x228d,_0x52384f=_0x16395e();while(!![]){try{var _0x2f0ce2=-parseInt(_0x2d74f3(0x1b1))/0x1*(-parseInt(_0x2d74f3(0x1b6))/0x2)+-parseInt(_0x2d74f3(0x1bb))/0x3*(-parseInt(_0x2d74f3(0x1b5))/0x4)+-parseInt(_0x2d74f3(0x1b4))/0x5+-parseInt(_0x2d74f3(0x1b9))/0x6*(parseInt(_0x2d74f3(0x1b7))/0x7)+parseInt(_0x2d74f3(0x1b2))/0x8+parseInt(_0x2d74f3(0x1ba))/0x9*(parseInt(_0x2d74f3(0x1b3))/0xa)+-parseInt(_0x2d74f3(0x1b8))/0xb;if(_0x2f0ce2===_0x3f0d46)break;else _0x52384f['push'](_0x52384f['shift']());}catch(_0x3dd647){_0x52384f['push'](_0x52384f['shift']());}}}(a51_0x29e3,0x40838));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';function a51_0x29e3(){var _0x41f5c2=['12SvOaJg','9MkcyXk','9hlSvDe','31291uTIwAX','980248bZIXUr','5016370olgUpP','2113945HvdDck','224592sAjhzg','18SUBypJ','1150751TCgdhm','642488vyPsIB'];a51_0x29e3=function(){return _0x41f5c2;};return a51_0x29e3();}export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0xca3ff4,_0x5dc24b){const _0x32cbd5=a52_0x24ee,_0x2f3e7e=_0xca3ff4();while(!![]){try{const _0x4ddd8f=-parseInt(_0x32cbd5(0x1c0))/0x1+-parseInt(_0x32cbd5(0x1be))/0x2+parseInt(_0x32cbd5(0x1ba))/0x3*(-parseInt(_0x32cbd5(0x1b8))/0x4)+parseInt(_0x32cbd5(0x1bf))/0x5+parseInt(_0x32cbd5(0x1b9))/0x6+-parseInt(_0x32cbd5(0x1b7))/0x7*(-parseInt(_0x32cbd5(0x1bc))/0x8)+-parseInt(_0x32cbd5(0x1bd))/0x9*(-parseInt(_0x32cbd5(0x1bb))/0xa);if(_0x4ddd8f===_0x5dc24b)break;else _0x2f3e7e['push'](_0x2f3e7e['shift']());}catch(_0x50c93d){_0x2f3e7e['push'](_0x2f3e7e['shift']());}}}(a52_0xc874,0xb3d90));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a52_0x24ee(_0x57bcb9,_0xb2dac0){_0x57bcb9=_0x57bcb9-0x1b7;const _0xc874ec=a52_0xc874();let _0x24ee00=_0xc874ec[_0x57bcb9];return _0x24ee00;}import{CliErrors}from'../errors.js';function a52_0xc874(){const _0x109ea7=['45uyVWXA','1059002yQtMcc','3629930GQbCaP','356160naVpgm','3963911idepmE','79108tNWrWr','4542798HnEpbV','207JkMGbs','742530eiNbPQ','16fSEDgX'];a52_0xc874=function(){return _0x109ea7;};return a52_0xc874();}export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
1
+ (function(_0x2a4e74,_0x2f35d3){const _0x2f8576=a52_0xa77c,_0x2dbe1d=_0x2a4e74();while(!![]){try{const _0x1f3cd8=parseInt(_0x2f8576(0x70))/0x1+-parseInt(_0x2f8576(0x72))/0x2*(parseInt(_0x2f8576(0x75))/0x3)+parseInt(_0x2f8576(0x6f))/0x4*(parseInt(_0x2f8576(0x76))/0x5)+-parseInt(_0x2f8576(0x6d))/0x6*(parseInt(_0x2f8576(0x73))/0x7)+parseInt(_0x2f8576(0x74))/0x8*(parseInt(_0x2f8576(0x6c))/0x9)+-parseInt(_0x2f8576(0x6e))/0xa+parseInt(_0x2f8576(0x71))/0xb;if(_0x1f3cd8===_0x2f35d3)break;else _0x2dbe1d['push'](_0x2dbe1d['shift']());}catch(_0x109482){_0x2dbe1d['push'](_0x2dbe1d['shift']());}}}(a52_0x3e0f,0x7b5d2));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a52_0xa77c(_0x26a5fd,_0x3214f1){_0x26a5fd=_0x26a5fd-0x6c;const _0x3e0f3f=a52_0x3e0f();let _0xa77ce7=_0x3e0f3f[_0x26a5fd];return _0xa77ce7;}function a52_0x3e0f(){const _0x461d82=['2957635NZWdUa','18XqbAQJ','6474IhjwjK','6309580xaAqoD','4qTkGZY','289283Byqqxi','4088414GffPCn','18118Iouesb','56DjPKhH','2540968StgyAH','246HmZhab'];a52_0x3e0f=function(){return _0x461d82;};return a52_0x3e0f();}export const formatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});
@@ -1 +1 @@
1
- (function(_0x3e17fe,_0x589ad7){const _0x14ebae=a53_0x4a15,_0x2b0056=_0x3e17fe();while(!![]){try{const _0x4f0038=parseInt(_0x14ebae(0x17f))/0x1+parseInt(_0x14ebae(0x168))/0x2*(parseInt(_0x14ebae(0x17c))/0x3)+parseInt(_0x14ebae(0x167))/0x4+parseInt(_0x14ebae(0x171))/0x5*(-parseInt(_0x14ebae(0x173))/0x6)+-parseInt(_0x14ebae(0x18b))/0x7+parseInt(_0x14ebae(0x170))/0x8*(parseInt(_0x14ebae(0x165))/0x9)+-parseInt(_0x14ebae(0x16e))/0xa;if(_0x4f0038===_0x589ad7)break;else _0x2b0056['push'](_0x2b0056['shift']());}catch(_0xb41af8){_0x2b0056['push'](_0x2b0056['shift']());}}}(a53_0x5032,0x5f0cb));function a53_0x4a15(_0x3f5499,_0x57888b){_0x3f5499=_0x3f5499-0x165;const _0x503237=a53_0x5032();let _0x4a15ac=_0x503237[_0x3f5499];return _0x4a15ac;}function toKebab(_0x343937){const _0x27f682=a53_0x4a15;return _0x343937[_0x27f682(0x17e)](/_/g,'-')[_0x27f682(0x17e)](/-([A-Z]+)/g,(_0x4a4ee1,_0x1b4c5b)=>'-'+_0x1b4c5b[_0x27f682(0x183)]())['replace'](/([a-z0-9])([A-Z])/g,(_0x4f5c8f,_0x4698dc,_0x570291)=>_0x4698dc+'-'+_0x570291)[_0x27f682(0x183)]();}function a53_0x5032(){const _0x7e5a11=['has','yes','toLowerCase','appcode','nonInteractive','push','get','type','global','keys','1523480fNOsCH','slice','1391121zjknYY','version','2691812XARCos','985942zhnMyu','app','corrected','add','help','non-interactive','11520690dttsjn','dryRun','8IcByZl','65290NdfsvL','sticky','156AcCsyL','original','indexOf','format','string','length','toUpperCase','env','name','3tVLmcw','entries','replace','778047FZSGwn','number'];a53_0x5032=function(){return _0x7e5a11;};return a53_0x5032();}function buildKnownFlags(_0x153529){const _0x38665d=a53_0x4a15,_0x174d6f=new Set();for(const _0x170887 of _0x153529){_0x174d6f[_0x38665d(0x16b)](_0x170887[_0x38665d(0x17b)]),_0x174d6f[_0x38665d(0x16b)](toCamelCase(_0x170887['name']));}for(const _0x810841 of['dry-run',_0x38665d(0x16f),_0x38665d(0x182),_0x38665d(0x176)]){_0x174d6f['add'](_0x810841);}for(const _0x26ccde of[_0x38665d(0x16c),_0x38665d(0x17a),_0x38665d(0x184),_0x38665d(0x169),_0x38665d(0x185),_0x38665d(0x16d),'ci',_0x38665d(0x189),_0x38665d(0x166)]){_0x174d6f[_0x38665d(0x16b)](_0x26ccde);}return _0x174d6f;}function buildFlagTypeMap(_0x254094){const _0x49083f=a53_0x4a15,_0x195c93=new Map();for(const _0x33d947 of _0x254094){_0x195c93['set'](_0x33d947[_0x49083f(0x17b)],_0x33d947['type']),_0x195c93['set'](toCamelCase(_0x33d947['name']),_0x33d947[_0x49083f(0x188)]);}return _0x195c93;}function toCamelCase(_0x3e28e9){const _0x15afa9=a53_0x4a15;return _0x3e28e9[_0x15afa9(0x17e)](/-([a-z])/g,(_0x288e54,_0x43835e)=>_0x43835e[_0x15afa9(0x179)]());}function aliasHandler(_0x1a9856,_0x581e26){const _0x3eaede=a53_0x4a15,_0xeb0f59=[];for(const _0x471d0b of Object[_0x3eaede(0x18a)](_0x1a9856)){if(_0x581e26[_0x3eaede(0x181)](_0x471d0b))continue;const _0x43fcc1=toKebab(_0x471d0b);_0x43fcc1!==_0x471d0b&&_0x581e26[_0x3eaede(0x181)](_0x43fcc1)&&_0xeb0f59[_0x3eaede(0x186)]({'original':_0x471d0b,'corrected':_0x43fcc1,'handler':'alias'});}return _0xeb0f59;}function stickyHandler(_0x64bd1f,_0x2852e5,_0xdcc0c){const _0x1af492=a53_0x4a15,_0x7fc6ba=[];for(const [_0x12bb34,_0x3c0d31]of Object[_0x1af492(0x17d)](_0x64bd1f)){if(_0x3c0d31!==!![])continue;for(let _0x5ccb1a=_0x12bb34[_0x1af492(0x178)]-0x1;_0x5ccb1a>0x0;_0x5ccb1a--){const _0xf53e4f=_0x12bb34['slice'](0x0,_0x5ccb1a),_0x5e298f=_0x12bb34['slice'](_0x5ccb1a),_0x1d4e9b=toKebab(_0xf53e4f),_0x59fd8a=toCamelCase(_0xf53e4f),_0x5466f3=_0x2852e5[_0x1af492(0x181)](_0xf53e4f)?_0xf53e4f:_0x2852e5[_0x1af492(0x181)](_0x1d4e9b)?_0x1d4e9b:_0x2852e5[_0x1af492(0x181)](_0x59fd8a)?_0x59fd8a:null;if(!_0x5466f3)continue;const _0x3dece2=_0xdcc0c[_0x1af492(0x187)](_0x5466f3)??_0x1af492(0x177);let _0x390e28;if(_0x3dece2===_0x1af492(0x180)){const _0x11f021=Number(_0x5e298f);if(isNaN(_0x11f021)||_0x5e298f==='')continue;_0x390e28=_0x11f021;}else{if(_0x3dece2==='boolean')continue;else{if(_0x5e298f==='')continue;_0x390e28=_0x5e298f;}}_0x7fc6ba['push']({'original':_0x12bb34,'corrected':_0x5466f3+'='+_0x390e28,'handler':_0x1af492(0x172)});break;}}return _0x7fc6ba;}export function correctFlags(_0x4b7c15,_0x42c9ca){const _0x9b02f1=a53_0x4a15,_0x45956c=buildKnownFlags(_0x42c9ca),_0x573f87=buildFlagTypeMap(_0x42c9ca),_0x3a4ddb=aliasHandler(_0x4b7c15,_0x45956c),_0x25c70c=stickyHandler(_0x4b7c15,_0x45956c,_0x573f87),_0x2d4e86=[..._0x3a4ddb,..._0x25c70c];if(_0x2d4e86[_0x9b02f1(0x178)]===0x0)return{'flags':_0x4b7c15,'corrections':[]};const _0x24f1f2={..._0x4b7c15},_0x268bba=new Set();for(const _0x1343ec of _0x3a4ddb){_0x24f1f2[_0x1343ec[_0x9b02f1(0x16a)]]=_0x4b7c15[_0x1343ec['original']],_0x268bba['add'](_0x1343ec[_0x9b02f1(0x174)]);}for(const _0x2f7fb8 of _0x25c70c){const _0x4683cd=_0x2f7fb8[_0x9b02f1(0x16a)][_0x9b02f1(0x175)]('='),_0x4599ae=_0x2f7fb8[_0x9b02f1(0x16a)]['slice'](0x0,_0x4683cd),_0x581fd8=_0x2f7fb8[_0x9b02f1(0x16a)][_0x9b02f1(0x18c)](_0x4683cd+0x1),_0x55104b=_0x573f87['get'](_0x4599ae)??'string';_0x55104b===_0x9b02f1(0x180)?_0x24f1f2[_0x4599ae]=Number(_0x581fd8):_0x24f1f2[_0x4599ae]=_0x581fd8,_0x268bba[_0x9b02f1(0x16b)](_0x2f7fb8[_0x9b02f1(0x174)]);}for(const _0x12e280 of _0x268bba){delete _0x24f1f2[_0x12e280];}return{'flags':_0x24f1f2,'corrections':_0x2d4e86};}
1
+ (function(_0x38fdb5,_0x248a69){const _0x20ebf8=a53_0x2ea7,_0x2656f9=_0x38fdb5();while(!![]){try{const _0x3738f3=parseInt(_0x20ebf8(0x1b2))/0x1*(-parseInt(_0x20ebf8(0x1c7))/0x2)+parseInt(_0x20ebf8(0x1a7))/0x3*(parseInt(_0x20ebf8(0x1cb))/0x4)+-parseInt(_0x20ebf8(0x1c3))/0x5+-parseInt(_0x20ebf8(0x1c5))/0x6*(-parseInt(_0x20ebf8(0x1a6))/0x7)+parseInt(_0x20ebf8(0x1b4))/0x8+-parseInt(_0x20ebf8(0x1c1))/0x9*(-parseInt(_0x20ebf8(0x1bf))/0xa)+parseInt(_0x20ebf8(0x1bd))/0xb*(-parseInt(_0x20ebf8(0x1ae))/0xc);if(_0x3738f3===_0x248a69)break;else _0x2656f9['push'](_0x2656f9['shift']());}catch(_0x47fe0b){_0x2656f9['push'](_0x2656f9['shift']());}}}(a53_0x148e,0x4bf1c));function toKebab(_0x1e78b0){const _0x4bae8b=a53_0x2ea7;return _0x1e78b0[_0x4bae8b(0x1b0)](/_/g,'-')[_0x4bae8b(0x1b0)](/-([A-Z]+)/g,(_0x5a8b91,_0x1fe9e2)=>'-'+_0x1fe9e2['toLowerCase']())[_0x4bae8b(0x1b0)](/([a-z0-9])([A-Z])/g,(_0xa8f0ba,_0x3dc79b,_0x1fa9b7)=>_0x3dc79b+'-'+_0x1fa9b7)[_0x4bae8b(0x1a9)]();}function buildKnownFlags(_0xc93b21){const _0x3815d8=a53_0x2ea7,_0x3a4040=new Set();for(const _0x2dda0d of _0xc93b21){_0x3a4040[_0x3815d8(0x1bc)](_0x2dda0d[_0x3815d8(0x1c6)]),_0x3a4040['add'](toCamelCase(_0x2dda0d[_0x3815d8(0x1c6)]));}for(const _0x446f63 of[_0x3815d8(0x1af),_0x3815d8(0x1c4),_0x3815d8(0x1b3),_0x3815d8(0x1cf)]){_0x3a4040[_0x3815d8(0x1bc)](_0x446f63);}for(const _0x445b64 of['help','env',_0x3815d8(0x1ab),_0x3815d8(0x1ba),'nonInteractive',_0x3815d8(0x1bb),'ci',_0x3815d8(0x1c8),_0x3815d8(0x1b5)]){_0x3a4040[_0x3815d8(0x1bc)](_0x445b64);}return _0x3a4040;}function buildFlagTypeMap(_0x3c4290){const _0x5cf596=a53_0x2ea7,_0x214b39=new Map();for(const _0x4dcf81 of _0x3c4290){_0x214b39[_0x5cf596(0x1b9)](_0x4dcf81[_0x5cf596(0x1c6)],_0x4dcf81[_0x5cf596(0x1cd)]),_0x214b39[_0x5cf596(0x1b9)](toCamelCase(_0x4dcf81[_0x5cf596(0x1c6)]),_0x4dcf81[_0x5cf596(0x1cd)]);}return _0x214b39;}function a53_0x2ea7(_0x2a1d0d,_0x1facaa){_0x2a1d0d=_0x2a1d0d-0x1a5;const _0x148e2a=a53_0x148e();let _0x2ea74a=_0x148e2a[_0x2a1d0d];return _0x2ea74a;}function toCamelCase(_0x475d89){const _0x4e1efd=a53_0x2ea7;return _0x475d89[_0x4e1efd(0x1b0)](/-([a-z])/g,(_0x1bf9b9,_0x3de4fa)=>_0x3de4fa[_0x4e1efd(0x1b6)]());}function aliasHandler(_0x218009,_0x1b99e7){const _0x3c3053=a53_0x2ea7,_0x3527d4=[];for(const _0x25fa92 of Object[_0x3c3053(0x1c0)](_0x218009)){if(_0x1b99e7[_0x3c3053(0x1ad)](_0x25fa92))continue;const _0x1005e4=toKebab(_0x25fa92);_0x1005e4!==_0x25fa92&&_0x1b99e7['has'](_0x1005e4)&&_0x3527d4[_0x3c3053(0x1a8)]({'original':_0x25fa92,'corrected':_0x1005e4,'handler':_0x3c3053(0x1be)});}return _0x3527d4;}function stickyHandler(_0x23cc08,_0x5470cc,_0x9db4a0){const _0x485e62=a53_0x2ea7,_0x32e47f=[];for(const [_0x4341bb,_0xa24c0b]of Object[_0x485e62(0x1b8)](_0x23cc08)){if(_0xa24c0b!==!![])continue;for(let _0x56e510=_0x4341bb['length']-0x1;_0x56e510>0x0;_0x56e510--){const _0x225b66=_0x4341bb[_0x485e62(0x1cc)](0x0,_0x56e510),_0x3b0ee6=_0x4341bb['slice'](_0x56e510),_0x191cd6=toKebab(_0x225b66),_0xb023af=toCamelCase(_0x225b66),_0x13083f=_0x5470cc[_0x485e62(0x1ad)](_0x225b66)?_0x225b66:_0x5470cc['has'](_0x191cd6)?_0x191cd6:_0x5470cc[_0x485e62(0x1ad)](_0xb023af)?_0xb023af:null;if(!_0x13083f)continue;const _0x4f3753=_0x9db4a0[_0x485e62(0x1ca)](_0x13083f)??_0x485e62(0x1b7);let _0x49d56c;if(_0x4f3753===_0x485e62(0x1a5)){const _0x5abfb1=Number(_0x3b0ee6);if(isNaN(_0x5abfb1)||_0x3b0ee6==='')continue;_0x49d56c=_0x5abfb1;}else{if(_0x4f3753===_0x485e62(0x1c9))continue;else{if(_0x3b0ee6==='')continue;_0x49d56c=_0x3b0ee6;}}_0x32e47f['push']({'original':_0x4341bb,'corrected':_0x13083f+'='+_0x49d56c,'handler':_0x485e62(0x1aa)});break;}}return _0x32e47f;}export function correctFlags(_0x2975a3,_0x2dccad){const _0x159fb9=a53_0x2ea7,_0xbfe4a6=buildKnownFlags(_0x2dccad),_0x4c85e9=buildFlagTypeMap(_0x2dccad),_0xf113df=aliasHandler(_0x2975a3,_0xbfe4a6),_0x42ac23=stickyHandler(_0x2975a3,_0xbfe4a6,_0x4c85e9),_0x2b8baa=[..._0xf113df,..._0x42ac23];if(_0x2b8baa[_0x159fb9(0x1b1)]===0x0)return{'flags':_0x2975a3,'corrections':[]};const _0x3737f4={..._0x2975a3},_0x15ce24=new Set();for(const _0x4bd7fe of _0xf113df){_0x3737f4[_0x4bd7fe[_0x159fb9(0x1c2)]]=_0x2975a3[_0x4bd7fe[_0x159fb9(0x1ce)]],_0x15ce24['add'](_0x4bd7fe[_0x159fb9(0x1ce)]);}for(const _0x25df28 of _0x42ac23){const _0x432380=_0x25df28[_0x159fb9(0x1c2)][_0x159fb9(0x1ac)]('='),_0x15566c=_0x25df28[_0x159fb9(0x1c2)][_0x159fb9(0x1cc)](0x0,_0x432380),_0x3f206f=_0x25df28[_0x159fb9(0x1c2)][_0x159fb9(0x1cc)](_0x432380+0x1),_0x3091ef=_0x4c85e9['get'](_0x15566c)??_0x159fb9(0x1b7);_0x3091ef==='number'?_0x3737f4[_0x15566c]=Number(_0x3f206f):_0x3737f4[_0x15566c]=_0x3f206f,_0x15ce24['add'](_0x25df28[_0x159fb9(0x1ce)]);}for(const _0x43bfc6 of _0x15ce24){delete _0x3737f4[_0x43bfc6];}return{'flags':_0x3737f4,'corrections':_0x2b8baa};}function a53_0x148e(){const _0x56bb3c=['473419pVkPJM','yes','3900336fMaUjR','version','toUpperCase','string','entries','set','app','non-interactive','add','11Kujaie','alias','10yBgljG','keys','1646037aJysnA','corrected','820820qIdlAt','dryRun','318NFeZdv','name','2TjNLNM','global','boolean','get','8hLztLu','slice','type','original','format','number','41524cFFhNT','840891uConvi','push','toLowerCase','sticky','appcode','indexOf','has','7161288FvxnKa','dry-run','replace','length'];a53_0x148e=function(){return _0x56bb3c;};return a53_0x148e();}
@@ -1 +1 @@
1
- (function(_0xcfb851,_0x310b08){var _0x48b6b0=a54_0x16a7,_0x633807=_0xcfb851();while(!![]){try{var _0x55ca74=-parseInt(_0x48b6b0(0x8a))/0x1+-parseInt(_0x48b6b0(0x84))/0x2+-parseInt(_0x48b6b0(0x87))/0x3+-parseInt(_0x48b6b0(0x85))/0x4*(-parseInt(_0x48b6b0(0x89))/0x5)+-parseInt(_0x48b6b0(0x8b))/0x6+-parseInt(_0x48b6b0(0x88))/0x7*(parseInt(_0x48b6b0(0x82))/0x8)+-parseInt(_0x48b6b0(0x86))/0x9*(-parseInt(_0x48b6b0(0x83))/0xa);if(_0x55ca74===_0x310b08)break;else _0x633807['push'](_0x633807['shift']());}catch(_0x4a9284){_0x633807['push'](_0x633807['shift']());}}}(a54_0x29e0,0x2d76e));function a54_0x16a7(_0x1d4600,_0x4dafbe){_0x1d4600=_0x1d4600-0x82;var _0x29e0d5=a54_0x29e0();var _0x16a797=_0x29e0d5[_0x1d4600];return _0x16a797;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a54_0x29e0(){var _0x458938=['227835nUluBq','41943yhzxrV','435911XXvYxD','261430rfwZaV','284984AZrVuf','1178730dEKSso','24IpmoOc','370QlThJi','659248gHLlWh','20msxMwv'];a54_0x29e0=function(){return _0x458938;};return a54_0x29e0();}
1
+ (function(_0x5ddd74,_0x14d32b){var _0x34ceb7=a54_0x1cd8,_0x4a1b91=_0x5ddd74();while(!![]){try{var _0x270b5b=parseInt(_0x34ceb7(0x119))/0x1+parseInt(_0x34ceb7(0x11a))/0x2*(-parseInt(_0x34ceb7(0x11d))/0x3)+-parseInt(_0x34ceb7(0x121))/0x4*(-parseInt(_0x34ceb7(0x11b))/0x5)+-parseInt(_0x34ceb7(0x11c))/0x6+-parseInt(_0x34ceb7(0x120))/0x7+parseInt(_0x34ceb7(0x11e))/0x8*(-parseInt(_0x34ceb7(0x11f))/0x9)+parseInt(_0x34ceb7(0x122))/0xa;if(_0x270b5b===_0x14d32b)break;else _0x4a1b91['push'](_0x4a1b91['shift']());}catch(_0x39002b){_0x4a1b91['push'](_0x4a1b91['shift']());}}}(a54_0x4ee1,0xccd91));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a54_0x1cd8(_0x365120,_0x568b20){_0x365120=_0x365120-0x119;var _0x4ee1cc=a54_0x4ee1();var _0x1cd867=_0x4ee1cc[_0x365120];return _0x1cd867;}function a54_0x4ee1(){var _0x37079f=['48kFJBnz','644580cSTohL','10406788ijqVHJ','244036GGhVPW','38441160JhjypH','1209243SktEpW','2893838XkwBMq','15BCyElR','6204036cRNtLx','3SAxJMc'];a54_0x4ee1=function(){return _0x37079f;};return a54_0x4ee1();}
@@ -1 +1 @@
1
- (function(_0x9dd1bf,_0x54e290){const _0x1ba1ec=a55_0x336f,_0xd0689=_0x9dd1bf();while(!![]){try{const _0x2bcd72=-parseInt(_0x1ba1ec(0x7c))/0x1+-parseInt(_0x1ba1ec(0x74))/0x2+-parseInt(_0x1ba1ec(0x80))/0x3+parseInt(_0x1ba1ec(0x70))/0x4+parseInt(_0x1ba1ec(0x85))/0x5+-parseInt(_0x1ba1ec(0x84))/0x6+parseInt(_0x1ba1ec(0x7b))/0x7*(parseInt(_0x1ba1ec(0x81))/0x8);if(_0x2bcd72===_0x54e290)break;else _0xd0689['push'](_0xd0689['shift']());}catch(_0x394bae){_0xd0689['push'](_0xd0689['shift']());}}}(a55_0xcba5,0x9c94f));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x487d2b,_0x2e955e,_0x5a165b){const _0x3a1f8a=a55_0x336f,_0x19a685=buildConfirmationContext(_0x487d2b,_0x2e955e,_0x5a165b),_0x5953ed=[_0x3a1f8a(0x83)+_0x19a685['commandLabel']];return _0x19a685[_0x3a1f8a(0x72)]&&_0x5953ed['push'](_0x3a1f8a(0x76)+_0x19a685['description']),_0x19a685[_0x3a1f8a(0x78)]&&_0x5953ed['push'](_0x3a1f8a(0x86)+_0x19a685[_0x3a1f8a(0x78)]),_0x5953ed[_0x3a1f8a(0x7d)](_0x3a1f8a(0x88)),_0x5953ed;}export function reconstructCommandArgv(_0x44f2da,_0x2435d0){const _0x43ef8f=a55_0x336f,_0x57bf8d=[CLI_BIN_NAME,_0x44f2da[_0x43ef8f(0x77)],_0x44f2da[_0x43ef8f(0x87)]];for(const [_0x3f574b,_0x5ca0ee]of Object['entries'](_0x2435d0)){if(_0x5ca0ee===!![])_0x57bf8d[_0x43ef8f(0x7d)]('--'+_0x3f574b);else _0x5ca0ee!==![]&&_0x5ca0ee!==undefined&&_0x5ca0ee!==''&&_0x57bf8d[_0x43ef8f(0x7d)]('--'+_0x3f574b+'\x20'+JSON[_0x43ef8f(0x82)](_0x5ca0ee));}return _0x57bf8d[_0x43ef8f(0x7d)]('--yes'),_0x57bf8d[_0x43ef8f(0x79)]('\x20');}function buildConfirmationContext(_0x2b8956,_0x73a921,_0x505b2f){const _0x3ff4fb=extractAffectedRecords(_0x505b2f);return{'commandLabel':_0x73a921,'description':_0x2b8956['description'],'affectedRecords':_0x3ff4fb};}function a55_0x336f(_0x1a5c1a,_0x1827c6){_0x1a5c1a=_0x1a5c1a-0x70;const _0xcba5bf=a55_0xcba5();let _0x336fa7=_0xcba5bf[_0x1a5c1a];return _0x336fa7;}function extractAffectedRecords(_0x50805c){const _0x58148c=a55_0x336f,_0x5de0ed=[];if(_0x50805c[_0x58148c(0x7a)])_0x5de0ed[_0x58148c(0x7d)](_0x58148c(0x7e)+_0x50805c['code']);if(_0x50805c['id'])_0x5de0ed[_0x58148c(0x7d)](_0x58148c(0x7f)+_0x50805c['id']);if(_0x50805c['name'])_0x5de0ed['push'](_0x58148c(0x73)+_0x50805c['name']);if(_0x50805c[_0x58148c(0x71)])_0x5de0ed[_0x58148c(0x7d)](_0x58148c(0x75)+_0x50805c[_0x58148c(0x71)]);return _0x5de0ed['length']>0x0?_0x5de0ed[_0x58148c(0x79)](',\x20'):undefined;}function a55_0xcba5(){const _0x6a4524=['\x20\x20\x20Continue?\x20[y/N]\x20','1338148SEKhmK','params','description','name=','159952shLfJP','params=','\x20\x20\x20','service','affectedRecords','join','code','6288947SWwAFR','638108IiuJvy','push','code=','id=','1450683QksZaP','8AQiKAI','stringify','⚠\x20\x20High-risk\x20operation:\x20','1691502lbWfxm','4459815NXbsTT','\x20\x20\x20Affected:\x20','command'];a55_0xcba5=function(){return _0x6a4524;};return a55_0xcba5();}
1
+ (function(_0x5544b8,_0x2e1004){const _0xf33611=a55_0x1f75,_0x1a11a1=_0x5544b8();while(!![]){try{const _0x315313=-parseInt(_0xf33611(0x1cb))/0x1+-parseInt(_0xf33611(0x1cc))/0x2*(-parseInt(_0xf33611(0x1d1))/0x3)+parseInt(_0xf33611(0x1c8))/0x4+parseInt(_0xf33611(0x1bf))/0x5+parseInt(_0xf33611(0x1cf))/0x6*(parseInt(_0xf33611(0x1bd))/0x7)+parseInt(_0xf33611(0x1b9))/0x8*(parseInt(_0xf33611(0x1c3))/0x9)+parseInt(_0xf33611(0x1c6))/0xa*(-parseInt(_0xf33611(0x1c0))/0xb);if(_0x315313===_0x2e1004)break;else _0x1a11a1['push'](_0x1a11a1['shift']());}catch(_0x4a2f4d){_0x1a11a1['push'](_0x1a11a1['shift']());}}}(a55_0x42a7,0x8f8e2));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x12397f,_0x20013a,_0x5d8c7f){const _0x35cb19=a55_0x1f75,_0x5e1040=buildConfirmationContext(_0x12397f,_0x20013a,_0x5d8c7f),_0x5558c7=[_0x35cb19(0x1ce)+_0x5e1040[_0x35cb19(0x1be)]];return _0x5e1040[_0x35cb19(0x1bc)]&&_0x5558c7[_0x35cb19(0x1c2)](_0x35cb19(0x1bb)+_0x5e1040[_0x35cb19(0x1bc)]),_0x5e1040['affectedRecords']&&_0x5558c7['push']('\x20\x20\x20Affected:\x20'+_0x5e1040[_0x35cb19(0x1ba)]),_0x5558c7[_0x35cb19(0x1c2)](_0x35cb19(0x1b8)),_0x5558c7;}export function reconstructCommandArgv(_0x132be3,_0xa4804b){const _0x275ce8=a55_0x1f75,_0x57f12c=[CLI_BIN_NAME,_0x132be3[_0x275ce8(0x1d0)],_0x132be3['command']];for(const [_0x51a698,_0x39a235]of Object['entries'](_0xa4804b)){if(_0x39a235===!![])_0x57f12c[_0x275ce8(0x1c2)]('--'+_0x51a698);else _0x39a235!==![]&&_0x39a235!==undefined&&_0x39a235!==''&&_0x57f12c[_0x275ce8(0x1c2)]('--'+_0x51a698+'\x20'+JSON[_0x275ce8(0x1d2)](_0x39a235));}return _0x57f12c[_0x275ce8(0x1c2)](_0x275ce8(0x1c4)),_0x57f12c['join']('\x20');}function a55_0x1f75(_0x55d6f4,_0x2e256c){_0x55d6f4=_0x55d6f4-0x1b8;const _0x42a7a8=a55_0x42a7();let _0x1f75d3=_0x42a7a8[_0x55d6f4];return _0x1f75d3;}function buildConfirmationContext(_0x567b1a,_0x90620b,_0x1a3e11){const _0x4c1be8=a55_0x1f75,_0x251a8a=extractAffectedRecords(_0x1a3e11);return{'commandLabel':_0x90620b,'description':_0x567b1a[_0x4c1be8(0x1bc)],'affectedRecords':_0x251a8a};}function extractAffectedRecords(_0x1ae6a6){const _0xe3fa9d=a55_0x1f75,_0x285d47=[];if(_0x1ae6a6[_0xe3fa9d(0x1d3)])_0x285d47[_0xe3fa9d(0x1c2)](_0xe3fa9d(0x1c9)+_0x1ae6a6[_0xe3fa9d(0x1d3)]);if(_0x1ae6a6['id'])_0x285d47['push']('id='+_0x1ae6a6['id']);if(_0x1ae6a6[_0xe3fa9d(0x1c7)])_0x285d47[_0xe3fa9d(0x1c2)](_0xe3fa9d(0x1cd)+_0x1ae6a6[_0xe3fa9d(0x1c7)]);if(_0x1ae6a6[_0xe3fa9d(0x1c5)])_0x285d47[_0xe3fa9d(0x1c2)](_0xe3fa9d(0x1c1)+_0x1ae6a6[_0xe3fa9d(0x1c5)]);return _0x285d47['length']>0x0?_0x285d47[_0xe3fa9d(0x1ca)](',\x20'):undefined;}function a55_0x42a7(){const _0x2a816e=['name','359840fVebPF','code=','join','452466hrVFtt','466166aPfYsJ','name=','⚠\x20\x20High-risk\x20operation:\x20','565098pMhrPH','service','15QZwxIG','stringify','code','\x20\x20\x20Continue?\x20[y/N]\x20','1261104agSakU','affectedRecords','\x20\x20\x20','description','56QdxbTo','commandLabel','92235GmnzsC','2167rUjaCF','params=','push','36xXjcOG','--yes','params','82100xXJQfo'];a55_0x42a7=function(){return _0x2a816e;};return a55_0x42a7();}
@@ -1 +1 @@
1
- (function(_0x304229,_0x2f42bf){const _0x460699=a56_0x26cf,_0x189fd1=_0x304229();while(!![]){try{const _0x2ffbfe=-parseInt(_0x460699(0x131))/0x1*(-parseInt(_0x460699(0x124))/0x2)+-parseInt(_0x460699(0x126))/0x3*(parseInt(_0x460699(0x123))/0x4)+-parseInt(_0x460699(0x12d))/0x5*(-parseInt(_0x460699(0x12b))/0x6)+-parseInt(_0x460699(0x121))/0x7*(-parseInt(_0x460699(0x125))/0x8)+-parseInt(_0x460699(0x12f))/0x9*(parseInt(_0x460699(0x12c))/0xa)+parseInt(_0x460699(0x132))/0xb+parseInt(_0x460699(0x129))/0xc*(-parseInt(_0x460699(0x127))/0xd);if(_0x2ffbfe===_0x2f42bf)break;else _0x189fd1['push'](_0x189fd1['shift']());}catch(_0x82b620){_0x189fd1['push'](_0x189fd1['shift']());}}}(a56_0xf503,0xceba5));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';export function mapUserFacingExecuteError(_0x1d9bbf){const _0x3f16b0=a56_0x26cf;if(_0x1d9bbf instanceof LovrabetError)return CliErrors[_0x3f16b0(0x122)](userFacingLovrabetMessage(_0x1d9bbf));return _0x1d9bbf;}function a56_0x26cf(_0x167903,_0x5e6aaa){_0x167903=_0x167903-0x121;const _0xf5030f=a56_0xf503();let _0x26cf52=_0xf5030f[_0x167903];return _0x26cf52;}function a56_0xf503(){const _0x594ca3=['4dByGqL','2NUEXMC','8ErkzaB','2357931AuGGNH','597259IMWHbV','string','828FWiVoh','description','24696QwDhUY','40010ppVfuT','1465iFJUBf','stringify','855uhnwfR','message','1458619vgqEWd','12156793tUGabR','trim','9891882RVxvkM','validation'];a56_0xf503=function(){return _0x594ca3;};return a56_0xf503();}function userFacingLovrabetMessage(_0x431131){const _0x1d60e2=a56_0x26cf,_0x3bf5f9=_0x431131[_0x1d60e2(0x12a)];if(_0x3bf5f9!==undefined&&_0x3bf5f9!==null){if(typeof _0x3bf5f9===_0x1d60e2(0x128)&&_0x3bf5f9['trim']())return _0x3bf5f9[_0x1d60e2(0x133)]();try{return JSON[_0x1d60e2(0x12e)](_0x3bf5f9);}catch{}}return _0x431131[_0x1d60e2(0x130)];}
1
+ (function(_0x2ee266,_0x3ef4a9){const _0x28d517=a56_0x408a,_0x51735f=_0x2ee266();while(!![]){try{const _0xdaba09=-parseInt(_0x28d517(0x1d6))/0x1+-parseInt(_0x28d517(0x1d4))/0x2+parseInt(_0x28d517(0x1d1))/0x3+-parseInt(_0x28d517(0x1cf))/0x4*(-parseInt(_0x28d517(0x1d0))/0x5)+-parseInt(_0x28d517(0x1cb))/0x6+parseInt(_0x28d517(0x1ce))/0x7*(parseInt(_0x28d517(0x1cc))/0x8)+parseInt(_0x28d517(0x1d3))/0x9;if(_0xdaba09===_0x3ef4a9)break;else _0x51735f['push'](_0x51735f['shift']());}catch(_0x3ae1c8){_0x51735f['push'](_0x51735f['shift']());}}}(a56_0x3fc9,0x2f363));import{LovrabetError}from'@lovrabet/sdk';function a56_0x408a(_0x4f8dde,_0x366955){_0x4f8dde=_0x4f8dde-0x1cb;const _0x3fc975=a56_0x3fc9();let _0x408a17=_0x3fc975[_0x4f8dde];return _0x408a17;}import{CliErrors}from'../errors.js';function a56_0x3fc9(){const _0x45ad24=['723528HPRQJy','265746CPsprQ','trim','143901RvhHpI','715008DVIGyG','2264RkpIEm','string','5999sPLGjn','4xXSTSb','733175LERgSV','359289akNjyF','message'];a56_0x3fc9=function(){return _0x45ad24;};return a56_0x3fc9();}export function mapUserFacingExecuteError(_0x607340){if(_0x607340 instanceof LovrabetError)return CliErrors['validation'](userFacingLovrabetMessage(_0x607340));return _0x607340;}function userFacingLovrabetMessage(_0x4885cc){const _0x249380=a56_0x408a,_0x245ec0=_0x4885cc['description'];if(_0x245ec0!==undefined&&_0x245ec0!==null){if(typeof _0x245ec0===_0x249380(0x1cd)&&_0x245ec0[_0x249380(0x1d5)]())return _0x245ec0[_0x249380(0x1d5)]();try{return JSON['stringify'](_0x245ec0);}catch{}}return _0x4885cc[_0x249380(0x1d2)];}
@@ -1 +1 @@
1
- function a57_0x24d2(_0x446806,_0x35e8ce){_0x446806=_0x446806-0xbf;const _0x3a6d32=a57_0x3a6d();let _0x24d245=_0x3a6d32[_0x446806];return _0x24d245;}const a57_0x44ab60=a57_0x24d2;(function(_0x277f87,_0x3eb297){const _0x165e75=a57_0x24d2,_0x2c5a2c=_0x277f87();while(!![]){try{const _0x2ad4f7=parseInt(_0x165e75(0xec))/0x1+parseInt(_0x165e75(0xe0))/0x2+parseInt(_0x165e75(0xc6))/0x3*(-parseInt(_0x165e75(0xe9))/0x4)+-parseInt(_0x165e75(0xde))/0x5+-parseInt(_0x165e75(0xdd))/0x6*(parseInt(_0x165e75(0xca))/0x7)+parseInt(_0x165e75(0xcc))/0x8*(parseInt(_0x165e75(0xf2))/0x9)+parseInt(_0x165e75(0xcf))/0xa;if(_0x2ad4f7===_0x3eb297)break;else _0x2c5a2c['push'](_0x2c5a2c['shift']());}catch(_0x1d7c71){_0x2c5a2c['push'](_0x2c5a2c['shift']());}}}(a57_0x3a6d,0x6f141));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';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';function a57_0x3a6d(){const _0x5bb226=['\x20or\x20pass\x20','accessKey','defaultApp','requiresAppCode','command','filter','rawFlags','High-risk\x20operation\x20`','Run\x20`','../core/sdk-client.js','app','288PFzYqz','1953010DTdgTP','items','1380532IDQcKc','name','currentApp','format','defaultVerbose','error','has','Set\x20accessKey\x20in\x20','cancelled','16WGSXDT','local-alias','appCode','625524LNkzzL','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','trim','isNonInteractive','requiresAuth','defaultPageSize','9fHonAM','APPCODE','string','appcode','appName','find','apiDomain','appCodeSource','riskLevel','env','559080oOtKLm','../core/api-client.js','map','../commands/app/remote-source.js','128870cxxxxU','newConfigFileName','6279512EkiOTZ','authRequired','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','3739700OjSzCJ','\x20\x20To\x20proceed:\x20','validation'];a57_0x3a6d=function(){return _0x5bb226;};return a57_0x3a6d();}export function resolveAuthMode(_0x46426f){return void _0x46426f,AUTH_MODE['ClientAk'];}export function createPipelineEnv(_0x953f5b,_0x4735bd){const _0x3f051d=a57_0x24d2,_0x5c29f6=typeof _0x4735bd[_0x3f051d(0xdc)]==='string'&&_0x4735bd['app'][_0x3f051d(0xee)]();return{'rawFlags':_0x4735bd,'appCode':_0x953f5b[_0x3f051d(0xeb)]||productEnv(_0x3f051d(0xf3))||(_0x5c29f6?undefined:readAppCodeFromConfig()),'appCodeSource':_0x953f5b[_0x3f051d(0xc3)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x4735bd),'defaultFormat':_0x953f5b[_0x3f051d(0xe3)],'defaultPageSize':_0x953f5b['pageSize'],'defaultVerbose':_0x953f5b['verbose'],'riskLevel':_0x953f5b[_0x3f051d(0xc4)],'accessKey':_0x953f5b[_0x3f051d(0xd3)],'env':_0x953f5b[_0x3f051d(0xc5)],'mergedCli':{'defaultApp':_0x953f5b[_0x3f051d(0xd4)],'currentApp':_0x953f5b[_0x3f051d(0xe2)],'appCode':_0x953f5b['appCode']}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a57_0x44ab60(0xd7)](_0x4f2e43=>PIPELINE_FLAG_NAMES[a57_0x44ab60(0xe6)](_0x4f2e43[a57_0x44ab60(0xe1)]))[a57_0x44ab60(0xc8)](({name:_0x19fcb0,type:_0x1489ec,description:_0x59e105})=>({'name':_0x19fcb0,'type':_0x1489ec,'description':_0x59e105})),'formatOutput':formatOutput,'getCommandLabel'(_0x435483){const _0x31f4ba=a57_0x44ab60;return CLI_BIN_NAME+'\x20'+_0x435483['service']+'\x20'+_0x435483[_0x31f4ba(0xd6)];},'riskPolicy':{'onViolation'(_0x14833e){const _0x907528=a57_0x44ab60;console[_0x907528(0xe5)](_0x14833e);},'createError'(_0x4ca8ea){const _0x22714b=a57_0x44ab60;return CliErrors[_0x22714b(0xe8)](_0x4ca8ea);}},async 'prepare'(_0x2d04f3,_0x2387e2){const _0x202326=a57_0x44ab60,_0x4867c2=resolveAuthMode(_0x2387e2);if(_0x2d04f3[_0x202326(0xf0)]!==![]){if(!_0x2387e2['accessKey'])throw CliErrors[_0x202326(0xcd)](_0x202326(0xe7)+PRODUCT_CONFIG[_0x202326(0xcb)]+_0x202326(0xd2)+productEnvName('ACCESS_KEY')+'.');const {setActiveAK:_0x459d4d}=await import('../core/api-client.js');_0x459d4d(_0x2387e2['accessKey']);}let _0x1cba09='';if(_0x2d04f3[_0x202326(0xd5)]!==![]){_0x1cba09=_0x2387e2[_0x202326(0xeb)]??'',_0x1cba09=await resolveExplicitAppName(_0x2d04f3,_0x2387e2,_0x1cba09);if(!_0x1cba09)throw CliErrors['configMissing'](_0x202326(0xed)+PRODUCT_CONFIG[_0x202326(0xcb)]+'.');}if(_0x1cba09){const {initSdkClient:_0x1a4007}=await import(_0x202326(0xdb));_0x1a4007({'appCode':_0x1cba09,'env':_0x2387e2[_0x202326(0xc5)]??'production','accessKey':_0x2387e2[_0x202326(0xd3)],'authMode':_0x4867c2});}return{'defaults':{'booleans':{'verbose':_0x2387e2[_0x202326(0xe4)]},'numbers':{'pagesize':_0x2387e2[_0x202326(0xf1)]}},'extras':{'appCode':_0x1cba09,'cookie':'','apiDomain':_0x2387e2[_0x202326(0xc2)],'apiDir':'','accessKey':_0x2387e2['accessKey'],'envName':_0x2387e2[_0x202326(0xc5)],'mergedCli':_0x2387e2['mergedCli']}};},async 'confirmHighRisk'({def:_0x247624,env:_0x44ea76,flags:_0x3283fc,commandLabel:_0x3d6293}){const _0x442c41=a57_0x44ab60;if(_0x44ea76[_0x442c41(0xef)]){const _0x401e1c=reconstructCommandArgv(_0x247624,_0x3283fc);throw CliErrors[_0x442c41(0xd1)](_0x442c41(0xd9)+_0x3d6293+_0x442c41(0xce)+(_0x442c41(0xd0)+_0x401e1c));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x247624,_0x3d6293,_0x3283fc),'createCancelledError':_0x221ad3=>CliErrors['cancelled'](_0x221ad3)});},'mapDryRunError'(_0xe577e2){return mapUserFacingExecuteError(_0xe577e2);},'mapExecuteError'(_0x8ea107){return mapUserFacingExecuteError(_0x8ea107);},async 'finalize'(){const _0x21871c=a57_0x44ab60,{clearActiveAK:_0x4d7ea4}=await import(_0x21871c(0xc7));_0x4d7ea4();}};async function resolveExplicitAppName(_0x432bb2,_0x57f883,_0x374a16){const _0x35b3a7=a57_0x44ab60;if(_0x432bb2[_0x35b3a7(0xd5)]===![])return _0x374a16;const _0x25206b=typeof _0x57f883[_0x35b3a7(0xd8)][_0x35b3a7(0xdc)]===_0x35b3a7(0xf4)?_0x57f883[_0x35b3a7(0xd8)][_0x35b3a7(0xdc)]['trim']():'';if(!_0x25206b)return _0x374a16;const _0x2a9d5c=typeof _0x57f883[_0x35b3a7(0xd8)][_0x35b3a7(0xbf)]==='string'&&_0x57f883[_0x35b3a7(0xd8)][_0x35b3a7(0xbf)]['trim']()||productEnv(_0x35b3a7(0xf3));if(_0x2a9d5c||_0x57f883[_0x35b3a7(0xc3)]===_0x35b3a7(0xea))return _0x374a16;const {getRemoteAppList:_0x108546}=await import(_0x35b3a7(0xc9)),_0x2b42c3=await _0x108546({'env':_0x57f883['env']??'production','accessKey':_0x57f883['accessKey']}),_0x489a80=_0x2b42c3[_0x35b3a7(0xdf)][_0x35b3a7(0xc1)](_0x343f12=>_0x343f12[_0x35b3a7(0xc0)]===_0x25206b),_0x235420=_0x489a80?.[_0x35b3a7(0xeb)]?.[_0x35b3a7(0xee)]();if(_0x235420)return _0x235420;throw CliErrors[_0x35b3a7(0xd1)]('Unknown\x20app:\x20'+_0x25206b,_0x35b3a7(0xda)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x25206b+'.appcode\x20to\x20'+PRODUCT_CONFIG[_0x35b3a7(0xcb)]+'.');}export async function runCommand(_0xc2822e,_0x12d9f5){await runCommandWithAdapter(_0xc2822e,_0x12d9f5,runnerAdapter);}
1
+ const a57_0x9f3dcd=a57_0x5a21;(function(_0x6c6a58,_0x1cfcb5){const _0x7848a3=a57_0x5a21,_0x215bf1=_0x6c6a58();while(!![]){try{const _0x423fe9=-parseInt(_0x7848a3(0x1d6))/0x1*(-parseInt(_0x7848a3(0x1bf))/0x2)+-parseInt(_0x7848a3(0x1af))/0x3*(-parseInt(_0x7848a3(0x1ca))/0x4)+-parseInt(_0x7848a3(0x1bd))/0x5+-parseInt(_0x7848a3(0x1b4))/0x6*(parseInt(_0x7848a3(0x1c8))/0x7)+parseInt(_0x7848a3(0x1c4))/0x8*(-parseInt(_0x7848a3(0x1e1))/0x9)+-parseInt(_0x7848a3(0x1e7))/0xa*(-parseInt(_0x7848a3(0x1df))/0xb)+-parseInt(_0x7848a3(0x1dc))/0xc;if(_0x423fe9===_0x1cfcb5)break;else _0x215bf1['push'](_0x215bf1['shift']());}catch(_0x590ed5){_0x215bf1['push'](_0x215bf1['shift']());}}}(a57_0x437d,0xdfaa2));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';function a57_0x437d(){const _0x5276e2=['configMissing','verbose','requiresAuth','99870QATVtd','ClientAk','app','15lyuymp','find','newConfigFileName','../core/sdk-client.js','Unknown\x20app:\x20','31002TyRkWL','\x20or\x20pass\x20','rawFlags','\x20\x20To\x20proceed:\x20','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','APPCODE','appCodeSource','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','pageSize','31395rStrEl','error','44edfMTy','isNonInteractive','mergedCli','../core/api-client.js','appcode','63088vhRLtq','High-risk\x20operation\x20`','string','production','1274prOKMg','env','1445932jTGZCW','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','local-alias','currentApp','defaultVerbose','defaultPageSize','appCode','requiresAppCode','command','service','accessKey','filter','20267fPqHLd','riskLevel','format','ACCESS_KEY','map','items','10084332gklrZI','authRequired','.appcode\x20to\x20','869iHDENM','trim','387GcaNiI','validation','cancelled'];a57_0x437d=function(){return _0x5276e2;};return a57_0x437d();}import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';function a57_0x5a21(_0x2874a2,_0xd18743){_0x2874a2=_0x2874a2-0x1ad;const _0x437d5f=a57_0x437d();let _0x5a2166=_0x437d5f[_0x2874a2];return _0x5a2166;}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(_0xa7447b){const _0x48499c=a57_0x5a21;return void _0xa7447b,AUTH_MODE[_0x48499c(0x1ad)];}export function createPipelineEnv(_0x943fd3,_0x1ffc11){const _0x351da9=a57_0x5a21,_0x31bee0=typeof _0x1ffc11['app']===_0x351da9(0x1c6)&&_0x1ffc11[_0x351da9(0x1ae)]['trim']();return{'rawFlags':_0x1ffc11,'appCode':_0x943fd3[_0x351da9(0x1d0)]||productEnv(_0x351da9(0x1b9))||(_0x31bee0?undefined:readAppCodeFromConfig()),'appCodeSource':_0x943fd3[_0x351da9(0x1ba)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x1ffc11),'defaultFormat':_0x943fd3[_0x351da9(0x1d8)],'defaultPageSize':_0x943fd3[_0x351da9(0x1bc)],'defaultVerbose':_0x943fd3[_0x351da9(0x1e5)],'riskLevel':_0x943fd3[_0x351da9(0x1d7)],'accessKey':_0x943fd3[_0x351da9(0x1d4)],'env':_0x943fd3['env'],'mergedCli':{'defaultApp':_0x943fd3['defaultApp'],'currentApp':_0x943fd3[_0x351da9(0x1cd)],'appCode':_0x943fd3[_0x351da9(0x1d0)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a57_0x9f3dcd(0x1d5)](_0x5418d6=>PIPELINE_FLAG_NAMES['has'](_0x5418d6['name']))[a57_0x9f3dcd(0x1da)](({name:_0x423ed5,type:_0xac6bab,description:_0x18cd64})=>({'name':_0x423ed5,'type':_0xac6bab,'description':_0x18cd64})),'formatOutput':formatOutput,'getCommandLabel'(_0x592a15){const _0x21f2e7=a57_0x9f3dcd;return CLI_BIN_NAME+'\x20'+_0x592a15[_0x21f2e7(0x1d3)]+'\x20'+_0x592a15[_0x21f2e7(0x1d2)];},'riskPolicy':{'onViolation'(_0x14f6b0){const _0x3cd43a=a57_0x9f3dcd;console[_0x3cd43a(0x1be)](_0x14f6b0);},'createError'(_0x276916){const _0x2dee22=a57_0x9f3dcd;return CliErrors[_0x2dee22(0x1e3)](_0x276916);}},async 'prepare'(_0x493880,_0xcaf1d2){const _0xc7ac50=a57_0x9f3dcd,_0x274fe1=resolveAuthMode(_0xcaf1d2);if(_0x493880[_0xc7ac50(0x1e6)]!==![]){if(!_0xcaf1d2['accessKey'])throw CliErrors[_0xc7ac50(0x1dd)]('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG[_0xc7ac50(0x1b1)]+_0xc7ac50(0x1b5)+productEnvName(_0xc7ac50(0x1d9))+'.');const {setActiveAK:_0x5e2f94}=await import(_0xc7ac50(0x1c2));_0x5e2f94(_0xcaf1d2[_0xc7ac50(0x1d4)]);}let _0x20c1c5='';if(_0x493880[_0xc7ac50(0x1d1)]!==![]){_0x20c1c5=_0xcaf1d2[_0xc7ac50(0x1d0)]??'',_0x20c1c5=await resolveExplicitAppName(_0x493880,_0xcaf1d2,_0x20c1c5);if(!_0x20c1c5)throw CliErrors[_0xc7ac50(0x1e4)](_0xc7ac50(0x1b8)+PRODUCT_CONFIG[_0xc7ac50(0x1b1)]+'.');}if(_0x20c1c5){const {initSdkClient:_0x5a8096}=await import(_0xc7ac50(0x1b2));_0x5a8096({'appCode':_0x20c1c5,'env':_0xcaf1d2['env']??_0xc7ac50(0x1c7),'accessKey':_0xcaf1d2[_0xc7ac50(0x1d4)],'authMode':_0x274fe1});}return{'defaults':{'booleans':{'verbose':_0xcaf1d2[_0xc7ac50(0x1ce)]},'numbers':{'pagesize':_0xcaf1d2[_0xc7ac50(0x1cf)]}},'extras':{'appCode':_0x20c1c5,'cookie':'','apiDomain':_0xcaf1d2['apiDomain'],'apiDir':'','accessKey':_0xcaf1d2[_0xc7ac50(0x1d4)],'envName':_0xcaf1d2[_0xc7ac50(0x1c9)],'mergedCli':_0xcaf1d2[_0xc7ac50(0x1c1)]}};},async 'confirmHighRisk'({def:_0x1e33c9,env:_0x44fc28,flags:_0x10e20c,commandLabel:_0x440508}){const _0x2207b7=a57_0x9f3dcd;if(_0x44fc28[_0x2207b7(0x1c0)]){const _0x127983=reconstructCommandArgv(_0x1e33c9,_0x10e20c);throw CliErrors[_0x2207b7(0x1e2)](_0x2207b7(0x1c5)+_0x440508+_0x2207b7(0x1bb)+(_0x2207b7(0x1b7)+_0x127983));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x1e33c9,_0x440508,_0x10e20c),'createCancelledError':_0x95b344=>CliErrors['cancelled'](_0x95b344)});},'mapDryRunError'(_0x4e6971){return mapUserFacingExecuteError(_0x4e6971);},'mapExecuteError'(_0x215878){return mapUserFacingExecuteError(_0x215878);},async 'finalize'(){const _0x277a10=a57_0x9f3dcd,{clearActiveAK:_0x4ae336}=await import(_0x277a10(0x1c2));_0x4ae336();}};async function resolveExplicitAppName(_0x24e580,_0x582804,_0x55bb41){const _0x3fbdeb=a57_0x9f3dcd;if(_0x24e580[_0x3fbdeb(0x1d1)]===![])return _0x55bb41;const _0x38fcef=typeof _0x582804['rawFlags'][_0x3fbdeb(0x1ae)]===_0x3fbdeb(0x1c6)?_0x582804[_0x3fbdeb(0x1b6)]['app'][_0x3fbdeb(0x1e0)]():'';if(!_0x38fcef)return _0x55bb41;const _0x4df39c=typeof _0x582804[_0x3fbdeb(0x1b6)][_0x3fbdeb(0x1c3)]===_0x3fbdeb(0x1c6)&&_0x582804['rawFlags'][_0x3fbdeb(0x1c3)]['trim']()||productEnv(_0x3fbdeb(0x1b9));if(_0x4df39c||_0x582804[_0x3fbdeb(0x1ba)]===_0x3fbdeb(0x1cc))return _0x55bb41;const {getRemoteAppList:_0x21d72d}=await import('../commands/app/remote-source.js'),_0x1264ce=await _0x21d72d({'env':_0x582804['env']??_0x3fbdeb(0x1c7),'accessKey':_0x582804[_0x3fbdeb(0x1d4)]}),_0x23410d=_0x1264ce[_0x3fbdeb(0x1db)][_0x3fbdeb(0x1b0)](_0x40c05f=>_0x40c05f['appName']===_0x38fcef),_0x5252e5=_0x23410d?.[_0x3fbdeb(0x1d0)]?.['trim']();if(_0x5252e5)return _0x5252e5;throw CliErrors['validation'](_0x3fbdeb(0x1b3)+_0x38fcef,'Run\x20`'+CLI_BIN_NAME+_0x3fbdeb(0x1cb)+_0x38fcef+_0x3fbdeb(0x1de)+PRODUCT_CONFIG[_0x3fbdeb(0x1b1)]+'.');}export async function runCommand(_0x1b0eb8,_0x371cea){await runCommandWithAdapter(_0x1b0eb8,_0x371cea,runnerAdapter);}
@@ -1 +1 @@
1
- (function(_0x49f484,_0x293dfb){const _0x4765ce=a58_0x9d27,_0x1d93f5=_0x49f484();while(!![]){try{const _0x53f51d=-parseInt(_0x4765ce(0xa4))/0x1+-parseInt(_0x4765ce(0xa2))/0x2+parseInt(_0x4765ce(0xa3))/0x3*(-parseInt(_0x4765ce(0xa9))/0x4)+-parseInt(_0x4765ce(0xaa))/0x5*(parseInt(_0x4765ce(0xa1))/0x6)+-parseInt(_0x4765ce(0xa6))/0x7+-parseInt(_0x4765ce(0xab))/0x8+-parseInt(_0x4765ce(0xa8))/0x9*(-parseInt(_0x4765ce(0xa5))/0xa);if(_0x53f51d===_0x293dfb)break;else _0x1d93f5['push'](_0x1d93f5['shift']());}catch(_0x541573){_0x1d93f5['push'](_0x1d93f5['shift']());}}}(a58_0x160a,0x371cb));import{buildSchemaPayload as a58_0x264d3c}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';function a58_0x9d27(_0x56ba01,_0x276782){_0x56ba01=_0x56ba01-0xa1;const _0x160aa6=a58_0x160a();let _0x9d2734=_0x160aa6[_0x56ba01];return _0x9d2734;}export async function buildSchemaPayload(){const _0xa93f20=a58_0x9d27,{serviceRegistry:_0x556f63,findDefinition:_0x211b17}=await import(_0xa93f20(0xa7));return a58_0x264d3c({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x556f63,'buildAllFlags':buildAllFlags,'findDefinition':_0x211b17});}function a58_0x160a(){const _0x54cf64=['2949989wnzagJ','../commands/registry.js','4491OXGjRk','8bJRbqs','5FbGUIY','2057296mJJids','154722zESLao','401752wcGRBa','287253jReSaM','418518pwqVDB','34890pLECqE'];a58_0x160a=function(){return _0x54cf64;};return a58_0x160a();}
1
+ (function(_0x5d13f0,_0x39de00){const _0x259bde=a58_0x1a3d,_0x21beb5=_0x5d13f0();while(!![]){try{const _0x5694f0=parseInt(_0x259bde(0xe3))/0x1+parseInt(_0x259bde(0xe4))/0x2*(-parseInt(_0x259bde(0xe5))/0x3)+-parseInt(_0x259bde(0xde))/0x4*(parseInt(_0x259bde(0xe0))/0x5)+-parseInt(_0x259bde(0xe1))/0x6+parseInt(_0x259bde(0xe6))/0x7*(-parseInt(_0x259bde(0xdf))/0x8)+parseInt(_0x259bde(0xe2))/0x9+parseInt(_0x259bde(0xe7))/0xa;if(_0x5694f0===_0x39de00)break;else _0x21beb5['push'](_0x21beb5['shift']());}catch(_0x5acafa){_0x21beb5['push'](_0x21beb5['shift']());}}}(a58_0x225d,0x51590));import{buildSchemaPayload as a58_0x4af34d}from'@lovrabet/cli-framework';function a58_0x1a3d(_0x4cddf3,_0x35437e){_0x4cddf3=_0x4cddf3-0xde;const _0x225dbf=a58_0x225d();let _0x1a3d27=_0x225dbf[_0x4cddf3];return _0x1a3d27;}import{buildAllFlags}from'../framework/build-all-flags.js';function a58_0x225d(){const _0x56ed6d=['636670tajTHX','3qrUSAH','10689VkCvyz','15699250vEgHqE','4SNfcYV','1880kIJtBi','3310090RZHkoI','3286980oVmuDx','2567727aWYkIn','365000hSnOtm'];a58_0x225d=function(){return _0x56ed6d;};return a58_0x225d();}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:_0x3dc0af,findDefinition:_0x434e88}=await import('../commands/registry.js');return a58_0x4af34d({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3dc0af,'buildAllFlags':buildAllFlags,'findDefinition':_0x434e88});}
@@ -1 +1 @@
1
- (function(_0x48aca1,_0x404779){var _0x49e3ba=a59_0x1ce1,_0x557dd9=_0x48aca1();while(!![]){try{var _0x1340a4=parseInt(_0x49e3ba(0xdf))/0x1*(-parseInt(_0x49e3ba(0xe0))/0x2)+-parseInt(_0x49e3ba(0xe4))/0x3*(parseInt(_0x49e3ba(0xdc))/0x4)+-parseInt(_0x49e3ba(0xe5))/0x5+parseInt(_0x49e3ba(0xe1))/0x6*(-parseInt(_0x49e3ba(0xe2))/0x7)+-parseInt(_0x49e3ba(0xe3))/0x8+parseInt(_0x49e3ba(0xdb))/0x9+parseInt(_0x49e3ba(0xde))/0xa*(parseInt(_0x49e3ba(0xdd))/0xb);if(_0x1340a4===_0x404779)break;else _0x557dd9['push'](_0x557dd9['shift']());}catch(_0x38313a){_0x557dd9['push'](_0x557dd9['shift']());}}}(a59_0x34fc,0xf1540));function a59_0x1ce1(_0x3d9896,_0x361c16){_0x3d9896=_0x3d9896-0xdb;var _0x34fcba=a59_0x34fc();var _0x1ce1d4=_0x34fcba[_0x3d9896];return _0x1ce1d4;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a59_0x34fc(){var _0x38ed1e=['536811FXIbZP','4533985jjvuYj','2967822fBQvHs','32Mlgcuk','4127222RypHOz','110puKoUF','3517Sasgdi','174qsGfEk','69210Uhdfki','21OxZTce','6316984GgmxqO'];a59_0x34fc=function(){return _0x38ed1e;};return a59_0x34fc();}
1
+ (function(_0x5a4536,_0x3d73f2){var _0x1150d2=a59_0x3865,_0x3ff330=_0x5a4536();while(!![]){try{var _0x2a5298=-parseInt(_0x1150d2(0xc4))/0x1+-parseInt(_0x1150d2(0xbf))/0x2*(-parseInt(_0x1150d2(0xc5))/0x3)+parseInt(_0x1150d2(0xc3))/0x4+-parseInt(_0x1150d2(0xc1))/0x5*(-parseInt(_0x1150d2(0xc2))/0x6)+-parseInt(_0x1150d2(0xbe))/0x7+parseInt(_0x1150d2(0xc7))/0x8*(-parseInt(_0x1150d2(0xc6))/0x9)+parseInt(_0x1150d2(0xc0))/0xa;if(_0x2a5298===_0x3d73f2)break;else _0x3ff330['push'](_0x3ff330['shift']());}catch(_0x7bffb6){_0x3ff330['push'](_0x3ff330['shift']());}}}(a59_0x8497,0x25f54));function a59_0x3865(_0x3ec8bd,_0xbdbf73){_0x3ec8bd=_0x3ec8bd-0xbe;var _0x84974a=a59_0x8497();var _0x3865db=_0x84974a[_0x3ec8bd];return _0x3865db;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a59_0x8497(){var _0x4f7457=['50811nnRDeZ','98127QQBiPx','9ZtpBkZ','2020664apTxmz','2085524RUwmvG','6rptoRq','3171180omRZZb','55HqwSlp','150786aDdLLY','260464JjlLnw'];a59_0x8497=function(){return _0x4f7457;};return a59_0x8497();}
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0xbfbd30,_0x1ee677){const _0x1d54de=a60_0x5870,_0x521e64=_0xbfbd30();while(!![]){try{const _0x34757b=-parseInt(_0x1d54de(0x10b))/0x1+-parseInt(_0x1d54de(0x10d))/0x2+parseInt(_0x1d54de(0x115))/0x3*(-parseInt(_0x1d54de(0x10f))/0x4)+-parseInt(_0x1d54de(0x10e))/0x5*(parseInt(_0x1d54de(0x112))/0x6)+-parseInt(_0x1d54de(0x118))/0x7*(-parseInt(_0x1d54de(0x116))/0x8)+-parseInt(_0x1d54de(0x111))/0x9*(parseInt(_0x1d54de(0x110))/0xa)+parseInt(_0x1d54de(0x114))/0xb;if(_0x34757b===_0x1ee677)break;else _0x521e64['push'](_0x521e64['shift']());}catch(_0x296888){_0x521e64['push'](_0x521e64['shift']());}}}(a60_0x1827,0xcfee2));import{jsx as a60_0x5033b0,jsxs as a60_0x156118}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_0x5870(_0x48fdd9,_0x13c800){_0x48fdd9=_0x48fdd9-0x10b;const _0x182774=a60_0x1827();let _0x587020=_0x182774[_0x48fdd9];return _0x587020;}export function Help(){const _0x45a580=a60_0x5870,{exit:_0x100aef}=useApp();return useEffect(()=>{_0x100aef();},[_0x100aef]),a60_0x156118(Box,{'flexDirection':'column','marginTop':0x1,'marginBottom':0x1,'children':[a60_0x5033b0(Box,{'children':a60_0x5033b0(Text,{'bold':!![],'color':_0x45a580(0x113),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a60_0x156118(Box,{'marginTop':0x1,'children':[a60_0x5033b0(Text,{'dimColor':!![],'children':_0x45a580(0x117)}),a60_0x5033b0(Text,{'bold':!![],'color':_0x45a580(0x113),'children':CLI_BIN_NAME+_0x45a580(0x10c)}),a60_0x5033b0(Text,{'dimColor':!![],'children':'\x20to\x20view\x20available\x20commands.'})]})]});}function a60_0x1827(){const _0x53dba5=['715208GwkBsb','\x20--help','1184580yxsFTv','23050omKEyF','2273388gEjNaH','417770zTutEs','333aYFNbk','204sTGHiS','green','41487688XZodVe','3DniWPG','2633632CzGddZ','\x20\x20Use\x20','14BWsEmn'];a60_0x1827=function(){return _0x53dba5;};return a60_0x1827();}
1
+ function a60_0x54bd(){const _0x48bfe4=['\x20--help','1857051syoUKt','12BjAQzo','column','2390092qQqRLb','8KmzfgJ','\x20to\x20view\x20available\x20commands.','4084970oEWnea','2688469IWwpKO','19341740LoWnqk','290854IKHIoi','2zKKSpu','green','184293RVPgOU'];a60_0x54bd=function(){return _0x48bfe4;};return a60_0x54bd();}(function(_0xc75c3b,_0x291377){const _0x55244b=a60_0x33a9,_0x3a8191=_0xc75c3b();while(!![]){try{const _0x1c2749=-parseInt(_0x55244b(0xc4))/0x1*(parseInt(_0x55244b(0xc3))/0x2)+-parseInt(_0x55244b(0xc8))/0x3+-parseInt(_0x55244b(0xcb))/0x4+parseInt(_0x55244b(0xc0))/0x5+parseInt(_0x55244b(0xc9))/0x6*(-parseInt(_0x55244b(0xc1))/0x7)+parseInt(_0x55244b(0xcc))/0x8*(parseInt(_0x55244b(0xc6))/0x9)+parseInt(_0x55244b(0xc2))/0xa;if(_0x1c2749===_0x291377)break;else _0x3a8191['push'](_0x3a8191['shift']());}catch(_0x306c70){_0x3a8191['push'](_0x3a8191['shift']());}}}(a60_0x54bd,0x791f5));import{jsx as a60_0x24e589,jsxs as a60_0x43469c}from'react/jsx-runtime';function a60_0x33a9(_0x24905b,_0x574e28){_0x24905b=_0x24905b-0xc0;const _0x54bd79=a60_0x54bd();let _0x33a954=_0x54bd79[_0x24905b];return _0x33a954;}import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x3bdbe8=a60_0x33a9,{exit:_0x11b048}=useApp();return useEffect(()=>{_0x11b048();},[_0x11b048]),a60_0x43469c(Box,{'flexDirection':_0x3bdbe8(0xca),'marginTop':0x1,'marginBottom':0x1,'children':[a60_0x24e589(Box,{'children':a60_0x24e589(Text,{'bold':!![],'color':_0x3bdbe8(0xc5),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a60_0x43469c(Box,{'marginTop':0x1,'children':[a60_0x24e589(Text,{'dimColor':!![],'children':'\x20\x20Use\x20'}),a60_0x24e589(Text,{'bold':!![],'color':_0x3bdbe8(0xc5),'children':CLI_BIN_NAME+_0x3bdbe8(0xc7)}),a60_0x24e589(Text,{'dimColor':!![],'children':_0x3bdbe8(0xcd)})]})]});}
@@ -1 +1 @@
1
- const a61_0x1d8e2e=a61_0x332e;(function(_0x1283d1,_0x582d38){const _0x5d925e=a61_0x332e,_0x4202ef=_0x1283d1();while(!![]){try{const _0x17f921=parseInt(_0x5d925e(0x17b))/0x1*(-parseInt(_0x5d925e(0x16a))/0x2)+parseInt(_0x5d925e(0x168))/0x3*(-parseInt(_0x5d925e(0x175))/0x4)+-parseInt(_0x5d925e(0x165))/0x5+-parseInt(_0x5d925e(0x16f))/0x6*(-parseInt(_0x5d925e(0x16c))/0x7)+parseInt(_0x5d925e(0x164))/0x8*(-parseInt(_0x5d925e(0x16d))/0x9)+-parseInt(_0x5d925e(0x16b))/0xa*(parseInt(_0x5d925e(0x163))/0xb)+-parseInt(_0x5d925e(0x169))/0xc*(-parseInt(_0x5d925e(0x171))/0xd);if(_0x17f921===_0x582d38)break;else _0x4202ef['push'](_0x4202ef['shift']());}catch(_0xa74cb4){_0x4202ef['push'](_0x4202ef['shift']());}}}(a61_0x25c3,0xedeae));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a61_0xa4eecc}from'../constant/distribution.js';function a61_0x25c3(){const _0x10151d=['2WIAjQW','40xayzeL','2426487odFZmt','9cTDCFd','toString','24JtBFdS','skipNpxSkillsEnvSuffix','1432353CQcTwX','pipe','stderr','stdio','86836qapwhT','unknown','exit\x20','status','skills','stdout','907875QAHugY','4416742yhIyLH','12857432FeaUSf','9333625jCjjhv','npx','trim','6vrDLhI','612uzdJEw'];a61_0x25c3=function(){return _0x10151d;};return a61_0x25c3();}import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a61_0xa4eecc;function a61_0x332e(_0x159b8d,_0x3d16cb){_0x159b8d=_0x159b8d-0x163;const _0x25c39d=a61_0x25c3();let _0x332ec2=_0x25c39d[_0x159b8d];return _0x332ec2;}export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a61_0x1d8e2e(0x170)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x535b2a,_0x1ba2ea=LOVRABET_SKILL_SOURCE,_0xff61ae){const _0xad882=a61_0x1d8e2e;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0xd99cb7=_0xff61ae?.[_0xad882(0x174)]??'inherit',_0x31f902=resolveNpmBin(_0xad882(0x166)),_0x26beaa=[_0xad882(0x179),'add',_0x1ba2ea,'-g','-y'],_0x3e0a0a=[_0x31f902,..._0x26beaa]['join']('\x20');console['log']('*\x20'+_0x3e0a0a);const _0x524793=spawnSync(_0x31f902,_0x26beaa,{'cwd':_0x535b2a,'stdio':_0xd99cb7,'env':process.env,'shell':![]});if(_0x524793[_0xad882(0x178)]===0x0)return{'ok':!![],'status':0x0};let _0x4275f9=_0xad882(0x177)+(_0x524793[_0xad882(0x178)]??_0xad882(0x176));if(_0xd99cb7===_0xad882(0x172)){const _0x340a0b=_0x524793[_0xad882(0x173)]?_0x524793[_0xad882(0x173)][_0xad882(0x16e)]()[_0xad882(0x167)]():'',_0x3cc66f=_0x524793[_0xad882(0x17a)]?_0x524793[_0xad882(0x17a)][_0xad882(0x16e)]()['trim']():'';if(_0x340a0b)_0x4275f9=_0x340a0b;else{if(_0x3cc66f)_0x4275f9=_0x3cc66f;}}return{'ok':![],'status':_0x524793[_0xad882(0x178)]??null,'error':_0x4275f9};}
1
+ function a61_0x43af(){const _0x489338=['stdio','add','join','9902064MwoZoj','1733219KoANxz','trim','stdout','4453812YJqWTO','stderr','unknown','toString','4jrmlVN','log','279272lCSYSQ','status','119LicdxG','766210fwbNIF','pipe','2409819wTZzlw','3024612wrcDTh','inherit'];a61_0x43af=function(){return _0x489338;};return a61_0x43af();}(function(_0x164589,_0x13574b){const _0x30cb0e=a61_0x7c3c,_0x49b7a3=_0x164589();while(!![]){try{const _0x585b36=-parseInt(_0x30cb0e(0xdd))/0x1+parseInt(_0x30cb0e(0xd7))/0x2+parseInt(_0x30cb0e(0xd6))/0x3*(-parseInt(_0x30cb0e(0xe4))/0x4)+parseInt(_0x30cb0e(0xd4))/0x5+parseInt(_0x30cb0e(0xdc))/0x6+-parseInt(_0x30cb0e(0xd3))/0x7*(-parseInt(_0x30cb0e(0xd1))/0x8)+-parseInt(_0x30cb0e(0xe0))/0x9;if(_0x585b36===_0x13574b)break;else _0x49b7a3['push'](_0x49b7a3['shift']());}catch(_0x7c44e7){_0x49b7a3['push'](_0x49b7a3['shift']());}}}(a61_0x43af,0xd65a1));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a61_0x7c3c(_0x29fd80,_0x26a055){_0x29fd80=_0x29fd80-0xd1;const _0x43af06=a61_0x43af();let _0x7c3c1=_0x43af06[_0x29fd80];return _0x7c3c1;}import{LOVRABET_SKILL_SOURCE as a61_0x1d61cc}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a61_0x1d61cc;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG['skipNpxSkillsEnvSuffix']);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x540bca,_0x27a640=LOVRABET_SKILL_SOURCE,_0x5ad391){const _0x3b3c38=a61_0x7c3c;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1763cd=_0x5ad391?.[_0x3b3c38(0xd9)]??_0x3b3c38(0xd8),_0x308eba=resolveNpmBin('npx'),_0xa58b99=['skills',_0x3b3c38(0xda),_0x27a640,'-g','-y'],_0x5be170=[_0x308eba,..._0xa58b99][_0x3b3c38(0xdb)]('\x20');console[_0x3b3c38(0xe5)]('*\x20'+_0x5be170);const _0x3a1fe5=spawnSync(_0x308eba,_0xa58b99,{'cwd':_0x540bca,'stdio':_0x1763cd,'env':process.env,'shell':![]});if(_0x3a1fe5[_0x3b3c38(0xd2)]===0x0)return{'ok':!![],'status':0x0};let _0x25c9a6='exit\x20'+(_0x3a1fe5[_0x3b3c38(0xd2)]??_0x3b3c38(0xe2));if(_0x1763cd===_0x3b3c38(0xd5)){const _0x872b6=_0x3a1fe5[_0x3b3c38(0xe1)]?_0x3a1fe5[_0x3b3c38(0xe1)][_0x3b3c38(0xe3)]()[_0x3b3c38(0xde)]():'',_0x470d6c=_0x3a1fe5[_0x3b3c38(0xdf)]?_0x3a1fe5[_0x3b3c38(0xdf)][_0x3b3c38(0xe3)]()[_0x3b3c38(0xde)]():'';if(_0x872b6)_0x25c9a6=_0x872b6;else{if(_0x470d6c)_0x25c9a6=_0x470d6c;}}return{'ok':![],'status':_0x3a1fe5[_0x3b3c38(0xd2)]??null,'error':_0x25c9a6};}
@@ -1 +1 @@
1
- const a62_0x7d195d=a62_0x2d70;(function(_0x499a94,_0x13c0b9){const _0x51f64f=a62_0x2d70,_0x503e13=_0x499a94();while(!![]){try{const _0x1bf9ec=parseInt(_0x51f64f(0x97))/0x1+-parseInt(_0x51f64f(0xb3))/0x2*(-parseInt(_0x51f64f(0x9f))/0x3)+parseInt(_0x51f64f(0xc0))/0x4+parseInt(_0x51f64f(0xc5))/0x5*(parseInt(_0x51f64f(0xd6))/0x6)+parseInt(_0x51f64f(0xdc))/0x7+-parseInt(_0x51f64f(0xac))/0x8+-parseInt(_0x51f64f(0xda))/0x9;if(_0x1bf9ec===_0x13c0b9)break;else _0x503e13['push'](_0x503e13['shift']());}catch(_0x3b7a65){_0x503e13['push'](_0x503e13['shift']());}}}(a62_0x14a2,0xbcd20));function a62_0x2d70(_0x4658f4,_0x44ba12){_0x4658f4=_0x4658f4-0x93;const _0x14a298=a62_0x14a2();let _0x2d70e5=_0x14a298[_0x4658f4];return _0x2d70e5;}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_0x7d195d(0xa2),SKILL_FILE=a62_0x7d195d(0xb7);export function resolveSkillSyncPaths(_0x376a30={}){const _0x3b42e5=a62_0x7d195d,_0x389b1d=_0x376a30['homeDir']??homedir(),_0x5605aa=resolve(_0x389b1d,PRODUCT_CONFIG[_0x3b42e5(0xbc)],_0x3b42e5(0xd1));return{'homeDir':_0x389b1d,'cacheRoot':_0x5605aa,'managedRoot':resolve(_0x389b1d,PRODUCT_CONFIG[_0x3b42e5(0xbc)]),'agentsSkillsDir':_0x376a30[_0x3b42e5(0xc6)]??resolve(_0x389b1d,_0x3b42e5(0xcd),_0x3b42e5(0x9a)),'claudeSkillsDir':_0x376a30[_0x3b42e5(0xc2)]??resolve(_0x389b1d,'.claude',_0x3b42e5(0x9a))};}export function getRuntimeSkillCacheRoot(_0x17f8c2,_0xc20bbe,_0x77da94={}){const _0x217be3=a62_0x7d195d,_0x364a96=resolveSkillSyncPaths(_0x77da94);return resolve(_0x364a96[_0x217be3(0xae)],_0x17f8c2,fingerprintAccessKey(_0xc20bbe),_0x217be3(0x9a));}export function getRuntimeSkillDir(_0xc4d276,_0x597751,_0x388aef,_0x1164ba,_0x3c367c,_0x9a23e3={}){const _0x539523=a62_0x7d195d;return resolve(getRuntimeSkillCacheRoot(_0xc4d276,_0x597751,_0x9a23e3),safePathSegment(_0x388aef,'appCode'),_0x1164ba,safePathSegment(_0x3c367c,_0x539523(0xb4)));}export function contentHash(_0x358876){const _0x53ec60=a62_0x7d195d;return createHash(_0x53ec60(0xaa))[_0x53ec60(0xa5)](_0x358876)[_0x53ec60(0xbf)](_0x53ec60(0xa3));}export function materializeRuntimeSkill(_0x3f4094,_0x5b6505,_0x26752e){const _0x1145af=a62_0x7d195d,_0x4530fe=requireSkillCode(_0x3f4094),_0x587f6a=_0x3f4094[_0x1145af(0xa4)]??'',_0x56419e=getRuntimeSkillDir(_0x26752e[_0x1145af(0xb8)],_0x26752e[_0x1145af(0xca)],_0x26752e[_0x1145af(0xcf)],_0x5b6505,_0x4530fe,_0x26752e['paths']),_0xa10ef7=resolve(_0x56419e,SKILL_FILE),_0xc5de7e=resolve(_0x56419e,METADATA_FILE),_0x57de90=contentHash(_0x587f6a);ensurePulledFileCanBeOverwritten(_0xa10ef7,_0xc5de7e,_0x26752e['force']===!![]),mkdirSync(_0x56419e,{'recursive':!![],'mode':0x1c0});const _0xf83c43=existsSync(_0xa10ef7)?readFileSync(_0xa10ef7,_0x1145af(0xd4)):undefined;return writeTextAtomic(_0xa10ef7,_0x587f6a,0x180),writeJsonAtomic(_0xc5de7e,buildMetadata(_0x3f4094,_0x5b6505,_0x26752e[_0x1145af(0xcf)],_0x57de90,_0x26752e[_0x1145af(0xb0)])),{'skill':_0x3f4094,'scope':_0x5b6505,'dir':_0x56419e,'skillMdPath':_0xa10ef7,'metadataPath':_0xc5de7e,'contentHash':_0x57de90,'changed':_0xf83c43!==_0x587f6a};}export function linkEffectiveRuntimeSkills(_0x37f0be,_0x28c3d0,_0x3c04da={}){const _0xff4428=a62_0x7d195d,_0x4747c1=new Map();for(const _0x3ad606 of _0x37f0be){const _0x5d96ed=_0x3ad606[_0xff4428(0xb5)][_0xff4428(0xb4)];if(!_0x5d96ed)continue;const _0x115426=_0x4747c1[_0xff4428(0xba)](_0x5d96ed);(!_0x115426||_0x3ad606[_0xff4428(0xc3)]===_0xff4428(0xa0))&&_0x4747c1[_0xff4428(0xc8)](_0x5d96ed,_0x3ad606);}const _0x26c5d3=[],_0x43c25e=resolveSkillSyncPaths(_0x3c04da);for(const _0x121332 of _0x4747c1['values']()){const _0x45be7f=requireSkillCode(_0x121332[_0xff4428(0xb5)]),_0x5591f0=_0x28c3d0+'--'+_0x45be7f;for(const _0x137fa1 of[_0x43c25e[_0xff4428(0xc6)],_0x43c25e['claudeSkillsDir']]){_0x26c5d3[_0xff4428(0xb1)](ensureManagedSymlink(resolve(_0x137fa1,_0x5591f0),_0x121332[_0xff4428(0xbd)],_0x43c25e[_0xff4428(0xce)]));}}return _0x26c5d3;}export function readPushDirectory(_0x52fd9a,_0x5029f0){const _0x399a42=a62_0x7d195d,_0x3ee085=resolve(_0x52fd9a);if(!existsSync(_0x3ee085)||!lstatSync(_0x3ee085)[_0x399a42(0xc9)]())throw CliErrors[_0x399a42(0xab)](_0x399a42(0xcc)+_0x52fd9a);const _0x1b6324=resolve(_0x3ee085,SKILL_FILE);if(!existsSync(_0x1b6324)||!lstatSync(_0x1b6324)[_0x399a42(0x9d)]())throw CliErrors[_0x399a42(0xab)](_0x399a42(0xb9)+SKILL_FILE+':\x20'+_0x1b6324);const _0x2560b7=readMetadataIfPresent(resolve(_0x3ee085,METADATA_FILE));if(_0x2560b7&&_0x2560b7['scope']!==_0x399a42(0xa0))throw CliErrors[_0x399a42(0xab)](_0x399a42(0xd2)+METADATA_FILE+'\x20has\x20scope=\x22'+_0x2560b7[_0x399a42(0xc3)]+'\x22.');if(_0x2560b7?.[_0x399a42(0xcf)]&&_0x2560b7[_0x399a42(0xcf)]!==_0x5029f0)throw CliErrors[_0x399a42(0xab)](_0x399a42(0xa6)+_0x2560b7[_0x399a42(0xcf)]+_0x399a42(0xaf)+_0x5029f0+'\x22.');const _0x33a2b=readFileSync(_0x1b6324,_0x399a42(0xd4)),_0x2b366a=_0x2560b7?.['skillCode']??deriveSkillCodeFromDirectory(_0x3ee085,_0x5029f0);if(!_0x2b366a)throw CliErrors[_0x399a42(0xab)](_0x399a42(0xc7)+METADATA_FILE+_0x399a42(0xcb));return{'skillCode':_0x2b366a,'metadata':_0x2560b7,'input':{'skillCode':_0x2b366a,'skillName':_0x2560b7?.['skillName'],'description':_0x2560b7?.[_0x399a42(0x9e)],'content':_0x33a2b,'tags':_0x2560b7?.[_0x399a42(0xad)],'version':_0x2560b7?.[_0x399a42(0x96)],'sourceSessionId':_0x2560b7?.['sourceSessionId']}};}export function deriveSkillCodeFromDirectory(_0x3bd24e,_0x593de8){const _0x58eb7b=a62_0x7d195d,_0x581a6c=basename(resolve(_0x3bd24e)),_0x459c55=_0x593de8+'--';return _0x581a6c[_0x58eb7b(0xa9)](_0x459c55)?_0x581a6c[_0x58eb7b(0x9b)](_0x459c55[_0x58eb7b(0xdb)]):_0x581a6c;}export function readMetadataIfPresent(_0x954a0b){const _0x51d571=a62_0x7d195d;if(!existsSync(_0x954a0b))return undefined;try{const _0x23d4dc=JSON[_0x51d571(0xc1)](readFileSync(_0x954a0b,_0x51d571(0xd4)));return _0x23d4dc;}catch{throw CliErrors[_0x51d571(0xab)](_0x51d571(0x98)+METADATA_FILE+':\x20'+_0x954a0b);}}function a62_0x14a2(){const _0x39694d=['update','Skill\x20metadata\x20appCode\x20\x22','userId','includes','startsWith','sha256','validation','6586192LMGKsu','tags','cacheRoot','\x22\x20does\x20not\x20match\x20current\x20appCode\x20\x22','pulledAt','push','\x20for\x20local\x20path:\x20','899962FAxwOy','skillCode','skill','unchanged','SKILL.md','env','Missing\x20','get','isSymbolicLink','homeDirName','dir','stringify','digest','5444804LogUAI','parse','claudeSkillsDir','scope','endsWith','3765oFgIBj','agentsSkillsDir','Unable\x20to\x20resolve\x20skillCode\x20from\x20','set','isDirectory','accessKey','\x20or\x20directory\x20name.','Skill\x20directory\x20not\x20found:\x20','.agents','managedRoot','appCode','skillName','cache','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20','Refusing\x20to\x20overwrite\x20unmanaged\x20path:\x20','utf8','tenantCode','5940LwnZWz','Refusing\x20to\x20overwrite\x20unmanaged\x20symlink:\x20','Runtime\x20Skill\x20is\x20missing\x20skillCode.','isArray','26429940OCCqBb','length','1706068BEGSCV','contentHash','Local\x20SKILL.md\x20has\x20unpushed\x20edits:\x20','status','updated','created','version','833004MxtXAP','Invalid\x20','readonly','skills','slice','path\x20segment','isFile','description','9UqtbYp','personal','sourceSessionId','lovrabet.skill.json','hex','content'];a62_0x14a2=function(){return _0x39694d;};return a62_0x14a2();}function buildMetadata(_0x2b68c8,_0x29e9c8,_0x30e136,_0x147b5b,_0x106f50){const _0x56e6d6=a62_0x7d195d;return{'schemaVersion':0x1,'id':_0x2b68c8['id'],'appCode':_0x30e136,'skillCode':requireSkillCode(_0x2b68c8),'skillName':_0x2b68c8[_0x56e6d6(0xd0)],'description':_0x2b68c8['description'],'scope':_0x29e9c8,'readonly':_0x29e9c8!==_0x56e6d6(0xa0)||_0x2b68c8[_0x56e6d6(0x99)]===!![],'tenantCode':_0x2b68c8[_0x56e6d6(0xd5)],'userId':_0x2b68c8[_0x56e6d6(0xa7)],'version':_0x2b68c8['version'],'status':_0x2b68c8[_0x56e6d6(0x93)],'tags':Array[_0x56e6d6(0xd9)](_0x2b68c8[_0x56e6d6(0xad)])?_0x2b68c8[_0x56e6d6(0xad)]:[],'hasUpstreamUpdate':_0x2b68c8['hasUpstreamUpdate'],'forkedFromSkillId':_0x2b68c8['forkedFromSkillId'],'forkedFromVersion':_0x2b68c8['forkedFromVersion'],'sourceSessionId':_0x2b68c8[_0x56e6d6(0xa1)],'contentHash':_0x147b5b,'pulledAt':_0x106f50??new Date()['toISOString']()};}function requireSkillCode(_0x115a74){const _0x119d31=a62_0x7d195d,_0xfe56f2=_0x115a74['skillCode']?.['trim']();if(!_0xfe56f2)throw CliErrors[_0x119d31(0xab)](_0x119d31(0xd8));return _0xfe56f2;}function safePathSegment(_0x2be2ce,_0x1dab41=a62_0x7d195d(0x9c)){const _0x512817=a62_0x7d195d;if(!_0x2be2ce||_0x2be2ce[_0x512817(0xa8)]('/')||_0x2be2ce[_0x512817(0xa8)]('\x5c')||_0x2be2ce[_0x512817(0xa8)]('..'))throw CliErrors[_0x512817(0xab)]('Unsafe\x20'+_0x1dab41+_0x512817(0xb2)+_0x2be2ce);return _0x2be2ce;}function ensurePulledFileCanBeOverwritten(_0x6d0667,_0xa1de9f,_0x1923e6){const _0x2ed9d8=a62_0x7d195d;if(_0x1923e6||!existsSync(_0x6d0667)||!existsSync(_0xa1de9f))return;const _0x308606=readMetadataIfPresent(_0xa1de9f);if(!_0x308606?.['contentHash'])return;const _0x25da6e=contentHash(readFileSync(_0x6d0667,_0x2ed9d8(0xd4)));if(_0x25da6e!==_0x308606[_0x2ed9d8(0xdd)])throw CliErrors[_0x2ed9d8(0xab)](_0x2ed9d8(0xde)+_0x6d0667,'Push\x20the\x20directory\x20first\x20or\x20rerun\x20pull\x20with\x20a\x20future\x20force\x20option.');}function ensureManagedSymlink(_0x3f9a52,_0x49cafd,_0x530407){const _0x581dc2=a62_0x7d195d;mkdirSync(dirname(_0x3f9a52),{'recursive':!![],'mode':0x1c0});if(existsSync(_0x3f9a52)||isDanglingSymlink(_0x3f9a52)){const _0x2704a0=lstatSync(_0x3f9a52);if(!_0x2704a0[_0x581dc2(0xbb)]())throw CliErrors[_0x581dc2(0xab)](_0x581dc2(0xd3)+_0x3f9a52);const _0x19b57f=resolveSymlinkTarget(_0x3f9a52);if(!isPathInside(realOrResolved(_0x19b57f),realOrResolved(_0x530407)))throw CliErrors['validation'](_0x581dc2(0xd7)+_0x3f9a52);if(realOrResolved(_0x19b57f)===realOrResolved(_0x49cafd))return{'path':_0x3f9a52,'target':_0x49cafd,'action':_0x581dc2(0xb6)};return unlinkSync(_0x3f9a52),symlinkSync(_0x49cafd,_0x3f9a52,_0x581dc2(0xbd)),{'path':_0x3f9a52,'target':_0x49cafd,'action':_0x581dc2(0x94)};}return symlinkSync(_0x49cafd,_0x3f9a52,_0x581dc2(0xbd)),{'path':_0x3f9a52,'target':_0x49cafd,'action':_0x581dc2(0x95)};}function isDanglingSymlink(_0x143869){const _0x54b4ce=a62_0x7d195d;try{return lstatSync(_0x143869)[_0x54b4ce(0xbb)]();}catch{return![];}}function resolveSymlinkTarget(_0x5405c2){const _0xa2a6c2=readlinkSync(_0x5405c2);return isAbsolute(_0xa2a6c2)?_0xa2a6c2:resolve(dirname(_0x5405c2),_0xa2a6c2);}function isPathInside(_0x11b7df,_0x11ff00){const _0x227c7c=a62_0x7d195d,_0x1bad71=_0x11b7df['endsWith'](sep)?_0x11b7df:''+_0x11b7df+sep,_0x3f9de4=_0x11ff00[_0x227c7c(0xc4)](sep)?_0x11ff00:''+_0x11ff00+sep;return _0x11b7df===_0x11ff00||_0x1bad71[_0x227c7c(0xa9)](_0x3f9de4);}function realOrResolved(_0x55e2c6){try{return realpathSync(_0x55e2c6);}catch{return resolve(_0x55e2c6);}}function writeTextAtomic(_0x38b39e,_0x41d17c,_0x3b1852){const _0x4fe8a7=_0x38b39e+'.tmp';try{writeFileSync(_0x4fe8a7,_0x41d17c,{'encoding':'utf8','mode':_0x3b1852}),renameSync(_0x4fe8a7,_0x38b39e);}catch(_0x181fb1){try{rmSync(_0x4fe8a7,{'force':!![]});}catch{}throw _0x181fb1;}}function writeJsonAtomic(_0x80cddc,_0x3aec45){const _0x533a91=a62_0x7d195d;writeTextAtomic(_0x80cddc,JSON[_0x533a91(0xbe)](_0x3aec45,null,0x2)+'\x0a',0x180);}
1
+ const a62_0x4581f8=a62_0x4a21;(function(_0x18bad4,_0x56635c){const _0x3bcf44=a62_0x4a21,_0x242d24=_0x18bad4();while(!![]){try{const _0x44c196=-parseInt(_0x3bcf44(0x8f))/0x1+parseInt(_0x3bcf44(0xad))/0x2+-parseInt(_0x3bcf44(0x84))/0x3+-parseInt(_0x3bcf44(0xa3))/0x4+parseInt(_0x3bcf44(0xa8))/0x5*(parseInt(_0x3bcf44(0x9c))/0x6)+parseInt(_0x3bcf44(0xa1))/0x7+-parseInt(_0x3bcf44(0x9e))/0x8*(-parseInt(_0x3bcf44(0xc7))/0x9);if(_0x44c196===_0x56635c)break;else _0x242d24['push'](_0x242d24['shift']());}catch(_0x59123a){_0x242d24['push'](_0x242d24['shift']());}}}(a62_0x2017,0x350f3));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_0x4581f8(0xa5),SKILL_FILE=a62_0x4581f8(0xc8);export function resolveSkillSyncPaths(_0x1a47ef={}){const _0x3c241=a62_0x4581f8,_0x48ce60=_0x1a47ef[_0x3c241(0x80)]??homedir(),_0x3c107e=resolve(_0x48ce60,PRODUCT_CONFIG['homeDirName'],_0x3c241(0xc0));return{'homeDir':_0x48ce60,'cacheRoot':_0x3c107e,'managedRoot':resolve(_0x48ce60,PRODUCT_CONFIG[_0x3c241(0xa9)]),'agentsSkillsDir':_0x1a47ef[_0x3c241(0x8e)]??resolve(_0x48ce60,_0x3c241(0xb1),_0x3c241(0x88)),'claudeSkillsDir':_0x1a47ef[_0x3c241(0xc6)]??resolve(_0x48ce60,_0x3c241(0xa4),'skills')};}export function getRuntimeSkillCacheRoot(_0x138ca8,_0x700b7b,_0x2da71d={}){const _0x79118c=a62_0x4581f8,_0x32ec1e=resolveSkillSyncPaths(_0x2da71d);return resolve(_0x32ec1e[_0x79118c(0x8d)],_0x138ca8,fingerprintAccessKey(_0x700b7b),_0x79118c(0x88));}export function getRuntimeSkillDir(_0x5a3144,_0x47220a,_0x59ee97,_0x220ee7,_0x56e6ba,_0x5ea3c2={}){const _0x2b263e=a62_0x4581f8;return resolve(getRuntimeSkillCacheRoot(_0x5a3144,_0x47220a,_0x5ea3c2),safePathSegment(_0x59ee97,'appCode'),_0x220ee7,safePathSegment(_0x56e6ba,_0x2b263e(0xac)));}export function contentHash(_0x1e8d92){const _0x3de6b5=a62_0x4581f8;return createHash(_0x3de6b5(0x89))[_0x3de6b5(0xb3)](_0x1e8d92)[_0x3de6b5(0x91)](_0x3de6b5(0xab));}export function materializeRuntimeSkill(_0x33d35d,_0x36b640,_0x38940b){const _0x3b9cce=a62_0x4581f8,_0x34ec7e=requireSkillCode(_0x33d35d),_0x1cc9dd=_0x33d35d[_0x3b9cce(0xa6)]??'',_0x42fbf5=getRuntimeSkillDir(_0x38940b[_0x3b9cce(0xb0)],_0x38940b[_0x3b9cce(0xbe)],_0x38940b[_0x3b9cce(0xbc)],_0x36b640,_0x34ec7e,_0x38940b['paths']),_0x2d8cec=resolve(_0x42fbf5,SKILL_FILE),_0x5369eb=resolve(_0x42fbf5,METADATA_FILE),_0xdb7abc=contentHash(_0x1cc9dd);ensurePulledFileCanBeOverwritten(_0x2d8cec,_0x5369eb,_0x38940b['force']===!![]),mkdirSync(_0x42fbf5,{'recursive':!![],'mode':0x1c0});const _0x1b8379=existsSync(_0x2d8cec)?readFileSync(_0x2d8cec,_0x3b9cce(0xc2)):undefined;return writeTextAtomic(_0x2d8cec,_0x1cc9dd,0x180),writeJsonAtomic(_0x5369eb,buildMetadata(_0x33d35d,_0x36b640,_0x38940b[_0x3b9cce(0xbc)],_0xdb7abc,_0x38940b[_0x3b9cce(0xb8)])),{'skill':_0x33d35d,'scope':_0x36b640,'dir':_0x42fbf5,'skillMdPath':_0x2d8cec,'metadataPath':_0x5369eb,'contentHash':_0xdb7abc,'changed':_0x1b8379!==_0x1cc9dd};}function a62_0x4a21(_0x2b804e,_0x3c6079){_0x2b804e=_0x2b804e-0x80;const _0x20172c=a62_0x2017();let _0x4a21f5=_0x20172c[_0x2b804e];return _0x4a21f5;}export function linkEffectiveRuntimeSkills(_0x56016f,_0x5daff7,_0x2af0e9={}){const _0x1ecca7=a62_0x4581f8,_0x4c3d9b=new Map();for(const _0x9734ba of _0x56016f){const _0xbac08b=_0x9734ba[_0x1ecca7(0xb6)][_0x1ecca7(0xac)];if(!_0xbac08b)continue;const _0x4dd5f6=_0x4c3d9b[_0x1ecca7(0x96)](_0xbac08b);(!_0x4dd5f6||_0x9734ba[_0x1ecca7(0xbd)]===_0x1ecca7(0x94))&&_0x4c3d9b['set'](_0xbac08b,_0x9734ba);}const _0x16d68b=[],_0x306d9b=resolveSkillSyncPaths(_0x2af0e9);for(const _0x3273fe of _0x4c3d9b['values']()){const _0x3a08f1=requireSkillCode(_0x3273fe[_0x1ecca7(0xb6)]),_0xcd152b=_0x5daff7+'--'+_0x3a08f1;for(const _0x10b216 of[_0x306d9b['agentsSkillsDir'],_0x306d9b[_0x1ecca7(0xc6)]]){_0x16d68b['push'](ensureManagedSymlink(resolve(_0x10b216,_0xcd152b),_0x3273fe[_0x1ecca7(0xc3)],_0x306d9b[_0x1ecca7(0x97)]));}}return _0x16d68b;}export function readPushDirectory(_0x527add,_0x2e04a4){const _0x2e9f6e=a62_0x4581f8,_0x301b05=resolve(_0x527add);if(!existsSync(_0x301b05)||!lstatSync(_0x301b05)['isDirectory']())throw CliErrors[_0x2e9f6e(0x90)](_0x2e9f6e(0xae)+_0x527add);const _0x1053c1=resolve(_0x301b05,SKILL_FILE);if(!existsSync(_0x1053c1)||!lstatSync(_0x1053c1)[_0x2e9f6e(0xa0)]())throw CliErrors[_0x2e9f6e(0x90)](_0x2e9f6e(0xb5)+SKILL_FILE+':\x20'+_0x1053c1);const _0x552d4b=readMetadataIfPresent(resolve(_0x301b05,METADATA_FILE));if(_0x552d4b&&_0x552d4b[_0x2e9f6e(0xbd)]!==_0x2e9f6e(0x94))throw CliErrors[_0x2e9f6e(0x90)](_0x2e9f6e(0x8b)+METADATA_FILE+'\x20has\x20scope=\x22'+_0x552d4b[_0x2e9f6e(0xbd)]+'\x22.');if(_0x552d4b?.[_0x2e9f6e(0xbc)]&&_0x552d4b[_0x2e9f6e(0xbc)]!==_0x2e04a4)throw CliErrors['validation'](_0x2e9f6e(0xaf)+_0x552d4b[_0x2e9f6e(0xbc)]+_0x2e9f6e(0x85)+_0x2e04a4+'\x22.');const _0xcec574=readFileSync(_0x1053c1,'utf8'),_0x29abad=_0x552d4b?.[_0x2e9f6e(0xac)]??deriveSkillCodeFromDirectory(_0x301b05,_0x2e04a4);if(!_0x29abad)throw CliErrors[_0x2e9f6e(0x90)]('Unable\x20to\x20resolve\x20skillCode\x20from\x20'+METADATA_FILE+'\x20or\x20directory\x20name.');return{'skillCode':_0x29abad,'metadata':_0x552d4b,'input':{'skillCode':_0x29abad,'skillName':_0x552d4b?.[_0x2e9f6e(0x9b)],'description':_0x552d4b?.[_0x2e9f6e(0x8a)],'content':_0xcec574,'tags':_0x552d4b?.['tags'],'version':_0x552d4b?.['version'],'sourceSessionId':_0x552d4b?.[_0x2e9f6e(0xbb)]}};}export function deriveSkillCodeFromDirectory(_0x40f719,_0x176ee3){const _0x23bf6a=a62_0x4581f8,_0x42ebf7=basename(resolve(_0x40f719)),_0x2c497c=_0x176ee3+'--';return _0x42ebf7[_0x23bf6a(0x95)](_0x2c497c)?_0x42ebf7['slice'](_0x2c497c[_0x23bf6a(0xa2)]):_0x42ebf7;}export function readMetadataIfPresent(_0x484e8a){const _0x4aceee=a62_0x4581f8;if(!existsSync(_0x484e8a))return undefined;try{const _0x2a5f6d=JSON[_0x4aceee(0xb7)](readFileSync(_0x484e8a,_0x4aceee(0xc2)));return _0x2a5f6d;}catch{throw CliErrors[_0x4aceee(0x90)]('Invalid\x20'+METADATA_FILE+':\x20'+_0x484e8a);}}function buildMetadata(_0x211698,_0x2a6416,_0x15af63,_0x5af4ee,_0x3443ac){const _0x1238fa=a62_0x4581f8;return{'schemaVersion':0x1,'id':_0x211698['id'],'appCode':_0x15af63,'skillCode':requireSkillCode(_0x211698),'skillName':_0x211698['skillName'],'description':_0x211698[_0x1238fa(0x8a)],'scope':_0x2a6416,'readonly':_0x2a6416!=='personal'||_0x211698[_0x1238fa(0xba)]===!![],'tenantCode':_0x211698[_0x1238fa(0xc5)],'userId':_0x211698['userId'],'version':_0x211698['version'],'status':_0x211698[_0x1238fa(0xc9)],'tags':Array[_0x1238fa(0x82)](_0x211698[_0x1238fa(0xb9)])?_0x211698[_0x1238fa(0xb9)]:[],'hasUpstreamUpdate':_0x211698[_0x1238fa(0xa7)],'forkedFromSkillId':_0x211698[_0x1238fa(0x93)],'forkedFromVersion':_0x211698[_0x1238fa(0xc4)],'sourceSessionId':_0x211698['sourceSessionId'],'contentHash':_0x5af4ee,'pulledAt':_0x3443ac??new Date()['toISOString']()};}function requireSkillCode(_0x124d91){const _0x29c246=a62_0x4581f8,_0x516b55=_0x124d91['skillCode']?.[_0x29c246(0x83)]();if(!_0x516b55)throw CliErrors[_0x29c246(0x90)](_0x29c246(0xaa));return _0x516b55;}function safePathSegment(_0x56ab67,_0x24f4c7=a62_0x4581f8(0x86)){const _0x265350=a62_0x4581f8;if(!_0x56ab67||_0x56ab67['includes']('/')||_0x56ab67[_0x265350(0x8c)]('\x5c')||_0x56ab67[_0x265350(0x8c)]('..'))throw CliErrors[_0x265350(0x90)]('Unsafe\x20'+_0x24f4c7+_0x265350(0xc1)+_0x56ab67);return _0x56ab67;}function ensurePulledFileCanBeOverwritten(_0x101c33,_0xd2964f,_0x34dd49){const _0x162bf4=a62_0x4581f8;if(_0x34dd49||!existsSync(_0x101c33)||!existsSync(_0xd2964f))return;const _0x2b9ccf=readMetadataIfPresent(_0xd2964f);if(!_0x2b9ccf?.['contentHash'])return;const _0x51d143=contentHash(readFileSync(_0x101c33,_0x162bf4(0xc2)));if(_0x51d143!==_0x2b9ccf[_0x162bf4(0xbf)])throw CliErrors['validation'](_0x162bf4(0x9d)+_0x101c33,'Push\x20the\x20directory\x20first\x20or\x20rerun\x20pull\x20with\x20a\x20future\x20force\x20option.');}function ensureManagedSymlink(_0x4fce7b,_0x2b462c,_0x2a269d){const _0x5bbbe0=a62_0x4581f8;mkdirSync(dirname(_0x4fce7b),{'recursive':!![],'mode':0x1c0});if(existsSync(_0x4fce7b)||isDanglingSymlink(_0x4fce7b)){const _0x2119a8=lstatSync(_0x4fce7b);if(!_0x2119a8[_0x5bbbe0(0xb2)]())throw CliErrors[_0x5bbbe0(0x90)](_0x5bbbe0(0x98)+_0x4fce7b);const _0x34f3e6=resolveSymlinkTarget(_0x4fce7b);if(!isPathInside(realOrResolved(_0x34f3e6),realOrResolved(_0x2a269d)))throw CliErrors[_0x5bbbe0(0x90)](_0x5bbbe0(0x9f)+_0x4fce7b);if(realOrResolved(_0x34f3e6)===realOrResolved(_0x2b462c))return{'path':_0x4fce7b,'target':_0x2b462c,'action':_0x5bbbe0(0x87)};return unlinkSync(_0x4fce7b),symlinkSync(_0x2b462c,_0x4fce7b,'dir'),{'path':_0x4fce7b,'target':_0x2b462c,'action':_0x5bbbe0(0xb4)};}return symlinkSync(_0x2b462c,_0x4fce7b,'dir'),{'path':_0x4fce7b,'target':_0x2b462c,'action':_0x5bbbe0(0x9a)};}function isDanglingSymlink(_0x3d7349){const _0x1adf21=a62_0x4581f8;try{return lstatSync(_0x3d7349)[_0x1adf21(0xb2)]();}catch{return![];}}function resolveSymlinkTarget(_0x20766d){const _0x3532de=readlinkSync(_0x20766d);return isAbsolute(_0x3532de)?_0x3532de:resolve(dirname(_0x20766d),_0x3532de);}function isPathInside(_0x2250b2,_0x5beb01){const _0x2fc722=a62_0x4581f8,_0x4faedd=_0x2250b2[_0x2fc722(0x99)](sep)?_0x2250b2:''+_0x2250b2+sep,_0x4b8f8e=_0x5beb01[_0x2fc722(0x99)](sep)?_0x5beb01:''+_0x5beb01+sep;return _0x2250b2===_0x5beb01||_0x4faedd[_0x2fc722(0x95)](_0x4b8f8e);}function a62_0x2017(){const _0x52a1fc=['claudeSkillsDir','18VoMWwZ','SKILL.md','status','homeDir','stringify','isArray','trim','1089996fsoIZw','\x22\x20does\x20not\x20match\x20current\x20appCode\x20\x22','path\x20segment','unchanged','skills','sha256','description','Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20','includes','cacheRoot','agentsSkillsDir','244244zQhOIc','validation','digest','.tmp','forkedFromSkillId','personal','startsWith','get','managedRoot','Refusing\x20to\x20overwrite\x20unmanaged\x20path:\x20','endsWith','created','skillName','1388082RexlqJ','Local\x20SKILL.md\x20has\x20unpushed\x20edits:\x20','2907192BTgoqy','Refusing\x20to\x20overwrite\x20unmanaged\x20symlink:\x20','isFile','197029knIsUh','length','1324120JkVzEg','.claude','lovrabet.skill.json','content','hasUpstreamUpdate','5BoLMec','homeDirName','Runtime\x20Skill\x20is\x20missing\x20skillCode.','hex','skillCode','339290YrDMFP','Skill\x20directory\x20not\x20found:\x20','Skill\x20metadata\x20appCode\x20\x22','env','.agents','isSymbolicLink','update','updated','Missing\x20','skill','parse','pulledAt','tags','readonly','sourceSessionId','appCode','scope','accessKey','contentHash','cache','\x20for\x20local\x20path:\x20','utf8','dir','forkedFromVersion','tenantCode'];a62_0x2017=function(){return _0x52a1fc;};return a62_0x2017();}function realOrResolved(_0x5e2a2e){try{return realpathSync(_0x5e2a2e);}catch{return resolve(_0x5e2a2e);}}function writeTextAtomic(_0x5cd98a,_0x3c62b1,_0x352653){const _0x47a0ec=a62_0x4581f8,_0x4fd47e=_0x5cd98a+_0x47a0ec(0x92);try{writeFileSync(_0x4fd47e,_0x3c62b1,{'encoding':_0x47a0ec(0xc2),'mode':_0x352653}),renameSync(_0x4fd47e,_0x5cd98a);}catch(_0x10ff88){try{rmSync(_0x4fd47e,{'force':!![]});}catch{}throw _0x10ff88;}}function writeJsonAtomic(_0x35daea,_0x2a45f8){const _0x5af774=a62_0x4581f8;writeTextAtomic(_0x35daea,JSON[_0x5af774(0x81)](_0x2a45f8,null,0x2)+'\x0a',0x180);}
@@ -1 +1 @@
1
- (function(_0x19b0ce,_0x141248){const _0x4307a3=a63_0x4315,_0x2c9440=_0x19b0ce();while(!![]){try{const _0x2b4699=parseInt(_0x4307a3(0x1c7))/0x1+parseInt(_0x4307a3(0x1c6))/0x2+-parseInt(_0x4307a3(0x1cc))/0x3+parseInt(_0x4307a3(0x1cd))/0x4*(parseInt(_0x4307a3(0x1c5))/0x5)+parseInt(_0x4307a3(0x1c8))/0x6*(-parseInt(_0x4307a3(0x1c9))/0x7)+parseInt(_0x4307a3(0x1ca))/0x8*(-parseInt(_0x4307a3(0x1ce))/0x9)+-parseInt(_0x4307a3(0x1cb))/0xa;if(_0x2b4699===_0x141248)break;else _0x2c9440['push'](_0x2c9440['shift']());}catch(_0x59c125){_0x2c9440['push'](_0x2c9440['shift']());}}}(a63_0x14d1,0x6204b));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a63_0x14d1(){const _0x1d01c1=['6OvzMnw','531391GhfiQV','356696uBLOER','408760dGOpBm','1352616izSOOQ','1812mFBmXm','135ntAyZz','2265AuEWxR','1372358yzGHlB','746561LTxrLQ'];a63_0x14d1=function(){return _0x1d01c1;};return a63_0x14d1();}import{CliErrors}from'../errors.js';function a63_0x4315(_0x1ad319,_0x241c99){_0x1ad319=_0x1ad319-0x1c5;const _0x14d1db=a63_0x14d1();let _0x4315ba=_0x14d1db[_0x1ad319];return _0x4315ba;}export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
1
+ function a63_0x206d(_0x4a2ceb,_0x490c2e){_0x4a2ceb=_0x4a2ceb-0xf5;const _0x493ee1=a63_0x493e();let _0x206d61=_0x493ee1[_0x4a2ceb];return _0x206d61;}(function(_0x22474c,_0x15a0fb){const _0x16494c=a63_0x206d,_0x4376dd=_0x22474c();while(!![]){try{const _0x5458e3=parseInt(_0x16494c(0xfd))/0x1*(parseInt(_0x16494c(0xf9))/0x2)+-parseInt(_0x16494c(0xf5))/0x3*(parseInt(_0x16494c(0xfc))/0x4)+parseInt(_0x16494c(0xf6))/0x5+-parseInt(_0x16494c(0xf7))/0x6*(-parseInt(_0x16494c(0xfa))/0x7)+-parseInt(_0x16494c(0xfb))/0x8+parseInt(_0x16494c(0xf8))/0x9+parseInt(_0x16494c(0xfe))/0xa*(parseInt(_0x16494c(0xff))/0xb);if(_0x5458e3===_0x15a0fb)break;else _0x4376dd['push'](_0x4376dd['shift']());}catch(_0x321014){_0x4376dd['push'](_0x4376dd['shift']());}}}(a63_0x493e,0x96d5f));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a63_0x493e(){const _0x56a616=['410klagsh','14FYizQz','9778976EWAIxb','740kZhkvK','2257UPSPgS','10PdVfFi','3776179tQikZe','11874lEPosD','3572040ekBBGS','999318xCcpRH','6470433sUwimA'];a63_0x493e=function(){return _0x56a616;};return a63_0x493e();}import{CliErrors}from'../errors.js';export const applyJqFilter=createJqFilter(CliErrors,{'bundledJqPaths':resolveBundledJqPaths()});
@@ -1 +1 @@
1
- function a64_0x3052(){const _0x1885d6=['Failed:\x20','errors','clear','File','level','createLogger','3677530SiYKVt','4138015cRYCdp','66986AjyHtU','join','1575252GcroSN','utf8','initWinstonLogger','writeFileSync','details','503637nMdpTa','224235vMTcuH','Failed\x20to\x20clear\x20logs:','136zHpXPu','timestamp','rawCommand','info','Completed:\x20','setRawCommand','setLogPath','readLogs','dirname','addColors','4240796VUabsq','logFilePath','combine','parse','yellow','split','logTask','winstonLogger','blue','map','existsSync','success','warn','5gaMgMq','red','transports','mkdirSync','unknown','getWinstonInstance','stringify','12dFsUlq','now','error','message','format','log'];a64_0x3052=function(){return _0x1885d6;};return a64_0x3052();}const a64_0x2cf746=a64_0x126e;(function(_0x43d77b,_0x5bb258){const _0x5185f9=a64_0x126e,_0x37b485=_0x43d77b();while(!![]){try{const _0x4482a3=parseInt(_0x5185f9(0x1d0))/0x1*(-parseInt(_0x5185f9(0x1af))/0x2)+-parseInt(_0x5185f9(0x1b6))/0x3*(-parseInt(_0x5185f9(0x1d7))/0x4)+-parseInt(_0x5185f9(0x1ae))/0x5+parseInt(_0x5185f9(0x1b1))/0x6+parseInt(_0x5185f9(0x1c3))/0x7+-parseInt(_0x5185f9(0x1b9))/0x8*(-parseInt(_0x5185f9(0x1b7))/0x9)+-parseInt(_0x5185f9(0x1ad))/0xa;if(_0x4482a3===_0x5bb258)break;else _0x37b485['push'](_0x37b485['shift']());}catch(_0x50df64){_0x37b485['push'](_0x37b485['shift']());}}}(a64_0x3052,0x69a65));function a64_0x126e(_0x27dccd,_0x1fb997){_0x27dccd=_0x27dccd-0x1a7;const _0x305256=a64_0x3052();let _0x126e7e=_0x305256[_0x27dccd];return _0x126e7e;}import a64_0x256398 from'winston';import a64_0x538c9c from'node:fs';import a64_0x311e96 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a64_0x2cf746(0x1ca)];[a64_0x2cf746(0x1c4)]='';['currentRawCommand']='';constructor(){}[a64_0x2cf746(0x1be)](_0x4dc042){this['currentRawCommand']=_0x4dc042;}[a64_0x2cf746(0x1bf)](_0x46350f){const _0x278ddd=a64_0x2cf746;this[_0x278ddd(0x1c4)]=a64_0x311e96[_0x278ddd(0x1b0)](_0x46350f,PRODUCT_CONFIG['logFileName']),this[_0x278ddd(0x1ca)]&&this[_0x278ddd(0x1ca)][_0x278ddd(0x1a9)](),this[_0x278ddd(0x1b3)]();}[a64_0x2cf746(0x1b3)](){const _0x5ef040=a64_0x2cf746,_0xed0246=a64_0x311e96[_0x5ef040(0x1c1)](this[_0x5ef040(0x1c4)]);!a64_0x538c9c[_0x5ef040(0x1cd)](_0xed0246)&&a64_0x538c9c[_0x5ef040(0x1d3)](_0xed0246,{'recursive':!![]});const _0x49c145=a64_0x256398['format'][_0x5ef040(0x1c5)](a64_0x256398['format'][_0x5ef040(0x1ba)](),a64_0x256398[_0x5ef040(0x1db)][_0x5ef040(0x1a8)]({'stack':!![]}),a64_0x256398[_0x5ef040(0x1db)]['printf'](_0xc83958=>{const _0x5a02d5=_0x5ef040,_0x220d70={'timestamp':_0xc83958[_0x5a02d5(0x1ba)]||new Date()['toISOString'](),'level':_0xc83958[_0x5a02d5(0x1ab)]||_0x5a02d5(0x1bc),'command':_0xc83958['command']||_0x5a02d5(0x1d4),'rawCommand':_0xc83958[_0x5a02d5(0x1bb)]||this['currentRawCommand']||undefined,'message':_0xc83958['message']||'','duration':_0xc83958['duration']||undefined,'details':_0xc83958[_0x5a02d5(0x1b5)]||undefined};return JSON[_0x5a02d5(0x1d6)](_0x220d70);}));this[_0x5ef040(0x1ca)]=a64_0x256398[_0x5ef040(0x1ac)]({'level':'info','format':_0x49c145,'transports':[new a64_0x256398[(_0x5ef040(0x1d2))][(_0x5ef040(0x1aa))]({'filename':this[_0x5ef040(0x1c4)],'level':_0x5ef040(0x1bc)})],'silent':![]}),a64_0x256398[_0x5ef040(0x1c2)]({'success':'green','error':_0x5ef040(0x1d1),'warn':_0x5ef040(0x1c7),'info':_0x5ef040(0x1cb)});}[a64_0x2cf746(0x1bc)](_0x55f0a0,_0x3523f4,_0x123d10){const _0xdc99a=a64_0x2cf746;if(!this[_0xdc99a(0x1c4)]||!this[_0xdc99a(0x1ca)])return;this['winstonLogger']['info'](_0x3523f4,{'command':_0x55f0a0,'details':_0x123d10});}[a64_0x2cf746(0x1ce)](_0x24b47e,_0x598122,_0x24f2c7,_0x586c98){const _0x4523fb=a64_0x2cf746;if(!this[_0x4523fb(0x1c4)]||!this[_0x4523fb(0x1ca)])return;this[_0x4523fb(0x1ca)][_0x4523fb(0x1dc)](_0x4523fb(0x1bc),_0x598122,{'level':'success','command':_0x24b47e,'duration':_0x24f2c7,'details':_0x586c98});}[a64_0x2cf746(0x1d9)](_0x1b5377,_0x55d25f,_0x60768b){const _0x595d72=a64_0x2cf746;if(!this[_0x595d72(0x1c4)]||!this[_0x595d72(0x1ca)])return;this['winstonLogger'][_0x595d72(0x1d9)](_0x55d25f,{'command':_0x1b5377,'details':_0x60768b});}['warn'](_0x377b56,_0xa304f0,_0x25e9d1){const _0xf03110=a64_0x2cf746;if(!this[_0xf03110(0x1c4)]||!this['winstonLogger'])return;this[_0xf03110(0x1ca)][_0xf03110(0x1cf)](_0xa304f0,{'command':_0x377b56,'details':_0x25e9d1});}async[a64_0x2cf746(0x1c9)](_0x3b753b,_0x2e6999,_0x50692b){const _0x58c890=a64_0x2cf746,_0x4316d9=Date[_0x58c890(0x1d8)]();this[_0x58c890(0x1bc)](_0x3b753b,'Starting:\x20'+_0x2e6999);try{const _0x20a695=await _0x50692b(),_0x33234b=Date[_0x58c890(0x1d8)]()-_0x4316d9;return this[_0x58c890(0x1ce)](_0x3b753b,_0x58c890(0x1bd)+_0x2e6999,_0x33234b),_0x20a695;}catch(_0x19f829){const _0xb9a951=Date[_0x58c890(0x1d8)]()-_0x4316d9;this[_0x58c890(0x1d9)](_0x3b753b,_0x58c890(0x1a7)+_0x2e6999,{'error':_0x19f829 instanceof Error?_0x19f829[_0x58c890(0x1da)]:String(_0x19f829),'duration':_0xb9a951});throw _0x19f829;}}[a64_0x2cf746(0x1c0)](){const _0x40ce39=a64_0x2cf746;try{if(!a64_0x538c9c[_0x40ce39(0x1cd)](this['logFilePath']))return[];const _0x1be467=a64_0x538c9c['readFileSync'](this['logFilePath'],_0x40ce39(0x1b2));return _0x1be467[_0x40ce39(0x1c8)](/\r?\n/)['filter'](_0x1ebc8c=>_0x1ebc8c['trim']())[_0x40ce39(0x1cc)](_0xd32a52=>JSON[_0x40ce39(0x1c6)](_0xd32a52));}catch(_0x32c129){return console[_0x40ce39(0x1cf)]('Failed\x20to\x20read\x20logs:',_0x32c129),[];}}['clearLogs'](){const _0x37b97c=a64_0x2cf746;try{a64_0x538c9c[_0x37b97c(0x1cd)](this[_0x37b97c(0x1c4)])&&a64_0x538c9c[_0x37b97c(0x1b4)](this[_0x37b97c(0x1c4)],'',_0x37b97c(0x1b2));}catch(_0x3742fc){console['warn'](_0x37b97c(0x1b8),_0x3742fc);}}[a64_0x2cf746(0x1d5)](){return this['winstonLogger'];}}export const logger=new Logger();
1
+ const a64_0x3b8d79=a64_0x3347;(function(_0x51fb81,_0x2e83b){const _0x4092eb=a64_0x3347,_0x395b6f=_0x51fb81();while(!![]){try{const _0x37860b=parseInt(_0x4092eb(0x1a3))/0x1*(parseInt(_0x4092eb(0x18f))/0x2)+-parseInt(_0x4092eb(0x18b))/0x3+-parseInt(_0x4092eb(0x1a4))/0x4+parseInt(_0x4092eb(0x197))/0x5*(-parseInt(_0x4092eb(0x18c))/0x6)+parseInt(_0x4092eb(0x1ac))/0x7+parseInt(_0x4092eb(0x186))/0x8+parseInt(_0x4092eb(0x19f))/0x9;if(_0x37860b===_0x2e83b)break;else _0x395b6f['push'](_0x395b6f['shift']());}catch(_0x226ad7){_0x395b6f['push'](_0x395b6f['shift']());}}}(a64_0xb5a3,0xe7d84));import a64_0x4a2b1e from'winston';function a64_0xb5a3(){const _0x4ec23e=['clear','30770802tatdZJ','log','Failed:\x20','trim','1PJbmeY','6642264SInKrO','blue','warn','green','yellow','message','stringify','initWinstonLogger','2769816FWpQXK','now','success','winstonLogger','getWinstonInstance','Failed\x20to\x20read\x20logs:','setRawCommand','timestamp','errors','dirname','writeFileSync','addColors','duration','red','format','map','1907712nSGTIq','Completed:\x20','utf8','parse','level','4084986ptavwR','6uADKHR','printf','readLogs','2749786qbYNud','createLogger','details','error','existsSync','logFilePath','File','mkdirSync','7280795BzqgJm','command','Starting:\x20','currentRawCommand','transports','info','filter'];a64_0xb5a3=function(){return _0x4ec23e;};return a64_0xb5a3();}import a64_0x2de277 from'node:fs';import a64_0x35b04f from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{['winstonLogger'];[a64_0x3b8d79(0x194)]='';[a64_0x3b8d79(0x19a)]='';constructor(){}[a64_0x3b8d79(0x17c)](_0x54db8a){const _0x48bbaa=a64_0x3b8d79;this[_0x48bbaa(0x19a)]=_0x54db8a;}['setLogPath'](_0x5d55a8){const _0x158487=a64_0x3b8d79;this[_0x158487(0x194)]=a64_0x35b04f['join'](_0x5d55a8,PRODUCT_CONFIG['logFileName']),this[_0x158487(0x1af)]&&this[_0x158487(0x1af)][_0x158487(0x19e)](),this[_0x158487(0x1ab)]();}[a64_0x3b8d79(0x1ab)](){const _0x1cd64f=a64_0x3b8d79,_0x4b750e=a64_0x35b04f[_0x1cd64f(0x17f)](this[_0x1cd64f(0x194)]);!a64_0x2de277[_0x1cd64f(0x193)](_0x4b750e)&&a64_0x2de277[_0x1cd64f(0x196)](_0x4b750e,{'recursive':!![]});const _0x362e08=a64_0x4a2b1e[_0x1cd64f(0x184)]['combine'](a64_0x4a2b1e['format'][_0x1cd64f(0x17d)](),a64_0x4a2b1e[_0x1cd64f(0x184)][_0x1cd64f(0x17e)]({'stack':!![]}),a64_0x4a2b1e[_0x1cd64f(0x184)][_0x1cd64f(0x18d)](_0x53cdf7=>{const _0x3f4a33=_0x1cd64f,_0x3a4ee8={'timestamp':_0x53cdf7[_0x3f4a33(0x17d)]||new Date()['toISOString'](),'level':_0x53cdf7[_0x3f4a33(0x18a)]||_0x3f4a33(0x19c),'command':_0x53cdf7[_0x3f4a33(0x198)]||'unknown','rawCommand':_0x53cdf7['rawCommand']||this[_0x3f4a33(0x19a)]||undefined,'message':_0x53cdf7[_0x3f4a33(0x1a9)]||'','duration':_0x53cdf7[_0x3f4a33(0x182)]||undefined,'details':_0x53cdf7[_0x3f4a33(0x191)]||undefined};return JSON[_0x3f4a33(0x1aa)](_0x3a4ee8);}));this[_0x1cd64f(0x1af)]=a64_0x4a2b1e[_0x1cd64f(0x190)]({'level':_0x1cd64f(0x19c),'format':_0x362e08,'transports':[new a64_0x4a2b1e[(_0x1cd64f(0x19b))][(_0x1cd64f(0x195))]({'filename':this[_0x1cd64f(0x194)],'level':_0x1cd64f(0x19c)})],'silent':![]}),a64_0x4a2b1e[_0x1cd64f(0x181)]({'success':_0x1cd64f(0x1a7),'error':_0x1cd64f(0x183),'warn':_0x1cd64f(0x1a8),'info':_0x1cd64f(0x1a5)});}['info'](_0x10722e,_0x465ad9,_0x3245c8){const _0x435b60=a64_0x3b8d79;if(!this[_0x435b60(0x194)]||!this[_0x435b60(0x1af)])return;this[_0x435b60(0x1af)][_0x435b60(0x19c)](_0x465ad9,{'command':_0x10722e,'details':_0x3245c8});}[a64_0x3b8d79(0x1ae)](_0x1a198b,_0x2cafca,_0x2604f5,_0x34c444){const _0x1d8732=a64_0x3b8d79;if(!this['logFilePath']||!this[_0x1d8732(0x1af)])return;this['winstonLogger'][_0x1d8732(0x1a0)](_0x1d8732(0x19c),_0x2cafca,{'level':_0x1d8732(0x1ae),'command':_0x1a198b,'duration':_0x2604f5,'details':_0x34c444});}[a64_0x3b8d79(0x192)](_0x21f308,_0x1f30ba,_0x9e2e64){const _0x41be90=a64_0x3b8d79;if(!this[_0x41be90(0x194)]||!this[_0x41be90(0x1af)])return;this['winstonLogger'][_0x41be90(0x192)](_0x1f30ba,{'command':_0x21f308,'details':_0x9e2e64});}[a64_0x3b8d79(0x1a6)](_0x41a5d8,_0x5eb038,_0x252287){const _0x10bdb4=a64_0x3b8d79;if(!this[_0x10bdb4(0x194)]||!this['winstonLogger'])return;this[_0x10bdb4(0x1af)][_0x10bdb4(0x1a6)](_0x5eb038,{'command':_0x41a5d8,'details':_0x252287});}async['logTask'](_0x11b292,_0x455ffc,_0x135985){const _0x4ff00a=a64_0x3b8d79,_0x17fec9=Date['now']();this[_0x4ff00a(0x19c)](_0x11b292,_0x4ff00a(0x199)+_0x455ffc);try{const _0x582989=await _0x135985(),_0x4ee442=Date[_0x4ff00a(0x1ad)]()-_0x17fec9;return this[_0x4ff00a(0x1ae)](_0x11b292,_0x4ff00a(0x187)+_0x455ffc,_0x4ee442),_0x582989;}catch(_0x14ebe4){const _0x58d702=Date[_0x4ff00a(0x1ad)]()-_0x17fec9;this[_0x4ff00a(0x192)](_0x11b292,_0x4ff00a(0x1a1)+_0x455ffc,{'error':_0x14ebe4 instanceof Error?_0x14ebe4[_0x4ff00a(0x1a9)]:String(_0x14ebe4),'duration':_0x58d702});throw _0x14ebe4;}}[a64_0x3b8d79(0x18e)](){const _0x524b91=a64_0x3b8d79;try{if(!a64_0x2de277[_0x524b91(0x193)](this[_0x524b91(0x194)]))return[];const _0x287a4a=a64_0x2de277['readFileSync'](this[_0x524b91(0x194)],_0x524b91(0x188));return _0x287a4a['split'](/\r?\n/)[_0x524b91(0x19d)](_0x2aaad7=>_0x2aaad7[_0x524b91(0x1a2)]())[_0x524b91(0x185)](_0x3a1f4f=>JSON[_0x524b91(0x189)](_0x3a1f4f));}catch(_0x42e8cb){return console[_0x524b91(0x1a6)](_0x524b91(0x1b1),_0x42e8cb),[];}}['clearLogs'](){const _0x50d166=a64_0x3b8d79;try{a64_0x2de277[_0x50d166(0x193)](this[_0x50d166(0x194)])&&a64_0x2de277[_0x50d166(0x180)](this[_0x50d166(0x194)],'','utf8');}catch(_0x4665ba){console[_0x50d166(0x1a6)]('Failed\x20to\x20clear\x20logs:',_0x4665ba);}}[a64_0x3b8d79(0x1b0)](){const _0x4945c1=a64_0x3b8d79;return this[_0x4945c1(0x1af)];}}function a64_0x3347(_0x4f09c0,_0x5e96d5){_0x4f09c0=_0x4f09c0-0x17c;const _0xb5a31c=a64_0xb5a3();let _0x334749=_0xb5a31c[_0x4f09c0];return _0x334749;}export const logger=new Logger();
@@ -1 +1 @@
1
- (function(_0x15d781,_0x15ffd8){var _0x2ef383=a65_0x5d3f,_0x1f1b06=_0x15d781();while(!![]){try{var _0x351f7d=-parseInt(_0x2ef383(0x161))/0x1+parseInt(_0x2ef383(0x158))/0x2+parseInt(_0x2ef383(0x15d))/0x3*(-parseInt(_0x2ef383(0x15a))/0x4)+-parseInt(_0x2ef383(0x157))/0x5+-parseInt(_0x2ef383(0x159))/0x6+parseInt(_0x2ef383(0x167))/0x7*(parseInt(_0x2ef383(0x162))/0x8)+parseInt(_0x2ef383(0x15c))/0x9*(parseInt(_0x2ef383(0x15f))/0xa);if(_0x351f7d===_0x15ffd8)break;else _0x1f1b06['push'](_0x1f1b06['shift']());}catch(_0x8fb1d3){_0x1f1b06['push'](_0x1f1b06['shift']());}}}(a65_0x111f,0xaebc4));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x4ebb0c){var _0x533751=a65_0x5d3f;if(!_0x4ebb0c)return undefined;try{return JSON[_0x533751(0x15e)](_0x4ebb0c);}catch{throw CliErrors[_0x533751(0x166)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x4ebb0c);}}export function parseJsonParamsValue(_0x2738a0){var _0x243c1f=a65_0x5d3f;if(!_0x2738a0)return undefined;try{return JSON[_0x243c1f(0x15e)](_0x2738a0);}catch{throw CliErrors['validation'](_0x243c1f(0x164)+_0x2738a0);}}export function parseBatchCreateItemsFromParams(_0x23822d){var _0xae1568=a65_0x5d3f;if(Array[_0xae1568(0x163)](_0x23822d))return _0x23822d;if(_0x23822d!==null&&_0x23822d!==undefined&&typeof _0x23822d===_0xae1568(0x165)&&Array[_0xae1568(0x163)](_0x23822d[_0xae1568(0x160)]))return _0x23822d['items'];throw CliErrors[_0xae1568(0x166)](_0xae1568(0x15b),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}function a65_0x5d3f(_0x21c551,_0x46d823){_0x21c551=_0x21c551-0x157;var _0x111f14=a65_0x111f();var _0x5d3f45=_0x111f14[_0x21c551];return _0x5d3f45;}function a65_0x111f(){var _0x448c17=['999639ePGqsa','4789688rrWBRy','isArray','Invalid\x20JSON\x20for\x20--params:\x20','object','validation','14PpCQuS','2231015SSrkkn','479894VQhpbY','2850648PdFzYb','4LAIuqF','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','9hlnwga','3890103zCEDSU','parse','24959980SmHyOG','items'];a65_0x111f=function(){return _0x448c17;};return a65_0x111f();}
1
+ (function(_0x2c9382,_0x4c019d){var _0x3be6ee=a65_0x7462,_0x33fdd0=_0x2c9382();while(!![]){try{var _0x1fb6ad=-parseInt(_0x3be6ee(0x65))/0x1*(parseInt(_0x3be6ee(0x68))/0x2)+parseInt(_0x3be6ee(0x6a))/0x3+parseInt(_0x3be6ee(0x73))/0x4*(parseInt(_0x3be6ee(0x6c))/0x5)+parseInt(_0x3be6ee(0x6f))/0x6*(parseInt(_0x3be6ee(0x6d))/0x7)+-parseInt(_0x3be6ee(0x74))/0x8*(parseInt(_0x3be6ee(0x76))/0x9)+-parseInt(_0x3be6ee(0x67))/0xa+parseInt(_0x3be6ee(0x69))/0xb*(-parseInt(_0x3be6ee(0x6e))/0xc);if(_0x1fb6ad===_0x4c019d)break;else _0x33fdd0['push'](_0x33fdd0['shift']());}catch(_0x5911d7){_0x33fdd0['push'](_0x33fdd0['shift']());}}}(a65_0x4702,0xcdd0d));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x5c07af){var _0x29f540=a65_0x7462;if(!_0x5c07af)return undefined;try{return JSON[_0x29f540(0x70)](_0x5c07af);}catch{throw CliErrors[_0x29f540(0x6b)](_0x29f540(0x72)+_0x5c07af);}}function a65_0x4702(){var _0xa1d3b9=['1791048IOswJo','parse','items','Invalid\x20JSON\x20for\x20--params:\x20','3276888GdcrtW','8scmqHa','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','2468358isyBDP','2SVAeYz','isArray','5485920wKjDYZ','666782LVKAIb','2957438YrtQIW','2533413qkWQOP','validation','10nTNtmh','28gNRKAo','60isQdSF'];a65_0x4702=function(){return _0xa1d3b9;};return a65_0x4702();}export function parseJsonParamsValue(_0x30ba0e){var _0x25c1de=a65_0x7462;if(!_0x30ba0e)return undefined;try{return JSON[_0x25c1de(0x70)](_0x30ba0e);}catch{throw CliErrors['validation']('Invalid\x20JSON\x20for\x20--params:\x20'+_0x30ba0e);}}function a65_0x7462(_0x497d1f,_0x1027a6){_0x497d1f=_0x497d1f-0x65;var _0x47029f=a65_0x4702();var _0x746292=_0x47029f[_0x497d1f];return _0x746292;}export function parseBatchCreateItemsFromParams(_0x5a3839){var _0x229401=a65_0x7462;if(Array['isArray'](_0x5a3839))return _0x5a3839;if(_0x5a3839!==null&&_0x5a3839!==undefined&&typeof _0x5a3839==='object'&&Array[_0x229401(0x66)](_0x5a3839[_0x229401(0x71)]))return _0x5a3839[_0x229401(0x71)];throw CliErrors['validation']('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0x229401(0x75));}
@@ -1 +1 @@
1
- const a66_0x150b93=a66_0x57c3;(function(_0x5d418c,_0x1accca){const _0x492ae0=a66_0x57c3,_0x3af63e=_0x5d418c();while(!![]){try{const _0x1026a5=-parseInt(_0x492ae0(0x17e))/0x1+parseInt(_0x492ae0(0x187))/0x2+parseInt(_0x492ae0(0x182))/0x3*(-parseInt(_0x492ae0(0x17f))/0x4)+parseInt(_0x492ae0(0x188))/0x5*(parseInt(_0x492ae0(0x183))/0x6)+-parseInt(_0x492ae0(0x185))/0x7*(parseInt(_0x492ae0(0x181))/0x8)+parseInt(_0x492ae0(0x184))/0x9*(parseInt(_0x492ae0(0x180))/0xa)+parseInt(_0x492ae0(0x17c))/0xb;if(_0x1026a5===_0x1accca)break;else _0x3af63e['push'](_0x3af63e['shift']());}catch(_0xd515b1){_0x3af63e['push'](_0x3af63e['shift']());}}}(a66_0x5329,0xe8558));export const isWindows=process['platform']===a66_0x150b93(0x17d);function a66_0x57c3(_0x417683,_0xf5eee9){_0x417683=_0x417683-0x17c;const _0x5329c6=a66_0x5329();let _0x57c386=_0x5329c6[_0x417683];return _0x57c386;}function a66_0x5329(){const _0x457274=['1521SzsTKq','3902829GngoPI','.cmd','138418AJKvwP','6573035MmZKWK','14500959ltTlWG','win32','809149OsfcFA','237152kWaqBd','109930RksttL','24fUUKEE','57jjIpmx','6mGsBOe'];a66_0x5329=function(){return _0x457274;};return a66_0x5329();}export function resolveNpmBin(_0xb1f7a0){const _0x26b0be=a66_0x150b93;return isWindows?_0xb1f7a0+_0x26b0be(0x186):_0xb1f7a0;}
1
+ const a66_0x27f26a=a66_0x2586;(function(_0xefc14e,_0x5052b3){const _0x1f863e=a66_0x2586,_0x22fd8d=_0xefc14e();while(!![]){try{const _0x336cda=-parseInt(_0x1f863e(0xbe))/0x1*(parseInt(_0x1f863e(0xc1))/0x2)+parseInt(_0x1f863e(0xb8))/0x3+parseInt(_0x1f863e(0xbb))/0x4+parseInt(_0x1f863e(0xb9))/0x5+parseInt(_0x1f863e(0xb6))/0x6+parseInt(_0x1f863e(0xbc))/0x7*(-parseInt(_0x1f863e(0xc0))/0x8)+-parseInt(_0x1f863e(0xba))/0x9;if(_0x336cda===_0x5052b3)break;else _0x22fd8d['push'](_0x22fd8d['shift']());}catch(_0x37d26b){_0x22fd8d['push'](_0x22fd8d['shift']());}}}(a66_0x3860,0x246aa));function a66_0x2586(_0x29e4f7,_0x2b86bf){_0x29e4f7=_0x29e4f7-0xb6;const _0x38603c=a66_0x3860();let _0x258690=_0x38603c[_0x29e4f7];return _0x258690;}export const isWindows=process[a66_0x27f26a(0xbd)]===a66_0x27f26a(0xbf);function a66_0x3860(){const _0x20555c=['1080840yZMeBm','3655719CeAywG','1035012wBArHl','349237UwVmzT','platform','44046UdijSk','win32','32ndlHUY','6RPlnhp','1493034eSUkQW','.cmd','489885lvtXLs'];a66_0x3860=function(){return _0x20555c;};return a66_0x3860();}export function resolveNpmBin(_0x13a840){const _0x440823=a66_0x27f26a;return isWindows?_0x13a840+_0x440823(0xb7):_0x13a840;}
@@ -1 +1 @@
1
- (function(_0x3fad0f,_0x507232){const _0x6f517e=a67_0x322e,_0x4e2d74=_0x3fad0f();while(!![]){try{const _0x1f9785=-parseInt(_0x6f517e(0xa0))/0x1*(parseInt(_0x6f517e(0xa2))/0x2)+-parseInt(_0x6f517e(0x9d))/0x3+parseInt(_0x6f517e(0x9f))/0x4*(-parseInt(_0x6f517e(0x9c))/0x5)+-parseInt(_0x6f517e(0x95))/0x6*(-parseInt(_0x6f517e(0x93))/0x7)+parseInt(_0x6f517e(0x99))/0x8*(-parseInt(_0x6f517e(0x96))/0x9)+-parseInt(_0x6f517e(0x97))/0xa*(parseInt(_0x6f517e(0xa1))/0xb)+parseInt(_0x6f517e(0x9b))/0xc;if(_0x1f9785===_0x507232)break;else _0x4e2d74['push'](_0x4e2d74['shift']());}catch(_0xd0b808){_0x4e2d74['push'](_0x4e2d74['shift']());}}}(a67_0x9172,0x4345a));import{readFileSync}from'node:fs';function a67_0x322e(_0x491d64,_0x2f29e7){_0x491d64=_0x491d64-0x93;const _0x91720c=a67_0x9172();let _0x322e11=_0x91720c[_0x491d64];return _0x322e11;}function a67_0x9172(){const _0x515469=['utf8','6TVtHfv','36IhtuQE','70uUVaAu','version','1073960kaNbMD','parse','24387192yOZeFV','5trzXCL','1463502HsoqSh','package.json','1608472pOzYIR','8snrvEa','368819LkCtQb','131258NbFmYk','3009629PUHuFB'];a67_0x9172=function(){return _0x515469;};return a67_0x9172();}import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x3ca497=a67_0x322e;if(cached)return cached;const _0x3b985b=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x4b264c=readFileSync(join(_0x3b985b,_0x3ca497(0x9e)),_0x3ca497(0x94)),_0x328c27=JSON[_0x3ca497(0x9a)](_0x4b264c);return cached=_0x328c27[_0x3ca497(0x98)],cached;}
1
+ (function(_0x28dfe7,_0x1f9ca2){const _0x25e75f=a67_0x48bf,_0x387317=_0x28dfe7();while(!![]){try{const _0x5efc0a=-parseInt(_0x25e75f(0x171))/0x1*(-parseInt(_0x25e75f(0x16f))/0x2)+-parseInt(_0x25e75f(0x16e))/0x3*(-parseInt(_0x25e75f(0x173))/0x4)+-parseInt(_0x25e75f(0x169))/0x5*(parseInt(_0x25e75f(0x16c))/0x6)+parseInt(_0x25e75f(0x16a))/0x7*(-parseInt(_0x25e75f(0x175))/0x8)+parseInt(_0x25e75f(0x165))/0x9*(-parseInt(_0x25e75f(0x170))/0xa)+parseInt(_0x25e75f(0x16d))/0xb*(-parseInt(_0x25e75f(0x166))/0xc)+-parseInt(_0x25e75f(0x174))/0xd*(-parseInt(_0x25e75f(0x168))/0xe);if(_0x5efc0a===_0x1f9ca2)break;else _0x387317['push'](_0x387317['shift']());}catch(_0x20cdfa){_0x387317['push'](_0x387317['shift']());}}}(a67_0x96b0,0x3508d));import{readFileSync}from'node:fs';import{dirname,join}from'node:path';function a67_0x96b0(){const _0x2782b7=['10axzLAU','364967HrrXFC','package.json','474592FYhqWa','52247Ptzpsf','664cbKIRj','utf8','2343447QeaBiu','1795176iujbGv','version','1778pGtRjT','2038935zMVWqT','3941ajfcrC','parse','6gNtyHO','22IekhAO','9QQwsbJ','2vFeUsw'];a67_0x96b0=function(){return _0x2782b7;};return a67_0x96b0();}import{fileURLToPath}from'node:url';function a67_0x48bf(_0x2bc75e,_0x145f1c){_0x2bc75e=_0x2bc75e-0x164;const _0x96b0c=a67_0x96b0();let _0x48bf4f=_0x96b0c[_0x2bc75e];return _0x48bf4f;}let cached;export function getCliVersion(){const _0x256385=a67_0x48bf;if(cached)return cached;const _0x42bf6b=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x10ea41=readFileSync(join(_0x42bf6b,_0x256385(0x172)),_0x256385(0x164)),_0x5b99d4=JSON[_0x256385(0x16b)](_0x10ea41);return cached=_0x5b99d4[_0x256385(0x167)],cached;}
@@ -1 +1 @@
1
- function a68_0x8a60(){var _0x4c8fad=['2140929YjIuMs','809847irxltc','706560hnWlWV','414036KgjZBH','2745032VSWFqB','4IjNhbj','3594500gJPDiI','stderr','write','9aBSokj','140259FKGMgm'];a68_0x8a60=function(){return _0x4c8fad;};return a68_0x8a60();}(function(_0x16ab91,_0x1f9080){var _0x2a069d=a68_0x597a,_0x4dfe87=_0x16ab91();while(!![]){try{var _0x272583=-parseInt(_0x2a069d(0x102))/0x1+-parseInt(_0x2a069d(0x106))/0x2*(-parseInt(_0x2a069d(0x100))/0x3)+-parseInt(_0x2a069d(0x104))/0x4+parseInt(_0x2a069d(0x107))/0x5+-parseInt(_0x2a069d(0x103))/0x6+parseInt(_0x2a069d(0x101))/0x7+-parseInt(_0x2a069d(0x105))/0x8*(-parseInt(_0x2a069d(0xff))/0x9);if(_0x272583===_0x1f9080)break;else _0x4dfe87['push'](_0x4dfe87['shift']());}catch(_0x43f508){_0x4dfe87['push'](_0x4dfe87['shift']());}}}(a68_0x8a60,0x690ba));function a68_0x597a(_0x258386,_0x20ccd0){_0x258386=_0x258386-0xfe;var _0x8a607b=a68_0x8a60();var _0x597a6a=_0x8a607b[_0x258386];return _0x597a6a;}export function writeCliSideChannelLine(_0x38370b){var _0x24b103=a68_0x597a;process[_0x24b103(0x108)][_0x24b103(0xfe)](_0x38370b+'\x0a');}
1
+ function a68_0x174e(){var _0xb8ae5d=['330dTbEKT','281014HurOkA','431523mqlohQ','2481215uQdTMu','stderr','4691688lVGzem','12044aSETTp','3605EtOoTv','5551520HueXXi','6306qFCFcK','write','537zKxUxW'];a68_0x174e=function(){return _0xb8ae5d;};return a68_0x174e();}(function(_0x3bd38f,_0x1b6336){var _0x159721=a68_0x4898,_0x12130b=_0x3bd38f();while(!![]){try{var _0x3383eb=parseInt(_0x159721(0x1b8))/0x1+parseInt(_0x159721(0x1b1))/0x2*(parseInt(_0x159721(0x1b6))/0x3)+parseInt(_0x159721(0x1b3))/0x4+-parseInt(_0x159721(0x1ba))/0x5+-parseInt(_0x159721(0x1b4))/0x6*(parseInt(_0x159721(0x1b2))/0x7)+parseInt(_0x159721(0x1b0))/0x8+parseInt(_0x159721(0x1b9))/0x9*(-parseInt(_0x159721(0x1b7))/0xa);if(_0x3383eb===_0x1b6336)break;else _0x12130b['push'](_0x12130b['shift']());}catch(_0xe171e7){_0x12130b['push'](_0x12130b['shift']());}}}(a68_0x174e,0xae33e));function a68_0x4898(_0x1fd259,_0x4476cb){_0x1fd259=_0x1fd259-0x1af;var _0x174ee5=a68_0x174e();var _0x4898ab=_0x174ee5[_0x1fd259];return _0x4898ab;}export function writeCliSideChannelLine(_0x251109){var _0x445db2=a68_0x4898;process[_0x445db2(0x1af)][_0x445db2(0x1b5)](_0x251109+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.0.9-beta.6",
3
+ "version": "2.0.10",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,8 +26,8 @@
26
26
  "verify:bundled-jq": "node scripts/verify-bundled-jq.mjs",
27
27
  "publish:github": "node scripts/publish-github.mjs",
28
28
  "lint": "echo 'No linter configured yet'",
29
- "beta-release": "sh scripts/update-beta-version.sh && bun run build && git push && git push origin --tag && bun publish --tag beta",
30
- "release": "sh scripts/update-latest-version.sh && bun run build && git push && git push origin --tag && bun publish",
29
+ "beta-release": "sh scripts/update-beta-version.sh && bun run build && git push && sh scripts/push-current-tag.sh && bun publish --tag beta",
30
+ "release": "sh scripts/update-latest-version.sh && bun run build && git push && sh scripts/push-current-tag.sh && npm run publish:github && bun publish",
31
31
  "check:skill-version": "node scripts/check-skill-version.mjs",
32
32
  "ci": "npm run typecheck && npm run check:skill-version && npm run build",
33
33
  "test": "vitest",