@lovrabet/lovrabet-cli 2.0.9-beta.7 → 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_0x56e4f5=a49_0x5c50;(function(_0x15bc3e,_0x184a53){const _0x59da96=a49_0x5c50,_0x3d6fba=_0x15bc3e();while(!![]){try{const _0x523cc6=-parseInt(_0x59da96(0x11d))/0x1*(-parseInt(_0x59da96(0x124))/0x2)+-parseInt(_0x59da96(0x126))/0x3+-parseInt(_0x59da96(0x11e))/0x4+parseInt(_0x59da96(0x125))/0x5+parseInt(_0x59da96(0x122))/0x6*(parseInt(_0x59da96(0x127))/0x7)+-parseInt(_0x59da96(0x121))/0x8+parseInt(_0x59da96(0x123))/0x9;if(_0x523cc6===_0x184a53)break;else _0x3d6fba['push'](_0x3d6fba['shift']());}catch(_0x21aeb1){_0x3d6fba['push'](_0x3d6fba['shift']());}}}(a49_0xde42,0xa229c));import{createFlagHelpers}from'@lovrabet/cli-framework';function a49_0xde42(){const _0x252950=['9000312pDuNwe','18vCwokt','4873347kAquQe','550cntQQp','6276355NkOMiF','1108974djSzUu','1392587oWOTXr','2889mkpGtK','4116540doUpZn','parseFlags','validateFlags'];a49_0xde42=function(){return _0x252950;};return a49_0xde42();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a49_0x56e4f5(0x11f)];function a49_0x5c50(_0x267e50,_0x389a84){_0x267e50=_0x267e50-0x11d;const _0xde4259=a49_0xde42();let _0x5c50bb=_0xde4259[_0x267e50];return _0x5c50bb;}export const validateFlags=helpers[a49_0x56e4f5(0x120)];
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_0x43a85c=a50_0x484a;(function(_0x1767c2,_0x525793){const _0x13c2ec=a50_0x484a,_0x416307=_0x1767c2();while(!![]){try{const _0x2c18f2=-parseInt(_0x13c2ec(0x7c))/0x1*(parseInt(_0x13c2ec(0x85))/0x2)+-parseInt(_0x13c2ec(0x86))/0x3+parseInt(_0x13c2ec(0x81))/0x4+-parseInt(_0x13c2ec(0x83))/0x5+-parseInt(_0x13c2ec(0x78))/0x6*(parseInt(_0x13c2ec(0x7f))/0x7)+-parseInt(_0x13c2ec(0x82))/0x8+parseInt(_0x13c2ec(0x84))/0x9;if(_0x2c18f2===_0x525793)break;else _0x416307['push'](_0x416307['shift']());}catch(_0x387984){_0x416307['push'](_0x416307['shift']());}}}(a50_0x424c,0xc08cf));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a50_0x424c(){const _0x2fcf7a=['3061401GJDnLz','954tfPUPc','Requires\x20appcode\x20(set\x20via\x20','generateCommandHelp','newConfigFileName','992DbjEpe','generateFullHelp','\x20or\x20--appcode).','24927uunhLG','get','2394888ZnnTWg','8545592JjWKUo','6661950uHxRMD','45246276rbGyvR','1714EbpgGm'];a50_0x424c=function(){return _0x2fcf7a;};return a50_0x424c();}import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';function a50_0x484a(_0x5b9391,_0x713275){_0x5b9391=_0x5b9391-0x78;const _0x424c8d=a50_0x424c();let _0x484af0=_0x424c8d[_0x5b9391];return _0x484af0;}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':_0x2ae580=>serviceGroups[a50_0x43a85c(0x80)](_0x2ae580),'buildAllFlags':buildAllFlags,'appPrerequisiteText':a50_0x43a85c(0x79)+PRODUCT_CONFIG[a50_0x43a85c(0x7b)]+a50_0x43a85c(0x7e)});export function generateCommandHelp(_0x4891a5){const _0x2ffedc=a50_0x43a85c;return generators[_0x2ffedc(0x7a)](_0x4891a5);}export const generateServiceHelp=generators['generateServiceHelp'];export const generateFullHelp=generators[a50_0x43a85c(0x7d)];
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(_0x1c8565,_0x6c87ce){var _0x1e5b2d=a51_0x27e8,_0x14d912=_0x1c8565();while(!![]){try{var _0x77ffa4=parseInt(_0x1e5b2d(0x179))/0x1+parseInt(_0x1e5b2d(0x17c))/0x2+-parseInt(_0x1e5b2d(0x178))/0x3+parseInt(_0x1e5b2d(0x17d))/0x4*(parseInt(_0x1e5b2d(0x17f))/0x5)+parseInt(_0x1e5b2d(0x17e))/0x6*(parseInt(_0x1e5b2d(0x17b))/0x7)+-parseInt(_0x1e5b2d(0x17a))/0x8+parseInt(_0x1e5b2d(0x177))/0x9;if(_0x77ffa4===_0x6c87ce)break;else _0x14d912['push'](_0x14d912['shift']());}catch(_0x22b651){_0x14d912['push'](_0x14d912['shift']());}}}(a51_0x5ba7,0x68454));export{runCommand}from'../framework/runner.js';function a51_0x5ba7(){var _0x153bd0=['2378031BHItZu','558316LtHrlj','6045392ldoPKF','119SyjDpT','939200ZmECdi','1734604rZCOlM','120678pSIIaU','5JLnnKt','1547595kXYtDU'];a51_0x5ba7=function(){return _0x153bd0;};return a51_0x5ba7();}function a51_0x27e8(_0x628501,_0x4375aa){_0x628501=_0x628501-0x177;var _0x5ba7be=a51_0x5ba7();var _0x27e8d8=_0x5ba7be[_0x628501];return _0x27e8d8;}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
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(_0x5ce162,_0x297e78){const _0x242535=a52_0x4579,_0x10e3ce=_0x5ce162();while(!![]){try{const _0x16f3cc=-parseInt(_0x242535(0x113))/0x1+parseInt(_0x242535(0x115))/0x2*(-parseInt(_0x242535(0x10d))/0x3)+-parseInt(_0x242535(0x10e))/0x4*(parseInt(_0x242535(0x111))/0x5)+parseInt(_0x242535(0x110))/0x6*(parseInt(_0x242535(0x114))/0x7)+-parseInt(_0x242535(0x10f))/0x8*(-parseInt(_0x242535(0x10a))/0x9)+-parseInt(_0x242535(0x109))/0xa*(-parseInt(_0x242535(0x10b))/0xb)+parseInt(_0x242535(0x112))/0xc*(parseInt(_0x242535(0x10c))/0xd);if(_0x16f3cc===_0x297e78)break;else _0x10e3ce['push'](_0x10e3ce['shift']());}catch(_0x2c5845){_0x10e3ce['push'](_0x10e3ce['shift']());}}}(a52_0x543b,0x56caf));function a52_0x543b(){const _0x2f6571=['3821685EYaTfP','476802uLMFyh','50wCheRM','63SqwBzH','917059tPjGBS','90519hFZdlA','6uokCpl','399732dbXzwx','758232CLOzrv','6GxgVaF','30iTkuJq','708gvUYFX','605167KiRqCN'];a52_0x543b=function(){return _0x2f6571;};return a52_0x543b();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a52_0x4579(_0x430847,_0x446935){_0x430847=_0x430847-0x109;const _0x543be1=a52_0x543b();let _0x4579ec=_0x543be1[_0x430847];return _0x4579ec;}import{CliErrors}from'../errors.js';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(_0x101586,_0x1a7c07){const _0x500cd9=a53_0x4e61,_0x1d31ca=_0x101586();while(!![]){try{const _0x2af0b4=-parseInt(_0x500cd9(0x134))/0x1+-parseInt(_0x500cd9(0x138))/0x2+-parseInt(_0x500cd9(0x137))/0x3+-parseInt(_0x500cd9(0x11e))/0x4+-parseInt(_0x500cd9(0x13c))/0x5*(-parseInt(_0x500cd9(0x122))/0x6)+parseInt(_0x500cd9(0x129))/0x7*(-parseInt(_0x500cd9(0x133))/0x8)+parseInt(_0x500cd9(0x136))/0x9*(parseInt(_0x500cd9(0x12e))/0xa);if(_0x2af0b4===_0x1a7c07)break;else _0x1d31ca['push'](_0x1d31ca['shift']());}catch(_0x42190b){_0x1d31ca['push'](_0x1d31ca['shift']());}}}(a53_0x5c9e,0xc0dbe));function toKebab(_0x166636){const _0x28a9ab=a53_0x4e61;return _0x166636[_0x28a9ab(0x116)](/_/g,'-')[_0x28a9ab(0x116)](/-([A-Z]+)/g,(_0x4b1943,_0x36d29c)=>'-'+_0x36d29c[_0x28a9ab(0x125)]())['replace'](/([a-z0-9])([A-Z])/g,(_0x3d62dc,_0x59ee6f,_0x524f5f)=>_0x59ee6f+'-'+_0x524f5f)[_0x28a9ab(0x125)]();}function buildKnownFlags(_0x58eca1){const _0x477f69=a53_0x4e61,_0x3c8f01=new Set();for(const _0xfbc328 of _0x58eca1){_0x3c8f01['add'](_0xfbc328[_0x477f69(0x123)]),_0x3c8f01[_0x477f69(0x128)](toCamelCase(_0xfbc328[_0x477f69(0x123)]));}for(const _0x322d5b of['dry-run',_0x477f69(0x11d),'yes','format']){_0x3c8f01[_0x477f69(0x128)](_0x322d5b);}for(const _0x3522d0 of[_0x477f69(0x126),_0x477f69(0x13a),_0x477f69(0x121),_0x477f69(0x11a),_0x477f69(0x11c),'non-interactive','ci',_0x477f69(0x135),_0x477f69(0x130)]){_0x3c8f01['add'](_0x3522d0);}return _0x3c8f01;}function buildFlagTypeMap(_0xf6c77f){const _0x4d9742=a53_0x4e61,_0x3cfafe=new Map();for(const _0x234c62 of _0xf6c77f){_0x3cfafe['set'](_0x234c62[_0x4d9742(0x123)],_0x234c62[_0x4d9742(0x11f)]),_0x3cfafe[_0x4d9742(0x120)](toCamelCase(_0x234c62[_0x4d9742(0x123)]),_0x234c62[_0x4d9742(0x11f)]);}return _0x3cfafe;}function toCamelCase(_0x23f069){const _0x5830df=a53_0x4e61;return _0x23f069['replace'](/-([a-z])/g,(_0x1b4e29,_0x14ff00)=>_0x14ff00[_0x5830df(0x12c)]());}function aliasHandler(_0x31e01f,_0x10e414){const _0x215ef3=a53_0x4e61,_0x4fce4a=[];for(const _0x45a26e of Object[_0x215ef3(0x12f)](_0x31e01f)){if(_0x10e414[_0x215ef3(0x12b)](_0x45a26e))continue;const _0x32e571=toKebab(_0x45a26e);_0x32e571!==_0x45a26e&&_0x10e414['has'](_0x32e571)&&_0x4fce4a[_0x215ef3(0x124)]({'original':_0x45a26e,'corrected':_0x32e571,'handler':_0x215ef3(0x117)});}return _0x4fce4a;}function stickyHandler(_0x451da3,_0x338324,_0x4d7587){const _0x3873d0=a53_0x4e61,_0x32bedb=[];for(const [_0x18eb11,_0x2d629b]of Object[_0x3873d0(0x127)](_0x451da3)){if(_0x2d629b!==!![])continue;for(let _0x5a6c58=_0x18eb11[_0x3873d0(0x119)]-0x1;_0x5a6c58>0x0;_0x5a6c58--){const _0x2ebcb0=_0x18eb11[_0x3873d0(0x11b)](0x0,_0x5a6c58),_0xa43c9b=_0x18eb11[_0x3873d0(0x11b)](_0x5a6c58),_0x5b1bff=toKebab(_0x2ebcb0),_0x296ba5=toCamelCase(_0x2ebcb0),_0x3a35fd=_0x338324[_0x3873d0(0x12b)](_0x2ebcb0)?_0x2ebcb0:_0x338324[_0x3873d0(0x12b)](_0x5b1bff)?_0x5b1bff:_0x338324[_0x3873d0(0x12b)](_0x296ba5)?_0x296ba5:null;if(!_0x3a35fd)continue;const _0x4f766c=_0x4d7587['get'](_0x3a35fd)??_0x3873d0(0x132);let _0x711a72;if(_0x4f766c===_0x3873d0(0x139)){const _0x2e7327=Number(_0xa43c9b);if(isNaN(_0x2e7327)||_0xa43c9b==='')continue;_0x711a72=_0x2e7327;}else{if(_0x4f766c===_0x3873d0(0x118))continue;else{if(_0xa43c9b==='')continue;_0x711a72=_0xa43c9b;}}_0x32bedb[_0x3873d0(0x124)]({'original':_0x18eb11,'corrected':_0x3a35fd+'='+_0x711a72,'handler':_0x3873d0(0x13b)});break;}}return _0x32bedb;}function a53_0x4e61(_0x2b8d6b,_0x3503d8){_0x2b8d6b=_0x2b8d6b-0x116;const _0x5c9ecd=a53_0x5c9e();let _0x4e6125=_0x5c9ecd[_0x2b8d6b];return _0x4e6125;}export function correctFlags(_0x53d270,_0xae47e9){const _0x2c5b67=a53_0x4e61,_0x443b5f=buildKnownFlags(_0xae47e9),_0x43602f=buildFlagTypeMap(_0xae47e9),_0x23210f=aliasHandler(_0x53d270,_0x443b5f),_0x57fcc4=stickyHandler(_0x53d270,_0x443b5f,_0x43602f),_0x477053=[..._0x23210f,..._0x57fcc4];if(_0x477053['length']===0x0)return{'flags':_0x53d270,'corrections':[]};const _0x52d3c6={..._0x53d270},_0x31c7fb=new Set();for(const _0x586888 of _0x23210f){_0x52d3c6[_0x586888[_0x2c5b67(0x12a)]]=_0x53d270[_0x586888[_0x2c5b67(0x12d)]],_0x31c7fb['add'](_0x586888[_0x2c5b67(0x12d)]);}for(const _0x37d478 of _0x57fcc4){const _0x515d18=_0x37d478[_0x2c5b67(0x12a)]['indexOf']('='),_0x8457d2=_0x37d478['corrected'][_0x2c5b67(0x11b)](0x0,_0x515d18),_0x2a3c19=_0x37d478['corrected'][_0x2c5b67(0x11b)](_0x515d18+0x1),_0x142115=_0x43602f[_0x2c5b67(0x131)](_0x8457d2)??_0x2c5b67(0x132);_0x142115===_0x2c5b67(0x139)?_0x52d3c6[_0x8457d2]=Number(_0x2a3c19):_0x52d3c6[_0x8457d2]=_0x2a3c19,_0x31c7fb[_0x2c5b67(0x128)](_0x37d478[_0x2c5b67(0x12d)]);}for(const _0x3feddd of _0x31c7fb){delete _0x52d3c6[_0x3feddd];}return{'flags':_0x52d3c6,'corrections':_0x477053};}function a53_0x5c9e(){const _0x314e71=['3289443nqgBUM','1796208nnjxoq','number','env','sticky','15UBoVYu','replace','alias','boolean','length','app','slice','nonInteractive','dryRun','6231140ubiyWr','type','set','appcode','1030476aJHyqk','name','push','toLowerCase','help','entries','add','154WaCokK','corrected','has','toUpperCase','original','10HgDvUF','keys','version','get','string','2216WiEepu','1159762gLEZFY','global','44936442jPuZjx'];a53_0x5c9e=function(){return _0x314e71;};return a53_0x5c9e();}
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 a54_0x37e4(_0x25401c,_0x4d033d){_0x25401c=_0x25401c-0x1d9;var _0x2bab00=a54_0x2bab();var _0x37e4f4=_0x2bab00[_0x25401c];return _0x37e4f4;}function a54_0x2bab(){var _0x18aebf=['4yQAnmW','88unmwhX','90933XdBjBG','14ESNHxn','1716185DFruZA','84580oFpOSx','558216gtWOGE','2052003cYtcNL','3745236jSVnBX','153783LaJICE'];a54_0x2bab=function(){return _0x18aebf;};return a54_0x2bab();}(function(_0x3e724e,_0xdfbb82){var _0x92f0e1=a54_0x37e4,_0x32ea34=_0x3e724e();while(!![]){try{var _0x5eaa10=parseInt(_0x92f0e1(0x1da))/0x1*(parseInt(_0x92f0e1(0x1db))/0x2)+parseInt(_0x92f0e1(0x1df))/0x3*(-parseInt(_0x92f0e1(0x1e2))/0x4)+parseInt(_0x92f0e1(0x1dc))/0x5+-parseInt(_0x92f0e1(0x1e0))/0x6+parseInt(_0x92f0e1(0x1e1))/0x7+-parseInt(_0x92f0e1(0x1d9))/0x8*(-parseInt(_0x92f0e1(0x1de))/0x9)+-parseInt(_0x92f0e1(0x1dd))/0xa;if(_0x5eaa10===_0xdfbb82)break;else _0x32ea34['push'](_0x32ea34['shift']());}catch(_0x36c1b7){_0x32ea34['push'](_0x32ea34['shift']());}}}(a54_0x2bab,0x59ae8));export{extractList,extractPaging}from'@lovrabet/cli-framework';
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(_0x59b5f7,_0xc2537f){const _0x1fe768=a55_0xec54,_0xac9855=_0x59b5f7();while(!![]){try{const _0x18602f=-parseInt(_0x1fe768(0xb9))/0x1+-parseInt(_0x1fe768(0xae))/0x2*(-parseInt(_0x1fe768(0xbf))/0x3)+-parseInt(_0x1fe768(0xb0))/0x4*(-parseInt(_0x1fe768(0xbd))/0x5)+parseInt(_0x1fe768(0xc2))/0x6*(parseInt(_0x1fe768(0xb6))/0x7)+-parseInt(_0x1fe768(0xc1))/0x8*(parseInt(_0x1fe768(0xb1))/0x9)+parseInt(_0x1fe768(0xbc))/0xa*(parseInt(_0x1fe768(0xc5))/0xb)+-parseInt(_0x1fe768(0xbe))/0xc;if(_0x18602f===_0xc2537f)break;else _0xac9855['push'](_0xac9855['shift']());}catch(_0x5dab8c){_0xac9855['push'](_0xac9855['shift']());}}}(a55_0xc8e9,0x95927));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x7e8095,_0x40c5cf,_0x251d31){const _0x72d308=a55_0xec54,_0x3935f9=buildConfirmationContext(_0x7e8095,_0x40c5cf,_0x251d31),_0x2ad5a7=[_0x72d308(0xad)+_0x3935f9['commandLabel']];return _0x3935f9[_0x72d308(0xb3)]&&_0x2ad5a7['push']('\x20\x20\x20'+_0x3935f9[_0x72d308(0xb3)]),_0x3935f9[_0x72d308(0xb4)]&&_0x2ad5a7[_0x72d308(0xb8)](_0x72d308(0xbb)+_0x3935f9[_0x72d308(0xb4)]),_0x2ad5a7[_0x72d308(0xb8)](_0x72d308(0xab)),_0x2ad5a7;}function a55_0xc8e9(){const _0x1ae186=['code','⚠\x20\x20High-risk\x20operation:\x20','2iLYfkv','length','32cSMBBE','9907560mXYzOE','join','description','affectedRecords','service','239883Rrresl','id=','push','56225GBYipY','name','\x20\x20\x20Affected:\x20','130rLQsrr','366530ctRqAz','15735396jkeLsR','717243LfeYCB','params','8HFnVcz','186RAIipI','--yes','code=','1009569DRScSL','command','entries','params=','\x20\x20\x20Continue?\x20[y/N]\x20'];a55_0xc8e9=function(){return _0x1ae186;};return a55_0xc8e9();}export function reconstructCommandArgv(_0x242786,_0x3a579d){const _0x443307=a55_0xec54,_0xa68a82=[CLI_BIN_NAME,_0x242786[_0x443307(0xb5)],_0x242786[_0x443307(0xc6)]];for(const [_0x231b79,_0x3d1e65]of Object[_0x443307(0xc7)](_0x3a579d)){if(_0x3d1e65===!![])_0xa68a82[_0x443307(0xb8)]('--'+_0x231b79);else _0x3d1e65!==![]&&_0x3d1e65!==undefined&&_0x3d1e65!==''&&_0xa68a82[_0x443307(0xb8)]('--'+_0x231b79+'\x20'+JSON['stringify'](_0x3d1e65));}return _0xa68a82['push'](_0x443307(0xc3)),_0xa68a82[_0x443307(0xb2)]('\x20');}function a55_0xec54(_0x1b3b90,_0x2399e7){_0x1b3b90=_0x1b3b90-0xaa;const _0xc8e93b=a55_0xc8e9();let _0xec54c0=_0xc8e93b[_0x1b3b90];return _0xec54c0;}function buildConfirmationContext(_0x27fd28,_0x1114a1,_0x1aca98){const _0x3cee02=a55_0xec54,_0x5265cb=extractAffectedRecords(_0x1aca98);return{'commandLabel':_0x1114a1,'description':_0x27fd28[_0x3cee02(0xb3)],'affectedRecords':_0x5265cb};}function extractAffectedRecords(_0x4f3d7c){const _0x2e9197=a55_0xec54,_0x3853ba=[];if(_0x4f3d7c[_0x2e9197(0xac)])_0x3853ba[_0x2e9197(0xb8)](_0x2e9197(0xc4)+_0x4f3d7c[_0x2e9197(0xac)]);if(_0x4f3d7c['id'])_0x3853ba[_0x2e9197(0xb8)](_0x2e9197(0xb7)+_0x4f3d7c['id']);if(_0x4f3d7c[_0x2e9197(0xba)])_0x3853ba[_0x2e9197(0xb8)]('name='+_0x4f3d7c[_0x2e9197(0xba)]);if(_0x4f3d7c[_0x2e9197(0xc0)])_0x3853ba['push'](_0x2e9197(0xaa)+_0x4f3d7c[_0x2e9197(0xc0)]);return _0x3853ba[_0x2e9197(0xaf)]>0x0?_0x3853ba[_0x2e9197(0xb2)](',\x20'):undefined;}
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 a56_0xf4aa(){const _0x27254a=['9PjmXxo','11410RuzRmx','6764376uaDHQF','156fBazEu','string','1983091krTNNN','216YNjehx','25fZtVLp','17455sjnxAY','2412YcxlUN','description','1896150QXhAGm','15567ODSfIQ','trim','1220121dUWQnr'];a56_0xf4aa=function(){return _0x27254a;};return a56_0xf4aa();}(function(_0x2fd8eb,_0x44e673){const _0x5768af=a56_0x9bd6,_0x1dcaba=_0x2fd8eb();while(!![]){try{const _0x5bfbdc=-parseInt(_0x5768af(0x18b))/0x1*(-parseInt(_0x5768af(0x185))/0x2)+parseInt(_0x5768af(0x181))/0x3*(-parseInt(_0x5768af(0x187))/0x4)+parseInt(_0x5768af(0x17d))/0x5*(-parseInt(_0x5768af(0x17e))/0x6)+parseInt(_0x5768af(0x183))/0x7+-parseInt(_0x5768af(0x186))/0x8*(parseInt(_0x5768af(0x184))/0x9)+-parseInt(_0x5768af(0x180))/0xa+parseInt(_0x5768af(0x189))/0xb*(parseInt(_0x5768af(0x18a))/0xc);if(_0x5bfbdc===_0x44e673)break;else _0x1dcaba['push'](_0x1dcaba['shift']());}catch(_0x53db7c){_0x1dcaba['push'](_0x1dcaba['shift']());}}}(a56_0xf4aa,0xe0def));import{LovrabetError}from'@lovrabet/sdk';function a56_0x9bd6(_0x41c960,_0x36f601){_0x41c960=_0x41c960-0x17d;const _0xf4aa02=a56_0xf4aa();let _0x9bd63c=_0xf4aa02[_0x41c960];return _0x9bd63c;}import{CliErrors}from'../errors.js';export function mapUserFacingExecuteError(_0x5281ab){if(_0x5281ab instanceof LovrabetError)return CliErrors['validation'](userFacingLovrabetMessage(_0x5281ab));return _0x5281ab;}function userFacingLovrabetMessage(_0x974e9f){const _0x15ea25=a56_0x9bd6,_0x247d76=_0x974e9f[_0x15ea25(0x17f)];if(_0x247d76!==undefined&&_0x247d76!==null){if(typeof _0x247d76===_0x15ea25(0x188)&&_0x247d76[_0x15ea25(0x182)]())return _0x247d76[_0x15ea25(0x182)]();try{return JSON['stringify'](_0x247d76);}catch{}}return _0x974e9f['message'];}
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
- const a57_0xfcd549=a57_0x5a23;(function(_0x13f5ee,_0x3676f8){const _0xf846d8=a57_0x5a23,_0xac5874=_0x13f5ee();while(!![]){try{const _0x259fcc=parseInt(_0xf846d8(0x139))/0x1*(-parseInt(_0xf846d8(0x121))/0x2)+-parseInt(_0xf846d8(0x124))/0x3+parseInt(_0xf846d8(0x152))/0x4*(-parseInt(_0xf846d8(0x147))/0x5)+-parseInt(_0xf846d8(0x13a))/0x6+-parseInt(_0xf846d8(0x14f))/0x7+parseInt(_0xf846d8(0x146))/0x8*(parseInt(_0xf846d8(0x13c))/0x9)+parseInt(_0xf846d8(0x12e))/0xa;if(_0x259fcc===_0x3676f8)break;else _0xac5874['push'](_0xac5874['shift']());}catch(_0x4f2ed8){_0xac5874['push'](_0xac5874['shift']());}}}(a57_0x2e35,0xb623d));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';function a57_0x5a23(_0x10dc92,_0x146914){_0x10dc92=_0x10dc92-0x11c;const _0x2e3540=a57_0x2e35();let _0x5a23be=_0x2e3540[_0x10dc92];return _0x5a23be;}function a57_0x2e35(){const _0x4dffdd=['filter','command','format','defaultApp','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','\x20or\x20pass\x20','Set\x20accessKey\x20in\x20','4672AAZazW','132670nubits','Unknown\x20app:\x20','requiresAuth','requiresAppCode','string','service','items','authRequired','2970653afmjYK','.appcode\x20to\x20','pageSize','76DVfhpl','map','../core/api-client.js','local-alias','../commands/app/remote-source.js','name','APPCODE','Run\x20`','../core/sdk-client.js','2vckuIW','appName','cancelled','2799258gWlaZx','trim','High-risk\x20operation\x20`','appCodeSource','has','newConfigFileName','production','configMissing','ACCESS_KEY','apiDomain','42618500whtqwf','mergedCli','defaultPageSize','error','riskLevel','rawFlags','appCode','appcode','app','accessKey','\x20\x20To\x20proceed:\x20','808523qcoyCc','8683146GsxZTT','env','9270NRHnXt','defaultVerbose'];a57_0x2e35=function(){return _0x4dffdd;};return a57_0x2e35();}import{mapUserFacingExecuteError}from'../framework/runner-error.js';export function resolveAuthMode(_0xffb54a){return void _0xffb54a,AUTH_MODE['ClientAk'];}export function createPipelineEnv(_0x22fb57,_0x3ed2ef){const _0x39ac81=a57_0x5a23,_0x33bf97=typeof _0x3ed2ef[_0x39ac81(0x136)]==='string'&&_0x3ed2ef[_0x39ac81(0x136)][_0x39ac81(0x125)]();return{'rawFlags':_0x3ed2ef,'appCode':_0x22fb57[_0x39ac81(0x134)]||productEnv(_0x39ac81(0x11e))||(_0x33bf97?undefined:readAppCodeFromConfig()),'appCodeSource':_0x22fb57[_0x39ac81(0x127)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x3ed2ef),'defaultFormat':_0x22fb57[_0x39ac81(0x140)],'defaultPageSize':_0x22fb57[_0x39ac81(0x151)],'defaultVerbose':_0x22fb57['verbose'],'riskLevel':_0x22fb57[_0x39ac81(0x132)],'accessKey':_0x22fb57[_0x39ac81(0x137)],'env':_0x22fb57[_0x39ac81(0x13b)],'mergedCli':{'defaultApp':_0x22fb57[_0x39ac81(0x141)],'currentApp':_0x22fb57['currentApp'],'appCode':_0x22fb57[_0x39ac81(0x134)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a57_0xfcd549(0x13e)](_0x2dd035=>PIPELINE_FLAG_NAMES[a57_0xfcd549(0x128)](_0x2dd035[a57_0xfcd549(0x11d)]))[a57_0xfcd549(0x153)](({name:_0x423e0c,type:_0x447a50,description:_0x2249a9})=>({'name':_0x423e0c,'type':_0x447a50,'description':_0x2249a9})),'formatOutput':formatOutput,'getCommandLabel'(_0x1725cc){const _0x57a921=a57_0xfcd549;return CLI_BIN_NAME+'\x20'+_0x1725cc[_0x57a921(0x14c)]+'\x20'+_0x1725cc[_0x57a921(0x13f)];},'riskPolicy':{'onViolation'(_0x322a43){const _0x49d5c9=a57_0xfcd549;console[_0x49d5c9(0x131)](_0x322a43);},'createError'(_0x5d3108){const _0x412756=a57_0xfcd549;return CliErrors[_0x412756(0x123)](_0x5d3108);}},async 'prepare'(_0xe5926c,_0x50b41a){const _0x1d1ffc=a57_0xfcd549,_0xfa976a=resolveAuthMode(_0x50b41a);if(_0xe5926c[_0x1d1ffc(0x149)]!==![]){if(!_0x50b41a[_0x1d1ffc(0x137)])throw CliErrors[_0x1d1ffc(0x14e)](_0x1d1ffc(0x145)+PRODUCT_CONFIG[_0x1d1ffc(0x129)]+_0x1d1ffc(0x144)+productEnvName(_0x1d1ffc(0x12c))+'.');const {setActiveAK:_0x9224bf}=await import(_0x1d1ffc(0x154));_0x9224bf(_0x50b41a['accessKey']);}let _0x3cd8d7='';if(_0xe5926c[_0x1d1ffc(0x14a)]!==![]){_0x3cd8d7=_0x50b41a['appCode']??'',_0x3cd8d7=await resolveExplicitAppName(_0xe5926c,_0x50b41a,_0x3cd8d7);if(!_0x3cd8d7)throw CliErrors[_0x1d1ffc(0x12b)](_0x1d1ffc(0x143)+PRODUCT_CONFIG['newConfigFileName']+'.');}if(_0x3cd8d7){const {initSdkClient:_0x10b01f}=await import(_0x1d1ffc(0x120));_0x10b01f({'appCode':_0x3cd8d7,'env':_0x50b41a[_0x1d1ffc(0x13b)]??_0x1d1ffc(0x12a),'accessKey':_0x50b41a[_0x1d1ffc(0x137)],'authMode':_0xfa976a});}return{'defaults':{'booleans':{'verbose':_0x50b41a[_0x1d1ffc(0x13d)]},'numbers':{'pagesize':_0x50b41a[_0x1d1ffc(0x130)]}},'extras':{'appCode':_0x3cd8d7,'cookie':'','apiDomain':_0x50b41a[_0x1d1ffc(0x12d)],'apiDir':'','accessKey':_0x50b41a['accessKey'],'envName':_0x50b41a[_0x1d1ffc(0x13b)],'mergedCli':_0x50b41a[_0x1d1ffc(0x12f)]}};},async 'confirmHighRisk'({def:_0x5730ce,env:_0x859a60,flags:_0x1a93bb,commandLabel:_0x1a2588}){const _0x553af7=a57_0xfcd549;if(_0x859a60['isNonInteractive']){const _0x4233c2=reconstructCommandArgv(_0x5730ce,_0x1a93bb);throw CliErrors['validation'](_0x553af7(0x126)+_0x1a2588+_0x553af7(0x142)+(_0x553af7(0x138)+_0x4233c2));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x5730ce,_0x1a2588,_0x1a93bb),'createCancelledError':_0x1ed63c=>CliErrors[_0x553af7(0x123)](_0x1ed63c)});},'mapDryRunError'(_0x4b6201){return mapUserFacingExecuteError(_0x4b6201);},'mapExecuteError'(_0x264fe5){return mapUserFacingExecuteError(_0x264fe5);},async 'finalize'(){const _0x4073ba=a57_0xfcd549,{clearActiveAK:_0x4755be}=await import(_0x4073ba(0x154));_0x4755be();}};async function resolveExplicitAppName(_0x411d80,_0x6aa4df,_0x3e78fd){const _0x123897=a57_0xfcd549;if(_0x411d80[_0x123897(0x14a)]===![])return _0x3e78fd;const _0x4c6ab9=typeof _0x6aa4df[_0x123897(0x133)][_0x123897(0x136)]==='string'?_0x6aa4df['rawFlags'][_0x123897(0x136)][_0x123897(0x125)]():'';if(!_0x4c6ab9)return _0x3e78fd;const _0x8fa140=typeof _0x6aa4df['rawFlags'][_0x123897(0x135)]===_0x123897(0x14b)&&_0x6aa4df[_0x123897(0x133)]['appcode'][_0x123897(0x125)]()||productEnv('APPCODE');if(_0x8fa140||_0x6aa4df['appCodeSource']===_0x123897(0x155))return _0x3e78fd;const {getRemoteAppList:_0x4b9b6b}=await import(_0x123897(0x11c)),_0x26130c=await _0x4b9b6b({'env':_0x6aa4df[_0x123897(0x13b)]??_0x123897(0x12a),'accessKey':_0x6aa4df[_0x123897(0x137)]}),_0x141276=_0x26130c[_0x123897(0x14d)]['find'](_0x5917e9=>_0x5917e9[_0x123897(0x122)]===_0x4c6ab9),_0x151d4b=_0x141276?.['appCode']?.[_0x123897(0x125)]();if(_0x151d4b)return _0x151d4b;throw CliErrors['validation'](_0x123897(0x148)+_0x4c6ab9,_0x123897(0x11f)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x4c6ab9+_0x123897(0x150)+PRODUCT_CONFIG[_0x123897(0x129)]+'.');}export async function runCommand(_0x353183,_0x35a6ca){await runCommandWithAdapter(_0x353183,_0x35a6ca,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(_0x322c23,_0x2c5ed7){const _0x2df785=a58_0x242d,_0x58df34=_0x322c23();while(!![]){try{const _0x5e3eac=parseInt(_0x2df785(0x1bd))/0x1*(parseInt(_0x2df785(0x1c2))/0x2)+-parseInt(_0x2df785(0x1bc))/0x3*(-parseInt(_0x2df785(0x1b8))/0x4)+-parseInt(_0x2df785(0x1bf))/0x5+-parseInt(_0x2df785(0x1be))/0x6*(-parseInt(_0x2df785(0x1c3))/0x7)+-parseInt(_0x2df785(0x1c0))/0x8*(parseInt(_0x2df785(0x1c4))/0x9)+-parseInt(_0x2df785(0x1bb))/0xa+-parseInt(_0x2df785(0x1c1))/0xb*(parseInt(_0x2df785(0x1b9))/0xc);if(_0x5e3eac===_0x2c5ed7)break;else _0x58df34['push'](_0x58df34['shift']());}catch(_0x3cb124){_0x58df34['push'](_0x58df34['shift']());}}}(a58_0x3ae7,0x4e2e0));function a58_0x3ae7(){const _0x3d4087=['33jdtQxe','2822uJWYDH','21scRGXe','398016XZPnWx','1260820quTtku','1012536HdfeGE','../commands/registry.js','4065830oorzva','6cQrFsq','382CwRmIU','253182cNQAra','695830JfAxfo','32Nkgxny'];a58_0x3ae7=function(){return _0x3d4087;};return a58_0x3ae7();}import{buildSchemaPayload as a58_0x3e7078}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_0x242d(_0x42cd81,_0x4ab255){_0x42cd81=_0x42cd81-0x1b8;const _0x3ae7b5=a58_0x3ae7();let _0x242da9=_0x3ae7b5[_0x42cd81];return _0x242da9;}export async function buildSchemaPayload(){const _0xe3b64d=a58_0x242d,{serviceRegistry:_0x3277d6,findDefinition:_0x39f3a3}=await import(_0xe3b64d(0x1ba));return a58_0x3e7078({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':process.env.GIT_COMMIT??'','globalFlags':GLOBAL_FLAGS,'serviceRegistry':_0x3277d6,'buildAllFlags':buildAllFlags,'findDefinition':_0x39f3a3});}
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(_0xf75086,_0x40af96){var _0x26b51e=a59_0x397b,_0x400351=_0xf75086();while(!![]){try{var _0x1cf7c7=parseInt(_0x26b51e(0x14e))/0x1+-parseInt(_0x26b51e(0x14f))/0x2+parseInt(_0x26b51e(0x152))/0x3+parseInt(_0x26b51e(0x150))/0x4*(parseInt(_0x26b51e(0x14d))/0x5)+-parseInt(_0x26b51e(0x151))/0x6+parseInt(_0x26b51e(0x14b))/0x7+-parseInt(_0x26b51e(0x14c))/0x8;if(_0x1cf7c7===_0x40af96)break;else _0x400351['push'](_0x400351['shift']());}catch(_0x30f877){_0x400351['push'](_0x400351['shift']());}}}(a59_0x2814,0xc7729));function a59_0x397b(_0x3affa2,_0x34e3a2){_0x3affa2=_0x3affa2-0x14b;var _0x28142f=a59_0x2814();var _0x397bdb=_0x28142f[_0x3affa2];return _0x397bdb;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a59_0x2814(){var _0x27180e=['102752jTAhca','9714948gigluN','2556021ZDOnqH','3006234DtXVFf','6589896mqCetV','245ZNzess','1124403pWAVcR','809504LIPigG'];a59_0x2814=function(){return _0x27180e;};return a59_0x2814();}
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(_0x211c87,_0x29d81c){const _0x52ab7e=a60_0x9b90,_0x42f7fa=_0x211c87();while(!![]){try{const _0x4f1be7=parseInt(_0x52ab7e(0x14d))/0x1*(-parseInt(_0x52ab7e(0x157))/0x2)+parseInt(_0x52ab7e(0x155))/0x3+parseInt(_0x52ab7e(0x14b))/0x4*(parseInt(_0x52ab7e(0x14a))/0x5)+parseInt(_0x52ab7e(0x14f))/0x6+parseInt(_0x52ab7e(0x14c))/0x7*(parseInt(_0x52ab7e(0x14e))/0x8)+-parseInt(_0x52ab7e(0x150))/0x9*(-parseInt(_0x52ab7e(0x156))/0xa)+-parseInt(_0x52ab7e(0x151))/0xb;if(_0x4f1be7===_0x29d81c)break;else _0x42f7fa['push'](_0x42f7fa['shift']());}catch(_0x4dc91d){_0x42f7fa['push'](_0x42f7fa['shift']());}}}(a60_0xb64a,0x4f5eb));function a60_0x9b90(_0x4bc365,_0x35ba2d){_0x4bc365=_0x4bc365-0x14a;const _0xb64ae6=a60_0xb64a();let _0x9b90d7=_0xb64ae6[_0x4bc365];return _0x9b90d7;}import{jsx as a60_0x148d15,jsxs as a60_0x1194b7}from'react/jsx-runtime';function a60_0xb64a(){const _0x1d8542=['98dDVfJi','30296MvDLsj','1403646MqHKGw','9GgqSkr','15136869HbhPHE','\x20to\x20view\x20available\x20commands.','\x20\x20Use\x20','green','1382316ORDoFq','2287730cSFQey','2898kHsqYB','660dyNYYk','12492iMzxbp','938fvoDYm'];a60_0xb64a=function(){return _0x1d8542;};return a60_0xb64a();}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 _0x55da46=a60_0x9b90,{exit:_0x24bf59}=useApp();return useEffect(()=>{_0x24bf59();},[_0x24bf59]),a60_0x1194b7(Box,{'flexDirection':'column','marginTop':0x1,'marginBottom':0x1,'children':[a60_0x148d15(Box,{'children':a60_0x148d15(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a60_0x1194b7(Box,{'marginTop':0x1,'children':[a60_0x148d15(Text,{'dimColor':!![],'children':_0x55da46(0x153)}),a60_0x148d15(Text,{'bold':!![],'color':_0x55da46(0x154),'children':CLI_BIN_NAME+'\x20--help'}),a60_0x148d15(Text,{'dimColor':!![],'children':_0x55da46(0x152)})]})]});}
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
- (function(_0x149616,_0x25e504){const _0x363928=a61_0x44aa,_0x3811be=_0x149616();while(!![]){try{const _0x2230ec=parseInt(_0x363928(0x179))/0x1*(-parseInt(_0x363928(0x17d))/0x2)+parseInt(_0x363928(0x172))/0x3+parseInt(_0x363928(0x17c))/0x4*(-parseInt(_0x363928(0x174))/0x5)+parseInt(_0x363928(0x16c))/0x6*(-parseInt(_0x363928(0x175))/0x7)+parseInt(_0x363928(0x17b))/0x8+parseInt(_0x363928(0x16b))/0x9*(parseInt(_0x363928(0x176))/0xa)+-parseInt(_0x363928(0x171))/0xb*(-parseInt(_0x363928(0x16d))/0xc);if(_0x2230ec===_0x25e504)break;else _0x3811be['push'](_0x3811be['shift']());}catch(_0x2c44fa){_0x3811be['push'](_0x3811be['shift']());}}}(a61_0xec54,0xd829a));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a61_0x44aa(_0x571855,_0x341567){_0x571855=_0x571855-0x16b;const _0xec547c=a61_0xec54();let _0x44aa2f=_0xec547c[_0x571855];return _0x44aa2f;}import{LOVRABET_SKILL_SOURCE as a61_0x152569}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';function a61_0xec54(){const _0xdba0a1=['3912RXiVuS','add','npx','status','1446291LziksA','110694bmmWMy','180HibttR','trim','inherit','join','1098361edVNBZ','2998944npqbqb','stderr','815OGztlT','112KOILbf','30oNUxbL','stdout','exit\x20','560HsPgbz','log','6945960xxunHS','38572FrUtVV'];a61_0xec54=function(){return _0xdba0a1;};return a61_0xec54();}export const LOVRABET_SKILL_SOURCE=a61_0x152569;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(_0x542a55,_0x251ae0=LOVRABET_SKILL_SOURCE,_0x5038f5){const _0x19b255=a61_0x44aa;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x1ecf65=_0x5038f5?.['stdio']??_0x19b255(0x16f),_0xe4ce14=resolveNpmBin(_0x19b255(0x17f)),_0x3efe12=['skills',_0x19b255(0x17e),_0x251ae0,'-g','-y'],_0x2f1a7f=[_0xe4ce14,..._0x3efe12][_0x19b255(0x170)]('\x20');console[_0x19b255(0x17a)]('*\x20'+_0x2f1a7f);const _0x2a5ee1=spawnSync(_0xe4ce14,_0x3efe12,{'cwd':_0x542a55,'stdio':_0x1ecf65,'env':process.env,'shell':![]});if(_0x2a5ee1[_0x19b255(0x180)]===0x0)return{'ok':!![],'status':0x0};let _0x1b056b=_0x19b255(0x178)+(_0x2a5ee1[_0x19b255(0x180)]??'unknown');if(_0x1ecf65==='pipe'){const _0x591b2c=_0x2a5ee1[_0x19b255(0x173)]?_0x2a5ee1[_0x19b255(0x173)]['toString']()['trim']():'',_0x54923c=_0x2a5ee1[_0x19b255(0x177)]?_0x2a5ee1['stdout']['toString']()[_0x19b255(0x16e)]():'';if(_0x591b2c)_0x1b056b=_0x591b2c;else{if(_0x54923c)_0x1b056b=_0x54923c;}}return{'ok':![],'status':_0x2a5ee1[_0x19b255(0x180)]??null,'error':_0x1b056b};}
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_0x5d782b=a62_0x2320;(function(_0x2844a3,_0x286f0d){const _0x5dd1c1=a62_0x2320,_0x2f7036=_0x2844a3();while(!![]){try{const _0x4fa3ee=parseInt(_0x5dd1c1(0x17b))/0x1*(parseInt(_0x5dd1c1(0x143))/0x2)+parseInt(_0x5dd1c1(0x17c))/0x3+parseInt(_0x5dd1c1(0x138))/0x4+-parseInt(_0x5dd1c1(0x172))/0x5+-parseInt(_0x5dd1c1(0x14e))/0x6*(parseInt(_0x5dd1c1(0x174))/0x7)+parseInt(_0x5dd1c1(0x149))/0x8+-parseInt(_0x5dd1c1(0x160))/0x9*(parseInt(_0x5dd1c1(0x154))/0xa);if(_0x4fa3ee===_0x286f0d)break;else _0x2f7036['push'](_0x2f7036['shift']());}catch(_0x224d04){_0x2f7036['push'](_0x2f7036['shift']());}}}(a62_0x58b9,0x76e69));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_0x5d782b(0x16f),SKILL_FILE=a62_0x5d782b(0x145);export function resolveSkillSyncPaths(_0xb36858={}){const _0xcb0b53=a62_0x5d782b,_0x54acff=_0xb36858[_0xcb0b53(0x14f)]??homedir(),_0x36dee7=resolve(_0x54acff,PRODUCT_CONFIG[_0xcb0b53(0x169)],_0xcb0b53(0x15c));return{'homeDir':_0x54acff,'cacheRoot':_0x36dee7,'managedRoot':resolve(_0x54acff,PRODUCT_CONFIG[_0xcb0b53(0x169)]),'agentsSkillsDir':_0xb36858[_0xcb0b53(0x173)]??resolve(_0x54acff,_0xcb0b53(0x16d),'skills'),'claudeSkillsDir':_0xb36858[_0xcb0b53(0x179)]??resolve(_0x54acff,_0xcb0b53(0x13d),'skills')};}export function getRuntimeSkillCacheRoot(_0x57a389,_0xf03dc,_0x1bfdb8={}){const _0x57ed6b=a62_0x5d782b,_0x235b86=resolveSkillSyncPaths(_0x1bfdb8);return resolve(_0x235b86[_0x57ed6b(0x14c)],_0x57a389,fingerprintAccessKey(_0xf03dc),'skills');}export function getRuntimeSkillDir(_0x1dce76,_0x109034,_0x2d91b1,_0x21aa12,_0x501057,_0x5dbf5e={}){const _0x96544=a62_0x5d782b;return resolve(getRuntimeSkillCacheRoot(_0x1dce76,_0x109034,_0x5dbf5e),safePathSegment(_0x2d91b1,_0x96544(0x153)),_0x21aa12,safePathSegment(_0x501057,'skillCode'));}export function contentHash(_0x4febc4){const _0x5d740e=a62_0x5d782b;return createHash(_0x5d740e(0x175))[_0x5d740e(0x177)](_0x4febc4)[_0x5d740e(0x180)]('hex');}export function materializeRuntimeSkill(_0x43e367,_0x6d1606,_0x1bc3ea){const _0xbce8a5=a62_0x5d782b,_0x12f38b=requireSkillCode(_0x43e367),_0x37ffaf=_0x43e367[_0xbce8a5(0x157)]??'',_0xf5a8b6=getRuntimeSkillDir(_0x1bc3ea['env'],_0x1bc3ea[_0xbce8a5(0x147)],_0x1bc3ea['appCode'],_0x6d1606,_0x12f38b,_0x1bc3ea['paths']),_0x52bffc=resolve(_0xf5a8b6,SKILL_FILE),_0x3a1de=resolve(_0xf5a8b6,METADATA_FILE),_0x4c0ccd=contentHash(_0x37ffaf);ensurePulledFileCanBeOverwritten(_0x52bffc,_0x3a1de,_0x1bc3ea[_0xbce8a5(0x166)]===!![]),mkdirSync(_0xf5a8b6,{'recursive':!![],'mode':0x1c0});const _0x17dd36=existsSync(_0x52bffc)?readFileSync(_0x52bffc,_0xbce8a5(0x15e)):undefined;return writeTextAtomic(_0x52bffc,_0x37ffaf,0x180),writeJsonAtomic(_0x3a1de,buildMetadata(_0x43e367,_0x6d1606,_0x1bc3ea[_0xbce8a5(0x153)],_0x4c0ccd,_0x1bc3ea['pulledAt'])),{'skill':_0x43e367,'scope':_0x6d1606,'dir':_0xf5a8b6,'skillMdPath':_0x52bffc,'metadataPath':_0x3a1de,'contentHash':_0x4c0ccd,'changed':_0x17dd36!==_0x37ffaf};}export function linkEffectiveRuntimeSkills(_0x3623ac,_0x199618,_0x112c07={}){const _0x4b146b=a62_0x5d782b,_0x70b766=new Map();for(const _0x26bedd of _0x3623ac){const _0x4482e7=_0x26bedd[_0x4b146b(0x151)][_0x4b146b(0x146)];if(!_0x4482e7)continue;const _0x5d7d0c=_0x70b766[_0x4b146b(0x165)](_0x4482e7);(!_0x5d7d0c||_0x26bedd['scope']===_0x4b146b(0x168))&&_0x70b766[_0x4b146b(0x16e)](_0x4482e7,_0x26bedd);}const _0x472e75=[],_0x24baf1=resolveSkillSyncPaths(_0x112c07);for(const _0x1e65c0 of _0x70b766[_0x4b146b(0x17f)]()){const _0x2e1d33=requireSkillCode(_0x1e65c0[_0x4b146b(0x151)]),_0x42a46f=_0x199618+'--'+_0x2e1d33;for(const _0x15e0e2 of[_0x24baf1[_0x4b146b(0x173)],_0x24baf1[_0x4b146b(0x179)]]){_0x472e75[_0x4b146b(0x13e)](ensureManagedSymlink(resolve(_0x15e0e2,_0x42a46f),_0x1e65c0[_0x4b146b(0x170)],_0x24baf1['managedRoot']));}}return _0x472e75;}export function readPushDirectory(_0xd6a540,_0x91b8ee){const _0x35617c=a62_0x5d782b,_0xfd368c=resolve(_0xd6a540);if(!existsSync(_0xfd368c)||!lstatSync(_0xfd368c)[_0x35617c(0x16a)]())throw CliErrors[_0x35617c(0x171)](_0x35617c(0x14a)+_0xd6a540);const _0x4c60f9=resolve(_0xfd368c,SKILL_FILE);if(!existsSync(_0x4c60f9)||!lstatSync(_0x4c60f9)[_0x35617c(0x13b)]())throw CliErrors[_0x35617c(0x171)]('Missing\x20'+SKILL_FILE+':\x20'+_0x4c60f9);const _0x40b672=readMetadataIfPresent(resolve(_0xfd368c,METADATA_FILE));if(_0x40b672&&_0x40b672[_0x35617c(0x150)]!==_0x35617c(0x168))throw CliErrors[_0x35617c(0x171)]('Only\x20personal\x20Skills\x20can\x20be\x20pushed;\x20'+METADATA_FILE+'\x20has\x20scope=\x22'+_0x40b672[_0x35617c(0x150)]+'\x22.');if(_0x40b672?.[_0x35617c(0x153)]&&_0x40b672['appCode']!==_0x91b8ee)throw CliErrors[_0x35617c(0x171)](_0x35617c(0x163)+_0x40b672['appCode']+'\x22\x20does\x20not\x20match\x20current\x20appCode\x20\x22'+_0x91b8ee+'\x22.');const _0x23a5b8=readFileSync(_0x4c60f9,_0x35617c(0x15e)),_0x17f6b2=_0x40b672?.['skillCode']??deriveSkillCodeFromDirectory(_0xfd368c,_0x91b8ee);if(!_0x17f6b2)throw CliErrors[_0x35617c(0x171)](_0x35617c(0x167)+METADATA_FILE+_0x35617c(0x17d));return{'skillCode':_0x17f6b2,'metadata':_0x40b672,'input':{'skillCode':_0x17f6b2,'skillName':_0x40b672?.[_0x35617c(0x181)],'description':_0x40b672?.[_0x35617c(0x164)],'content':_0x23a5b8,'tags':_0x40b672?.['tags'],'version':_0x40b672?.[_0x35617c(0x15a)],'sourceSessionId':_0x40b672?.['sourceSessionId']}};}export function deriveSkillCodeFromDirectory(_0x45b7b1,_0x4f78ee){const _0xb1e4e3=a62_0x5d782b,_0x46bacd=basename(resolve(_0x45b7b1)),_0x39db96=_0x4f78ee+'--';return _0x46bacd[_0xb1e4e3(0x13f)](_0x39db96)?_0x46bacd[_0xb1e4e3(0x16b)](_0x39db96[_0xb1e4e3(0x139)]):_0x46bacd;}export function readMetadataIfPresent(_0x5965d3){const _0x1aa966=a62_0x5d782b;if(!existsSync(_0x5965d3))return undefined;try{const _0x5d6041=JSON[_0x1aa966(0x13c)](readFileSync(_0x5965d3,_0x1aa966(0x15e)));return _0x5d6041;}catch{throw CliErrors[_0x1aa966(0x171)](_0x1aa966(0x14b)+METADATA_FILE+':\x20'+_0x5965d3);}}function buildMetadata(_0x1658d1,_0x4c7761,_0x450515,_0x46e1c1,_0x1a6662){const _0x1a6d60=a62_0x5d782b;return{'schemaVersion':0x1,'id':_0x1658d1['id'],'appCode':_0x450515,'skillCode':requireSkillCode(_0x1658d1),'skillName':_0x1658d1[_0x1a6d60(0x181)],'description':_0x1658d1[_0x1a6d60(0x164)],'scope':_0x4c7761,'readonly':_0x4c7761!==_0x1a6d60(0x168)||_0x1658d1['readonly']===!![],'tenantCode':_0x1658d1[_0x1a6d60(0x15f)],'userId':_0x1658d1[_0x1a6d60(0x159)],'version':_0x1658d1[_0x1a6d60(0x15a)],'status':_0x1658d1[_0x1a6d60(0x156)],'tags':Array['isArray'](_0x1658d1[_0x1a6d60(0x182)])?_0x1658d1['tags']:[],'hasUpstreamUpdate':_0x1658d1[_0x1a6d60(0x158)],'forkedFromSkillId':_0x1658d1[_0x1a6d60(0x141)],'forkedFromVersion':_0x1658d1[_0x1a6d60(0x161)],'sourceSessionId':_0x1658d1[_0x1a6d60(0x155)],'contentHash':_0x46e1c1,'pulledAt':_0x1a6662??new Date()[_0x1a6d60(0x152)]()};}function requireSkillCode(_0x46fb95){const _0x560c90=a62_0x5d782b,_0x4094a2=_0x46fb95[_0x560c90(0x146)]?.[_0x560c90(0x144)]();if(!_0x4094a2)throw CliErrors[_0x560c90(0x171)](_0x560c90(0x15d));return _0x4094a2;}function safePathSegment(_0x9fa936,_0x27d1a7=a62_0x5d782b(0x13a)){const _0xce0dc4=a62_0x5d782b;if(!_0x9fa936||_0x9fa936[_0xce0dc4(0x17e)]('/')||_0x9fa936[_0xce0dc4(0x17e)]('\x5c')||_0x9fa936[_0xce0dc4(0x17e)]('..'))throw CliErrors[_0xce0dc4(0x171)](_0xce0dc4(0x142)+_0x27d1a7+_0xce0dc4(0x17a)+_0x9fa936);return _0x9fa936;}function a62_0x58b9(){const _0x5be06a=['status','content','hasUpstreamUpdate','userId','version','unchanged','cache','Runtime\x20Skill\x20is\x20missing\x20skillCode.','utf8','tenantCode','3671208bRVKEZ','forkedFromVersion','Refusing\x20to\x20overwrite\x20unmanaged\x20symlink:\x20','Skill\x20metadata\x20appCode\x20\x22','description','get','force','Unable\x20to\x20resolve\x20skillCode\x20from\x20','personal','homeDirName','isDirectory','slice','isSymbolicLink','.agents','set','lovrabet.skill.json','dir','validation','3510455DqVxwN','agentsSkillsDir','7MIjAHb','sha256','endsWith','update','created','claudeSkillsDir','\x20for\x20local\x20path:\x20','370059yyfgrn','2309190duIFzy','\x20or\x20directory\x20name.','includes','values','digest','skillName','tags','1085324JJXjKB','length','path\x20segment','isFile','parse','.claude','push','startsWith','contentHash','forkedFromSkillId','Unsafe\x20','2XVxdPu','trim','SKILL.md','skillCode','accessKey','updated','6064136ShaQBv','Skill\x20directory\x20not\x20found:\x20','Invalid\x20','cacheRoot','Push\x20the\x20directory\x20first\x20or\x20rerun\x20pull\x20with\x20a\x20future\x20force\x20option.','3432702mpMdjk','homeDir','scope','skill','toISOString','appCode','10QkutkQ','sourceSessionId'];a62_0x58b9=function(){return _0x5be06a;};return a62_0x58b9();}function ensurePulledFileCanBeOverwritten(_0x39a642,_0x5bd873,_0x1f8d0f){const _0x1f1cb6=a62_0x5d782b;if(_0x1f8d0f||!existsSync(_0x39a642)||!existsSync(_0x5bd873))return;const _0x28037f=readMetadataIfPresent(_0x5bd873);if(!_0x28037f?.[_0x1f1cb6(0x140)])return;const _0x7bf2c6=contentHash(readFileSync(_0x39a642,_0x1f1cb6(0x15e)));if(_0x7bf2c6!==_0x28037f[_0x1f1cb6(0x140)])throw CliErrors[_0x1f1cb6(0x171)]('Local\x20SKILL.md\x20has\x20unpushed\x20edits:\x20'+_0x39a642,_0x1f1cb6(0x14d));}function ensureManagedSymlink(_0x12b461,_0x82aaea,_0x434210){const _0x35d617=a62_0x5d782b;mkdirSync(dirname(_0x12b461),{'recursive':!![],'mode':0x1c0});if(existsSync(_0x12b461)||isDanglingSymlink(_0x12b461)){const _0x60b6f0=lstatSync(_0x12b461);if(!_0x60b6f0[_0x35d617(0x16c)]())throw CliErrors['validation']('Refusing\x20to\x20overwrite\x20unmanaged\x20path:\x20'+_0x12b461);const _0x1560af=resolveSymlinkTarget(_0x12b461);if(!isPathInside(realOrResolved(_0x1560af),realOrResolved(_0x434210)))throw CliErrors[_0x35d617(0x171)](_0x35d617(0x162)+_0x12b461);if(realOrResolved(_0x1560af)===realOrResolved(_0x82aaea))return{'path':_0x12b461,'target':_0x82aaea,'action':_0x35d617(0x15b)};return unlinkSync(_0x12b461),symlinkSync(_0x82aaea,_0x12b461,'dir'),{'path':_0x12b461,'target':_0x82aaea,'action':_0x35d617(0x148)};}return symlinkSync(_0x82aaea,_0x12b461,'dir'),{'path':_0x12b461,'target':_0x82aaea,'action':_0x35d617(0x178)};}function isDanglingSymlink(_0x3db1be){const _0x20f731=a62_0x5d782b;try{return lstatSync(_0x3db1be)[_0x20f731(0x16c)]();}catch{return![];}}function resolveSymlinkTarget(_0x4fa824){const _0x5e4d10=readlinkSync(_0x4fa824);return isAbsolute(_0x5e4d10)?_0x5e4d10:resolve(dirname(_0x4fa824),_0x5e4d10);}function a62_0x2320(_0x12e52e,_0x44ad1e){_0x12e52e=_0x12e52e-0x138;const _0x58b95f=a62_0x58b9();let _0x2320d2=_0x58b95f[_0x12e52e];return _0x2320d2;}function isPathInside(_0x143ca9,_0x177d9f){const _0x1d5083=a62_0x5d782b,_0x159e45=_0x143ca9[_0x1d5083(0x176)](sep)?_0x143ca9:''+_0x143ca9+sep,_0x3103c9=_0x177d9f[_0x1d5083(0x176)](sep)?_0x177d9f:''+_0x177d9f+sep;return _0x143ca9===_0x177d9f||_0x159e45[_0x1d5083(0x13f)](_0x3103c9);}function realOrResolved(_0x32730e){try{return realpathSync(_0x32730e);}catch{return resolve(_0x32730e);}}function writeTextAtomic(_0x359ef0,_0x489ce7,_0x3eab3c){const _0x437d6c=a62_0x5d782b,_0x2c26e3=_0x359ef0+'.tmp';try{writeFileSync(_0x2c26e3,_0x489ce7,{'encoding':_0x437d6c(0x15e),'mode':_0x3eab3c}),renameSync(_0x2c26e3,_0x359ef0);}catch(_0x55270b){try{rmSync(_0x2c26e3,{'force':!![]});}catch{}throw _0x55270b;}}function writeJsonAtomic(_0x289e56,_0x180a2b){writeTextAtomic(_0x289e56,JSON['stringify'](_0x180a2b,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(_0x139c28,_0x979415){const _0x4ca345=a63_0x3d49,_0x2cc2e7=_0x139c28();while(!![]){try{const _0x2c4084=-parseInt(_0x4ca345(0x171))/0x1*(-parseInt(_0x4ca345(0x170))/0x2)+-parseInt(_0x4ca345(0x172))/0x3+parseInt(_0x4ca345(0x16d))/0x4*(parseInt(_0x4ca345(0x176))/0x5)+-parseInt(_0x4ca345(0x16e))/0x6*(parseInt(_0x4ca345(0x175))/0x7)+parseInt(_0x4ca345(0x16f))/0x8+parseInt(_0x4ca345(0x174))/0x9+parseInt(_0x4ca345(0x173))/0xa;if(_0x2c4084===_0x979415)break;else _0x2cc2e7['push'](_0x2cc2e7['shift']());}catch(_0x33c31d){_0x2cc2e7['push'](_0x2cc2e7['shift']());}}}(a63_0x6c47,0x8b098));import{createJqFilter,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';function a63_0x6c47(){const _0x4b8e9e=['844gVceCc','23yHMqUE','2724246XywTlL','8239830OdWwqt','2738331vXUwHr','147tmQDHU','1010OdXEEL','15764fsecwt','287490MsihUH','4398104nSteeA'];a63_0x6c47=function(){return _0x4b8e9e;};return a63_0x6c47();}function a63_0x3d49(_0x581737,_0x46c10a){_0x581737=_0x581737-0x16d;const _0x6c47f1=a63_0x6c47();let _0x3d4912=_0x6c47f1[_0x581737];return _0x3d4912;}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_0x28b4(_0x605647,_0x27bee){_0x605647=_0x605647-0x1ba;const _0x4d365e=a64_0x4d36();let _0x28b41e=_0x4d365e[_0x605647];return _0x28b41e;}const a64_0x2fdb8d=a64_0x28b4;(function(_0x5024eb,_0x172932){const _0x8aace6=a64_0x28b4,_0x28f65c=_0x5024eb();while(!![]){try{const _0x21f08e=parseInt(_0x8aace6(0x1c8))/0x1*(parseInt(_0x8aace6(0x1eb))/0x2)+-parseInt(_0x8aace6(0x1df))/0x3+-parseInt(_0x8aace6(0x1cf))/0x4+-parseInt(_0x8aace6(0x1f0))/0x5*(parseInt(_0x8aace6(0x1e9))/0x6)+-parseInt(_0x8aace6(0x1bc))/0x7+parseInt(_0x8aace6(0x1c2))/0x8*(-parseInt(_0x8aace6(0x1d4))/0x9)+-parseInt(_0x8aace6(0x1e0))/0xa*(-parseInt(_0x8aace6(0x1e6))/0xb);if(_0x21f08e===_0x172932)break;else _0x28f65c['push'](_0x28f65c['shift']());}catch(_0x4d831f){_0x28f65c['push'](_0x28f65c['shift']());}}}(a64_0x4d36,0xbcb1b));import a64_0x1570ee from'winston';function a64_0x4d36(){const _0x2c1d42=['logFileName','logFilePath','command','13iVJzGx','timestamp','transports','logTask','unknown','createLogger','dirname','1076516IhSAIT','getWinstonInstance','setLogPath','parse','split','13005PIBjgP','clearLogs','format','printf','initWinstonLogger','clear','currentRawCommand','filter','details','level','Completed:\x20','621612HDPaAb','40eHyUNs','Failed:\x20','toISOString','errors','join','existsSync','9450551WwXNxB','now','mkdirSync','96cIyyUS','duration','138986ctmPSF','utf8','winstonLogger','green','map','369585CrejXq','blue','message','warn','readLogs','5193734AyncoV','rawCommand','yellow','Failed\x20to\x20read\x20logs:','success','info','6456ZGQktQ','error','File'];a64_0x4d36=function(){return _0x2c1d42;};return a64_0x4d36();}import a64_0x5acda2 from'node:fs';import a64_0x141148 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a64_0x2fdb8d(0x1ed)];[a64_0x2fdb8d(0x1c6)]='';[a64_0x2fdb8d(0x1da)]='';constructor(){}['setRawCommand'](_0x24ed1e){this['currentRawCommand']=_0x24ed1e;}[a64_0x2fdb8d(0x1d1)](_0xf13e2f){const _0x3e58a1=a64_0x2fdb8d;this[_0x3e58a1(0x1c6)]=a64_0x141148[_0x3e58a1(0x1e4)](_0xf13e2f,PRODUCT_CONFIG[_0x3e58a1(0x1c5)]),this[_0x3e58a1(0x1ed)]&&this[_0x3e58a1(0x1ed)][_0x3e58a1(0x1d9)](),this[_0x3e58a1(0x1d8)]();}[a64_0x2fdb8d(0x1d8)](){const _0x5ba47b=a64_0x2fdb8d,_0x4e7f6e=a64_0x141148[_0x5ba47b(0x1ce)](this[_0x5ba47b(0x1c6)]);!a64_0x5acda2[_0x5ba47b(0x1e5)](_0x4e7f6e)&&a64_0x5acda2[_0x5ba47b(0x1e8)](_0x4e7f6e,{'recursive':!![]});const _0x46fb7f=a64_0x1570ee['format']['combine'](a64_0x1570ee[_0x5ba47b(0x1d6)]['timestamp'](),a64_0x1570ee[_0x5ba47b(0x1d6)][_0x5ba47b(0x1e3)]({'stack':!![]}),a64_0x1570ee[_0x5ba47b(0x1d6)][_0x5ba47b(0x1d7)](_0x3b9d74=>{const _0x4c1db8=_0x5ba47b,_0x461719={'timestamp':_0x3b9d74[_0x4c1db8(0x1c9)]||new Date()[_0x4c1db8(0x1e2)](),'level':_0x3b9d74[_0x4c1db8(0x1dd)]||'info','command':_0x3b9d74[_0x4c1db8(0x1c7)]||_0x4c1db8(0x1cc),'rawCommand':_0x3b9d74[_0x4c1db8(0x1bd)]||this[_0x4c1db8(0x1da)]||undefined,'message':_0x3b9d74[_0x4c1db8(0x1f2)]||'','duration':_0x3b9d74[_0x4c1db8(0x1ea)]||undefined,'details':_0x3b9d74[_0x4c1db8(0x1dc)]||undefined};return JSON['stringify'](_0x461719);}));this[_0x5ba47b(0x1ed)]=a64_0x1570ee[_0x5ba47b(0x1cd)]({'level':_0x5ba47b(0x1c1),'format':_0x46fb7f,'transports':[new a64_0x1570ee[(_0x5ba47b(0x1ca))][(_0x5ba47b(0x1c4))]({'filename':this[_0x5ba47b(0x1c6)],'level':_0x5ba47b(0x1c1)})],'silent':![]}),a64_0x1570ee['addColors']({'success':_0x5ba47b(0x1ee),'error':'red','warn':_0x5ba47b(0x1be),'info':_0x5ba47b(0x1f1)});}[a64_0x2fdb8d(0x1c1)](_0x35c375,_0x111fb2,_0x2c16c3){const _0x365630=a64_0x2fdb8d;if(!this[_0x365630(0x1c6)]||!this[_0x365630(0x1ed)])return;this['winstonLogger'][_0x365630(0x1c1)](_0x111fb2,{'command':_0x35c375,'details':_0x2c16c3});}[a64_0x2fdb8d(0x1c0)](_0x4eb377,_0x4b5b2e,_0x4055c4,_0xf8f85f){const _0x1a320a=a64_0x2fdb8d;if(!this[_0x1a320a(0x1c6)]||!this[_0x1a320a(0x1ed)])return;this['winstonLogger']['log']('info',_0x4b5b2e,{'level':'success','command':_0x4eb377,'duration':_0x4055c4,'details':_0xf8f85f});}[a64_0x2fdb8d(0x1c3)](_0x3a12b2,_0x2cad8c,_0x10561d){const _0x433016=a64_0x2fdb8d;if(!this[_0x433016(0x1c6)]||!this['winstonLogger'])return;this[_0x433016(0x1ed)][_0x433016(0x1c3)](_0x2cad8c,{'command':_0x3a12b2,'details':_0x10561d});}['warn'](_0x39f6d4,_0x11cc74,_0x2cde4a){const _0x99b4c7=a64_0x2fdb8d;if(!this['logFilePath']||!this['winstonLogger'])return;this[_0x99b4c7(0x1ed)][_0x99b4c7(0x1ba)](_0x11cc74,{'command':_0x39f6d4,'details':_0x2cde4a});}async[a64_0x2fdb8d(0x1cb)](_0x3309dd,_0x335ead,_0x3540bf){const _0x4bcb8d=a64_0x2fdb8d,_0x42031c=Date[_0x4bcb8d(0x1e7)]();this[_0x4bcb8d(0x1c1)](_0x3309dd,'Starting:\x20'+_0x335ead);try{const _0x35ea64=await _0x3540bf(),_0x1c248c=Date['now']()-_0x42031c;return this[_0x4bcb8d(0x1c0)](_0x3309dd,_0x4bcb8d(0x1de)+_0x335ead,_0x1c248c),_0x35ea64;}catch(_0x31e3dd){const _0x547d91=Date['now']()-_0x42031c;this[_0x4bcb8d(0x1c3)](_0x3309dd,_0x4bcb8d(0x1e1)+_0x335ead,{'error':_0x31e3dd instanceof Error?_0x31e3dd[_0x4bcb8d(0x1f2)]:String(_0x31e3dd),'duration':_0x547d91});throw _0x31e3dd;}}[a64_0x2fdb8d(0x1bb)](){const _0x5305c3=a64_0x2fdb8d;try{if(!a64_0x5acda2[_0x5305c3(0x1e5)](this['logFilePath']))return[];const _0x539f5f=a64_0x5acda2['readFileSync'](this[_0x5305c3(0x1c6)],_0x5305c3(0x1ec));return _0x539f5f[_0x5305c3(0x1d3)](/\r?\n/)[_0x5305c3(0x1db)](_0x1da519=>_0x1da519['trim']())[_0x5305c3(0x1ef)](_0x2349c3=>JSON[_0x5305c3(0x1d2)](_0x2349c3));}catch(_0x7a475e){return console[_0x5305c3(0x1ba)](_0x5305c3(0x1bf),_0x7a475e),[];}}[a64_0x2fdb8d(0x1d5)](){const _0x1f9e7a=a64_0x2fdb8d;try{a64_0x5acda2[_0x1f9e7a(0x1e5)](this['logFilePath'])&&a64_0x5acda2['writeFileSync'](this[_0x1f9e7a(0x1c6)],'',_0x1f9e7a(0x1ec));}catch(_0x2b467f){console['warn']('Failed\x20to\x20clear\x20logs:',_0x2b467f);}}[a64_0x2fdb8d(0x1d0)](){const _0x2287ed=a64_0x2fdb8d;return this[_0x2287ed(0x1ed)];}}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(_0x5b6108,_0x213b67){var _0x5834f1=a65_0x5d16,_0x3a100b=_0x5b6108();while(!![]){try{var _0x32b49a=parseInt(_0x5834f1(0x16d))/0x1+parseInt(_0x5834f1(0x16b))/0x2*(parseInt(_0x5834f1(0x16f))/0x3)+-parseInt(_0x5834f1(0x177))/0x4+-parseInt(_0x5834f1(0x175))/0x5*(-parseInt(_0x5834f1(0x178))/0x6)+parseInt(_0x5834f1(0x179))/0x7*(-parseInt(_0x5834f1(0x17b))/0x8)+-parseInt(_0x5834f1(0x170))/0x9*(-parseInt(_0x5834f1(0x171))/0xa)+-parseInt(_0x5834f1(0x16e))/0xb;if(_0x32b49a===_0x213b67)break;else _0x3a100b['push'](_0x3a100b['shift']());}catch(_0x544d7b){_0x3a100b['push'](_0x3a100b['shift']());}}}(a65_0x1eff,0x557aa));import{CliErrors}from'../errors.js';function a65_0x5d16(_0x2d8743,_0x28f529){_0x2d8743=_0x2d8743-0x16a;var _0x1eff89=a65_0x1eff();var _0x5d16d8=_0x1eff89[_0x2d8743];return _0x5d16d8;}export function parseJsonParams(_0x52e48d){var _0x199e3a=a65_0x5d16;if(!_0x52e48d)return undefined;try{return JSON[_0x199e3a(0x17a)](_0x52e48d);}catch{throw CliErrors['validation']('Invalid\x20JSON\x20for\x20--params:\x20'+_0x52e48d);}}function a65_0x1eff(){var _0x59c9af=['869607kWJXDd','26505KxraRb','1260XJegZG','isArray','validation','object','5pFHypi','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','2403792dxZATA','3625338HokqZR','155911yxqKWa','parse','216yNJSPO','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','items','4NDxfHG','Invalid\x20JSON\x20for\x20--params:\x20','591345BBQxLB','6533285YiYSEa'];a65_0x1eff=function(){return _0x59c9af;};return a65_0x1eff();}export function parseJsonParamsValue(_0x2c03c0){var _0x46b615=a65_0x5d16;if(!_0x2c03c0)return undefined;try{return JSON[_0x46b615(0x17a)](_0x2c03c0);}catch{throw CliErrors[_0x46b615(0x173)](_0x46b615(0x16c)+_0x2c03c0);}}export function parseBatchCreateItemsFromParams(_0x40f779){var _0x52007e=a65_0x5d16;if(Array['isArray'](_0x40f779))return _0x40f779;if(_0x40f779!==null&&_0x40f779!==undefined&&typeof _0x40f779===_0x52007e(0x174)&&Array[_0x52007e(0x172)](_0x40f779[_0x52007e(0x16a)]))return _0x40f779[_0x52007e(0x16a)];throw CliErrors[_0x52007e(0x173)](_0x52007e(0x17c),_0x52007e(0x176));}
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_0x32f8eb=a66_0x5dcc;function a66_0x508a(){const _0x53600f=['434VtzEhs','488HJplbs','10YIPlcP','4816848woGaSb','12042XBRNVN','104964YDOeBk','91000ueyreg','2431ySlFuq','1283347RrEdIr','86THtLpU','win32','15667JOWJmD','1772iOZeNL','225ipYdWv','120302cSIsxV'];a66_0x508a=function(){return _0x53600f;};return a66_0x508a();}(function(_0x47a74b,_0x51b968){const _0xed9ec1=a66_0x5dcc,_0x58396a=_0x47a74b();while(!![]){try{const _0x4ff82a=-parseInt(_0xed9ec1(0x1ec))/0x1*(-parseInt(_0xed9ec1(0x1ea))/0x2)+parseInt(_0xed9ec1(0x1e5))/0x3*(parseInt(_0xed9ec1(0x1ed))/0x4)+parseInt(_0xed9ec1(0x1e3))/0x5*(-parseInt(_0xed9ec1(0x1e4))/0x6)+-parseInt(_0xed9ec1(0x1ef))/0x7*(-parseInt(_0xed9ec1(0x1e2))/0x8)+parseInt(_0xed9ec1(0x1ee))/0x9*(parseInt(_0xed9ec1(0x1e7))/0xa)+-parseInt(_0xed9ec1(0x1e8))/0xb*(-parseInt(_0xed9ec1(0x1e6))/0xc)+parseInt(_0xed9ec1(0x1e9))/0xd*(-parseInt(_0xed9ec1(0x1f0))/0xe);if(_0x4ff82a===_0x51b968)break;else _0x58396a['push'](_0x58396a['shift']());}catch(_0x87f1a8){_0x58396a['push'](_0x58396a['shift']());}}}(a66_0x508a,0xf2e5f));export const isWindows=process['platform']===a66_0x32f8eb(0x1eb);function a66_0x5dcc(_0x26a7fb,_0x568780){_0x26a7fb=_0x26a7fb-0x1e2;const _0x508a5a=a66_0x508a();let _0x5dcc12=_0x508a5a[_0x26a7fb];return _0x5dcc12;}export function resolveNpmBin(_0x11be9d){return isWindows?_0x11be9d+'.cmd':_0x11be9d;}
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 a67_0x57ef(){const _0x43189e=['utf8','9400LVEKlI','version','35941048TzrkWj','386838fVaxhE','3XFAgCm','package.json','70hmUcMx','278000EmoTpj','1565nYGDeV','4652910CeaeCf','164655TfTiNf','839117XlcRBv','48rMxrJH'];a67_0x57ef=function(){return _0x43189e;};return a67_0x57ef();}function a67_0x288d(_0x37b7d0,_0x1c732c){_0x37b7d0=_0x37b7d0-0x1e6;const _0x57ef94=a67_0x57ef();let _0x288d91=_0x57ef94[_0x37b7d0];return _0x288d91;}(function(_0x5fdb13,_0x9118b7){const _0x3b2c2b=a67_0x288d,_0x299ea3=_0x5fdb13();while(!![]){try{const _0x24fd5c=-parseInt(_0x3b2c2b(0x1e9))/0x1+parseInt(_0x3b2c2b(0x1f3))/0x2*(-parseInt(_0x3b2c2b(0x1f0))/0x3)+parseInt(_0x3b2c2b(0x1ec))/0x4*(-parseInt(_0x3b2c2b(0x1e6))/0x5)+-parseInt(_0x3b2c2b(0x1ef))/0x6*(parseInt(_0x3b2c2b(0x1f2))/0x7)+parseInt(_0x3b2c2b(0x1ea))/0x8*(parseInt(_0x3b2c2b(0x1e8))/0x9)+-parseInt(_0x3b2c2b(0x1e7))/0xa+parseInt(_0x3b2c2b(0x1ee))/0xb;if(_0x24fd5c===_0x9118b7)break;else _0x299ea3['push'](_0x299ea3['shift']());}catch(_0x265c3c){_0x299ea3['push'](_0x299ea3['shift']());}}}(a67_0x57ef,0x871ea));import{readFileSync}from'node:fs';import{dirname,join}from'node:path';import{fileURLToPath}from'node:url';let cached;export function getCliVersion(){const _0x15a8c0=a67_0x288d;if(cached)return cached;const _0x212384=join(dirname(fileURLToPath(import.meta.url)),'..','..'),_0x15fe69=readFileSync(join(_0x212384,_0x15a8c0(0x1f1)),_0x15a8c0(0x1eb)),_0x65fc0a=JSON['parse'](_0x15fe69);return cached=_0x65fc0a[_0x15a8c0(0x1ed)],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(_0x130d50,_0x3bc0e4){var _0xc9c409=a68_0x3f5e,_0xfeb5c8=_0x130d50();while(!![]){try{var _0x403bf3=parseInt(_0xc9c409(0x1a7))/0x1+parseInt(_0xc9c409(0x1a9))/0x2+parseInt(_0xc9c409(0x1a4))/0x3+parseInt(_0xc9c409(0x1a8))/0x4+-parseInt(_0xc9c409(0x1a6))/0x5*(parseInt(_0xc9c409(0x1aa))/0x6)+parseInt(_0xc9c409(0x1a3))/0x7+-parseInt(_0xc9c409(0x1ab))/0x8;if(_0x403bf3===_0x3bc0e4)break;else _0xfeb5c8['push'](_0xfeb5c8['shift']());}catch(_0x573be4){_0xfeb5c8['push'](_0xfeb5c8['shift']());}}}(a68_0x5a84,0x9b5e3));function a68_0x3f5e(_0x2e4b97,_0x5ddb17){_0x2e4b97=_0x2e4b97-0x1a3;var _0x5a8496=a68_0x5a84();var _0x3f5e15=_0x5a8496[_0x2e4b97];return _0x3f5e15;}function a68_0x5a84(){var _0x1aba11=['178350BaWaIi','26488512ipUVJc','7891401FFIKix','241284sweaiK','stderr','50uJMWhL','1184818JCrajj','5063972HkcMlZ','1172238FjKArq'];a68_0x5a84=function(){return _0x1aba11;};return a68_0x5a84();}export function writeCliSideChannelLine(_0x12c7a3){var _0x21b17a=a68_0x3f5e;process[_0x21b17a(0x1a5)]['write'](_0x12c7a3+'\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.7",
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",