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

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(_0x5dbcb9,_0x5e5134){const _0x272cb3=a83_0x2fc5,_0x1f6eb0=_0x5dbcb9();while(!![]){try{const _0x4d4f08=parseInt(_0x272cb3(0xb5))/0x1+-parseInt(_0x272cb3(0xae))/0x2*(parseInt(_0x272cb3(0xba))/0x3)+parseInt(_0x272cb3(0xbb))/0x4*(parseInt(_0x272cb3(0xbd))/0x5)+-parseInt(_0x272cb3(0xb1))/0x6*(parseInt(_0x272cb3(0xbf))/0x7)+-parseInt(_0x272cb3(0xaa))/0x8*(-parseInt(_0x272cb3(0xb6))/0x9)+-parseInt(_0x272cb3(0xb3))/0xa*(-parseInt(_0x272cb3(0xb0))/0xb)+parseInt(_0x272cb3(0xac))/0xc*(-parseInt(_0x272cb3(0xaf))/0xd);if(_0x4d4f08===_0x5e5134)break;else _0x1f6eb0['push'](_0x1f6eb0['shift']());}catch(_0x46ab09){_0x1f6eb0['push'](_0x1f6eb0['shift']());}}}(a83_0x5f5d,0x58761));function a83_0x5f5d(){const _0x4488f3=['33Cinxwb','4134THLcAe','map','1378630vfnTrO','newConfigFileName','353632jykXAZ','222228kTlNHd','service','Requires\x20appcode\x20(set\x20via\x20','filter','3sUMeIG','2148ShTBBx','generateCommandHelp','2705QVECvI','get','1813mqLTuG','generateFullHelp','160gTKotd','has','12vVyDZU','generateServiceHelp','1262914TDTgeU','4931329mnDWZZ'];a83_0x5f5d=function(){return _0x4488f3;};return a83_0x5f5d();}import{createHelpGenerators}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';function a83_0x2fc5(_0x5c239a,_0x303879){_0x5c239a=_0x5c239a-0xaa;const _0x5f5da1=a83_0x5f5d();let _0x2fc593=_0x5f5da1[_0x5c239a];return _0x2fc593;}import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{serviceRegistry,serviceGroups,getServiceEntry}from'../commands/registry.js';import{getDynamicServiceDefinitions,getDynamicServiceEntry,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{PRODUCT_CONFIG}from'../constant/product.js';function createGenerators(){const _0x14513b=a83_0x2fc5;return createHelpGenerators({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(serviceRegistry,safeListDynamicServiceEntries()),'getServiceEntry':getAnyServiceEntry,'getServiceDefinitions':getAnyServiceDefinitions,'buildAllFlags':buildAllFlags,'appPrerequisiteText':_0x14513b(0xb8)+PRODUCT_CONFIG[_0x14513b(0xb4)]+'\x20or\x20--appcode).'});}export function generateCommandHelp(_0x46d4c5){const _0x49099e=a83_0x2fc5;return createGenerators()[_0x49099e(0xbc)](_0x46d4c5);}export function generateServiceHelp(_0x4a71ad){const _0x461b3f=a83_0x2fc5;return createGenerators()[_0x461b3f(0xad)](_0x4a71ad);}export function generateFullHelp(){const _0x38120d=a83_0x2fc5;return createGenerators()[_0x38120d(0xc0)]();}function getAnyServiceEntry(_0x2f6cd6){const _0x5b1f6d=getServiceEntry(_0x2f6cd6);if(_0x5b1f6d)return _0x5b1f6d;try{return getDynamicServiceEntry(_0x2f6cd6);}catch{return undefined;}}function getAnyServiceDefinitions(_0x55837e){const _0x13aba4=a83_0x2fc5,_0x1a3bc8=serviceGroups[_0x13aba4(0xbe)](_0x55837e);if(_0x1a3bc8)return _0x1a3bc8;try{return getDynamicServiceDefinitions(_0x55837e);}catch{return undefined;}}function safeListDynamicServiceEntries(){const _0x4da4dc=a83_0x2fc5,_0x3c1764=new Set(serviceRegistry[_0x4da4dc(0xb2)](_0x58a0c5=>_0x58a0c5[_0x4da4dc(0xb7)]));try{return listDynamicServiceEntries()[_0x4da4dc(0xb9)](_0xa788c2=>!_0x3c1764[_0x4da4dc(0xab)](_0xa788c2[_0x4da4dc(0xb7)]));}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(_0x49f321,_0x3baa7c){var _0x4edd54=a84_0x1e7d,_0x4fe376=_0x49f321();while(!![]){try{var _0x31f26e=parseInt(_0x4edd54(0x90))/0x1*(parseInt(_0x4edd54(0x8c))/0x2)+parseInt(_0x4edd54(0x91))/0x3*(-parseInt(_0x4edd54(0x8b))/0x4)+parseInt(_0x4edd54(0x8f))/0x5*(parseInt(_0x4edd54(0x8a))/0x6)+parseInt(_0x4edd54(0x89))/0x7+-parseInt(_0x4edd54(0x92))/0x8*(-parseInt(_0x4edd54(0x87))/0x9)+parseInt(_0x4edd54(0x8e))/0xa+parseInt(_0x4edd54(0x8d))/0xb*(-parseInt(_0x4edd54(0x88))/0xc);if(_0x31f26e===_0x3baa7c)break;else _0x4fe376['push'](_0x4fe376['shift']());}catch(_0x1f06b5){_0x4fe376['push'](_0x4fe376['shift']());}}}(a84_0x35e2,0xa2786));export{runCommand}from'../framework/runner.js';function a84_0x1e7d(_0xf45c1c,_0x4c38a0){_0xf45c1c=_0xf45c1c-0x87;var _0x35e2fa=a84_0x35e2();var _0x1e7d20=_0x35e2fa[_0xf45c1c];return _0x1e7d20;}export{parseFlags,validateFlags}from'../framework/flags.js';export{formatOutput}from'../framework/output.js';export{generateCommandHelp,generateServiceHelp,generateFullHelp}from'../framework/help.js';export{extractList,extractPaging}from'../framework/response.js';function a84_0x35e2(){var _0x499692=['9SLpfpM','300ftXHdN','340529GZYBIn','210QOuUyb','25372pQzwsw','664pDNWfm','926255uejnAp','12970760KpzpNn','155355pzLCYd','564PfCIsl','498YXWklk','9624680XYyCxQ'];a84_0x35e2=function(){return _0x499692;};return a84_0x35e2();}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(_0x3871e0,_0x572c06){const _0x28c8df=a85_0x3999,_0x439d88=_0x3871e0();while(!![]){try{const _0x456331=-parseInt(_0x28c8df(0x1d8))/0x1+-parseInt(_0x28c8df(0x1d3))/0x2*(-parseInt(_0x28c8df(0x1cc))/0x3)+-parseInt(_0x28c8df(0x1d7))/0x4+-parseInt(_0x28c8df(0x1d4))/0x5+-parseInt(_0x28c8df(0x1d0))/0x6+-parseInt(_0x28c8df(0x1d5))/0x7+-parseInt(_0x28c8df(0x1ce))/0x8*(-parseInt(_0x28c8df(0x1d6))/0x9);if(_0x456331===_0x572c06)break;else _0x439d88['push'](_0x439d88['shift']());}catch(_0x27d27f){_0x439d88['push'](_0x439d88['shift']());}}}(a85_0x171a,0x631a4));import{createFormatOutput,resolveBundledJqPaths}from'@lovrabet/cli-framework';import{CliErrors}from'../errors.js';const baseFormatOutput=createFormatOutput({'cliErrors':CliErrors,'jqBinaryResolverOptions':{'bundledJqPaths':resolveBundledJqPaths()}});export function formatOutput(_0x44694c,_0x5685f9){const _0x29430c=a85_0x3999,_0x345e86=_0x44694c['_notice'],{_notice:_0x16ae37,..._0x5f5c38}=_0x44694c;void _0x16ae37,baseFormatOutput(_0x5f5c38,_0x5685f9),_0x5685f9[_0x29430c(0x1cd)]==='pretty'&&printPrettyNotice(_0x345e86);}function a85_0x3999(_0x4902ad,_0x7a41e6){_0x4902ad=_0x4902ad-0x1cc;const _0x171a57=a85_0x171a();let _0x3999f7=_0x171a57[_0x4902ad];return _0x3999f7;}function a85_0x171a(){const _0x29135d=['9232WelSeT','message','2148318MJpcah','update','error','396534DcqkZu','3788300nZMeBF','2151695vjJeIk','15192SjIphg','2024804xVVJvV','207530PrHVow','9tehgqw','format'];a85_0x171a=function(){return _0x29135d;};return a85_0x171a();}function printPrettyNotice(_0x248690){const _0x3cc37b=a85_0x3999;if(!_0x248690?.['update'])return;console[_0x3cc37b(0x1d2)](_0x248690[_0x3cc37b(0x1d1)][_0x3cc37b(0x1cf)]+'\x20('+_0x248690[_0x3cc37b(0x1d1)]['url']+')');}
@@ -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(_0x2617d8,_0x25dabd){const _0x1b296e=a86_0x18a8,_0x4753b5=_0x2617d8();while(!![]){try{const _0x313a6d=-parseInt(_0x1b296e(0xc0))/0x1*(-parseInt(_0x1b296e(0xba))/0x2)+parseInt(_0x1b296e(0xa3))/0x3+-parseInt(_0x1b296e(0xac))/0x4+-parseInt(_0x1b296e(0xa5))/0x5+parseInt(_0x1b296e(0xbd))/0x6*(-parseInt(_0x1b296e(0xb7))/0x7)+-parseInt(_0x1b296e(0xbf))/0x8*(-parseInt(_0x1b296e(0xae))/0x9)+parseInt(_0x1b296e(0xa9))/0xa*(parseInt(_0x1b296e(0xb3))/0xb);if(_0x313a6d===_0x25dabd)break;else _0x4753b5['push'](_0x4753b5['shift']());}catch(_0x41bb84){_0x4753b5['push'](_0x4753b5['shift']());}}}(a86_0x5d5e,0xcd163));function toKebab(_0x4f1d37){const _0x1c0c97=a86_0x18a8;return _0x4f1d37[_0x1c0c97(0xa2)](/_/g,'-')['replace'](/-([A-Z]+)/g,(_0x301fc8,_0x20b044)=>'-'+_0x20b044['toLowerCase']())[_0x1c0c97(0xa2)](/([a-z0-9])([A-Z])/g,(_0x50dd6a,_0x491784,_0x385208)=>_0x491784+'-'+_0x385208)['toLowerCase']();}function buildKnownFlags(_0x51c215){const _0x593b87=a86_0x18a8,_0x314f42=new Set();for(const _0x4941b7 of _0x51c215){_0x314f42[_0x593b87(0xa0)](_0x4941b7[_0x593b87(0xab)]),_0x314f42[_0x593b87(0xa0)](toCamelCase(_0x4941b7[_0x593b87(0xab)]));}for(const _0x15e946 of[_0x593b87(0xb2),'dryRun',_0x593b87(0xb8),'format']){_0x314f42[_0x593b87(0xa0)](_0x15e946);}for(const _0x496270 of[_0x593b87(0xb6),_0x593b87(0xbe),_0x593b87(0xbc),_0x593b87(0xaa),_0x593b87(0xb1),_0x593b87(0xb0),'ci','global','version']){_0x314f42[_0x593b87(0xa0)](_0x496270);}return _0x314f42;}function a86_0x5d5e(){const _0x4fc741=['3218247MMUpLK','corrected','non-interactive','nonInteractive','dry-run','11eNdXjp','length','has','help','7wGdeZl','yes','number','26ruXsxD','get','appcode','4506126NKTZHp','env','24PbMHmG','27609bjLMXz','type','slice','keys','alias','add','set','replace','978414DlYxht','string','6425150wTRYLM','boolean','push','indexOf','25864630OlHrGA','app','name','5872724zMVaHU','original'];a86_0x5d5e=function(){return _0x4fc741;};return a86_0x5d5e();}function buildFlagTypeMap(_0x199f86){const _0x23e583=a86_0x18a8,_0x5bd3e2=new Map();for(const _0x1b7639 of _0x199f86){_0x5bd3e2[_0x23e583(0xa1)](_0x1b7639[_0x23e583(0xab)],_0x1b7639['type']),_0x5bd3e2['set'](toCamelCase(_0x1b7639[_0x23e583(0xab)]),_0x1b7639[_0x23e583(0x9c)]);}return _0x5bd3e2;}function toCamelCase(_0x10faf8){const _0x5367ca=a86_0x18a8;return _0x10faf8[_0x5367ca(0xa2)](/-([a-z])/g,(_0x391913,_0x3e5a4e)=>_0x3e5a4e['toUpperCase']());}function a86_0x18a8(_0x2dc087,_0x14eb0d){_0x2dc087=_0x2dc087-0x9c;const _0x5d5e20=a86_0x5d5e();let _0x18a870=_0x5d5e20[_0x2dc087];return _0x18a870;}function aliasHandler(_0x4ad0d9,_0x397b49){const _0x129e2a=a86_0x18a8,_0x53a205=[];for(const _0x4fbffc of Object[_0x129e2a(0x9e)](_0x4ad0d9)){if(_0x397b49[_0x129e2a(0xb5)](_0x4fbffc))continue;const _0x16c877=toKebab(_0x4fbffc);_0x16c877!==_0x4fbffc&&_0x397b49[_0x129e2a(0xb5)](_0x16c877)&&_0x53a205[_0x129e2a(0xa7)]({'original':_0x4fbffc,'corrected':_0x16c877,'handler':_0x129e2a(0x9f)});}return _0x53a205;}function stickyHandler(_0x5355a8,_0x4dd27c,_0xa04446){const _0x1a22ac=a86_0x18a8,_0x1346f9=[];for(const [_0x4d1fd2,_0x531804]of Object['entries'](_0x5355a8)){if(_0x531804!==!![])continue;for(let _0x202ccd=_0x4d1fd2[_0x1a22ac(0xb4)]-0x1;_0x202ccd>0x0;_0x202ccd--){const _0x940779=_0x4d1fd2[_0x1a22ac(0x9d)](0x0,_0x202ccd),_0x58fbc8=_0x4d1fd2['slice'](_0x202ccd),_0x54a44b=toKebab(_0x940779),_0xfed992=toCamelCase(_0x940779),_0x30b859=_0x4dd27c[_0x1a22ac(0xb5)](_0x940779)?_0x940779:_0x4dd27c[_0x1a22ac(0xb5)](_0x54a44b)?_0x54a44b:_0x4dd27c[_0x1a22ac(0xb5)](_0xfed992)?_0xfed992:null;if(!_0x30b859)continue;const _0x49f871=_0xa04446[_0x1a22ac(0xbb)](_0x30b859)??_0x1a22ac(0xa4);let _0x4361ff;if(_0x49f871===_0x1a22ac(0xb9)){const _0x5b2eea=Number(_0x58fbc8);if(isNaN(_0x5b2eea)||_0x58fbc8==='')continue;_0x4361ff=_0x5b2eea;}else{if(_0x49f871===_0x1a22ac(0xa6))continue;else{if(_0x58fbc8==='')continue;_0x4361ff=_0x58fbc8;}}_0x1346f9[_0x1a22ac(0xa7)]({'original':_0x4d1fd2,'corrected':_0x30b859+'='+_0x4361ff,'handler':'sticky'});break;}}return _0x1346f9;}export function correctFlags(_0x1fcc37,_0x37c0a4){const _0x4e5402=a86_0x18a8,_0x19375e=buildKnownFlags(_0x37c0a4),_0x425e16=buildFlagTypeMap(_0x37c0a4),_0x3f2577=aliasHandler(_0x1fcc37,_0x19375e),_0x252815=stickyHandler(_0x1fcc37,_0x19375e,_0x425e16),_0x822640=[..._0x3f2577,..._0x252815];if(_0x822640['length']===0x0)return{'flags':_0x1fcc37,'corrections':[]};const _0x53d85c={..._0x1fcc37},_0x17c0b4=new Set();for(const _0x377128 of _0x3f2577){_0x53d85c[_0x377128[_0x4e5402(0xaf)]]=_0x1fcc37[_0x377128['original']],_0x17c0b4['add'](_0x377128['original']);}for(const _0x4ffcab of _0x252815){const _0x5d58a3=_0x4ffcab[_0x4e5402(0xaf)][_0x4e5402(0xa8)]('='),_0x5aef73=_0x4ffcab['corrected'][_0x4e5402(0x9d)](0x0,_0x5d58a3),_0x4098ab=_0x4ffcab['corrected'][_0x4e5402(0x9d)](_0x5d58a3+0x1),_0x53d4a9=_0x425e16[_0x4e5402(0xbb)](_0x5aef73)??_0x4e5402(0xa4);_0x53d4a9===_0x4e5402(0xb9)?_0x53d85c[_0x5aef73]=Number(_0x4098ab):_0x53d85c[_0x5aef73]=_0x4098ab,_0x17c0b4[_0x4e5402(0xa0)](_0x4ffcab[_0x4e5402(0xad)]);}for(const _0x5b9571 of _0x17c0b4){delete _0x53d85c[_0x5b9571];}return{'flags':_0x53d85c,'corrections':_0x822640};}
@@ -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
+ function a87_0x51bf(_0x572260,_0x2ac60d){_0x572260=_0x572260-0xe0;const _0x5554ab=a87_0x5554();let _0x51bf3f=_0x5554ab[_0x572260];return _0x51bf3f;}const a87_0x1f79f1=a87_0x51bf;(function(_0x50f1ab,_0xeac63e){const _0x2f0b81=a87_0x51bf,_0x5c0de2=_0x50f1ab();while(!![]){try{const _0x1aef7b=parseInt(_0x2f0b81(0xef))/0x1*(-parseInt(_0x2f0b81(0xe5))/0x2)+-parseInt(_0x2f0b81(0xf2))/0x3*(-parseInt(_0x2f0b81(0xfd))/0x4)+-parseInt(_0x2f0b81(0xed))/0x5*(parseInt(_0x2f0b81(0xf8))/0x6)+parseInt(_0x2f0b81(0xe3))/0x7+parseInt(_0x2f0b81(0xec))/0x8*(-parseInt(_0x2f0b81(0xfa))/0x9)+parseInt(_0x2f0b81(0xfe))/0xa*(parseInt(_0x2f0b81(0xf3))/0xb)+-parseInt(_0x2f0b81(0xe4))/0xc;if(_0x1aef7b===_0xeac63e)break;else _0x5c0de2['push'](_0x5c0de2['shift']());}catch(_0x1cf4ae){_0x5c0de2['push'](_0x5c0de2['shift']());}}}(a87_0x5554,0xab144));import{CliErrors}from'../errors.js';function a87_0x5554(){const _0x5617c5=['2352570ZKnRKu','isInteger','2ZmXcDU','has','EXCEED_MAX_QPS_LIMIT','2779638WVDUTq','2250809YjrUFU','Retry\x20after\x20a\x20short\x20delay.','entries','call','MAX_QPS_LIMIT','6zuQTPe','number','719091iDdZSL','Request\x20rate\x20limit\x20exceeded.','retryAfter','4eXOJya','10YgUcJB','Retry\x20after\x20','isArray','string','retryAfterSeconds','toLowerCase','Retry-After','retry-after','get','test','function','7230069hDunDr','1871184sONIzk','677048EcwBES','Wait\x20','IP_RATE_LIMIT_EXCEEDED','trim','object','errorCode','status','16IYqmEw'];a87_0x5554=function(){return _0x5617c5;};return a87_0x5554();}const RATE_LIMIT_ERROR_CODES=new Set([a87_0x1f79f1(0xf1),a87_0x1f79f1(0xf7),a87_0x1f79f1(0xe7)]);function nonEmptyString(_0x8de2ee){const _0x3b5a86=a87_0x1f79f1;if(typeof _0x8de2ee!==_0x3b5a86(0x101))return undefined;const _0x542e92=_0x8de2ee[_0x3b5a86(0xe8)]();return _0x542e92||undefined;}function buildRetryHint(_0x724b6a){const _0x4431f7=a87_0x1f79f1,_0x50c9b3=nonEmptyString(_0x724b6a),_0x257bf0=_0x50c9b3?/^\d+$/[_0x4431f7(0xe1)](_0x50c9b3)?_0x4431f7(0xe6)+_0x50c9b3+'\x20seconds\x20before\x20retrying.':_0x4431f7(0xff)+_0x50c9b3+'.':_0x4431f7(0xf4);return _0x257bf0+'\x20Retry\x20only\x20the\x20failed\x20item;\x20keep\x20requests\x20serial\x20and\x20preserve\x20completed\x20checkpoints.';}export function createRateLimitError(_0x235006){const _0xc860cf=a87_0x1f79f1,_0x1ed715=nonEmptyString(_0x235006[_0xc860cf(0xea)])?.['toUpperCase'](),_0xfa306a=Number(_0x235006[_0xc860cf(0xeb)])===0x1ad||_0x1ed715!==undefined&&RATE_LIMIT_ERROR_CODES[_0xc860cf(0xf0)](_0x1ed715);if(!_0xfa306a)return undefined;return CliErrors['rateLimited'](nonEmptyString(_0x235006['message'])??_0xc860cf(0xfb),buildRetryHint(_0x235006[_0xc860cf(0xfc)]));}export function readRetryAfter(_0x1d6749){const _0x39a788=a87_0x1f79f1;if(!_0x1d6749||typeof _0x1d6749!==_0x39a788(0xe9))return undefined;const _0x18b880=_0x1d6749[_0x39a788(0xe0)];if(typeof _0x18b880===_0x39a788(0xe2)){const _0x26a680=_0x18b880['call'](_0x1d6749,_0x39a788(0x104))??_0x18b880[_0x39a788(0xf6)](_0x1d6749,'retry-after');return nonEmptyString(_0x26a680);}for(const [_0x5836b9,_0x2dfdeb]of Object[_0x39a788(0xf5)](_0x1d6749)){if(_0x5836b9[_0x39a788(0x103)]()===_0x39a788(0x105))return nonEmptyString(_0x2dfdeb)??(typeof _0x2dfdeb===_0x39a788(0xf9)?String(_0x2dfdeb):undefined);}return undefined;}export function readRetryAfterSeconds(_0x276cc5){const _0xbdbcdc=a87_0x1f79f1;if(!_0x276cc5||typeof _0x276cc5!==_0xbdbcdc(0xe9)||Array[_0xbdbcdc(0x100)](_0x276cc5))return undefined;const _0x1c946b=_0x276cc5[_0xbdbcdc(0x102)];if(typeof _0x1c946b===_0xbdbcdc(0xf9))return Number[_0xbdbcdc(0xee)](_0x1c946b)&&_0x1c946b>=0x0?String(_0x1c946b):undefined;const _0xe963d7=nonEmptyString(_0x1c946b);return _0xe963d7&&/^\d+$/[_0xbdbcdc(0xe1)](_0xe963d7)?_0xe963d7: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(_0x3c61df,_0x473fd9){var _0x121921=a88_0x5971,_0x4897e6=_0x3c61df();while(!![]){try{var _0x213038=-parseInt(_0x121921(0x15e))/0x1+parseInt(_0x121921(0x15b))/0x2*(parseInt(_0x121921(0x15d))/0x3)+parseInt(_0x121921(0x164))/0x4*(-parseInt(_0x121921(0x163))/0x5)+parseInt(_0x121921(0x15c))/0x6+-parseInt(_0x121921(0x162))/0x7+parseInt(_0x121921(0x160))/0x8+-parseInt(_0x121921(0x15f))/0x9*(-parseInt(_0x121921(0x161))/0xa);if(_0x213038===_0x473fd9)break;else _0x4897e6['push'](_0x4897e6['shift']());}catch(_0xf6e9b4){_0x4897e6['push'](_0x4897e6['shift']());}}}(a88_0x19e8,0xa5d43));function a88_0x5971(_0x1c4377,_0x132d54){_0x1c4377=_0x1c4377-0x15b;var _0x19e8ed=a88_0x19e8();var _0x597187=_0x19e8ed[_0x1c4377];return _0x597187;}export{extractList,extractPaging}from'@lovrabet/cli-framework';function a88_0x19e8(){var _0x4c6f89=['126OBtLep','3912208rLFdnp','1152740yULwge','551271PjdYEc','105SnCQxG','204104oPyiev','250HmaLUo','4216116FtBBEQ','2994qlRXZM','1100764kgAOeV'];a88_0x19e8=function(){return _0x4c6f89;};return a88_0x19e8();}
@@ -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(_0x6d31e5,_0x419bdf){const _0x5326bf=a89_0x49c7,_0x15aa5c=_0x6d31e5();while(!![]){try{const _0x391121=-parseInt(_0x5326bf(0x103))/0x1*(-parseInt(_0x5326bf(0x101))/0x2)+parseInt(_0x5326bf(0xf5))/0x3+-parseInt(_0x5326bf(0xf9))/0x4+parseInt(_0x5326bf(0x10e))/0x5*(-parseInt(_0x5326bf(0x113))/0x6)+parseInt(_0x5326bf(0x116))/0x7*(-parseInt(_0x5326bf(0x100))/0x8)+-parseInt(_0x5326bf(0x104))/0x9+parseInt(_0x5326bf(0x119))/0xa;if(_0x391121===_0x419bdf)break;else _0x15aa5c['push'](_0x15aa5c['shift']());}catch(_0x5dc558){_0x15aa5c['push'](_0x15aa5c['shift']());}}}(a89_0x2858,0xc614f));function a89_0x2858(){const _0x360581=['--yes','channel=','kind=','affectedRecords','30920xGZUwx','kind','entries','join','name','1458WkWtwU','schedule-id','id=','21NiIzpY','push','\x20\x20\x20Affected:\x20','30096270ytQQim','stringify','commandLabel','params=','833250wdIuCx','channel','cron','scheduled-at=','4531092uRjcUY','cron=','length','params','description','⚠\x20\x20High-risk\x20operation:\x20','command','2003608TErnfZ','82MRgppI','title','26479YcNzWz','1573515ztzfBT','title=','service','code','scheduled-at','code='];a89_0x2858=function(){return _0x360581;};return a89_0x2858();}import{CLI_BIN_NAME}from'../constant/cli.js';function a89_0x49c7(_0x464ac3,_0x272539){_0x464ac3=_0x464ac3-0xf5;const _0x28581e=a89_0x2858();let _0x49c7ec=_0x28581e[_0x464ac3];return _0x49c7ec;}export function buildConfirmationLines(_0x20c2a8,_0x930076,_0x48d761){const _0x13a995=a89_0x49c7,_0x47824b=buildConfirmationContext(_0x20c2a8,_0x930076,_0x48d761),_0x340dd3=[_0x13a995(0xfe)+_0x47824b[_0x13a995(0x11b)]];return _0x47824b[_0x13a995(0xfd)]&&_0x340dd3[_0x13a995(0x117)]('\x20\x20\x20'+_0x47824b['description']),_0x47824b[_0x13a995(0x10d)]&&_0x340dd3[_0x13a995(0x117)](_0x13a995(0x118)+_0x47824b[_0x13a995(0x10d)]),_0x340dd3['push']('\x20\x20\x20Continue?\x20[y/N]\x20'),_0x340dd3;}export function reconstructCommandArgv(_0x3213da,_0x56bdf8){const _0x5c3677=a89_0x49c7,_0x37eed8=[CLI_BIN_NAME,_0x3213da[_0x5c3677(0x106)],_0x3213da[_0x5c3677(0xff)]];for(const [_0x244219,_0x1a772f]of Object[_0x5c3677(0x110)](_0x56bdf8)){if(_0x1a772f===!![])_0x37eed8[_0x5c3677(0x117)]('--'+_0x244219);else _0x1a772f!==![]&&_0x1a772f!==undefined&&_0x1a772f!==''&&_0x37eed8[_0x5c3677(0x117)]('--'+_0x244219+'\x20'+JSON[_0x5c3677(0x11a)](_0x1a772f));}return _0x37eed8[_0x5c3677(0x117)](_0x5c3677(0x10a)),_0x37eed8['join']('\x20');}function buildConfirmationContext(_0x3f3080,_0x231cc8,_0x377603){const _0x142f8e=extractAffectedRecords(_0x377603);return{'commandLabel':_0x231cc8,'description':_0x3f3080['description'],'affectedRecords':_0x142f8e};}function extractAffectedRecords(_0x2458c1){const _0x3c9f64=a89_0x49c7,_0x326012=[];if(_0x2458c1[_0x3c9f64(0x107)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x109)+_0x2458c1[_0x3c9f64(0x107)]);if(_0x2458c1['id'])_0x326012['push'](_0x3c9f64(0x115)+_0x2458c1['id']);if(_0x2458c1[_0x3c9f64(0x114)])_0x326012[_0x3c9f64(0x117)]('schedule-id='+_0x2458c1[_0x3c9f64(0x114)]);if(_0x2458c1[_0x3c9f64(0x112)])_0x326012[_0x3c9f64(0x117)]('name='+_0x2458c1['name']);if(_0x2458c1[_0x3c9f64(0x102)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x105)+_0x2458c1[_0x3c9f64(0x102)]);if(_0x2458c1[_0x3c9f64(0x10f)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x10c)+_0x2458c1['kind']);if(_0x2458c1[_0x3c9f64(0xf7)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0xfa)+_0x2458c1[_0x3c9f64(0xf7)]);if(_0x2458c1[_0x3c9f64(0x108)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0xf8)+_0x2458c1['scheduled-at']);if(_0x2458c1[_0x3c9f64(0xf6)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x10b)+_0x2458c1[_0x3c9f64(0xf6)]);if(_0x2458c1[_0x3c9f64(0xfc)])_0x326012[_0x3c9f64(0x117)](_0x3c9f64(0x11c)+_0x2458c1['params']);return _0x326012[_0x3c9f64(0xfb)]>0x0?_0x326012[_0x3c9f64(0x111)](',\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 a90_0x2271(){const _0x323d19=['response','3253943obpwXq','601436nqjACP','24nBqyVQ','4083hldVJA','38310bzzKGX','189iebncS','trim','headers','3040212vXzReY','5879934ePUlru','status','66lOHInp','41792fEivxT','message','string','stringify','code','10clfHrq','590JvpZLt'];a90_0x2271=function(){return _0x323d19;};return a90_0x2271();}(function(_0x3c0984,_0x4e4602){const _0x51d6be=a90_0x55f8,_0x1f3260=_0x3c0984();while(!![]){try{const _0x5d0d5a=parseInt(_0x51d6be(0xcd))/0x1+-parseInt(_0x51d6be(0xde))/0x2*(-parseInt(_0x51d6be(0xcf))/0x3)+-parseInt(_0x51d6be(0xd4))/0x4+-parseInt(_0x51d6be(0xd0))/0x5*(-parseInt(_0x51d6be(0xd7))/0x6)+parseInt(_0x51d6be(0xd1))/0x7*(parseInt(_0x51d6be(0xd8))/0x8)+parseInt(_0x51d6be(0xd5))/0x9*(-parseInt(_0x51d6be(0xdd))/0xa)+parseInt(_0x51d6be(0xcc))/0xb*(parseInt(_0x51d6be(0xce))/0xc);if(_0x5d0d5a===_0x4e4602)break;else _0x1f3260['push'](_0x1f3260['shift']());}catch(_0x340ac7){_0x1f3260['push'](_0x1f3260['shift']());}}}(a90_0x2271,0x633ec));import{LovrabetError}from'@lovrabet/sdk';import{CliErrors}from'../errors.js';import{createRateLimitError,readRetryAfter,readRetryAfterSeconds}from'../framework/rate-limit.js';function a90_0x55f8(_0x23ea0d,_0x213b42){_0x23ea0d=_0x23ea0d-0xcb;const _0x227162=a90_0x2271();let _0x55f80e=_0x227162[_0x23ea0d];return _0x55f80e;}export function mapUserFacingExecuteError(_0x31bdbf){const _0x57f6ae=a90_0x55f8;if(_0x31bdbf instanceof LovrabetError){const _0x168d4a=userFacingLovrabetMessage(_0x31bdbf),_0x5f42eb=_0x31bdbf,_0x4a0a0c=createRateLimitError({'status':_0x5f42eb[_0x57f6ae(0xd6)],'errorCode':_0x5f42eb[_0x57f6ae(0xdc)],'message':_0x168d4a,'retryAfter':readRetryAfter(_0x5f42eb[_0x57f6ae(0xcb)]?.[_0x57f6ae(0xd3)])??readRetryAfterSeconds(_0x5f42eb[_0x57f6ae(0xcb)])});return _0x4a0a0c??CliErrors['validation'](_0x168d4a);}return _0x31bdbf;}function userFacingLovrabetMessage(_0xd487ac){const _0x20d5fe=a90_0x55f8,_0x33d62c=_0xd487ac['description'];if(_0x33d62c!==undefined&&_0x33d62c!==null){if(typeof _0x33d62c===_0x20d5fe(0xda)&&_0x33d62c[_0x20d5fe(0xd2)]())return _0x33d62c['trim']();try{return JSON[_0x20d5fe(0xdb)](_0x33d62c);}catch{}}return _0xd487ac[_0x20d5fe(0xd9)];}
@@ -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(_0x576672,_0x4c3fcc){const _0x255315=a91_0x129f,_0x5bc2c6=_0x576672();while(!![]){try{const _0x1c00cf=-parseInt(_0x255315(0x7a))/0x1*(-parseInt(_0x255315(0x8f))/0x2)+-parseInt(_0x255315(0xa1))/0x3+-parseInt(_0x255315(0x83))/0x4+parseInt(_0x255315(0x93))/0x5*(-parseInt(_0x255315(0x72))/0x6)+parseInt(_0x255315(0x77))/0x7+parseInt(_0x255315(0x8b))/0x8*(-parseInt(_0x255315(0xa0))/0x9)+-parseInt(_0x255315(0x95))/0xa*(-parseInt(_0x255315(0x6f))/0xb);if(_0x1c00cf===_0x4c3fcc)break;else _0x5bc2c6['push'](_0x5bc2c6['shift']());}catch(_0x3b720b){_0x5bc2c6['push'](_0x5bc2c6['shift']());}}}(a91_0x2965,0x870ad));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(_0x1d32ac){return void _0x1d32ac,AUTH_MODE['ClientAk'];}let sdkClientInitialized=![];function a91_0x2965(){const _0x2378b0=['string','appCodeSource','9tIOElW','1106841SRHGmn','../commands/app/remote-source.js','configMissing','catch','name','object','../core/sdk-client.js','\x20\x20To\x20proceed:\x20','authRequired','defaultVerbose','appCode','has','rawFlags','cancelled','10558493XUJMEg','appcode','_notice','504798Ygtvlv','\x20app\x20list\x20--no-cache`\x20to\x20refresh\x20available\x20apps,\x20or\x20add\x20apps.','format','accessKey','confirmHighRisk','192136KlcBgE','error','appcode\x20\x22','19927HTnvNE','doctor','APPCODE','app','requiresAppCode','verbose','service','../core/api-client.js','.appcode\x20to\x20','1043768GAIkjK','local-alias','Set\x20accessKey\x20in\x20','trim','newConfigFileName','ACCESS_KEY','map','currentApp','3421192LYqaXc','\x20or\x20pass\x20','filter','pretty','76PxzZaL','mergedCli','items','includes','65UQaVBL','command','20uLvRbg','env','formatOutput','production','validation','pageSize','High-risk\x20operation\x20`','defaultApp','schema'];a91_0x2965=function(){return _0x2378b0;};return a91_0x2965();}export function createPipelineEnv(_0x4964a6,_0x547e84){const _0x3eaa2d=a91_0x129f,_0x13adcd=typeof _0x547e84['app']===_0x3eaa2d(0x9e)&&_0x547e84[_0x3eaa2d(0x7d)][_0x3eaa2d(0x86)]();return{'rawFlags':_0x547e84,'appCode':_0x4964a6[_0x3eaa2d(0x6b)]||productEnv(_0x3eaa2d(0x7c))||(_0x13adcd?undefined:readAppCodeFromConfig()),'appCodeSource':_0x4964a6[_0x3eaa2d(0x9f)],'apiDomain':getApiDomain(),'isNonInteractive':isNonInteractiveMode(_0x547e84),'defaultFormat':_0x4964a6[_0x3eaa2d(0x74)],'defaultPageSize':_0x4964a6[_0x3eaa2d(0x9a)],'defaultVerbose':_0x4964a6[_0x3eaa2d(0x7f)],'riskLevel':_0x4964a6['riskLevel'],'accessKey':_0x4964a6['accessKey'],'env':_0x4964a6['env'],'mergedCli':{'defaultApp':_0x4964a6[_0x3eaa2d(0x9c)],'currentApp':_0x4964a6[_0x3eaa2d(0x8a)],'appCode':_0x4964a6[_0x3eaa2d(0x6b)]}};}export function createLovrabetRunnerAdapter(_0x7cbced={}){const _0x1f3c46=a91_0x129f,_0x231e3e={'cliErrors':CliErrors,'pipelineFlags':GLOBAL_FLAGS[_0x1f3c46(0x8d)](_0x412cfb=>PIPELINE_FLAG_NAMES[_0x1f3c46(0x6c)](_0x412cfb[_0x1f3c46(0xa5)]))[_0x1f3c46(0x89)](({name:_0xa94482,type:_0x43b0c5,description:_0x44b362})=>({'name':_0xa94482,'type':_0x43b0c5,'description':_0x44b362})),'formatOutput':_0x7cbced[_0x1f3c46(0x97)]??formatOutput,'getCommandLabel'(_0x2e6475){const _0x36b6b9=_0x1f3c46;return CLI_BIN_NAME+'\x20'+_0x2e6475[_0x36b6b9(0x80)]+'\x20'+_0x2e6475[_0x36b6b9(0x94)];},'riskPolicy':{'onViolation'(_0x121642){const _0x3c9cce=_0x1f3c46;console[_0x3c9cce(0x78)](_0x121642);},'createError'(_0x198122){return CliErrors['cancelled'](_0x198122);}},async 'prepare'(_0x395814,_0x3ae7bb){const _0x55e10c=_0x1f3c46,_0x461051=resolveAuthMode(_0x3ae7bb);if(_0x395814['requiresAuth']!==![]){if(!_0x3ae7bb['accessKey'])throw CliErrors[_0x55e10c(0x69)](_0x55e10c(0x85)+PRODUCT_CONFIG[_0x55e10c(0x87)]+_0x55e10c(0x8c)+productEnvName(_0x55e10c(0x88))+'.');const {setActiveAK:_0x30a4ff}=await import('../core/api-client.js');_0x30a4ff(_0x3ae7bb['accessKey']);}let _0x2035c5='';if(_0x395814[_0x55e10c(0x7e)]!==![]){_0x2035c5=_0x3ae7bb[_0x55e10c(0x6b)]??'',_0x2035c5=await resolveExplicitAppName(_0x395814,_0x3ae7bb,_0x2035c5);if(!_0x2035c5){await assertSelectedAppNameIsRuntimeAccessible(_0x395814,_0x3ae7bb);throw CliErrors[_0x55e10c(0xa3)]('Set\x20appcode\x20via\x20--appcode\x20or\x20in\x20'+PRODUCT_CONFIG[_0x55e10c(0x87)]+'.');}await assertAppCodeIsRuntimeAccessible(_0x395814,_0x3ae7bb,_0x2035c5);}if(_0x2035c5){const {initSdkClient:_0x5a8c5f}=await import('../core/sdk-client.js');_0x5a8c5f({'appCode':_0x2035c5,'env':_0x3ae7bb['env']??'production','accessKey':_0x3ae7bb[_0x55e10c(0x75)],'authMode':_0x461051}),sdkClientInitialized=!![];}return{'defaults':{'booleans':{'verbose':_0x3ae7bb[_0x55e10c(0x6a)]},'numbers':{'pagesize':_0x3ae7bb['defaultPageSize']}},'extras':{'appCode':_0x2035c5,'cookie':'','apiDomain':_0x3ae7bb['apiDomain'],'apiDir':'','accessKey':_0x3ae7bb[_0x55e10c(0x75)],'envName':_0x3ae7bb[_0x55e10c(0x96)],'mergedCli':_0x3ae7bb[_0x55e10c(0x90)]}};},'confirmHighRisk':_0x7cbced[_0x1f3c46(0x76)]??(async({def:_0x316a3b,env:_0xb7d244,flags:_0x2c7687,commandLabel:_0x40ee1f})=>{const _0x273290=_0x1f3c46;if(_0xb7d244['isNonInteractive']){const _0x5833ac=reconstructCommandArgv(_0x316a3b,_0x2c7687);throw CliErrors[_0x273290(0x99)](_0x273290(0x9b)+_0x40ee1f+'`\x20requires\x20--yes\x20in\x20non-interactive\x20mode.\x0a'+(_0x273290(0x68)+_0x5833ac));}await requireConfirmationPrompt({'lines':buildConfirmationLines(_0x316a3b,_0x40ee1f,_0x2c7687),'createCancelledError':_0x224768=>CliErrors[_0x273290(0x6e)](_0x224768)});}),'mapDryRunError'(_0x392783){return mapUserFacingExecuteError(_0x392783);},'mapExecuteError'(_0x439c56){return mapUserFacingExecuteError(_0x439c56);},async 'finalize'(){await finalizeLovrabetRuntimeState();}};return _0x231e3e;}const terminalRunnerAdapter=createLovrabetRunnerAdapter();export async function finalizeLovrabetRuntimeState(){const _0x45a27b=a91_0x129f;try{if(sdkClientInitialized){const {clearSdkClient:_0x2f0faa}=await import(_0x45a27b(0x67));_0x2f0faa();}}finally{sdkClientInitialized=![];const {clearActiveAK:_0x2b5636}=await import(_0x45a27b(0x81));_0x2b5636();}}async function resolveExplicitAppName(_0xbd429b,_0x7068bc,_0x935db8){const _0x224c41=a91_0x129f;if(_0xbd429b[_0x224c41(0x7e)]===![])return _0x935db8;const _0x1d8659=typeof _0x7068bc['rawFlags']['app']===_0x224c41(0x9e)?_0x7068bc['rawFlags'][_0x224c41(0x7d)]['trim']():'';if(!_0x1d8659)return _0x935db8;const _0x22038e=typeof _0x7068bc[_0x224c41(0x6d)][_0x224c41(0x70)]===_0x224c41(0x9e)&&_0x7068bc[_0x224c41(0x6d)]['appcode'][_0x224c41(0x86)]()||productEnv('APPCODE');if(_0x22038e||_0x7068bc[_0x224c41(0x9f)]===_0x224c41(0x84))return _0x935db8;const {getRemoteAppList:_0x9a2212}=await import(_0x224c41(0xa2)),_0x36777c=await _0x9a2212({'env':_0x7068bc[_0x224c41(0x96)]??'production','accessKey':_0x7068bc[_0x224c41(0x75)]}),_0x47f62b=findAppByName(_0x36777c[_0x224c41(0x91)],_0x1d8659);if(_0x47f62b&&!isRuntimeAccessibleApp(_0x47f62b))throw runtimeInaccessibleAppError(_0x47f62b,'\x22'+_0x1d8659+'\x22');const _0xcb64c1=_0x47f62b?.[_0x224c41(0x6b)]?.[_0x224c41(0x86)]();if(_0xcb64c1)return _0xcb64c1;throw CliErrors[_0x224c41(0x99)]('Unknown\x20app:\x20'+_0x1d8659,'Run\x20`'+CLI_BIN_NAME+_0x224c41(0x73)+_0x1d8659+_0x224c41(0x82)+PRODUCT_CONFIG[_0x224c41(0x87)]+'.');}function a91_0x129f(_0x392fd6,_0x490a95){_0x392fd6=_0x392fd6-0x66;const _0x2965e0=a91_0x2965();let _0x129f5c=_0x2965e0[_0x392fd6];return _0x129f5c;}async function assertSelectedAppNameIsRuntimeAccessible(_0x466b53,_0xbef285){const _0x1a0f69=a91_0x129f;if(_0x466b53['requiresAppCode']===![]||!_0xbef285[_0x1a0f69(0x75)])return;const _0x11b2a0=(typeof _0xbef285[_0x1a0f69(0x6d)][_0x1a0f69(0x7d)]===_0x1a0f69(0x9e)&&_0xbef285[_0x1a0f69(0x6d)][_0x1a0f69(0x7d)]['trim']()?_0xbef285[_0x1a0f69(0x6d)]['app']:_0xbef285['mergedCli']?.[_0x1a0f69(0x8a)]??_0xbef285[_0x1a0f69(0x90)]?.[_0x1a0f69(0x9c)])?.[_0x1a0f69(0x86)]();if(!_0x11b2a0)return;const {getRemoteAppList:_0x4c7588}=await import('../commands/app/remote-source.js'),_0x52f498=await _0x4c7588({'env':_0xbef285[_0x1a0f69(0x96)]??_0x1a0f69(0x98),'accessKey':_0xbef285[_0x1a0f69(0x75)]}),_0x1102ab=findAppByName(_0x52f498['items'],_0x11b2a0);if(_0x1102ab&&!isRuntimeAccessibleApp(_0x1102ab))throw runtimeInaccessibleAppError(_0x1102ab,'\x22'+_0x11b2a0+'\x22');}async function assertAppCodeIsRuntimeAccessible(_0x4115c7,_0x4e5065,_0x22a298){const _0x3d4237=a91_0x129f;if(_0x4115c7[_0x3d4237(0x7e)]===![]||!_0x4e5065[_0x3d4237(0x75)])return;const {getRemoteAppList:_0x158ae2}=await import('../commands/app/remote-source.js'),_0x52b2ff=await _0x158ae2({'env':_0x4e5065[_0x3d4237(0x96)]??_0x3d4237(0x98),'accessKey':_0x4e5065[_0x3d4237(0x75)]}),_0x36a52a=findAppByCode(_0x52b2ff[_0x3d4237(0x91)],_0x22a298);if(_0x36a52a&&!isRuntimeAccessibleApp(_0x36a52a))throw runtimeInaccessibleAppError(_0x36a52a,_0x3d4237(0x79)+_0x22a298+'\x22');}export async function runCommand(_0xaea4c6,_0x53b310,_0x36f87=terminalRunnerAdapter){await runCommandWithAdapter(shouldAttachUpdateNotice(_0xaea4c6)?withUpdateNotice(_0xaea4c6):_0xaea4c6,_0x53b310,_0x36f87);}function shouldAttachUpdateNotice(_0x309433){const _0x53cf75=a91_0x129f;return!['update',_0x53cf75(0x9d),_0x53cf75(0x7b)][_0x53cf75(0x92)](_0x309433['service']);}function withUpdateNotice(_0x318b3f){return{..._0x318b3f,async 'execute'(_0x1f53e7){const _0x3d1221=a91_0x129f,_0x499e55=shouldResolveUpdateNotice(_0x1f53e7)?resolveLatestUpdateNotice()[_0x3d1221(0xa4)](()=>null):Promise['resolve'](null),_0x315d89=await _0x318b3f['execute'](_0x1f53e7);return attachUpdateNotice(_0x315d89,await _0x499e55);}};}function shouldResolveUpdateNotice(_0x12f4c8){const _0x53e2d5=a91_0x129f;return _0x12f4c8[_0x53e2d5(0x74)]===_0x53e2d5(0x8e)&&!_0x12f4c8['nonInteractive'];}function attachUpdateNotice(_0x3b5ee6,_0x1cac13){const _0x2b3ca7=a91_0x129f;if(!_0x1cac13||!_0x3b5ee6||typeof _0x3b5ee6!==_0x2b3ca7(0x66))return _0x3b5ee6;const _0x490bfe=_0x3b5ee6,_0x2a69eb=typeof _0x490bfe[_0x2b3ca7(0x71)]==='object'&&_0x490bfe[_0x2b3ca7(0x71)]!==null?_0x490bfe['_notice']:{};return{..._0x490bfe,'_notice':{..._0x2a69eb,'update':_0x1cac13}};}
@@ -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(_0x8b8e79,_0x23897a){const _0x39f19c=a92_0x198f,_0x32475b=_0x8b8e79();while(!![]){try{const _0x1c21d8=parseInt(_0x39f19c(0xac))/0x1+parseInt(_0x39f19c(0xb4))/0x2+parseInt(_0x39f19c(0xb2))/0x3+parseInt(_0x39f19c(0xb5))/0x4*(-parseInt(_0x39f19c(0xa4))/0x5)+-parseInt(_0x39f19c(0xaf))/0x6*(parseInt(_0x39f19c(0xae))/0x7)+parseInt(_0x39f19c(0xb3))/0x8*(parseInt(_0x39f19c(0xa5))/0x9)+-parseInt(_0x39f19c(0xb1))/0xa*(parseInt(_0x39f19c(0xa9))/0xb);if(_0x1c21d8===_0x23897a)break;else _0x32475b['push'](_0x32475b['shift']());}catch(_0x440f8a){_0x32475b['push'](_0x32475b['shift']());}}}(a92_0xa88a,0x1ff88));function a92_0x198f(_0x328c65,_0x25bb0b){_0x328c65=_0x328c65-0xa4;const _0xa88a89=a92_0xa88a();let _0x198fea=_0xa88a89[_0x328c65];return _0x198fea;}import{buildSchemaPayload as a92_0x5a7d51}from'@lovrabet/cli-framework';import{buildAllFlags}from'../framework/build-all-flags.js';import{findDynamicServiceDefinition,listDynamicServiceEntries}from'../commands/service/dynamic.js';import{insertDynamicServicesAfterServiceTree}from'../framework/service-order.js';import{CLI_BIN_NAME,CLI_DISPLAY_NAME,GLOBAL_FLAGS}from'../constant/cli.js';import{getCliGitCommit,getCliVersion}from'../utils/version.js';export async function buildSchemaPayload(){const _0xa0bef3=a92_0x198f,{serviceRegistry:_0x18ae5b,findDefinition:_0x11cc23}=await import(_0xa0bef3(0xaa)),_0x51c66d=new Set(_0x18ae5b[_0xa0bef3(0xb6)](_0x1ae275=>_0x1ae275[_0xa0bef3(0xa6)])),_0x537d45=listDynamicServiceEntries()['filter'](_0x56d4f0=>!_0x51c66d[_0xa0bef3(0xa8)](_0x56d4f0['service'])),_0x596833=a92_0x5a7d51({'cliBinName':CLI_BIN_NAME,'cliDisplayName':CLI_DISPLAY_NAME,'cliVersion':getCliVersion(),'gitCommit':getCliGitCommit(),'globalFlags':GLOBAL_FLAGS,'serviceRegistry':insertDynamicServicesAfterServiceTree(_0x18ae5b,_0x537d45),'buildAllFlags':buildAllFlags,'findDefinition':(_0xecb25,_0x39e9ac)=>_0x11cc23(_0xecb25,_0x39e9ac)??findDynamicServiceDefinition(_0xecb25,_0x39e9ac)});return normalizeSchemaPayload(_0x596833);}function a92_0xa88a(){const _0x310fe7=['required','337505eMigCE','6iruAij','services','299290NjHBkR','370056jMhRTl','48408YiBDAf','390782vAIdFF','930532jTMbEm','map','none','requiresAuth','5pUcSiM','18ClBLFk','service','commands','has','22YWjgJk','../commands/registry.js','auth','140813dggacx'];a92_0xa88a=function(){return _0x310fe7;};return a92_0xa88a();}function normalizeSchemaPayload(_0x56ab49){const _0x184ead=a92_0x198f;return{..._0x56ab49,'schemaVersion':0x2,'services':_0x56ab49[_0x184ead(0xb0)][_0x184ead(0xb6)](_0x13cc57=>({..._0x13cc57,'commands':_0x13cc57[_0x184ead(0xa7)][_0x184ead(0xb6)](normalizeSchemaCommand)}))};}function normalizeSchemaCommand(_0x3b6b25){const _0x2eb104=a92_0x198f,_0x4a3790=_0x3b6b25;return{..._0x3b6b25,'auth':_0x4a3790[_0x2eb104(0xab)]??(_0x3b6b25[_0x2eb104(0xb8)]?_0x2eb104(0xad):_0x2eb104(0xb7))};}
@@ -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 a93_0x4899(_0x3c0589,_0x344df0){_0x3c0589=_0x3c0589-0xb2;const _0x31d741=a93_0x31d7();let _0x48990b=_0x31d741[_0x3c0589];return _0x48990b;}(function(_0x3b7ae8,_0x35945a){const _0x10936d=a93_0x4899,_0x2435ae=_0x3b7ae8();while(!![]){try{const _0x52bad9=parseInt(_0x10936d(0xbd))/0x1*(parseInt(_0x10936d(0xb5))/0x2)+parseInt(_0x10936d(0xb2))/0x3*(parseInt(_0x10936d(0xbe))/0x4)+-parseInt(_0x10936d(0xba))/0x5+-parseInt(_0x10936d(0xc0))/0x6*(-parseInt(_0x10936d(0xbb))/0x7)+parseInt(_0x10936d(0xc1))/0x8*(parseInt(_0x10936d(0xb3))/0x9)+-parseInt(_0x10936d(0xbc))/0xa*(parseInt(_0x10936d(0xb4))/0xb)+-parseInt(_0x10936d(0xbf))/0xc*(parseInt(_0x10936d(0xb9))/0xd);if(_0x52bad9===_0x35945a)break;else _0x2435ae['push'](_0x2435ae['shift']());}catch(_0x5ce1f6){_0x2435ae['push'](_0x2435ae['shift']());}}}(a93_0x31d7,0x83dae));export function insertDynamicServicesAfterServiceTree(_0x489b61,_0x4a9fc5){const _0x9fd63d=a93_0x4899;if(_0x4a9fc5['length']===0x0)return[..._0x489b61];const _0x183383=_0x489b61[_0x9fd63d(0xb6)](_0x18bee1=>_0x18bee1[_0x9fd63d(0xb8)]===_0x9fd63d(0xb8));if(_0x183383<0x0)return[..._0x489b61,..._0x4a9fc5];return[..._0x489b61[_0x9fd63d(0xb7)](0x0,_0x183383+0x1),..._0x4a9fc5,..._0x489b61['slice'](_0x183383+0x1)];}function a93_0x31d7(){const _0x4f82c7=['77TOmFbR','65456cGMXCo','findIndex','slice','service','882089rmdxtJ','1395885MLCVoZ','100926jroKGG','231690jEjzwW','14ugCMBq','421060gnYxYH','120WgROuG','114DOFSuG','8VvVkGh','12drZjUx','4560966BDIBLq'];a93_0x31d7=function(){return _0x4f82c7;};return a93_0x31d7();}
@@ -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(_0x233f6e,_0x9ba1ec){var _0x405865=a94_0x22a9,_0x41afde=_0x233f6e();while(!![]){try{var _0x456dcb=-parseInt(_0x405865(0x160))/0x1+-parseInt(_0x405865(0x164))/0x2+parseInt(_0x405865(0x162))/0x3*(-parseInt(_0x405865(0x163))/0x4)+parseInt(_0x405865(0x166))/0x5+-parseInt(_0x405865(0x15f))/0x6*(-parseInt(_0x405865(0x165))/0x7)+-parseInt(_0x405865(0x168))/0x8*(parseInt(_0x405865(0x169))/0x9)+parseInt(_0x405865(0x161))/0xa*(parseInt(_0x405865(0x167))/0xb);if(_0x456dcb===_0x9ba1ec)break;else _0x41afde['push'](_0x41afde['shift']());}catch(_0x271f1e){_0x41afde['push'](_0x41afde['shift']());}}}(a94_0x2154,0x72751));function a94_0x2154(){var _0x5a8b20=['7KqXPBX','4159120ntxePm','121bpuIUj','8SBDBtl','8163387ZWMtIe','5330586SEPTZq','152466LbcesT','989180vCNHep','66dGUhPS','117932qNIqiR','1262802wwKPGs'];a94_0x2154=function(){return _0x5a8b20;};return a94_0x2154();}function a94_0x22a9(_0x38250f,_0x24a942){_0x38250f=_0x38250f-0x15f;var _0x2154d4=a94_0x2154();var _0x22a971=_0x2154d4[_0x38250f];return _0x22a971;}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-beta.3";
2
+ export declare const GIT_TAG = "v2.1.18-beta.3";
3
+ export declare const GIT_COMMIT = "25e5132";
4
+ export declare const BUILD_TIME = "2026-07-29T12:17:37.409Z";
@@ -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_0x5b8053=a95_0x29bd;(function(_0x2dd870,_0x4fec0d){const _0x25c488=a95_0x29bd,_0x5dfdc5=_0x2dd870();while(!![]){try{const _0x436cf2=parseInt(_0x25c488(0x1c5))/0x1*(parseInt(_0x25c488(0x1c8))/0x2)+-parseInt(_0x25c488(0x1c9))/0x3+-parseInt(_0x25c488(0x1c6))/0x4+-parseInt(_0x25c488(0x1cb))/0x5+parseInt(_0x25c488(0x1cf))/0x6+-parseInt(_0x25c488(0x1ce))/0x7*(parseInt(_0x25c488(0x1c4))/0x8)+parseInt(_0x25c488(0x1cc))/0x9*(parseInt(_0x25c488(0x1c3))/0xa);if(_0x436cf2===_0x4fec0d)break;else _0x5dfdc5['push'](_0x5dfdc5['shift']());}catch(_0x45daf9){_0x5dfdc5['push'](_0x5dfdc5['shift']());}}}(a95_0x122f,0x214bc));function a95_0x29bd(_0x27297c,_0x4740d6){_0x27297c=_0x27297c-0x1c3;const _0x122fbc=a95_0x122f();let _0x29bdd0=_0x122fbc[_0x27297c];return _0x29bdd0;}function a95_0x122f(){const _0x52c829=['528328KiQmju','1499TQHWYo','214752MUVjFS','25e5132','146kIYRjd','1899aMYYFv','2026-07-29T12:17:37.409Z','1199265TEEdov','36QXFwrC','2.1.18-beta.3','21MHOIkZ','782940tlenej','971900MVvnnO'];a95_0x122f=function(){return _0x52c829;};return a95_0x122f();}export const VERSION=a95_0x5b8053(0x1cd);export const GIT_TAG='v2.1.18-beta.3';export const GIT_COMMIT=a95_0x5b8053(0x1c7);export const BUILD_TIME=a95_0x5b8053(0x1ca);
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_0x24c8(){const _0x4a221e=['1470978PZJiEC','\x20--help','green','1279597jNejAC','24842712OTgLGD','42KAqXNe','1335332cdcPgo','\x20to\x20view\x20available\x20commands.','939AvaIMb','column','126xMcsoa','433760FMOSPb','7894QeKHog','1240fInqol','30GOTYYl','\x20\x20Use\x20','15824NNcaUm'];a96_0x24c8=function(){return _0x4a221e;};return a96_0x24c8();}(function(_0x2f5c77,_0x3f6e4c){const _0x845a2e=a96_0x2ab3,_0x61db33=_0x2f5c77();while(!![]){try{const _0x184307=-parseInt(_0x845a2e(0x1e8))/0x1+-parseInt(_0x845a2e(0x1ee))/0x2*(parseInt(_0x845a2e(0x1ea))/0x3)+parseInt(_0x845a2e(0x1e1))/0x4*(parseInt(_0x845a2e(0x1ef))/0x5)+-parseInt(_0x845a2e(0x1e2))/0x6*(-parseInt(_0x845a2e(0x1e7))/0x7)+-parseInt(_0x845a2e(0x1ed))/0x8*(parseInt(_0x845a2e(0x1ec))/0x9)+parseInt(_0x845a2e(0x1f0))/0xa*(-parseInt(_0x845a2e(0x1e5))/0xb)+parseInt(_0x845a2e(0x1e6))/0xc;if(_0x184307===_0x3f6e4c)break;else _0x61db33['push'](_0x61db33['shift']());}catch(_0x34f0e2){_0x61db33['push'](_0x61db33['shift']());}}}(a96_0x24c8,0xcdee0));import{jsx as a96_0x1ac151,jsxs as a96_0x56979f}from'react/jsx-runtime';function a96_0x2ab3(_0x2dacc6,_0x4118d2){_0x2dacc6=_0x2dacc6-0x1e0;const _0x24c832=a96_0x24c8();let _0x2ab3ce=_0x24c832[_0x2dacc6];return _0x2ab3ce;}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 _0x80de0d=a96_0x2ab3,{exit:_0x5b3863}=useApp();return useEffect(()=>{_0x5b3863();},[_0x5b3863]),a96_0x56979f(Box,{'flexDirection':_0x80de0d(0x1eb),'marginTop':0x1,'marginBottom':0x1,'children':[a96_0x1ac151(Box,{'children':a96_0x1ac151(Text,{'bold':!![],'color':'green','children':'\x20\x20'+CLI_DISPLAY_NAME})}),a96_0x56979f(Box,{'marginTop':0x1,'children':[a96_0x1ac151(Text,{'dimColor':!![],'children':_0x80de0d(0x1e0)}),a96_0x1ac151(Text,{'bold':!![],'color':_0x80de0d(0x1e4),'children':CLI_BIN_NAME+_0x80de0d(0x1e3)}),a96_0x1ac151(Text,{'dimColor':!![],'children':_0x80de0d(0x1e9)})]})]});}
@@ -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(_0x4accc7,_0x235214){const _0x430fb4=a97_0x3a4a,_0x5e0abf=_0x4accc7();while(!![]){try{const _0x53be7b=parseInt(_0x430fb4(0x74))/0x1+-parseInt(_0x430fb4(0x81))/0x2*(parseInt(_0x430fb4(0x7a))/0x3)+parseInt(_0x430fb4(0x77))/0x4+parseInt(_0x430fb4(0x72))/0x5+-parseInt(_0x430fb4(0x7f))/0x6*(-parseInt(_0x430fb4(0x79))/0x7)+-parseInt(_0x430fb4(0x7d))/0x8*(-parseInt(_0x430fb4(0x78))/0x9)+-parseInt(_0x430fb4(0x80))/0xa;if(_0x53be7b===_0x235214)break;else _0x5e0abf['push'](_0x5e0abf['shift']());}catch(_0x1fd779){_0x5e0abf['push'](_0x5e0abf['shift']());}}}(a97_0x1d47,0x87947));export function canonicalLovrabetOperation(_0x369463){const _0x484322=a97_0x3a4a;return[_0x369463[_0x484322(0x73)],..._0x369463[_0x484322(0x7b)][_0x484322(0x82)]()[_0x484322(0x7e)](/\s+/)]['filter'](Boolean)[_0x484322(0x76)]('.');}function a97_0x1d47(){const _0x2816c5=['service','1076604eyAHqk','writeEventSubject','join','1642424mXGjEP','963747Urgtdv','1617847CPiUoK','3132rehyLs','command','write','16MSlSye','split','18hxwXEw','15855150vLGpRP','926zgWyiP','trim','lovrabet.write.completed','risk','1147415ymYvXC'];a97_0x1d47=function(){return _0x2816c5;};return a97_0x1d47();}function a97_0x3a4a(_0x12043d,_0x292e1b){_0x12043d=_0x12043d-0x72;const _0x1d4731=a97_0x1d47();let _0x3a4ab9=_0x1d4731[_0x12043d];return _0x3a4ab9;}export function createLovrabetWriteMetadata(_0xe715e5,_0x10e3c7,_0x28a479,_0x1da170){const _0x4b83e1=a97_0x3a4a;if(_0x1da170||_0x28a479['ok']!==!![]||_0xe715e5['risk']!==_0x4b83e1(0x7c)&&_0xe715e5[_0x4b83e1(0x84)]!=='high-risk-write')return undefined;const _0x255103=_0xe715e5[_0x4b83e1(0x75)]?.(_0x28a479),_0x50e797={'type':_0x4b83e1(0x83),'operation':_0x10e3c7,'risk':_0xe715e5['risk'],..._0x255103?{'subject':_0x255103}:{}};return{'lovrabet':{'schemaVersion':0x1,'event':_0x50e797}};}
@@ -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(_0x308e7b,_0x42d6f0){const _0x57e8a1=a98_0x1c81,_0x4979a8=_0x308e7b();while(!![]){try{const _0x262286=parseInt(_0x57e8a1(0xad))/0x1+parseInt(_0x57e8a1(0x98))/0x2*(parseInt(_0x57e8a1(0xa4))/0x3)+-parseInt(_0x57e8a1(0x9b))/0x4+parseInt(_0x57e8a1(0xae))/0x5+parseInt(_0x57e8a1(0xa2))/0x6+parseInt(_0x57e8a1(0x9e))/0x7+parseInt(_0x57e8a1(0x96))/0x8;if(_0x262286===_0x42d6f0)break;else _0x4979a8['push'](_0x4979a8['shift']());}catch(_0x192f85){_0x4979a8['push'](_0x4979a8['shift']());}}}(a98_0x4cd0,0x725f1));function a98_0x4cd0(){const _0xfff37a=['present','execute','presentation','riskLevel','high-risk-write','risk','1339896xgXjLg','Lovrabet\x20invocation\x20aborted.','15080xPPrWI','command','write','3417216qVxreh','rawFlags','dryRun','603253eBgMyg','description','definition','stringify','304440RffSKg','args','297HGXYAK','signal','format','message','aborted','reason','yes','result','Embedded\x20Lovrabet\x20confirmation\x20must\x20run\x20inside\x20execute.','62929lBcUvy','1044870icAgiB','data','isNonInteractive'];a98_0x4cd0=function(){return _0xfff37a;};return a98_0x4cd0();}import{buildConfigFromFlags,initGlobalEnvironment}from'../context.js';import{createLovrabetRunnerAdapter,createPipelineEnv,finalizeLovrabetRuntimeState,runCommand}from'../framework/runner.js';function a98_0x1c81(_0x49480d,_0x31603d){_0x49480d=_0x49480d-0x90;const _0x4cd028=a98_0x4cd0();let _0x1c8129=_0x4cd028[_0x49480d];return _0x1c8129;}import{canonicalLovrabetOperation,createLovrabetWriteMetadata}from'../runtime/event.js';import{resolveLovrabetInvocation}from'../runtime/resolve.js';import{runSerialized}from'../runtime/queue.js';const defaultPresentation={'present'({result:_0x4fe7fb,command:_0xb15d00,risk:_0x2500f0,dryRun:_0x382241}){const _0x1e1c31=a98_0x1c81;return JSON[_0x1e1c31(0xa1)]({'ok':_0x4fe7fb['ok'],'command':_0xb15d00,'risk':_0x2500f0,..._0x382241?{'dryRun':!![]}:{},..._0x4fe7fb[_0x1e1c31(0xaf)]!==undefined?{'data':_0x4fe7fb[_0x1e1c31(0xaf)]}:{},..._0x4fe7fb['message']?{'message':_0x4fe7fb[_0x1e1c31(0xa7)]}:{}});}};export async function invokeLovrabet(_0x9e4d86,_0x408f17){return runSerialized(async()=>{const _0x58f05e=a98_0x1c81;throwIfAborted(_0x408f17[_0x58f05e(0xa5)]);const _0x335835=await resolveLovrabetInvocation(_0x9e4d86),_0x546c91=canonicalLovrabetOperation(_0x335835[_0x58f05e(0xa0)]),_0x4ecf29={},_0x39000e=buildConfigFromFlags(_0x335835['rawFlags']);await initGlobalEnvironment(_0x39000e);const _0x421da6=createPipelineEnv(_0x39000e,{..._0x335835[_0x58f05e(0x9c)],'yes':_0x335835['definition'][_0x58f05e(0x95)]===_0x58f05e(0x94)?!![]:_0x335835[_0x58f05e(0x9c)][_0x58f05e(0xaa)],'nonInteractive':!![]});_0x421da6[_0x58f05e(0xa3)]=_0x335835[_0x58f05e(0xa3)],_0x421da6[_0x58f05e(0xb0)]=!![],_0x421da6[_0x58f05e(0x93)]=_0x58f05e(0x94);const _0x3350fe=withEmbeddedLifecycle(_0x335835[_0x58f05e(0xa0)],_0x546c91,_0x408f17),_0x10d85c=createLovrabetRunnerAdapter({'formatOutput'(_0x46919a,_0x5b619f){const _0x5cd6cd=_0x58f05e;_0x4ecf29[_0x5cd6cd(0xab)]=_0x46919a,_0x4ecf29[_0x5cd6cd(0x99)]=_0x5b619f[_0x5cd6cd(0x99)],_0x4ecf29[_0x5cd6cd(0x95)]=_0x5b619f[_0x5cd6cd(0x95)],_0x4ecf29['format']=_0x5b619f[_0x5cd6cd(0xa6)],_0x4ecf29[_0x5cd6cd(0x9d)]=_0x5b619f[_0x5cd6cd(0x9d)]===!![];},async 'confirmHighRisk'(){const _0x417ed3=_0x58f05e;throw new Error(_0x417ed3(0xac));}});try{await runCommand(_0x3350fe,_0x421da6,_0x10d85c);if(!_0x4ecf29[_0x58f05e(0xab)]||!_0x4ecf29[_0x58f05e(0x99)]||!_0x4ecf29[_0x58f05e(0x95)]||!_0x4ecf29[_0x58f05e(0xa6)])throw new Error('Lovrabet\x20invocation\x20completed\x20without\x20a\x20captured\x20command\x20result.');const _0x2e9055=_0x408f17[_0x58f05e(0x92)]??defaultPresentation,_0x2d968b=_0x4ecf29[_0x58f05e(0x9d)]===!![],_0x113e39={'result':_0x4ecf29[_0x58f05e(0xab)],'command':_0x4ecf29[_0x58f05e(0x99)],'operation':_0x546c91,'risk':_0x4ecf29['risk'],'format':_0x4ecf29[_0x58f05e(0xa6)],'dryRun':_0x2d968b},_0x6dac5a=createLovrabetWriteMetadata(_0x335835['definition'],_0x546c91,_0x4ecf29[_0x58f05e(0xab)],_0x2d968b);let _0x3071a5;try{_0x3071a5=await _0x2e9055[_0x58f05e(0x90)](_0x113e39);}catch(_0x5a0113){if(!_0x6dac5a||_0x2e9055===defaultPresentation)throw _0x5a0113;_0x3071a5=await defaultPresentation[_0x58f05e(0x90)](_0x113e39);}return{'operation':_0x546c91,'risk':_0x4ecf29[_0x58f05e(0x95)],'mode':_0x2d968b?'dry-run':_0x58f05e(0x91),'result':_0x4ecf29[_0x58f05e(0xab)],'output':_0x3071a5,..._0x6dac5a?{'metadata':_0x6dac5a}:{}};}finally{await finalizeLovrabetRuntimeState();}});}function withEmbeddedLifecycle(_0x265c7e,_0x354046,_0x5cd325){return{..._0x265c7e,async 'execute'(_0x44b7c0){const _0x6339e1=a98_0x1c81;return throwIfAborted(_0x5cd325[_0x6339e1(0xa5)]),(_0x265c7e[_0x6339e1(0x95)]===_0x6339e1(0x9a)||_0x265c7e[_0x6339e1(0x95)]==='high-risk-write')&&await _0x5cd325['confirmation']['confirm']({'operation':_0x354046,'risk':_0x265c7e['risk'],'description':_0x265c7e[_0x6339e1(0x9f)],..._0x5cd325[_0x6339e1(0xa5)]?{'signal':_0x5cd325[_0x6339e1(0xa5)]}:{}}),throwIfAborted(_0x5cd325[_0x6339e1(0xa5)]),_0x265c7e[_0x6339e1(0x91)](_0x44b7c0);}};}function throwIfAborted(_0x213a11){const _0x549d5e=a98_0x1c81;if(_0x213a11?.[_0x549d5e(0xa8)])throw _0x213a11[_0x549d5e(0xa9)]instanceof Error?_0x213a11[_0x549d5e(0xa9)]:new DOMException(_0x549d5e(0x97),'AbortError');}
@@ -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_0x1e43ce=a99_0x5211;function a99_0x5211(_0x2488e0,_0x427ad5){_0x2488e0=_0x2488e0-0x1c6;const _0x14e83e=a99_0x14e8();let _0x521148=_0x14e83e[_0x2488e0];return _0x521148;}(function(_0x265806,_0x5c57d4){const _0x462dff=a99_0x5211,_0x5876ee=_0x265806();while(!![]){try{const _0x12ec05=-parseInt(_0x462dff(0x1c9))/0x1*(-parseInt(_0x462dff(0x1d0))/0x2)+parseInt(_0x462dff(0x1cb))/0x3+parseInt(_0x462dff(0x1cd))/0x4+parseInt(_0x462dff(0x1ce))/0x5*(parseInt(_0x462dff(0x1cf))/0x6)+parseInt(_0x462dff(0x1d1))/0x7*(parseInt(_0x462dff(0x1c7))/0x8)+-parseInt(_0x462dff(0x1c8))/0x9+-parseInt(_0x462dff(0x1c6))/0xa;if(_0x12ec05===_0x5c57d4)break;else _0x5876ee['push'](_0x5876ee['shift']());}catch(_0x657f80){_0x5876ee['push'](_0x5876ee['shift']());}}}(a99_0x14e8,0x32588));let tail=Promise[a99_0x1e43ce(0x1cc)]();function a99_0x14e8(){const _0x1e0b0f=['321654TaGTvM','98qsZDxY','1379KsJoKQ','5413500QEjtVL','856COZmny','198072lbvliW','6675bfftKa','catch','239967weLrwt','resolve','507980GoLFvg','20EmFiXA'];a99_0x14e8=function(){return _0x1e0b0f;};return a99_0x14e8();}export async function runSerialized(_0x41c863){const _0x74208a=a99_0x1e43ce,_0x1a5bd9=tail;let _0x3c0aef;tail=new Promise(_0x260600=>{_0x3c0aef=_0x260600;}),await _0x1a5bd9[_0x74208a(0x1ca)](()=>undefined);try{return await _0x41c863();}finally{_0x3c0aef();}}
@@ -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(_0x4ad7e0,_0x379763){const _0x27fb87=a100_0x3006,_0x266dbb=_0x4ad7e0();while(!![]){try{const _0x459684=-parseInt(_0x27fb87(0x17e))/0x1+-parseInt(_0x27fb87(0x183))/0x2+-parseInt(_0x27fb87(0x17c))/0x3*(-parseInt(_0x27fb87(0x181))/0x4)+parseInt(_0x27fb87(0x18c))/0x5+-parseInt(_0x27fb87(0x188))/0x6*(parseInt(_0x27fb87(0x18b))/0x7)+-parseInt(_0x27fb87(0x182))/0x8*(-parseInt(_0x27fb87(0x184))/0x9)+parseInt(_0x27fb87(0x17f))/0xa;if(_0x459684===_0x379763)break;else _0x266dbb['push'](_0x266dbb['shift']());}catch(_0x455e1d){_0x266dbb['push'](_0x266dbb['shift']());}}}(a100_0x32c0,0x74bea));import a100_0x188897 from'meow';function a100_0x32c0(){const _0x5c62b5=['9557990xyixVR','join','3813548YUTecg','16bWlABa','1845690TStJVe','421749lEQYcN','defaultCommand','Lovrabet\x20argv\x20must\x20include\x20a\x20service\x20and\x20command.','args','582Ofxmew','flags','../commands/registry.js','9807oOQuFN','1510995KAlfTT','../framework/preparse.js','flatMap','validation','Lovrabet\x20argv\x20must\x20include\x20a\x20command\x20for\x20service\x20\x22','unknownCommand','slice','3BmDZde','assign','768179zqvtQV'];a100_0x32c0=function(){return _0x5c62b5;};return a100_0x32c0();}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';export async function resolveLovrabetInvocation(_0x50c419){const _0x49e466=a100_0x3006,_0xeabda7=a100_0x188897('',{'importMeta':import.meta,'argv':_0x50c419,'flags':buildMeowFlags(),'autoHelp':![],'autoVersion':![]}),_0x57e1c5=[..._0xeabda7['input']],_0x10e198=_0xeabda7[_0x49e466(0x189)];await correctFlags(_0x10e198);const _0x1eac27=_0x57e1c5[0x0];if(!_0x1eac27)throw CliErrors[_0x49e466(0x18f)](_0x49e466(0x186));if(!isKnownService(_0x1eac27)){const _0x28bb06=resolveDynamicServiceCommand(_0x57e1c5,_0x10e198);if(!_0x28bb06)throw CliErrors[_0x49e466(0x191)](_0x57e1c5[_0x49e466(0x180)]('\x20'));return Object[_0x49e466(0x17d)](_0x10e198,_0x28bb06['flags']),{'definition':_0x28bb06['definition'],'rawFlags':_0x10e198,'args':_0x28bb06[_0x49e466(0x187)]};}const _0x6f6d5a=getServiceEntry(_0x1eac27),_0x5b8901=_0x57e1c5[0x1]||_0x6f6d5a[_0x49e466(0x185)];if(!_0x5b8901)throw CliErrors[_0x49e466(0x18f)](_0x49e466(0x190)+_0x1eac27+'\x22.');const _0x3354da=findDefinition(_0x1eac27,_0x5b8901);if(!_0x3354da)throw CliErrors[_0x49e466(0x191)](_0x1eac27+'\x20'+_0x5b8901);return{'definition':_0x3354da,'rawFlags':_0x10e198,'args':_0x57e1c5[_0x49e466(0x17b)](0x2)};}function a100_0x3006(_0x1df71f,_0x426e4a){_0x1df71f=_0x1df71f-0x17b;const _0x32c03a=a100_0x32c0();let _0x3006dd=_0x32c03a[_0x1df71f];return _0x3006dd;}async function correctFlags(_0x20d409){const _0x3fb94f=a100_0x3006;try{const {correctFlags:_0x36549c}=await import(_0x3fb94f(0x18d)),{getAllDefinitions:_0x53c72d}=await import(_0x3fb94f(0x18a)),_0x3df4bc=_0x53c72d()[_0x3fb94f(0x18e)](_0x1d3272=>_0x1d3272[_0x3fb94f(0x189)]??[]),_0x48583d=_0x36549c(_0x20d409,_0x3df4bc);Object[_0x3fb94f(0x17d)](_0x20d409,_0x48583d[_0x3fb94f(0x189)]);}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
+ function a102_0x4deb(){const _0x4ea16d=['stderr','5onHoKz','541492nQHfGq','2020530bXPuLQ','toString','inherit','trim','status','log','join','stdio','231806kRWzdb','90hHXAGf','stdout','pipe','4285494VfpTCe','skipNpxSkillsEnvSuffix','skills','8VHzqgG','5402257bswFgw','2669478PCrbXg','exit\x20','npx','558918erXcGJ'];a102_0x4deb=function(){return _0x4ea16d;};return a102_0x4deb();}const a102_0x167099=a102_0x5518;(function(_0x397e87,_0x192d77){const _0x4d90a6=a102_0x5518,_0x39fa8c=_0x397e87();while(!![]){try{const _0x291c61=parseInt(_0x4d90a6(0x1d9))/0x1+-parseInt(_0x4d90a6(0x1d1))/0x2+parseInt(_0x4d90a6(0x1ca))/0x3+-parseInt(_0x4d90a6(0x1d0))/0x4+-parseInt(_0x4d90a6(0x1cf))/0x5*(parseInt(_0x4d90a6(0x1dd))/0x6)+-parseInt(_0x4d90a6(0x1c9))/0x7*(-parseInt(_0x4d90a6(0x1c8))/0x8)+-parseInt(_0x4d90a6(0x1cd))/0x9*(-parseInt(_0x4d90a6(0x1da))/0xa);if(_0x291c61===_0x192d77)break;else _0x39fa8c['push'](_0x39fa8c['shift']());}catch(_0x1449b2){_0x39fa8c['push'](_0x39fa8c['shift']());}}}(a102_0x4deb,0x90a1e));import{spawnSync}from'node:child_process';import{resolveNpmBin}from'../utils/platform.js';import{LOVRABET_SKILL_SOURCE as a102_0x39f83a}from'../constant/distribution.js';function a102_0x5518(_0x473c59,_0x503a9e){_0x473c59=_0x473c59-0x1c7;const _0x4deb71=a102_0x4deb();let _0x551899=_0x4deb71[_0x473c59];return _0x551899;}import{PRODUCT_CONFIG,productEnvName}from'../constant/product.js';export const LOVRABET_SKILL_SOURCE=a102_0x39f83a;export const LOVRABET_SKIP_NPX_SKILLS_ENV=productEnvName(PRODUCT_CONFIG[a102_0x167099(0x1de)]);export function shouldSkipNpxSkillsAdd(){return process.env[LOVRABET_SKIP_NPX_SKILLS_ENV]==='1';}export function runNpxSkillsAddGlobal(_0x3a23da,_0x4a3193=LOVRABET_SKILL_SOURCE,_0x31a1de){const _0x9ad9c=a102_0x167099;if(shouldSkipNpxSkillsAdd())return{'ok':!![],'status':0x0,'skipped':!![]};const _0x128aaa=_0x31a1de?.[_0x9ad9c(0x1d8)]??_0x9ad9c(0x1d3),_0x901d25=resolveNpmBin(_0x9ad9c(0x1cc)),_0x537c3c=[_0x9ad9c(0x1c7),'add',_0x4a3193,'-g','-y'],_0x3f8d41=[_0x901d25,..._0x537c3c][_0x9ad9c(0x1d7)]('\x20');console[_0x9ad9c(0x1d6)]('*\x20'+_0x3f8d41);const _0x1024f7=spawnSync(_0x901d25,_0x537c3c,{'cwd':_0x3a23da,'stdio':_0x128aaa,'env':process.env,'shell':![]});if(_0x1024f7[_0x9ad9c(0x1d5)]===0x0)return{'ok':!![],'status':0x0};let _0x2a2492=_0x9ad9c(0x1cb)+(_0x1024f7[_0x9ad9c(0x1d5)]??'unknown');if(_0x128aaa===_0x9ad9c(0x1dc)){const _0x4a934d=_0x1024f7[_0x9ad9c(0x1ce)]?_0x1024f7[_0x9ad9c(0x1ce)][_0x9ad9c(0x1d2)]()[_0x9ad9c(0x1d4)]():'',_0xe47cff=_0x1024f7[_0x9ad9c(0x1db)]?_0x1024f7[_0x9ad9c(0x1db)][_0x9ad9c(0x1d2)]()[_0x9ad9c(0x1d4)]():'';if(_0x4a934d)_0x2a2492=_0x4a934d;else{if(_0xe47cff)_0x2a2492=_0xe47cff;}}return{'ok':![],'status':_0x1024f7['status']??null,'error':_0x2a2492};}
@@ -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
+ function a103_0x4aa4(_0x2e8bce,_0xa6f156){_0x2e8bce=_0x2e8bce-0x1c7;const _0x3a4440=a103_0x3a44();let _0x4aa46c=_0x3a4440[_0x2e8bce];return _0x4aa46c;}const a103_0x17e1e4=a103_0x4aa4;(function(_0x1befa9,_0x2acd69){const _0x23e27c=a103_0x4aa4,_0x1257b4=_0x1befa9();while(!![]){try{const _0x187b56=parseInt(_0x23e27c(0x1d0))/0x1*(-parseInt(_0x23e27c(0x1cf))/0x2)+parseInt(_0x23e27c(0x1c9))/0x3*(-parseInt(_0x23e27c(0x1d1))/0x4)+-parseInt(_0x23e27c(0x1ce))/0x5*(-parseInt(_0x23e27c(0x1dc))/0x6)+-parseInt(_0x23e27c(0x1c8))/0x7*(-parseInt(_0x23e27c(0x1da))/0x8)+parseInt(_0x23e27c(0x1cd))/0x9*(-parseInt(_0x23e27c(0x1d8))/0xa)+parseInt(_0x23e27c(0x1c7))/0xb+-parseInt(_0x23e27c(0x1d7))/0xc;if(_0x187b56===_0x2acd69)break;else _0x1257b4['push'](_0x1257b4['shift']());}catch(_0x3161c6){_0x1257b4['push'](_0x1257b4['shift']());}}}(a103_0x3a44,0xdc04c));function a103_0x3a44(){const _0x3134e9=['.turbo','lovrabet.skill.json','dist','.DS_Store','5109852bHTEiG','20zyjcgN','.svn','12359208kEMrGA','.next','6edEdKQ','10172503mlqKzI','7sbZivU','10173qyCUkO','coverage','build','.git','2686725PYleWG','5489565cbVzwc','559902WCSfXR','3EtwVSt','948COSHMk','.cache'];a103_0x3a44=function(){return _0x3134e9;};return a103_0x3a44();}export const METADATA_FILE=a103_0x17e1e4(0x1d4);export const SKILL_FILE='SKILL.md';export const IGNORED_FILE_NAMES=new Set([METADATA_FILE,a103_0x17e1e4(0x1d6)]);export const IGNORED_DIR_NAMES=new Set([a103_0x17e1e4(0x1cc),'.hg',a103_0x17e1e4(0x1d9),'node_modules',a103_0x17e1e4(0x1db),a103_0x17e1e4(0x1d5),a103_0x17e1e4(0x1cb),a103_0x17e1e4(0x1ca),a103_0x17e1e4(0x1d3),a103_0x17e1e4(0x1d2)]);
@@ -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(_0x5da74f,_0x3d90fb){const _0x524e48=a104_0x2717,_0x3b3998=_0x5da74f();while(!![]){try{const _0x6fa1b2=parseInt(_0x524e48(0x1af))/0x1*(parseInt(_0x524e48(0x1b2))/0x2)+-parseInt(_0x524e48(0x1bf))/0x3*(-parseInt(_0x524e48(0x1b6))/0x4)+-parseInt(_0x524e48(0x1b0))/0x5+-parseInt(_0x524e48(0x1ad))/0x6+-parseInt(_0x524e48(0x1b4))/0x7*(-parseInt(_0x524e48(0x1b9))/0x8)+-parseInt(_0x524e48(0x1ae))/0x9+-parseInt(_0x524e48(0x1bc))/0xa;if(_0x6fa1b2===_0x3d90fb)break;else _0x3b3998['push'](_0x3b3998['shift']());}catch(_0x56266f){_0x3b3998['push'](_0x3b3998['shift']());}}}(a104_0x2b2f,0x9c38a));function a104_0x2717(_0x2537a3,_0x3cdb0a){_0x2537a3=_0x2537a3-0x1ab;const _0x2b2f9b=a104_0x2b2f();let _0x2717d4=_0x2b2f9b[_0x2537a3];return _0x2717d4;}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(_0xe0f68a,_0x5009b6){const _0x122fa5=a104_0x2717,_0x36d129=normalizeSkillRelativePath(_0x5009b6),_0xa2f8=realOrResolved(_0xe0f68a),_0x3a5f74=resolve(_0xa2f8,..._0x36d129[_0x122fa5(0x1b5)]('/'));if(!isPathInside(_0x3a5f74,_0xa2f8))throw CliErrors[_0x122fa5(0x1be)](_0x122fa5(0x1b3)+_0x5009b6);return ensureNoSymlinkInManagedPath(_0xa2f8,_0x36d129),_0x3a5f74;}export function ensureNoSymlinkInManagedPath(_0xf1677d,_0x505271){const _0x206c7f=a104_0x2717;let _0x427763=_0xf1677d;for(const _0xb856a of _0x505271[_0x206c7f(0x1b5)]('/')){_0x427763=resolve(_0x427763,_0xb856a);const _0x6de464=lstatIfPresent(_0x427763);if(_0x6de464?.[_0x206c7f(0x1bb)]())throw CliErrors[_0x206c7f(0x1be)](_0x206c7f(0x1b7)+_0x505271);}}export function isDanglingSymlink(_0x5ce413){const _0x37805f=a104_0x2717;try{return lstatSync(_0x5ce413)[_0x37805f(0x1bb)]();}catch{return![];}}export function resolveSymlinkTarget(_0x890bf9){const _0x3ba72f=readlinkSync(_0x890bf9);return isAbsolute(_0x3ba72f)?_0x3ba72f:resolve(dirname(_0x890bf9),_0x3ba72f);}export function isPathInside(_0x59f362,_0x5abba0){const _0x3dc287=a104_0x2717,_0x328e2d=_0x59f362[_0x3dc287(0x1b8)](sep)?_0x59f362:''+_0x59f362+sep,_0x5ea65b=_0x5abba0[_0x3dc287(0x1b8)](sep)?_0x5abba0:''+_0x5abba0+sep;return _0x59f362===_0x5abba0||_0x328e2d[_0x3dc287(0x1bd)](_0x5ea65b);}export function realOrResolved(_0x325993){try{return realpathSync(_0x325993);}catch{return resolve(_0x325993);}}export function lstatIfPresent(_0x5611fd){try{return lstatSync(_0x5611fd);}catch{return undefined;}}export function writeTextAtomic(_0x2be211,_0x2ecd90,_0xd8709f){const _0x103c82=a104_0x2717;writeBytesAtomic(_0x2be211,Buffer[_0x103c82(0x1b1)](_0x2ecd90,_0x103c82(0x1ab)),_0xd8709f);}export function writeBytesAtomic(_0x512ac7,_0x45d750,_0x3167a0){const _0x5230d6=a104_0x2717,_0x4ba35c=_0x512ac7+_0x5230d6(0x1ba);try{writeFileSync(_0x4ba35c,_0x45d750,{'mode':_0x3167a0}),renameSync(_0x4ba35c,_0x512ac7);}catch(_0x525bac){try{rmSync(_0x4ba35c,{'force':!![]});}catch{}throw _0x525bac;}}function a104_0x2b2f(){const _0x449c21=['52817qtJZnB','4946565RcUOza','from','46aDcffR','Unsafe\x20Skill\x20file\x20path:\x20','2475809JWYzCy','split','2324iOxgOS','Refusing\x20to\x20write\x20through\x20Skill\x20symlink\x20path:\x20','endsWith','8KPmrlw','.tmp','isSymbolicLink','839820StFlcz','startsWith','validation','2961fWLlWO','utf8','stringify','237396CuOsyB','3502638pryDMr'];a104_0x2b2f=function(){return _0x449c21;};return a104_0x2b2f();}export function writeJsonAtomic(_0x5e6b59,_0x4a4383){const _0x2f4e5e=a104_0x2717;writeTextAtomic(_0x5e6b59,JSON[_0x2f4e5e(0x1ac)](_0x4a4383,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 a105_0x4457(){const _0x2189ef=['15787790KWmCGV','698255vlnSbQ','6zwWVDS','digest','867052YjWPhO','634038WVbyNz','sha256','size','11CmRGTb','update','10eKSwpg','1547WiInGC','276020KJGmyo','4475574MPfuPY','272CDGvPk','hex'];a105_0x4457=function(){return _0x2189ef;};return a105_0x4457();}(function(_0x4ef727,_0x3399fc){const _0x530150=a105_0x57eb,_0x1c6e59=_0x4ef727();while(!![]){try{const _0xcb3659=-parseInt(_0x530150(0x1c1))/0x1+-parseInt(_0x530150(0x1bc))/0x2+parseInt(_0x530150(0x1c2))/0x3*(parseInt(_0x530150(0x1c4))/0x4)+parseInt(_0x530150(0x1ca))/0x5*(-parseInt(_0x530150(0x1c5))/0x6)+-parseInt(_0x530150(0x1cb))/0x7*(-parseInt(_0x530150(0x1be))/0x8)+-parseInt(_0x530150(0x1bd))/0x9+-parseInt(_0x530150(0x1c0))/0xa*(-parseInt(_0x530150(0x1c8))/0xb);if(_0xcb3659===_0x3399fc)break;else _0x1c6e59['push'](_0x1c6e59['shift']());}catch(_0x55784e){_0x1c6e59['push'](_0x1c6e59['shift']());}}}(a105_0x4457,0x73f2a));import{createHash}from'node:crypto';import{fileContent,normalizeManifestFiles}from'./local-files.js';function a105_0x57eb(_0x750f27,_0x4f1431){_0x750f27=_0x750f27-0x1bc;const _0x4457c6=a105_0x4457();let _0x57eb35=_0x4457c6[_0x750f27];return _0x57eb35;}export function contentHash(_0x2caefe){const _0x321ea5=a105_0x57eb;return createHash(_0x321ea5(0x1c6))[_0x321ea5(0x1c9)](_0x2caefe)['digest'](_0x321ea5(0x1bf));}export function fileHash(_0x591157){return bufferSha256(fileContent(_0x591157));}export function bufferSha256(_0xb467f7){const _0x107654=a105_0x57eb;return createHash('sha256')[_0x107654(0x1c9)](_0xb467f7)[_0x107654(0x1c3)](_0x107654(0x1bf));}export function fileTreeHash(_0x146af5){const _0x8e2636=a105_0x57eb,_0x5ea1d0=createHash('sha256');for(const _0x257a0c of normalizeManifestFiles(_0x146af5)){_0x5ea1d0[_0x8e2636(0x1c9)](_0x257a0c['path']),_0x5ea1d0[_0x8e2636(0x1c9)]('\x00'),_0x5ea1d0['update'](_0x257a0c['sha256']),_0x5ea1d0['update']('\x00'),_0x5ea1d0[_0x8e2636(0x1c9)](String(_0x257a0c[_0x8e2636(0x1c7)])),_0x5ea1d0['update']('\x00');}return _0x5ea1d0['digest'](_0x8e2636(0x1bf));}