@lovrabet/lovrabet-cli 2.1.18-beta.2 → 2.1.18

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 (127) 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/artifact/index.js +1 -1
  12. package/lib/commands/auth/device.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/common/local-file.js +1 -1
  23. package/lib/commands/config/definitions.js +1 -1
  24. package/lib/commands/config/shared.js +1 -1
  25. package/lib/commands/data/index.js +1 -1
  26. package/lib/commands/dataset/detail.js +1 -1
  27. package/lib/commands/dataset/index.js +1 -1
  28. package/lib/commands/dataset/list.js +1 -1
  29. package/lib/commands/dataset/sdk-doc.js +1 -1
  30. package/lib/commands/doctor.js +1 -1
  31. package/lib/commands/file/index.js +1 -1
  32. package/lib/commands/init.js +1 -1
  33. package/lib/commands/kb/index.js +1 -1
  34. package/lib/commands/logs/index.js +1 -1
  35. package/lib/commands/ocr/index.js +1 -1
  36. package/lib/commands/personal-bff/index.js +1 -1
  37. package/lib/commands/registry.js +1 -1
  38. package/lib/commands/schedule/index.js +1 -1
  39. package/lib/commands/schema.js +1 -1
  40. package/lib/commands/service/dynamic.js +1 -1
  41. package/lib/commands/service/function-name-adapter.js +1 -1
  42. package/lib/commands/service/index.js +1 -1
  43. package/lib/commands/service/registry.js +1 -1
  44. package/lib/commands/skill/commands/create.js +1 -1
  45. package/lib/commands/skill/commands/install.js +1 -1
  46. package/lib/commands/skill/commands/list.js +1 -1
  47. package/lib/commands/skill/commands/push.js +1 -1
  48. package/lib/commands/skill/commands/validate.js +1 -1
  49. package/lib/commands/skill/flags.js +1 -1
  50. package/lib/commands/skill/index.js +1 -1
  51. package/lib/commands/skill/manifest-helpers.js +1 -1
  52. package/lib/commands/skill/push-execute.js +1 -1
  53. package/lib/commands/skill/push-flow-helpers.js +1 -1
  54. package/lib/commands/skill/push-retarget.js +1 -1
  55. package/lib/commands/skill/scopes.js +1 -1
  56. package/lib/commands/skill/summary.js +1 -1
  57. package/lib/commands/skill/templates.js +1 -1
  58. package/lib/commands/skill/validate.js +1 -1
  59. package/lib/commands/sql/detail.js +1 -1
  60. package/lib/commands/sql/exec.js +1 -1
  61. package/lib/commands/sql/index.js +1 -1
  62. package/lib/commands/update.js +1 -1
  63. package/lib/commands/workspace/index.js +1 -1
  64. package/lib/config/schema.js +1 -1
  65. package/lib/constant/app.js +1 -1
  66. package/lib/constant/auth-mode.js +1 -1
  67. package/lib/constant/cli.js +1 -1
  68. package/lib/constant/defaults.js +1 -1
  69. package/lib/constant/distribution.js +1 -1
  70. package/lib/constant/domain.js +1 -1
  71. package/lib/constant/env.js +1 -1
  72. package/lib/constant/output.js +1 -1
  73. package/lib/constant/product.js +1 -1
  74. package/lib/constant/risk.js +1 -1
  75. package/lib/constant/url.js +1 -1
  76. package/lib/context.js +1 -1
  77. package/lib/core/api-client.js +1 -1
  78. package/lib/core/db-resolver.js +1 -1
  79. package/lib/core/sdk-client.js +1 -1
  80. package/lib/errors.js +1 -1
  81. package/lib/framework/build-all-flags.js +1 -1
  82. package/lib/framework/dryrun.js +1 -1
  83. package/lib/framework/flags.js +1 -1
  84. package/lib/framework/help.js +1 -1
  85. package/lib/framework/index.js +1 -1
  86. package/lib/framework/output.js +1 -1
  87. package/lib/framework/preparse.js +1 -1
  88. package/lib/framework/rate-limit.js +1 -1
  89. package/lib/framework/response.js +1 -1
  90. package/lib/framework/runner-confirmation.js +1 -1
  91. package/lib/framework/runner-error.js +1 -1
  92. package/lib/framework/runner.js +1 -1
  93. package/lib/framework/schema-export.js +1 -1
  94. package/lib/framework/service-order.js +1 -1
  95. package/lib/framework/types.js +1 -1
  96. package/lib/generated/build-info.d.ts +4 -4
  97. package/lib/generated/build-info.js +1 -1
  98. package/lib/help.js +1 -1
  99. package/lib/runtime/event.js +1 -1
  100. package/lib/runtime/index.js +1 -1
  101. package/lib/runtime/queue.js +1 -1
  102. package/lib/runtime/resolve.js +1 -1
  103. package/lib/skills/npx-skills-add.js +1 -1
  104. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  105. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  106. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  107. package/lib/skills/runtime-skill-sync/links.js +1 -1
  108. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  109. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  110. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  111. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  112. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  113. package/lib/skills/runtime-skill-sync/push.js +1 -1
  114. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  115. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  116. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  117. package/lib/skills/runtime-skill-sync.js +1 -1
  118. package/lib/utils/apply-jq-filter.js +1 -1
  119. package/lib/utils/logger.js +1 -1
  120. package/lib/utils/lossless-json.d.ts +7 -14
  121. package/lib/utils/lossless-json.js +1 -1
  122. package/lib/utils/params.js +1 -1
  123. package/lib/utils/platform.js +1 -1
  124. package/lib/utils/update-notice.js +1 -1
  125. package/lib/utils/version.js +1 -1
  126. package/lib/utils/write-cli-side-channel.js +1 -1
  127. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x38e7bb,_0x16686c){const _0xcd00b2=a83_0x1d01,_0x4e4d1e=_0x38e7bb();while(!![]){try{const _0x3c3cbf=-parseInt(_0xcd00b2(0x1ce))/0x1*(-parseInt(_0xcd00b2(0x1d1))/0x2)+-parseInt(_0xcd00b2(0x1cc))/0x3*(parseInt(_0xcd00b2(0x1c9))/0x4)+parseInt(_0xcd00b2(0x1d5))/0x5+-parseInt(_0xcd00b2(0x1c8))/0x6*(-parseInt(_0xcd00b2(0x1d9))/0x7)+-parseInt(_0xcd00b2(0x1ca))/0x8*(parseInt(_0xcd00b2(0x1d3))/0x9)+-parseInt(_0xcd00b2(0x1d7))/0xa*(-parseInt(_0xcd00b2(0x1cf))/0xb)+-parseInt(_0xcd00b2(0x1d4))/0xc;if(_0x3c3cbf===_0x16686c)break;else _0x4e4d1e['push'](_0x4e4d1e['shift']());}catch(_0x1d7e85){_0x4e4d1e['push'](_0x4e4d1e['shift']());}}}(a83_0xb786,0x58e76));import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a83_0x1d01(_0xe4f412,_0x3d78e7){_0xe4f412=_0xe4f412-0x1c7;const _0xb7860e=a83_0xb786();let _0x1d01fb=_0xb7860e[_0xe4f412];return _0x1d01fb;}import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{getDynamicServiceDefinitions,getDynamicServiceEntry,listDynamicServiceEntries}from'../commands/service/dynamic.js';function a83_0xb786(){const _0x40f750=['816342vzUcuE','4wkUxdW','4244104cZgVPF','generateFullHelp','727029XtuWWS','filter','485lcbhCL','22hUISyY','get','2472TKPOQP','Requires\x20appcode\x20(set\x20via\x20','9YzPrDh','16890924sMoVJm','3431240lLYijJ','service','2892950Difczy','newConfigFileName','35nnQHEZ','has'];a83_0xb786=function(){return _0x40f750;};return a83_0xb786();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0x2c52c0=a83_0x1d01;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x2c52c0(0x1d2)+PRODUCT_CONFIG[_0x2c52c0(0x1d8)]+'\x20or\x20--appcode).'});}export function generateCommandHelp(_0x539c02){return createGenerators()['generateCommandHelp'](_0x539c02);}export function generateServiceHelp(_0x3b1f95){return createGenerators()['generateServiceHelp'](_0x3b1f95);}export function generateFullHelp(){const _0x21c549=a83_0x1d01;return createGenerators()[_0x21c549(0x1cb)]();}function getAnyServiceEntry(_0x45dce9){const _0xc0c6e0=getServiceEntry(_0x45dce9);if(_0xc0c6e0)return _0xc0c6e0;try{return getDynamicServiceEntry(_0x45dce9);}catch{return undefined;}}function getAnyServiceDefinitions(_0x3eb4eb){const _0x53cc26=a83_0x1d01,_0x471cfe=serviceGroups[_0x53cc26(0x1d0)](_0x3eb4eb);if(_0x471cfe)return _0x471cfe;try{return getDynamicServiceDefinitions(_0x3eb4eb);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x4221fb=a83_0x1d01,_0x939dc0=new Set(serviceRegistry['map'](_0x50784e=>_0x50784e[_0x4221fb(0x1d6)]));try{return listDynamicServiceEntries()[_0x4221fb(0x1cd)](_0xac308d=>!_0x939dc0[_0x4221fb(0x1c7)](_0xac308d[_0x4221fb(0x1d6)]));}catch{return[];}}
1
+ function a83_0x43b9(_0x55bc7f,_0x54d188){_0x55bc7f=_0x55bc7f-0x186;const _0x5a11a1=a83_0x5a11();let _0x43b9b1=_0x5a11a1[_0x55bc7f];return _0x43b9b1;}(function(_0x17a7d2,_0x1d2119){const _0x473fd9=a83_0x43b9,_0x5ea50e=_0x17a7d2();while(!![]){try{const _0x5078ea=-parseInt(_0x473fd9(0x18a))/0x1+-parseInt(_0x473fd9(0x187))/0x2+parseInt(_0x473fd9(0x194))/0x3+-parseInt(_0x473fd9(0x195))/0x4*(-parseInt(_0x473fd9(0x18f))/0x5)+-parseInt(_0x473fd9(0x18c))/0x6*(parseInt(_0x473fd9(0x188))/0x7)+parseInt(_0x473fd9(0x18b))/0x8+parseInt(_0x473fd9(0x192))/0x9;if(_0x5078ea===_0x1d2119)break;else _0x5ea50e['push'](_0x5ea50e['shift']());}catch(_0x2e0465){_0x5ea50e['push'](_0x5ea50e['shift']());}}}(a83_0x5a11,0x774bd));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';function a83_0x5a11(){const _0x4f0090=['1521195nXzVOR','3147252YKhDlj','get','has','generateCommandHelp','1856984XTQNiZ','6244VboTRL','generateServiceHelp','554868qmAEhh','2124176NncxDe','6006RurkXX','map','service','5kKsbrm','filter','Requires\x20appcode\x20(set\x20via\x20','11749401CHxIkH','newConfigFileName'];a83_0x5a11=function(){return _0x4f0090;};return a83_0x5a11();}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 _0x56dd34=a83_0x43b9;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x56dd34(0x191)+PRODUCT_CONFIG[_0x56dd34(0x193)]+'\x20or\x20--appcode).'});}export function generateCommandHelp(_0x1a5f9d){const _0xad45e9=a83_0x43b9;return createGenerators()[_0xad45e9(0x186)](_0x1a5f9d);}export function generateServiceHelp(_0x301304){const _0x377bfc=a83_0x43b9;return createGenerators()[_0x377bfc(0x189)](_0x301304);}export function generateFullHelp(){return createGenerators()['generateFullHelp']();}function getAnyServiceEntry(_0x28c766){const _0x1bdb58=getServiceEntry(_0x28c766);if(_0x1bdb58)return _0x1bdb58;try{return getDynamicServiceEntry(_0x28c766);}catch{return undefined;}}function getAnyServiceDefinitions(_0x175a9a){const _0x22ea89=a83_0x43b9,_0x40b26b=serviceGroups[_0x22ea89(0x196)](_0x175a9a);if(_0x40b26b)return _0x40b26b;try{return getDynamicServiceDefinitions(_0x175a9a);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x3cabfd=a83_0x43b9,_0x38848a=new Set(serviceRegistry[_0x3cabfd(0x18d)](_0x429f6b=>_0x429f6b['service']));try{return listDynamicServiceEntries()[_0x3cabfd(0x190)](_0x1f6b53=>!_0x38848a[_0x3cabfd(0x197)](_0x1f6b53[_0x3cabfd(0x18e)]));}catch{return[];}}
@@ -1 +1 @@
1
- function a84_0xeda2(){var _0x1762d4=['22176204EjSTJe','1WeNhCS','11JbPSwb','4060815PpBNnX','413970tgxnZD','1293800NlHQsZ','3234016PLsZgR','263815mqDHvt','97839obGtJT','100sliXyG','324ScqlQo','126ucpFTc'];a84_0xeda2=function(){return _0x1762d4;};return a84_0xeda2();}(function(_0x33143c,_0x403a72){var _0x5a75d0=a84_0xf73e,_0x529edd=_0x33143c();while(!![]){try{var _0x1673a2=parseInt(_0x5a75d0(0xee))/0x1*(-parseInt(_0x5a75d0(0xe7))/0x2)+parseInt(_0x5a75d0(0xe4))/0x3+parseInt(_0x5a75d0(0xea))/0x4*(parseInt(_0x5a75d0(0xe8))/0x5)+-parseInt(_0x5a75d0(0xec))/0x6*(-parseInt(_0x5a75d0(0xe9))/0x7)+-parseInt(_0x5a75d0(0xe6))/0x8+-parseInt(_0x5a75d0(0xeb))/0x9*(-parseInt(_0x5a75d0(0xe5))/0xa)+-parseInt(_0x5a75d0(0xe3))/0xb*(parseInt(_0x5a75d0(0xed))/0xc);if(_0x1673a2===_0x403a72)break;else _0x529edd['push'](_0x529edd['shift']());}catch(_0x240e64){_0x529edd['push'](_0x529edd['shift']());}}}(a84_0xeda2,0xca92b));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a84_0xf73e(_0x2f2c7a,_0x552511){_0x2f2c7a=_0x2f2c7a-0xe3;var _0xeda29a=a84_0xeda2();var _0xf73e67=_0xeda29a[_0x2f2c7a];return _0xf73e67;}export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
1
+ (function(_0x1d3ae3,_0x39c787){var _0x1c8d7f=a84_0x3c47,_0x5dac26=_0x1d3ae3();while(!![]){try{var _0x22a99=parseInt(_0x1c8d7f(0xe5))/0x1+-parseInt(_0x1c8d7f(0xe2))/0x2*(-parseInt(_0x1c8d7f(0xe3))/0x3)+parseInt(_0x1c8d7f(0xdf))/0x4*(-parseInt(_0x1c8d7f(0xde))/0x5)+-parseInt(_0x1c8d7f(0xe1))/0x6*(parseInt(_0x1c8d7f(0xdb))/0x7)+parseInt(_0x1c8d7f(0xdc))/0x8+parseInt(_0x1c8d7f(0xdd))/0x9+parseInt(_0x1c8d7f(0xe4))/0xa*(parseInt(_0x1c8d7f(0xe0))/0xb);if(_0x22a99===_0x39c787)break;else _0x5dac26['push'](_0x5dac26['shift']());}catch(_0x3e9a35){_0x5dac26['push'](_0x5dac26['shift']());}}}(a84_0x1160,0xb8ef6));export{runCommand}from'../framework/runner.js';export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';function a84_0x3c47(_0x241aff,_0x45d0d4){_0x241aff=_0x241aff-0xdb;var _0x11602b=a84_0x1160();var _0x3c4759=_0x11602b[_0x241aff];return _0x3c4759;}export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';function a84_0x1160(){var _0x254eab=['26uHNtDd','59205CnKWqg','3366790RnMgtO','661496vCBxQN','49CbZKWn','864600hXsNri','8456895BGizto','7120205IiLtHL','4LXQNZy','33fjaAcH','680814ejRLoV'];a84_0x1160=function(){return _0x254eab;};return a84_0x1160();}export{extractList,extractPaging}from'../framework/response.js';export{dryRun}from'../framework/dryrun.js';export{riskLevelOrder,isValidFormat}from'../framework/types.js';
@@ -1 +1 @@
1
- (function(_0x1f3b3e,_0x4d69ed){const _0x5434a7=a85_0x4818,_0x12b6d9=_0x1f3b3e();while(!![]){try{const _0x22acc4=-parseInt(_0x5434a7(0x13e))/0x1+parseInt(_0x5434a7(0x13f))/0x2+parseInt(_0x5434a7(0x146))/0x3+-parseInt(_0x5434a7(0x143))/0x4*(parseInt(_0x5434a7(0x142))/0x5)+-parseInt(_0x5434a7(0x14d))/0x6*(parseInt(_0x5434a7(0x144))/0x7)+parseInt(_0x5434a7(0x14b))/0x8+parseInt(_0x5434a7(0x148))/0x9;if(_0x22acc4===_0x4d69ed)break;else _0x12b6d9['push'](_0x12b6d9['shift']());}catch(_0x1639f1){_0x12b6d9['push'](_0x12b6d9['shift']());}}}(a85_0x5326,0x36a32));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';function a85_0x4818(_0xe3857e,_0x20f30e){_0xe3857e=_0xe3857e-0x13e;const _0x5326db=a85_0x5326();let _0x481854=_0x5326db[_0xe3857e];return _0x481854;}import{CliErrors}from'../errors.js';function a85_0x5326(){const _0x2b79b3=['pretty','error','3503952nzBVbw','_notice','89196dfFYMh','9958JECmPm','187340etubOE','message','format','131060XAiQtG','52jrQIEM','63ErStCj','url','279510NnFBxt','update','751212MqFcWO'];a85_0x5326=function(){return _0x2b79b3;};return a85_0x5326();}const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x7a9379,_0x3c4bd5){const _0x41eeb0=a85_0x4818,_0x2e6326=_0x7a9379[_0x41eeb0(0x14c)],{_notice:_0x4ef289,..._0x2342c9}=_0x7a9379;void _0x4ef289,baseFormatOutput(_0x2342c9,_0x3c4bd5),_0x3c4bd5[_0x41eeb0(0x141)]===_0x41eeb0(0x149)&&printPrettyNotice(_0x2e6326);}function printPrettyNotice(_0x2cf018){const _0x34d035=a85_0x4818;if(!_0x2cf018?.[_0x34d035(0x147)])return;console[_0x34d035(0x14a)](_0x2cf018[_0x34d035(0x147)][_0x34d035(0x140)]+'\x20('+_0x2cf018[_0x34d035(0x147)][_0x34d035(0x145)]+')');}
1
+ (function(_0x7f1503,_0x2f24a5){const _0x97dea2=a85_0x563b,_0x15dd6b=_0x7f1503();while(!![]){try{const _0x34c155=-parseInt(_0x97dea2(0xa2))/0x1*(-parseInt(_0x97dea2(0x9f))/0x2)+-parseInt(_0x97dea2(0x9b))/0x3+-parseInt(_0x97dea2(0xa8))/0x4*(parseInt(_0x97dea2(0xad))/0x5)+parseInt(_0x97dea2(0xa9))/0x6*(-parseInt(_0x97dea2(0xa1))/0x7)+parseInt(_0x97dea2(0xa5))/0x8*(parseInt(_0x97dea2(0xa4))/0x9)+-parseInt(_0x97dea2(0xab))/0xa*(-parseInt(_0x97dea2(0xa0))/0xb)+parseInt(_0x97dea2(0xa7))/0xc*(parseInt(_0x97dea2(0x9c))/0xd);if(_0x34c155===_0x2f24a5)break;else _0x15dd6b['push'](_0x15dd6b['shift']());}catch(_0x2867d5){_0x15dd6b['push'](_0x15dd6b['shift']());}}}(a85_0x53c2,0xb5a7d));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});function a85_0x53c2(){const _0x450851=['error','3156924AghXPe','644sBkAMa','566658SXmBNP','format','20bFRYpk','update','31975cpMrXj','4245420NODqLy','13NPyypH','_notice','url','37208mQSnZA','4121293CwSrpT','14Bmcpeo','58qzgGHg','pretty','2889SxleqN','32056FPNOsL'];a85_0x53c2=function(){return _0x450851;};return a85_0x53c2();}function a85_0x563b(_0x15852a,_0x10bcef){_0x15852a=_0x15852a-0x9b;const _0x53c28a=a85_0x53c2();let _0x563be9=_0x53c28a[_0x15852a];return _0x563be9;}export function formatOutput(_0x53f9d4,_0x419c22){const _0x5b43ec=a85_0x563b,_0xab926d=_0x53f9d4[_0x5b43ec(0x9d)],{_notice:_0x1fb54e,..._0x5e938c}=_0x53f9d4;void _0x1fb54e,baseFormatOutput(_0x5e938c,_0x419c22),_0x419c22[_0x5b43ec(0xaa)]===_0x5b43ec(0xa3)&&printPrettyNotice(_0xab926d);}function printPrettyNotice(_0x5aff56){const _0x244dd4=a85_0x563b;if(!_0x5aff56?.[_0x244dd4(0xac)])return;console[_0x244dd4(0xa6)](_0x5aff56[_0x244dd4(0xac)]['message']+'\x20('+_0x5aff56['update'][_0x244dd4(0x9e)]+')');}
@@ -1 +1 @@
1
- (function(_0x3beed4,_0x41bf6a){const _0x47efd7=a86_0x3fac,_0x3dd3a0=_0x3beed4();while(!![]){try{const _0x4d3608=-parseInt(_0x47efd7(0x194))/0x1*(-parseInt(_0x47efd7(0x1ac))/0x2)+parseInt(_0x47efd7(0x1a6))/0x3*(parseInt(_0x47efd7(0x19d))/0x4)+parseInt(_0x47efd7(0x19e))/0x5+parseInt(_0x47efd7(0x191))/0x6*(-parseInt(_0x47efd7(0x1a3))/0x7)+parseInt(_0x47efd7(0x1b2))/0x8+parseInt(_0x47efd7(0x1a5))/0x9+-parseInt(_0x47efd7(0x1ae))/0xa;if(_0x4d3608===_0x41bf6a)break;else _0x3dd3a0['push'](_0x3dd3a0['shift']());}catch(_0x219a12){_0x3dd3a0['push'](_0x3dd3a0['shift']());}}}(a86_0x3e48,0xd7e54));function toKebab(_0x3eea38){const _0x17e104=a86_0x3fac;return _0x3eea38[_0x17e104(0x1a2)](/_/g,'-')[_0x17e104(0x1a2)](/-([A-Z]+)/g,(_0x26341b,_0x432400)=>'-'+_0x432400[_0x17e104(0x196)]())[_0x17e104(0x1a2)](/([a-z0-9])([A-Z])/g,(_0x5a4f9b,_0x3eba09,_0x189012)=>_0x3eba09+'-'+_0x189012)[_0x17e104(0x196)]();}function buildKnownFlags(_0x4d2327){const _0xccfa05=a86_0x3fac,_0x20f8f1=new Set();for(const _0x54c6c3 of _0x4d2327){_0x20f8f1['add'](_0x54c6c3[_0xccfa05(0x190)]),_0x20f8f1[_0xccfa05(0x1b0)](toCamelCase(_0x54c6c3[_0xccfa05(0x190)]));}for(const _0x245f57 of['dry-run',_0xccfa05(0x1a9),'yes','format']){_0x20f8f1[_0xccfa05(0x1b0)](_0x245f57);}for(const _0x335d47 of[_0xccfa05(0x193),_0xccfa05(0x1ab),_0xccfa05(0x1a7),'app',_0xccfa05(0x195),_0xccfa05(0x192),'ci',_0xccfa05(0x19f),'version']){_0x20f8f1[_0xccfa05(0x1b0)](_0x335d47);}return _0x20f8f1;}function buildFlagTypeMap(_0x1eed19){const _0x45951d=a86_0x3fac,_0x5affbb=new Map();for(const _0x46f06b of _0x1eed19){_0x5affbb[_0x45951d(0x1b1)](_0x46f06b[_0x45951d(0x190)],_0x46f06b[_0x45951d(0x18f)]),_0x5affbb['set'](toCamelCase(_0x46f06b[_0x45951d(0x190)]),_0x46f06b[_0x45951d(0x18f)]);}return _0x5affbb;}function toCamelCase(_0x3875cd){const _0x1b69e9=a86_0x3fac;return _0x3875cd[_0x1b69e9(0x1a2)](/-([a-z])/g,(_0x36f4a1,_0x4d23d5)=>_0x4d23d5[_0x1b69e9(0x1ad)]());}function aliasHandler(_0x1e7435,_0x260560){const _0x461345=a86_0x3fac,_0x187d26=[];for(const _0x520c46 of Object[_0x461345(0x18e)](_0x1e7435)){if(_0x260560[_0x461345(0x19c)](_0x520c46))continue;const _0x67b713=toKebab(_0x520c46);_0x67b713!==_0x520c46&&_0x260560['has'](_0x67b713)&&_0x187d26['push']({'original':_0x520c46,'corrected':_0x67b713,'handler':_0x461345(0x199)});}return _0x187d26;}function a86_0x3fac(_0x5a4a7c,_0x3fcb5a){_0x5a4a7c=_0x5a4a7c-0x18d;const _0x3e48c7=a86_0x3e48();let _0x3facc7=_0x3e48c7[_0x5a4a7c];return _0x3facc7;}function a86_0x3e48(){const _0xce0f8d=['dryRun','length','env','217072SYLpnC','toUpperCase','10836110jIthww','boolean','add','set','10468936BagZqR','sticky','slice','keys','type','name','18YVWAhj','non-interactive','help','1uPfBkg','nonInteractive','toLowerCase','corrected','original','alias','string','get','has','420wkddbm','409255pFKuod','global','indexOf','entries','replace','1010527kgfWCP','number','5826357HyiSzL','7275QMRPDs','appcode','push'];a86_0x3e48=function(){return _0xce0f8d;};return a86_0x3e48();}function stickyHandler(_0x2e57e,_0x564e85,_0xc37389){const _0x5ce799=a86_0x3fac,_0x445c35=[];for(const [_0x31dee0,_0x5cf9c3]of Object[_0x5ce799(0x1a1)](_0x2e57e)){if(_0x5cf9c3!==!![])continue;for(let _0x4d926f=_0x31dee0[_0x5ce799(0x1aa)]-0x1;_0x4d926f>0x0;_0x4d926f--){const _0x1b00ca=_0x31dee0[_0x5ce799(0x18d)](0x0,_0x4d926f),_0x2caefd=_0x31dee0[_0x5ce799(0x18d)](_0x4d926f),_0x5074c6=toKebab(_0x1b00ca),_0x2f45ae=toCamelCase(_0x1b00ca),_0x39399d=_0x564e85[_0x5ce799(0x19c)](_0x1b00ca)?_0x1b00ca:_0x564e85[_0x5ce799(0x19c)](_0x5074c6)?_0x5074c6:_0x564e85['has'](_0x2f45ae)?_0x2f45ae:null;if(!_0x39399d)continue;const _0x1da140=_0xc37389['get'](_0x39399d)??_0x5ce799(0x19a);let _0x427419;if(_0x1da140===_0x5ce799(0x1a4)){const _0x5c71a2=Number(_0x2caefd);if(isNaN(_0x5c71a2)||_0x2caefd==='')continue;_0x427419=_0x5c71a2;}else{if(_0x1da140===_0x5ce799(0x1af))continue;else{if(_0x2caefd==='')continue;_0x427419=_0x2caefd;}}_0x445c35[_0x5ce799(0x1a8)]({'original':_0x31dee0,'corrected':_0x39399d+'='+_0x427419,'handler':_0x5ce799(0x1b3)});break;}}return _0x445c35;}export function correctFlags(_0x2f0cb4,_0x4f80d2){const _0x5c3f62=a86_0x3fac,_0x4c065b=buildKnownFlags(_0x4f80d2),_0x2ce74d=buildFlagTypeMap(_0x4f80d2),_0x3317c1=aliasHandler(_0x2f0cb4,_0x4c065b),_0x153c97=stickyHandler(_0x2f0cb4,_0x4c065b,_0x2ce74d),_0x127b1a=[..._0x3317c1,..._0x153c97];if(_0x127b1a[_0x5c3f62(0x1aa)]===0x0)return{'flags':_0x2f0cb4,'corrections':[]};const _0x1b3466={..._0x2f0cb4},_0x57c62f=new Set();for(const _0x2f1a16 of _0x3317c1){_0x1b3466[_0x2f1a16['corrected']]=_0x2f0cb4[_0x2f1a16[_0x5c3f62(0x198)]],_0x57c62f[_0x5c3f62(0x1b0)](_0x2f1a16[_0x5c3f62(0x198)]);}for(const _0x444022 of _0x153c97){const _0x1d28ba=_0x444022[_0x5c3f62(0x197)][_0x5c3f62(0x1a0)]('='),_0x3db0ba=_0x444022[_0x5c3f62(0x197)][_0x5c3f62(0x18d)](0x0,_0x1d28ba),_0xc6e754=_0x444022[_0x5c3f62(0x197)][_0x5c3f62(0x18d)](_0x1d28ba+0x1),_0x120f33=_0x2ce74d[_0x5c3f62(0x19b)](_0x3db0ba)??_0x5c3f62(0x19a);_0x120f33===_0x5c3f62(0x1a4)?_0x1b3466[_0x3db0ba]=Number(_0xc6e754):_0x1b3466[_0x3db0ba]=_0xc6e754,_0x57c62f['add'](_0x444022[_0x5c3f62(0x198)]);}for(const _0x1a8b6d of _0x57c62f){delete _0x1b3466[_0x1a8b6d];}return{'flags':_0x1b3466,'corrections':_0x127b1a};}
1
+ (function(_0x5508e3,_0xd23bfa){const _0x1ee128=a86_0x30eb,_0x553cc9=_0x5508e3();while(!![]){try{const _0x33a050=-parseInt(_0x1ee128(0x18c))/0x1*(parseInt(_0x1ee128(0x189))/0x2)+-parseInt(_0x1ee128(0x179))/0x3*(-parseInt(_0x1ee128(0x17f))/0x4)+-parseInt(_0x1ee128(0x187))/0x5*(parseInt(_0x1ee128(0x18f))/0x6)+parseInt(_0x1ee128(0x197))/0x7*(parseInt(_0x1ee128(0x177))/0x8)+parseInt(_0x1ee128(0x190))/0x9*(parseInt(_0x1ee128(0x193))/0xa)+-parseInt(_0x1ee128(0x198))/0xb*(-parseInt(_0x1ee128(0x180))/0xc)+-parseInt(_0x1ee128(0x195))/0xd;if(_0x33a050===_0xd23bfa)break;else _0x553cc9['push'](_0x553cc9['shift']());}catch(_0xfa1999){_0x553cc9['push'](_0x553cc9['shift']());}}}(a86_0x1386,0xc0ef7));function toKebab(_0x13e294){const _0x3662e2=a86_0x30eb;return _0x13e294['replace'](/_/g,'-')['replace'](/-([A-Z]+)/g,(_0x4ccb13,_0x18277b)=>'-'+_0x18277b[_0x3662e2(0x181)]())[_0x3662e2(0x192)](/([a-z0-9])([A-Z])/g,(_0x482f17,_0x1363ae,_0x378ec5)=>_0x1363ae+'-'+_0x378ec5)[_0x3662e2(0x181)]();}function a86_0x30eb(_0x29c2d9,_0x2ef6aa){_0x29c2d9=_0x29c2d9-0x175;const _0x1386c9=a86_0x1386();let _0x30eb10=_0x1386c9[_0x29c2d9];return _0x30eb10;}function buildKnownFlags(_0x143322){const _0xdfc50b=a86_0x30eb,_0x15bf00=new Set();for(const _0x1fab3f of _0x143322){_0x15bf00[_0xdfc50b(0x18a)](_0x1fab3f[_0xdfc50b(0x19a)]),_0x15bf00[_0xdfc50b(0x18a)](toCamelCase(_0x1fab3f[_0xdfc50b(0x19a)]));}for(const _0xd87916 of[_0xdfc50b(0x178),_0xdfc50b(0x199),_0xdfc50b(0x185),'format']){_0x15bf00[_0xdfc50b(0x18a)](_0xd87916);}for(const _0x2708ae of['help','env',_0xdfc50b(0x17c),'app',_0xdfc50b(0x18e),_0xdfc50b(0x183),'ci',_0xdfc50b(0x19b),_0xdfc50b(0x176)]){_0x15bf00[_0xdfc50b(0x18a)](_0x2708ae);}return _0x15bf00;}function buildFlagTypeMap(_0x29c569){const _0x189d28=a86_0x30eb,_0x4490ff=new Map();for(const _0xb50abc of _0x29c569){_0x4490ff[_0x189d28(0x175)](_0xb50abc[_0x189d28(0x19a)],_0xb50abc[_0x189d28(0x188)]),_0x4490ff['set'](toCamelCase(_0xb50abc['name']),_0xb50abc[_0x189d28(0x188)]);}return _0x4490ff;}function toCamelCase(_0xe57d58){const _0x52c95e=a86_0x30eb;return _0xe57d58[_0x52c95e(0x192)](/-([a-z])/g,(_0x328327,_0x339a49)=>_0x339a49['toUpperCase']());}function aliasHandler(_0x1c63d5,_0x183937){const _0x525381=a86_0x30eb,_0x680e33=[];for(const _0x52df48 of Object['keys'](_0x1c63d5)){if(_0x183937[_0x525381(0x186)](_0x52df48))continue;const _0x189e69=toKebab(_0x52df48);_0x189e69!==_0x52df48&&_0x183937[_0x525381(0x186)](_0x189e69)&&_0x680e33[_0x525381(0x18b)]({'original':_0x52df48,'corrected':_0x189e69,'handler':_0x525381(0x18d)});}return _0x680e33;}function stickyHandler(_0x2618ee,_0x1b73f3,_0x5c291f){const _0x41d9d0=a86_0x30eb,_0x40f025=[];for(const [_0x5a2318,_0x2437a4]of Object['entries'](_0x2618ee)){if(_0x2437a4!==!![])continue;for(let _0x397871=_0x5a2318['length']-0x1;_0x397871>0x0;_0x397871--){const _0x4f1aa7=_0x5a2318[_0x41d9d0(0x17e)](0x0,_0x397871),_0x5e0c3f=_0x5a2318[_0x41d9d0(0x17e)](_0x397871),_0x1dc1aa=toKebab(_0x4f1aa7),_0x26c73d=toCamelCase(_0x4f1aa7),_0x1a3488=_0x1b73f3['has'](_0x4f1aa7)?_0x4f1aa7:_0x1b73f3[_0x41d9d0(0x186)](_0x1dc1aa)?_0x1dc1aa:_0x1b73f3[_0x41d9d0(0x186)](_0x26c73d)?_0x26c73d:null;if(!_0x1a3488)continue;const _0x350af1=_0x5c291f[_0x41d9d0(0x196)](_0x1a3488)??_0x41d9d0(0x184);let _0x516837;if(_0x350af1==='number'){const _0x22e718=Number(_0x5e0c3f);if(isNaN(_0x22e718)||_0x5e0c3f==='')continue;_0x516837=_0x22e718;}else{if(_0x350af1===_0x41d9d0(0x191))continue;else{if(_0x5e0c3f==='')continue;_0x516837=_0x5e0c3f;}}_0x40f025[_0x41d9d0(0x18b)]({'original':_0x5a2318,'corrected':_0x1a3488+'='+_0x516837,'handler':'sticky'});break;}}return _0x40f025;}export function correctFlags(_0x20039a,_0x125297){const _0x6debee=a86_0x30eb,_0x18cc02=buildKnownFlags(_0x125297),_0x53552d=buildFlagTypeMap(_0x125297),_0x29467c=aliasHandler(_0x20039a,_0x18cc02),_0x56f64f=stickyHandler(_0x20039a,_0x18cc02,_0x53552d),_0xf9fb58=[..._0x29467c,..._0x56f64f];if(_0xf9fb58[_0x6debee(0x194)]===0x0)return{'flags':_0x20039a,'corrections':[]};const _0x378ef8={..._0x20039a},_0x4fcdce=new Set();for(const _0x3d2403 of _0x29467c){_0x378ef8[_0x3d2403['corrected']]=_0x20039a[_0x3d2403['original']],_0x4fcdce['add'](_0x3d2403[_0x6debee(0x17b)]);}for(const _0x3ec9f5 of _0x56f64f){const _0x530d67=_0x3ec9f5[_0x6debee(0x17d)][_0x6debee(0x182)]('='),_0x23e7e2=_0x3ec9f5[_0x6debee(0x17d)][_0x6debee(0x17e)](0x0,_0x530d67),_0x5e8888=_0x3ec9f5['corrected'][_0x6debee(0x17e)](_0x530d67+0x1),_0x27012c=_0x53552d[_0x6debee(0x196)](_0x23e7e2)??_0x6debee(0x184);_0x27012c===_0x6debee(0x17a)?_0x378ef8[_0x23e7e2]=Number(_0x5e8888):_0x378ef8[_0x23e7e2]=_0x5e8888,_0x4fcdce['add'](_0x3ec9f5['original']);}for(const _0x47dc83 of _0x4fcdce){delete _0x378ef8[_0x47dc83];}return{'flags':_0x378ef8,'corrections':_0xf9fb58};}function a86_0x1386(){const _0x5ae661=['3459604auFfbU','16378140XnKtdd','toLowerCase','indexOf','non-interactive','string','yes','has','1545jdpGlC','type','4ikchLx','add','push','737227kQlPwQ','alias','nonInteractive','9198jmnPld','11912652bvTjkI','boolean','replace','10cEnbAr','length','25390599NfnZoA','get','612857JRzbSk','11QrIlnF','dryRun','name','global','set','version','104KKwWlR','dry-run','3DryHjD','number','original','appcode','corrected','slice'];a86_0x1386=function(){return _0x5ae661;};return a86_0x1386();}
@@ -1 +1 @@
1
- const a87_0x4a23f0=a87_0x908c;(function(_0x166a46,_0x1e8da5){const _0x12de73=a87_0x908c,_0x20fa58=_0x166a46();while(!![]){try{const _0x292816=-parseInt(_0x12de73(0x1a7))/0x1*(-parseInt(_0x12de73(0x19f))/0x2)+-parseInt(_0x12de73(0x18a))/0x3*(-parseInt(_0x12de73(0x18b))/0x4)+parseInt(_0x12de73(0x1aa))/0x5+-parseInt(_0x12de73(0x1a8))/0x6*(-parseInt(_0x12de73(0x194))/0x7)+parseInt(_0x12de73(0x1a4))/0x8*(parseInt(_0x12de73(0x18f))/0x9)+parseInt(_0x12de73(0x19b))/0xa+-parseInt(_0x12de73(0x19e))/0xb;if(_0x292816===_0x1e8da5)break;else _0x20fa58['push'](_0x20fa58['shift']());}catch(_0x49eb8c){_0x20fa58['push'](_0x20fa58['shift']());}}}(a87_0x5ba8,0xa1801));import{CliErrors}from'../errors.js';function a87_0x908c(_0x30de63,_0x3128e1){_0x30de63=_0x30de63-0x18a;const _0x5ba8fe=a87_0x5ba8();let _0x908c63=_0x5ba8fe[_0x30de63];return _0x908c63;}const RATE_LIMIT_ERROR_CODES=new Set([a87_0x4a23f0(0x199),a87_0x4a23f0(0x190),a87_0x4a23f0(0x1ac)]);function nonEmptyString(_0x3810f8){const _0x139f2=a87_0x4a23f0;if(typeof _0x3810f8!==_0x139f2(0x1a2))return undefined;const _0x40790d=_0x3810f8[_0x139f2(0x1ab)]();return _0x40790d||undefined;}function buildRetryHint(_0x494840){const _0x1de4f6=a87_0x4a23f0,_0x2d596a=nonEmptyString(_0x494840),_0x4b75f1=_0x2d596a?/^\d+$/[_0x1de4f6(0x18d)](_0x2d596a)?_0x1de4f6(0x19c)+_0x2d596a+_0x1de4f6(0x18e):_0x1de4f6(0x198)+_0x2d596a+'.':'Retry\x20after\x20a\x20short\x20delay.';return _0x4b75f1+'\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.';}export function createRateLimitError(_0x2aec98){const _0x3507ca=a87_0x4a23f0,_0xb54729=nonEmptyString(_0x2aec98['errorCode'])?.[_0x3507ca(0x191)](),_0x454619=Number(_0x2aec98['status'])===0x1ad||_0xb54729!==undefined&&RATE_LIMIT_ERROR_CODES[_0x3507ca(0x196)](_0xb54729);if(!_0x454619)return undefined;return CliErrors['rateLimited'](nonEmptyString(_0x2aec98[_0x3507ca(0x195)])??_0x3507ca(0x197),buildRetryHint(_0x2aec98[_0x3507ca(0x1a1)]));}export function readRetryAfter(_0x478038){const _0x474ea5=a87_0x4a23f0;if(!_0x478038||typeof _0x478038!==_0x474ea5(0x192))return undefined;const _0x42abe6=_0x478038[_0x474ea5(0x1a3)];if(typeof _0x42abe6==='function'){const _0x1e5b3b=_0x42abe6[_0x474ea5(0x1a5)](_0x478038,_0x474ea5(0x1a9))??_0x42abe6[_0x474ea5(0x1a5)](_0x478038,'retry-after');return nonEmptyString(_0x1e5b3b);}for(const [_0x1a2ed1,_0x53ab41]of Object[_0x474ea5(0x1a0)](_0x478038)){if(_0x1a2ed1['toLowerCase']()===_0x474ea5(0x19d))return nonEmptyString(_0x53ab41)??(typeof _0x53ab41===_0x474ea5(0x193)?String(_0x53ab41):undefined);}return undefined;}export function readRetryAfterSeconds(_0x293773){const _0x4a7084=a87_0x4a23f0;if(!_0x293773||typeof _0x293773!==_0x4a7084(0x192)||Array[_0x4a7084(0x1a6)](_0x293773))return undefined;const _0x31ba65=_0x293773[_0x4a7084(0x18c)];if(typeof _0x31ba65===_0x4a7084(0x193))return Number[_0x4a7084(0x19a)](_0x31ba65)&&_0x31ba65>=0x0?String(_0x31ba65):undefined;const _0x31b85f=nonEmptyString(_0x31ba65);return _0x31b85f&&/^\d+$/[_0x4a7084(0x18d)](_0x31b85f)?_0x31b85f:undefined;}function a87_0x5ba8(){const _0x2a956c=['MAX_QPS_LIMIT','toUpperCase','object','number','7807331gqplVv','message','has','Request\x20rate\x20limit\x20exceeded.','Retry\x20after\x20','EXCEED_MAX_QPS_LIMIT','isInteger','12671830eQteaO','Wait\x20','retry-after','63896096RbOOyC','2335108LyeynR','entries','retryAfter','string','get','16dcIcpx','call','isArray','1iaHlqP','6NAjaKr','Retry-After','6432645RoyXbK','trim','IP_RATE_LIMIT_EXCEEDED','1011dORbzF','6392seRZVS','retryAfterSeconds','test','\x20seconds\x20before\x20retrying.','4928022rZdCCG'];a87_0x5ba8=function(){return _0x2a956c;};return a87_0x5ba8();}
1
+ const a87_0x41f0f7=a87_0x500b;(function(_0x395af0,_0x3aea9f){const _0x4025d9=a87_0x500b,_0x4f15f2=_0x395af0();while(!![]){try{const _0xe1f417=-parseInt(_0x4025d9(0x16b))/0x1+parseInt(_0x4025d9(0x15f))/0x2+-parseInt(_0x4025d9(0x162))/0x3+-parseInt(_0x4025d9(0x165))/0x4*(-parseInt(_0x4025d9(0x172))/0x5)+parseInt(_0x4025d9(0x169))/0x6+parseInt(_0x4025d9(0x15c))/0x7*(parseInt(_0x4025d9(0x176))/0x8)+-parseInt(_0x4025d9(0x168))/0x9*(-parseInt(_0x4025d9(0x15e))/0xa);if(_0xe1f417===_0x3aea9f)break;else _0x4f15f2['push'](_0x4f15f2['shift']());}catch(_0x67689e){_0x4f15f2['push'](_0x4f15f2['shift']());}}}(a87_0x1b94,0xb5b15));import{CliErrors}from'../errors.js';const RATE_LIMIT_ERROR_CODES=new Set(['EXCEED_MAX_QPS_LIMIT','MAX_QPS_LIMIT',a87_0x41f0f7(0x177)]);function nonEmptyString(_0x62c6b2){const _0x3d22ca=a87_0x41f0f7;if(typeof _0x62c6b2!=='string')return undefined;const _0x4f389b=_0x62c6b2[_0x3d22ca(0x170)]();return _0x4f389b||undefined;}function a87_0x500b(_0x294df7,_0x1b10b1){_0x294df7=_0x294df7-0x157;const _0x1b94ec=a87_0x1b94();let _0x500b19=_0x1b94ec[_0x294df7];return _0x500b19;}function buildRetryHint(_0x25bc17){const _0x36d852=a87_0x41f0f7,_0x662147=nonEmptyString(_0x25bc17),_0x22c37a=_0x662147?/^\d+$/[_0x36d852(0x15d)](_0x662147)?'Wait\x20'+_0x662147+_0x36d852(0x16c):_0x36d852(0x15b)+_0x662147+'.':_0x36d852(0x16a);return _0x22c37a+_0x36d852(0x171);}export function createRateLimitError(_0x53fde6){const _0x4861cd=a87_0x41f0f7,_0x37aa62=nonEmptyString(_0x53fde6[_0x4861cd(0x166)])?.[_0x4861cd(0x160)](),_0x2f3cbc=Number(_0x53fde6['status'])===0x1ad||_0x37aa62!==undefined&&RATE_LIMIT_ERROR_CODES[_0x4861cd(0x159)](_0x37aa62);if(!_0x2f3cbc)return undefined;return CliErrors[_0x4861cd(0x16d)](nonEmptyString(_0x53fde6[_0x4861cd(0x158)])??_0x4861cd(0x174),buildRetryHint(_0x53fde6[_0x4861cd(0x16e)]));}function a87_0x1b94(){const _0x2dfdd7=['\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.','5155EmmoAt','call','Request\x20rate\x20limit\x20exceeded.','get','232040tmyGJK','IP_RATE_LIMIT_EXCEEDED','function','message','has','toLowerCase','Retry\x20after\x20','14mRfGcn','test','4284250HBXndV','657084LDuMfL','toUpperCase','number','3367722xRWrDE','entries','isArray','2804kZcZzr','errorCode','retry-after','9rahlnu','3271800TSORtH','Retry\x20after\x20a\x20short\x20delay.','216221QiyHQd','\x20seconds\x20before\x20retrying.','rateLimited','retryAfter','isInteger','trim'];a87_0x1b94=function(){return _0x2dfdd7;};return a87_0x1b94();}export function readRetryAfter(_0x5775c8){const _0x4bdce7=a87_0x41f0f7;if(!_0x5775c8||typeof _0x5775c8!=='object')return undefined;const _0x4e5d56=_0x5775c8[_0x4bdce7(0x175)];if(typeof _0x4e5d56===_0x4bdce7(0x157)){const _0x377f91=_0x4e5d56['call'](_0x5775c8,'Retry-After')??_0x4e5d56[_0x4bdce7(0x173)](_0x5775c8,'retry-after');return nonEmptyString(_0x377f91);}for(const [_0x1dc5a0,_0x17dbd1]of Object[_0x4bdce7(0x163)](_0x5775c8)){if(_0x1dc5a0[_0x4bdce7(0x15a)]()===_0x4bdce7(0x167))return nonEmptyString(_0x17dbd1)??(typeof _0x17dbd1==='number'?String(_0x17dbd1):undefined);}return undefined;}export function readRetryAfterSeconds(_0x1d6df4){const _0x25e685=a87_0x41f0f7;if(!_0x1d6df4||typeof _0x1d6df4!=='object'||Array[_0x25e685(0x164)](_0x1d6df4))return undefined;const _0x5d530e=_0x1d6df4['retryAfterSeconds'];if(typeof _0x5d530e===_0x25e685(0x161))return Number[_0x25e685(0x16f)](_0x5d530e)&&_0x5d530e>=0x0?String(_0x5d530e):undefined;const _0x5ae26c=nonEmptyString(_0x5d530e);return _0x5ae26c&&/^\d+$/[_0x25e685(0x15d)](_0x5ae26c)?_0x5ae26c:undefined;}
@@ -1 +1 @@
1
- function a88_0x4cb5(_0x5eeeb2,_0x2e1969){_0x5eeeb2=_0x5eeeb2-0x182;var _0x5139ce=a88_0x5139();var _0x4cb508=_0x5139ce[_0x5eeeb2];return _0x4cb508;}(function(_0x322aa6,_0x30d1ff){var _0x220a3d=a88_0x4cb5,_0x504d88=_0x322aa6();while(!![]){try{var _0x7b1a28=-parseInt(_0x220a3d(0x18a))/0x1*(-parseInt(_0x220a3d(0x18b))/0x2)+-parseInt(_0x220a3d(0x186))/0x3*(-parseInt(_0x220a3d(0x188))/0x4)+-parseInt(_0x220a3d(0x183))/0x5+-parseInt(_0x220a3d(0x184))/0x6+parseInt(_0x220a3d(0x182))/0x7+parseInt(_0x220a3d(0x185))/0x8*(parseInt(_0x220a3d(0x18c))/0x9)+parseInt(_0x220a3d(0x189))/0xa*(-parseInt(_0x220a3d(0x187))/0xb);if(_0x7b1a28===_0x30d1ff)break;else _0x504d88['push'](_0x504d88['shift']());}catch(_0x2c4eb4){_0x504d88['push'](_0x504d88['shift']());}}}(a88_0x5139,0xc0726));export{extractList,extractPaging}from'@lovrabet/cli-framework';function a88_0x5139(){var _0x5217bc=['222oChLPp','14895397KpJsIc','50524QVOkai','20iRNxUh','350OQcCRp','8818QggBXD','657oiZfMp','6594581DlGsEM','1426560GGYQXi','3090288IJLVIk','96104mnkrai'];a88_0x5139=function(){return _0x5217bc;};return a88_0x5139();}
1
+ function a88_0x1810(){var _0x447b55=['11398530AADuqb','1076409PVLgTu','1711005PYUNGE','1969216USAHtf','1101070fxGdTi','337748GBbbfk','55734dWwDSV','8pRobrV','162XYardK','1JghUur'];a88_0x1810=function(){return _0x447b55;};return a88_0x1810();}function a88_0x27ef(_0x53bc02,_0x15582a){_0x53bc02=_0x53bc02-0xf9;var _0x1810eb=a88_0x1810();var _0x27ef90=_0x1810eb[_0x53bc02];return _0x27ef90;}(function(_0x34715c,_0x1df064){var _0x410598=a88_0x27ef,_0x17a7b7=_0x34715c();while(!![]){try{var _0x298089=-parseInt(_0x410598(0x101))/0x1*(parseInt(_0x410598(0xfd))/0x2)+-parseInt(_0x410598(0xfa))/0x3+-parseInt(_0x410598(0xff))/0x4*(parseInt(_0x410598(0xfc))/0x5)+-parseInt(_0x410598(0x100))/0x6*(-parseInt(_0x410598(0xfe))/0x7)+parseInt(_0x410598(0xfb))/0x8+-parseInt(_0x410598(0xf9))/0x9+parseInt(_0x410598(0x102))/0xa;if(_0x298089===_0x1df064)break;else _0x17a7b7['push'](_0x17a7b7['shift']());}catch(_0x5e4255){_0x17a7b7['push'](_0x17a7b7['shift']());}}}(a88_0x1810,0x49aad));export{extractList,extractPaging}from'@lovrabet/cli-framework';
@@ -1 +1 @@
1
- (function(_0x36397a,_0x33ad83){const _0x5c5ba9=a89_0x5b41,_0x3a53c4=_0x36397a();while(!![]){try{const _0x598a94=-parseInt(_0x5c5ba9(0xa2))/0x1+-parseInt(_0x5c5ba9(0xa5))/0x2+-parseInt(_0x5c5ba9(0xa4))/0x3+-parseInt(_0x5c5ba9(0x99))/0x4*(parseInt(_0x5c5ba9(0xaa))/0x5)+parseInt(_0x5c5ba9(0x96))/0x6+parseInt(_0x5c5ba9(0xa3))/0x7+parseInt(_0x5c5ba9(0xa8))/0x8;if(_0x598a94===_0x33ad83)break;else _0x3a53c4['push'](_0x3a53c4['shift']());}catch(_0x5c5d96){_0x3a53c4['push'](_0x3a53c4['shift']());}}}(a89_0x3649,0x9a111));import{CLI_BIN_NAME}from'../constant/cli.js';function a89_0x5b41(_0x146cb3,_0x5bcb76){_0x146cb3=_0x146cb3-0x8d;const _0x36496e=a89_0x3649();let _0x5b41c3=_0x36496e[_0x146cb3];return _0x5b41c3;}export function buildConfirmationLines(_0x52b55b,_0x3688ec,_0x587625){const _0x47c6d2=a89_0x5b41,_0x512ec9=buildConfirmationContext(_0x52b55b,_0x3688ec,_0x587625),_0x20419d=[_0x47c6d2(0xa1)+_0x512ec9['commandLabel']];return _0x512ec9[_0x47c6d2(0x8e)]&&_0x20419d[_0x47c6d2(0xab)](_0x47c6d2(0x9d)+_0x512ec9['description']),_0x512ec9[_0x47c6d2(0x9e)]&&_0x20419d[_0x47c6d2(0xab)]('\x20\x20\x20Affected:\x20'+_0x512ec9[_0x47c6d2(0x9e)]),_0x20419d[_0x47c6d2(0xab)](_0x47c6d2(0x90)),_0x20419d;}function a89_0x3649(){const _0xb5b16a=['name','join','⚠\x20\x20High-risk\x20operation:\x20','503452JDIYMG','5137923mnrCse','3309987wgkmFA','2231086UpAIrW','params=','length','24817048imzqML','title=','21210zoPRhy','push','kind','schedule-id=','cron','service','code','title','description','schedule-id','\x20\x20\x20Continue?\x20[y/N]\x20','name=','cron=','code=','channel','params','1252242BHGNOB','id=','entries','652dcaMbd','kind=','--yes','channel=','\x20\x20\x20','affectedRecords'];a89_0x3649=function(){return _0xb5b16a;};return a89_0x3649();}export function reconstructCommandArgv(_0x4b042d,_0x552bd2){const _0x4f9d73=a89_0x5b41,_0x379119=[CLI_BIN_NAME,_0x4b042d[_0x4f9d73(0xaf)],_0x4b042d['command']];for(const [_0x1ee986,_0x5826ef]of Object[_0x4f9d73(0x98)](_0x552bd2)){if(_0x5826ef===!![])_0x379119[_0x4f9d73(0xab)]('--'+_0x1ee986);else _0x5826ef!==![]&&_0x5826ef!==undefined&&_0x5826ef!==''&&_0x379119[_0x4f9d73(0xab)]('--'+_0x1ee986+'\x20'+JSON['stringify'](_0x5826ef));}return _0x379119[_0x4f9d73(0xab)](_0x4f9d73(0x9b)),_0x379119[_0x4f9d73(0xa0)]('\x20');}function buildConfirmationContext(_0x3793f8,_0x52fe5c,_0x2bcc5b){const _0x5d14f8=extractAffectedRecords(_0x2bcc5b);return{'commandLabel':_0x52fe5c,'description':_0x3793f8['description'],'affectedRecords':_0x5d14f8};}function extractAffectedRecords(_0x560984){const _0x4b4259=a89_0x5b41,_0x53fcfb=[];if(_0x560984[_0x4b4259(0xb0)])_0x53fcfb[_0x4b4259(0xab)](_0x4b4259(0x93)+_0x560984['code']);if(_0x560984['id'])_0x53fcfb[_0x4b4259(0xab)](_0x4b4259(0x97)+_0x560984['id']);if(_0x560984[_0x4b4259(0x8f)])_0x53fcfb['push'](_0x4b4259(0xad)+_0x560984[_0x4b4259(0x8f)]);if(_0x560984[_0x4b4259(0x9f)])_0x53fcfb[_0x4b4259(0xab)](_0x4b4259(0x91)+_0x560984[_0x4b4259(0x9f)]);if(_0x560984[_0x4b4259(0x8d)])_0x53fcfb[_0x4b4259(0xab)](_0x4b4259(0xa9)+_0x560984[_0x4b4259(0x8d)]);if(_0x560984[_0x4b4259(0xac)])_0x53fcfb['push'](_0x4b4259(0x9a)+_0x560984[_0x4b4259(0xac)]);if(_0x560984['cron'])_0x53fcfb['push'](_0x4b4259(0x92)+_0x560984[_0x4b4259(0xae)]);if(_0x560984['scheduled-at'])_0x53fcfb[_0x4b4259(0xab)]('scheduled-at='+_0x560984['scheduled-at']);if(_0x560984[_0x4b4259(0x94)])_0x53fcfb[_0x4b4259(0xab)](_0x4b4259(0x9c)+_0x560984['channel']);if(_0x560984[_0x4b4259(0x95)])_0x53fcfb[_0x4b4259(0xab)](_0x4b4259(0xa6)+_0x560984[_0x4b4259(0x95)]);return _0x53fcfb[_0x4b4259(0xa7)]>0x0?_0x53fcfb[_0x4b4259(0xa0)](',\x20'):undefined;}
1
+ (function(_0x4c6cda,_0xcd8bd6){const _0x4ef82f=a89_0x4420,_0x59f146=_0x4c6cda();while(!![]){try{const _0x4bdafe=-parseInt(_0x4ef82f(0xe0))/0x1*(parseInt(_0x4ef82f(0xf4))/0x2)+parseInt(_0x4ef82f(0xef))/0x3+parseInt(_0x4ef82f(0xe9))/0x4*(-parseInt(_0x4ef82f(0xea))/0x5)+-parseInt(_0x4ef82f(0xf9))/0x6*(-parseInt(_0x4ef82f(0xfc))/0x7)+parseInt(_0x4ef82f(0xd9))/0x8*(parseInt(_0x4ef82f(0xf3))/0x9)+-parseInt(_0x4ef82f(0xe6))/0xa*(parseInt(_0x4ef82f(0xf8))/0xb)+-parseInt(_0x4ef82f(0xd6))/0xc*(-parseInt(_0x4ef82f(0xe3))/0xd);if(_0x4bdafe===_0xcd8bd6)break;else _0x59f146['push'](_0x59f146['shift']());}catch(_0x300546){_0x59f146['push'](_0x59f146['shift']());}}}(a89_0x1965,0x62913));import{CLI_BIN_NAME}from'../constant/cli.js';export function buildConfirmationLines(_0x4c5c3,_0x252466,_0x362df4){const _0x4be8cb=a89_0x4420,_0x2a7825=buildConfirmationContext(_0x4c5c3,_0x252466,_0x362df4),_0x4c6942=['⚠\x20\x20High-risk\x20operation:\x20'+_0x2a7825[_0x4be8cb(0xd8)]];return _0x2a7825['description']&&_0x4c6942[_0x4be8cb(0xf2)]('\x20\x20\x20'+_0x2a7825['description']),_0x2a7825[_0x4be8cb(0xde)]&&_0x4c6942[_0x4be8cb(0xf2)](_0x4be8cb(0xfa)+_0x2a7825[_0x4be8cb(0xde)]),_0x4c6942[_0x4be8cb(0xf2)](_0x4be8cb(0xe8)),_0x4c6942;}export function reconstructCommandArgv(_0x470c20,_0x4807f6){const _0x7ef2fe=a89_0x4420,_0x33f229=[CLI_BIN_NAME,_0x470c20[_0x7ef2fe(0xe5)],_0x470c20[_0x7ef2fe(0xfb)]];for(const [_0x1b335a,_0x567526]of Object[_0x7ef2fe(0xe1)](_0x4807f6)){if(_0x567526===!![])_0x33f229[_0x7ef2fe(0xf2)]('--'+_0x1b335a);else _0x567526!==![]&&_0x567526!==undefined&&_0x567526!==''&&_0x33f229[_0x7ef2fe(0xf2)]('--'+_0x1b335a+'\x20'+JSON[_0x7ef2fe(0xe7)](_0x567526));}return _0x33f229['push'](_0x7ef2fe(0xed)),_0x33f229['join']('\x20');}function buildConfirmationContext(_0x21b4ba,_0x1bee32,_0xe0b491){const _0x3433cc=a89_0x4420,_0x2cc5c1=extractAffectedRecords(_0xe0b491);return{'commandLabel':_0x1bee32,'description':_0x21b4ba[_0x3433cc(0xec)],'affectedRecords':_0x2cc5c1};}function a89_0x4420(_0x4267cb,_0x41bfd9){_0x4267cb=_0x4267cb-0xd6;const _0x19655c=a89_0x1965();let _0x4420fe=_0x19655c[_0x4267cb];return _0x4420fe;}function a89_0x1965(){const _0x29c7fa=['channel=','params=','kind=','scheduled-at','affectedRecords','kind','2WNwBHR','entries','name','13wTgxbC','schedule-id=','service','6640dPfJmH','stringify','\x20\x20\x20Continue?\x20[y/N]\x20','529768cUztys','20MSescW','params','description','--yes','channel','735459lCujKc','schedule-id','title','push','17748QtjQQA','144228QnsZgk','cron','length','join','11264BkhYyf','54VlEqKe','\x20\x20\x20Affected:\x20','command','361333NGfFxr','12504276gTBtIq','title=','commandLabel','24bjxVwS'];a89_0x1965=function(){return _0x29c7fa;};return a89_0x1965();}function extractAffectedRecords(_0x2e9e99){const _0x18a262=a89_0x4420,_0x32252e=[];if(_0x2e9e99['code'])_0x32252e['push']('code='+_0x2e9e99['code']);if(_0x2e9e99['id'])_0x32252e[_0x18a262(0xf2)]('id='+_0x2e9e99['id']);if(_0x2e9e99[_0x18a262(0xf0)])_0x32252e['push'](_0x18a262(0xe4)+_0x2e9e99[_0x18a262(0xf0)]);if(_0x2e9e99[_0x18a262(0xe2)])_0x32252e[_0x18a262(0xf2)]('name='+_0x2e9e99[_0x18a262(0xe2)]);if(_0x2e9e99[_0x18a262(0xf1)])_0x32252e[_0x18a262(0xf2)](_0x18a262(0xd7)+_0x2e9e99['title']);if(_0x2e9e99[_0x18a262(0xdf)])_0x32252e[_0x18a262(0xf2)](_0x18a262(0xdc)+_0x2e9e99[_0x18a262(0xdf)]);if(_0x2e9e99[_0x18a262(0xf5)])_0x32252e[_0x18a262(0xf2)]('cron='+_0x2e9e99['cron']);if(_0x2e9e99[_0x18a262(0xdd)])_0x32252e[_0x18a262(0xf2)]('scheduled-at='+_0x2e9e99[_0x18a262(0xdd)]);if(_0x2e9e99[_0x18a262(0xee)])_0x32252e[_0x18a262(0xf2)](_0x18a262(0xda)+_0x2e9e99[_0x18a262(0xee)]);if(_0x2e9e99['params'])_0x32252e['push'](_0x18a262(0xdb)+_0x2e9e99[_0x18a262(0xeb)]);return _0x32252e[_0x18a262(0xf6)]>0x0?_0x32252e[_0x18a262(0xf7)](',\x20'):undefined;}
@@ -1 +1 @@
1
- function a90_0x1a5b(){const _0x2f06df=['1750476VTOFPu','32rPwLcX','5788332qxRcsj','description','status','trim','3777440zbwXTv','1478YjIgqt','code','message','3125580GqHkGc','headers','response','stringify','string','710978uJAMQc','2829rCYrLc','1154993IksElN','validation'];a90_0x1a5b=function(){return _0x2f06df;};return a90_0x1a5b();}(function(_0x1c1edc,_0x4307d0){const _0x13275d=a90_0x1f8a,_0x7ae828=_0x1c1edc();while(!![]){try{const _0x481427=-parseInt(_0x13275d(0x76))/0x1+parseInt(_0x13275d(0x6e))/0x2*(-parseInt(_0x13275d(0x77))/0x3)+parseInt(_0x13275d(0x6d))/0x4+-parseInt(_0x13275d(0x71))/0x5+parseInt(_0x13275d(0x7a))/0x6+-parseInt(_0x13275d(0x78))/0x7*(-parseInt(_0x13275d(0x68))/0x8)+parseInt(_0x13275d(0x69))/0x9;if(_0x481427===_0x4307d0)break;else _0x7ae828['push'](_0x7ae828['shift']());}catch(_0x1c1280){_0x7ae828['push'](_0x7ae828['shift']());}}}(a90_0x1a5b,0x7b9a7));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';export function mapUserFacingExecuteError(_0x281ba2){const _0x35f24c=a90_0x1f8a;if(_0x281ba2 instanceof LovrabetError){const _0x5414c5=userFacingLovrabetMessage(_0x281ba2),_0x5af3df=_0x281ba2,_0x5f32e7=createRateLimitError({'status':_0x5af3df[_0x35f24c(0x6b)],'errorCode':_0x5af3df[_0x35f24c(0x6f)],'message':_0x5414c5,'retryAfter':readRetryAfter(_0x5af3df[_0x35f24c(0x73)]?.[_0x35f24c(0x72)])??readRetryAfterSeconds(_0x5af3df[_0x35f24c(0x73)])});return _0x5f32e7??CliErrors[_0x35f24c(0x79)](_0x5414c5);}return _0x281ba2;}function a90_0x1f8a(_0x3684b0,_0x5dd27f){_0x3684b0=_0x3684b0-0x68;const _0x1a5bb2=a90_0x1a5b();let _0x1f8abd=_0x1a5bb2[_0x3684b0];return _0x1f8abd;}function userFacingLovrabetMessage(_0x11717c){const _0x5943db=a90_0x1f8a,_0x58442b=_0x11717c[_0x5943db(0x6a)];if(_0x58442b!==undefined&&_0x58442b!==null){if(typeof _0x58442b===_0x5943db(0x75)&&_0x58442b['trim']())return _0x58442b[_0x5943db(0x6c)]();try{return JSON[_0x5943db(0x74)](_0x58442b);}catch{}}return _0x11717c[_0x5943db(0x70)];}
1
+ (function(_0x32cbc0,_0x3e179f){const _0x338999=a90_0x3bda,_0x5f5a05=_0x32cbc0();while(!![]){try{const _0x58d50f=-parseInt(_0x338999(0x11e))/0x1*(parseInt(_0x338999(0x12c))/0x2)+parseInt(_0x338999(0x129))/0x3+parseInt(_0x338999(0x123))/0x4+parseInt(_0x338999(0x11d))/0x5*(-parseInt(_0x338999(0x125))/0x6)+parseInt(_0x338999(0x122))/0x7*(parseInt(_0x338999(0x126))/0x8)+-parseInt(_0x338999(0x127))/0x9*(-parseInt(_0x338999(0x120))/0xa)+-parseInt(_0x338999(0x124))/0xb*(-parseInt(_0x338999(0x128))/0xc);if(_0x58d50f===_0x3e179f)break;else _0x5f5a05['push'](_0x5f5a05['shift']());}catch(_0x319426){_0x5f5a05['push'](_0x5f5a05['shift']());}}}(a90_0x3e9a,0x816f2));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';function a90_0x3e9a(){const _0x4c52ad=['65IiXNsl','1FWdmNY','code','73930UpWaYL','message','497AEjdMB','404228XUnKIk','44ALLQXp','475458ieJfZq','80744zbPdjO','639yrZvBK','1146276bNaJYz','2092569lmwBlQ','string','response','1723714nNuwwW','stringify','description','trim','status'];a90_0x3e9a=function(){return _0x4c52ad;};return a90_0x3e9a();}import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';function a90_0x3bda(_0x572a87,_0x11e3ff){_0x572a87=_0x572a87-0x11d;const _0x3e9a81=a90_0x3e9a();let _0x3bdaf8=_0x3e9a81[_0x572a87];return _0x3bdaf8;}export function mapUserFacingExecuteError(_0x25a0ed){const _0x445343=a90_0x3bda;if(_0x25a0ed instanceof LovrabetError){const _0x11d277=userFacingLovrabetMessage(_0x25a0ed),_0x2a10e4=_0x25a0ed,_0x438aea=createRateLimitError({'status':_0x2a10e4[_0x445343(0x130)],'errorCode':_0x2a10e4[_0x445343(0x11f)],'message':_0x11d277,'retryAfter':readRetryAfter(_0x2a10e4[_0x445343(0x12b)]?.['headers'])??readRetryAfterSeconds(_0x2a10e4[_0x445343(0x12b)])});return _0x438aea??CliErrors['validation'](_0x11d277);}return _0x25a0ed;}function userFacingLovrabetMessage(_0x53d41d){const _0x5326f4=a90_0x3bda,_0x35e512=_0x53d41d[_0x5326f4(0x12e)];if(_0x35e512!==undefined&&_0x35e512!==null){if(typeof _0x35e512===_0x5326f4(0x12a)&&_0x35e512[_0x5326f4(0x12f)]())return _0x35e512[_0x5326f4(0x12f)]();try{return JSON[_0x5326f4(0x12d)](_0x35e512);}catch{}}return _0x53d41d[_0x5326f4(0x121)];}
@@ -1 +1 @@
1
- (function(_0xa4da33,_0x57d131){const _0x132398=a91_0x1576,_0x1d226e=_0xa4da33();while(!![]){try{const _0x5e153f=-parseInt(_0x132398(0x12d))/0x1+-parseInt(_0x132398(0x113))/0x2+parseInt(_0x132398(0x10f))/0x3*(parseInt(_0x132398(0x109))/0x4)+parseInt(_0x132398(0x128))/0x5+parseInt(_0x132398(0x102))/0x6*(parseInt(_0x132398(0x10a))/0x7)+parseInt(_0x132398(0x117))/0x8+-parseInt(_0x132398(0x11b))/0x9*(-parseInt(_0x132398(0x100))/0xa);if(_0x5e153f===_0x57d131)break;else _0x1d226e['push'](_0x1d226e['shift']());}catch(_0x355f7d){_0x1d226e['push'](_0x1d226e['shift']());}}}(a91_0x4786,0x2d8ef));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';function a91_0x1576(_0x5c5ee1,_0x5e0c3a){_0x5c5ee1=_0x5c5ee1-0xed;const _0x478619=a91_0x4786();let _0x1576e3=_0x478619[_0x5c5ee1];return _0x1576e3;}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(_0x14755f){const _0x1e3fb7=a91_0x1576;return void _0x14755f,AUTH_MODE[_0x1e3fb7(0x11c)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x560720,_0x4c70cb){const _0xe16907=a91_0x1576,_0x2ff13d=typeof _0x4c70cb[_0xe16907(0x12c)]==='string'&&_0x4c70cb[_0xe16907(0x12c)][_0xe16907(0x126)]();return{'rawFlags':_0x4c70cb,'appCode':_0x560720[_0xe16907(0x12b)]||productEnv('APPCODE')||(_0x2ff13d?undefined:readAppCodeFromConfig()),'appCodeSource':_0x560720[_0xe16907(0x10b)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x4c70cb),'defaultFormat':_0x560720[_0xe16907(0x108)],'defaultPageSize':_0x560720['pageSize'],'defaultVerbose':_0x560720[_0xe16907(0xfc)],'riskLevel':_0x560720[_0xe16907(0x104)],'accessKey':_0x560720[_0xe16907(0x115)],'env':_0x560720[_0xe16907(0x10c)],'mergedCli':{'defaultApp':_0x560720[_0xe16907(0xf7)],'currentApp':_0x560720[_0xe16907(0x121)],'appCode':_0x560720[_0xe16907(0x12b)]}};}export function createLovrabetRunnerAdapter(_0x3b421f={}){const _0x60189=a91_0x1576,_0x48241f={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x60189(0x10d)](_0x2b0933=>PIPELINE_FLAG_NAMES[_0x60189(0x116)](_0x2b0933[_0x60189(0xf0)]))['map'](({name:_0x3d78be,type:_0x4b0344,description:_0x24a67c})=>({'name':_0x3d78be,'type':_0x4b0344,'description':_0x24a67c})),'formatOutput':_0x3b421f['formatOutput']??formatOutput,'getCommandLabel'(_0x3c45fd){const _0x850860=_0x60189;return CLI_BIN_NAME+'\x20'+_0x3c45fd[_0x850860(0xf5)]+'\x20'+_0x3c45fd['command'];},'riskPolicy':{'onViolation'(_0x3760da){const _0x363df6=_0x60189;console[_0x363df6(0x127)](_0x3760da);},'createError'(_0x91fcda){return CliErrors['cancelled'](_0x91fcda);}},async 'prepare'(_0x1e304e,_0x499ee0){const _0x359788=_0x60189,_0x562800=resolveAuthMode(_0x499ee0);if(_0x1e304e[_0x359788(0x123)]!==![]){if(!_0x499ee0['accessKey'])throw CliErrors['authRequired'](_0x359788(0xfa)+PRODUCT_CONFIG['newConfigFileName']+_0x359788(0xf1)+productEnvName(_0x359788(0x106))+'.');const {setActiveAK:_0x29a805}=await import('../core/api-client.js');_0x29a805(_0x499ee0[_0x359788(0x115)]);}let _0x2c5158='';if(_0x1e304e[_0x359788(0x101)]!==![]){_0x2c5158=_0x499ee0['appCode']??'',_0x2c5158=await resolveExplicitAppName(_0x1e304e,_0x499ee0,_0x2c5158);if(!_0x2c5158){await assertSelectedAppNameIsRuntimeAccessible(_0x1e304e,_0x499ee0);throw CliErrors[_0x359788(0xef)](_0x359788(0x12a)+PRODUCT_CONFIG['newConfigFileName']+'.');}await assertAppCodeIsRuntimeAccessible(_0x1e304e,_0x499ee0,_0x2c5158);}if(_0x2c5158){const {initSdkClient:_0x8637c9}=await import(_0x359788(0x10e));_0x8637c9({'appCode':_0x2c5158,'env':_0x499ee0[_0x359788(0x10c)]??_0x359788(0x122),'accessKey':_0x499ee0['accessKey'],'authMode':_0x562800}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x499ee0[_0x359788(0x11d)]},'numbers':{'pagesize':_0x499ee0[_0x359788(0xf6)]}},'extras':{'appCode':_0x2c5158,'cookie':'','apiDomain':_0x499ee0[_0x359788(0x125)],'apiDir':'','accessKey':_0x499ee0[_0x359788(0x115)],'envName':_0x499ee0[_0x359788(0x10c)],'mergedCli':_0x499ee0[_0x359788(0x118)]}};},'confirmHighRisk':_0x3b421f[_0x60189(0x119)]??(async({def:_0x50af29,env:_0x13e9eb,flags:_0x3df348,commandLabel:_0x4a3a9d})=>{const _0x48a5a4=_0x60189;if(_0x13e9eb[_0x48a5a4(0x114)]){const _0x3dd895=reconstructCommandArgv(_0x50af29,_0x3df348);throw CliErrors[_0x48a5a4(0x112)](_0x48a5a4(0x111)+_0x4a3a9d+_0x48a5a4(0x120)+(_0x48a5a4(0x11e)+_0x3dd895));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x50af29,_0x4a3a9d,_0x3df348),'createCancelledError':_0x53bdad=>CliErrors[_0x48a5a4(0xff)](_0x53bdad)});}),'mapDryRunError'(_0x2fad6d){return mapUserFacingExecuteError(_0x2fad6d);},'mapExecuteError'(_0x549862){return mapUserFacingExecuteError(_0x549862);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x48241f;}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x368f3f=a91_0x1576;try{if(sdkClientInitialized){const {clearSdkClient:_0x512752}=await import(_0x368f3f(0x10e));_0x512752();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0xcd568b}=await import('../core/api-client.js');_0xcd568b();}}async function resolveExplicitAppName(_0x581622,_0x2c355d,_0x135dda){const _0x587f25=a91_0x1576;if(_0x581622[_0x587f25(0x101)]===![])return _0x135dda;const _0x6a4bfb=typeof _0x2c355d[_0x587f25(0xf4)][_0x587f25(0x12c)]===_0x587f25(0x110)?_0x2c355d['rawFlags']['app'][_0x587f25(0x126)]():'';if(!_0x6a4bfb)return _0x135dda;const _0xbc2192=typeof _0x2c355d[_0x587f25(0xf4)][_0x587f25(0x103)]==='string'&&_0x2c355d[_0x587f25(0xf4)][_0x587f25(0x103)]['trim']()||productEnv(_0x587f25(0x129));if(_0xbc2192||_0x2c355d['appCodeSource']===_0x587f25(0x12e))return _0x135dda;const {getRemoteAppList:_0x20400d}=await import(_0x587f25(0xed)),_0x6137aa=await _0x20400d({'env':_0x2c355d[_0x587f25(0x10c)]??_0x587f25(0x122),'accessKey':_0x2c355d['accessKey']}),_0x2334a2=findAppByName(_0x6137aa[_0x587f25(0x107)],_0x6a4bfb);if(_0x2334a2&&!isRuntimeAccessibleApp(_0x2334a2))throw runtimeInaccessibleAppError(_0x2334a2,'\x22'+_0x6a4bfb+'\x22');const _0x2436b5=_0x2334a2?.['appCode']?.[_0x587f25(0x126)]();if(_0x2436b5)return _0x2436b5;throw CliErrors[_0x587f25(0x112)]('Unknown\x20app:\x20'+_0x6a4bfb,'Run\x20`'+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x6a4bfb+_0x587f25(0x124)+PRODUCT_CONFIG[_0x587f25(0xfd)]+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x18aad7,_0xeaff96){const _0x4e2a25=a91_0x1576;if(_0x18aad7[_0x4e2a25(0x101)]===![]||!_0xeaff96[_0x4e2a25(0x115)])return;const _0x36df0c=(typeof _0xeaff96['rawFlags']['app']===_0x4e2a25(0x110)&&_0xeaff96[_0x4e2a25(0xf4)]['app'][_0x4e2a25(0x126)]()?_0xeaff96[_0x4e2a25(0xf4)]['app']:_0xeaff96['mergedCli']?.[_0x4e2a25(0x121)]??_0xeaff96['mergedCli']?.[_0x4e2a25(0xf7)])?.[_0x4e2a25(0x126)]();if(!_0x36df0c)return;const {getRemoteAppList:_0x43c855}=await import(_0x4e2a25(0xed)),_0x6031fd=await _0x43c855({'env':_0xeaff96['env']??_0x4e2a25(0x122),'accessKey':_0xeaff96['accessKey']}),_0x3e18b3=findAppByName(_0x6031fd[_0x4e2a25(0x107)],_0x36df0c);if(_0x3e18b3&&!isRuntimeAccessibleApp(_0x3e18b3))throw runtimeInaccessibleAppError(_0x3e18b3,'\x22'+_0x36df0c+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x6a6bee,_0x336bf3,_0x285d64){const _0x5327df=a91_0x1576;if(_0x6a6bee[_0x5327df(0x101)]===![]||!_0x336bf3[_0x5327df(0x115)])return;const {getRemoteAppList:_0x1b806f}=await import(_0x5327df(0xed)),_0x3aa495=await _0x1b806f({'env':_0x336bf3['env']??_0x5327df(0x122),'accessKey':_0x336bf3['accessKey']}),_0x2549d1=findAppByCode(_0x3aa495['items'],_0x285d64);if(_0x2549d1&&!isRuntimeAccessibleApp(_0x2549d1))throw runtimeInaccessibleAppError(_0x2549d1,_0x5327df(0xee)+_0x285d64+'\x22');}function a91_0x4786(){const _0xfa0377=['has','789336pbWfKI','mergedCli','confirmHighRisk','nonInteractive','72423QzUlrx','ClientAk','defaultVerbose','\x20\x20To\x20proceed:\x20','execute','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','currentApp','production','requiresAuth','.appcode\x20to\x20','apiDomain','trim','error','1079980UbbyOh','APPCODE','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','appCode','app','359631hTzvML','local-alias','../commands/app/remote-source.js','appcode\x20\x22','configMissing','name','\x20or\x20pass\x20','_notice','update','rawFlags','service','defaultPageSize','defaultApp','doctor','resolve','Set\x20accessKey\x20in\x20','schema','verbose','newConfigFileName','pretty','cancelled','110QjBFkb','requiresAppCode','66KggMgL','appcode','riskLevel','object','ACCESS_KEY','items','format','4PBmfVD','131985wLzgpJ','appCodeSource','env','filter','../core/sdk-client.js','861453SgoYLT','string','High-risk\x20operation\x20`','validation','702996ujkrwm','isNonInteractive','accessKey'];a91_0x4786=function(){return _0xfa0377;};return a91_0x4786();}export async function runCommand(_0x216c4a,_0x2ee5c4,_0x54b0e4=terminalRunnerAdapter){await runCommandWithAdapter(shouldAttachUpdateNotice(_0x216c4a)?withUpdateNotice(_0x216c4a):_0x216c4a,_0x2ee5c4,_0x54b0e4);}function shouldAttachUpdateNotice(_0x1b0598){const _0x38026d=a91_0x1576;return![_0x38026d(0xf3),_0x38026d(0xfb),_0x38026d(0xf8)]['includes'](_0x1b0598[_0x38026d(0xf5)]);}function withUpdateNotice(_0x59c1bb){return{..._0x59c1bb,async 'execute'(_0x49a22d){const _0x3826fc=a91_0x1576,_0x46eba6=shouldResolveUpdateNotice(_0x49a22d)?resolveLatestUpdateNotice()['catch'](()=>null):Promise[_0x3826fc(0xf9)](null),_0xdbedc=await _0x59c1bb[_0x3826fc(0x11f)](_0x49a22d);return attachUpdateNotice(_0xdbedc,await _0x46eba6);}};}function shouldResolveUpdateNotice(_0x34bc80){const _0xaee6d7=a91_0x1576;return _0x34bc80[_0xaee6d7(0x108)]===_0xaee6d7(0xfe)&&!_0x34bc80[_0xaee6d7(0x11a)];}function attachUpdateNotice(_0x499258,_0x2f752d){const _0x2b9f54=a91_0x1576;if(!_0x2f752d||!_0x499258||typeof _0x499258!==_0x2b9f54(0x105))return _0x499258;const _0x3a98b8=_0x499258,_0x2453de=typeof _0x3a98b8['_notice']===_0x2b9f54(0x105)&&_0x3a98b8[_0x2b9f54(0xf2)]!==null?_0x3a98b8[_0x2b9f54(0xf2)]:{};return{..._0x3a98b8,'_notice':{..._0x2453de,'update':_0x2f752d}};}
1
+ (function(_0x489fb1,_0x56cab2){const _0x540c7a=a91_0x1c6d,_0x2b12a0=_0x489fb1();while(!![]){try{const _0x599674=parseInt(_0x540c7a(0xb4))/0x1*(parseInt(_0x540c7a(0xb2))/0x2)+parseInt(_0x540c7a(0xa2))/0x3+-parseInt(_0x540c7a(0xcc))/0x4*(-parseInt(_0x540c7a(0xcb))/0x5)+parseInt(_0x540c7a(0x86))/0x6+parseInt(_0x540c7a(0x9d))/0x7*(parseInt(_0x540c7a(0xbe))/0x8)+parseInt(_0x540c7a(0x96))/0x9*(parseInt(_0x540c7a(0xc0))/0xa)+-parseInt(_0x540c7a(0xc5))/0xb;if(_0x599674===_0x56cab2)break;else _0x2b12a0['push'](_0x2b12a0['shift']());}catch(_0x525df0){_0x2b12a0['push'](_0x2b12a0['shift']());}}}(a91_0x15c4,0xb9ea4));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';import{resolveLatestUpdateNotice}from'../utils/update-notice.js';import{findAppByCode,findAppByName,isRuntimeAccessibleApp,runtimeInaccessibleAppError}from'../commands/app/eligibility.js';export function resolveAuthMode(_0x54da1d){const _0x56da42=a91_0x1c6d;return void _0x54da1d,AUTH_MODE[_0x56da42(0x9c)];}let sdkClientInitialized=![];export function createPipelineEnv(_0x2169ee,_0x47ce21){const _0x1664e8=a91_0x1c6d,_0x33e7ae=typeof _0x47ce21[_0x1664e8(0x94)]===_0x1664e8(0x92)&&_0x47ce21['app']['trim']();return{'rawFlags':_0x47ce21,'appCode':_0x2169ee[_0x1664e8(0xbb)]||productEnv('APPCODE')||(_0x33e7ae?undefined:readAppCodeFromConfig()),'appCodeSource':_0x2169ee['appCodeSource'],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x47ce21),'defaultFormat':_0x2169ee[_0x1664e8(0xab)],'defaultPageSize':_0x2169ee['pageSize'],'defaultVerbose':_0x2169ee[_0x1664e8(0xb1)],'riskLevel':_0x2169ee[_0x1664e8(0xaf)],'accessKey':_0x2169ee['accessKey'],'env':_0x2169ee[_0x1664e8(0xa1)],'mergedCli':{'defaultApp':_0x2169ee[_0x1664e8(0x9b)],'currentApp':_0x2169ee[_0x1664e8(0xaa)],'appCode':_0x2169ee['appCode']}};}export function createLovrabetRunnerAdapter(_0x106b47={}){const _0xe7880c=a91_0x1c6d,_0x4f428a={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0xe7880c(0x91)](_0x112b0c=>PIPELINE_FLAG_NAMES[_0xe7880c(0xa8)](_0x112b0c[_0xe7880c(0xc8)]))['map'](({name:_0x2994b8,type:_0x5de9b5,description:_0x5939e9})=>({'name':_0x2994b8,'type':_0x5de9b5,'description':_0x5939e9})),'formatOutput':_0x106b47[_0xe7880c(0xad)]??formatOutput,'getCommandLabel'(_0x239a3c){const _0x562ee4=_0xe7880c;return CLI_BIN_NAME+'\x20'+_0x239a3c[_0x562ee4(0xbd)]+'\x20'+_0x239a3c[_0x562ee4(0xac)];},'riskPolicy':{'onViolation'(_0x1c516a){const _0x5524dc=_0xe7880c;console[_0x5524dc(0x8d)](_0x1c516a);},'createError'(_0x1d1acb){return CliErrors['cancelled'](_0x1d1acb);}},async 'prepare'(_0x2ae35a,_0x456aa6){const _0x4ff289=_0xe7880c,_0x116f15=resolveAuthMode(_0x456aa6);if(_0x2ae35a[_0x4ff289(0xa7)]!==![]){if(!_0x456aa6[_0x4ff289(0x8b)])throw CliErrors[_0x4ff289(0xbf)](_0x4ff289(0xb9)+PRODUCT_CONFIG[_0x4ff289(0xb0)]+_0x4ff289(0x9f)+productEnvName(_0x4ff289(0x8a))+'.');const {setActiveAK:_0x1e6725}=await import('../core/api-client.js');_0x1e6725(_0x456aa6[_0x4ff289(0x8b)]);}let _0x535f50='';if(_0x2ae35a[_0x4ff289(0xc4)]!==![]){_0x535f50=_0x456aa6['appCode']??'',_0x535f50=await resolveExplicitAppName(_0x2ae35a,_0x456aa6,_0x535f50);if(!_0x535f50){await assertSelectedAppNameIsRuntimeAccessible(_0x2ae35a,_0x456aa6);throw CliErrors[_0x4ff289(0xa6)](_0x4ff289(0xc2)+PRODUCT_CONFIG[_0x4ff289(0xb0)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x2ae35a,_0x456aa6,_0x535f50);}if(_0x535f50){const {initSdkClient:_0x371d29}=await import(_0x4ff289(0x89));_0x371d29({'appCode':_0x535f50,'env':_0x456aa6[_0x4ff289(0xa1)]??'production','accessKey':_0x456aa6['accessKey'],'authMode':_0x116f15}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x456aa6[_0x4ff289(0xba)]},'numbers':{'pagesize':_0x456aa6[_0x4ff289(0xc9)]}},'extras':{'appCode':_0x535f50,'cookie':'','apiDomain':_0x456aa6[_0x4ff289(0x87)],'apiDir':'','accessKey':_0x456aa6[_0x4ff289(0x8b)],'envName':_0x456aa6[_0x4ff289(0xa1)],'mergedCli':_0x456aa6['mergedCli']}};},'confirmHighRisk':_0x106b47[_0xe7880c(0x8e)]??(async({def:_0x24e33c,env:_0x5db239,flags:_0x2a0975,commandLabel:_0x105a2a})=>{const _0x4904dd=_0xe7880c;if(_0x5db239[_0x4904dd(0xb6)]){const _0x375a5b=reconstructCommandArgv(_0x24e33c,_0x2a0975);throw CliErrors[_0x4904dd(0xb3)](_0x4904dd(0x93)+_0x105a2a+_0x4904dd(0x9e)+(_0x4904dd(0xca)+_0x375a5b));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x24e33c,_0x105a2a,_0x2a0975),'createCancelledError':_0x634a9=>CliErrors['cancelled'](_0x634a9)});}),'mapDryRunError'(_0x258ef4){return mapUserFacingExecuteError(_0x258ef4);},'mapExecuteError'(_0x3decb8){return mapUserFacingExecuteError(_0x3decb8);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x4f428a;}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0xca9e1f=a91_0x1c6d;try{if(sdkClientInitialized){const {clearSdkClient:_0x4a13d1}=await import(_0xca9e1f(0x89));_0x4a13d1();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x1ce151}=await import(_0xca9e1f(0xc6));_0x1ce151();}}async function resolveExplicitAppName(_0x315eb7,_0x4aba6f,_0x4971f9){const _0x421dab=a91_0x1c6d;if(_0x315eb7[_0x421dab(0xc4)]===![])return _0x4971f9;const _0x4916f1=typeof _0x4aba6f[_0x421dab(0x8f)][_0x421dab(0x94)]===_0x421dab(0x92)?_0x4aba6f[_0x421dab(0x8f)]['app']['trim']():'';if(!_0x4916f1)return _0x4971f9;const _0x14c937=typeof _0x4aba6f[_0x421dab(0x8f)]['appcode']==='string'&&_0x4aba6f[_0x421dab(0x8f)]['appcode'][_0x421dab(0xa5)]()||productEnv(_0x421dab(0xbc));if(_0x14c937||_0x4aba6f[_0x421dab(0xa0)]===_0x421dab(0xc7))return _0x4971f9;const {getRemoteAppList:_0x2f35a3}=await import(_0x421dab(0xc1)),_0x5c1f6b=await _0x2f35a3({'env':_0x4aba6f[_0x421dab(0xa1)]??_0x421dab(0xae),'accessKey':_0x4aba6f[_0x421dab(0x8b)]}),_0x50767e=findAppByName(_0x5c1f6b['items'],_0x4916f1);if(_0x50767e&&!isRuntimeAccessibleApp(_0x50767e))throw runtimeInaccessibleAppError(_0x50767e,'\x22'+_0x4916f1+'\x22');const _0x2c26d3=_0x50767e?.[_0x421dab(0xbb)]?.[_0x421dab(0xa5)]();if(_0x2c26d3)return _0x2c26d3;throw CliErrors['validation'](_0x421dab(0xb8)+_0x4916f1,_0x421dab(0x88)+CLI_BIN_NAME+'\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.'+_0x4916f1+'.appcode\x20to\x20'+PRODUCT_CONFIG['newConfigFileName']+'.');}async function assertSelectedAppNameIsRuntimeAccessible(_0x1b6c32,_0x183a10){const _0x2d76cc=a91_0x1c6d;if(_0x1b6c32[_0x2d76cc(0xc4)]===![]||!_0x183a10[_0x2d76cc(0x8b)])return;const _0x4a2a4b=(typeof _0x183a10[_0x2d76cc(0x8f)]['app']===_0x2d76cc(0x92)&&_0x183a10[_0x2d76cc(0x8f)][_0x2d76cc(0x94)][_0x2d76cc(0xa5)]()?_0x183a10['rawFlags']['app']:_0x183a10['mergedCli']?.['currentApp']??_0x183a10[_0x2d76cc(0xa3)]?.[_0x2d76cc(0x9b)])?.[_0x2d76cc(0xa5)]();if(!_0x4a2a4b)return;const {getRemoteAppList:_0x1ffbac}=await import(_0x2d76cc(0xc1)),_0x1ab042=await _0x1ffbac({'env':_0x183a10[_0x2d76cc(0xa1)]??'production','accessKey':_0x183a10['accessKey']}),_0x5f4970=findAppByName(_0x1ab042[_0x2d76cc(0x9a)],_0x4a2a4b);if(_0x5f4970&&!isRuntimeAccessibleApp(_0x5f4970))throw runtimeInaccessibleAppError(_0x5f4970,'\x22'+_0x4a2a4b+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0xe8c69f,_0x45801f,_0xb34a3){const _0x460fb0=a91_0x1c6d;if(_0xe8c69f[_0x460fb0(0xc4)]===![]||!_0x45801f['accessKey'])return;const {getRemoteAppList:_0x2ebcc9}=await import('../commands/app/remote-source.js'),_0x5fc7ba=await _0x2ebcc9({'env':_0x45801f[_0x460fb0(0xa1)]??_0x460fb0(0xae),'accessKey':_0x45801f[_0x460fb0(0x8b)]}),_0x48b911=findAppByCode(_0x5fc7ba[_0x460fb0(0x9a)],_0xb34a3);if(_0x48b911&&!isRuntimeAccessibleApp(_0x48b911))throw runtimeInaccessibleAppError(_0x48b911,_0x460fb0(0x85)+_0xb34a3+'\x22');}export async function runCommand(_0xb64d2a,_0x23acb5,_0x153def=terminalRunnerAdapter){await runCommandWithAdapter(shouldAttachUpdateNotice(_0xb64d2a)?withUpdateNotice(_0xb64d2a):_0xb64d2a,_0x23acb5,_0x153def);}function shouldAttachUpdateNotice(_0x253f8a){const _0xeef279=a91_0x1c6d;return![_0xeef279(0xb7),_0xeef279(0x8c),_0xeef279(0xc3)][_0xeef279(0x97)](_0x253f8a[_0xeef279(0xbd)]);}function a91_0x1c6d(_0x151518,_0x591b51){_0x151518=_0x151518-0x85;const _0x15c448=a91_0x15c4();let _0x1c6da9=_0x15c448[_0x151518];return _0x1c6da9;}function withUpdateNotice(_0x5b015d){return{..._0x5b015d,async 'execute'(_0x567994){const _0x54b3a6=a91_0x1c6d,_0x3b3e76=shouldResolveUpdateNotice(_0x567994)?resolveLatestUpdateNotice()[_0x54b3a6(0xa9)](()=>null):Promise[_0x54b3a6(0x98)](null),_0x240019=await _0x5b015d[_0x54b3a6(0x95)](_0x567994);return attachUpdateNotice(_0x240019,await _0x3b3e76);}};}function a91_0x15c4(){const _0x9a2fbb=['requiresAppCode','22847176nutLvI','../core/api-client.js','local-alias','name','defaultPageSize','\x20\x20To\x20proceed:\x20','368550gTaATu','12goHdbi','appcode\x20\x22','248088GyVJga','apiDomain','Run\x20`','../core/sdk-client.js','ACCESS_KEY','accessKey','schema','error','confirmHighRisk','rawFlags','object','filter','string','High-risk\x20operation\x20`','app','execute','88407rtPXtk','includes','resolve','nonInteractive','items','defaultApp','ClientAk','7WtWMAz','`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a','\x20or\x20pass\x20','appCodeSource','env','1176306pixlKm','mergedCli','_notice','trim','configMissing','requiresAuth','has','catch','currentApp','format','command','formatOutput','production','riskLevel','newConfigFileName','verbose','120wgRorf','validation','16794WFETrD','pretty','isNonInteractive','update','Unknown\x20app:\x20','Set\x20accessKey\x20in\x20','defaultVerbose','appCode','APPCODE','service','8860344KLEnXk','authRequired','70OiNkwZ','../commands/app/remote-source.js','Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20','doctor'];a91_0x15c4=function(){return _0x9a2fbb;};return a91_0x15c4();}function shouldResolveUpdateNotice(_0x110f11){const _0xc18b2e=a91_0x1c6d;return _0x110f11[_0xc18b2e(0xab)]===_0xc18b2e(0xb5)&&!_0x110f11[_0xc18b2e(0x99)];}function attachUpdateNotice(_0xe96ce3,_0x4a9911){const _0x32a6ea=a91_0x1c6d;if(!_0x4a9911||!_0xe96ce3||typeof _0xe96ce3!=='object')return _0xe96ce3;const _0x487e36=_0xe96ce3,_0x33af63=typeof _0x487e36[_0x32a6ea(0xa4)]===_0x32a6ea(0x90)&&_0x487e36[_0x32a6ea(0xa4)]!==null?_0x487e36[_0x32a6ea(0xa4)]:{};return{..._0x487e36,'_notice':{..._0x33af63,'update':_0x4a9911}};}
@@ -1 +1 @@
1
- (function(_0x21c107,_0x266fb2){const _0xc0b7c3=a92_0x3890,_0x1b102c=_0x21c107();while(!![]){try{const _0x1ecd7b=parseInt(_0xc0b7c3(0x1c4))/0x1+parseInt(_0xc0b7c3(0x1be))/0x2+-parseInt(_0xc0b7c3(0x1cc))/0x3+parseInt(_0xc0b7c3(0x1c0))/0x4*(parseInt(_0xc0b7c3(0x1c7))/0x5)+parseInt(_0xc0b7c3(0x1c9))/0x6+parseInt(_0xc0b7c3(0x1ca))/0x7+-parseInt(_0xc0b7c3(0x1c8))/0x8;if(_0x1ecd7b===_0x266fb2)break;else _0x1b102c['push'](_0x1b102c['shift']());}catch(_0x3b2538){_0x1b102c['push'](_0x1b102c['shift']());}}}(a92_0x5398,0x66c2e));import{buildSchemaPayload as a92_0x2acc4d}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';function a92_0x5398(){const _0x4d2e57=['filter','456753XBAzcx','service','required','412220LpepoR','services','34112NzycjT','map','requiresAuth','commands','96864khtYZu','none','../commands/registry.js','205vgIxDj','6102024yBsiLI','2310780jrYMed','2087134HtAwUx'];a92_0x5398=function(){return _0x4d2e57;};return a92_0x5398();}import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x48feb6=a92_0x3890,{serviceRegistry:_0x27e3e3,findDefinition:_0x322912}=await import(_0x48feb6(0x1c6)),_0x14f860=new Set(_0x27e3e3[_0x48feb6(0x1c1)](_0x5473a4=>_0x5473a4['service'])),_0x3292a3=listDynamicServiceEntries()[_0x48feb6(0x1cb)](_0x11fbfb=>!_0x14f860['has'](_0x11fbfb[_0x48feb6(0x1bc)])),_0x5f398f=a92_0x2acc4d({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x27e3e3,_0x3292a3),'buildAllFlags':buildAllFlags,'findDefinition':(_0x96e91c,_0x2c685e)=>_0x322912(_0x96e91c,_0x2c685e)??findDynamicServiceDefinition(_0x96e91c,_0x2c685e)});return normalizeSchemaPayload(_0x5f398f);}function normalizeSchemaPayload(_0x470c37){const _0x3885f1=a92_0x3890;return{..._0x470c37,'schemaVersion':0x2,'services':_0x470c37[_0x3885f1(0x1bf)]['map'](_0x38b2e6=>({..._0x38b2e6,'commands':_0x38b2e6[_0x3885f1(0x1c3)][_0x3885f1(0x1c1)](normalizeSchemaCommand)}))};}function a92_0x3890(_0xadb46c,_0x272820){_0xadb46c=_0xadb46c-0x1bc;const _0x5398a2=a92_0x5398();let _0x3890c7=_0x5398a2[_0xadb46c];return _0x3890c7;}function normalizeSchemaCommand(_0x38c96c){const _0x41f3fb=a92_0x3890,_0x4c102f=_0x38c96c;return{..._0x38c96c,'auth':_0x4c102f['auth']??(_0x38c96c[_0x41f3fb(0x1c2)]?_0x41f3fb(0x1bd):_0x41f3fb(0x1c5))};}
1
+ (function(_0x1edf14,_0x2e9008){const _0x43826b=a92_0x1a0b,_0x3e11a6=_0x1edf14();while(!![]){try{const _0x1a8383=-parseInt(_0x43826b(0xc7))/0x1+-parseInt(_0x43826b(0xcd))/0x2+parseInt(_0x43826b(0xc4))/0x3+parseInt(_0x43826b(0xc0))/0x4+parseInt(_0x43826b(0xc1))/0x5*(-parseInt(_0x43826b(0xce))/0x6)+parseInt(_0x43826b(0xc9))/0x7*(-parseInt(_0x43826b(0xc8))/0x8)+parseInt(_0x43826b(0xd0))/0x9*(parseInt(_0x43826b(0xc6))/0xa);if(_0x1a8383===_0x2e9008)break;else _0x3e11a6['push'](_0x3e11a6['shift']());}catch(_0x475a4e){_0x3e11a6['push'](_0x3e11a6['shift']());}}}(a92_0x10a8,0x40d31));import{buildSchemaPayload as a92_0x101b58}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';function a92_0x10a8(){const _0x2240a3=['none','1278270VkJrqd','../commands/registry.js','10PGvQRR','378507LEnbyA','520ASBmzD','38528ZpXAZF','commands','auth','services','785820WERbiS','120EfDdBd','map','8852706EMWpRx','has','required','1712616afFuYc','110795MZgYAw','service'];a92_0x10a8=function(){return _0x2240a3;};return a92_0x10a8();}import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0x1f6e9d=a92_0x1a0b,{serviceRegistry:_0x2e683f,findDefinition:_0x28a620}=await import(_0x1f6e9d(0xc5)),_0x4ddceb=new Set(_0x2e683f[_0x1f6e9d(0xcf)](_0x29e22e=>_0x29e22e[_0x1f6e9d(0xc2)])),_0x27fd1e=listDynamicServiceEntries()['filter'](_0xa03f44=>!_0x4ddceb[_0x1f6e9d(0xd1)](_0xa03f44['service'])),_0x51a7f1=a92_0x101b58({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x2e683f,_0x27fd1e),'buildAllFlags':buildAllFlags,'findDefinition':(_0x39c999,_0x19e92f)=>_0x28a620(_0x39c999,_0x19e92f)??findDynamicServiceDefinition(_0x39c999,_0x19e92f)});return normalizeSchemaPayload(_0x51a7f1);}function a92_0x1a0b(_0x5ebef9,_0x2e1f4f){_0x5ebef9=_0x5ebef9-0xbf;const _0x10a8f0=a92_0x10a8();let _0x1a0b4d=_0x10a8f0[_0x5ebef9];return _0x1a0b4d;}function normalizeSchemaPayload(_0x1bdfe8){const _0x3e3030=a92_0x1a0b;return{..._0x1bdfe8,'schemaVersion':0x2,'services':_0x1bdfe8[_0x3e3030(0xcc)][_0x3e3030(0xcf)](_0x5f133d=>({..._0x5f133d,'commands':_0x5f133d[_0x3e3030(0xca)][_0x3e3030(0xcf)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x377071){const _0x3b5497=a92_0x1a0b,_0x23ebae=_0x377071;return{..._0x377071,'auth':_0x23ebae[_0x3b5497(0xcb)]??(_0x377071['requiresAuth']?_0x3b5497(0xbf):_0x3b5497(0xc3))};}
@@ -1 +1 @@
1
- function a93_0x4e8f(_0xc36cea,_0x32995d){_0xc36cea=_0xc36cea-0x13c;const _0x53929d=a93_0x5392();let _0x4e8f3d=_0x53929d[_0xc36cea];return _0x4e8f3d;}(function(_0xeefbb7,_0x1cbeae){const _0x327be7=a93_0x4e8f,_0x14b0f9=_0xeefbb7();while(!![]){try{const _0x5f9952=parseInt(_0x327be7(0x13c))/0x1*(-parseInt(_0x327be7(0x148))/0x2)+-parseInt(_0x327be7(0x13d))/0x3+parseInt(_0x327be7(0x146))/0x4*(-parseInt(_0x327be7(0x144))/0x5)+-parseInt(_0x327be7(0x13f))/0x6+-parseInt(_0x327be7(0x147))/0x7*(-parseInt(_0x327be7(0x13e))/0x8)+-parseInt(_0x327be7(0x141))/0x9*(parseInt(_0x327be7(0x143))/0xa)+parseInt(_0x327be7(0x142))/0xb*(parseInt(_0x327be7(0x145))/0xc);if(_0x5f9952===_0x1cbeae)break;else _0x14b0f9['push'](_0x14b0f9['shift']());}catch(_0xe380df){_0x14b0f9['push'](_0x14b0f9['shift']());}}}(a93_0x5392,0x7bf75));function a93_0x5392(){const _0x56843d=['2649114QDrLHr','service','459uAuXsz','17256129cPhszT','64080FendyT','3924115suFrdw','24tlhYwU','4XBRguu','154651xzOeLA','83134FFmVvo','findIndex','slice','24PsPlnm','1363608QaSjqT','136hUtlra'];a93_0x5392=function(){return _0x56843d;};return a93_0x5392();}export function insertDynamicServicesAfterServiceTree(_0x251029,_0x26e7fb){const _0x168264=a93_0x4e8f;if(_0x26e7fb['length']===0x0)return[..._0x251029];const _0x235ef5=_0x251029[_0x168264(0x149)](_0x43838e=>_0x43838e[_0x168264(0x140)]===_0x168264(0x140));if(_0x235ef5<0x0)return[..._0x251029,..._0x26e7fb];return[..._0x251029[_0x168264(0x14a)](0x0,_0x235ef5+0x1),..._0x26e7fb,..._0x251029['slice'](_0x235ef5+0x1)];}
1
+ (function(_0x2b0054,_0x54b013){const _0x46f8bc=a93_0x4256,_0x27ca35=_0x2b0054();while(!![]){try{const _0x557824=parseInt(_0x46f8bc(0x6f))/0x1+-parseInt(_0x46f8bc(0x70))/0x2+parseInt(_0x46f8bc(0x73))/0x3+parseInt(_0x46f8bc(0x72))/0x4+parseInt(_0x46f8bc(0x6e))/0x5+-parseInt(_0x46f8bc(0x6c))/0x6+-parseInt(_0x46f8bc(0x6d))/0x7;if(_0x557824===_0x54b013)break;else _0x27ca35['push'](_0x27ca35['shift']());}catch(_0x4d0104){_0x27ca35['push'](_0x27ca35['shift']());}}}(a93_0x338f,0x40598));export function insertDynamicServicesAfterServiceTree(_0x10bfff,_0x5b0599){const _0x5342db=a93_0x4256;if(_0x5b0599['length']===0x0)return[..._0x10bfff];const _0x143a33=_0x10bfff[_0x5342db(0x71)](_0x6c9d4c=>_0x6c9d4c['service']===_0x5342db(0x74));if(_0x143a33<0x0)return[..._0x10bfff,..._0x5b0599];return[..._0x10bfff[_0x5342db(0x6b)](0x0,_0x143a33+0x1),..._0x5b0599,..._0x10bfff[_0x5342db(0x6b)](_0x143a33+0x1)];}function a93_0x4256(_0x17d63f,_0x5a213e){_0x17d63f=_0x17d63f-0x6b;const _0x338f22=a93_0x338f();let _0x4256c1=_0x338f22[_0x17d63f];return _0x4256c1;}function a93_0x338f(){const _0x20cf7a=['1035524DqdSNz','findIndex','324832LDSnIb','1481457lXTSzX','service','slice','1700148QhHeRv','1787877exuRFl','1616370GbCOch','421806FObqGm'];a93_0x338f=function(){return _0x20cf7a;};return a93_0x338f();}
@@ -1 +1 @@
1
- (function(_0xc695fa,_0x506f70){var _0x3bb33a=a94_0x295d,_0x143f98=_0xc695fa();while(!![]){try{var _0x2bb79d=-parseInt(_0x3bb33a(0x1af))/0x1*(parseInt(_0x3bb33a(0x1b1))/0x2)+-parseInt(_0x3bb33a(0x1ae))/0x3*(parseInt(_0x3bb33a(0x1b2))/0x4)+parseInt(_0x3bb33a(0x1ab))/0x5+parseInt(_0x3bb33a(0x1a9))/0x6+-parseInt(_0x3bb33a(0x1ac))/0x7+-parseInt(_0x3bb33a(0x1aa))/0x8*(parseInt(_0x3bb33a(0x1b0))/0x9)+parseInt(_0x3bb33a(0x1ad))/0xa;if(_0x2bb79d===_0x506f70)break;else _0x143f98['push'](_0x143f98['shift']());}catch(_0x1c3c73){_0x143f98['push'](_0x143f98['shift']());}}}(a94_0x33c4,0x853d7));export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';function a94_0x295d(_0x5bddb3,_0x471f5a){_0x5bddb3=_0x5bddb3-0x1a9;var _0x33c420=a94_0x33c4();var _0x295d6f=_0x33c420[_0x5bddb3];return _0x295d6f;}function a94_0x33c4(){var _0x1edf51=['31310400UDiWNp','57KeXDWW','264515FiSqYf','1611fWnOip','6TwomVp','151764Idgqck','4379514ZItkvw','44504tikVwW','1193845MErOmq','7306432hIBsFa'];a94_0x33c4=function(){return _0x1edf51;};return a94_0x33c4();}
1
+ function a94_0x3318(_0x1dc5e7,_0x57b3f3){_0x1dc5e7=_0x1dc5e7-0x9d;var _0x595486=a94_0x5954();var _0x3318a6=_0x595486[_0x1dc5e7];return _0x3318a6;}(function(_0x2732cb,_0x5b0d79){var _0x311a2a=a94_0x3318,_0x30b776=_0x2732cb();while(!![]){try{var _0x181478=-parseInt(_0x311a2a(0x9d))/0x1*(parseInt(_0x311a2a(0xa3))/0x2)+parseInt(_0x311a2a(0x9f))/0x3*(-parseInt(_0x311a2a(0xa4))/0x4)+parseInt(_0x311a2a(0xa6))/0x5+-parseInt(_0x311a2a(0xa1))/0x6+parseInt(_0x311a2a(0xa0))/0x7+parseInt(_0x311a2a(0xa2))/0x8*(-parseInt(_0x311a2a(0x9e))/0x9)+parseInt(_0x311a2a(0xa5))/0xa;if(_0x181478===_0x5b0d79)break;else _0x30b776['push'](_0x30b776['shift']());}catch(_0x262697){_0x30b776['push'](_0x30b776['shift']());}}}(a94_0x5954,0xf1055));function a94_0x5954(){var _0x2ef82a=['328542gGkdwa','4320916FRBjdP','17962040NdmKSQ','7887765GjaROF','7Dwshpk','52848usedXo','3rKptqN','7631001BCNUTi','6704214ZdCLph','176xmWSHM'];a94_0x5954=function(){return _0x2ef82a;};return a94_0x5954();}export{riskLevelOrder,normalizeLegacyOutputFormat,isValidFormat}from'@lovrabet/cli-framework';
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "2.1.18-beta.2";
2
- export declare const GIT_TAG = "v2.1.18-beta.2";
3
- export declare const GIT_COMMIT = "cce990d";
4
- export declare const BUILD_TIME = "2026-07-28T11:14:45.373Z";
1
+ export declare const VERSION = "2.1.18";
2
+ export declare const GIT_TAG = "v2.1.18-beta.3";
3
+ export declare const GIT_COMMIT = "835e653";
4
+ export declare const BUILD_TIME = "2026-07-30T11:21:19.193Z";
@@ -1 +1 @@
1
- function a95_0x42df(){const _0x9f4a2e=['1264248McZhKj','99LZCOxQ','36557EAQBSC','1187290xbsUUc','2.1.18-beta.2','1055UcBLjB','22337uLwTfA','2026-07-28T11:14:45.373Z','3880xoWZlv','6048732JQNFhq','19985504ggRQny','56xMKzdV','v2.1.18-beta.2','cce990d','47010fzrOub'];a95_0x42df=function(){return _0x9f4a2e;};return a95_0x42df();}const a95_0x4f389e=a95_0x35b9;(function(_0x2db3e5,_0x3ef598){const _0x2f5b90=a95_0x35b9,_0x23a147=_0x2db3e5();while(!![]){try{const _0x5e5544=-parseInt(_0x2f5b90(0x118))/0x1*(parseInt(_0x2f5b90(0x121))/0x2)+parseInt(_0x2f5b90(0x116))/0x3+-parseInt(_0x2f5b90(0x11f))/0x4+parseInt(_0x2f5b90(0x11b))/0x5*(-parseInt(_0x2f5b90(0x115))/0x6)+-parseInt(_0x2f5b90(0x11c))/0x7*(-parseInt(_0x2f5b90(0x11e))/0x8)+-parseInt(_0x2f5b90(0x117))/0x9*(-parseInt(_0x2f5b90(0x119))/0xa)+parseInt(_0x2f5b90(0x120))/0xb;if(_0x5e5544===_0x3ef598)break;else _0x23a147['push'](_0x23a147['shift']());}catch(_0xa8fa92){_0x23a147['push'](_0x23a147['shift']());}}}(a95_0x42df,0xdc73a));export const VERSION=a95_0x4f389e(0x11a);function a95_0x35b9(_0x39ef86,_0x42739a){_0x39ef86=_0x39ef86-0x114;const _0x42dfb9=a95_0x42df();let _0x35b9a8=_0x42dfb9[_0x39ef86];return _0x35b9a8;}export const GIT_TAG=a95_0x4f389e(0x122);export const GIT_COMMIT=a95_0x4f389e(0x114);export const BUILD_TIME=a95_0x4f389e(0x11d);
1
+ const a95_0x44f9ec=a95_0x4418;(function(_0xeb906b,_0x592252){const _0x566ba2=a95_0x4418,_0x4009d3=_0xeb906b();while(!![]){try{const _0x29ebbb=parseInt(_0x566ba2(0x167))/0x1*(-parseInt(_0x566ba2(0x174))/0x2)+parseInt(_0x566ba2(0x168))/0x3+parseInt(_0x566ba2(0x172))/0x4+parseInt(_0x566ba2(0x16f))/0x5*(-parseInt(_0x566ba2(0x16c))/0x6)+-parseInt(_0x566ba2(0x16e))/0x7*(-parseInt(_0x566ba2(0x169))/0x8)+parseInt(_0x566ba2(0x170))/0x9*(-parseInt(_0x566ba2(0x16d))/0xa)+parseInt(_0x566ba2(0x171))/0xb;if(_0x29ebbb===_0x592252)break;else _0x4009d3['push'](_0x4009d3['shift']());}catch(_0x1e8621){_0x4009d3['push'](_0x4009d3['shift']());}}}(a95_0x41f7,0xc75f3));export const VERSION=a95_0x44f9ec(0x173);export const GIT_TAG=a95_0x44f9ec(0x166);function a95_0x41f7(){const _0x1fa976=['3062545MRuYVK','3303pGojSO','23365969MtsLyz','1272840hzRqRz','2.1.18','2RLuidE','v2.1.18-beta.3','1061569PcNsQp','404652fIXXUv','8zUwkho','835e653','2026-07-30T11:21:19.193Z','6NthMQr','17180wuPkGZ','3807566nCTctf'];a95_0x41f7=function(){return _0x1fa976;};return a95_0x41f7();}export const GIT_COMMIT=a95_0x44f9ec(0x16a);function a95_0x4418(_0x1584b0,_0x47f3ca){_0x1584b0=_0x1584b0-0x166;const _0x41f711=a95_0x41f7();let _0x4418de=_0x41f711[_0x1584b0];return _0x4418de;}export const BUILD_TIME=a95_0x44f9ec(0x16b);
package/lib/help.js CHANGED
@@ -1 +1 @@
1
- (function(_0x18e677,_0x27ae4){const _0x3605d1=a96_0x216c,_0x539c09=_0x18e677();while(!![]){try{const _0x499af5=parseInt(_0x3605d1(0x1e0))/0x1+parseInt(_0x3605d1(0x1dd))/0x2+-parseInt(_0x3605d1(0x1d6))/0x3*(parseInt(_0x3605d1(0x1d7))/0x4)+-parseInt(_0x3605d1(0x1da))/0x5*(-parseInt(_0x3605d1(0x1d8))/0x6)+parseInt(_0x3605d1(0x1db))/0x7*(-parseInt(_0x3605d1(0x1d9))/0x8)+-parseInt(_0x3605d1(0x1d5))/0x9+-parseInt(_0x3605d1(0x1d4))/0xa;if(_0x499af5===_0x27ae4)break;else _0x539c09['push'](_0x539c09['shift']());}catch(_0x54e966){_0x539c09['push'](_0x539c09['shift']());}}}(a96_0x531c,0xe4318));import{jsx as a96_0x514c4c,jsxs as a96_0x6e62f4}from'react/jsx-runtime';function a96_0x216c(_0x1366d6,_0x404112){_0x1366d6=_0x1366d6-0x1d3;const _0x531ccb=a96_0x531c();let _0x216ce1=_0x531ccb[_0x1366d6];return _0x216ce1;}import{useEffect}from'react';import{Box,Text,useApp}from'ink';function a96_0x531c(){const _0x3c92c3=['13935474tJjhvK','124317pzLbjH','36DVmhMr','5557890aJNKBJ','656QwEgQW','10rawyfE','49238snmnNf','\x20to\x20view\x20available\x20commands.','3269062teDLnb','green','\x20\x20Use\x20','15671CkvtcS','column','700270cNwpsc'];a96_0x531c=function(){return _0x3c92c3;};return a96_0x531c();}import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x37835a=a96_0x216c,{exit:_0x49a82e}=useApp();return useEffect(()=>{_0x49a82e();},[_0x49a82e]),a96_0x6e62f4(Box,{'flexDirection':_0x37835a(0x1d3),'marginTop':0x1,'marginBottom':0x1,'children':[a96_0x514c4c(Box,{'children':a96_0x514c4c(Text,{'bold':!![],'color':_0x37835a(0x1de),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a96_0x6e62f4(Box,{'marginTop':0x1,'children':[a96_0x514c4c(Text,{'dimColor':!![],'children':_0x37835a(0x1df)}),a96_0x514c4c(Text,{'bold':!![],'color':_0x37835a(0x1de),'children':CLI_BIN_NAME+'\x20--help'}),a96_0x514c4c(Text,{'dimColor':!![],'children':_0x37835a(0x1dc)})]})]});}
1
+ function a96_0x104c(_0xc0ae78,_0x374ad5){_0xc0ae78=_0xc0ae78-0x1b3;const _0x3fca2e=a96_0x3fca();let _0x104c87=_0x3fca2e[_0xc0ae78];return _0x104c87;}function a96_0x3fca(){const _0x4e37d7=['7fBIhfO','180DgBocv','\x20--help','\x20to\x20view\x20available\x20commands.','8469744pVKVIA','47905kGxlWu','1703256ejRALA','42579wFCCtx','215BQzUnb','\x20\x20Use\x20','265204NyZhDU','column','7HRNlNN','3489567XJgvSG','57534SjXnzs','4JdJfvc','green'];a96_0x3fca=function(){return _0x4e37d7;};return a96_0x3fca();}(function(_0x495536,_0x1c0077){const _0x3d3f05=a96_0x104c,_0x4446d3=_0x495536();while(!![]){try{const _0xdcbdf9=-parseInt(_0x3d3f05(0x1b4))/0x1*(-parseInt(_0x3d3f05(0x1c3))/0x2)+-parseInt(_0x3d3f05(0x1b5))/0x3*(parseInt(_0x3d3f05(0x1b7))/0x4)+-parseInt(_0x3d3f05(0x1c1))/0x5*(-parseInt(_0x3d3f05(0x1b6))/0x6)+parseInt(_0x3d3f05(0x1b9))/0x7*(-parseInt(_0x3d3f05(0x1bf))/0x8)+-parseInt(_0x3d3f05(0x1c0))/0x9+-parseInt(_0x3d3f05(0x1ba))/0xa*(parseInt(_0x3d3f05(0x1be))/0xb)+parseInt(_0x3d3f05(0x1bd))/0xc;if(_0xdcbdf9===_0x1c0077)break;else _0x4446d3['push'](_0x4446d3['shift']());}catch(_0x3882c6){_0x4446d3['push'](_0x4446d3['shift']());}}}(a96_0x3fca,0x8f580));import{jsx as a96_0x43d1ee,jsxs as a96_0x4f4330}from'react/jsx-runtime';import{useEffect}from'react';import{Box,Text,useApp}from'ink';import{CLI_BIN_NAME,CLI_DISPLAY_NAME}from'./constant/cli.js';export function Help(){const _0x37f702=a96_0x104c,{exit:_0x2b16dd}=useApp();return useEffect(()=>{_0x2b16dd();},[_0x2b16dd]),a96_0x4f4330(Box,{'flexDirection':_0x37f702(0x1b3),'marginTop':0x1,'marginBottom':0x1,'children':[a96_0x43d1ee(Box,{'children':a96_0x43d1ee(Text,{'bold':!![],'color':_0x37f702(0x1b8),'children':'\x20\x20'+CLI_DISPLAY_NAME})}),a96_0x4f4330(Box,{'marginTop':0x1,'children':[a96_0x43d1ee(Text,{'dimColor':!![],'children':_0x37f702(0x1c2)}),a96_0x43d1ee(Text,{'bold':!![],'color':_0x37f702(0x1b8),'children':CLI_BIN_NAME+_0x37f702(0x1bb)}),a96_0x43d1ee(Text,{'dimColor':!![],'children':_0x37f702(0x1bc)})]})]});}
@@ -1 +1 @@
1
- (function(_0x52e099,_0xbc8c4a){const _0x2a7fbd=a97_0x5e74,_0x4bf26e=_0x52e099();while(!![]){try{const _0x4645e9=-parseInt(_0x2a7fbd(0x1ae))/0x1+parseInt(_0x2a7fbd(0x1b2))/0x2*(parseInt(_0x2a7fbd(0x1aa))/0x3)+-parseInt(_0x2a7fbd(0x1b1))/0x4+parseInt(_0x2a7fbd(0x1b4))/0x5+parseInt(_0x2a7fbd(0x1b5))/0x6*(parseInt(_0x2a7fbd(0x1b0))/0x7)+-parseInt(_0x2a7fbd(0x1ac))/0x8*(parseInt(_0x2a7fbd(0x1ad))/0x9)+parseInt(_0x2a7fbd(0x1b3))/0xa;if(_0x4645e9===_0xbc8c4a)break;else _0x4bf26e['push'](_0x4bf26e['shift']());}catch(_0x5e0f86){_0x4bf26e['push'](_0x4bf26e['shift']());}}}(a97_0x3067,0x582bb));export function canonicalLovrabetOperation(_0x560641){const _0x4fa7f3=a97_0x5e74;return[_0x560641['service'],..._0x560641[_0x4fa7f3(0x1b6)][_0x4fa7f3(0x1ab)]()[_0x4fa7f3(0x1af)](/\s+/)]['filter'](Boolean)[_0x4fa7f3(0x1b7)]('.');}function a97_0x5e74(_0x537324,_0x47e6fe){_0x537324=_0x537324-0x1a8;const _0x306763=a97_0x3067();let _0x5e74ef=_0x306763[_0x537324];return _0x5e74ef;}export function createLovrabetWriteMetadata(_0x466ebe,_0x345840,_0x545f8d,_0x4088db){const _0x2abe1b=a97_0x5e74;if(_0x4088db||_0x545f8d['ok']!==!![]||_0x466ebe[_0x2abe1b(0x1a9)]!==_0x2abe1b(0x1b9)&&_0x466ebe[_0x2abe1b(0x1a9)]!==_0x2abe1b(0x1a8))return undefined;const _0x51d5a1=_0x466ebe['writeEventSubject']?.(_0x545f8d),_0x571f46={'type':_0x2abe1b(0x1b8),'operation':_0x345840,'risk':_0x466ebe[_0x2abe1b(0x1a9)],..._0x51d5a1?{'subject':_0x51d5a1}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x571f46}};}function a97_0x3067(){const _0x32e2d8=['command','join','lovrabet.write.completed','write','high-risk-write','risk','369579OJyXLj','trim','3776NpTHYg','12474vQxzYc','480618dumIZy','split','17311nwvJOa','2843680aCooaD','2pRTrBV','12080440zqIPPo','2461625mInoGc','930AXbArA'];a97_0x3067=function(){return _0x32e2d8;};return a97_0x3067();}
1
+ function a97_0x3a09(){const _0x39266e=['write','33XlFaoM','1338560VIyJLX','command','487034aZtKMz','1867776AeGTyy','739022rRMLeN','9sVwMue','risk','service','filter','91kwPrSE','split','217254wtftTM','6fosUOa','writeEventSubject','2162624xKAhji','4077740bVcqhj','lovrabet.write.completed'];a97_0x3a09=function(){return _0x39266e;};return a97_0x3a09();}function a97_0x4f9e(_0x5a0725,_0x5bedd6){_0x5a0725=_0x5a0725-0x18a;const _0x3a09b6=a97_0x3a09();let _0x4f9e5f=_0x3a09b6[_0x5a0725];return _0x4f9e5f;}(function(_0x29c266,_0x52092d){const _0x4f81f9=a97_0x4f9e,_0x1385a2=_0x29c266();while(!![]){try{const _0x5a1529=parseInt(_0x4f81f9(0x18d))/0x1+-parseInt(_0x4f81f9(0x18b))/0x2*(-parseInt(_0x4f81f9(0x195))/0x3)+-parseInt(_0x4f81f9(0x197))/0x4+parseInt(_0x4f81f9(0x19c))/0x5+-parseInt(_0x4f81f9(0x194))/0x6*(-parseInt(_0x4f81f9(0x192))/0x7)+-parseInt(_0x4f81f9(0x18c))/0x8*(-parseInt(_0x4f81f9(0x18e))/0x9)+-parseInt(_0x4f81f9(0x198))/0xa*(parseInt(_0x4f81f9(0x19b))/0xb);if(_0x5a1529===_0x52092d)break;else _0x1385a2['push'](_0x1385a2['shift']());}catch(_0x205830){_0x1385a2['push'](_0x1385a2['shift']());}}}(a97_0x3a09,0x69f3b));export function canonicalLovrabetOperation(_0xcdd859){const _0x38dfa3=a97_0x4f9e;return[_0xcdd859[_0x38dfa3(0x190)],..._0xcdd859[_0x38dfa3(0x18a)]['trim']()[_0x38dfa3(0x193)](/\s+/)][_0x38dfa3(0x191)](Boolean)['join']('.');}export function createLovrabetWriteMetadata(_0xf29489,_0xdaee7c,_0x1997e8,_0x19682a){const _0x479017=a97_0x4f9e;if(_0x19682a||_0x1997e8['ok']!==!![]||_0xf29489[_0x479017(0x18f)]!==_0x479017(0x19a)&&_0xf29489[_0x479017(0x18f)]!=='high-risk-write')return undefined;const _0x2a3c6=_0xf29489[_0x479017(0x196)]?.(_0x1997e8),_0x50b38c={'type':_0x479017(0x199),'operation':_0xdaee7c,'risk':_0xf29489['risk'],..._0x2a3c6?{'subject':_0x2a3c6}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x50b38c}};}
@@ -1 +1 @@
1
- (function(_0x19e43d,_0x3426f4){const _0x14dc0d=a98_0x407b,_0x2be634=_0x19e43d();while(!![]){try{const _0x2c6c29=-parseInt(_0x14dc0d(0x145))/0x1+-parseInt(_0x14dc0d(0x143))/0x2+-parseInt(_0x14dc0d(0x146))/0x3+-parseInt(_0x14dc0d(0x141))/0x4+-parseInt(_0x14dc0d(0x148))/0x5*(parseInt(_0x14dc0d(0x15b))/0x6)+-parseInt(_0x14dc0d(0x161))/0x7+parseInt(_0x14dc0d(0x140))/0x8;if(_0x2c6c29===_0x3426f4)break;else _0x2be634['push'](_0x2be634['shift']());}catch(_0x511b03){_0x2be634['push'](_0x2be634['shift']());}}}(a98_0x46d9,0x518a2));function a98_0x407b(_0x21ee47,_0xc2608){_0x21ee47=_0x21ee47-0x13f;const _0x46d97b=a98_0x46d9();let _0x407bca=_0x46d97b[_0x21ee47];return _0x407bca;}import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';function a98_0x46d9(){const _0x16f5e2=['reason','Lovrabet\x20invocation\x20aborted.','16145312QqaIGT','2530368MkyObj','command','418048cviSsP','riskLevel','332685DyvRMk','387756wHVVmu','AbortError','977395zzavsu','message','high-risk-write','rawFlags','aborted','args','stringify','confirm','presentation','isNonInteractive','definition','yes','data','signal','present','description','dryRun','format','Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.','6zVuJCW','write','Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.','execute','result','risk','1296022ADECqg'];a98_0x46d9=function(){return _0x16f5e2;};return a98_0x46d9();}const defaultPresentation={'present'({result:_0x5c46ed,command:_0x3e84cb,risk:_0x130952,dryRun:_0x3f84f5}){const _0x10dd07=a98_0x407b;return JSON[_0x10dd07(0x14e)]({'ok':_0x5c46ed['ok'],'command':_0x3e84cb,'risk':_0x130952,..._0x3f84f5?{'dryRun':!![]}:{},..._0x5c46ed[_0x10dd07(0x154)]!==undefined?{'data':_0x5c46ed['data']}:{},..._0x5c46ed[_0x10dd07(0x149)]?{'message':_0x5c46ed[_0x10dd07(0x149)]}:{}});}};export async function invokeLovrabet(_0x2cb1d8,_0x964791){return runSerialized(async()=>{const _0x133261=a98_0x407b;throwIfAborted(_0x964791['signal']);const _0x3ecc9f=await resolveLovrabetInvocation(_0x2cb1d8),_0x1fdba9=canonicalLovrabetOperation(_0x3ecc9f['definition']),_0x481518={},_0x33e8a7=buildConfigFromFlags(_0x3ecc9f['rawFlags']);await initGlobalEnvironment(_0x33e8a7);const _0x19e4de=createPipelineEnv(_0x33e8a7,{..._0x3ecc9f[_0x133261(0x14b)],'yes':_0x3ecc9f['definition'][_0x133261(0x160)]===_0x133261(0x14a)?!![]:_0x3ecc9f[_0x133261(0x14b)][_0x133261(0x153)],'nonInteractive':!![]});_0x19e4de[_0x133261(0x14d)]=_0x3ecc9f[_0x133261(0x14d)],_0x19e4de[_0x133261(0x151)]=!![],_0x19e4de[_0x133261(0x144)]=_0x133261(0x14a);const _0x463f23=withEmbeddedLifecycle(_0x3ecc9f[_0x133261(0x152)],_0x1fdba9,_0x964791),_0x12e0f1=createLovrabetRunnerAdapter({'formatOutput'(_0x119dab,_0xbbaf3f){const _0x1873df=_0x133261;_0x481518[_0x1873df(0x15f)]=_0x119dab,_0x481518['command']=_0xbbaf3f[_0x1873df(0x142)],_0x481518[_0x1873df(0x160)]=_0xbbaf3f[_0x1873df(0x160)],_0x481518['format']=_0xbbaf3f['format'],_0x481518[_0x1873df(0x158)]=_0xbbaf3f[_0x1873df(0x158)]===!![];},async 'confirmHighRisk'(){const _0x162e40=_0x133261;throw new Error(_0x162e40(0x15d));}});try{await runCommand(_0x463f23,_0x19e4de,_0x12e0f1);if(!_0x481518[_0x133261(0x15f)]||!_0x481518[_0x133261(0x142)]||!_0x481518[_0x133261(0x160)]||!_0x481518[_0x133261(0x159)])throw new Error(_0x133261(0x15a));const _0x368c22=_0x964791[_0x133261(0x150)]??defaultPresentation,_0x48ccdb=_0x481518[_0x133261(0x158)]===!![],_0x115d8f={'result':_0x481518[_0x133261(0x15f)],'command':_0x481518['command'],'operation':_0x1fdba9,'risk':_0x481518['risk'],'format':_0x481518[_0x133261(0x159)],'dryRun':_0x48ccdb},_0x1a480c=createLovrabetWriteMetadata(_0x3ecc9f['definition'],_0x1fdba9,_0x481518[_0x133261(0x15f)],_0x48ccdb);let _0x422e86;try{_0x422e86=await _0x368c22['present'](_0x115d8f);}catch(_0x3427e8){if(!_0x1a480c||_0x368c22===defaultPresentation)throw _0x3427e8;_0x422e86=await defaultPresentation[_0x133261(0x156)](_0x115d8f);}return{'operation':_0x1fdba9,'risk':_0x481518[_0x133261(0x160)],'mode':_0x48ccdb?'dry-run':'execute','result':_0x481518[_0x133261(0x15f)],'output':_0x422e86,..._0x1a480c?{'metadata':_0x1a480c}:{}};}finally{await finalizeLovrabetRuntimeState();}});}function withEmbeddedLifecycle(_0x31093d,_0x2b6903,_0x5de98f){return{..._0x31093d,async 'execute'(_0x101509){const _0x45e848=a98_0x407b;return throwIfAborted(_0x5de98f[_0x45e848(0x155)]),(_0x31093d[_0x45e848(0x160)]===_0x45e848(0x15c)||_0x31093d[_0x45e848(0x160)]===_0x45e848(0x14a))&&await _0x5de98f['confirmation'][_0x45e848(0x14f)]({'operation':_0x2b6903,'risk':_0x31093d['risk'],'description':_0x31093d[_0x45e848(0x157)],..._0x5de98f[_0x45e848(0x155)]?{'signal':_0x5de98f[_0x45e848(0x155)]}:{}}),throwIfAborted(_0x5de98f[_0x45e848(0x155)]),_0x31093d[_0x45e848(0x15e)](_0x101509);}};}function throwIfAborted(_0x3009ba){const _0x36cb71=a98_0x407b;if(_0x3009ba?.[_0x36cb71(0x14c)])throw _0x3009ba[_0x36cb71(0x162)]instanceof Error?_0x3009ba['reason']:new DOMException(_0x36cb71(0x13f),_0x36cb71(0x147));}
1
+ (function(_0x41a925,_0x26cbb4){const _0x2d3d13=a98_0x4094,_0x5e55c5=_0x41a925();while(!![]){try{const _0x25c5b2=parseInt(_0x2d3d13(0x1aa))/0x1*(-parseInt(_0x2d3d13(0x198))/0x2)+-parseInt(_0x2d3d13(0x1ab))/0x3+parseInt(_0x2d3d13(0x18a))/0x4+parseInt(_0x2d3d13(0x18b))/0x5+parseInt(_0x2d3d13(0x19b))/0x6*(-parseInt(_0x2d3d13(0x199))/0x7)+parseInt(_0x2d3d13(0x189))/0x8+parseInt(_0x2d3d13(0x1a1))/0x9*(parseInt(_0x2d3d13(0x19e))/0xa);if(_0x25c5b2===_0x26cbb4)break;else _0x5e55c5['push'](_0x5e55c5['shift']());}catch(_0x3598b7){_0x5e55c5['push'](_0x5e55c5['shift']());}}}(a98_0x8e29,0xd5048));import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';function a98_0x4094(_0x31fac6,_0x378ae7){_0x31fac6=_0x31fac6-0x188;const _0x8e2977=a98_0x8e29();let _0x409419=_0x8e2977[_0x31fac6];return _0x409419;}import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x590f90,command:_0x93cec5,risk:_0x218435,dryRun:_0x15b9fd}){const _0x453a7b=a98_0x4094;return JSON[_0x453a7b(0x1a4)]({'ok':_0x590f90['ok'],'command':_0x93cec5,'risk':_0x218435,..._0x15b9fd?{'dryRun':!![]}:{},..._0x590f90['data']!==undefined?{'data':_0x590f90[_0x453a7b(0x19f)]}:{},..._0x590f90[_0x453a7b(0x1a5)]?{'message':_0x590f90['message']}:{}});}};export async function invokeLovrabet(_0x291699,_0x34f272){return runSerialized(async()=>{const _0x5edbbf=a98_0x4094;throwIfAborted(_0x34f272['signal']);const _0x44b188=await resolveLovrabetInvocation(_0x291699),_0x2f171d=canonicalLovrabetOperation(_0x44b188[_0x5edbbf(0x192)]),_0x1caa64={},_0x241e68=buildConfigFromFlags(_0x44b188['rawFlags']);await initGlobalEnvironment(_0x241e68);const _0x2eb31a=createPipelineEnv(_0x241e68,{..._0x44b188['rawFlags'],'yes':_0x44b188['definition'][_0x5edbbf(0x191)]===_0x5edbbf(0x18c)?!![]:_0x44b188[_0x5edbbf(0x18f)][_0x5edbbf(0x19a)],'nonInteractive':!![]});_0x2eb31a[_0x5edbbf(0x188)]=_0x44b188['args'],_0x2eb31a['isNonInteractive']=!![],_0x2eb31a[_0x5edbbf(0x196)]=_0x5edbbf(0x18c);const _0x4ff390=withEmbeddedLifecycle(_0x44b188[_0x5edbbf(0x192)],_0x2f171d,_0x34f272),_0xf4e154=createLovrabetRunnerAdapter({'formatOutput'(_0x51f0fc,_0x37f0a0){const _0x3033b9=_0x5edbbf;_0x1caa64[_0x3033b9(0x1a0)]=_0x51f0fc,_0x1caa64[_0x3033b9(0x190)]=_0x37f0a0[_0x3033b9(0x190)],_0x1caa64[_0x3033b9(0x191)]=_0x37f0a0['risk'],_0x1caa64['format']=_0x37f0a0[_0x3033b9(0x1a3)],_0x1caa64[_0x3033b9(0x1a9)]=_0x37f0a0[_0x3033b9(0x1a9)]===!![];},async 'confirmHighRisk'(){throw new Error('Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.');}});try{await runCommand(_0x4ff390,_0x2eb31a,_0xf4e154);if(!_0x1caa64[_0x5edbbf(0x1a0)]||!_0x1caa64[_0x5edbbf(0x190)]||!_0x1caa64[_0x5edbbf(0x191)]||!_0x1caa64[_0x5edbbf(0x1a3)])throw new Error('Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x2eb524=_0x34f272[_0x5edbbf(0x18e)]??defaultPresentation,_0x1c7b3c=_0x1caa64['dryRun']===!![],_0xccc70c={'result':_0x1caa64[_0x5edbbf(0x1a0)],'command':_0x1caa64[_0x5edbbf(0x190)],'operation':_0x2f171d,'risk':_0x1caa64[_0x5edbbf(0x191)],'format':_0x1caa64[_0x5edbbf(0x1a3)],'dryRun':_0x1c7b3c},_0x2cb594=createLovrabetWriteMetadata(_0x44b188[_0x5edbbf(0x192)],_0x2f171d,_0x1caa64['result'],_0x1c7b3c);let _0x1892f5;try{_0x1892f5=await _0x2eb524[_0x5edbbf(0x18d)](_0xccc70c);}catch(_0x3aea84){if(!_0x2cb594||_0x2eb524===defaultPresentation)throw _0x3aea84;_0x1892f5=await defaultPresentation[_0x5edbbf(0x18d)](_0xccc70c);}return{'operation':_0x2f171d,'risk':_0x1caa64[_0x5edbbf(0x191)],'mode':_0x1c7b3c?_0x5edbbf(0x1a7):'execute','result':_0x1caa64[_0x5edbbf(0x1a0)],'output':_0x1892f5,..._0x2cb594?{'metadata':_0x2cb594}:{}};}finally{await finalizeLovrabetRuntimeState();}});}function withEmbeddedLifecycle(_0x689b3a,_0x5619fe,_0x10f684){return{..._0x689b3a,async 'execute'(_0x4f2d23){const _0x250e2c=a98_0x4094;return throwIfAborted(_0x10f684[_0x250e2c(0x1a6)]),(_0x689b3a[_0x250e2c(0x191)]===_0x250e2c(0x197)||_0x689b3a[_0x250e2c(0x191)]===_0x250e2c(0x18c))&&await _0x10f684[_0x250e2c(0x195)][_0x250e2c(0x194)]({'operation':_0x5619fe,'risk':_0x689b3a[_0x250e2c(0x191)],'description':_0x689b3a['description'],..._0x10f684['signal']?{'signal':_0x10f684[_0x250e2c(0x1a6)]}:{}}),throwIfAborted(_0x10f684[_0x250e2c(0x1a6)]),_0x689b3a[_0x250e2c(0x1a2)](_0x4f2d23);}};}function a98_0x8e29(){const _0x5877b6=['confirm','confirmation','riskLevel','write','9354SytKwx','91427qHRBBL','yes','588OvYBaW','aborted','Lovrabet\x20invocation\x20aborted.','7948190OPTOdJ','data','result','27OrBMsz','execute','format','stringify','message','signal','dry-run','reason','dryRun','373RLBhJM','2019567EQaevK','args','4251888mXxjrb','2089420GNRrCB','5659550uDFXaA','high-risk-write','present','presentation','rawFlags','command','risk','definition','AbortError'];a98_0x8e29=function(){return _0x5877b6;};return a98_0x8e29();}function throwIfAborted(_0x1bbb72){const _0x1fddb4=a98_0x4094;if(_0x1bbb72?.[_0x1fddb4(0x19c)])throw _0x1bbb72[_0x1fddb4(0x1a8)]instanceof Error?_0x1bbb72[_0x1fddb4(0x1a8)]:new DOMException(_0x1fddb4(0x19d),_0x1fddb4(0x193));}
@@ -1 +1 @@
1
- const a99_0x54964c=a99_0x4e8d;(function(_0x2de021,_0x1e0fc9){const _0x33ea66=a99_0x4e8d,_0x30c677=_0x2de021();while(!![]){try{const _0x4e6d59=-parseInt(_0x33ea66(0x151))/0x1*(-parseInt(_0x33ea66(0x148))/0x2)+-parseInt(_0x33ea66(0x147))/0x3+-parseInt(_0x33ea66(0x14c))/0x4+-parseInt(_0x33ea66(0x14d))/0x5+-parseInt(_0x33ea66(0x150))/0x6+-parseInt(_0x33ea66(0x14b))/0x7*(parseInt(_0x33ea66(0x14f))/0x8)+parseInt(_0x33ea66(0x14e))/0x9;if(_0x4e6d59===_0x1e0fc9)break;else _0x30c677['push'](_0x30c677['shift']());}catch(_0x317eec){_0x30c677['push'](_0x30c677['shift']());}}}(a99_0x4b9e,0xabc93));let tail=Promise[a99_0x54964c(0x14a)]();function a99_0x4b9e(){const _0x32540f=['548IgegkD','3880524IvreNA','458jEucaW','catch','resolve','351932ZjFNdJ','4198004iisely','1732320OIjPIG','51791688DCTXCb','208kSHopW','7079040yGmbzY'];a99_0x4b9e=function(){return _0x32540f;};return a99_0x4b9e();}function a99_0x4e8d(_0x209837,_0x1efc8f){_0x209837=_0x209837-0x147;const _0x4b9ed1=a99_0x4b9e();let _0x4e8daa=_0x4b9ed1[_0x209837];return _0x4e8daa;}export async function runSerialized(_0x39a501){const _0x395093=a99_0x54964c,_0x2e9648=tail;let _0xe7ed0b;tail=new Promise(_0xd046f8=>{_0xe7ed0b=_0xd046f8;}),await _0x2e9648[_0x395093(0x149)](()=>undefined);try{return await _0x39a501();}finally{_0xe7ed0b();}}
1
+ const a99_0x232f98=a99_0x505a;function a99_0x505a(_0x28779d,_0x228b29){_0x28779d=_0x28779d-0x176;const _0x3b954e=a99_0x3b95();let _0x505add=_0x3b954e[_0x28779d];return _0x505add;}function a99_0x3b95(){const _0x5f16ca=['4zCnipe','438wiGLgt','78948YYEdlh','322fIGslM','resolve','192112HgpKZp','4987656DgoCXF','370QPTbkr','1849453YTRTtd','1557708pndNrj','72090FxktJR','16683777ijpyFh','catch'];a99_0x3b95=function(){return _0x5f16ca;};return a99_0x3b95();}(function(_0x158495,_0x359890){const _0x11325b=a99_0x505a,_0x7bde49=_0x158495();while(!![]){try{const _0x4b4192=parseInt(_0x11325b(0x178))/0x1+parseInt(_0x11325b(0x179))/0x2+-parseInt(_0x11325b(0x176))/0x3*(-parseInt(_0x11325b(0x17d))/0x4)+parseInt(_0x11325b(0x17a))/0x5*(-parseInt(_0x11325b(0x17e))/0x6)+-parseInt(_0x11325b(0x180))/0x7*(parseInt(_0x11325b(0x182))/0x8)+-parseInt(_0x11325b(0x17f))/0x9*(-parseInt(_0x11325b(0x177))/0xa)+-parseInt(_0x11325b(0x17b))/0xb;if(_0x4b4192===_0x359890)break;else _0x7bde49['push'](_0x7bde49['shift']());}catch(_0x196746){_0x7bde49['push'](_0x7bde49['shift']());}}}(a99_0x3b95,0xe5df6));let tail=Promise[a99_0x232f98(0x181)]();export async function runSerialized(_0x55bc1b){const _0x218aa4=a99_0x232f98,_0xab736=tail;let _0x1f9bc9;tail=new Promise(_0x23dc19=>{_0x1f9bc9=_0x23dc19;}),await _0xab736[_0x218aa4(0x17c)](()=>undefined);try{return await _0x55bc1b();}finally{_0x1f9bc9();}}
@@ -1 +1 @@
1
- (function(_0x390770,_0xb255c0){const _0x37d21a=a100_0x36c9,_0x3ce0fe=_0x390770();while(!![]){try{const _0x20090a=-parseInt(_0x37d21a(0xba))/0x1+parseInt(_0x37d21a(0xad))/0x2+-parseInt(_0x37d21a(0xac))/0x3+-parseInt(_0x37d21a(0xb7))/0x4+-parseInt(_0x37d21a(0xb6))/0x5*(parseInt(_0x37d21a(0xbc))/0x6)+parseInt(_0x37d21a(0xaf))/0x7*(parseInt(_0x37d21a(0xb3))/0x8)+parseInt(_0x37d21a(0xab))/0x9*(parseInt(_0x37d21a(0xb2))/0xa);if(_0x20090a===_0xb255c0)break;else _0x3ce0fe['push'](_0x3ce0fe['shift']());}catch(_0x2414ff){_0x3ce0fe['push'](_0x3ce0fe['shift']());}}}(a100_0x2484,0x3999c));function a100_0x2484(){const _0x7a94b5=['defaultCommand','validation','18185LnYSce','1156368UNixnh','input','unknownCommand','76644BLOdhm','assign','342noQgcM','join','definition','flags','2102913mGwKil','1263882oDkTgg','172746YVGLLg','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','259TxnJiq','../framework/preparse.js','slice','30Ihljkv','95768CeisCF'];a100_0x2484=function(){return _0x7a94b5;};return a100_0x2484();}import a100_0x37df2f from'meow';import{findDefinition,getServiceEntry,isKnownService}from'../commands/registry.js';import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a100_0x36c9(_0x565558,_0x5746e1){_0x565558=_0x565558-0xa9;const _0x2484ad=a100_0x2484();let _0x36c9e2=_0x2484ad[_0x565558];return _0x36c9e2;}export async function resolveLovrabetInvocation(_0x23e38c){const _0x3fdb48=a100_0x36c9,_0x198f1e=a100_0x37df2f('',{'importMeta':import.meta,'argv':_0x23e38c,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x542b8f=[..._0x198f1e[_0x3fdb48(0xb8)]],_0x5e4c88=_0x198f1e[_0x3fdb48(0xaa)];await correctFlags(_0x5e4c88);const _0x1804cd=_0x542b8f[0x0];if(!_0x1804cd)throw CliErrors[_0x3fdb48(0xb5)](_0x3fdb48(0xae));if(!isKnownService(_0x1804cd)){const _0x91f621=resolveDynamicServiceCommand(_0x542b8f,_0x5e4c88);if(!_0x91f621)throw CliErrors['unknownCommand'](_0x542b8f[_0x3fdb48(0xbd)]('\x20'));return Object[_0x3fdb48(0xbb)](_0x5e4c88,_0x91f621[_0x3fdb48(0xaa)]),{'definition':_0x91f621[_0x3fdb48(0xa9)],'rawFlags':_0x5e4c88,'args':_0x91f621['args']};}const _0x24e9cd=getServiceEntry(_0x1804cd),_0x1e0eaf=_0x542b8f[0x1]||_0x24e9cd[_0x3fdb48(0xb4)];if(!_0x1e0eaf)throw CliErrors['validation']('Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22'+_0x1804cd+'\x22.');const _0x588f6a=findDefinition(_0x1804cd,_0x1e0eaf);if(!_0x588f6a)throw CliErrors[_0x3fdb48(0xb9)](_0x1804cd+'\x20'+_0x1e0eaf);return{'definition':_0x588f6a,'rawFlags':_0x5e4c88,'args':_0x542b8f[_0x3fdb48(0xb1)](0x2)};}async function correctFlags(_0x22da12){const _0x3313b0=a100_0x36c9;try{const {correctFlags:_0x4df722}=await import(_0x3313b0(0xb0)),{getAllDefinitions:_0x2614d6}=await import('../commands/registry.js'),_0x338332=_0x2614d6()['flatMap'](_0x3fdb54=>_0x3fdb54[_0x3313b0(0xaa)]??[]),_0x9b4c28=_0x4df722(_0x22da12,_0x338332);Object[_0x3313b0(0xbb)](_0x22da12,_0x9b4c28['flags']);}catch{}}
1
+ (function(_0x5502d6,_0x3498db){const _0x56667e=a100_0x13c0,_0x79db93=_0x5502d6();while(!![]){try{const _0x27a81c=parseInt(_0x56667e(0x1a5))/0x1*(parseInt(_0x56667e(0x199))/0x2)+-parseInt(_0x56667e(0x1a1))/0x3+parseInt(_0x56667e(0x192))/0x4*(parseInt(_0x56667e(0x196))/0x5)+parseInt(_0x56667e(0x1a6))/0x6+-parseInt(_0x56667e(0x19f))/0x7+-parseInt(_0x56667e(0x197))/0x8+parseInt(_0x56667e(0x19c))/0x9;if(_0x27a81c===_0x3498db)break;else _0x79db93['push'](_0x79db93['shift']());}catch(_0x22f7be){_0x79db93['push'](_0x79db93['shift']());}}}(a100_0x4f2e,0x6d89d));import a100_0x58fae0 from'meow';function a100_0x13c0(_0xc0f698,_0x7214fc){_0xc0f698=_0xc0f698-0x192;const _0x4f2eed=a100_0x4f2e();let _0x13c07c=_0x4f2eed[_0xc0f698];return _0x13c07c;}import{findDefinition,getServiceEntry,isKnownService}from'../commands/registry.js';import{resolveDynamicServiceCommand}from'../commands/service/dynamic.js';import{buildMeowFlags}from'../constant/cli.js';import{CliErrors}from'../errors.js';function a100_0x4f2e(){const _0x5ba433=['defaultCommand','validation','assign','26935FUJbLT','4198504cgusIC','../commands/registry.js','163376NeCXcO','Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','10474776vXzxZl','join','../framework/preparse.js','4006597SKlQyQ','flags','2639883JfURLi','definition','args','unknownCommand','8GonsPb','2551728nTQqzM','slice','136FTNrVu'];a100_0x4f2e=function(){return _0x5ba433;};return a100_0x4f2e();}export async function resolveLovrabetInvocation(_0x53c032){const _0x1b944e=a100_0x13c0,_0xa7e3e2=a100_0x58fae0('',{'importMeta':import.meta,'argv':_0x53c032,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0xfe5e6=[..._0xa7e3e2['input']],_0x227c37=_0xa7e3e2[_0x1b944e(0x1a0)];await correctFlags(_0x227c37);const _0x4554cf=_0xfe5e6[0x0];if(!_0x4554cf)throw CliErrors[_0x1b944e(0x194)](_0x1b944e(0x19b));if(!isKnownService(_0x4554cf)){const _0x4b81c7=resolveDynamicServiceCommand(_0xfe5e6,_0x227c37);if(!_0x4b81c7)throw CliErrors['unknownCommand'](_0xfe5e6[_0x1b944e(0x19d)]('\x20'));return Object[_0x1b944e(0x195)](_0x227c37,_0x4b81c7[_0x1b944e(0x1a0)]),{'definition':_0x4b81c7[_0x1b944e(0x1a2)],'rawFlags':_0x227c37,'args':_0x4b81c7[_0x1b944e(0x1a3)]};}const _0x4db157=getServiceEntry(_0x4554cf),_0x1b102e=_0xfe5e6[0x1]||_0x4db157[_0x1b944e(0x193)];if(!_0x1b102e)throw CliErrors['validation'](_0x1b944e(0x19a)+_0x4554cf+'\x22.');const _0x32fa41=findDefinition(_0x4554cf,_0x1b102e);if(!_0x32fa41)throw CliErrors[_0x1b944e(0x1a4)](_0x4554cf+'\x20'+_0x1b102e);return{'definition':_0x32fa41,'rawFlags':_0x227c37,'args':_0xfe5e6[_0x1b944e(0x1a7)](0x2)};}async function correctFlags(_0x2c31cd){const _0x18e8f9=a100_0x13c0;try{const {correctFlags:_0x25d3f4}=await import(_0x18e8f9(0x19e)),{getAllDefinitions:_0x3849c4}=await import(_0x18e8f9(0x198)),_0x2a957d=_0x3849c4()['flatMap'](_0x9a646b=>_0x9a646b[_0x18e8f9(0x1a0)]??[]),_0x3400ec=_0x25d3f4(_0x2c31cd,_0x2a957d);Object[_0x18e8f9(0x195)](_0x2c31cd,_0x3400ec['flags']);}catch{}}
@@ -1 +1 @@
1
- const a102_0x32fba3=a102_0x31ad;(function(_0x58e635,_0x3e75a3){const _0xb63595=a102_0x31ad,_0x27b2ba=_0x58e635();while(!![]){try{const _0x153a09=parseInt(_0xb63595(0x1e9))/0x1+parseInt(_0xb63595(0x1f7))/0x2+parseInt(_0xb63595(0x1fb))/0x3+-parseInt(_0xb63595(0x1e8))/0x4+parseInt(_0xb63595(0x1ea))/0x5+parseInt(_0xb63595(0x1f1))/0x6*(-parseInt(_0xb63595(0x1ec))/0x7)+-parseInt(_0xb63595(0x1ee))/0x8;if(_0x153a09===_0x3e75a3)break;else _0x27b2ba['push'](_0x27b2ba['shift']());}catch(_0x3b16e5){_0x27b2ba['push'](_0x27b2ba['shift']());}}}(a102_0x2515,0xbcb95));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a102_0x27025c}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a102_0x27025c;function a102_0x31ad(_0x1d89e0,_0x2cb5c8){_0x1d89e0=_0x1d89e0-0x1e7;const _0x2515f4=a102_0x2515();let _0x31ad79=_0x2515f4[_0x1d89e0];return _0x31ad79;}function a102_0x2515(){const _0x4614a5=['exit\x20','inherit','62106tdOWkn','npx','log','trim','pipe','skipNpxSkillsEnvSuffix','2680926SMZzHo','toString','status','unknown','2872440gPQTQN','stdout','stderr','2330252UcQOZZ','1097723rJnvEF','248575WgsDZE','stdio','609vNEKIJ','add','9514144OTSREL'];a102_0x2515=function(){return _0x4614a5;};return a102_0x2515();}export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a102_0x32fba3(0x1f6)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x4c2dfd,_0x29ee01=LOVRABET_SKILL_SOURCE,_0x263b8b){const _0x1d30b8=a102_0x32fba3;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x118ebb=_0x263b8b?.[_0x1d30b8(0x1eb)]??_0x1d30b8(0x1f0),_0x37c748=resolveNpmBin(_0x1d30b8(0x1f2)),_0x50ffc9=['skills',_0x1d30b8(0x1ed),_0x29ee01,'-g','-y'],_0x403f5d=[_0x37c748,..._0x50ffc9]['join']('\x20');console[_0x1d30b8(0x1f3)]('*\x20'+_0x403f5d);const _0x33ea61=spawnSync(_0x37c748,_0x50ffc9,{'cwd':_0x4c2dfd,'stdio':_0x118ebb,'env':process.env,'shell':![]});if(_0x33ea61['status']===0x0)return{'ok':!![],'status':0x0};let _0x26f9bb=_0x1d30b8(0x1ef)+(_0x33ea61[_0x1d30b8(0x1f9)]??_0x1d30b8(0x1fa));if(_0x118ebb===_0x1d30b8(0x1f5)){const _0x198bf6=_0x33ea61[_0x1d30b8(0x1e7)]?_0x33ea61['stderr'][_0x1d30b8(0x1f8)]()['trim']():'',_0x31a5da=_0x33ea61[_0x1d30b8(0x1fc)]?_0x33ea61['stdout'][_0x1d30b8(0x1f8)]()[_0x1d30b8(0x1f4)]():'';if(_0x198bf6)_0x26f9bb=_0x198bf6;else{if(_0x31a5da)_0x26f9bb=_0x31a5da;}}return{'ok':![],'status':_0x33ea61[_0x1d30b8(0x1f9)]??null,'error':_0x26f9bb};}
1
+ const a102_0x1c4748=a102_0x2bc6;(function(_0x2ef3cd,_0x5bbb70){const _0x35e460=a102_0x2bc6,_0x1f796e=_0x2ef3cd();while(!![]){try{const _0x3d7cfc=parseInt(_0x35e460(0x87))/0x1*(-parseInt(_0x35e460(0x8a))/0x2)+parseInt(_0x35e460(0x80))/0x3+-parseInt(_0x35e460(0x94))/0x4*(-parseInt(_0x35e460(0x90))/0x5)+-parseInt(_0x35e460(0x88))/0x6+-parseInt(_0x35e460(0x8f))/0x7*(-parseInt(_0x35e460(0x89))/0x8)+parseInt(_0x35e460(0x85))/0x9+-parseInt(_0x35e460(0x8c))/0xa;if(_0x3d7cfc===_0x5bbb70)break;else _0x1f796e['push'](_0x1f796e['shift']());}catch(_0x3753d1){_0x1f796e['push'](_0x1f796e['shift']());}}}(a102_0x2030,0x5ce80));import{spawnSync}from'node:child_process';function a102_0x2bc6(_0x3df053,_0x5d8bfd){_0x3df053=_0x3df053-0x80;const _0x20300c=a102_0x2030();let _0x2bc6a5=_0x20300c[_0x3df053];return _0x2bc6a5;}import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a102_0x3df62c}from'../constant/distribution.js';import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';function a102_0x2030(){const _0x42779e=['1329258bZMAbp','exit\x20','skipNpxSkillsEnvSuffix','inherit','npx','6197805KfMVtx','add','16GZWTQi','3267774oRePZJ','8nBmrQs','65092WVZjWh','pipe','7396760IEjlEV','join','stderr','4500349zOkFra','5rWWGDa','unknown','toString','log','1643788rxSSAh','trim'];a102_0x2030=function(){return _0x42779e;};return a102_0x2030();}export const LOVRABET_SKILL_SOURCE=a102_0x3df62c;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a102_0x1c4748(0x82)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x40128c,_0x44863d=LOVRABET_SKILL_SOURCE,_0x503800){const _0x2be98f=a102_0x1c4748;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x320be0=_0x503800?.['stdio']??_0x2be98f(0x83),_0x124ebd=resolveNpmBin(_0x2be98f(0x84)),_0x99b2b6=['skills',_0x2be98f(0x86),_0x44863d,'-g','-y'],_0x4fee0a=[_0x124ebd,..._0x99b2b6][_0x2be98f(0x8d)]('\x20');console[_0x2be98f(0x93)]('*\x20'+_0x4fee0a);const _0xe3d772=spawnSync(_0x124ebd,_0x99b2b6,{'cwd':_0x40128c,'stdio':_0x320be0,'env':process.env,'shell':![]});if(_0xe3d772['status']===0x0)return{'ok':!![],'status':0x0};let _0x2f9904=_0x2be98f(0x81)+(_0xe3d772['status']??_0x2be98f(0x91));if(_0x320be0===_0x2be98f(0x8b)){const _0x49d87e=_0xe3d772[_0x2be98f(0x8e)]?_0xe3d772['stderr'][_0x2be98f(0x92)]()[_0x2be98f(0x95)]():'',_0x478098=_0xe3d772['stdout']?_0xe3d772['stdout'][_0x2be98f(0x92)]()[_0x2be98f(0x95)]():'';if(_0x49d87e)_0x2f9904=_0x49d87e;else{if(_0x478098)_0x2f9904=_0x478098;}}return{'ok':![],'status':_0xe3d772['status']??null,'error':_0x2f9904};}
@@ -1 +1 @@
1
- function a103_0x42b0(_0x49fc75,_0x2d33b4){_0x49fc75=_0x49fc75-0x19a;const _0x56ec34=a103_0x56ec();let _0x42b04e=_0x56ec34[_0x49fc75];return _0x42b04e;}const a103_0x35a7ef=a103_0x42b0;(function(_0x1fb65f,_0x5f981f){const _0x27ce0e=a103_0x42b0,_0x1ef667=_0x1fb65f();while(!![]){try{const _0x2d79a6=parseInt(_0x27ce0e(0x1a7))/0x1+-parseInt(_0x27ce0e(0x1a6))/0x2+-parseInt(_0x27ce0e(0x1a4))/0x3*(parseInt(_0x27ce0e(0x1a3))/0x4)+parseInt(_0x27ce0e(0x1a1))/0x5+parseInt(_0x27ce0e(0x1ac))/0x6*(parseInt(_0x27ce0e(0x1a9))/0x7)+-parseInt(_0x27ce0e(0x19c))/0x8*(-parseInt(_0x27ce0e(0x19b))/0x9)+parseInt(_0x27ce0e(0x19a))/0xa*(-parseInt(_0x27ce0e(0x19e))/0xb);if(_0x2d79a6===_0x5f981f)break;else _0x1ef667['push'](_0x1ef667['shift']());}catch(_0x387f0f){_0x1ef667['push'](_0x1ef667['shift']());}}}(a103_0x56ec,0xa4741));export const METADATA_FILE=a103_0x35a7ef(0x1a5);function a103_0x56ec(){const _0xa5ee29=['.git','767081NKiwcS','.next','node_modules','6EBrYiQ','dist','12408430XWXfuP','72IzaiGM','1103992GwkZHl','.svn','11ThANJK','.cache','.turbo','5086365TlauTm','.hg','2577956XJUjlG','3wWZWbM','lovrabet.skill.json','1085758kAPCPJ','870964ubjlMX'];a103_0x56ec=function(){return _0xa5ee29;};return a103_0x56ec();}export const SKILL_FILE='SKILL.md';export const IGNORED_FILE_NAMES=new Set([METADATA_FILE,'.DS_Store']);export const IGNORED_DIR_NAMES=new Set([a103_0x35a7ef(0x1a8),a103_0x35a7ef(0x1a2),a103_0x35a7ef(0x19d),a103_0x35a7ef(0x1ab),a103_0x35a7ef(0x1aa),a103_0x35a7ef(0x1ad),'build','coverage',a103_0x35a7ef(0x1a0),a103_0x35a7ef(0x19f)]);
1
+ const a103_0x6ec822=a103_0x4938;(function(_0xe35546,_0x493d3d){const _0x5654a9=a103_0x4938,_0x39abb7=_0xe35546();while(!![]){try{const _0x28ae74=parseInt(_0x5654a9(0x85))/0x1+-parseInt(_0x5654a9(0x81))/0x2*(parseInt(_0x5654a9(0x93))/0x3)+parseInt(_0x5654a9(0x82))/0x4*(-parseInt(_0x5654a9(0x8f))/0x5)+-parseInt(_0x5654a9(0x80))/0x6*(parseInt(_0x5654a9(0x87))/0x7)+-parseInt(_0x5654a9(0x8a))/0x8+parseInt(_0x5654a9(0x8b))/0x9+parseInt(_0x5654a9(0x92))/0xa;if(_0x28ae74===_0x493d3d)break;else _0x39abb7['push'](_0x39abb7['shift']());}catch(_0x53084f){_0x39abb7['push'](_0x39abb7['shift']());}}}(a103_0x28d7,0x43ab1));export const METADATA_FILE=a103_0x6ec822(0x8c);function a103_0x4938(_0x260edb,_0x52c265){_0x260edb=_0x260edb-0x80;const _0x28d723=a103_0x28d7();let _0x49386f=_0x28d723[_0x260edb];return _0x49386f;}function a103_0x28d7(){const _0x34f842=['.cache','2554792IDaQTB','1356777gwHYiA','lovrabet.skill.json','coverage','SKILL.md','5XXmwzg','.DS_Store','.git','12170100oXKvqY','249WQwAFl','.turbo','6zZFQuJ','10174IpEuQn','507784xlDHps','build','.hg','171971tKXBlb','node_modules','2758343HyyiZK','dist'];a103_0x28d7=function(){return _0x34f842;};return a103_0x28d7();}export const SKILL_FILE=a103_0x6ec822(0x8e);export const IGNORED_FILE_NAMES=new Set([METADATA_FILE,a103_0x6ec822(0x90)]);export const IGNORED_DIR_NAMES=new Set([a103_0x6ec822(0x91),a103_0x6ec822(0x84),'.svn',a103_0x6ec822(0x86),'.next',a103_0x6ec822(0x88),a103_0x6ec822(0x83),a103_0x6ec822(0x8d),a103_0x6ec822(0x94),a103_0x6ec822(0x89)]);
@@ -1 +1 @@
1
- (function(_0x202192,_0x1a789f){const _0x4e3130=a104_0x2430,_0x2c46d6=_0x202192();while(!![]){try{const _0x205a10=parseInt(_0x4e3130(0x8b))/0x1+parseInt(_0x4e3130(0x7c))/0x2+parseInt(_0x4e3130(0x83))/0x3+parseInt(_0x4e3130(0x8a))/0x4+-parseInt(_0x4e3130(0x86))/0x5+-parseInt(_0x4e3130(0x85))/0x6+parseInt(_0x4e3130(0x89))/0x7*(-parseInt(_0x4e3130(0x7d))/0x8);if(_0x205a10===_0x1a789f)break;else _0x2c46d6['push'](_0x2c46d6['shift']());}catch(_0x4d37d2){_0x2c46d6['push'](_0x2c46d6['shift']());}}}(a104_0x4ac4,0xa59c3));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(_0x41f494,_0x1d88e3){const _0x1634ee=a104_0x2430,_0x39a350=normalizeSkillRelativePath(_0x1d88e3),_0x541b89=realOrResolved(_0x41f494),_0x3becae=resolve(_0x541b89,..._0x39a350['split']('/'));if(!isPathInside(_0x3becae,_0x541b89))throw CliErrors[_0x1634ee(0x84)](_0x1634ee(0x87)+_0x1d88e3);return ensureNoSymlinkInManagedPath(_0x541b89,_0x39a350),_0x3becae;}export function ensureNoSymlinkInManagedPath(_0x2fd195,_0x4ddfff){const _0x286f26=a104_0x2430;let _0x493383=_0x2fd195;for(const _0x106d82 of _0x4ddfff[_0x286f26(0x79)]('/')){_0x493383=resolve(_0x493383,_0x106d82);const _0x4b8f51=lstatIfPresent(_0x493383);if(_0x4b8f51?.[_0x286f26(0x7e)]())throw CliErrors[_0x286f26(0x84)](_0x286f26(0x80)+_0x4ddfff);}}function a104_0x4ac4(){const _0x103677=['189RBAlsY','380408mbqshf','760885rhOfXa','split','stringify','startsWith','243222UYPPZp','74488kRYMXy','isSymbolicLink','endsWith','Refusing\x20to\x20write\x20through\x20Skill\x20symlink\x20path:\x20','from','utf8','4001118rRzpTf','validation','2731428iyUUvc','4631650FKYMfq','Unsafe\x20Skill\x20file\x20path:\x20','.tmp'];a104_0x4ac4=function(){return _0x103677;};return a104_0x4ac4();}function a104_0x2430(_0x2744e3,_0x36abc9){_0x2744e3=_0x2744e3-0x79;const _0x4ac496=a104_0x4ac4();let _0x243037=_0x4ac496[_0x2744e3];return _0x243037;}export function isDanglingSymlink(_0x5b3bf9){const _0x40575c=a104_0x2430;try{return lstatSync(_0x5b3bf9)[_0x40575c(0x7e)]();}catch{return![];}}export function resolveSymlinkTarget(_0x9e1999){const _0x5145fa=readlinkSync(_0x9e1999);return isAbsolute(_0x5145fa)?_0x5145fa:resolve(dirname(_0x9e1999),_0x5145fa);}export function isPathInside(_0x450017,_0x277257){const _0x2a70c8=a104_0x2430,_0x25028d=_0x450017[_0x2a70c8(0x7f)](sep)?_0x450017:''+_0x450017+sep,_0x152b49=_0x277257[_0x2a70c8(0x7f)](sep)?_0x277257:''+_0x277257+sep;return _0x450017===_0x277257||_0x25028d[_0x2a70c8(0x7b)](_0x152b49);}export function realOrResolved(_0x1bf1d7){try{return realpathSync(_0x1bf1d7);}catch{return resolve(_0x1bf1d7);}}export function lstatIfPresent(_0x225e8e){try{return lstatSync(_0x225e8e);}catch{return undefined;}}export function writeTextAtomic(_0x17c032,_0x27f5a2,_0x1858e8){const _0x4ccfd6=a104_0x2430;writeBytesAtomic(_0x17c032,Buffer[_0x4ccfd6(0x81)](_0x27f5a2,_0x4ccfd6(0x82)),_0x1858e8);}export function writeBytesAtomic(_0x4e098b,_0x3b3762,_0x13d3b7){const _0x4bdeac=a104_0x2430,_0x3e12c0=_0x4e098b+_0x4bdeac(0x88);try{writeFileSync(_0x3e12c0,_0x3b3762,{'mode':_0x13d3b7}),renameSync(_0x3e12c0,_0x4e098b);}catch(_0x3db164){try{rmSync(_0x3e12c0,{'force':!![]});}catch{}throw _0x3db164;}}export function writeJsonAtomic(_0x3dc0db,_0x5694ef){const _0x3411c5=a104_0x2430;writeTextAtomic(_0x3dc0db,JSON[_0x3411c5(0x7a)](_0x5694ef,null,0x2)+'\x0a',0x180);}
1
+ (function(_0x524c13,_0xaac526){const _0x15fff4=a104_0x4b7f,_0x568072=_0x524c13();while(!![]){try{const _0x36a133=-parseInt(_0x15fff4(0x1e0))/0x1+-parseInt(_0x15fff4(0x1de))/0x2+parseInt(_0x15fff4(0x1dc))/0x3+-parseInt(_0x15fff4(0x1d3))/0x4+parseInt(_0x15fff4(0x1d5))/0x5+parseInt(_0x15fff4(0x1d6))/0x6+parseInt(_0x15fff4(0x1da))/0x7*(parseInt(_0x15fff4(0x1db))/0x8);if(_0x36a133===_0xaac526)break;else _0x568072['push'](_0x568072['shift']());}catch(_0x101ef3){_0x568072['push'](_0x568072['shift']());}}}(a104_0x7577,0xaeff1));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(_0x161fd3,_0x5b4419){const _0x488d47=a104_0x4b7f,_0x1e3140=normalizeSkillRelativePath(_0x5b4419),_0x562208=realOrResolved(_0x161fd3),_0x1ee659=resolve(_0x562208,..._0x1e3140[_0x488d47(0x1d2)]('/'));if(!isPathInside(_0x1ee659,_0x562208))throw CliErrors[_0x488d47(0x1d9)](_0x488d47(0x1d7)+_0x5b4419);return ensureNoSymlinkInManagedPath(_0x562208,_0x1e3140),_0x1ee659;}export function ensureNoSymlinkInManagedPath(_0xa7d1e7,_0x49b752){const _0x28555c=a104_0x4b7f;let _0x3ac55f=_0xa7d1e7;for(const _0x50ec7d of _0x49b752['split']('/')){_0x3ac55f=resolve(_0x3ac55f,_0x50ec7d);const _0x487c3c=lstatIfPresent(_0x3ac55f);if(_0x487c3c?.[_0x28555c(0x1d8)]())throw CliErrors[_0x28555c(0x1d9)](_0x28555c(0x1df)+_0x49b752);}}export function isDanglingSymlink(_0x18cd49){const _0x4844b1=a104_0x4b7f;try{return lstatSync(_0x18cd49)[_0x4844b1(0x1d8)]();}catch{return![];}}export function resolveSymlinkTarget(_0x423519){const _0x59972b=readlinkSync(_0x423519);return isAbsolute(_0x59972b)?_0x59972b:resolve(dirname(_0x423519),_0x59972b);}export function isPathInside(_0x1e9a74,_0x58c43c){const _0x550382=_0x1e9a74['endsWith'](sep)?_0x1e9a74:''+_0x1e9a74+sep,_0x28d8be=_0x58c43c['endsWith'](sep)?_0x58c43c:''+_0x58c43c+sep;return _0x1e9a74===_0x58c43c||_0x550382['startsWith'](_0x28d8be);}function a104_0x7577(){const _0x299d96=['Unsafe\x20Skill\x20file\x20path:\x20','isSymbolicLink','validation','14yOqOio','4830392CSUWmh','4071786tJPAzC','.tmp','2771732FcXqnw','Refusing\x20to\x20write\x20through\x20Skill\x20symlink\x20path:\x20','1147204qenPqR','split','3769780NQEdBa','utf8','2303615nUnDXr','7000302cyIJFx'];a104_0x7577=function(){return _0x299d96;};return a104_0x7577();}function a104_0x4b7f(_0x29f7b4,_0x28d493){_0x29f7b4=_0x29f7b4-0x1d2;const _0x75772b=a104_0x7577();let _0x4b7f41=_0x75772b[_0x29f7b4];return _0x4b7f41;}export function realOrResolved(_0x2c9317){try{return realpathSync(_0x2c9317);}catch{return resolve(_0x2c9317);}}export function lstatIfPresent(_0xa78e90){try{return lstatSync(_0xa78e90);}catch{return undefined;}}export function writeTextAtomic(_0x3f4c5f,_0x5de3c7,_0x397dcb){const _0x324065=a104_0x4b7f;writeBytesAtomic(_0x3f4c5f,Buffer['from'](_0x5de3c7,_0x324065(0x1d4)),_0x397dcb);}export function writeBytesAtomic(_0x2ccd32,_0x3cd8b7,_0x5e46ef){const _0x497e29=a104_0x4b7f,_0x51f2f0=_0x2ccd32+_0x497e29(0x1dd);try{writeFileSync(_0x51f2f0,_0x3cd8b7,{'mode':_0x5e46ef}),renameSync(_0x51f2f0,_0x2ccd32);}catch(_0x1ec2a5){try{rmSync(_0x51f2f0,{'force':!![]});}catch{}throw _0x1ec2a5;}}export function writeJsonAtomic(_0x564cc5,_0x1f2430){writeTextAtomic(_0x564cc5,JSON['stringify'](_0x1f2430,null,0x2)+'\x0a',0x180);}
@@ -1 +1 @@
1
- (function(_0x4065d6,_0x33a32f){const _0x935723=a105_0x4711,_0x574663=_0x4065d6();while(!![]){try{const _0x2d60dc=-parseInt(_0x935723(0x1b6))/0x1+-parseInt(_0x935723(0x1bc))/0x2*(-parseInt(_0x935723(0x1be))/0x3)+parseInt(_0x935723(0x1ba))/0x4*(-parseInt(_0x935723(0x1b5))/0x5)+-parseInt(_0x935723(0x1bb))/0x6+-parseInt(_0x935723(0x1b3))/0x7+parseInt(_0x935723(0x1b9))/0x8*(-parseInt(_0x935723(0x1c2))/0x9)+-parseInt(_0x935723(0x1c3))/0xa*(-parseInt(_0x935723(0x1b8))/0xb);if(_0x2d60dc===_0x33a32f)break;else _0x574663['push'](_0x574663['shift']());}catch(_0x2b32bf){_0x574663['push'](_0x574663['shift']());}}}(a105_0x33d1,0xe91e4));import{createHash}from'node:crypto';import{fileContent,normalizeManifestFiles}from'./local-files.js';function a105_0x4711(_0x48bd0d,_0x17551a){_0x48bd0d=_0x48bd0d-0x1b3;const _0x33d1c6=a105_0x33d1();let _0x4711c0=_0x33d1c6[_0x48bd0d];return _0x4711c0;}export function contentHash(_0x327f99){const _0x537cd7=a105_0x4711;return createHash(_0x537cd7(0x1b7))[_0x537cd7(0x1b4)](_0x327f99)['digest']('hex');}function a105_0x33d1(){const _0x488973=['295077RNBstx','hex','path','size','1557oQWlBB','7033090KkWFnp','10648687EJkwbb','update','1525715nRpzXR','1421728KOWomK','sha256','77cyJUmO','13880cVZcvB','16AFXpbc','3519384seqRcd','22lTMKlp','digest'];a105_0x33d1=function(){return _0x488973;};return a105_0x33d1();}export function fileHash(_0xc89c6d){return bufferSha256(fileContent(_0xc89c6d));}export function bufferSha256(_0x6c062d){const _0x4cfd14=a105_0x4711;return createHash(_0x4cfd14(0x1b7))[_0x4cfd14(0x1b4)](_0x6c062d)[_0x4cfd14(0x1bd)](_0x4cfd14(0x1bf));}export function fileTreeHash(_0xa9c48b){const _0x28b80b=a105_0x4711,_0x52e99b=createHash('sha256');for(const _0x45065f of normalizeManifestFiles(_0xa9c48b)){_0x52e99b['update'](_0x45065f[_0x28b80b(0x1c0)]),_0x52e99b['update']('\x00'),_0x52e99b['update'](_0x45065f[_0x28b80b(0x1b7)]),_0x52e99b['update']('\x00'),_0x52e99b['update'](String(_0x45065f[_0x28b80b(0x1c1)])),_0x52e99b['update']('\x00');}return _0x52e99b[_0x28b80b(0x1bd)]('hex');}
1
+ (function(_0x247348,_0x23e48e){const _0x3aee19=a105_0x2b4d,_0xa3366b=_0x247348();while(!![]){try{const _0x36db7f=parseInt(_0x3aee19(0x12b))/0x1*(parseInt(_0x3aee19(0x123))/0x2)+parseInt(_0x3aee19(0x12a))/0x3*(-parseInt(_0x3aee19(0x130))/0x4)+-parseInt(_0x3aee19(0x12e))/0x5+parseInt(_0x3aee19(0x125))/0x6+parseInt(_0x3aee19(0x127))/0x7*(parseInt(_0x3aee19(0x124))/0x8)+parseInt(_0x3aee19(0x131))/0x9+-parseInt(_0x3aee19(0x12f))/0xa;if(_0x36db7f===_0x23e48e)break;else _0xa3366b['push'](_0xa3366b['shift']());}catch(_0x10f3ff){_0xa3366b['push'](_0xa3366b['shift']());}}}(a105_0x1537,0x47434));import{createHash}from'node:crypto';import{fileContent,normalizeManifestFiles}from'./local-files.js';function a105_0x2b4d(_0x124237,_0x1e9b8e){_0x124237=_0x124237-0x123;const _0x1537f2=a105_0x1537();let _0x2b4d75=_0x1537f2[_0x124237];return _0x2b4d75;}export function contentHash(_0x43134b){const _0x21e173=a105_0x2b4d;return createHash(_0x21e173(0x126))['update'](_0x43134b)[_0x21e173(0x128)](_0x21e173(0x12c));}function a105_0x1537(){const _0x37acb0=['path','780846lpBqpY','1dieZwk','hex','update','2754060PkRFIq','2443560GFlZQd','8lOhJHa','4829742YwOeSb','575332vzfeAW','5136aCobCw','1691508BIcyOA','sha256','5467DFEpwL','digest'];a105_0x1537=function(){return _0x37acb0;};return a105_0x1537();}export function fileHash(_0x4c8a52){return bufferSha256(fileContent(_0x4c8a52));}export function bufferSha256(_0xa2e759){const _0x4b864c=a105_0x2b4d;return createHash(_0x4b864c(0x126))[_0x4b864c(0x12d)](_0xa2e759)[_0x4b864c(0x128)](_0x4b864c(0x12c));}export function fileTreeHash(_0x53b7c0){const _0x1215c7=a105_0x2b4d,_0xfe9f68=createHash(_0x1215c7(0x126));for(const _0x3fcd23 of normalizeManifestFiles(_0x53b7c0)){_0xfe9f68[_0x1215c7(0x12d)](_0x3fcd23[_0x1215c7(0x129)]),_0xfe9f68['update']('\x00'),_0xfe9f68['update'](_0x3fcd23[_0x1215c7(0x126)]),_0xfe9f68[_0x1215c7(0x12d)]('\x00'),_0xfe9f68[_0x1215c7(0x12d)](String(_0x3fcd23['size'])),_0xfe9f68[_0x1215c7(0x12d)]('\x00');}return _0xfe9f68['digest']('hex');}