@lovrabet/lovrabet-cli 2.1.7-beta.5 → 2.1.7

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 (112) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/api-doc/index.js +1 -1
  3. package/lib/commands/app/cache.js +1 -1
  4. package/lib/commands/app/definitions.js +1 -1
  5. package/lib/commands/app/eligibility.js +1 -1
  6. package/lib/commands/app/mock-loader.js +1 -1
  7. package/lib/commands/app/remote-source.js +1 -1
  8. package/lib/commands/app/shared.js +1 -1
  9. package/lib/commands/app-config/get.js +1 -1
  10. package/lib/commands/app-config/index.js +1 -1
  11. package/lib/commands/app-config/shared.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/index.js +1 -1
  14. package/lib/commands/auth/prompt.js +1 -1
  15. package/lib/commands/bff/detail.js +1 -1
  16. package/lib/commands/bff/exec.js +1 -1
  17. package/lib/commands/bff/index.js +1 -1
  18. package/lib/commands/cli-skill/index.js +1 -1
  19. package/lib/commands/common/config-policy.js +1 -1
  20. package/lib/commands/common/constraints.js +1 -1
  21. package/lib/commands/common/flags.js +1 -1
  22. package/lib/commands/config/definitions.js +1 -1
  23. package/lib/commands/config/shared.js +1 -1
  24. package/lib/commands/data/index.js +1 -1
  25. package/lib/commands/dataset/detail.js +1 -1
  26. package/lib/commands/dataset/index.js +1 -1
  27. package/lib/commands/dataset/list.js +1 -1
  28. package/lib/commands/dataset/sdk-doc.js +1 -1
  29. package/lib/commands/doctor.js +1 -1
  30. package/lib/commands/init.js +1 -1
  31. package/lib/commands/kb/index.js +1 -1
  32. package/lib/commands/logs/index.js +1 -1
  33. package/lib/commands/personal-bff/index.js +1 -1
  34. package/lib/commands/registry.js +1 -1
  35. package/lib/commands/schema.js +1 -1
  36. package/lib/commands/service/dynamic.js +1 -1
  37. package/lib/commands/service/index.js +1 -1
  38. package/lib/commands/service/registry.js +1 -1
  39. package/lib/commands/skill/commands/create.js +1 -1
  40. package/lib/commands/skill/commands/install.js +1 -1
  41. package/lib/commands/skill/commands/list.js +1 -1
  42. package/lib/commands/skill/commands/push.js +1 -1
  43. package/lib/commands/skill/commands/validate.js +1 -1
  44. package/lib/commands/skill/flags.js +1 -1
  45. package/lib/commands/skill/index.js +1 -1
  46. package/lib/commands/skill/manifest-helpers.js +1 -1
  47. package/lib/commands/skill/push-retarget.js +1 -1
  48. package/lib/commands/skill/scopes.js +1 -1
  49. package/lib/commands/skill/summary.js +1 -1
  50. package/lib/commands/skill/templates.js +1 -1
  51. package/lib/commands/skill/validate.js +1 -1
  52. package/lib/commands/sql/detail.js +1 -1
  53. package/lib/commands/sql/exec.js +1 -1
  54. package/lib/commands/sql/index.js +1 -1
  55. package/lib/commands/update.js +1 -1
  56. package/lib/commands/workspace/index.js +1 -1
  57. package/lib/config/schema.js +1 -1
  58. package/lib/constant/app.js +1 -1
  59. package/lib/constant/auth-mode.js +1 -1
  60. package/lib/constant/cli.js +1 -1
  61. package/lib/constant/defaults.js +1 -1
  62. package/lib/constant/distribution.js +1 -1
  63. package/lib/constant/domain.js +1 -1
  64. package/lib/constant/env.js +1 -1
  65. package/lib/constant/output.js +1 -1
  66. package/lib/constant/product.js +1 -1
  67. package/lib/constant/risk.js +1 -1
  68. package/lib/constant/url.js +1 -1
  69. package/lib/context.js +1 -1
  70. package/lib/core/api-client.js +1 -1
  71. package/lib/core/db-resolver.js +1 -1
  72. package/lib/core/sdk-client.js +1 -1
  73. package/lib/errors.js +1 -1
  74. package/lib/framework/build-all-flags.js +1 -1
  75. package/lib/framework/dryrun.js +1 -1
  76. package/lib/framework/flags.js +1 -1
  77. package/lib/framework/help.js +1 -1
  78. package/lib/framework/index.js +1 -1
  79. package/lib/framework/output.js +1 -1
  80. package/lib/framework/preparse.js +1 -1
  81. package/lib/framework/response.js +1 -1
  82. package/lib/framework/runner-confirmation.js +1 -1
  83. package/lib/framework/runner-error.js +1 -1
  84. package/lib/framework/runner.js +1 -1
  85. package/lib/framework/schema-export.js +1 -1
  86. package/lib/framework/service-order.js +1 -1
  87. package/lib/framework/types.js +1 -1
  88. package/lib/generated/build-info.js +1 -1
  89. package/lib/help.js +1 -1
  90. package/lib/skills/npx-skills-add.js +1 -1
  91. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  92. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  93. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  94. package/lib/skills/runtime-skill-sync/links.js +1 -1
  95. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  96. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  97. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  98. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  99. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  100. package/lib/skills/runtime-skill-sync/push.js +1 -1
  101. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  102. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  103. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  104. package/lib/skills/runtime-skill-sync.js +1 -1
  105. package/lib/utils/apply-jq-filter.js +1 -1
  106. package/lib/utils/logger.js +1 -1
  107. package/lib/utils/params.js +1 -1
  108. package/lib/utils/platform.js +1 -1
  109. package/lib/utils/update-notice.js +1 -1
  110. package/lib/utils/version.js +1 -1
  111. package/lib/utils/write-cli-side-channel.js +1 -1
  112. package/package.json +1 -1
@@ -1 +1 @@
1
- function a74_0x14ff(){const _0x4b41a1=['74160TxIcxJ','689hoknYj','4oOwGOZ','150MNTuGT','1020603LqEAby','body','97605vhWFIN','981016jpyWpB','291830uCjsxQ','description','30DwmAAb','54LSglWm','2322386KerKnQ','35UHXrwO','25227CURvQu'];a74_0x14ff=function(){return _0x4b41a1;};return a74_0x14ff();}function a74_0x1082(_0x3e9f17,_0x25e52d){_0x3e9f17=_0x3e9f17-0xa4;const _0x14ff9f=a74_0x14ff();let _0x108221=_0x14ff9f[_0x3e9f17];return _0x108221;}(function(_0x1067e9,_0x3d16b8){const _0xa721d2=a74_0x1082,_0x397cf1=_0x1067e9();while(!![]){try{const _0x10e5a5=-parseInt(_0xa721d2(0xae))/0x1*(-parseInt(_0xa721d2(0xab))/0x2)+-parseInt(_0xa721d2(0xa4))/0x3*(parseInt(_0xa721d2(0xb1))/0x4)+parseInt(_0xa721d2(0xa8))/0x5*(parseInt(_0xa721d2(0xaa))/0x6)+-parseInt(_0xa721d2(0xad))/0x7*(parseInt(_0xa721d2(0xa7))/0x8)+-parseInt(_0xa721d2(0xa6))/0x9*(parseInt(_0xa721d2(0xb2))/0xa)+parseInt(_0xa721d2(0xac))/0xb+parseInt(_0xa721d2(0xaf))/0xc*(parseInt(_0xa721d2(0xb0))/0xd);if(_0x10e5a5===_0x3d16b8)break;else _0x397cf1['push'](_0x397cf1['shift']());}catch(_0x16b54c){_0x397cf1['push'](_0x397cf1['shift']());}}}(a74_0x14ff,0x6095e));export function dryRun(_0x26ed12,_0x1cd80f){const _0xfaf353={'method':_0x26ed12,'url':_0x1cd80f},_0x5fc72f={'body'(_0x4ddc57){const _0x19a8ef=a74_0x1082;return _0xfaf353[_0x19a8ef(0xa5)]=_0x4ddc57,_0x5fc72f;},'description'(_0x22c8d0){const _0x1c32f7=a74_0x1082;return _0xfaf353[_0x1c32f7(0xa9)]=_0x22c8d0,_0x5fc72f;},'build'(){return{..._0xfaf353};}};return _0x5fc72f;}
1
+ (function(_0x4fce62,_0x27e24f){const _0x4ec020=a74_0x4731,_0x1ab090=_0x4fce62();while(!![]){try{const _0x42b620=parseInt(_0x4ec020(0xbd))/0x1+-parseInt(_0x4ec020(0xbb))/0x2*(parseInt(_0x4ec020(0xb7))/0x3)+parseInt(_0x4ec020(0xbe))/0x4*(parseInt(_0x4ec020(0xbc))/0x5)+-parseInt(_0x4ec020(0xba))/0x6*(-parseInt(_0x4ec020(0xc0))/0x7)+parseInt(_0x4ec020(0xc1))/0x8*(parseInt(_0x4ec020(0xb8))/0x9)+-parseInt(_0x4ec020(0xb9))/0xa*(-parseInt(_0x4ec020(0xbf))/0xb)+parseInt(_0x4ec020(0xb4))/0xc*(-parseInt(_0x4ec020(0xb5))/0xd);if(_0x42b620===_0x27e24f)break;else _0x1ab090['push'](_0x1ab090['shift']());}catch(_0x42b68a){_0x1ab090['push'](_0x1ab090['shift']());}}}(a74_0x1a6f,0xae17f));function a74_0x4731(_0x4d7215,_0x56110b){_0x4d7215=_0x4d7215-0xb4;const _0x1a6f91=a74_0x1a6f();let _0x473156=_0x1a6f91[_0x4d7215];return _0x473156;}export function dryRun(_0x11bfb4,_0x148084){const _0x57d311={'method':_0x11bfb4,'url':_0x148084},_0x21398d={'body'(_0x52cb30){return _0x57d311['body']=_0x52cb30,_0x21398d;},'description'(_0x181442){const _0x459dc7=a74_0x4731;return _0x57d311[_0x459dc7(0xb6)]=_0x181442,_0x21398d;},'build'(){return{..._0x57d311};}};return _0x21398d;}function a74_0x1a6f(){const _0x3f7a21=['807rvHwig','12384108PhvVKt','470VGpwTa','3954cnPaZM','3742lZazrV','135OMTcPr','873678MPUdso','207436HhfwOB','87054QXilmI','4235DoULDx','8vkcCdK','37512hTCmZJ','13325YhcHTU','description'];a74_0x1a6f=function(){return _0x3f7a21;};return a74_0x1a6f();}
@@ -1 +1 @@
1
- const a75_0x410f07=a75_0x4872;(function(_0x126f98,_0x68d798){const _0x55176b=a75_0x4872,_0x3daa6c=_0x126f98();while(!![]){try{const _0x5e0638=-parseInt(_0x55176b(0x137))/0x1+parseInt(_0x55176b(0x133))/0x2*(-parseInt(_0x55176b(0x13a))/0x3)+-parseInt(_0x55176b(0x13d))/0x4+-parseInt(_0x55176b(0x132))/0x5*(parseInt(_0x55176b(0x139))/0x6)+-parseInt(_0x55176b(0x136))/0x7*(-parseInt(_0x55176b(0x135))/0x8)+-parseInt(_0x55176b(0x13c))/0x9*(parseInt(_0x55176b(0x138))/0xa)+-parseInt(_0x55176b(0x13e))/0xb*(-parseInt(_0x55176b(0x134))/0xc);if(_0x5e0638===_0x68d798)break;else _0x3daa6c['push'](_0x3daa6c['shift']());}catch(_0x309436){_0x3daa6c['push'](_0x3daa6c['shift']());}}}(a75_0x491a,0x230ce));import{createFlagHelpers}from'@lovrabet/cli-framework';function a75_0x491a(){const _0x5bf7fb=['291715RBStdi','8LxtzCV','997512AwBTee','146936jxiMet','7qwchwT','5332xcoZbC','10yNkWTo','18EOPOuG','78717nAQtDd','validateFlags','1955196NEaECJ','148992ENqgBF','88rrcWoi'];a75_0x491a=function(){return _0x5bf7fb;};return a75_0x491a();}import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);function a75_0x4872(_0x20e5ea,_0x39c8be){_0x20e5ea=_0x20e5ea-0x132;const _0x491ab6=a75_0x491a();let _0x487255=_0x491ab6[_0x20e5ea];return _0x487255;}export const parseFlags=helpers['parseFlags'];export const validateFlags=helpers[a75_0x410f07(0x13b)];
1
+ function a75_0x562b(){const _0x21772b=['956JwgHMi','5110KhruXU','6243738FcIZKf','357195mfQIlP','63dANNtH','validateFlags','parseFlags','794176CRlgxu','848926IIjaVn','1346468xYTaHm','8260553Cuxbue'];a75_0x562b=function(){return _0x21772b;};return a75_0x562b();}const a75_0x2ddde5=a75_0x587f;(function(_0xd30981,_0x3824a1){const _0x7c2ad=a75_0x587f,_0x50ca9f=_0xd30981();while(!![]){try{const _0x2a7603=parseInt(_0x7c2ad(0x151))/0x1+-parseInt(_0x7c2ad(0x150))/0x2+parseInt(_0x7c2ad(0x14b))/0x3+-parseInt(_0x7c2ad(0x153))/0x4*(-parseInt(_0x7c2ad(0x149))/0x5)+-parseInt(_0x7c2ad(0x14a))/0x6+parseInt(_0x7c2ad(0x152))/0x7+-parseInt(_0x7c2ad(0x14f))/0x8*(parseInt(_0x7c2ad(0x14c))/0x9);if(_0x2a7603===_0x3824a1)break;else _0x50ca9f['push'](_0x50ca9f['shift']());}catch(_0x5066af){_0x50ca9f['push'](_0x50ca9f['shift']());}}}(a75_0x562b,0xb2318));import{createFlagHelpers}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const helpers=createFlagHelpers(CliErrors);export const parseFlags=helpers[a75_0x2ddde5(0x14e)];function a75_0x587f(_0x222122,_0x5e0392){_0x222122=_0x222122-0x149;const _0x562b51=a75_0x562b();let _0x587f83=_0x562b51[_0x222122];return _0x587f83;}export const validateFlags=helpers[a75_0x2ddde5(0x14d)];
@@ -1 +1 @@
1
- (function(_0x1378f6,_0x51b834){const _0x2c8fd0=a76_0xa159,_0x4c14b5=_0x1378f6();while(!![]){try{const _0x18ed46=-parseInt(_0x2c8fd0(0xa7))/0x1+-parseInt(_0x2c8fd0(0xb2))/0x2*(parseInt(_0x2c8fd0(0xac))/0x3)+-parseInt(_0x2c8fd0(0xa1))/0x4+parseInt(_0x2c8fd0(0xae))/0x5*(-parseInt(_0x2c8fd0(0xa3))/0x6)+parseInt(_0x2c8fd0(0xaa))/0x7*(parseInt(_0x2c8fd0(0xad))/0x8)+-parseInt(_0x2c8fd0(0xa8))/0x9*(parseInt(_0x2c8fd0(0xa4))/0xa)+parseInt(_0x2c8fd0(0xb1))/0xb;if(_0x18ed46===_0x51b834)break;else _0x4c14b5['push'](_0x4c14b5['shift']());}catch(_0x3f74f6){_0x4c14b5['push'](_0x4c14b5['shift']());}}}(a76_0x4785,0xb554f));import{createHelpGenerators}from'@lovrabet/cli-framework';function a76_0xa159(_0x34953d,_0x268841){_0x34953d=_0x34953d-0xa1;const _0x4785e3=a76_0x4785();let _0xa15953=_0x4785e3[_0x34953d];return _0xa15953;}import{buildAllFlags}from'../framework/build-all-flags.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{getDynamicServiceDefinitions,getDynamicServiceEntry,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0x42d229=a76_0xa159;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x42d229(0xa9)+PRODUCT_CONFIG[_0x42d229(0xaf)]+'\x20or\x20--appcode).'});}export function generateCommandHelp(_0x5d72b7){const _0x56ec26=a76_0xa159;return createGenerators()[_0x56ec26(0xa5)](_0x5d72b7);}function a76_0x4785(){const _0x42c010=['1554DBKgmz','service','195RBHali','11416TvzHQH','5926645wtHdKW','newConfigFileName','has','43710095yiTfoz','3958fnOcYb','generateFullHelp','4212948MdnDNm','get','6LteLKw','10aOQUaK','generateCommandHelp','generateServiceHelp','70337PgNjeR','9991494nugFXJ','Requires\x20appcode\x20(set\x20via\x20'];a76_0x4785=function(){return _0x42c010;};return a76_0x4785();}export function generateServiceHelp(_0x396822){const _0x5d9c24=a76_0xa159;return createGenerators()[_0x5d9c24(0xa6)](_0x396822);}export function generateFullHelp(){const _0x5c9f5e=a76_0xa159;return createGenerators()[_0x5c9f5e(0xb3)]();}function getAnyServiceEntry(_0x360284){const _0x1ebfdb=getServiceEntry(_0x360284);if(_0x1ebfdb)return _0x1ebfdb;try{return getDynamicServiceEntry(_0x360284);}catch{return undefined;}}function getAnyServiceDefinitions(_0x225e64){const _0x54ed54=a76_0xa159,_0x4d9a1b=serviceGroups[_0x54ed54(0xa2)](_0x225e64);if(_0x4d9a1b)return _0x4d9a1b;try{return getDynamicServiceDefinitions(_0x225e64);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x1d6f9f=a76_0xa159,_0x125783=new Set(serviceRegistry['map'](_0x5233df=>_0x5233df['service']));try{return listDynamicServiceEntries()['filter'](_0x269b13=>!_0x125783[_0x1d6f9f(0xb0)](_0x269b13[_0x1d6f9f(0xab)]));}catch{return[];}}
1
+ (function(_0x9e5f3b,_0x44a111){const _0x3d3356=a76_0x2025,_0x348122=_0x9e5f3b();while(!![]){try{const _0xfc6cfc=parseInt(_0x3d3356(0x13c))/0x1*(-parseInt(_0x3d3356(0x143))/0x2)+-parseInt(_0x3d3356(0x13f))/0x3+parseInt(_0x3d3356(0x144))/0x4*(-parseInt(_0x3d3356(0x14a))/0x5)+-parseInt(_0x3d3356(0x146))/0x6*(parseInt(_0x3d3356(0x149))/0x7)+parseInt(_0x3d3356(0x14b))/0x8+-parseInt(_0x3d3356(0x147))/0x9*(-parseInt(_0x3d3356(0x14c))/0xa)+parseInt(_0x3d3356(0x142))/0xb;if(_0xfc6cfc===_0x44a111)break;else _0x348122['push'](_0x348122['shift']());}catch(_0x5644ac){_0x348122['push'](_0x348122['shift']());}}}(a76_0x1870,0x7afdd));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{getDynamicServiceDefinitions,getDynamicServiceEntry,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';function a76_0x2025(_0x2c54fa,_0x314843){_0x2c54fa=_0x2c54fa-0x13c;const _0x1870f9=a76_0x1870();let _0x202562=_0x1870f9[_0x2c54fa];return _0x202562;}function createGenerators(){const _0x3495ca=a76_0x2025;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x3495ca(0x148)+PRODUCT_CONFIG[_0x3495ca(0x13d)]+'\x20or\x20--appcode).'});}export function generateCommandHelp(_0x4d78ba){const _0x47f110=a76_0x2025;return createGenerators()[_0x47f110(0x14d)](_0x4d78ba);}export function generateServiceHelp(_0x370e27){const _0x2277c7=a76_0x2025;return createGenerators()[_0x2277c7(0x140)](_0x370e27);}export function generateFullHelp(){const _0x27707a=a76_0x2025;return createGenerators()[_0x27707a(0x14f)]();}function a76_0x1870(){const _0x3976d4=['map','generateFullHelp','1ATQuvd','newConfigFileName','filter','923724YOBQpC','generateServiceHelp','get','6963869ytpvNS','345946AtzwiK','598268yeZAZp','service','248244LritKN','765NogJRw','Requires\x20appcode\x20(set\x20via\x20','42VqnOxX','30TthLpX','4087728XIggzU','116030cLaEWi','generateCommandHelp'];a76_0x1870=function(){return _0x3976d4;};return a76_0x1870();}function getAnyServiceEntry(_0x21ec85){const _0x57931f=getServiceEntry(_0x21ec85);if(_0x57931f)return _0x57931f;try{return getDynamicServiceEntry(_0x21ec85);}catch{return undefined;}}function getAnyServiceDefinitions(_0x4c4142){const _0x578958=a76_0x2025,_0x2c601c=serviceGroups[_0x578958(0x141)](_0x4c4142);if(_0x2c601c)return _0x2c601c;try{return getDynamicServiceDefinitions(_0x4c4142);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x14295c=a76_0x2025,_0x4707ed=new Set(serviceRegistry[_0x14295c(0x14e)](_0x27e90a=>_0x27e90a[_0x14295c(0x145)]));try{return listDynamicServiceEntries()[_0x14295c(0x13e)](_0x5cc367=>!_0x4707ed['has'](_0x5cc367[_0x14295c(0x145)]));}catch{return[];}}
@@ -1 +1 @@
1
- function a77_0x2b7b(_0x2c41f0,_0xf48b4e){_0x2c41f0=_0x2c41f0-0x121;var _0x3346b9=a77_0x3346();var _0x2b7b76=_0x3346b9[_0x2c41f0];return _0x2b7b76;}(function(_0x3fc24d,_0x4a5454){var _0x38bcd1=a77_0x2b7b,_0x3f00ac=_0x3fc24d();while(!![]){try{var _0x2aa2a4=-parseInt(_0x38bcd1(0x12b))/0x1*(parseInt(_0x38bcd1(0x12c))/0x2)+parseInt(_0x38bcd1(0x12d))/0x3*(-parseInt(_0x38bcd1(0x12a))/0x4)+-parseInt(_0x38bcd1(0x127))/0x5*(parseInt(_0x38bcd1(0x125))/0x6)+-parseInt(_0x38bcd1(0x126))/0x7*(parseInt(_0x38bcd1(0x128))/0x8)+parseInt(_0x38bcd1(0x129))/0x9*(parseInt(_0x38bcd1(0x121))/0xa)+-parseInt(_0x38bcd1(0x122))/0xb*(parseInt(_0x38bcd1(0x124))/0xc)+parseInt(_0x38bcd1(0x123))/0xd;if(_0x2aa2a4===_0x4a5454)break;else _0x3f00ac['push'](_0x3f00ac['shift']());}catch(_0x3da6a7){_0x3f00ac['push'](_0x3f00ac['shift']());}}}(a77_0x3346,0x4f9d7));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';function a77_0x3346(){var _0x56defc=['2126532hmuSqk','3654MTKaJy','21jppGMC','4750lIkTcw','1126088tMeDge','4289697cnENgn','108dWvAWO','1cYVmMi','1258638FusQMw','27936roDVKS','10SNZIvU','11KJpDXW','24807341zfcRbf'];a77_0x3346=function(){return _0x56defc;};return a77_0x3346();}export{riskLevelOrder,isValidFormat}from'../framework/types.js';
1
+ (function(_0x580417,_0x5c0e75){var _0x23940d=a77_0x9343,_0x173750=_0x580417();while(!![]){try{var _0xdeb621=-parseInt(_0x23940d(0x99))/0x1*(-parseInt(_0x23940d(0x98))/0x2)+parseInt(_0x23940d(0x93))/0x3+-parseInt(_0x23940d(0x96))/0x4*(parseInt(_0x23940d(0x8f))/0x5)+-parseInt(_0x23940d(0x97))/0x6*(parseInt(_0x23940d(0x92))/0x7)+parseInt(_0x23940d(0x94))/0x8+-parseInt(_0x23940d(0x8e))/0x9*(parseInt(_0x23940d(0x91))/0xa)+parseInt(_0x23940d(0x90))/0xb*(-parseInt(_0x23940d(0x95))/0xc);if(_0xdeb621===_0x5c0e75)break;else _0x173750['push'](_0x173750['shift']());}catch(_0x49cc10){_0x173750['push'](_0x173750['shift']());}}}(a77_0x21a1,0x9c6b8));function a77_0x21a1(){var _0x1ca580=['11481204RiskDF','20ZyoRHM','300354CFljqB','2esfpVH','532179mFNxwS','9RRpydC','13435swZkHz','11acErnu','2971120QaeNNU','7rRUjDx','2649102mnFmrc','4342848YNArxs'];a77_0x21a1=function(){return _0x1ca580;};return a77_0x21a1();}function a77_0x9343(_0x5cd9b5,_0x22bfef){_0x5cd9b5=_0x5cd9b5-0x8e;var _0x21a13e=a77_0x21a1();var _0x93439f=_0x21a13e[_0x5cd9b5];return _0x93439f;}export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x19a526,_0x4f9cc3){const _0x43832a=a78_0x3323,_0x4aef15=_0x19a526();while(!![]){try{const _0x547ac4=-parseInt(_0x43832a(0x15a))/0x1+parseInt(_0x43832a(0x15b))/0x2*(-parseInt(_0x43832a(0x153))/0x3)+parseInt(_0x43832a(0x152))/0x4*(parseInt(_0x43832a(0x159))/0x5)+-parseInt(_0x43832a(0x156))/0x6+parseInt(_0x43832a(0x154))/0x7*(parseInt(_0x43832a(0x14c))/0x8)+parseInt(_0x43832a(0x157))/0x9+parseInt(_0x43832a(0x14f))/0xa;if(_0x547ac4===_0x4f9cc3)break;else _0x4aef15['push'](_0x4aef15['shift']());}catch(_0x59c796){_0x4aef15['push'](_0x4aef15['shift']());}}}(a78_0x33da,0xedfa4));function a78_0x33da(){const _0xd535=['format','984102IMIBJa','12508380nPENTs','error','14695YsHjnd','1568110QXOwzg','2vctUOP','update','72ZRWLaK','url','pretty','6827900whzTst','message','_notice','552dVuRJu','4867638bDCeTL','1439851FeRxqF'];a78_0x33da=function(){return _0xd535;};return a78_0x33da();}import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a78_0x3323(_0x5350e1,_0x7037ae){_0x5350e1=_0x5350e1-0x14b;const _0x33da5b=a78_0x33da();let _0x33238e=_0x33da5b[_0x5350e1];return _0x33238e;}import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x85aacc,_0x4b235d){const _0x3bc685=a78_0x3323,_0x39d65f=_0x85aacc[_0x3bc685(0x151)],{_notice:_0x3d4f94,..._0x310079}=_0x85aacc;void _0x3d4f94,baseFormatOutput(_0x310079,_0x4b235d),_0x4b235d[_0x3bc685(0x155)]===_0x3bc685(0x14e)&&printPrettyNotice(_0x39d65f);}function printPrettyNotice(_0x32ad74){const _0xa0cc6e=a78_0x3323;if(!_0x32ad74?.[_0xa0cc6e(0x14b)])return;console[_0xa0cc6e(0x158)](_0x32ad74['update'][_0xa0cc6e(0x150)]+'\x20('+_0x32ad74['update'][_0xa0cc6e(0x14d)]+')');}
1
+ (function(_0x402d1b,_0x21d39a){const _0x4271dc=a78_0x28b7,_0x27850e=_0x402d1b();while(!![]){try{const _0x2ca359=parseInt(_0x4271dc(0x1fd))/0x1*(parseInt(_0x4271dc(0x1f0))/0x2)+-parseInt(_0x4271dc(0x1f2))/0x3*(parseInt(_0x4271dc(0x1f7))/0x4)+-parseInt(_0x4271dc(0x1ef))/0x5+-parseInt(_0x4271dc(0x1f8))/0x6*(-parseInt(_0x4271dc(0x1ee))/0x7)+parseInt(_0x4271dc(0x1f3))/0x8+-parseInt(_0x4271dc(0x1f9))/0x9*(parseInt(_0x4271dc(0x1ed))/0xa)+-parseInt(_0x4271dc(0x1fb))/0xb*(-parseInt(_0x4271dc(0x1ec))/0xc);if(_0x2ca359===_0x21d39a)break;else _0x27850e['push'](_0x27850e['shift']());}catch(_0x5b53f2){_0x27850e['push'](_0x27850e['shift']());}}}(a78_0x1698,0xce82b));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a78_0x1698(){const _0x2e7907=['12423016SCmZUk','error','update','message','142952CebRSC','18pXycug','15023142ghSfXl','format','11OFlqCa','_notice','1raiJcS','8483016hSJvtC','10QMVbmH','1845501RMjSMa','5200695BHqRki','1366420swWSWQ','url','15ZQTNUZ'];a78_0x1698=function(){return _0x2e7907;};return a78_0x1698();}function a78_0x28b7(_0x40b62f,_0x561a2f){_0x40b62f=_0x40b62f-0x1ec;const _0x169848=a78_0x1698();let _0x28b7f0=_0x169848[_0x40b62f];return _0x28b7f0;}import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x40113a,_0x5dcfc5){const _0x52d511=a78_0x28b7,_0x181aa1=_0x40113a[_0x52d511(0x1fc)],{_notice:_0x5bf7b3,..._0x2ca9f0}=_0x40113a;void _0x5bf7b3,baseFormatOutput(_0x2ca9f0,_0x5dcfc5),_0x5dcfc5[_0x52d511(0x1fa)]==='pretty'&&printPrettyNotice(_0x181aa1);}function printPrettyNotice(_0x24bd91){const _0x442c80=a78_0x28b7;if(!_0x24bd91?.['update'])return;console[_0x442c80(0x1f4)](_0x24bd91[_0x442c80(0x1f5)][_0x442c80(0x1f6)]+'\x20('+_0x24bd91['update'][_0x442c80(0x1f1)]+')');}
@@ -1 +1 @@
1
- (function(_0x193afd,_0x5a487c){const _0x2c17dd=a79_0x3382,_0x298b22=_0x193afd();while(!![]){try{const _0x5dd262=parseInt(_0x2c17dd(0xb9))/0x1+parseInt(_0x2c17dd(0xb5))/0x2*(-parseInt(_0x2c17dd(0xbe))/0x3)+parseInt(_0x2c17dd(0xd6))/0x4+-parseInt(_0x2c17dd(0xd0))/0x5+-parseInt(_0x2c17dd(0xc5))/0x6*(-parseInt(_0x2c17dd(0xcb))/0x7)+parseInt(_0x2c17dd(0xc6))/0x8+-parseInt(_0x2c17dd(0xc4))/0x9;if(_0x5dd262===_0x5a487c)break;else _0x298b22['push'](_0x298b22['shift']());}catch(_0x3dc520){_0x298b22['push'](_0x298b22['shift']());}}}(a79_0x3f48,0xde7bc));function toKebab(_0x4c59b7){const _0x1b119b=a79_0x3382;return _0x4c59b7[_0x1b119b(0xb7)](/_/g,'-')[_0x1b119b(0xb7)](/-([A-Z]+)/g,(_0x459558,_0x4b1a23)=>'-'+_0x4b1a23[_0x1b119b(0xc7)]())[_0x1b119b(0xb7)](/([a-z0-9])([A-Z])/g,(_0x453cdd,_0x218b58,_0x5f47cd)=>_0x218b58+'-'+_0x5f47cd)['toLowerCase']();}function a79_0x3382(_0xaaa876,_0x44eec5){_0xaaa876=_0xaaa876-0xb4;const _0x3f4862=a79_0x3f48();let _0x33820d=_0x3f4862[_0xaaa876];return _0x33820d;}function buildKnownFlags(_0xc81035){const _0x40b105=a79_0x3382,_0x228153=new Set();for(const _0x3a6a35 of _0xc81035){_0x228153[_0x40b105(0xb8)](_0x3a6a35[_0x40b105(0xc8)]),_0x228153['add'](toCamelCase(_0x3a6a35[_0x40b105(0xc8)]));}for(const _0x4b2440 of[_0x40b105(0xbd),_0x40b105(0xd2),_0x40b105(0xbc),_0x40b105(0xc2)]){_0x228153[_0x40b105(0xb8)](_0x4b2440);}for(const _0x2e1416 of[_0x40b105(0xc3),'env',_0x40b105(0xb4),_0x40b105(0xcf),_0x40b105(0xd9),_0x40b105(0xc1),'ci',_0x40b105(0xca),'version']){_0x228153[_0x40b105(0xb8)](_0x2e1416);}return _0x228153;}function buildFlagTypeMap(_0x83a067){const _0xdac9c1=a79_0x3382,_0x43305f=new Map();for(const _0x385258 of _0x83a067){_0x43305f['set'](_0x385258[_0xdac9c1(0xc8)],_0x385258[_0xdac9c1(0xd1)]),_0x43305f[_0xdac9c1(0xbf)](toCamelCase(_0x385258[_0xdac9c1(0xc8)]),_0x385258[_0xdac9c1(0xd1)]);}return _0x43305f;}function toCamelCase(_0x568e76){const _0x4c7568=a79_0x3382;return _0x568e76[_0x4c7568(0xb7)](/-([a-z])/g,(_0x105b06,_0x263ad5)=>_0x263ad5[_0x4c7568(0xbb)]());}function a79_0x3f48(){const _0x5a8c99=['has','appcode','3630qwGWDd','sticky','replace','add','440955Sswchw','original','toUpperCase','yes','dry-run','315Tjngkd','set','boolean','non-interactive','format','help','10176813WLYzgK','3022764vLrDvQ','6122424WFFlkG','toLowerCase','name','length','global','14DmCTwf','corrected','alias','slice','app','7558500Uudwkd','type','dryRun','get','string','push','6121912wZReQp','number','indexOf','nonInteractive'];a79_0x3f48=function(){return _0x5a8c99;};return a79_0x3f48();}function aliasHandler(_0x429771,_0x5b4990){const _0x137cd8=a79_0x3382,_0x1dd7b9=[];for(const _0x12f83c of Object['keys'](_0x429771)){if(_0x5b4990[_0x137cd8(0xda)](_0x12f83c))continue;const _0xef7d78=toKebab(_0x12f83c);_0xef7d78!==_0x12f83c&&_0x5b4990[_0x137cd8(0xda)](_0xef7d78)&&_0x1dd7b9[_0x137cd8(0xd5)]({'original':_0x12f83c,'corrected':_0xef7d78,'handler':_0x137cd8(0xcd)});}return _0x1dd7b9;}function stickyHandler(_0x1c5ee6,_0x55c890,_0x1c3173){const _0x412b71=a79_0x3382,_0x1ce401=[];for(const [_0x4d0a9b,_0x57a56c]of Object['entries'](_0x1c5ee6)){if(_0x57a56c!==!![])continue;for(let _0x3a6f46=_0x4d0a9b[_0x412b71(0xc9)]-0x1;_0x3a6f46>0x0;_0x3a6f46--){const _0x3feefa=_0x4d0a9b[_0x412b71(0xce)](0x0,_0x3a6f46),_0x592b52=_0x4d0a9b[_0x412b71(0xce)](_0x3a6f46),_0x293374=toKebab(_0x3feefa),_0x263d5a=toCamelCase(_0x3feefa),_0x2d66e0=_0x55c890[_0x412b71(0xda)](_0x3feefa)?_0x3feefa:_0x55c890[_0x412b71(0xda)](_0x293374)?_0x293374:_0x55c890[_0x412b71(0xda)](_0x263d5a)?_0x263d5a:null;if(!_0x2d66e0)continue;const _0x10c323=_0x1c3173[_0x412b71(0xd3)](_0x2d66e0)??_0x412b71(0xd4);let _0x122ada;if(_0x10c323===_0x412b71(0xd7)){const _0x2a221e=Number(_0x592b52);if(isNaN(_0x2a221e)||_0x592b52==='')continue;_0x122ada=_0x2a221e;}else{if(_0x10c323===_0x412b71(0xc0))continue;else{if(_0x592b52==='')continue;_0x122ada=_0x592b52;}}_0x1ce401[_0x412b71(0xd5)]({'original':_0x4d0a9b,'corrected':_0x2d66e0+'='+_0x122ada,'handler':_0x412b71(0xb6)});break;}}return _0x1ce401;}export function correctFlags(_0x3a5b37,_0x2bcd8f){const _0x4a6f2d=a79_0x3382,_0x219429=buildKnownFlags(_0x2bcd8f),_0x4174d1=buildFlagTypeMap(_0x2bcd8f),_0x236b97=aliasHandler(_0x3a5b37,_0x219429),_0x1f6e3c=stickyHandler(_0x3a5b37,_0x219429,_0x4174d1),_0x26f702=[..._0x236b97,..._0x1f6e3c];if(_0x26f702[_0x4a6f2d(0xc9)]===0x0)return{'flags':_0x3a5b37,'corrections':[]};const _0x305b33={..._0x3a5b37},_0x15c5b8=new Set();for(const _0x15ab57 of _0x236b97){_0x305b33[_0x15ab57[_0x4a6f2d(0xcc)]]=_0x3a5b37[_0x15ab57[_0x4a6f2d(0xba)]],_0x15c5b8['add'](_0x15ab57[_0x4a6f2d(0xba)]);}for(const _0x223278 of _0x1f6e3c){const _0x5c4f4c=_0x223278['corrected'][_0x4a6f2d(0xd8)]('='),_0x239f45=_0x223278[_0x4a6f2d(0xcc)]['slice'](0x0,_0x5c4f4c),_0x5acb1e=_0x223278['corrected'][_0x4a6f2d(0xce)](_0x5c4f4c+0x1),_0x441299=_0x4174d1[_0x4a6f2d(0xd3)](_0x239f45)??_0x4a6f2d(0xd4);_0x441299==='number'?_0x305b33[_0x239f45]=Number(_0x5acb1e):_0x305b33[_0x239f45]=_0x5acb1e,_0x15c5b8['add'](_0x223278[_0x4a6f2d(0xba)]);}for(const _0x2a26ae of _0x15c5b8){delete _0x305b33[_0x2a26ae];}return{'flags':_0x305b33,'corrections':_0x26f702};}
1
+ (function(_0x33b5d8,_0x5411b1){const _0x1de7a9=a79_0x5eb8,_0x306326=_0x33b5d8();while(!![]){try{const _0x1f9e9f=-parseInt(_0x1de7a9(0x1cc))/0x1+parseInt(_0x1de7a9(0x1dd))/0x2+parseInt(_0x1de7a9(0x1e9))/0x3*(parseInt(_0x1de7a9(0x1cf))/0x4)+parseInt(_0x1de7a9(0x1d4))/0x5+-parseInt(_0x1de7a9(0x1d6))/0x6*(-parseInt(_0x1de7a9(0x1c8))/0x7)+parseInt(_0x1de7a9(0x1e0))/0x8+-parseInt(_0x1de7a9(0x1e7))/0x9;if(_0x1f9e9f===_0x5411b1)break;else _0x306326['push'](_0x306326['shift']());}catch(_0x2e92dc){_0x306326['push'](_0x306326['shift']());}}}(a79_0x5b13,0xf0b3f));function toKebab(_0x448430){const _0x189074=a79_0x5eb8;return _0x448430[_0x189074(0x1e1)](/_/g,'-')['replace'](/-([A-Z]+)/g,(_0x330023,_0x4a23b2)=>'-'+_0x4a23b2[_0x189074(0x1de)]())[_0x189074(0x1e1)](/([a-z0-9])([A-Z])/g,(_0x2ccb2b,_0x221bed,_0x496dbb)=>_0x221bed+'-'+_0x496dbb)[_0x189074(0x1de)]();}function buildKnownFlags(_0x4708b3){const _0x3295e8=a79_0x5eb8,_0x22cc50=new Set();for(const _0x5c6d25 of _0x4708b3){_0x22cc50[_0x3295e8(0x1d2)](_0x5c6d25[_0x3295e8(0x1ee)]),_0x22cc50['add'](toCamelCase(_0x5c6d25[_0x3295e8(0x1ee)]));}for(const _0x3203ef of[_0x3295e8(0x1d0),'dryRun',_0x3295e8(0x1df),_0x3295e8(0x1e2)]){_0x22cc50[_0x3295e8(0x1d2)](_0x3203ef);}for(const _0x78dabd of[_0x3295e8(0x1d5),_0x3295e8(0x1d8),_0x3295e8(0x1e8),'app',_0x3295e8(0x1cd),'non-interactive','ci',_0x3295e8(0x1e6),_0x3295e8(0x1ca)]){_0x22cc50[_0x3295e8(0x1d2)](_0x78dabd);}return _0x22cc50;}function buildFlagTypeMap(_0x493878){const _0x5d6714=a79_0x5eb8,_0x37ab61=new Map();for(const _0x10b2ed of _0x493878){_0x37ab61[_0x5d6714(0x1ea)](_0x10b2ed[_0x5d6714(0x1ee)],_0x10b2ed['type']),_0x37ab61[_0x5d6714(0x1ea)](toCamelCase(_0x10b2ed[_0x5d6714(0x1ee)]),_0x10b2ed[_0x5d6714(0x1c9)]);}return _0x37ab61;}function a79_0x5eb8(_0x18160f,_0xebd240){_0x18160f=_0x18160f-0x1c8;const _0x5b135b=a79_0x5b13();let _0x5eb86d=_0x5b135b[_0x18160f];return _0x5eb86d;}function toCamelCase(_0x1353ed){const _0x45c843=a79_0x5eb8;return _0x1353ed[_0x45c843(0x1e1)](/-([a-z])/g,(_0x261d5d,_0x3cbfd3)=>_0x3cbfd3[_0x45c843(0x1dc)]());}function a79_0x5b13(){const _0x5bf3a4=['boolean','keys','slice','name','2884dAEJXI','type','version','push','1361317tmiXPY','nonInteractive','length','76mzkusG','dry-run','number','add','indexOf','1960120DbVjgj','help','8952xoFBRx','corrected','env','sticky','alias','entries','toUpperCase','806270uXBQld','toLowerCase','yes','12130536PodbWX','replace','format','has','original','get','global','13380705eFLMAC','appcode','143337zKNcos','set'];a79_0x5b13=function(){return _0x5bf3a4;};return a79_0x5b13();}function aliasHandler(_0x2710f2,_0x19793e){const _0x3d5016=a79_0x5eb8,_0x1d487d=[];for(const _0x5bd770 of Object[_0x3d5016(0x1ec)](_0x2710f2)){if(_0x19793e[_0x3d5016(0x1e3)](_0x5bd770))continue;const _0x5f3ff0=toKebab(_0x5bd770);_0x5f3ff0!==_0x5bd770&&_0x19793e[_0x3d5016(0x1e3)](_0x5f3ff0)&&_0x1d487d[_0x3d5016(0x1cb)]({'original':_0x5bd770,'corrected':_0x5f3ff0,'handler':_0x3d5016(0x1da)});}return _0x1d487d;}function stickyHandler(_0xfc1ca3,_0x21cb53,_0x11fb8e){const _0x4cbcb1=a79_0x5eb8,_0x414218=[];for(const [_0x49c4f0,_0x429ff9]of Object[_0x4cbcb1(0x1db)](_0xfc1ca3)){if(_0x429ff9!==!![])continue;for(let _0x12f8e0=_0x49c4f0['length']-0x1;_0x12f8e0>0x0;_0x12f8e0--){const _0x31d3c9=_0x49c4f0[_0x4cbcb1(0x1ed)](0x0,_0x12f8e0),_0x1681ee=_0x49c4f0[_0x4cbcb1(0x1ed)](_0x12f8e0),_0x2702ce=toKebab(_0x31d3c9),_0xaeb2dd=toCamelCase(_0x31d3c9),_0x4e9939=_0x21cb53['has'](_0x31d3c9)?_0x31d3c9:_0x21cb53[_0x4cbcb1(0x1e3)](_0x2702ce)?_0x2702ce:_0x21cb53[_0x4cbcb1(0x1e3)](_0xaeb2dd)?_0xaeb2dd:null;if(!_0x4e9939)continue;const _0x1a688e=_0x11fb8e[_0x4cbcb1(0x1e5)](_0x4e9939)??'string';let _0x4fa3ba;if(_0x1a688e===_0x4cbcb1(0x1d1)){const _0x5c1b5a=Number(_0x1681ee);if(isNaN(_0x5c1b5a)||_0x1681ee==='')continue;_0x4fa3ba=_0x5c1b5a;}else{if(_0x1a688e===_0x4cbcb1(0x1eb))continue;else{if(_0x1681ee==='')continue;_0x4fa3ba=_0x1681ee;}}_0x414218['push']({'original':_0x49c4f0,'corrected':_0x4e9939+'='+_0x4fa3ba,'handler':_0x4cbcb1(0x1d9)});break;}}return _0x414218;}export function correctFlags(_0xfc1672,_0x50da2d){const _0x19048e=a79_0x5eb8,_0x171147=buildKnownFlags(_0x50da2d),_0x2aec4c=buildFlagTypeMap(_0x50da2d),_0x5a1ce7=aliasHandler(_0xfc1672,_0x171147),_0x740f7d=stickyHandler(_0xfc1672,_0x171147,_0x2aec4c),_0x234f45=[..._0x5a1ce7,..._0x740f7d];if(_0x234f45[_0x19048e(0x1ce)]===0x0)return{'flags':_0xfc1672,'corrections':[]};const _0x32d464={..._0xfc1672},_0x4c36f9=new Set();for(const _0x11494c of _0x5a1ce7){_0x32d464[_0x11494c[_0x19048e(0x1d7)]]=_0xfc1672[_0x11494c[_0x19048e(0x1e4)]],_0x4c36f9[_0x19048e(0x1d2)](_0x11494c[_0x19048e(0x1e4)]);}for(const _0x555626 of _0x740f7d){const _0x4908a3=_0x555626[_0x19048e(0x1d7)][_0x19048e(0x1d3)]('='),_0xe7db40=_0x555626[_0x19048e(0x1d7)][_0x19048e(0x1ed)](0x0,_0x4908a3),_0x4c6edb=_0x555626['corrected'][_0x19048e(0x1ed)](_0x4908a3+0x1),_0x5eab36=_0x2aec4c[_0x19048e(0x1e5)](_0xe7db40)??'string';_0x5eab36===_0x19048e(0x1d1)?_0x32d464[_0xe7db40]=Number(_0x4c6edb):_0x32d464[_0xe7db40]=_0x4c6edb,_0x4c36f9[_0x19048e(0x1d2)](_0x555626['original']);}for(const _0xa6ed4f of _0x4c36f9){delete _0x32d464[_0xa6ed4f];}return{'flags':_0x32d464,'corrections':_0x234f45};}
@@ -1 +1 @@
1
- (function(_0x485381,_0x313eef){var _0x3d695f=a80_0x1bcf,_0x5d11f0=_0x485381();while(!![]){try{var _0x3fa32c=parseInt(_0x3d695f(0xff))/0x1+parseInt(_0x3d695f(0x102))/0x2*(parseInt(_0x3d695f(0x104))/0x3)+parseInt(_0x3d695f(0x107))/0x4+parseInt(_0x3d695f(0x103))/0x5*(-parseInt(_0x3d695f(0x108))/0x6)+parseInt(_0x3d695f(0x105))/0x7+parseInt(_0x3d695f(0x106))/0x8+parseInt(_0x3d695f(0x100))/0x9*(-parseInt(_0x3d695f(0x101))/0xa);if(_0x3fa32c===_0x313eef)break;else _0x5d11f0['push'](_0x5d11f0['shift']());}catch(_0x50df30){_0x5d11f0['push'](_0x5d11f0['shift']());}}}(a80_0x2b94,0xc92d1));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a80_0x1bcf(_0x22ac2c,_0xe3adcb){_0x22ac2c=_0x22ac2c-0xff;var _0x2b945e=a80_0x2b94();var _0x1bcf70=_0x2b945e[_0x22ac2c];return _0x1bcf70;}function a80_0x2b94(){var _0x4b0b97=['58662wWscWU','476774pzaHYu','1371393arIVYN','300mcBMMv','3261602WWzlqt','385ZrGBOJ','3lSTQFB','7706132ZbvfRT','11192120OOihAW','6162760zPmuVt'];a80_0x2b94=function(){return _0x4b0b97;};return a80_0x2b94();}
1
+ function a80_0x360c(){var _0x298581=['554676hgXtbV','65529xikVgV','12TCvZIl','4008530SfRVvR','9EIcrKN','50731NnZjUF','3622240DDanle','11WKhcab','4AGjxYw','41853eCyCOL','1608arLjaX','24640452XTlFgf'];a80_0x360c=function(){return _0x298581;};return a80_0x360c();}(function(_0x56c323,_0x4a7fcc){var _0x1a0506=a80_0x4534,_0x568e82=_0x56c323();while(!![]){try{var _0x138cb0=parseInt(_0x1a0506(0x143))/0x1*(parseInt(_0x1a0506(0x140))/0x2)+-parseInt(_0x1a0506(0x13f))/0x3+-parseInt(_0x1a0506(0x13a))/0x4*(-parseInt(_0x1a0506(0x141))/0x5)+parseInt(_0x1a0506(0x13e))/0x6+parseInt(_0x1a0506(0x13b))/0x7*(parseInt(_0x1a0506(0x13c))/0x8)+-parseInt(_0x1a0506(0x142))/0x9*(-parseInt(_0x1a0506(0x144))/0xa)+parseInt(_0x1a0506(0x145))/0xb*(-parseInt(_0x1a0506(0x13d))/0xc);if(_0x138cb0===_0x4a7fcc)break;else _0x568e82['push'](_0x568e82['shift']());}catch(_0x470df1){_0x568e82['push'](_0x568e82['shift']());}}}(a80_0x360c,0xa7cdf));function a80_0x4534(_0x5d030b,_0x54b0d0){_0x5d030b=_0x5d030b-0x13a;var _0x360c74=a80_0x360c();var _0x4534e5=_0x360c74[_0x5d030b];return _0x4534e5;}export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- function a81_0x2a85(_0x57e98b,_0x1ea3d7){_0x57e98b=_0x57e98b-0x1e4;const _0x40e107=a81_0x40e1();let _0x2a85d1=_0x40e107[_0x57e98b];return _0x2a85d1;}function a81_0x40e1(){const _0x53cb7d=['params=','name=','11752160YcGKKm','join','58960IBIxHA','\x20\x20\x20Continue?\x20[y/N]\x20','service','9489342ULMkvP','entries','5IwdgWj','description','id=','code','params','affectedRecords','code=','1364YlLQWO','9129337yPMnwL','\x20\x20\x20Affected:\x20','\x20\x20\x20','43780QwassI','name','command','push','commandLabel','7874550aQPEPg','stringify','516yvFkqy'];a81_0x40e1=function(){return _0x53cb7d;};return a81_0x40e1();}(function(_0x34834b,_0x204fc4){const _0x39d506=a81_0x2a85,_0x516fa4=_0x34834b();while(!![]){try{const _0x48285e=-parseInt(_0x39d506(0x1f2))/0x1+parseInt(_0x39d506(0x1fe))/0x2+parseInt(_0x39d506(0x1f9))/0x3*(-parseInt(_0x39d506(0x1ee))/0x4)+parseInt(_0x39d506(0x1e7))/0x5*(parseInt(_0x39d506(0x1e5))/0x6)+-parseInt(_0x39d506(0x1ef))/0x7+parseInt(_0x39d506(0x1fc))/0x8+-parseInt(_0x39d506(0x1f7))/0x9;if(_0x48285e===_0x204fc4)break;else _0x516fa4['push'](_0x516fa4['shift']());}catch(_0x45a0b9){_0x516fa4['push'](_0x516fa4['shift']());}}}(a81_0x40e1,0xc2f14));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x362cea,_0x22f978,_0x4caf6c){const _0x9b011b=a81_0x2a85,_0x3631ab=buildConfirmationContext(_0x362cea,_0x22f978,_0x4caf6c),_0x43e09e=['⚠\x20\x20High-risk\x20operation:\x20'+_0x3631ab[_0x9b011b(0x1f6)]];return _0x3631ab[_0x9b011b(0x1e8)]&&_0x43e09e['push'](_0x9b011b(0x1f1)+_0x3631ab[_0x9b011b(0x1e8)]),_0x3631ab[_0x9b011b(0x1ec)]&&_0x43e09e['push'](_0x9b011b(0x1f0)+_0x3631ab[_0x9b011b(0x1ec)]),_0x43e09e[_0x9b011b(0x1f5)](_0x9b011b(0x1ff)),_0x43e09e;}export function reconstructCommandArgv(_0x294884,_0x10520a){const _0x8737df=a81_0x2a85,_0x1779f9=[CLI_BIN_NAME,_0x294884[_0x8737df(0x1e4)],_0x294884[_0x8737df(0x1f4)]];for(const [_0x2fb58c,_0x16671f]of Object[_0x8737df(0x1e6)](_0x10520a)){if(_0x16671f===!![])_0x1779f9[_0x8737df(0x1f5)]('--'+_0x2fb58c);else _0x16671f!==![]&&_0x16671f!==undefined&&_0x16671f!==''&&_0x1779f9['push']('--'+_0x2fb58c+'\x20'+JSON[_0x8737df(0x1f8)](_0x16671f));}return _0x1779f9[_0x8737df(0x1f5)]('--yes'),_0x1779f9[_0x8737df(0x1fd)]('\x20');}function buildConfirmationContext(_0x5f4d05,_0x5a8b71,_0x3a4dea){const _0x363b94=a81_0x2a85,_0x1f15be=extractAffectedRecords(_0x3a4dea);return{'commandLabel':_0x5a8b71,'description':_0x5f4d05[_0x363b94(0x1e8)],'affectedRecords':_0x1f15be};}function extractAffectedRecords(_0x3184b9){const _0x44b11a=a81_0x2a85,_0x332681=[];if(_0x3184b9[_0x44b11a(0x1ea)])_0x332681[_0x44b11a(0x1f5)](_0x44b11a(0x1ed)+_0x3184b9['code']);if(_0x3184b9['id'])_0x332681['push'](_0x44b11a(0x1e9)+_0x3184b9['id']);if(_0x3184b9[_0x44b11a(0x1f3)])_0x332681[_0x44b11a(0x1f5)](_0x44b11a(0x1fb)+_0x3184b9[_0x44b11a(0x1f3)]);if(_0x3184b9[_0x44b11a(0x1eb)])_0x332681[_0x44b11a(0x1f5)](_0x44b11a(0x1fa)+_0x3184b9[_0x44b11a(0x1eb)]);return _0x332681['length']>0x0?_0x332681[_0x44b11a(0x1fd)](',\x20'):undefined;}
1
+ (function(_0x2c8572,_0x1ad8e0){const _0x5c2081=a81_0x3a63,_0x274a34=_0x2c8572();while(!![]){try{const _0x238df9=parseInt(_0x5c2081(0x12b))/0x1*(-parseInt(_0x5c2081(0x12e))/0x2)+parseInt(_0x5c2081(0x13a))/0x3*(parseInt(_0x5c2081(0x126))/0x4)+parseInt(_0x5c2081(0x137))/0x5+-parseInt(_0x5c2081(0x13e))/0x6+parseInt(_0x5c2081(0x132))/0x7+parseInt(_0x5c2081(0x133))/0x8+-parseInt(_0x5c2081(0x12c))/0x9*(parseInt(_0x5c2081(0x127))/0xa);if(_0x238df9===_0x1ad8e0)break;else _0x274a34['push'](_0x274a34['shift']());}catch(_0x209f08){_0x274a34['push'](_0x274a34['shift']());}}}(a81_0xad20,0x6d17c));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x4cc473,_0x5625d8,_0x105265){const _0x200d3e=a81_0x3a63,_0x26f01b=buildConfirmationContext(_0x4cc473,_0x5625d8,_0x105265),_0x361c40=[_0x200d3e(0x136)+_0x26f01b[_0x200d3e(0x12a)]];return _0x26f01b[_0x200d3e(0x125)]&&_0x361c40['push'](_0x200d3e(0x13f)+_0x26f01b[_0x200d3e(0x125)]),_0x26f01b['affectedRecords']&&_0x361c40[_0x200d3e(0x135)]('\x20\x20\x20Affected:\x20'+_0x26f01b[_0x200d3e(0x12d)]),_0x361c40['push'](_0x200d3e(0x12f)),_0x361c40;}export function reconstructCommandArgv(_0x13a12c,_0xbcded7){const _0x359f91=a81_0x3a63,_0x567239=[CLI_BIN_NAME,_0x13a12c[_0x359f91(0x140)],_0x13a12c['command']];for(const [_0x51fbd1,_0x20b480]of Object[_0x359f91(0x139)](_0xbcded7)){if(_0x20b480===!![])_0x567239[_0x359f91(0x135)]('--'+_0x51fbd1);else _0x20b480!==![]&&_0x20b480!==undefined&&_0x20b480!==''&&_0x567239[_0x359f91(0x135)]('--'+_0x51fbd1+'\x20'+JSON[_0x359f91(0x131)](_0x20b480));}return _0x567239[_0x359f91(0x135)](_0x359f91(0x138)),_0x567239[_0x359f91(0x13b)]('\x20');}function buildConfirmationContext(_0x1a5dec,_0xc9a41c,_0x2bc3fe){const _0x572ded=a81_0x3a63,_0x1cffba=extractAffectedRecords(_0x2bc3fe);return{'commandLabel':_0xc9a41c,'description':_0x1a5dec[_0x572ded(0x125)],'affectedRecords':_0x1cffba};}function extractAffectedRecords(_0x340bb1){const _0x439857=a81_0x3a63,_0xff59f3=[];if(_0x340bb1[_0x439857(0x134)])_0xff59f3[_0x439857(0x135)](_0x439857(0x13c)+_0x340bb1[_0x439857(0x134)]);if(_0x340bb1['id'])_0xff59f3[_0x439857(0x135)]('id='+_0x340bb1['id']);if(_0x340bb1[_0x439857(0x130)])_0xff59f3[_0x439857(0x135)](_0x439857(0x129)+_0x340bb1['name']);if(_0x340bb1[_0x439857(0x128)])_0xff59f3['push']('params='+_0x340bb1[_0x439857(0x128)]);return _0xff59f3[_0x439857(0x13d)]>0x0?_0xff59f3[_0x439857(0x13b)](',\x20'):undefined;}function a81_0x3a63(_0x467606,_0x319e72){_0x467606=_0x467606-0x125;const _0xad20b0=a81_0xad20();let _0x3a6385=_0xad20b0[_0x467606];return _0x3a6385;}function a81_0xad20(){const _0x33f452=['2985792qBrqCk','\x20\x20\x20','service','description','4836mwAArj','1109890zHGqiw','params','name=','commandLabel','63709dHXBQA','63vdrwEP','affectedRecords','8voIfNP','\x20\x20\x20Continue?\x20[y/N]\x20','name','stringify','782460rLVwaf','6854888BSgpal','code','push','⚠\x20\x20High-risk\x20operation:\x20','3714115xnbJjg','--yes','entries','657rjRRtv','join','code=','length'];a81_0xad20=function(){return _0x33f452;};return a81_0xad20();}
@@ -1 +1 @@
1
- function a82_0x16c1(_0x21cf50,_0x421547){_0x21cf50=_0x21cf50-0x1bc;const _0x56115e=a82_0x5611();let _0x16c1da=_0x56115e[_0x21cf50];return _0x16c1da;}(function(_0x5b7647,_0x4d0240){const _0xe46b78=a82_0x16c1,_0x2e6baa=_0x5b7647();while(!![]){try{const _0x166b38=-parseInt(_0xe46b78(0x1bf))/0x1+-parseInt(_0xe46b78(0x1c4))/0x2+-parseInt(_0xe46b78(0x1bc))/0x3+parseInt(_0xe46b78(0x1c1))/0x4*(-parseInt(_0xe46b78(0x1c8))/0x5)+parseInt(_0xe46b78(0x1c0))/0x6+parseInt(_0xe46b78(0x1c7))/0x7*(parseInt(_0xe46b78(0x1bd))/0x8)+parseInt(_0xe46b78(0x1c6))/0x9;if(_0x166b38===_0x4d0240)break;else _0x2e6baa['push'](_0x2e6baa['shift']());}catch(_0x590489){_0x2e6baa['push'](_0x2e6baa['shift']());}}}(a82_0x5611,0xd5c36));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';function a82_0x5611(){const _0x2472ab=['58312oLBPUy','description','validation','1451648hPmGYY','trim','12001050aoACGN','4384261RaecIu','80TEmJlD','3042030JTHTjE','16zvBQVw','string','1277343kghUZe','9239418BcIpEZ'];a82_0x5611=function(){return _0x2472ab;};return a82_0x5611();}export function mapUserFacingExecuteError(_0x45d99c){const _0x24a625=a82_0x16c1;if(_0x45d99c instanceof LovrabetError)return CliErrors[_0x24a625(0x1c3)](userFacingLovrabetMessage(_0x45d99c));return _0x45d99c;}function userFacingLovrabetMessage(_0x537495){const _0x546c8b=a82_0x16c1,_0x46aad1=_0x537495[_0x546c8b(0x1c2)];if(_0x46aad1!==undefined&&_0x46aad1!==null){if(typeof _0x46aad1===_0x546c8b(0x1be)&&_0x46aad1[_0x546c8b(0x1c5)]())return _0x46aad1[_0x546c8b(0x1c5)]();try{return JSON['stringify'](_0x46aad1);}catch{}}return _0x537495['message'];}
1
+ function a82_0x9c47(){const _0x1272af=['1181295apJwSd','8RnxfzQ','7369325URdehV','description','5633452FCpeBy','trim','string','1792993Qzanhw','6lqJfBT','76259070tyPmIo','9442895upVmnI','2OtCuGD','validation','9465867sqMjmE'];a82_0x9c47=function(){return _0x1272af;};return a82_0x9c47();}(function(_0x50fac7,_0x143129){const _0x4d320b=a82_0x2fc5,_0x3cdc4a=_0x50fac7();while(!![]){try{const _0x48248a=parseInt(_0x4d320b(0x72))/0x1*(-parseInt(_0x4d320b(0x68))/0x2)+parseInt(_0x4d320b(0x6b))/0x3+-parseInt(_0x4d320b(0x6f))/0x4+-parseInt(_0x4d320b(0x6d))/0x5+parseInt(_0x4d320b(0x73))/0x6*(-parseInt(_0x4d320b(0x75))/0x7)+parseInt(_0x4d320b(0x6c))/0x8*(-parseInt(_0x4d320b(0x6a))/0x9)+parseInt(_0x4d320b(0x74))/0xa;if(_0x48248a===_0x143129)break;else _0x3cdc4a['push'](_0x3cdc4a['shift']());}catch(_0xa50b5a){_0x3cdc4a['push'](_0x3cdc4a['shift']());}}}(a82_0x9c47,0xe6657));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';function a82_0x2fc5(_0x10f428,_0x1f5d52){_0x10f428=_0x10f428-0x68;const _0x9c47d3=a82_0x9c47();let _0x2fc521=_0x9c47d3[_0x10f428];return _0x2fc521;}export function mapUserFacingExecuteError(_0x28725a){const _0xea9153=a82_0x2fc5;if(_0x28725a instanceof LovrabetError)return CliErrors[_0xea9153(0x69)](userFacingLovrabetMessage(_0x28725a));return _0x28725a;}function userFacingLovrabetMessage(_0x1cacc2){const _0x453d26=a82_0x2fc5,_0x454e51=_0x1cacc2[_0x453d26(0x6e)];if(_0x454e51!==undefined&&_0x454e51!==null){if(typeof _0x454e51===_0x453d26(0x71)&&_0x454e51[_0x453d26(0x70)]())return _0x454e51[_0x453d26(0x70)]();try{return JSON['stringify'](_0x454e51);}catch{}}return _0x1cacc2['message'];}
@@ -1 +1 @@
1
- const a83_0x100717=a83_0x5023;(function(_0x4e1735,_0x8c57c5){const _0x2e114b=a83_0x5023,_0x1c64a8=_0x4e1735();while(!![]){try{const _0x915a21=parseInt(_0x2e114b(0x194))/0x1+-parseInt(_0x2e114b(0x17e))/0x2+parseInt(_0x2e114b(0x189))/0x3+parseInt(_0x2e114b(0x1a7))/0x4*(parseInt(_0x2e114b(0x1ae))/0x5)+parseInt(_0x2e114b(0x186))/0x6*(parseInt(_0x2e114b(0x177))/0x7)+-parseInt(_0x2e114b(0x183))/0x8*(parseInt(_0x2e114b(0x1b0))/0x9)+-parseInt(_0x2e114b(0x197))/0xa;if(_0x915a21===_0x8c57c5)break;else _0x1c64a8['push'](_0x1c64a8['shift']());}catch(_0x74717){_0x1c64a8['push'](_0x1c64a8['shift']());}}}(a83_0x3a2d,0xb42ba));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';function a83_0x5023(_0x375287,_0x2efccc){_0x375287=_0x375287-0x174;const _0x3a2dbc=a83_0x3a2d();let _0x502368=_0x3a2dbc[_0x375287];return _0x502368;}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';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x4af145){const _0x250c64=a83_0x5023;return void _0x4af145,AUTH_MODE[_0x250c64(0x193)];}export function createPipelineEnv(_0x32a89d,_0x2ae9a0){const _0x5e82a3=a83_0x5023,_0x34c26f=typeof _0x2ae9a0[_0x5e82a3(0x192)]==='string'&&_0x2ae9a0[_0x5e82a3(0x192)][_0x5e82a3(0x18b)]();return{'rawFlags':_0x2ae9a0,'appCode':_0x32a89d[_0x5e82a3(0x1ac)]||productEnv(_0x5e82a3(0x19b))||(_0x34c26f?undefined:readAppCodeFromConfig()),'appCodeSource':_0x32a89d['appCodeSource'],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x2ae9a0),'defaultFormat':_0x32a89d[_0x5e82a3(0x198)],'defaultPageSize':_0x32a89d[_0x5e82a3(0x187)],'defaultVerbose':_0x32a89d[_0x5e82a3(0x1a6)],'riskLevel':_0x32a89d[_0x5e82a3(0x1a2)],'accessKey':_0x32a89d[_0x5e82a3(0x19a)],'env':_0x32a89d[_0x5e82a3(0x182)],'mergedCli':{'defaultApp':_0x32a89d['defaultApp'],'currentApp':_0x32a89d[_0x5e82a3(0x174)],'appCode':_0x32a89d[_0x5e82a3(0x1ac)]}};}function a83_0x3a2d(){const _0x2bd58a=['app','ClientAk','75065kQxXvW','items','defaultVerbose','8288410zNeTCf','format','High-risk\x20operation\x20`','accessKey','APPCODE','newConfigFileName','defaultApp','../core/api-client.js','mergedCli','Run\x20`','apiDomain','riskLevel','schema','map','validation','verbose','4pgrwjC','Unknown\x20app:\x20','rawFlags','isNonInteractive','resolve','appCode','local-alias','2460345cNgaTR','doctor','214794QoXtlD','currentApp','cancelled','configMissing','5038607OQJIQU','requiresAppCode','defaultPageSize','appcode\x20\x22','ACCESS_KEY','object','update','1010078DCYPUm','\x20\x20To\x20proceed:\x20','../commands/app/remote-source.js','requiresAuth','env','224yJyLir','appcode','string','6dBvcos','pageSize','.appcode\x20to\x20','4359513QhdhUd','../core/sdk-client.js','trim','service','\x20or\x20pass\x20','catch','_notice','production','has'];a83_0x3a2d=function(){return _0x2bd58a;};return a83_0x3a2d();}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS['filter'](_0x1b5f88=>PIPELINE_FLAG_NAMES[a83_0x100717(0x191)](_0x1b5f88['name']))[a83_0x100717(0x1a4)](({name:_0x2f00eb,type:_0x2a1231,description:_0x406ae8})=>({'name':_0x2f00eb,'type':_0x2a1231,'description':_0x406ae8})),'formatOutput':formatOutput,'getCommandLabel'(_0x44ed8b){const _0x1fd5ee=a83_0x100717;return CLI_BIN_NAME+'\x20'+_0x44ed8b[_0x1fd5ee(0x18c)]+'\x20'+_0x44ed8b['command'];},'riskPolicy':{'onViolation'(_0x206db7){console['error'](_0x206db7);},'createError'(_0x46c824){const _0x11d5b0=a83_0x100717;return CliErrors[_0x11d5b0(0x175)](_0x46c824);}},async 'prepare'(_0x5aaf21,_0x53f391){const _0x2433b5=a83_0x100717,_0x42c503=resolveAuthMode(_0x53f391);if(_0x5aaf21[_0x2433b5(0x181)]!==![]){if(!_0x53f391['accessKey'])throw CliErrors['authRequired']('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG[_0x2433b5(0x19c)]+_0x2433b5(0x18d)+productEnvName(_0x2433b5(0x17b))+'.');const {setActiveAK:_0x3d0c6a}=await import(_0x2433b5(0x19e));_0x3d0c6a(_0x53f391['accessKey']);}let _0x149fea='';if(_0x5aaf21[_0x2433b5(0x178)]!==![]){_0x149fea=_0x53f391['appCode']??'',_0x149fea=await resolveExplicitAppName(_0x5aaf21,_0x53f391,_0x149fea);if(!_0x149fea){await assertSelectedAppNameIsRuntimeAccessible(_0x5aaf21,_0x53f391);throw CliErrors[_0x2433b5(0x176)]('Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'+PRODUCT_CONFIG[_0x2433b5(0x19c)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x5aaf21,_0x53f391,_0x149fea);}if(_0x149fea){const {initSdkClient:_0x46cdc4}=await import(_0x2433b5(0x18a));_0x46cdc4({'appCode':_0x149fea,'env':_0x53f391[_0x2433b5(0x182)]??_0x2433b5(0x190),'accessKey':_0x53f391[_0x2433b5(0x19a)],'authMode':_0x42c503});}return{'defaults':{'booleans':{'verbose':_0x53f391[_0x2433b5(0x196)]},'numbers':{'pagesize':_0x53f391[_0x2433b5(0x179)]}},'extras':{'appCode':_0x149fea,'cookie':'','apiDomain':_0x53f391[_0x2433b5(0x1a1)],'apiDir':'','accessKey':_0x53f391[_0x2433b5(0x19a)],'envName':_0x53f391[_0x2433b5(0x182)],'mergedCli':_0x53f391[_0x2433b5(0x19f)]}};},async 'confirmHighRisk'({def:_0x2bbaaf,env:_0x1c2eff,flags:_0x7fe78c,commandLabel:_0x5f0d28}){const _0x1317a1=a83_0x100717;if(_0x1c2eff[_0x1317a1(0x1aa)]){const _0x3f0157=reconstructCommandArgv(_0x2bbaaf,_0x7fe78c);throw CliErrors[_0x1317a1(0x1a5)](_0x1317a1(0x199)+_0x5f0d28+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a'+(_0x1317a1(0x17f)+_0x3f0157));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x2bbaaf,_0x5f0d28,_0x7fe78c),'createCancelledError':_0x40512e=>CliErrors[_0x1317a1(0x175)](_0x40512e)});},'mapDryRunError'(_0x4ff355){return mapUserFacingExecuteError(_0x4ff355);},'mapExecuteError'(_0x400e39){return mapUserFacingExecuteError(_0x400e39);},async 'finalize'(){const _0x39c6d5=a83_0x100717,{clearActiveAK:_0x14d555}=await import(_0x39c6d5(0x19e));_0x14d555();}};async function resolveExplicitAppName(_0x47dcb4,_0x357e33,_0x246563){const _0xe3dcf1=a83_0x100717;if(_0x47dcb4[_0xe3dcf1(0x178)]===![])return _0x246563;const _0x196abc=typeof _0x357e33[_0xe3dcf1(0x1a9)]['app']===_0xe3dcf1(0x185)?_0x357e33['rawFlags'][_0xe3dcf1(0x192)]['trim']():'';if(!_0x196abc)return _0x246563;const _0x15809d=typeof _0x357e33[_0xe3dcf1(0x1a9)]['appcode']==='string'&&_0x357e33[_0xe3dcf1(0x1a9)][_0xe3dcf1(0x184)][_0xe3dcf1(0x18b)]()||productEnv(_0xe3dcf1(0x19b));if(_0x15809d||_0x357e33['appCodeSource']===_0xe3dcf1(0x1ad))return _0x246563;const {getRemoteAppList:_0x125923}=await import(_0xe3dcf1(0x180)),_0x5ab482=await _0x125923({'env':_0x357e33['env']??'production','accessKey':_0x357e33['accessKey']}),_0x37de3d=findAppByName(_0x5ab482[_0xe3dcf1(0x195)],_0x196abc);if(_0x37de3d&&!isRuntimeAccessibleApp(_0x37de3d))throw runtimeInaccessibleAppError(_0x37de3d,'\x22'+_0x196abc+'\x22');const _0x33b36d=_0x37de3d?.[_0xe3dcf1(0x1ac)]?.[_0xe3dcf1(0x18b)]();if(_0x33b36d)return _0x33b36d;throw CliErrors[_0xe3dcf1(0x1a5)](_0xe3dcf1(0x1a8)+_0x196abc,_0xe3dcf1(0x1a0)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x196abc+_0xe3dcf1(0x188)+PRODUCT_CONFIG[_0xe3dcf1(0x19c)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x6aeded,_0x3c736e){const _0x28021a=a83_0x100717;if(_0x6aeded['requiresAppCode']===![]||!_0x3c736e[_0x28021a(0x19a)])return;const _0x13452e=(typeof _0x3c736e[_0x28021a(0x1a9)][_0x28021a(0x192)]==='string'&&_0x3c736e['rawFlags']['app'][_0x28021a(0x18b)]()?_0x3c736e[_0x28021a(0x1a9)][_0x28021a(0x192)]:_0x3c736e[_0x28021a(0x19f)]?.[_0x28021a(0x174)]??_0x3c736e[_0x28021a(0x19f)]?.[_0x28021a(0x19d)])?.[_0x28021a(0x18b)]();if(!_0x13452e)return;const {getRemoteAppList:_0x3fc334}=await import(_0x28021a(0x180)),_0x14bd71=await _0x3fc334({'env':_0x3c736e[_0x28021a(0x182)]??_0x28021a(0x190),'accessKey':_0x3c736e[_0x28021a(0x19a)]}),_0x1f2600=findAppByName(_0x14bd71[_0x28021a(0x195)],_0x13452e);if(_0x1f2600&&!isRuntimeAccessibleApp(_0x1f2600))throw runtimeInaccessibleAppError(_0x1f2600,'\x22'+_0x13452e+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x1a9fdb,_0x10028a,_0x1a57b7){const _0x16de64=a83_0x100717;if(_0x1a9fdb[_0x16de64(0x178)]===![]||!_0x10028a[_0x16de64(0x19a)])return;const {getRemoteAppList:_0x45ed17}=await import(_0x16de64(0x180)),_0x568dea=await _0x45ed17({'env':_0x10028a[_0x16de64(0x182)]??_0x16de64(0x190),'accessKey':_0x10028a[_0x16de64(0x19a)]}),_0x13991d=findAppByCode(_0x568dea[_0x16de64(0x195)],_0x1a57b7);if(_0x13991d&&!isRuntimeAccessibleApp(_0x13991d))throw runtimeInaccessibleAppError(_0x13991d,_0x16de64(0x17a)+_0x1a57b7+'\x22');}export async function runCommand(_0x809f2,_0x57f40f){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x809f2)?withUpdateNotice(_0x809f2):_0x809f2,_0x57f40f,runnerAdapter);}function shouldAttachUpdateNotice(_0x442c44){const _0x229359=a83_0x100717;return![_0x229359(0x17d),_0x229359(0x1a3),_0x229359(0x1af)]['includes'](_0x442c44[_0x229359(0x18c)]);}function withUpdateNotice(_0x431eef){return{..._0x431eef,async 'execute'(_0xe75f4d){const _0x40026e=a83_0x5023,_0x4a7570=shouldResolveUpdateNotice(_0xe75f4d)?resolveLatestUpdateNotice()[_0x40026e(0x18e)](()=>null):Promise[_0x40026e(0x1ab)](null),_0x271333=await _0x431eef['execute'](_0xe75f4d);return attachUpdateNotice(_0x271333,await _0x4a7570);}};}function shouldResolveUpdateNotice(_0x4367e3){const _0x49485d=a83_0x100717;return _0x4367e3[_0x49485d(0x198)]==='pretty'&&!_0x4367e3['nonInteractive'];}function attachUpdateNotice(_0x407789,_0x254c61){const _0x3a74da=a83_0x100717;if(!_0x254c61||!_0x407789||typeof _0x407789!==_0x3a74da(0x17c))return _0x407789;const _0xa5b836=_0x407789,_0x56404d=typeof _0xa5b836[_0x3a74da(0x18f)]===_0x3a74da(0x17c)&&_0xa5b836[_0x3a74da(0x18f)]!==null?_0xa5b836[_0x3a74da(0x18f)]:{};return{..._0xa5b836,'_notice':{..._0x56404d,'update':_0x254c61}};}
1
+ const a83_0x1ccd79=a83_0x103a;(function(_0x1143cb,_0x1ec5e7){const _0x4bbac4=a83_0x103a,_0x2500ae=_0x1143cb();while(!![]){try{const _0x251626=-parseInt(_0x4bbac4(0x107))/0x1*(parseInt(_0x4bbac4(0xfc))/0x2)+-parseInt(_0x4bbac4(0xe3))/0x3*(parseInt(_0x4bbac4(0xf9))/0x4)+parseInt(_0x4bbac4(0x10c))/0x5*(parseInt(_0x4bbac4(0xee))/0x6)+-parseInt(_0x4bbac4(0xf5))/0x7*(-parseInt(_0x4bbac4(0xe5))/0x8)+parseInt(_0x4bbac4(0x10f))/0x9*(parseInt(_0x4bbac4(0x11a))/0xa)+-parseInt(_0x4bbac4(0x110))/0xb+-parseInt(_0x4bbac4(0xdb))/0xc;if(_0x251626===_0x1ec5e7)break;else _0x2500ae['push'](_0x2500ae['shift']());}catch(_0x37966a){_0x2500ae['push'](_0x2500ae['shift']());}}}(a83_0x739a,0xc6f78));import{runCommandWithAdapter,requireConfirmationPrompt}from'@lovrabet/cli-framework';import{formatOutput}from'../framework/output.js';import{CliErrors}from'../errors.js';import{CLI_BIN_NAME,GLOBAL_FLAGS,PIPELINE_FLAG_NAMES}from'../constant/cli.js';import{PRODUCT_CONFIG,productEnv,productEnvName}from'../constant/product.js';import{isNonInteractiveMode,readAppCodeFromConfig}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{getApiDomain}from'../constant/domain.js';import{buildConfirmationLines,reconstructCommandArgv}from'../framework/runner-confirmation.js';import{mapUserFacingExecuteError}from'../framework/runner-error.js';function a83_0x739a(){const _0x34f258=['execute','pageSize','app','requiresAuth','ACCESS_KEY','filter','1710GAWnfe','cancelled','requiresAppCode','isNonInteractive','defaultVerbose','doctor','1488048NMbiFY','trim','string','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','has','configMissing','rawFlags','appCodeSource','82041BlcyVj','_notice','1912eqExnL','resolve','defaultPageSize','High-risk\x20operation\x20`','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','env','riskLevel','../commands/app/remote-source.js','accessKey','4865172wHlQWg','Run\x20`','appcode\x20\x22','name','error','pretty','format','22099RTwwgN','update','appcode','authRequired','4kmrPox','verbose','nonInteractive','2783866JYrCSk','../core/sdk-client.js','\x20\x20To\x20proceed:\x20','../core/api-client.js','\x20or\x20pass\x20','APPCODE','mergedCli','ClientAk','items','apiDomain','production','1UxGMOR','defaultApp','map','Unknown\x20app:\x20','currentApp','10DGfuil','object','newConfigFileName','729EFoqjh','350306lGNIos','local-alias','appCode','includes'];a83_0x739a=function(){return _0x34f258;};return a83_0x739a();}import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x2f0e3f){const _0x41a5ef=a83_0x103a;return void _0x2f0e3f,AUTH_MODE[_0x41a5ef(0x103)];}export function createPipelineEnv(_0x44ef0e,_0x3d25f6){const _0x154668=a83_0x103a,_0x650026=typeof _0x3d25f6[_0x154668(0x116)]==='string'&&_0x3d25f6[_0x154668(0x116)]['trim']();return{'rawFlags':_0x3d25f6,'appCode':_0x44ef0e['appCode']||productEnv(_0x154668(0x101))||(_0x650026?undefined:readAppCodeFromConfig()),'appCodeSource':_0x44ef0e[_0x154668(0xe2)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x3d25f6),'defaultFormat':_0x44ef0e[_0x154668(0xf4)],'defaultPageSize':_0x44ef0e[_0x154668(0x115)],'defaultVerbose':_0x44ef0e[_0x154668(0xfa)],'riskLevel':_0x44ef0e[_0x154668(0xeb)],'accessKey':_0x44ef0e[_0x154668(0xed)],'env':_0x44ef0e['env'],'mergedCli':{'defaultApp':_0x44ef0e[_0x154668(0x108)],'currentApp':_0x44ef0e[_0x154668(0x10b)],'appCode':_0x44ef0e[_0x154668(0x112)]}};}const runnerAdapter={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[a83_0x1ccd79(0x119)](_0x4751eb=>PIPELINE_FLAG_NAMES[a83_0x1ccd79(0xdf)](_0x4751eb[a83_0x1ccd79(0xf1)]))[a83_0x1ccd79(0x109)](({name:_0x16d9a8,type:_0x25d1cc,description:_0x45457e})=>({'name':_0x16d9a8,'type':_0x25d1cc,'description':_0x45457e})),'formatOutput':formatOutput,'getCommandLabel'(_0x22f1f6){return CLI_BIN_NAME+'\x20'+_0x22f1f6['service']+'\x20'+_0x22f1f6['command'];},'riskPolicy':{'onViolation'(_0x2b4cee){const _0x545160=a83_0x1ccd79;console[_0x545160(0xf2)](_0x2b4cee);},'createError'(_0x1f103c){const _0x3399d6=a83_0x1ccd79;return CliErrors[_0x3399d6(0x11b)](_0x1f103c);}},async 'prepare'(_0x437303,_0x310029){const _0x30760b=a83_0x1ccd79,_0x23a5ee=resolveAuthMode(_0x310029);if(_0x437303[_0x30760b(0x117)]!==![]){if(!_0x310029[_0x30760b(0xed)])throw CliErrors[_0x30760b(0xf8)]('Set\x20accessKey\x20in\x20'+PRODUCT_CONFIG[_0x30760b(0x10e)]+_0x30760b(0x100)+productEnvName(_0x30760b(0x118))+'.');const {setActiveAK:_0x3ac0e0}=await import(_0x30760b(0xff));_0x3ac0e0(_0x310029[_0x30760b(0xed)]);}let _0x2b48be='';if(_0x437303[_0x30760b(0xd7)]!==![]){_0x2b48be=_0x310029[_0x30760b(0x112)]??'',_0x2b48be=await resolveExplicitAppName(_0x437303,_0x310029,_0x2b48be);if(!_0x2b48be){await assertSelectedAppNameIsRuntimeAccessible(_0x437303,_0x310029);throw CliErrors[_0x30760b(0xe0)]('Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'+PRODUCT_CONFIG[_0x30760b(0x10e)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x437303,_0x310029,_0x2b48be);}if(_0x2b48be){const {initSdkClient:_0x39881d}=await import(_0x30760b(0xfd));_0x39881d({'appCode':_0x2b48be,'env':_0x310029[_0x30760b(0xea)]??'production','accessKey':_0x310029[_0x30760b(0xed)],'authMode':_0x23a5ee});}return{'defaults':{'booleans':{'verbose':_0x310029[_0x30760b(0xd9)]},'numbers':{'pagesize':_0x310029[_0x30760b(0xe7)]}},'extras':{'appCode':_0x2b48be,'cookie':'','apiDomain':_0x310029[_0x30760b(0x105)],'apiDir':'','accessKey':_0x310029[_0x30760b(0xed)],'envName':_0x310029[_0x30760b(0xea)],'mergedCli':_0x310029[_0x30760b(0x102)]}};},async 'confirmHighRisk'({def:_0x569ce5,env:_0x4b34d1,flags:_0x41ed76,commandLabel:_0x51174a}){const _0x48326e=a83_0x1ccd79;if(_0x4b34d1[_0x48326e(0xd8)]){const _0x42faa8=reconstructCommandArgv(_0x569ce5,_0x41ed76);throw CliErrors['validation'](_0x48326e(0xe8)+_0x51174a+_0x48326e(0xde)+(_0x48326e(0xfe)+_0x42faa8));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x569ce5,_0x51174a,_0x41ed76),'createCancelledError':_0x14d4f8=>CliErrors['cancelled'](_0x14d4f8)});},'mapDryRunError'(_0x5b965a){return mapUserFacingExecuteError(_0x5b965a);},'mapExecuteError'(_0xd12220){return mapUserFacingExecuteError(_0xd12220);},async 'finalize'(){const _0x2b22d2=a83_0x1ccd79,{clearActiveAK:_0xccb98d}=await import(_0x2b22d2(0xff));_0xccb98d();}};async function resolveExplicitAppName(_0x2b7f40,_0x23fa97,_0x52b459){const _0x157326=a83_0x1ccd79;if(_0x2b7f40['requiresAppCode']===![])return _0x52b459;const _0x4c8d31=typeof _0x23fa97[_0x157326(0xe1)][_0x157326(0x116)]===_0x157326(0xdd)?_0x23fa97[_0x157326(0xe1)][_0x157326(0x116)][_0x157326(0xdc)]():'';if(!_0x4c8d31)return _0x52b459;const _0x42b769=typeof _0x23fa97[_0x157326(0xe1)]['appcode']===_0x157326(0xdd)&&_0x23fa97[_0x157326(0xe1)][_0x157326(0xf7)][_0x157326(0xdc)]()||productEnv(_0x157326(0x101));if(_0x42b769||_0x23fa97[_0x157326(0xe2)]===_0x157326(0x111))return _0x52b459;const {getRemoteAppList:_0x41e2bb}=await import(_0x157326(0xec)),_0x388021=await _0x41e2bb({'env':_0x23fa97['env']??_0x157326(0x106),'accessKey':_0x23fa97[_0x157326(0xed)]}),_0x429497=findAppByName(_0x388021['items'],_0x4c8d31);if(_0x429497&&!isRuntimeAccessibleApp(_0x429497))throw runtimeInaccessibleAppError(_0x429497,'\x22'+_0x4c8d31+'\x22');const _0x4e44a4=_0x429497?.[_0x157326(0x112)]?.[_0x157326(0xdc)]();if(_0x4e44a4)return _0x4e44a4;throw CliErrors['validation'](_0x157326(0x10a)+_0x4c8d31,_0x157326(0xef)+CLI_BIN_NAME+_0x157326(0xe9)+_0x4c8d31+'.appcode\x20to\x20'+PRODUCT_CONFIG[_0x157326(0x10e)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0xa4a82b,_0x158f5d){const _0x1885fb=a83_0x1ccd79;if(_0xa4a82b[_0x1885fb(0xd7)]===![]||!_0x158f5d[_0x1885fb(0xed)])return;const _0x22484e=(typeof _0x158f5d[_0x1885fb(0xe1)][_0x1885fb(0x116)]===_0x1885fb(0xdd)&&_0x158f5d[_0x1885fb(0xe1)][_0x1885fb(0x116)][_0x1885fb(0xdc)]()?_0x158f5d[_0x1885fb(0xe1)][_0x1885fb(0x116)]:_0x158f5d[_0x1885fb(0x102)]?.[_0x1885fb(0x10b)]??_0x158f5d[_0x1885fb(0x102)]?.[_0x1885fb(0x108)])?.[_0x1885fb(0xdc)]();if(!_0x22484e)return;const {getRemoteAppList:_0x16cc76}=await import(_0x1885fb(0xec)),_0x43d1cd=await _0x16cc76({'env':_0x158f5d[_0x1885fb(0xea)]??_0x1885fb(0x106),'accessKey':_0x158f5d[_0x1885fb(0xed)]}),_0x2674f8=findAppByName(_0x43d1cd[_0x1885fb(0x104)],_0x22484e);if(_0x2674f8&&!isRuntimeAccessibleApp(_0x2674f8))throw runtimeInaccessibleAppError(_0x2674f8,'\x22'+_0x22484e+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x5763c3,_0x5da809,_0xafd154){const _0x553077=a83_0x1ccd79;if(_0x5763c3[_0x553077(0xd7)]===![]||!_0x5da809[_0x553077(0xed)])return;const {getRemoteAppList:_0x4cfdfd}=await import('../commands/app/remote-source.js'),_0x52eb36=await _0x4cfdfd({'env':_0x5da809[_0x553077(0xea)]??_0x553077(0x106),'accessKey':_0x5da809['accessKey']}),_0xc24dd7=findAppByCode(_0x52eb36[_0x553077(0x104)],_0xafd154);if(_0xc24dd7&&!isRuntimeAccessibleApp(_0xc24dd7))throw runtimeInaccessibleAppError(_0xc24dd7,_0x553077(0xf0)+_0xafd154+'\x22');}export async function runCommand(_0x39b4a2,_0xca0c0c){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x39b4a2)?withUpdateNotice(_0x39b4a2):_0x39b4a2,_0xca0c0c,runnerAdapter);}function a83_0x103a(_0x19f0df,_0x23c6f4){_0x19f0df=_0x19f0df-0xd7;const _0x739a63=a83_0x739a();let _0x103a3c=_0x739a63[_0x19f0df];return _0x103a3c;}function shouldAttachUpdateNotice(_0x5e9413){const _0x20aa09=a83_0x1ccd79;return![_0x20aa09(0xf6),'schema',_0x20aa09(0xda)][_0x20aa09(0x113)](_0x5e9413['service']);}function withUpdateNotice(_0x8eeb6d){return{..._0x8eeb6d,async 'execute'(_0x5b1cbb){const _0x2c5ea1=a83_0x103a,_0x37648c=shouldResolveUpdateNotice(_0x5b1cbb)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x2c5ea1(0xe6)](null),_0x5a33f7=await _0x8eeb6d[_0x2c5ea1(0x114)](_0x5b1cbb);return attachUpdateNotice(_0x5a33f7,await _0x37648c);}};}function shouldResolveUpdateNotice(_0x31fea8){const _0x56fbc=a83_0x1ccd79;return _0x31fea8[_0x56fbc(0xf4)]===_0x56fbc(0xf3)&&!_0x31fea8[_0x56fbc(0xfb)];}function attachUpdateNotice(_0x34b69f,_0x256631){const _0x20f8cf=a83_0x1ccd79;if(!_0x256631||!_0x34b69f||typeof _0x34b69f!==_0x20f8cf(0x10d))return _0x34b69f;const _0x283844=_0x34b69f,_0x495b3e=typeof _0x283844['_notice']===_0x20f8cf(0x10d)&&_0x283844['_notice']!==null?_0x283844[_0x20f8cf(0xe4)]:{};return{..._0x283844,'_notice':{..._0x495b3e,'update':_0x256631}};}
@@ -1 +1 @@
1
- (function(_0x5b0971,_0x43c9cc){const _0x37025b=a84_0x5155,_0x56b1f9=_0x5b0971();while(!![]){try{const _0x5cfb11=parseInt(_0x37025b(0xd8))/0x1+-parseInt(_0x37025b(0xdc))/0x2*(parseInt(_0x37025b(0xde))/0x3)+-parseInt(_0x37025b(0xd2))/0x4*(parseInt(_0x37025b(0xdd))/0x5)+-parseInt(_0x37025b(0xda))/0x6*(-parseInt(_0x37025b(0xd7))/0x7)+-parseInt(_0x37025b(0xdf))/0x8+parseInt(_0x37025b(0xcf))/0x9+parseInt(_0x37025b(0xd5))/0xa*(parseInt(_0x37025b(0xce))/0xb);if(_0x5cfb11===_0x43c9cc)break;else _0x56b1f9['push'](_0x56b1f9['shift']());}catch(_0x39146c){_0x56b1f9['push'](_0x56b1f9['shift']());}}}(a84_0x547b,0x4db37));import{buildSchemaPayload as a84_0xa9a6dc}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a84_0x547b(){const _0x10932e=['17776858zVRoQz','475569ICrNgt','none','required','2470316oGoclC','commands','auth','10aOdYKD','requiresAuth','21AkVfGJ','222646WTFNqH','../commands/registry.js','188532sBXzpE','has','889228OQglSQ','5RwHpeY','3hyfnkk','4843000WmxWyF','map','services'];a84_0x547b=function(){return _0x10932e;};return a84_0x547b();}import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x30530d=a84_0x5155,{serviceRegistry:_0x5f5181,findDefinition:_0xce52bd}=await import(_0x30530d(0xd9)),_0x1e22d5=new Set(_0x5f5181[_0x30530d(0xcc)](_0x2a63bd=>_0x2a63bd['service'])),_0x589afd=listDynamicServiceEntries()['filter'](_0x465950=>!_0x1e22d5[_0x30530d(0xdb)](_0x465950['service'])),_0x1ca704=a84_0xa9a6dc({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x5f5181,_0x589afd),'buildAllFlags':buildAllFlags,'findDefinition':(_0x5d6b6c,_0x290fa5)=>_0xce52bd(_0x5d6b6c,_0x290fa5)??findDynamicServiceDefinition(_0x5d6b6c,_0x290fa5)});return normalizeSchemaPayload(_0x1ca704);}function normalizeSchemaPayload(_0x4b71bf){const _0x439268=a84_0x5155;return{..._0x4b71bf,'schemaVersion':0x2,'services':_0x4b71bf[_0x439268(0xcd)][_0x439268(0xcc)](_0xfbd0a6=>({..._0xfbd0a6,'commands':_0xfbd0a6[_0x439268(0xd3)]['map'](normalizeSchemaCommand)}))};}function a84_0x5155(_0x1e5161,_0x1273af){_0x1e5161=_0x1e5161-0xcc;const _0x547b88=a84_0x547b();let _0x515551=_0x547b88[_0x1e5161];return _0x515551;}function normalizeSchemaCommand(_0x13e4cd){const _0x25e932=a84_0x5155,_0x12967b=_0x13e4cd;return{..._0x13e4cd,'auth':_0x12967b[_0x25e932(0xd4)]??(_0x13e4cd[_0x25e932(0xd6)]?_0x25e932(0xd1):_0x25e932(0xd0))};}
1
+ (function(_0x387a47,_0x48963c){const _0x3373de=a84_0x2485,_0x574783=_0x387a47();while(!![]){try{const _0x578f7e=-parseInt(_0x3373de(0x8b))/0x1+-parseInt(_0x3373de(0x8c))/0x2*(-parseInt(_0x3373de(0x80))/0x3)+parseInt(_0x3373de(0x83))/0x4+parseInt(_0x3373de(0x8f))/0x5*(-parseInt(_0x3373de(0x81))/0x6)+parseInt(_0x3373de(0x84))/0x7+-parseInt(_0x3373de(0x8a))/0x8+parseInt(_0x3373de(0x85))/0x9;if(_0x578f7e===_0x48963c)break;else _0x574783['push'](_0x574783['shift']());}catch(_0x4e27db){_0x574783['push'](_0x574783['shift']());}}}(a84_0x3724,0xd5d4a));function a84_0x3724(){const _0x5e0c76=['668429JOCPok','1482GTuWfL','requiresAuth','auth','5poyDfq','services','2457VeZOhC','2611110mnJdUc','commands','5446264knnKck','6319796oKSNmZ','4390497bIiDcO','map','has','none','filter','11037136vmxCTe'];a84_0x3724=function(){return _0x5e0c76;};return a84_0x3724();}import{buildSchemaPayload as a84_0x4b99b4}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x234b76=a84_0x2485,{serviceRegistry:_0x270c16,findDefinition:_0x3aafb7}=await import('../commands/registry.js'),_0x35a370=new Set(_0x270c16[_0x234b76(0x86)](_0x5d71c9=>_0x5d71c9['service'])),_0x595669=listDynamicServiceEntries()[_0x234b76(0x89)](_0x430572=>!_0x35a370[_0x234b76(0x87)](_0x430572['service'])),_0x273715=a84_0x4b99b4({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x270c16,_0x595669),'buildAllFlags':buildAllFlags,'findDefinition':(_0xf3fbd6,_0x3e395a)=>_0x3aafb7(_0xf3fbd6,_0x3e395a)??findDynamicServiceDefinition(_0xf3fbd6,_0x3e395a)});return normalizeSchemaPayload(_0x273715);}function a84_0x2485(_0x4e3497,_0x52b791){_0x4e3497=_0x4e3497-0x7f;const _0x372457=a84_0x3724();let _0x248532=_0x372457[_0x4e3497];return _0x248532;}function normalizeSchemaPayload(_0xfbf559){const _0x520dc6=a84_0x2485;return{..._0xfbf559,'schemaVersion':0x2,'services':_0xfbf559[_0x520dc6(0x7f)][_0x520dc6(0x86)](_0xbd4ccf=>({..._0xbd4ccf,'commands':_0xbd4ccf[_0x520dc6(0x82)][_0x520dc6(0x86)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x3b1ef6){const _0x50b71f=a84_0x2485,_0x4b7612=_0x3b1ef6;return{..._0x3b1ef6,'auth':_0x4b7612[_0x50b71f(0x8e)]??(_0x3b1ef6[_0x50b71f(0x8d)]?'required':_0x50b71f(0x88))};}
@@ -1 +1 @@
1
- function a85_0x21b4(_0x2facde,_0x46c9c1){_0x2facde=_0x2facde-0x1df;const _0x48a17b=a85_0x48a1();let _0x21b4d1=_0x48a17b[_0x2facde];return _0x21b4d1;}function a85_0x48a1(){const _0x43b31a=['length','64659ICLFbZ','56OfhUsV','slice','7131990QxKpSI','13688451pdNdWw','1183240PGxFOz','service','51355UdlsOv','7487464UmLsoI','389892dUjOch','56EwnCyv','451HDoWmy','4zIPGNU','findIndex'];a85_0x48a1=function(){return _0x43b31a;};return a85_0x48a1();}(function(_0x34fa49,_0x381cf9){const _0x445ac9=a85_0x21b4,_0x5af97e=_0x34fa49();while(!![]){try{const _0x4b1d48=-parseInt(_0x445ac9(0x1e4))/0x1+parseInt(_0x445ac9(0x1ed))/0x2*(-parseInt(_0x445ac9(0x1ec))/0x3)+parseInt(_0x445ac9(0x1e9))/0x4*(-parseInt(_0x445ac9(0x1e0))/0x5)+-parseInt(_0x445ac9(0x1e6))/0x6*(-parseInt(_0x445ac9(0x1e7))/0x7)+-parseInt(_0x445ac9(0x1e5))/0x8+-parseInt(_0x445ac9(0x1e1))/0x9+parseInt(_0x445ac9(0x1e2))/0xa*(parseInt(_0x445ac9(0x1e8))/0xb);if(_0x4b1d48===_0x381cf9)break;else _0x5af97e['push'](_0x5af97e['shift']());}catch(_0x3eaecc){_0x5af97e['push'](_0x5af97e['shift']());}}}(a85_0x48a1,0xcb607));export function insertDynamicServicesAfterServiceTree(_0x1fd823,_0x238133){const _0x522778=a85_0x21b4;if(_0x238133[_0x522778(0x1eb)]===0x0)return[..._0x1fd823];const _0x34d54a=_0x1fd823[_0x522778(0x1ea)](_0x4adee8=>_0x4adee8[_0x522778(0x1e3)]===_0x522778(0x1e3));if(_0x34d54a<0x0)return[..._0x1fd823,..._0x238133];return[..._0x1fd823[_0x522778(0x1df)](0x0,_0x34d54a+0x1),..._0x238133,..._0x1fd823[_0x522778(0x1df)](_0x34d54a+0x1)];}
1
+ function a85_0x365f(_0x3a9637,_0x4e72c5){_0x3a9637=_0x3a9637-0x195;const _0x1eccc9=a85_0x1ecc();let _0x365f49=_0x1eccc9[_0x3a9637];return _0x365f49;}(function(_0x2be890,_0x1ed8bf){const _0x58abb7=a85_0x365f,_0x27eba7=_0x2be890();while(!![]){try{const _0x56ab09=-parseInt(_0x58abb7(0x19d))/0x1*(-parseInt(_0x58abb7(0x19b))/0x2)+parseInt(_0x58abb7(0x199))/0x3*(-parseInt(_0x58abb7(0x197))/0x4)+parseInt(_0x58abb7(0x1a0))/0x5*(parseInt(_0x58abb7(0x1a1))/0x6)+-parseInt(_0x58abb7(0x196))/0x7+parseInt(_0x58abb7(0x19f))/0x8*(-parseInt(_0x58abb7(0x1a3))/0x9)+-parseInt(_0x58abb7(0x19a))/0xa+parseInt(_0x58abb7(0x195))/0xb;if(_0x56ab09===_0x1ed8bf)break;else _0x27eba7['push'](_0x27eba7['shift']());}catch(_0x304cff){_0x27eba7['push'](_0x27eba7['shift']());}}}(a85_0x1ecc,0xbfc06));export function insertDynamicServicesAfterServiceTree(_0x1b7788,_0x2cde00){const _0x25e6dd=a85_0x365f;if(_0x2cde00[_0x25e6dd(0x1a2)]===0x0)return[..._0x1b7788];const _0x141d34=_0x1b7788[_0x25e6dd(0x19c)](_0x26e4a4=>_0x26e4a4[_0x25e6dd(0x19e)]==='service');if(_0x141d34<0x0)return[..._0x1b7788,..._0x2cde00];return[..._0x1b7788[_0x25e6dd(0x198)](0x0,_0x141d34+0x1),..._0x2cde00,..._0x1b7788['slice'](_0x141d34+0x1)];}function a85_0x1ecc(){const _0x10882a=['5656532YMkJKh','3315764aDGoZo','slice','3UAUpCm','581490RoNecz','1149638VmRVcb','findIndex','1opsLeL','service','48Xcyyay','1724135ONDieD','6WSPpYE','length','2334303fjVuAI','34288496LwmMXL'];a85_0x1ecc=function(){return _0x10882a;};return a85_0x1ecc();}
@@ -1 +1 @@
1
- function a86_0x58d7(){var _0x4b209b=['33841555MtgPqC','504296cBWnge','18TMCrDR','932004MzDgwc','28hmqiwu','166326xYbPML','2sfEtlx','72rdiNzW','2644780nAEKBe','2367050qrYDYr','250646XMOpML'];a86_0x58d7=function(){return _0x4b209b;};return a86_0x58d7();}function a86_0x55be(_0x4c3bca,_0x1ff6b9){_0x4c3bca=_0x4c3bca-0x10b;var _0x58d78c=a86_0x58d7();var _0x55be28=_0x58d78c[_0x4c3bca];return _0x55be28;}(function(_0x45f0ec,_0x303d3a){var _0xdfb670=a86_0x55be,_0x205483=_0x45f0ec();while(!![]){try{var _0x126dcd=-parseInt(_0xdfb670(0x10d))/0x1*(parseInt(_0xdfb670(0x111))/0x2)+parseInt(_0xdfb670(0x114))/0x3*(-parseInt(_0xdfb670(0x113))/0x4)+-parseInt(_0xdfb670(0x10f))/0x5+-parseInt(_0xdfb670(0x10c))/0x6*(-parseInt(_0xdfb670(0x10b))/0x7)+parseInt(_0xdfb670(0x10e))/0x8*(-parseInt(_0xdfb670(0x115))/0x9)+-parseInt(_0xdfb670(0x110))/0xa+parseInt(_0xdfb670(0x112))/0xb;if(_0x126dcd===_0x303d3a)break;else _0x205483['push'](_0x205483['shift']());}catch(_0xfa8c24){_0x205483['push'](_0x205483['shift']());}}}(a86_0x58d7,0x75d4a));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
1
+ (function(_0x212400,_0x36e918){var _0x5d2648=a86_0x3ae8,_0x3c26fa=_0x212400();while(!![]){try{var _0x32c1c0=parseInt(_0x5d2648(0x1e6))/0x1+parseInt(_0x5d2648(0x1e1))/0x2+-parseInt(_0x5d2648(0x1e3))/0x3*(parseInt(_0x5d2648(0x1e2))/0x4)+parseInt(_0x5d2648(0x1de))/0x5*(parseInt(_0x5d2648(0x1e5))/0x6)+-parseInt(_0x5d2648(0x1e4))/0x7+parseInt(_0x5d2648(0x1e0))/0x8+-parseInt(_0x5d2648(0x1df))/0x9;if(_0x32c1c0===_0x36e918)break;else _0x3c26fa['push'](_0x3c26fa['shift']());}catch(_0xf14ff1){_0x3c26fa['push'](_0x3c26fa['shift']());}}}(a86_0x692f,0x7c392));function a86_0x692f(){var _0x503461=['5AMCfhT','19779426XjbUdg','4830360CPnqvd','1897188zIvPUN','4fKxTCk','137799DollPd','5359487POMLpt','6013266VPLoWC','963506CULKHa'];a86_0x692f=function(){return _0x503461;};return a86_0x692f();}function a86_0x3ae8(_0x1da2c8,_0x800c0d){_0x1da2c8=_0x1da2c8-0x1de;var _0x692f47=a86_0x692f();var _0x3ae89c=_0x692f47[_0x1da2c8];return _0x3ae89c;}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- const a87_0x103578=a87_0xc8c5;(function(_0x3dbfc5,_0xcabad){const _0x2f26f3=a87_0xc8c5,_0x45286f=_0x3dbfc5();while(!![]){try{const _0x202df2=-parseInt(_0x2f26f3(0xe7))/0x1+-parseInt(_0x2f26f3(0xe3))/0x2*(-parseInt(_0x2f26f3(0xe2))/0x3)+-parseInt(_0x2f26f3(0xde))/0x4*(parseInt(_0x2f26f3(0xdf))/0x5)+parseInt(_0x2f26f3(0xe5))/0x6+-parseInt(_0x2f26f3(0xe0))/0x7+-parseInt(_0x2f26f3(0xdc))/0x8+parseInt(_0x2f26f3(0xdd))/0x9;if(_0x202df2===_0xcabad)break;else _0x45286f['push'](_0x45286f['shift']());}catch(_0x2067a9){_0x45286f['push'](_0x45286f['shift']());}}}(a87_0x515a,0x7dd51));export const VERSION='2.1.7-beta.5';export const GIT_TAG=a87_0x103578(0xe6);function a87_0x515a(){const _0x1b5f22=['18TUPDQO','2026-07-07T05:56:05.111Z','2921022HOPyPZ','v2.1.7-beta.5','523096HtHwTW','4705496bdawlo','11729718JTVZuu','2361596dZgHgd','5Nrjrwx','1078364xWiZVC','8063aee','193668vIIBgI'];a87_0x515a=function(){return _0x1b5f22;};return a87_0x515a();}function a87_0xc8c5(_0x5273c4,_0x238aef){_0x5273c4=_0x5273c4-0xdc;const _0x515a50=a87_0x515a();let _0xc8c5=_0x515a50[_0x5273c4];return _0xc8c5;}export const GIT_COMMIT=a87_0x103578(0xe1);export const BUILD_TIME=a87_0x103578(0xe4);
1
+ function a87_0x5692(_0xe27640,_0x27a6f7){_0xe27640=_0xe27640-0x15e;const _0x14f534=a87_0x14f5();let _0x5692af=_0x14f534[_0xe27640];return _0x5692af;}const a87_0x3c420e=a87_0x5692;(function(_0x2190d7,_0x184c41){const _0x186b28=a87_0x5692,_0xfa3e10=_0x2190d7();while(!![]){try{const _0x31d1ab=parseInt(_0x186b28(0x169))/0x1*(-parseInt(_0x186b28(0x15e))/0x2)+parseInt(_0x186b28(0x167))/0x3*(parseInt(_0x186b28(0x166))/0x4)+parseInt(_0x186b28(0x162))/0x5*(-parseInt(_0x186b28(0x16b))/0x6)+parseInt(_0x186b28(0x160))/0x7*(parseInt(_0x186b28(0x164))/0x8)+parseInt(_0x186b28(0x163))/0x9+-parseInt(_0x186b28(0x15f))/0xa+-parseInt(_0x186b28(0x16c))/0xb*(parseInt(_0x186b28(0x161))/0xc);if(_0x31d1ab===_0x184c41)break;else _0xfa3e10['push'](_0xfa3e10['shift']());}catch(_0x260701){_0xfa3e10['push'](_0xfa3e10['shift']());}}}(a87_0x14f5,0xc30a5));export const VERSION=a87_0x3c420e(0x165);function a87_0x14f5(){const _0x327f87=['165tCsLJu','2TucFAq','9818080BgaTHi','40901Vqvgxl','21780fnSIFu','12435EDLONI','12305637QxyzVO','1088XzxBUT','2.1.7','8CuhYKd','46542QsDule','8063aee','208474uCpJPT','2026-07-07T11:04:05.382Z','426Qmmooi'];a87_0x14f5=function(){return _0x327f87;};return a87_0x14f5();}export const GIT_TAG='v2.1.7-beta.5';export const GIT_COMMIT=a87_0x3c420e(0x168);export const BUILD_TIME=a87_0x3c420e(0x16a);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x4bd06e,_0x13ec0d){const _0x169b46=a88_0x4832,_0x102969=_0x4bd06e();while(!![]){try{const _0x172ce4=-parseInt(_0x169b46(0x1df))/0x1+-parseInt(_0x169b46(0x1dd))/0x2*(-parseInt(_0x169b46(0x1d8))/0x3)+-parseInt(_0x169b46(0x1e1))/0x4+parseInt(_0x169b46(0x1d6))/0x5+parseInt(_0x169b46(0x1de))/0x6*(-parseInt(_0x169b46(0x1db))/0x7)+parseInt(_0x169b46(0x1e0))/0x8*(parseInt(_0x169b46(0x1d5))/0x9)+parseInt(_0x169b46(0x1dc))/0xa;if(_0x172ce4===_0x13ec0d)break;else _0x102969['push'](_0x102969['shift']());}catch(_0x314088){_0x102969['push'](_0x102969['shift']());}}}(a88_0x5bd2,0xb93b4));import{jsx as a88_0x3beda4,jsxs as a88_0x441ed2}from'react/jsx-runtime';function a88_0x5bd2(){const _0x5555ed=['1466442wpILmc','21424ZNKMUv','2499292ZYlbCt','green','\x20to\x20view\x20available\x20commands.','1836wjsaNd','2450085ZcVvfu','column','3129TVuGku','\x20\x20Use\x20','\x20--help','9355605MUsRwt','19507090XrjQbt','2300oDcwLC','6RMBTJo'];a88_0x5bd2=function(){return _0x5555ed;};return a88_0x5bd2();}function a88_0x4832(_0x56bc80,_0x58dfed){_0x56bc80=_0x56bc80-0x1d4;const _0x5bd281=a88_0x5bd2();let _0x483246=_0x5bd281[_0x56bc80];return _0x483246;}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 _0x21b3a1=a88_0x4832,{exit:_0x3b71c9}=useApp();return useEffect(()=>{_0x3b71c9();},[_0x3b71c9]),a88_0x441ed2(Box,{'flexDirection':_0x21b3a1(0x1d7),'marginTop':0x1,'marginBottom':0x1,'children':[a88_0x3beda4(Box,{'children':a88_0x3beda4(Text,{'bold':!![],'color':_0x21b3a1(0x1e2),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a88_0x441ed2(Box,{'marginTop':0x1,'children':[a88_0x3beda4(Text,{'dimColor':!![],'children':_0x21b3a1(0x1d9)}),a88_0x3beda4(Text,{'bold':!![],'color':_0x21b3a1(0x1e2),'children':CLI_BIN_NAME+_0x21b3a1(0x1da)}),a88_0x3beda4(Text,{'dimColor':!![],'children':_0x21b3a1(0x1d4)})]})]});}
1
+ (function(_0x1f28d7,_0x4491a9){const _0xee2c44=a88_0x1841,_0x41bdf1=_0x1f28d7();while(!![]){try{const _0x1f458c=-parseInt(_0xee2c44(0x191))/0x1*(-parseInt(_0xee2c44(0x197))/0x2)+-parseInt(_0xee2c44(0x18e))/0x3*(-parseInt(_0xee2c44(0x192))/0x4)+parseInt(_0xee2c44(0x18c))/0x5*(-parseInt(_0xee2c44(0x196))/0x6)+parseInt(_0xee2c44(0x194))/0x7+parseInt(_0xee2c44(0x18a))/0x8+parseInt(_0xee2c44(0x195))/0x9*(-parseInt(_0xee2c44(0x18b))/0xa)+-parseInt(_0xee2c44(0x190))/0xb;if(_0x1f458c===_0x4491a9)break;else _0x41bdf1['push'](_0x41bdf1['shift']());}catch(_0x1bc0c9){_0x41bdf1['push'](_0x41bdf1['shift']());}}}(a88_0x2bf2,0x8dc90));import{jsx as a88_0x2de7db,jsxs as a88_0x50f2b5}from'react/jsx-runtime';import{useEffect}from'react';function a88_0x2bf2(){const _0x5a7cd6=['20016KSERdg','59802oKdkuF','60jQjZtp','1277272HQDIgW','2000BfkFJM','195yzBkHr','\x20to\x20view\x20available\x20commands.','101094OLoUvK','\x20--help','9774633VcmNsp','10667LBcHVt','100qEzPRQ','green','6865243HmpsvW'];a88_0x2bf2=function(){return _0x5a7cd6;};return a88_0x2bf2();}import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';function a88_0x1841(_0x3c55b1,_0x1e74d8){_0x3c55b1=_0x3c55b1-0x18a;const _0x2bf269=a88_0x2bf2();let _0x184114=_0x2bf269[_0x3c55b1];return _0x184114;}export function Help(){const _0xfdbb8b=a88_0x1841,{exit:_0x9c8101}=useApp();return useEffect(()=>{_0x9c8101();},[_0x9c8101]),a88_0x50f2b5(Box,{'flexDirection':'column','marginTop':0x1,'marginBottom':0x1,'children':[a88_0x2de7db(Box,{'children':a88_0x2de7db(Text,{'bold':!![],'color':_0xfdbb8b(0x193),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a88_0x50f2b5(Box,{'marginTop':0x1,'children':[a88_0x2de7db(Text,{'dimColor':!![],'children':'\x20\x20Use\x20'}),a88_0x2de7db(Text,{'bold':!![],'color':'green','children':CLI_BIN_NAME+_0xfdbb8b(0x18f)}),a88_0x2de7db(Text,{'dimColor':!![],'children':_0xfdbb8b(0x18d)})]})]});}
@@ -1 +1 @@
1
- const a89_0x56ba1a=a89_0x39ba;(function(_0x177fd6,_0x38521c){const _0x1c0900=a89_0x39ba,_0x3e24a2=_0x177fd6();while(!![]){try{const _0x300a6d=-parseInt(_0x1c0900(0x177))/0x1*(-parseInt(_0x1c0900(0x17d))/0x2)+-parseInt(_0x1c0900(0x17a))/0x3+parseInt(_0x1c0900(0x17f))/0x4*(parseInt(_0x1c0900(0x186))/0x5)+-parseInt(_0x1c0900(0x180))/0x6*(parseInt(_0x1c0900(0x175))/0x7)+-parseInt(_0x1c0900(0x17b))/0x8+-parseInt(_0x1c0900(0x174))/0x9+parseInt(_0x1c0900(0x173))/0xa;if(_0x300a6d===_0x38521c)break;else _0x3e24a2['push'](_0x3e24a2['shift']());}catch(_0x17f806){_0x3e24a2['push'](_0x3e24a2['shift']());}}}(a89_0x3f9d,0xc188c));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a89_0x51a889}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a89_0x51a889;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a89_0x56ba1a(0x179)]);function a89_0x39ba(_0x15d4a0,_0x19f017){_0x15d4a0=_0x15d4a0-0x173;const _0x3f9d9f=a89_0x3f9d();let _0x39ba22=_0x3f9d9f[_0x15d4a0];return _0x39ba22;}export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x58fab4,_0x3bc8d5=LOVRABET_SKILL_SOURCE,_0x33bd84){const _0x382eee=a89_0x56ba1a;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x399741=_0x33bd84?.[_0x382eee(0x181)]??_0x382eee(0x188),_0x2972b6=resolveNpmBin('npx'),_0xe05150=[_0x382eee(0x17c),'add',_0x3bc8d5,'-g','-y'],_0x2ed3f1=[_0x2972b6,..._0xe05150][_0x382eee(0x189)]('\x20');console[_0x382eee(0x184)]('*\x20'+_0x2ed3f1);const _0x19214c=spawnSync(_0x2972b6,_0xe05150,{'cwd':_0x58fab4,'stdio':_0x399741,'env':process.env,'shell':![]});if(_0x19214c[_0x382eee(0x182)]===0x0)return{'ok':!![],'status':0x0};let _0x174492='exit\x20'+(_0x19214c[_0x382eee(0x182)]??_0x382eee(0x185));if(_0x399741===_0x382eee(0x17e)){const _0x4bce4b=_0x19214c['stderr']?_0x19214c[_0x382eee(0x178)][_0x382eee(0x183)]()[_0x382eee(0x187)]():'',_0x846e4b=_0x19214c[_0x382eee(0x176)]?_0x19214c[_0x382eee(0x176)][_0x382eee(0x183)]()[_0x382eee(0x187)]():'';if(_0x4bce4b)_0x174492=_0x4bce4b;else{if(_0x846e4b)_0x174492=_0x846e4b;}}return{'ok':![],'status':_0x19214c[_0x382eee(0x182)]??null,'error':_0x174492};}function a89_0x3f9d(){const _0x45497f=['13092327jxJFWu','14APWrfy','stdout','281ChrEqW','stderr','skipNpxSkillsEnvSuffix','3402885TNGMVu','6638744jBvrUM','skills','3018mGqxXy','pipe','1941684tdaQHs','3949986uSYtfY','stdio','status','toString','log','unknown','10IHSXxm','trim','inherit','join','41333480HYKgpn'];a89_0x3f9d=function(){return _0x45497f;};return a89_0x3f9d();}
1
+ const a89_0x14ad66=a89_0x3259;function a89_0x4109(){const _0x22f9fb=['2176554hrXnPH','unknown','3493089VlsZUM','join','4369768IgUPdj','skills','stdout','stderr','8spQppT','add','3860260FSaYbo','2338056TditAY','status','skipNpxSkillsEnvSuffix','toString','trim','stdio','1086rhasoP','397YMnPOr','3585540ViHnny','npx','log','inherit','pipe'];a89_0x4109=function(){return _0x22f9fb;};return a89_0x4109();}(function(_0x52cd80,_0x28a642){const _0x59f502=a89_0x3259,_0x2cd171=_0x52cd80();while(!![]){try{const _0x417f7a=-parseInt(_0x59f502(0xbe))/0x1*(-parseInt(_0x59f502(0xbd))/0x2)+parseInt(_0x59f502(0xc6))/0x3+parseInt(_0x59f502(0xb4))/0x4*(-parseInt(_0x59f502(0xb6))/0x5)+-parseInt(_0x59f502(0xc4))/0x6+parseInt(_0x59f502(0xbf))/0x7+parseInt(_0x59f502(0xc8))/0x8+parseInt(_0x59f502(0xb7))/0x9;if(_0x417f7a===_0x28a642)break;else _0x2cd171['push'](_0x2cd171['shift']());}catch(_0x4e456f){_0x2cd171['push'](_0x2cd171['shift']());}}}(a89_0x4109,0xc1300));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';function a89_0x3259(_0x3bd289,_0x688c7d){_0x3bd289=_0x3bd289-0xb3;const _0x410902=a89_0x4109();let _0x3259d4=_0x410902[_0x3bd289];return _0x3259d4;}import{LOVRABET_SKILL_SOURCE as a89_0x48efe1}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a89_0x48efe1;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a89_0x14ad66(0xb9)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x464050,_0x375607=LOVRABET_SKILL_SOURCE,_0x2985de){const _0x5e49f5=a89_0x14ad66;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x37f1d4=_0x2985de?.[_0x5e49f5(0xbc)]??_0x5e49f5(0xc2),_0x4c15de=resolveNpmBin(_0x5e49f5(0xc0)),_0x40864d=[_0x5e49f5(0xc9),_0x5e49f5(0xb5),_0x375607,'-g','-y'],_0x1f0358=[_0x4c15de,..._0x40864d][_0x5e49f5(0xc7)]('\x20');console[_0x5e49f5(0xc1)]('*\x20'+_0x1f0358);const _0x15eed4=spawnSync(_0x4c15de,_0x40864d,{'cwd':_0x464050,'stdio':_0x37f1d4,'env':process.env,'shell':![]});if(_0x15eed4[_0x5e49f5(0xb8)]===0x0)return{'ok':!![],'status':0x0};let _0x100365='exit\x20'+(_0x15eed4['status']??_0x5e49f5(0xc5));if(_0x37f1d4===_0x5e49f5(0xc3)){const _0x88749a=_0x15eed4[_0x5e49f5(0xb3)]?_0x15eed4[_0x5e49f5(0xb3)][_0x5e49f5(0xba)]()['trim']():'',_0x216daa=_0x15eed4['stdout']?_0x15eed4[_0x5e49f5(0xca)][_0x5e49f5(0xba)]()[_0x5e49f5(0xbb)]():'';if(_0x88749a)_0x100365=_0x88749a;else{if(_0x216daa)_0x100365=_0x216daa;}}return{'ok':![],'status':_0x15eed4[_0x5e49f5(0xb8)]??null,'error':_0x100365};}
@@ -1 +1 @@
1
- function a90_0x1972(_0x31aa0e,_0x14440b){_0x31aa0e=_0x31aa0e-0xb8;const _0xf9eb5f=a90_0xf9eb();let _0x1972d6=_0xf9eb5f[_0x31aa0e];return _0x1972d6;}const a90_0x4135f0=a90_0x1972;(function(_0x4029bc,_0x4ed669){const _0x33383b=a90_0x1972,_0x405a7a=_0x4029bc();while(!![]){try{const _0x388b27=-parseInt(_0x33383b(0xba))/0x1*(parseInt(_0x33383b(0xb8))/0x2)+-parseInt(_0x33383b(0xc6))/0x3+-parseInt(_0x33383b(0xc0))/0x4*(-parseInt(_0x33383b(0xbc))/0x5)+parseInt(_0x33383b(0xc7))/0x6*(-parseInt(_0x33383b(0xc1))/0x7)+parseInt(_0x33383b(0xc2))/0x8*(-parseInt(_0x33383b(0xcb))/0x9)+-parseInt(_0x33383b(0xbe))/0xa*(-parseInt(_0x33383b(0xc4))/0xb)+parseInt(_0x33383b(0xc9))/0xc;if(_0x388b27===_0x4ed669)break;else _0x405a7a['push'](_0x405a7a['shift']());}catch(_0x2f12dd){_0x405a7a['push'](_0x405a7a['shift']());}}}(a90_0xf9eb,0x75fd8));function a90_0xf9eb(){const _0x492a4e=['1713xSHuju','.cache','10EKHdYL','.git','5770HKkQph','dist','1136404GkDdTW','653324gUHWJQ','1213672CIkZoD','SKILL.md','10681ldBQyc','coverage','1331151ICJnhJ','12fOpwnU','build','12528612dZIwfP','.DS_Store','18uVJrej','.next','882ZTaaXL','.svn'];a90_0xf9eb=function(){return _0x492a4e;};return a90_0xf9eb();}export const METADATA_FILE='lovrabet.skill.json';export const SKILL_FILE=a90_0x4135f0(0xc3);export const IGNORED_FILE_NAMES=new Set([METADATA_FILE,a90_0x4135f0(0xca)]);export const IGNORED_DIR_NAMES=new Set([a90_0x4135f0(0xbd),'.hg',a90_0x4135f0(0xb9),'node_modules',a90_0x4135f0(0xcc),a90_0x4135f0(0xbf),a90_0x4135f0(0xc8),a90_0x4135f0(0xc5),'.turbo',a90_0x4135f0(0xbb)]);
1
+ const a90_0x5a5a4f=a90_0x2df6;(function(_0x58cf5b,_0x3e007b){const _0x297ea4=a90_0x2df6,_0x3e0fec=_0x58cf5b();while(!![]){try{const _0x88282f=-parseInt(_0x297ea4(0xf9))/0x1*(parseInt(_0x297ea4(0xef))/0x2)+-parseInt(_0x297ea4(0xfb))/0x3+parseInt(_0x297ea4(0xf5))/0x4*(parseInt(_0x297ea4(0xf0))/0x5)+-parseInt(_0x297ea4(0xf6))/0x6*(-parseInt(_0x297ea4(0xf1))/0x7)+-parseInt(_0x297ea4(0xf3))/0x8*(-parseInt(_0x297ea4(0xfe))/0x9)+parseInt(_0x297ea4(0xfa))/0xa+-parseInt(_0x297ea4(0xff))/0xb;if(_0x88282f===_0x3e007b)break;else _0x3e0fec['push'](_0x3e0fec['shift']());}catch(_0x1a2b3a){_0x3e0fec['push'](_0x3e0fec['shift']());}}}(a90_0x4560,0x28627));export const METADATA_FILE=a90_0x5a5a4f(0xf2);export const SKILL_FILE='SKILL.md';function a90_0x4560(){const _0x3b2eab=['787028ymYyUA','.DS_Store','2ZToyPv','5bxjbbC','175hYiiWd','lovrabet.skill.json','72ohqlvl','.next','1192740YEGILa','10986xHsxtK','.turbo','.hg','12461pFaMll','409220JGZweI','486375dXnFgq','build','dist','26667WVIyrF'];a90_0x4560=function(){return _0x3b2eab;};return a90_0x4560();}export const IGNORED_FILE_NAMES=new Set([METADATA_FILE,a90_0x5a5a4f(0x100)]);function a90_0x2df6(_0x1d566e,_0x7167fb){_0x1d566e=_0x1d566e-0xef;const _0x456038=a90_0x4560();let _0x2df609=_0x456038[_0x1d566e];return _0x2df609;}export const IGNORED_DIR_NAMES=new Set(['.git',a90_0x5a5a4f(0xf8),'.svn','node_modules',a90_0x5a5a4f(0xf4),a90_0x5a5a4f(0xfd),a90_0x5a5a4f(0xfc),'coverage',a90_0x5a5a4f(0xf7),'.cache']);
@@ -1 +1 @@
1
- (function(_0x23db69,_0x65e068){const _0xbe5fbe=a91_0x554a,_0x337eab=_0x23db69();while(!![]){try{const _0x2e21bc=-parseInt(_0xbe5fbe(0x185))/0x1*(parseInt(_0xbe5fbe(0x189))/0x2)+-parseInt(_0xbe5fbe(0x18c))/0x3+parseInt(_0xbe5fbe(0x193))/0x4*(-parseInt(_0xbe5fbe(0x187))/0x5)+parseInt(_0xbe5fbe(0x191))/0x6+-parseInt(_0xbe5fbe(0x18d))/0x7+parseInt(_0xbe5fbe(0x186))/0x8+parseInt(_0xbe5fbe(0x184))/0x9;if(_0x2e21bc===_0x65e068)break;else _0x337eab['push'](_0x337eab['shift']());}catch(_0x488b00){_0x337eab['push'](_0x337eab['shift']());}}}(a91_0x5942,0x63915));import{lstatSync,readlinkSync,realpathSync,renameSync,rmSync,writeFileSync}from'node:fs';import{dirname,isAbsolute,resolve,sep}from'node:path';import{CliErrors}from'../../errors.js';import{normalizeSkillRelativePath}from'./local-files.js';export function resolveManagedFilePath(_0xc097b5,_0x41a405){const _0x18aba4=a91_0x554a,_0x126b6a=normalizeSkillRelativePath(_0x41a405),_0x2cc191=realOrResolved(_0xc097b5),_0x396083=resolve(_0x2cc191,..._0x126b6a['split']('/'));if(!isPathInside(_0x396083,_0x2cc191))throw CliErrors['validation'](_0x18aba4(0x188)+_0x41a405);return ensureNoSymlinkInManagedPath(_0x2cc191,_0x126b6a),_0x396083;}export function ensureNoSymlinkInManagedPath(_0x1ea37a,_0x316c6b){const _0x291d37=a91_0x554a;let _0x37be21=_0x1ea37a;for(const _0x4798c4 of _0x316c6b['split']('/')){_0x37be21=resolve(_0x37be21,_0x4798c4);const _0x3e9fe1=lstatIfPresent(_0x37be21);if(_0x3e9fe1?.[_0x291d37(0x182)]())throw CliErrors[_0x291d37(0x192)]('Refusing\x20to\x20write\x20through\x20Skill\x20symlink\x20path:\x20'+_0x316c6b);}}export function isDanglingSymlink(_0x5f3f50){try{return lstatSync(_0x5f3f50)['isSymbolicLink']();}catch{return![];}}export function resolveSymlinkTarget(_0x193e1f){const _0x5ae871=readlinkSync(_0x193e1f);return isAbsolute(_0x5ae871)?_0x5ae871:resolve(dirname(_0x193e1f),_0x5ae871);}function a91_0x554a(_0xa87fa3,_0x4e3190){_0xa87fa3=_0xa87fa3-0x182;const _0x5942f6=a91_0x5942();let _0x554a4d=_0x5942f6[_0xa87fa3];return _0x554a4d;}export function isPathInside(_0xd715a9,_0x1c00a4){const _0x4ff81a=a91_0x554a,_0x1492ba=_0xd715a9[_0x4ff81a(0x18f)](sep)?_0xd715a9:''+_0xd715a9+sep,_0x1ba6a2=_0x1c00a4[_0x4ff81a(0x18f)](sep)?_0x1c00a4:''+_0x1c00a4+sep;return _0xd715a9===_0x1c00a4||_0x1492ba[_0x4ff81a(0x18e)](_0x1ba6a2);}export function realOrResolved(_0x2f554b){try{return realpathSync(_0x2f554b);}catch{return resolve(_0x2f554b);}}export function lstatIfPresent(_0x1f51bf){try{return lstatSync(_0x1f51bf);}catch{return undefined;}}export function writeTextAtomic(_0x42ea98,_0x1a63e9,_0x1848dc){const _0xf29ad4=a91_0x554a;writeBytesAtomic(_0x42ea98,Buffer[_0xf29ad4(0x18a)](_0x1a63e9,_0xf29ad4(0x190)),_0x1848dc);}export function writeBytesAtomic(_0x31b06c,_0x39ff7b,_0x4a4d2f){const _0x22535d=a91_0x554a,_0x2480d5=_0x31b06c+_0x22535d(0x18b);try{writeFileSync(_0x2480d5,_0x39ff7b,{'mode':_0x4a4d2f}),renameSync(_0x2480d5,_0x31b06c);}catch(_0xadd28a){try{rmSync(_0x2480d5,{'force':!![]});}catch{}throw _0xadd28a;}}export function writeJsonAtomic(_0x517d2c,_0x35a6c2){const _0x2dc654=a91_0x554a;writeTextAtomic(_0x517d2c,JSON[_0x2dc654(0x183)](_0x35a6c2,null,0x2)+'\x0a',0x180);}function a91_0x5942(){const _0xee08ad=['isSymbolicLink','stringify','7511859GsYXgZ','1EymFzE','727136yzNXPW','35GFcVUo','Unsafe\x20Skill\x20file\x20path:\x20','1024132cGWrIP','from','.tmp','146265UlGkFQ','1284185HAZZYh','startsWith','endsWith','utf8','3469158ecSEiH','validation','200932BPaBxP'];a91_0x5942=function(){return _0xee08ad;};return a91_0x5942();}
1
+ (function(_0x18311f,_0x171315){const _0x3cc238=a91_0x5140,_0x6125c9=_0x18311f();while(!![]){try{const _0x14932d=parseInt(_0x3cc238(0x165))/0x1*(parseInt(_0x3cc238(0x151))/0x2)+parseInt(_0x3cc238(0x159))/0x3*(parseInt(_0x3cc238(0x156))/0x4)+parseInt(_0x3cc238(0x162))/0x5*(parseInt(_0x3cc238(0x158))/0x6)+-parseInt(_0x3cc238(0x15d))/0x7*(parseInt(_0x3cc238(0x153))/0x8)+-parseInt(_0x3cc238(0x15f))/0x9+-parseInt(_0x3cc238(0x15c))/0xa*(parseInt(_0x3cc238(0x157))/0xb)+-parseInt(_0x3cc238(0x152))/0xc*(parseInt(_0x3cc238(0x164))/0xd);if(_0x14932d===_0x171315)break;else _0x6125c9['push'](_0x6125c9['shift']());}catch(_0x50a6de){_0x6125c9['push'](_0x6125c9['shift']());}}}(a91_0x53f0,0xbfdca));import{lstatSync,readlinkSync,realpathSync,renameSync,rmSync,writeFileSync}from'node:fs';import{dirname,isAbsolute,resolve,sep}from'node:path';import{CliErrors}from'../../errors.js';import{normalizeSkillRelativePath}from'./local-files.js';export function resolveManagedFilePath(_0x43f01f,_0x1a7f11){const _0x249be2=a91_0x5140,_0x2e101a=normalizeSkillRelativePath(_0x1a7f11),_0x395084=realOrResolved(_0x43f01f),_0x2b1f58=resolve(_0x395084,..._0x2e101a[_0x249be2(0x160)]('/'));if(!isPathInside(_0x2b1f58,_0x395084))throw CliErrors['validation'](_0x249be2(0x15a)+_0x1a7f11);return ensureNoSymlinkInManagedPath(_0x395084,_0x2e101a),_0x2b1f58;}export function ensureNoSymlinkInManagedPath(_0x2d9259,_0x1232a5){const _0x3b0a07=a91_0x5140;let _0x4b4d52=_0x2d9259;for(const _0x54f0d1 of _0x1232a5['split']('/')){_0x4b4d52=resolve(_0x4b4d52,_0x54f0d1);const _0x47afd9=lstatIfPresent(_0x4b4d52);if(_0x47afd9?.[_0x3b0a07(0x15b)]())throw CliErrors[_0x3b0a07(0x155)]('Refusing\x20to\x20write\x20through\x20Skill\x20symlink\x20path:\x20'+_0x1232a5);}}export function isDanglingSymlink(_0x397678){try{return lstatSync(_0x397678)['isSymbolicLink']();}catch{return![];}}export function resolveSymlinkTarget(_0xd9ac5b){const _0x1d8bef=readlinkSync(_0xd9ac5b);return isAbsolute(_0x1d8bef)?_0x1d8bef:resolve(dirname(_0xd9ac5b),_0x1d8bef);}function a91_0x5140(_0x1345ff,_0x54835c){_0x1345ff=_0x1345ff-0x151;const _0x53f019=a91_0x53f0();let _0x5140f7=_0x53f019[_0x1345ff];return _0x5140f7;}export function isPathInside(_0x4c67a3,_0x20ffdd){const _0x5cb83d=a91_0x5140,_0x12351b=_0x4c67a3[_0x5cb83d(0x154)](sep)?_0x4c67a3:''+_0x4c67a3+sep,_0x4d4760=_0x20ffdd[_0x5cb83d(0x154)](sep)?_0x20ffdd:''+_0x20ffdd+sep;return _0x4c67a3===_0x20ffdd||_0x12351b[_0x5cb83d(0x163)](_0x4d4760);}function a91_0x53f0(){const _0x2468be=['Unsafe\x20Skill\x20file\x20path:\x20','isSymbolicLink','2883780wDGvWU','49QGiRia','.tmp','10816371sIjgvP','split','stringify','65425brNbNI','startsWith','2249rDdHfD','569jouNmi','4474oDElHL','11328YsLPDE','608216risGyT','endsWith','validation','4MWVkdU','22byveRM','372fVqXsZ','3527457pgdmbP'];a91_0x53f0=function(){return _0x2468be;};return a91_0x53f0();}export function realOrResolved(_0x1770f7){try{return realpathSync(_0x1770f7);}catch{return resolve(_0x1770f7);}}export function lstatIfPresent(_0x5f4749){try{return lstatSync(_0x5f4749);}catch{return undefined;}}export function writeTextAtomic(_0x29426c,_0x3eed58,_0xfb7032){writeBytesAtomic(_0x29426c,Buffer['from'](_0x3eed58,'utf8'),_0xfb7032);}export function writeBytesAtomic(_0x13d76f,_0x11d18a,_0x1a0757){const _0x4b46cf=a91_0x5140,_0x1722a2=_0x13d76f+_0x4b46cf(0x15e);try{writeFileSync(_0x1722a2,_0x11d18a,{'mode':_0x1a0757}),renameSync(_0x1722a2,_0x13d76f);}catch(_0x140698){try{rmSync(_0x1722a2,{'force':!![]});}catch{}throw _0x140698;}}export function writeJsonAtomic(_0x513587,_0x483e94){const _0x5c8b89=a91_0x5140;writeTextAtomic(_0x513587,JSON[_0x5c8b89(0x161)](_0x483e94,null,0x2)+'\x0a',0x180);}
@@ -1 +1 @@
1
- (function(_0x439871,_0x578d8e){const _0xfef720=a92_0x6251,_0x4f4ae8=_0x439871();while(!![]){try{const _0x2e5dac=parseInt(_0xfef720(0xe4))/0x1+-parseInt(_0xfef720(0xe8))/0x2+-parseInt(_0xfef720(0xe6))/0x3*(parseInt(_0xfef720(0xe9))/0x4)+-parseInt(_0xfef720(0xe3))/0x5*(-parseInt(_0xfef720(0xef))/0x6)+parseInt(_0xfef720(0xed))/0x7+-parseInt(_0xfef720(0xe2))/0x8+-parseInt(_0xfef720(0xea))/0x9;if(_0x2e5dac===_0x578d8e)break;else _0x4f4ae8['push'](_0x4f4ae8['shift']());}catch(_0x41437b){_0x4f4ae8['push'](_0x4f4ae8['shift']());}}}(a92_0x5e8b,0xa1100));import{createHash}from'node:crypto';function a92_0x5e8b(){const _0x9d833e=['hex','87TjCypm','digest','1133626RLoprC','73012nFWjHB','10111428JIvRzX','path','update','8473010JovoFV','sha256','822jJHyKl','2452488mlrJYu','44170piseqG','765227JRclPJ'];a92_0x5e8b=function(){return _0x9d833e;};return a92_0x5e8b();}import{fileContent,normalizeManifestFiles}from'./local-files.js';export function contentHash(_0x493c35){const _0x3d866c=a92_0x6251;return createHash('sha256')[_0x3d866c(0xec)](_0x493c35)[_0x3d866c(0xe7)]('hex');}export function fileHash(_0x1fa81b){return bufferSha256(fileContent(_0x1fa81b));}function a92_0x6251(_0x151de2,_0x3d86dd){_0x151de2=_0x151de2-0xe2;const _0x5e8ba9=a92_0x5e8b();let _0x625126=_0x5e8ba9[_0x151de2];return _0x625126;}export function bufferSha256(_0x1a1825){const _0xc59a98=a92_0x6251;return createHash(_0xc59a98(0xee))['update'](_0x1a1825)[_0xc59a98(0xe7)](_0xc59a98(0xe5));}export function fileTreeHash(_0x33575a){const _0x4cc06b=a92_0x6251,_0x2dedf5=createHash(_0x4cc06b(0xee));for(const _0x246d37 of normalizeManifestFiles(_0x33575a)){_0x2dedf5[_0x4cc06b(0xec)](_0x246d37[_0x4cc06b(0xeb)]),_0x2dedf5[_0x4cc06b(0xec)]('\x00'),_0x2dedf5['update'](_0x246d37[_0x4cc06b(0xee)]),_0x2dedf5[_0x4cc06b(0xec)]('\x00'),_0x2dedf5[_0x4cc06b(0xec)](String(_0x246d37['size'])),_0x2dedf5[_0x4cc06b(0xec)]('\x00');}return _0x2dedf5[_0x4cc06b(0xe7)](_0x4cc06b(0xe5));}
1
+ (function(_0x2fe24f,_0x256a86){const _0x751b40=a92_0x3bef,_0xc97673=_0x2fe24f();while(!![]){try{const _0x12ed37=parseInt(_0x751b40(0xde))/0x1*(parseInt(_0x751b40(0xdf))/0x2)+-parseInt(_0x751b40(0xdc))/0x3*(parseInt(_0x751b40(0xd7))/0x4)+-parseInt(_0x751b40(0xe2))/0x5*(parseInt(_0x751b40(0xe1))/0x6)+parseInt(_0x751b40(0xdd))/0x7+-parseInt(_0x751b40(0xd9))/0x8*(-parseInt(_0x751b40(0xd6))/0x9)+-parseInt(_0x751b40(0xe3))/0xa*(-parseInt(_0x751b40(0xe5))/0xb)+-parseInt(_0x751b40(0xd8))/0xc;if(_0x12ed37===_0x256a86)break;else _0xc97673['push'](_0xc97673['shift']());}catch(_0x558a57){_0xc97673['push'](_0xc97673['shift']());}}}(a92_0x5e7a,0x26c42));import{createHash}from'node:crypto';import{fileContent,normalizeManifestFiles}from'./local-files.js';export function contentHash(_0x217b49){const _0x2b36d1=a92_0x3bef;return createHash(_0x2b36d1(0xe0))['update'](_0x217b49)[_0x2b36d1(0xdb)](_0x2b36d1(0xe4));}function a92_0x3bef(_0x9807b8,_0x55bc42){_0x9807b8=_0x9807b8-0xd6;const _0x5e7ab7=a92_0x5e7a();let _0x3bef2d=_0x5e7ab7[_0x9807b8];return _0x3bef2d;}export function fileHash(_0xd02a07){return bufferSha256(fileContent(_0xd02a07));}function a92_0x5e7a(){const _0xd9881f=['62513LIsNTO','10cBGrdH','sha256','48unqDss','191045NgaZjE','63120kQMCAT','hex','187sDjGhv','update','9iTRKYs','35752VbuGmc','2945316cpXAEx','1179088NGGIVs','path','digest','48jZFNtu','1999578nfuWrE'];a92_0x5e7a=function(){return _0xd9881f;};return a92_0x5e7a();}export function bufferSha256(_0x4a1ef6){const _0x365dab=a92_0x3bef;return createHash(_0x365dab(0xe0))['update'](_0x4a1ef6)[_0x365dab(0xdb)]('hex');}export function fileTreeHash(_0x58cfad){const _0x4f3fc9=a92_0x3bef,_0x30c58e=createHash(_0x4f3fc9(0xe0));for(const _0x4ffaab of normalizeManifestFiles(_0x58cfad)){_0x30c58e['update'](_0x4ffaab[_0x4f3fc9(0xda)]),_0x30c58e[_0x4f3fc9(0xe6)]('\x00'),_0x30c58e[_0x4f3fc9(0xe6)](_0x4ffaab[_0x4f3fc9(0xe0)]),_0x30c58e['update']('\x00'),_0x30c58e['update'](String(_0x4ffaab['size'])),_0x30c58e['update']('\x00');}return _0x30c58e[_0x4f3fc9(0xdb)](_0x4f3fc9(0xe4));}
@@ -1 +1 @@
1
- (function(_0x23b3b8,_0x592cf1){const _0x2f957d=a93_0x2a54,_0x242e41=_0x23b3b8();while(!![]){try{const _0x5c9cf1=parseInt(_0x2f957d(0x8a))/0x1*(-parseInt(_0x2f957d(0x92))/0x2)+parseInt(_0x2f957d(0x8e))/0x3*(-parseInt(_0x2f957d(0x97))/0x4)+parseInt(_0x2f957d(0x93))/0x5+parseInt(_0x2f957d(0x83))/0x6+parseInt(_0x2f957d(0x7d))/0x7+parseInt(_0x2f957d(0x7c))/0x8*(-parseInt(_0x2f957d(0x96))/0x9)+parseInt(_0x2f957d(0x71))/0xa;if(_0x5c9cf1===_0x592cf1)break;else _0x242e41['push'](_0x242e41['shift']());}catch(_0x51b57c){_0x242e41['push'](_0x242e41['shift']());}}}(a93_0x38ee,0x2dc11));function a93_0x2a54(_0x4ab9ab,_0x583230){_0x4ab9ab=_0x4ab9ab-0x6c;const _0x38ee4e=a93_0x38ee();let _0x2a54ed=_0x38ee4e[_0x4ab9ab];return _0x2a54ed;}import{existsSync,lstatSync,mkdirSync,readdirSync,symlinkSync,unlinkSync}from'node:fs';import{basename,dirname,resolve}from'node:path';import a93_0x451471 from'fs-extra';import{CliErrors}from'../../errors.js';function a93_0x38ee(){const _0x5c3824=['not-managed-symlink','2aRDaXO','1471255dxylhA','updated','skillCode','9NSemtB','1449212YNGpNm','metadata-mismatch','Refusing\x20to\x20overwrite\x20global\x20Skill\x20path:\x20','contentHash','push','Refusing\x20to\x20overwrite\x20unmanaged\x20global\x20Skill\x20directory:\x20','accessKey','scope','personal','builtin','created','appCode','map','4058180aGsrly','removed','Refusing\x20to\x20overwrite\x20global\x20Skill\x20symlink:\x20','env','get','pruneSkillCodes','scopes','Only\x20builtin\x20Skills\x20can\x20be\x20linked\x20into\x20the\x20global\x20Skill\x20root:\x20','agentsSkillsDir','length','managedRoot','2444824WQcsvB','2286823EPrOIV','isDirectory','unchanged','Refusing\x20to\x20copy\x20Skill\x20symlink:\x20','startsWith','skill','722640oppnqr','name','skipped','filter','claudeSkillsDir','validation','Refusing\x20to\x20overwrite\x20unmanaged\x20path:\x20','291883Usdwpi','trim','external-symlink','dir','3SlNsOd','isSymbolicLink','has'];a93_0x38ee=function(){return _0x5c3824;};return a93_0x38ee();}import{METADATA_FILE}from'./constants.js';import{isDanglingSymlink,isPathInside,lstatIfPresent,realOrResolved,resolveSymlinkTarget}from'./fs-utils.js';import{readMetadataIfPresent,requireSkillCode}from'./metadata.js';import{getRuntimeSkillCacheRoot,resolveSkillSyncPaths,safePathSegment}from'./paths.js';const {copySync,ensureDirSync,removeSync}=a93_0x451471;export function linkEffectiveRuntimeSkills(_0xe0dcf8,_0x4d1911,_0x1f0641={}){const _0x3183bc=a93_0x2a54,_0x2eee8c=new Map();for(const _0x8289fa of _0xe0dcf8){const _0x104ad5=_0x8289fa['skill'][_0x3183bc(0x95)];if(!_0x104ad5)continue;const _0x4beef1=_0x2eee8c[_0x3183bc(0x75)](_0x104ad5);(!_0x4beef1||_0x8289fa['scope']===_0x3183bc(0x6c))&&_0x2eee8c['set'](_0x104ad5,_0x8289fa);}const _0x2a0f57=[],_0x17d994=resolveSkillSyncPaths(_0x1f0641);for(const _0x5dfd72 of _0x2eee8c['values']()){const _0x2da0c5=requireSkillCode(_0x5dfd72[_0x3183bc(0x82)]),_0x194b50=_0x4d1911+'--'+_0x2da0c5;for(const _0x1edbfd of[_0x17d994[_0x3183bc(0x79)],_0x17d994['claudeSkillsDir']]){_0x2a0f57[_0x3183bc(0x9b)](ensureManagedSymlink(resolve(_0x1edbfd,_0x194b50),_0x5dfd72[_0x3183bc(0x8d)],_0x17d994[_0x3183bc(0x7b)]));}}return _0x2a0f57;}export function pruneStaleRuntimeSkillLinks(_0x4aecb8,_0x2df9b4,_0x1f0070={},_0x29388d){const _0x5b2259=a93_0x2a54,_0x41c2ac=resolveSkillSyncPaths(_0x1f0070),_0x20330e=new Set([..._0x2df9b4][_0x5b2259(0x70)](_0x5e29c2=>_0x5e29c2[_0x5b2259(0x8b)]())['filter'](Boolean)),_0x15644a=_0x29388d?new Set([..._0x29388d][_0x5b2259(0x70)](_0x4075ff=>_0x4075ff[_0x5b2259(0x8b)]())[_0x5b2259(0x86)](Boolean)):undefined,_0x23e0c8=[];for(const _0x2467f8 of[_0x41c2ac[_0x5b2259(0x79)],_0x41c2ac[_0x5b2259(0x87)]]){for(const _0x32d915 of managedAppSkillLinkPaths(_0x2467f8,_0x4aecb8)){const _0x29d93f=basename(_0x32d915)['slice']((_0x4aecb8+'--')[_0x5b2259(0x7a)]);if(_0x15644a&&!_0x15644a['has'](_0x29d93f))continue;if(_0x20330e[_0x5b2259(0x90)](_0x29d93f))continue;_0x23e0c8['push'](removeManagedSkillLink(_0x32d915,_0x41c2ac[_0x5b2259(0x7b)]));}}return _0x23e0c8;}export function pruneStaleRuntimeSkillCache(_0x12386e,_0x30b749={}){const _0x51b199=a93_0x2a54,_0x218e24=new Set([..._0x12386e['activeSkillCodes']]['map'](_0x1f6eaa=>_0x1f6eaa[_0x51b199(0x8b)]())[_0x51b199(0x86)](Boolean)),_0x4f21d7=_0x12386e['pruneSkillCodes']?new Set([..._0x12386e[_0x51b199(0x76)]][_0x51b199(0x70)](_0x14dce5=>_0x14dce5[_0x51b199(0x8b)]())['filter'](Boolean)):undefined,_0x287262=_0x12386e[_0x51b199(0x77)]??[_0x51b199(0x6c),'company'],_0x24356d=resolve(getRuntimeSkillCacheRoot(_0x12386e[_0x51b199(0x74)],_0x12386e[_0x51b199(0x9d)],_0x30b749),safePathSegment(_0x12386e['appCode'],_0x51b199(0x6f))),_0x51dd7f=[];for(const _0x3b44ef of _0x287262){const _0x135941=resolve(_0x24356d,_0x3b44ef);if(!existsSync(_0x135941))continue;for(const _0x4c0b7c of readdirSync(_0x135941,{'withFileTypes':!![]})){if(!_0x4c0b7c[_0x51b199(0x7e)]())continue;const _0x42672e=_0x4c0b7c[_0x51b199(0x84)];if(_0x4f21d7&&!_0x4f21d7[_0x51b199(0x90)](_0x42672e))continue;if(_0x218e24['has'](_0x42672e))continue;const _0x145d70=resolve(_0x135941,_0x42672e),_0x4b17c4=readMetadataIfPresent(resolve(_0x145d70,METADATA_FILE));if(_0x4b17c4?.[_0x51b199(0x6f)]!==_0x12386e[_0x51b199(0x6f)]||_0x4b17c4[_0x51b199(0x9e)]!==_0x3b44ef||_0x4b17c4[_0x51b199(0x95)]!==_0x42672e){_0x51dd7f[_0x51b199(0x9b)]({'path':_0x145d70,'action':'skipped','reason':_0x51b199(0x98)});continue;}removeSync(_0x145d70),_0x51dd7f[_0x51b199(0x9b)]({'path':_0x145d70,'action':_0x51b199(0x72)});}}return _0x51dd7f;}export function linkGlobalRuntimeSkills(_0x27d83c,_0x21b6bf={}){const _0x2e8395=a93_0x2a54,_0xc4a883=resolveSkillSyncPaths(_0x21b6bf),_0x1b861b=[];for(const _0x2f6887 of _0x27d83c){if(_0x2f6887['scope']!==_0x2e8395(0x6d))throw CliErrors['validation'](_0x2e8395(0x78)+_0x2f6887[_0x2e8395(0x9e)]);const _0x5c68b7=requireSkillCode(_0x2f6887[_0x2e8395(0x82)]),_0x321d22=copyManagedSkillDirectory(_0x2f6887['dir'],resolve(_0xc4a883[_0x2e8395(0x79)],_0x5c68b7));_0x1b861b[_0x2e8395(0x9b)]({..._0x321d22,'contentHash':_0x2f6887[_0x2e8395(0x9a)]});}return _0x1b861b;}function ensureManagedSymlink(_0x5bf0b9,_0x17e31a,_0x2568a0){const _0x320cb6=a93_0x2a54;mkdirSync(dirname(_0x5bf0b9),{'recursive':!![],'mode':0x1c0});if(existsSync(_0x5bf0b9)||isDanglingSymlink(_0x5bf0b9)){const _0x1fb414=lstatSync(_0x5bf0b9);if(!_0x1fb414[_0x320cb6(0x8f)]())throw CliErrors['validation'](_0x320cb6(0x89)+_0x5bf0b9);const _0x1a2b27=resolveSymlinkTarget(_0x5bf0b9);if(!isPathInside(realOrResolved(_0x1a2b27),realOrResolved(_0x2568a0)))throw CliErrors[_0x320cb6(0x88)]('Refusing\x20to\x20overwrite\x20unmanaged\x20symlink:\x20'+_0x5bf0b9);if(realOrResolved(_0x1a2b27)===realOrResolved(_0x17e31a))return{'path':_0x5bf0b9,'target':_0x17e31a,'action':'unchanged'};return unlinkSync(_0x5bf0b9),symlinkSync(_0x17e31a,_0x5bf0b9,_0x320cb6(0x8d)),{'path':_0x5bf0b9,'target':_0x17e31a,'action':_0x320cb6(0x94)};}return symlinkSync(_0x17e31a,_0x5bf0b9,_0x320cb6(0x8d)),{'path':_0x5bf0b9,'target':_0x17e31a,'action':_0x320cb6(0x6e)};}function managedAppSkillLinkPaths(_0x3314e1,_0x2b08ab){const _0x15ea5f=a93_0x2a54;if(!existsSync(_0x3314e1))return[];const _0x37ef14=_0x2b08ab+'--';return readdirSync(_0x3314e1,{'withFileTypes':!![]})[_0x15ea5f(0x86)](_0x1f7b11=>_0x1f7b11['name'][_0x15ea5f(0x81)](_0x37ef14))['map'](_0x2ad042=>resolve(_0x3314e1,_0x2ad042[_0x15ea5f(0x84)]));}function removeManagedSkillLink(_0x498166,_0xf9d53b){const _0x48cd9c=a93_0x2a54,_0x8c477e=lstatIfPresent(_0x498166);if(!_0x8c477e?.['isSymbolicLink']())return{'path':_0x498166,'action':_0x48cd9c(0x85),'reason':_0x48cd9c(0x91)};const _0x2c775c=resolveSymlinkTarget(_0x498166);if(!isPathInside(realOrResolved(_0x2c775c),realOrResolved(_0xf9d53b)))return{'path':_0x498166,'action':_0x48cd9c(0x85),'reason':_0x48cd9c(0x8c)};return unlinkSync(_0x498166),{'path':_0x498166,'action':_0x48cd9c(0x72)};}export function copyManagedSkillDirectory(_0x5942bd,_0x143d46){const _0x1899ae=a93_0x2a54,_0x2f86f4=resolve(_0x143d46,METADATA_FILE),_0x4d469c=existsSync(_0x143d46);if(_0x4d469c){const _0x46f6d5=lstatSync(_0x143d46);if(_0x46f6d5['isSymbolicLink']())throw CliErrors['validation'](_0x1899ae(0x73)+_0x143d46);if(!_0x46f6d5[_0x1899ae(0x7e)]())throw CliErrors[_0x1899ae(0x88)](_0x1899ae(0x99)+_0x143d46);const _0x4537fe=readMetadataIfPresent(_0x2f86f4);if(_0x4537fe?.['scope']!==_0x1899ae(0x6d))throw CliErrors['validation'](_0x1899ae(0x9c)+_0x143d46);}ensureDirSync(dirname(_0x143d46));const _0x3e0562=_0x4d469c?readMetadataIfPresent(_0x2f86f4)?.[_0x1899ae(0x9a)]:undefined,_0x57686a=readMetadataIfPresent(resolve(_0x5942bd,METADATA_FILE))?.[_0x1899ae(0x9a)];return _0x4d469c&&removeSync(_0x143d46),copySkillDirectory(_0x5942bd,_0x143d46),{'path':_0x143d46,'target':_0x5942bd,'action':!_0x4d469c?_0x1899ae(0x6e):_0x3e0562===_0x57686a?_0x1899ae(0x7f):_0x1899ae(0x94)};}function copySkillDirectory(_0x185680,_0xb79844){copySync(_0x185680,_0xb79844,{'dereference':![],'overwrite':!![],'filter'(_0xfe7a79){const _0x3db840=a93_0x2a54;if(lstatSync(_0xfe7a79)[_0x3db840(0x8f)]())throw CliErrors['validation'](_0x3db840(0x80)+_0xfe7a79);return!![];}});}
1
+ (function(_0xebd8a8,_0x40c1f3){const _0x11b413=a93_0x5f42,_0x5c4ac2=_0xebd8a8();while(!![]){try{const _0x55e75b=parseInt(_0x11b413(0x144))/0x1*(-parseInt(_0x11b413(0x134))/0x2)+-parseInt(_0x11b413(0x151))/0x3+parseInt(_0x11b413(0x150))/0x4*(parseInt(_0x11b413(0x138))/0x5)+-parseInt(_0x11b413(0x15b))/0x6+parseInt(_0x11b413(0x15c))/0x7+-parseInt(_0x11b413(0x14a))/0x8+parseInt(_0x11b413(0x14d))/0x9;if(_0x55e75b===_0x40c1f3)break;else _0x5c4ac2['push'](_0x5c4ac2['shift']());}catch(_0x175230){_0x5c4ac2['push'](_0x5c4ac2['shift']());}}}(a93_0x2b5c,0xb5784));import{existsSync,lstatSync,mkdirSync,readdirSync,symlinkSync,unlinkSync}from'node:fs';import{basename,dirname,resolve}from'node:path';import a93_0x5f3da9 from'fs-extra';import{CliErrors}from'../../errors.js';import{METADATA_FILE}from'./constants.js';import{isDanglingSymlink,isPathInside,lstatIfPresent,realOrResolved,resolveSymlinkTarget}from'./fs-utils.js';import{readMetadataIfPresent,requireSkillCode}from'./metadata.js';import{getRuntimeSkillCacheRoot,resolveSkillSyncPaths,safePathSegment}from'./paths.js';const {copySync,ensureDirSync,removeSync}=a93_0x5f3da9;function a93_0x5f42(_0x54ec5d,_0xbb4757){_0x54ec5d=_0x54ec5d-0x12f;const _0x2b5ca7=a93_0x2b5c();let _0x5f42a2=_0x2b5ca7[_0x54ec5d];return _0x5f42a2;}export function linkEffectiveRuntimeSkills(_0xa3ba78,_0x40f464,_0x10ec9e={}){const _0x31e314=a93_0x5f42,_0x2ef61b=new Map();for(const _0x5beb06 of _0xa3ba78){const _0x3c87b1=_0x5beb06[_0x31e314(0x156)][_0x31e314(0x13e)];if(!_0x3c87b1)continue;const _0x2b028f=_0x2ef61b['get'](_0x3c87b1);(!_0x2b028f||_0x5beb06[_0x31e314(0x140)]===_0x31e314(0x13a))&&_0x2ef61b[_0x31e314(0x146)](_0x3c87b1,_0x5beb06);}const _0x270d4d=[],_0x1bb601=resolveSkillSyncPaths(_0x10ec9e);for(const _0x1c2913 of _0x2ef61b['values']()){const _0x5a1ea9=requireSkillCode(_0x1c2913[_0x31e314(0x156)]),_0x29e9bc=_0x40f464+'--'+_0x5a1ea9;for(const _0x38236a of[_0x1bb601[_0x31e314(0x145)],_0x1bb601[_0x31e314(0x147)]]){_0x270d4d[_0x31e314(0x14f)](ensureManagedSymlink(resolve(_0x38236a,_0x29e9bc),_0x1c2913[_0x31e314(0x154)],_0x1bb601[_0x31e314(0x15f)]));}}return _0x270d4d;}export function pruneStaleRuntimeSkillLinks(_0x44dbbc,_0x52694b,_0x4880f1={},_0x3a0cd5){const _0x5c7afe=a93_0x5f42,_0x22dee5=resolveSkillSyncPaths(_0x4880f1),_0x200054=new Set([..._0x52694b][_0x5c7afe(0x135)](_0x101d26=>_0x101d26['trim']())[_0x5c7afe(0x143)](Boolean)),_0x50ff0d=_0x3a0cd5?new Set([..._0x3a0cd5][_0x5c7afe(0x135)](_0x412dd0=>_0x412dd0[_0x5c7afe(0x142)]())[_0x5c7afe(0x143)](Boolean)):undefined,_0x3395f8=[];for(const _0x44b297 of[_0x22dee5[_0x5c7afe(0x145)],_0x22dee5['claudeSkillsDir']]){for(const _0x2a585f of managedAppSkillLinkPaths(_0x44b297,_0x44dbbc)){const _0x378a47=basename(_0x2a585f)[_0x5c7afe(0x139)]((_0x44dbbc+'--')['length']);if(_0x50ff0d&&!_0x50ff0d[_0x5c7afe(0x136)](_0x378a47))continue;if(_0x200054['has'](_0x378a47))continue;_0x3395f8['push'](removeManagedSkillLink(_0x2a585f,_0x22dee5[_0x5c7afe(0x15f)]));}}return _0x3395f8;}export function pruneStaleRuntimeSkillCache(_0x3c267b,_0x60fe47={}){const _0x3d370c=a93_0x5f42,_0x42ad4f=new Set([..._0x3c267b[_0x3d370c(0x148)]]['map'](_0x161cc5=>_0x161cc5[_0x3d370c(0x142)]())[_0x3d370c(0x143)](Boolean)),_0x4accae=_0x3c267b[_0x3d370c(0x161)]?new Set([..._0x3c267b[_0x3d370c(0x161)]]['map'](_0x29087c=>_0x29087c[_0x3d370c(0x142)]())['filter'](Boolean)):undefined,_0x4c0079=_0x3c267b[_0x3d370c(0x13f)]??[_0x3d370c(0x13a),_0x3d370c(0x133)],_0x4de131=resolve(getRuntimeSkillCacheRoot(_0x3c267b[_0x3d370c(0x152)],_0x3c267b[_0x3d370c(0x131)],_0x60fe47),safePathSegment(_0x3c267b[_0x3d370c(0x159)],_0x3d370c(0x159))),_0x326748=[];for(const _0x1ca78d of _0x4c0079){const _0x37192c=resolve(_0x4de131,_0x1ca78d);if(!existsSync(_0x37192c))continue;for(const _0x265efd of readdirSync(_0x37192c,{'withFileTypes':!![]})){if(!_0x265efd[_0x3d370c(0x158)]())continue;const _0x331c1e=_0x265efd[_0x3d370c(0x12f)];if(_0x4accae&&!_0x4accae[_0x3d370c(0x136)](_0x331c1e))continue;if(_0x42ad4f['has'](_0x331c1e))continue;const _0x4ed469=resolve(_0x37192c,_0x331c1e),_0x1a994b=readMetadataIfPresent(resolve(_0x4ed469,METADATA_FILE));if(_0x1a994b?.['appCode']!==_0x3c267b[_0x3d370c(0x159)]||_0x1a994b[_0x3d370c(0x140)]!==_0x1ca78d||_0x1a994b[_0x3d370c(0x13e)]!==_0x331c1e){_0x326748['push']({'path':_0x4ed469,'action':'skipped','reason':'metadata-mismatch'});continue;}removeSync(_0x4ed469),_0x326748['push']({'path':_0x4ed469,'action':_0x3d370c(0x15d)});}}return _0x326748;}export function linkGlobalRuntimeSkills(_0xfffe31,_0x12b75e={}){const _0x30d679=a93_0x5f42,_0x142e3a=resolveSkillSyncPaths(_0x12b75e),_0x1e82dc=[];for(const _0x4a98c0 of _0xfffe31){if(_0x4a98c0['scope']!==_0x30d679(0x160))throw CliErrors[_0x30d679(0x157)](_0x30d679(0x130)+_0x4a98c0['scope']);const _0xe93007=requireSkillCode(_0x4a98c0[_0x30d679(0x156)]),_0x558f67=copyManagedSkillDirectory(_0x4a98c0[_0x30d679(0x154)],resolve(_0x142e3a['agentsSkillsDir'],_0xe93007));_0x1e82dc[_0x30d679(0x14f)]({..._0x558f67,'contentHash':_0x4a98c0[_0x30d679(0x15a)]});}return _0x1e82dc;}function ensureManagedSymlink(_0x201ccd,_0x4cab84,_0x41174f){const _0x2c343f=a93_0x5f42;mkdirSync(dirname(_0x201ccd),{'recursive':!![],'mode':0x1c0});if(existsSync(_0x201ccd)||isDanglingSymlink(_0x201ccd)){const _0x49325e=lstatSync(_0x201ccd);if(!_0x49325e[_0x2c343f(0x14b)]())throw CliErrors[_0x2c343f(0x157)](_0x2c343f(0x13b)+_0x201ccd);const _0x41ee54=resolveSymlinkTarget(_0x201ccd);if(!isPathInside(realOrResolved(_0x41ee54),realOrResolved(_0x41174f)))throw CliErrors[_0x2c343f(0x157)](_0x2c343f(0x15e)+_0x201ccd);if(realOrResolved(_0x41ee54)===realOrResolved(_0x4cab84))return{'path':_0x201ccd,'target':_0x4cab84,'action':_0x2c343f(0x14c)};return unlinkSync(_0x201ccd),symlinkSync(_0x4cab84,_0x201ccd,'dir'),{'path':_0x201ccd,'target':_0x4cab84,'action':_0x2c343f(0x14e)};}return symlinkSync(_0x4cab84,_0x201ccd,'dir'),{'path':_0x201ccd,'target':_0x4cab84,'action':_0x2c343f(0x155)};}function managedAppSkillLinkPaths(_0x3690ef,_0x135a7c){const _0x47e41a=a93_0x5f42;if(!existsSync(_0x3690ef))return[];const _0x20ecc0=_0x135a7c+'--';return readdirSync(_0x3690ef,{'withFileTypes':!![]})[_0x47e41a(0x143)](_0x2356eb=>_0x2356eb[_0x47e41a(0x12f)][_0x47e41a(0x149)](_0x20ecc0))[_0x47e41a(0x135)](_0x23ef35=>resolve(_0x3690ef,_0x23ef35['name']));}function a93_0x2b5c(){const _0x3f41f5=['builtin','pruneSkillCodes','name','Only\x20builtin\x20Skills\x20can\x20be\x20linked\x20into\x20the\x20global\x20Skill\x20root:\x20','accessKey','Refusing\x20to\x20copy\x20Skill\x20symlink:\x20','company','610nuAUuS','map','has','Refusing\x20to\x20overwrite\x20global\x20Skill\x20path:\x20','5zYpEZZ','slice','personal','Refusing\x20to\x20overwrite\x20unmanaged\x20path:\x20','Refusing\x20to\x20overwrite\x20global\x20Skill\x20symlink:\x20','Refusing\x20to\x20overwrite\x20unmanaged\x20global\x20Skill\x20directory:\x20','skillCode','scopes','scope','external-symlink','trim','filter','2878plNgkP','agentsSkillsDir','set','claudeSkillsDir','activeSkillCodes','startsWith','3930856MOdBMJ','isSymbolicLink','unchanged','12074823KVOaZx','updated','push','3890324UhSQeN','1319109LODdLh','env','skipped','dir','created','skill','validation','isDirectory','appCode','contentHash','7073934cAaFZy','9918377aLEisp','removed','Refusing\x20to\x20overwrite\x20unmanaged\x20symlink:\x20','managedRoot'];a93_0x2b5c=function(){return _0x3f41f5;};return a93_0x2b5c();}function removeManagedSkillLink(_0x529818,_0x50f3a2){const _0x24aafa=a93_0x5f42,_0x2fc8df=lstatIfPresent(_0x529818);if(!_0x2fc8df?.[_0x24aafa(0x14b)]())return{'path':_0x529818,'action':_0x24aafa(0x153),'reason':'not-managed-symlink'};const _0x4b9e6c=resolveSymlinkTarget(_0x529818);if(!isPathInside(realOrResolved(_0x4b9e6c),realOrResolved(_0x50f3a2)))return{'path':_0x529818,'action':_0x24aafa(0x153),'reason':_0x24aafa(0x141)};return unlinkSync(_0x529818),{'path':_0x529818,'action':_0x24aafa(0x15d)};}export function copyManagedSkillDirectory(_0x365b8d,_0x1611ae){const _0x1dbb85=a93_0x5f42,_0x2e137a=resolve(_0x1611ae,METADATA_FILE),_0x2b69b5=existsSync(_0x1611ae);if(_0x2b69b5){const _0x53878a=lstatSync(_0x1611ae);if(_0x53878a[_0x1dbb85(0x14b)]())throw CliErrors[_0x1dbb85(0x157)](_0x1dbb85(0x13c)+_0x1611ae);if(!_0x53878a[_0x1dbb85(0x158)]())throw CliErrors[_0x1dbb85(0x157)](_0x1dbb85(0x137)+_0x1611ae);const _0x4ee0ac=readMetadataIfPresent(_0x2e137a);if(_0x4ee0ac?.[_0x1dbb85(0x140)]!=='builtin')throw CliErrors[_0x1dbb85(0x157)](_0x1dbb85(0x13d)+_0x1611ae);}ensureDirSync(dirname(_0x1611ae));const _0x2960e0=_0x2b69b5?readMetadataIfPresent(_0x2e137a)?.[_0x1dbb85(0x15a)]:undefined,_0x263716=readMetadataIfPresent(resolve(_0x365b8d,METADATA_FILE))?.[_0x1dbb85(0x15a)];return _0x2b69b5&&removeSync(_0x1611ae),copySkillDirectory(_0x365b8d,_0x1611ae),{'path':_0x1611ae,'target':_0x365b8d,'action':!_0x2b69b5?_0x1dbb85(0x155):_0x2960e0===_0x263716?'unchanged':'updated'};}function copySkillDirectory(_0x520121,_0x12d6ea){copySync(_0x520121,_0x12d6ea,{'dereference':![],'overwrite':!![],'filter'(_0x3b38db){const _0x2efed5=a93_0x5f42;if(lstatSync(_0x3b38db)[_0x2efed5(0x14b)]())throw CliErrors[_0x2efed5(0x157)](_0x2efed5(0x132)+_0x3b38db);return!![];}});}
@@ -1 +1 @@
1
- function a94_0x3870(_0x50332e,_0x4552f8){_0x50332e=_0x50332e-0x6c;const _0x468a94=a94_0x468a();let _0x387070=_0x468a94[_0x50332e];return _0x387070;}(function(_0x4325e5,_0x29d482){const _0x3fc92e=a94_0x3870,_0x21342d=_0x4325e5();while(!![]){try{const _0x7b5c0f=parseInt(_0x3fc92e(0x7c))/0x1+-parseInt(_0x3fc92e(0x75))/0x2+-parseInt(_0x3fc92e(0x8f))/0x3+parseInt(_0x3fc92e(0x78))/0x4+parseInt(_0x3fc92e(0x6e))/0x5+parseInt(_0x3fc92e(0x77))/0x6*(parseInt(_0x3fc92e(0x86))/0x7)+-parseInt(_0x3fc92e(0x7a))/0x8*(parseInt(_0x3fc92e(0x7f))/0x9);if(_0x7b5c0f===_0x29d482)break;else _0x21342d['push'](_0x21342d['shift']());}catch(_0x5e76d5){_0x21342d['push'](_0x21342d['shift']());}}}(a94_0x468a,0xb0e65));import{existsSync,readdirSync}from'node:fs';import{resolve}from'node:path';import{METADATA_FILE,SKILL_FILE}from'./constants.js';import{readMetadataIfPresent}from'./metadata.js';import{getRuntimeSkillCacheRoot,resolveSkillSyncPaths,safePathSegment}from'./paths.js';import{isRuntimeSkillScope,normalizeRuntimeSkillScopes}from'./scopes.js';export function listLocalRuntimeSkills(_0x52fbbc,_0x443f2e={}){const _0x37ab92=a94_0x3870,_0x46f8af=safePathSegment(_0x52fbbc[_0x37ab92(0x91)],_0x37ab92(0x91)),_0x138379=normalizeRuntimeSkillScopes(_0x52fbbc['scopes']),_0x2b7b41=new Set(_0x138379),_0xb9fc73=_0x52fbbc['code']?.[_0x37ab92(0x90)](),_0x5b196a=new Map(),_0x19da5b=resolve(getRuntimeSkillCacheRoot(_0x52fbbc['env'],_0x52fbbc['accessKey'],_0x443f2e),_0x46f8af);for(const _0x4f0fe3 of _0x138379){for(const _0x443d5d of localSkillEntryDirs(resolve(_0x19da5b,_0x4f0fe3))){collectLocalRuntimeSkill(_0x5b196a,_0x443d5d,{'appCode':_0x46f8af,'scopes':_0x2b7b41,'code':_0xb9fc73,'source':'cache'});}}const _0x50fa56=resolveSkillSyncPaths(_0x443f2e);for(const _0x5d1e45 of[_0x50fa56[_0x37ab92(0x7d)],_0x50fa56[_0x37ab92(0x85)]]){for(const _0x28f6ec of localSkillLinkCandidates(_0x5d1e45,_0x46f8af,_0x2b7b41)){collectLocalRuntimeSkill(_0x5b196a,_0x28f6ec,{'appCode':_0x46f8af,'scopes':_0x2b7b41,'code':_0xb9fc73,'source':_0x37ab92(0x8a),'linkedPath':_0x28f6ec});}}return Array[_0x37ab92(0x93)](_0x5b196a[_0x37ab92(0x6d)]())[_0x37ab92(0x89)](compareLocalRuntimeSkills);}function localSkillEntryDirs(_0x18b210){const _0xc00640=a94_0x3870;if(!existsSync(_0x18b210))return[];return readdirSync(_0x18b210,{'withFileTypes':!![]})[_0xc00640(0x92)](_0x5c4761=>_0x5c4761[_0xc00640(0x7e)]()||_0x5c4761[_0xc00640(0x88)]())['map'](_0x70f73f=>resolve(_0x18b210,_0x70f73f[_0xc00640(0x6f)]));}function localSkillLinkCandidates(_0x4f8372,_0x2c01b3,_0x332f54){const _0x3f4df8=a94_0x3870;if(!existsSync(_0x4f8372))return[];const _0x2a4968=_0x2c01b3+'--';return readdirSync(_0x4f8372,{'withFileTypes':!![]})[_0x3f4df8(0x92)](_0xba20b3=>_0xba20b3[_0x3f4df8(0x7e)]()||_0xba20b3[_0x3f4df8(0x88)]())[_0x3f4df8(0x92)](_0x18a42b=>_0x18a42b[_0x3f4df8(0x6f)][_0x3f4df8(0x8e)](_0x2a4968)||_0x332f54[_0x3f4df8(0x7b)](_0x3f4df8(0x71)))[_0x3f4df8(0x72)](_0x5471e3=>resolve(_0x4f8372,_0x5471e3[_0x3f4df8(0x6f)]));}function a94_0x468a(){const _0x2c4564=['local','linkedPath','get','localeCompare','claudeSkillsDir','154Vsvwwq','linkedPaths','isSymbolicLink','sort','link','scopes','includes','set','startsWith','1435602nMVTdv','trim','appCode','filter','from','scope','push','values','3103670WjFGMp','name','cache','builtin','map','isArray','source','2749178RodvXh','skillCode','331374nKMOqT','4671328pnUTai','dir','4429952AQvUAo','has','127844iPsnwE','agentsSkillsDir','isDirectory','9GfNlQN','code'];a94_0x468a=function(){return _0x2c4564;};return a94_0x468a();}function collectLocalRuntimeSkill(_0xca16f8,_0x4316c9,_0x227471){const _0x422d8f=a94_0x3870,_0x2ebf4b=resolve(_0x4316c9,METADATA_FILE),_0x596a5a=readMetadataIfPresent(_0x2ebf4b);if(!_0x596a5a)return;if(_0x596a5a[_0x422d8f(0x91)]!==_0x227471['appCode'])return;if(!isRuntimeSkillScope(_0x596a5a['scope'])||!_0x227471[_0x422d8f(0x8b)][_0x422d8f(0x7b)](_0x596a5a[_0x422d8f(0x94)]))return;const _0x195a63=_0x596a5a['skillCode']?.[_0x422d8f(0x90)]();if(!_0x195a63)return;if(_0x227471[_0x422d8f(0x80)]&&_0x195a63!==_0x227471['code'])return;const _0x42224f=_0x596a5a[_0x422d8f(0x94)]+':'+_0x195a63,_0xf03d6d=_0x227471[_0x422d8f(0x82)]?[_0x227471['linkedPath']]:[],_0x41b1aa=_0xca16f8[_0x422d8f(0x83)](_0x42224f);if(_0x41b1aa){_0x227471[_0x422d8f(0x74)]===_0x422d8f(0x70)&&(_0x41b1aa[_0x422d8f(0x79)]=_0x4316c9,_0x41b1aa['cacheDir']=_0x4316c9,_0x41b1aa['skillMdPath']=resolve(_0x4316c9,SKILL_FILE),_0x41b1aa['metadataPath']=_0x2ebf4b);for(const _0x16f2f8 of _0xf03d6d){!_0x41b1aa['linkedPaths'][_0x422d8f(0x8c)](_0x16f2f8)&&_0x41b1aa['linkedPaths'][_0x422d8f(0x6c)](_0x16f2f8);}_0x41b1aa[_0x422d8f(0x87)][_0x422d8f(0x89)]();return;}_0xca16f8[_0x422d8f(0x8d)](_0x42224f,{..._0x596a5a,'tags':Array[_0x422d8f(0x73)](_0x596a5a['tags'])?_0x596a5a['tags']:[],'scope':_0x596a5a[_0x422d8f(0x94)],'source':_0x422d8f(0x81),'dir':_0x4316c9,'cacheDir':_0x227471[_0x422d8f(0x74)]===_0x422d8f(0x70)?_0x4316c9:undefined,'skillMdPath':resolve(_0x4316c9,SKILL_FILE),'metadataPath':_0x2ebf4b,'linkedPaths':_0xf03d6d});}function compareLocalRuntimeSkills(_0x1b1f2c,_0x59ba1c){const _0x57c6da=a94_0x3870,_0x996529={'personal':0x0,'company':0x1,'builtin':0x2};return _0x996529[_0x1b1f2c[_0x57c6da(0x94)]]-_0x996529[_0x59ba1c['scope']]||_0x1b1f2c[_0x57c6da(0x76)][_0x57c6da(0x84)](_0x59ba1c[_0x57c6da(0x76)])||_0x1b1f2c[_0x57c6da(0x79)][_0x57c6da(0x84)](_0x59ba1c[_0x57c6da(0x79)]);}
1
+ (function(_0x51dda0,_0xd9fde2){const _0x6ba0e5=a94_0x4a15,_0x2a71a3=_0x51dda0();while(!![]){try{const _0x51a7ae=parseInt(_0x6ba0e5(0x18c))/0x1*(parseInt(_0x6ba0e5(0x193))/0x2)+-parseInt(_0x6ba0e5(0x18d))/0x3+-parseInt(_0x6ba0e5(0x1a3))/0x4+-parseInt(_0x6ba0e5(0x194))/0x5*(parseInt(_0x6ba0e5(0x18f))/0x6)+-parseInt(_0x6ba0e5(0x1a2))/0x7*(-parseInt(_0x6ba0e5(0x19b))/0x8)+-parseInt(_0x6ba0e5(0x192))/0x9+-parseInt(_0x6ba0e5(0x197))/0xa*(-parseInt(_0x6ba0e5(0x18a))/0xb);if(_0x51a7ae===_0xd9fde2)break;else _0x2a71a3['push'](_0x2a71a3['shift']());}catch(_0xb77cdb){_0x2a71a3['push'](_0x2a71a3['shift']());}}}(a94_0x232f,0x3f262));function a94_0x4a15(_0x3a695f,_0x498ddb){_0x3a695f=_0x3a695f-0x189;const _0x232fae=a94_0x232f();let _0x4a1521=_0x232fae[_0x3a695f];return _0x4a1521;}import{existsSync,readdirSync}from'node:fs';import{resolve}from'node:path';function a94_0x232f(){const _0x256922=['364420MZQTCu','linkedPaths','cache','trim','get','tags','accessKey','dir','isDirectory','isSymbolicLink','name','values','startsWith','claudeSkillsDir','code','filter','local','env','push','set','map','11HtumSl','appCode','262vQrOLt','334923rDWGXg','cacheDir','30npcNhL','scopes','skillCode','3472290ypbQuA','758AgRmpj','298545hATJzZ','scope','metadataPath','7098610Ykrexz','link','agentsSkillsDir','builtin','144HbUmVf','source','has','sort','localeCompare','linkedPath','isArray','130900cNRvex'];a94_0x232f=function(){return _0x256922;};return a94_0x232f();}import{METADATA_FILE,SKILL_FILE}from'./constants.js';import{readMetadataIfPresent}from'./metadata.js';import{getRuntimeSkillCacheRoot,resolveSkillSyncPaths,safePathSegment}from'./paths.js';import{isRuntimeSkillScope,normalizeRuntimeSkillScopes}from'./scopes.js';export function listLocalRuntimeSkills(_0x1efa65,_0x1f0dfd={}){const _0x3c9c7d=a94_0x4a15,_0x2d0297=safePathSegment(_0x1efa65[_0x3c9c7d(0x18b)],_0x3c9c7d(0x18b)),_0x338b45=normalizeRuntimeSkillScopes(_0x1efa65[_0x3c9c7d(0x190)]),_0x5360c4=new Set(_0x338b45),_0x4211f9=_0x1efa65['code']?.[_0x3c9c7d(0x1a6)](),_0x26554f=new Map(),_0x3349cc=resolve(getRuntimeSkillCacheRoot(_0x1efa65[_0x3c9c7d(0x1b4)],_0x1efa65[_0x3c9c7d(0x1a9)],_0x1f0dfd),_0x2d0297);for(const _0x3bbc03 of _0x338b45){for(const _0x280102 of localSkillEntryDirs(resolve(_0x3349cc,_0x3bbc03))){collectLocalRuntimeSkill(_0x26554f,_0x280102,{'appCode':_0x2d0297,'scopes':_0x5360c4,'code':_0x4211f9,'source':'cache'});}}const _0x53e9fc=resolveSkillSyncPaths(_0x1f0dfd);for(const _0x3ceeb9 of[_0x53e9fc[_0x3c9c7d(0x199)],_0x53e9fc[_0x3c9c7d(0x1b0)]]){for(const _0x541e00 of localSkillLinkCandidates(_0x3ceeb9,_0x2d0297,_0x5360c4)){collectLocalRuntimeSkill(_0x26554f,_0x541e00,{'appCode':_0x2d0297,'scopes':_0x5360c4,'code':_0x4211f9,'source':_0x3c9c7d(0x198),'linkedPath':_0x541e00});}}return Array['from'](_0x26554f[_0x3c9c7d(0x1ae)]())[_0x3c9c7d(0x19e)](compareLocalRuntimeSkills);}function localSkillEntryDirs(_0x551904){const _0x3bb1c8=a94_0x4a15;if(!existsSync(_0x551904))return[];return readdirSync(_0x551904,{'withFileTypes':!![]})[_0x3bb1c8(0x1b2)](_0x5e7891=>_0x5e7891[_0x3bb1c8(0x1ab)]()||_0x5e7891[_0x3bb1c8(0x1ac)]())['map'](_0x4d02d2=>resolve(_0x551904,_0x4d02d2[_0x3bb1c8(0x1ad)]));}function localSkillLinkCandidates(_0x14454b,_0xe18aca,_0x288220){const _0x1bcb1e=a94_0x4a15;if(!existsSync(_0x14454b))return[];const _0x4feca0=_0xe18aca+'--';return readdirSync(_0x14454b,{'withFileTypes':!![]})[_0x1bcb1e(0x1b2)](_0x1ca3eb=>_0x1ca3eb[_0x1bcb1e(0x1ab)]()||_0x1ca3eb[_0x1bcb1e(0x1ac)]())['filter'](_0x26dc27=>_0x26dc27[_0x1bcb1e(0x1ad)][_0x1bcb1e(0x1af)](_0x4feca0)||_0x288220[_0x1bcb1e(0x19d)](_0x1bcb1e(0x19a)))[_0x1bcb1e(0x189)](_0xeb5bf2=>resolve(_0x14454b,_0xeb5bf2[_0x1bcb1e(0x1ad)]));}function collectLocalRuntimeSkill(_0x85b395,_0xf92cff,_0x2dbc8e){const _0x32c580=a94_0x4a15,_0x33a9bd=resolve(_0xf92cff,METADATA_FILE),_0x384566=readMetadataIfPresent(_0x33a9bd);if(!_0x384566)return;if(_0x384566[_0x32c580(0x18b)]!==_0x2dbc8e[_0x32c580(0x18b)])return;if(!isRuntimeSkillScope(_0x384566['scope'])||!_0x2dbc8e[_0x32c580(0x190)]['has'](_0x384566[_0x32c580(0x195)]))return;const _0x55f7a4=_0x384566[_0x32c580(0x191)]?.[_0x32c580(0x1a6)]();if(!_0x55f7a4)return;if(_0x2dbc8e[_0x32c580(0x1b1)]&&_0x55f7a4!==_0x2dbc8e['code'])return;const _0x4bea78=_0x384566[_0x32c580(0x195)]+':'+_0x55f7a4,_0x1e5cce=_0x2dbc8e[_0x32c580(0x1a0)]?[_0x2dbc8e['linkedPath']]:[],_0x458df8=_0x85b395[_0x32c580(0x1a7)](_0x4bea78);if(_0x458df8){_0x2dbc8e[_0x32c580(0x19c)]===_0x32c580(0x1a5)&&(_0x458df8[_0x32c580(0x1aa)]=_0xf92cff,_0x458df8[_0x32c580(0x18e)]=_0xf92cff,_0x458df8['skillMdPath']=resolve(_0xf92cff,SKILL_FILE),_0x458df8[_0x32c580(0x196)]=_0x33a9bd);for(const _0x2b868a of _0x1e5cce){!_0x458df8['linkedPaths']['includes'](_0x2b868a)&&_0x458df8[_0x32c580(0x1a4)][_0x32c580(0x1b5)](_0x2b868a);}_0x458df8[_0x32c580(0x1a4)]['sort']();return;}_0x85b395[_0x32c580(0x1b6)](_0x4bea78,{..._0x384566,'tags':Array[_0x32c580(0x1a1)](_0x384566['tags'])?_0x384566[_0x32c580(0x1a8)]:[],'scope':_0x384566[_0x32c580(0x195)],'source':_0x32c580(0x1b3),'dir':_0xf92cff,'cacheDir':_0x2dbc8e[_0x32c580(0x19c)]===_0x32c580(0x1a5)?_0xf92cff:undefined,'skillMdPath':resolve(_0xf92cff,SKILL_FILE),'metadataPath':_0x33a9bd,'linkedPaths':_0x1e5cce});}function compareLocalRuntimeSkills(_0x2fddff,_0xed66dc){const _0x112974=a94_0x4a15,_0x5af0ba={'personal':0x0,'company':0x1,'builtin':0x2};return _0x5af0ba[_0x2fddff['scope']]-_0x5af0ba[_0xed66dc[_0x112974(0x195)]]||_0x2fddff[_0x112974(0x191)][_0x112974(0x19f)](_0xed66dc[_0x112974(0x191)])||_0x2fddff[_0x112974(0x1aa)][_0x112974(0x19f)](_0xed66dc[_0x112974(0x1aa)]);}