@lovrabet/lovrabet-cli 2.1.18 → 2.1.19-beta.1

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 (134) hide show
  1. package/README.md +7 -0
  2. package/lib/cli.js +1 -1
  3. package/lib/commands/api-doc/index.js +1 -1
  4. package/lib/commands/app/cache.js +1 -1
  5. package/lib/commands/app/definitions.js +1 -1
  6. package/lib/commands/app/eligibility.js +1 -1
  7. package/lib/commands/app/mock-loader.js +1 -1
  8. package/lib/commands/app/remote-source.js +1 -1
  9. package/lib/commands/app/shared.js +1 -1
  10. package/lib/commands/app-config/get.js +1 -1
  11. package/lib/commands/app-config/index.js +1 -1
  12. package/lib/commands/artifact/index.js +1 -1
  13. package/lib/commands/auth/device.js +1 -1
  14. package/lib/commands/auth/index.js +1 -1
  15. package/lib/commands/auth/prompt.js +1 -1
  16. package/lib/commands/bff/detail.js +1 -1
  17. package/lib/commands/bff/exec.js +1 -1
  18. package/lib/commands/bff/index.js +1 -1
  19. package/lib/commands/cli-skill/index.js +1 -1
  20. package/lib/commands/common/config-policy.js +1 -1
  21. package/lib/commands/common/constraints.js +1 -1
  22. package/lib/commands/common/flags.js +1 -1
  23. package/lib/commands/common/local-file.js +1 -1
  24. package/lib/commands/config/definitions.js +1 -1
  25. package/lib/commands/config/shared.js +1 -1
  26. package/lib/commands/data/index.js +1 -1
  27. package/lib/commands/dataset/detail.js +1 -1
  28. package/lib/commands/dataset/index.js +1 -1
  29. package/lib/commands/dataset/list.js +1 -1
  30. package/lib/commands/dataset/sdk-doc.js +1 -1
  31. package/lib/commands/doctor.js +1 -1
  32. package/lib/commands/file/index.js +1 -1
  33. package/lib/commands/init.js +1 -1
  34. package/lib/commands/kb/index.js +1 -1
  35. package/lib/commands/logs/index.js +1 -1
  36. package/lib/commands/ocr/index.js +1 -1
  37. package/lib/commands/personal-bff/index.js +1 -1
  38. package/lib/commands/registry.js +1 -1
  39. package/lib/commands/schedule/index.js +1 -1
  40. package/lib/commands/schema.js +1 -1
  41. package/lib/commands/service/dynamic.js +1 -1
  42. package/lib/commands/service/function-name-adapter.js +1 -1
  43. package/lib/commands/service/index.js +1 -1
  44. package/lib/commands/service/registry.js +1 -1
  45. package/lib/commands/skill/commands/create.js +1 -1
  46. package/lib/commands/skill/commands/install.js +1 -1
  47. package/lib/commands/skill/commands/list.js +1 -1
  48. package/lib/commands/skill/commands/push.js +1 -1
  49. package/lib/commands/skill/commands/validate.js +1 -1
  50. package/lib/commands/skill/flags.d.ts +1 -0
  51. package/lib/commands/skill/flags.js +1 -1
  52. package/lib/commands/skill/index.js +1 -1
  53. package/lib/commands/skill/manifest-helpers.js +1 -1
  54. package/lib/commands/skill/push-execute.js +1 -1
  55. package/lib/commands/skill/push-flow-helpers.js +1 -1
  56. package/lib/commands/skill/push-retarget.js +1 -1
  57. package/lib/commands/skill/scopes.js +1 -1
  58. package/lib/commands/skill/summary.js +1 -1
  59. package/lib/commands/skill/templates.js +1 -1
  60. package/lib/commands/skill/validate.js +1 -1
  61. package/lib/commands/sql/detail.js +1 -1
  62. package/lib/commands/sql/exec.js +1 -1
  63. package/lib/commands/sql/index.js +1 -1
  64. package/lib/commands/update.js +1 -1
  65. package/lib/commands/workspace/index.js +1 -1
  66. package/lib/config/schema.js +1 -1
  67. package/lib/constant/app.js +1 -1
  68. package/lib/constant/auth-mode.js +1 -1
  69. package/lib/constant/cli.js +1 -1
  70. package/lib/constant/defaults.js +1 -1
  71. package/lib/constant/distribution.js +1 -1
  72. package/lib/constant/domain.js +1 -1
  73. package/lib/constant/env.js +1 -1
  74. package/lib/constant/output.js +1 -1
  75. package/lib/constant/product.js +1 -1
  76. package/lib/constant/risk.js +1 -1
  77. package/lib/constant/url.js +1 -1
  78. package/lib/context.js +1 -1
  79. package/lib/core/api-client.js +1 -1
  80. package/lib/core/db-resolver.js +1 -1
  81. package/lib/core/sdk-client.js +1 -1
  82. package/lib/errors.js +1 -1
  83. package/lib/framework/build-all-flags.js +1 -1
  84. package/lib/framework/dryrun.js +1 -1
  85. package/lib/framework/flags.js +1 -1
  86. package/lib/framework/help.js +1 -1
  87. package/lib/framework/index.js +1 -1
  88. package/lib/framework/output.js +1 -1
  89. package/lib/framework/preparse.js +1 -1
  90. package/lib/framework/rate-limit.js +1 -1
  91. package/lib/framework/response.js +1 -1
  92. package/lib/framework/runner-confirmation.js +1 -1
  93. package/lib/framework/runner-error.js +1 -1
  94. package/lib/framework/runner.js +1 -1
  95. package/lib/framework/schema-export.js +1 -1
  96. package/lib/framework/service-order.js +1 -1
  97. package/lib/framework/types.js +1 -1
  98. package/lib/generated/build-info.d.ts +4 -4
  99. package/lib/generated/build-info.js +1 -1
  100. package/lib/help.js +1 -1
  101. package/lib/runtime/event.js +1 -1
  102. package/lib/runtime/index.js +1 -1
  103. package/lib/runtime/queue.js +1 -1
  104. package/lib/runtime/resolve.js +1 -1
  105. package/lib/skills/npx-skills-add.js +1 -1
  106. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  107. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  108. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  109. package/lib/skills/runtime-skill-sync/install-target.d.ts +9 -0
  110. package/lib/skills/runtime-skill-sync/install-target.js +1 -0
  111. package/lib/skills/runtime-skill-sync/links.d.ts +5 -4
  112. package/lib/skills/runtime-skill-sync/links.js +1 -1
  113. package/lib/skills/runtime-skill-sync/list-local.d.ts +2 -2
  114. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  115. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  116. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  117. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  118. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  119. package/lib/skills/runtime-skill-sync/push.js +1 -1
  120. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  121. package/lib/skills/runtime-skill-sync/types.d.ts +17 -0
  122. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  123. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  124. package/lib/skills/runtime-skill-sync.d.ts +2 -1
  125. package/lib/skills/runtime-skill-sync.js +1 -1
  126. package/lib/utils/apply-jq-filter.js +1 -1
  127. package/lib/utils/logger.js +1 -1
  128. package/lib/utils/lossless-json.js +1 -1
  129. package/lib/utils/params.js +1 -1
  130. package/lib/utils/platform.js +1 -1
  131. package/lib/utils/update-notice.js +1 -1
  132. package/lib/utils/version.js +1 -1
  133. package/lib/utils/write-cli-side-channel.js +1 -1
  134. package/package.json +1 -1
@@ -1 +1 @@
1
- const a119_0x50aac7=a119_0x289e;(function(_0x239920,_0x3fac94){const _0x14ab0d=a119_0x289e,_0x5d79e7=_0x239920();while(!![]){try{const _0x51626a=-parseInt(_0x14ab0d(0x137))/0x1+parseInt(_0x14ab0d(0x114))/0x2+-parseInt(_0x14ab0d(0x117))/0x3+parseInt(_0x14ab0d(0x111))/0x4*(parseInt(_0x14ab0d(0x131))/0x5)+-parseInt(_0x14ab0d(0x11b))/0x6+-parseInt(_0x14ab0d(0x10d))/0x7+-parseInt(_0x14ab0d(0x10c))/0x8*(-parseInt(_0x14ab0d(0x134))/0x9);if(_0x51626a===_0x3fac94)break;else _0x5d79e7['push'](_0x5d79e7['shift']());}catch(_0x52d36e){_0x5d79e7['push'](_0x5d79e7['shift']());}}}(a119_0x2318,0x4ea7a));import a119_0x364f21 from'winston';import a119_0x5bf431 from'node:fs';import a119_0x290c6b from'node:path';function a119_0x289e(_0x237617,_0x29a069){_0x237617=_0x237617-0x107;const _0x231893=a119_0x2318();let _0x289e9b=_0x231893[_0x237617];return _0x289e9b;}import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a119_0x50aac7(0x123)];[a119_0x50aac7(0x12c)]='';[a119_0x50aac7(0x132)]='';constructor(){}[a119_0x50aac7(0x120)](_0x1e9261){const _0x542571=a119_0x50aac7;this[_0x542571(0x132)]=_0x1e9261;}['setLogPath'](_0x999f){const _0x30fc8f=a119_0x50aac7;this['logFilePath']=a119_0x290c6b[_0x30fc8f(0x110)](_0x999f,PRODUCT_CONFIG[_0x30fc8f(0x12f)]),this['winstonLogger']&&this[_0x30fc8f(0x123)][_0x30fc8f(0x113)](),this[_0x30fc8f(0x116)]();}[a119_0x50aac7(0x116)](){const _0xa94fe6=a119_0x50aac7,_0x17d1ce=a119_0x290c6b[_0xa94fe6(0x130)](this['logFilePath']);!a119_0x5bf431[_0xa94fe6(0x11c)](_0x17d1ce)&&a119_0x5bf431[_0xa94fe6(0x121)](_0x17d1ce,{'recursive':!![]});const _0x31c79b=a119_0x364f21['format']['combine'](a119_0x364f21['format'][_0xa94fe6(0x119)](),a119_0x364f21[_0xa94fe6(0x10b)][_0xa94fe6(0x128)]({'stack':!![]}),a119_0x364f21[_0xa94fe6(0x10b)]['printf'](_0x2c706c=>{const _0x45306c=_0xa94fe6,_0x36ce18={'timestamp':_0x2c706c[_0x45306c(0x119)]||new Date()[_0x45306c(0x129)](),'level':_0x2c706c[_0x45306c(0x12e)]||_0x45306c(0x11f),'command':_0x2c706c[_0x45306c(0x133)]||_0x45306c(0x10a),'rawCommand':_0x2c706c[_0x45306c(0x11e)]||this[_0x45306c(0x132)]||undefined,'message':_0x2c706c[_0x45306c(0x109)]||'','duration':_0x2c706c['duration']||undefined,'details':_0x2c706c[_0x45306c(0x12a)]||undefined};return JSON[_0x45306c(0x122)](_0x36ce18);}));this[_0xa94fe6(0x123)]=a119_0x364f21[_0xa94fe6(0x108)]({'level':_0xa94fe6(0x11f),'format':_0x31c79b,'transports':[new a119_0x364f21[(_0xa94fe6(0x115))]['File']({'filename':this[_0xa94fe6(0x12c)],'level':_0xa94fe6(0x11f)})],'silent':![]}),a119_0x364f21[_0xa94fe6(0x11d)]({'success':_0xa94fe6(0x10f),'error':_0xa94fe6(0x118),'warn':_0xa94fe6(0x127),'info':'blue'});}[a119_0x50aac7(0x11f)](_0x4f9350,_0x566a0f,_0x24395f){const _0x124610=a119_0x50aac7;if(!this[_0x124610(0x12c)]||!this['winstonLogger'])return;this[_0x124610(0x123)][_0x124610(0x11f)](_0x566a0f,{'command':_0x4f9350,'details':_0x24395f});}['success'](_0x1e61b9,_0x355637,_0x3ecc8d,_0x8d010){const _0x1e5af9=a119_0x50aac7;if(!this[_0x1e5af9(0x12c)]||!this[_0x1e5af9(0x123)])return;this['winstonLogger']['log'](_0x1e5af9(0x11f),_0x355637,{'level':'success','command':_0x1e61b9,'duration':_0x3ecc8d,'details':_0x8d010});}['error'](_0x917670,_0x22a307,_0x40a38d){const _0x5ced48=a119_0x50aac7;if(!this[_0x5ced48(0x12c)]||!this[_0x5ced48(0x123)])return;this['winstonLogger'][_0x5ced48(0x124)](_0x22a307,{'command':_0x917670,'details':_0x40a38d});}[a119_0x50aac7(0x10e)](_0x5f1739,_0x37fce5,_0x265779){const _0x31a6f3=a119_0x50aac7;if(!this['logFilePath']||!this[_0x31a6f3(0x123)])return;this[_0x31a6f3(0x123)][_0x31a6f3(0x10e)](_0x37fce5,{'command':_0x5f1739,'details':_0x265779});}async[a119_0x50aac7(0x112)](_0x5b0c0a,_0x129f0f,_0x5914f1){const _0x4bb5c3=a119_0x50aac7,_0x76c2d5=Date[_0x4bb5c3(0x126)]();this['info'](_0x5b0c0a,_0x4bb5c3(0x11a)+_0x129f0f);try{const _0x90e0dc=await _0x5914f1(),_0x50f9b1=Date[_0x4bb5c3(0x126)]()-_0x76c2d5;return this[_0x4bb5c3(0x125)](_0x5b0c0a,'Completed:\x20'+_0x129f0f,_0x50f9b1),_0x90e0dc;}catch(_0xee6d0c){const _0x4a3a8d=Date['now']()-_0x76c2d5;this['error'](_0x5b0c0a,_0x4bb5c3(0x135)+_0x129f0f,{'error':_0xee6d0c instanceof Error?_0xee6d0c[_0x4bb5c3(0x109)]:String(_0xee6d0c),'duration':_0x4a3a8d});throw _0xee6d0c;}}[a119_0x50aac7(0x12b)](){const _0xdae837=a119_0x50aac7;try{if(!a119_0x5bf431[_0xdae837(0x11c)](this[_0xdae837(0x12c)]))return[];const _0x50f344=a119_0x5bf431[_0xdae837(0x139)](this[_0xdae837(0x12c)],_0xdae837(0x136));return _0x50f344['split'](/\r?\n/)['filter'](_0x2788e8=>_0x2788e8[_0xdae837(0x12d)]())['map'](_0x246da8=>JSON[_0xdae837(0x138)](_0x246da8));}catch(_0x144a69){return console[_0xdae837(0x10e)]('Failed\x20to\x20read\x20logs:',_0x144a69),[];}}['clearLogs'](){const _0x110f61=a119_0x50aac7;try{a119_0x5bf431[_0x110f61(0x11c)](this[_0x110f61(0x12c)])&&a119_0x5bf431[_0x110f61(0x107)](this[_0x110f61(0x12c)],'','utf8');}catch(_0x101f6e){console[_0x110f61(0x10e)]('Failed\x20to\x20clear\x20logs:',_0x101f6e);}}['getWinstonInstance'](){const _0x2fa557=a119_0x50aac7;return this[_0x2fa557(0x123)];}}export const logger=new Logger();function a119_0x2318(){const _0x5cad72=['format','248WLfKBQ','3486455kQlGxV','warn','green','join','713188qRfgLY','logTask','clear','884678RkIUrd','transports','initWinstonLogger','204816yUxJhO','red','timestamp','Starting:\x20','3857682uMQBjE','existsSync','addColors','rawCommand','info','setRawCommand','mkdirSync','stringify','winstonLogger','error','success','now','yellow','errors','toISOString','details','readLogs','logFilePath','trim','level','logFileName','dirname','5hvQTxU','currentRawCommand','command','288396JQgNgR','Failed:\x20','utf8','82546eYGeZJ','parse','readFileSync','writeFileSync','createLogger','message','unknown'];a119_0x2318=function(){return _0x5cad72;};return a119_0x2318();}
1
+ function a120_0x47e6(_0x59c65a,_0x1bc9b4){_0x59c65a=_0x59c65a-0x97;const _0x2ef0ab=a120_0x2ef0();let _0x47e6ef=_0x2ef0ab[_0x59c65a];return _0x47e6ef;}function a120_0x2ef0(){const _0x2b55fb=['logFilePath','rawCommand','setLogPath','70octJfh','toISOString','command','getWinstonInstance','now','47849549WtuZtg','setRawCommand','606702NexYJw','error','format','4084208WZVCOz','File','details','2652930Svqamq','27rEiWat','currentRawCommand','Completed:\x20','winstonLogger','initWinstonLogger','189668TMtXsL','printf','18CYOlNl','stringify','parse','readLogs','Starting:\x20','success','Failed\x20to\x20read\x20logs:','Failed:\x20','736052HKtMGR','logFileName','existsSync','unknown','green','map','15bgVZbP','warn','level','join','addColors','blue','info','yellow','mkdirSync','utf8','clearLogs','timestamp','609692dlyGCF','transports'];a120_0x2ef0=function(){return _0x2b55fb;};return a120_0x2ef0();}const a120_0x92745d=a120_0x47e6;(function(_0x26d790,_0x47e3d8){const _0x4a43cf=a120_0x47e6,_0x41bb0d=_0x26d790();while(!![]){try{const _0x48bc26=-parseInt(_0x4a43cf(0x9a))/0x1+parseInt(_0x4a43cf(0xc4))/0x2*(-parseInt(_0x4a43cf(0xbf))/0x3)+parseInt(_0x4a43cf(0xac))/0x4*(-parseInt(_0x4a43cf(0xa0))/0x5)+parseInt(_0x4a43cf(0xb8))/0x6*(-parseInt(_0x4a43cf(0xb1))/0x7)+parseInt(_0x4a43cf(0xbb))/0x8*(-parseInt(_0x4a43cf(0xc6))/0x9)+parseInt(_0x4a43cf(0xbe))/0xa+parseInt(_0x4a43cf(0xb6))/0xb;if(_0x48bc26===_0x47e3d8)break;else _0x41bb0d['push'](_0x41bb0d['shift']());}catch(_0x18ea01){_0x41bb0d['push'](_0x41bb0d['shift']());}}}(a120_0x2ef0,0x82e8b));import a120_0x51583a from'winston';import a120_0x185db3 from'node:fs';import a120_0x238736 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a120_0x92745d(0xc2)];[a120_0x92745d(0xae)]='';[a120_0x92745d(0xc0)]='';constructor(){}[a120_0x92745d(0xb7)](_0x26ee72){const _0x17d1f9=a120_0x92745d;this[_0x17d1f9(0xc0)]=_0x26ee72;}[a120_0x92745d(0xb0)](_0x21a82b){const _0x2cb1c3=a120_0x92745d;this[_0x2cb1c3(0xae)]=a120_0x238736[_0x2cb1c3(0xa3)](_0x21a82b,PRODUCT_CONFIG[_0x2cb1c3(0x9b)]),this[_0x2cb1c3(0xc2)]&&this[_0x2cb1c3(0xc2)]['clear'](),this[_0x2cb1c3(0xc3)]();}['initWinstonLogger'](){const _0x55c1a2=a120_0x92745d,_0x57fb49=a120_0x238736['dirname'](this[_0x55c1a2(0xae)]);!a120_0x185db3[_0x55c1a2(0x9c)](_0x57fb49)&&a120_0x185db3[_0x55c1a2(0xa8)](_0x57fb49,{'recursive':!![]});const _0x35c13b=a120_0x51583a[_0x55c1a2(0xba)]['combine'](a120_0x51583a['format'][_0x55c1a2(0xab)](),a120_0x51583a[_0x55c1a2(0xba)]['errors']({'stack':!![]}),a120_0x51583a['format'][_0x55c1a2(0xc5)](_0x296e55=>{const _0x3de6a4=_0x55c1a2,_0x1cde68={'timestamp':_0x296e55[_0x3de6a4(0xab)]||new Date()[_0x3de6a4(0xb2)](),'level':_0x296e55[_0x3de6a4(0xa2)]||_0x3de6a4(0xa6),'command':_0x296e55[_0x3de6a4(0xb3)]||_0x3de6a4(0x9d),'rawCommand':_0x296e55[_0x3de6a4(0xaf)]||this[_0x3de6a4(0xc0)]||undefined,'message':_0x296e55['message']||'','duration':_0x296e55['duration']||undefined,'details':_0x296e55[_0x3de6a4(0xbd)]||undefined};return JSON[_0x3de6a4(0xc7)](_0x1cde68);}));this[_0x55c1a2(0xc2)]=a120_0x51583a['createLogger']({'level':_0x55c1a2(0xa6),'format':_0x35c13b,'transports':[new a120_0x51583a[(_0x55c1a2(0xad))][(_0x55c1a2(0xbc))]({'filename':this['logFilePath'],'level':_0x55c1a2(0xa6)})],'silent':![]}),a120_0x51583a[_0x55c1a2(0xa4)]({'success':_0x55c1a2(0x9e),'error':'red','warn':_0x55c1a2(0xa7),'info':_0x55c1a2(0xa5)});}[a120_0x92745d(0xa6)](_0x5939da,_0x3aca52,_0x52a8b3){const _0x4a6e84=a120_0x92745d;if(!this[_0x4a6e84(0xae)]||!this[_0x4a6e84(0xc2)])return;this['winstonLogger'][_0x4a6e84(0xa6)](_0x3aca52,{'command':_0x5939da,'details':_0x52a8b3});}['success'](_0x4dbdd5,_0x50a696,_0x3fb364,_0x3cbc88){const _0x148d15=a120_0x92745d;if(!this['logFilePath']||!this['winstonLogger'])return;this[_0x148d15(0xc2)]['log']('info',_0x50a696,{'level':'success','command':_0x4dbdd5,'duration':_0x3fb364,'details':_0x3cbc88});}['error'](_0x3607d4,_0x2c6e9a,_0x4f65fd){const _0x99d260=a120_0x92745d;if(!this[_0x99d260(0xae)]||!this[_0x99d260(0xc2)])return;this['winstonLogger'][_0x99d260(0xb9)](_0x2c6e9a,{'command':_0x3607d4,'details':_0x4f65fd});}[a120_0x92745d(0xa1)](_0x63e71,_0x10284c,_0x4434a1){const _0x3889ea=a120_0x92745d;if(!this[_0x3889ea(0xae)]||!this[_0x3889ea(0xc2)])return;this[_0x3889ea(0xc2)][_0x3889ea(0xa1)](_0x10284c,{'command':_0x63e71,'details':_0x4434a1});}async['logTask'](_0xb1e4c5,_0x23050b,_0x108187){const _0x2829df=a120_0x92745d,_0x49a682=Date['now']();this[_0x2829df(0xa6)](_0xb1e4c5,_0x2829df(0xca)+_0x23050b);try{const _0x49719c=await _0x108187(),_0x25b9d2=Date[_0x2829df(0xb5)]()-_0x49a682;return this[_0x2829df(0x97)](_0xb1e4c5,_0x2829df(0xc1)+_0x23050b,_0x25b9d2),_0x49719c;}catch(_0x34ce11){const _0x1fd46a=Date[_0x2829df(0xb5)]()-_0x49a682;this[_0x2829df(0xb9)](_0xb1e4c5,_0x2829df(0x99)+_0x23050b,{'error':_0x34ce11 instanceof Error?_0x34ce11['message']:String(_0x34ce11),'duration':_0x1fd46a});throw _0x34ce11;}}[a120_0x92745d(0xc9)](){const _0xb514b9=a120_0x92745d;try{if(!a120_0x185db3['existsSync'](this[_0xb514b9(0xae)]))return[];const _0x1bab5e=a120_0x185db3['readFileSync'](this[_0xb514b9(0xae)],_0xb514b9(0xa9));return _0x1bab5e['split'](/\r?\n/)['filter'](_0x26c8ef=>_0x26c8ef['trim']())[_0xb514b9(0x9f)](_0x53fa71=>JSON[_0xb514b9(0xc8)](_0x53fa71));}catch(_0x336522){return console[_0xb514b9(0xa1)](_0xb514b9(0x98),_0x336522),[];}}[a120_0x92745d(0xaa)](){const _0x409f44=a120_0x92745d;try{a120_0x185db3[_0x409f44(0x9c)](this[_0x409f44(0xae)])&&a120_0x185db3['writeFileSync'](this['logFilePath'],'',_0x409f44(0xa9));}catch(_0x2eee5a){console[_0x409f44(0xa1)]('Failed\x20to\x20clear\x20logs:',_0x2eee5a);}}[a120_0x92745d(0xb4)](){return this['winstonLogger'];}}export const logger=new Logger();
@@ -1 +1 @@
1
- const a120_0x4e2547=a120_0x4a1a;(function(_0x1f5043,_0x6a2758){const _0x4bd0d9=a120_0x4a1a,_0x4cc925=_0x1f5043();while(!![]){try{const _0x2bbe3=-parseInt(_0x4bd0d9(0x18d))/0x1+parseInt(_0x4bd0d9(0x18e))/0x2+-parseInt(_0x4bd0d9(0x189))/0x3+parseInt(_0x4bd0d9(0x191))/0x4+-parseInt(_0x4bd0d9(0x183))/0x5*(-parseInt(_0x4bd0d9(0x18c))/0x6)+parseInt(_0x4bd0d9(0x18b))/0x7*(parseInt(_0x4bd0d9(0x18a))/0x8)+-parseInt(_0x4bd0d9(0x190))/0x9;if(_0x2bbe3===_0x6a2758)break;else _0x4cc925['push'](_0x4cc925['shift']());}catch(_0x2a762b){_0x4cc925['push'](_0x4cc925['shift']());}}}(a120_0x57ae,0xe51ee));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number['MAX_SAFE_INTEGER']),MIN_SAFE_INTEGER=BigInt(Number[a120_0x4e2547(0x195)]);function a120_0x57ae(){const _0x3f25b9=['text','undefined','includes','length','defineProperty','5437371aBxwOH','145744JPBuuL','581SQAbhT','138TJIUOq','1379891vECEVP','488090NqzTyY','prototype','1859031hHZIif','4977392EGkYYl','getOwnPropertyDescriptor','json','parse','MIN_SAFE_INTEGER','slice','290630mkkVeO'];a120_0x57ae=function(){return _0x3f25b9;};return a120_0x57ae();}let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x2a59e6){const _0x29c826=a120_0x4e2547;if(_0x2a59e6[_0x29c826(0x186)]('.')||_0x2a59e6[_0x29c826(0x186)]('e')||_0x2a59e6[_0x29c826(0x186)]('E'))return![];const _0x32a034=BigInt(_0x2a59e6);return _0x32a034>MAX_SAFE_INTEGER||_0x32a034<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x2cf460){const _0xcef7e2=a120_0x4e2547;let _0x424a6a='',_0x24c21a=![],_0x3105f4=![];for(let _0xb12b6f=0x0;_0xb12b6f<_0x2cf460[_0xcef7e2(0x187)];){const _0x553a02=_0x2cf460[_0xb12b6f];if(_0x24c21a){_0x424a6a+=_0x553a02,_0xb12b6f+=0x1;if(_0x3105f4)_0x3105f4=![];else{if(_0x553a02==='\x5c')_0x3105f4=!![];else _0x553a02==='\x22'&&(_0x24c21a=![]);}continue;}if(_0x553a02==='\x22'){_0x24c21a=!![],_0x424a6a+=_0x553a02,_0xb12b6f+=0x1;continue;}if(_0x553a02==='-'||_0x553a02>='0'&&_0x553a02<='9'){const _0x1a2076=JSON_NUMBER_PATTERN['exec'](_0x2cf460[_0xcef7e2(0x196)](_0xb12b6f))?.[0x0];if(_0x1a2076){_0x424a6a+=isUnsafeIntegerLiteral(_0x1a2076)?'\x22'+_0x1a2076+'\x22':_0x1a2076,_0xb12b6f+=_0x1a2076['length'];continue;}}_0x424a6a+=_0x553a02,_0xb12b6f+=0x1;}return _0x424a6a;}function a120_0x4a1a(_0x36fd34,_0x2c8c3a){_0x36fd34=_0x36fd34-0x183;const _0x57ae50=a120_0x57ae();let _0x4a1ac2=_0x57ae50[_0x36fd34];return _0x4a1ac2;}export function parseLosslessJson(_0xe04730){const _0x6f0d05=a120_0x4e2547;return JSON[_0x6f0d05(0x194)](quoteUnsafeIntegerLiterals(_0xe04730));}export function installLosslessJsonResponseParser(){const _0x165beb=a120_0x4e2547;if(typeof Response===_0x165beb(0x185))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x165beb(0x18f)],originalResponseJsonDescriptor=Object[_0x165beb(0x192)](responseJsonPrototype,'json'),Object[_0x165beb(0x188)](responseJsonPrototype,_0x165beb(0x193),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x40e296(){const _0x292e5b=_0x165beb;return parseLosslessJson(await this[_0x292e5b(0x184)]());}}),restoreResponseJsonParser=()=>{const _0x46a7d7=_0x165beb;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x46a7d7(0x188)](responseJsonPrototype,_0x46a7d7(0x193),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x46a7d7(0x193)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ const a121_0x4a9f00=a121_0x3f7f;(function(_0x168b54,_0x1455be){const _0x218a27=a121_0x3f7f,_0x5b9f82=_0x168b54();while(!![]){try{const _0x48ff44=parseInt(_0x218a27(0x112))/0x1*(parseInt(_0x218a27(0x118))/0x2)+parseInt(_0x218a27(0x10b))/0x3+-parseInt(_0x218a27(0x10e))/0x4*(-parseInt(_0x218a27(0x10a))/0x5)+parseInt(_0x218a27(0x107))/0x6+-parseInt(_0x218a27(0x11b))/0x7*(parseInt(_0x218a27(0x117))/0x8)+parseInt(_0x218a27(0x10c))/0x9*(parseInt(_0x218a27(0x108))/0xa)+-parseInt(_0x218a27(0x115))/0xb;if(_0x48ff44===_0x1455be)break;else _0x5b9f82['push'](_0x5b9f82['shift']());}catch(_0x3713b8){_0x5b9f82['push'](_0x5b9f82['shift']());}}}(a121_0x52e7,0xbf828));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a121_0x4a9f00(0x11a)]),MIN_SAFE_INTEGER=BigInt(Number['MIN_SAFE_INTEGER']);function a121_0x3f7f(_0x316252,_0x4c6048){_0x316252=_0x316252-0x107;const _0x52e767=a121_0x52e7();let _0x3f7fce=_0x52e767[_0x316252];return _0x3f7fce;}let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x1812df){const _0x4b50cd=a121_0x4a9f00;if(_0x1812df[_0x4b50cd(0x116)]('.')||_0x1812df[_0x4b50cd(0x116)]('e')||_0x1812df[_0x4b50cd(0x116)]('E'))return![];const _0x438e1c=BigInt(_0x1812df);return _0x438e1c>MAX_SAFE_INTEGER||_0x438e1c<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x587cea){const _0x2c7613=a121_0x4a9f00;let _0x315adc='',_0x5bc98f=![],_0x29e9cf=![];for(let _0x46a122=0x0;_0x46a122<_0x587cea[_0x2c7613(0x10d)];){const _0x199959=_0x587cea[_0x46a122];if(_0x5bc98f){_0x315adc+=_0x199959,_0x46a122+=0x1;if(_0x29e9cf)_0x29e9cf=![];else{if(_0x199959==='\x5c')_0x29e9cf=!![];else _0x199959==='\x22'&&(_0x5bc98f=![]);}continue;}if(_0x199959==='\x22'){_0x5bc98f=!![],_0x315adc+=_0x199959,_0x46a122+=0x1;continue;}if(_0x199959==='-'||_0x199959>='0'&&_0x199959<='9'){const _0x1a69df=JSON_NUMBER_PATTERN[_0x2c7613(0x113)](_0x587cea[_0x2c7613(0x119)](_0x46a122))?.[0x0];if(_0x1a69df){_0x315adc+=isUnsafeIntegerLiteral(_0x1a69df)?'\x22'+_0x1a69df+'\x22':_0x1a69df,_0x46a122+=_0x1a69df['length'];continue;}}_0x315adc+=_0x199959,_0x46a122+=0x1;}return _0x315adc;}function a121_0x52e7(){const _0x392996=['29745sYScOg','length','2616132NeCLPZ','parse','json','defineProperty','2EOnGqH','exec','prototype','3936570SFWVCJ','includes','8BWPaMD','655556gxmdep','slice','MAX_SAFE_INTEGER','8571647fMLskQ','1145370mVRCCT','1460MEOBKv','text','5csgGkV','1151403rsNSGS'];a121_0x52e7=function(){return _0x392996;};return a121_0x52e7();}export function parseLosslessJson(_0x5498dd){const _0x500f87=a121_0x4a9f00;return JSON[_0x500f87(0x10f)](quoteUnsafeIntegerLiterals(_0x5498dd));}export function installLosslessJsonResponseParser(){const _0x68e99e=a121_0x4a9f00;if(typeof Response==='undefined')return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x68e99e(0x114)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,_0x68e99e(0x110)),Object[_0x68e99e(0x111)](responseJsonPrototype,_0x68e99e(0x110),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0xb12bc8(){const _0x1c3d63=_0x68e99e;return parseLosslessJson(await this[_0x1c3d63(0x109)]());}}),restoreResponseJsonParser=()=>{const _0x1a2ae5=_0x68e99e;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x1a2ae5(0x111)](responseJsonPrototype,_0x1a2ae5(0x110),originalResponseJsonDescriptor):delete responseJsonPrototype[_0x1a2ae5(0x110)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- (function(_0x23a029,_0x38bea0){const _0x18350e=a121_0x4d5c,_0x92ad42=_0x23a029();while(!![]){try{const _0x3e6934=-parseInt(_0x18350e(0x152))/0x1+-parseInt(_0x18350e(0x150))/0x2+-parseInt(_0x18350e(0x151))/0x3*(parseInt(_0x18350e(0x16b))/0x4)+-parseInt(_0x18350e(0x15a))/0x5*(-parseInt(_0x18350e(0x15f))/0x6)+parseInt(_0x18350e(0x166))/0x7*(parseInt(_0x18350e(0x165))/0x8)+parseInt(_0x18350e(0x168))/0x9*(-parseInt(_0x18350e(0x159))/0xa)+parseInt(_0x18350e(0x158))/0xb;if(_0x3e6934===_0x38bea0)break;else _0x92ad42['push'](_0x92ad42['shift']());}catch(_0x3fd2c8){_0x92ad42['push'](_0x92ad42['shift']());}}}(a121_0x4ff2,0xd191f));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x5ac31d){const _0x142d72=a121_0x4d5c;if(!_0x5ac31d)return undefined;try{return parseLosslessJson(_0x5ac31d);}catch{throw CliErrors['validation'](_0x142d72(0x16a)+_0x5ac31d);}}function a121_0x4d5c(_0x366e09,_0x272b2c){_0x366e09=_0x366e09-0x14e;const _0x4ff2e8=a121_0x4ff2();let _0x4d5c2e=_0x4ff2e8[_0x366e09];return _0x4d5c2e;}export function parseJsonParamsValue(_0x23bccd){const _0xfa506a=a121_0x4d5c;if(!_0x23bccd)return undefined;try{return parseLosslessJson(_0x23bccd);}catch{throw CliErrors[_0xfa506a(0x157)](_0xfa506a(0x16a)+_0x23bccd);}}function a121_0x4ff2(){const _0x187bbe=['1904094AHYoef','3225531jxXKVO','1015612EpMohZ','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','join','map','length','validation','29910408MXLBms','1060xhoZsa','204205lYPKFV','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','102CKbUbM','isSafeInteger','id[','object','number','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','2673952ckzzvv','28YvYhVd','data\x20update\x20can\x20update\x20at\x20most\x20','72099bvyKYe','isArray','Invalid\x20JSON\x20for\x20--params:\x20','4NkpfZr','items','test'];a121_0x4ff2=function(){return _0x187bbe;};return a121_0x4ff2();}export function parseBatchCreateItemsFromParams(_0x2f3761){const _0x27589a=a121_0x4d5c;if(Array[_0x27589a(0x169)](_0x2f3761))return _0x2f3761;if(_0x2f3761!==null&&_0x2f3761!==undefined&&typeof _0x2f3761===_0x27589a(0x162)&&Array[_0x27589a(0x169)](_0x2f3761[_0x27589a(0x14e)]))return _0x2f3761['items'];throw CliErrors[_0x27589a(0x157)]('batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}',_0x27589a(0x15e));}function parseDataUpdateId(_0x41480c,_0xc8b608){const _0x3e9a93=a121_0x4d5c;if(typeof _0x41480c===_0x3e9a93(0x163)&&Number[_0x3e9a93(0x160)](_0x41480c)&&_0x41480c>0x0)return _0x41480c;if(typeof _0x41480c==='string'){if(/^[1-9]\d*$/[_0x3e9a93(0x14f)](_0x41480c))return _0x41480c;}throw CliErrors[_0x3e9a93(0x157)]('data\x20update\x20--params.'+_0xc8b608+_0x3e9a93(0x15c));}export function parseUpdateIdsFromParams(_0x40c0b5){const _0x286b97=a121_0x4d5c;if(_0x40c0b5===null||_0x40c0b5===undefined||typeof _0x40c0b5!==_0x286b97(0x162)||Array[_0x286b97(0x169)](_0x40c0b5))throw CliErrors[_0x286b97(0x157)](_0x286b97(0x15b),_0x286b97(0x164));const _0x3e36f3=_0x40c0b5['id'];if(_0x3e36f3===undefined||_0x3e36f3===null)throw CliErrors[_0x286b97(0x157)](_0x286b97(0x15d),_0x286b97(0x164));const _0x53a983=Array['isArray'](_0x3e36f3)?_0x3e36f3:[_0x3e36f3];if(_0x53a983[_0x286b97(0x156)]===0x0)throw CliErrors['validation'](_0x286b97(0x153));if(_0x53a983['length']>MAX_DATA_UPDATE_IDS)throw CliErrors['validation'](_0x286b97(0x167)+MAX_DATA_UPDATE_IDS+'\x20records\x20per\x20call;\x20received\x20'+_0x53a983['length']+'.');return _0x53a983[_0x286b97(0x155)]((_0xad69eb,_0x439b7f)=>parseDataUpdateId(_0xad69eb,Array[_0x286b97(0x169)](_0x3e36f3)?_0x286b97(0x161)+_0x439b7f+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x357d6e,_0x2a494a){const _0x5b352c=a121_0x4d5c;if(Array[_0x5b352c(0x169)](_0x357d6e['id'])&&_0x2a494a[_0x5b352c(0x156)]>0x1)return{..._0x357d6e,'id':_0x2a494a[_0x5b352c(0x154)](',')};return _0x357d6e;}
1
+ (function(_0x1b83ed,_0x3e0d16){const _0x1bb85b=a122_0x3bb8,_0x231517=_0x1b83ed();while(!![]){try{const _0x5e56e5=-parseInt(_0x1bb85b(0x8b))/0x1+parseInt(_0x1bb85b(0x7a))/0x2+-parseInt(_0x1bb85b(0x87))/0x3+-parseInt(_0x1bb85b(0x78))/0x4*(-parseInt(_0x1bb85b(0x8a))/0x5)+parseInt(_0x1bb85b(0x79))/0x6+-parseInt(_0x1bb85b(0x7c))/0x7*(parseInt(_0x1bb85b(0x8d))/0x8)+parseInt(_0x1bb85b(0x90))/0x9*(parseInt(_0x1bb85b(0x86))/0xa);if(_0x5e56e5===_0x3e0d16)break;else _0x231517['push'](_0x231517['shift']());}catch(_0x33dba7){_0x231517['push'](_0x231517['shift']());}}}(a122_0x4a77,0xcd979));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x1d114b){const _0x1603d3=a122_0x3bb8;if(!_0x1d114b)return undefined;try{return parseLosslessJson(_0x1d114b);}catch{throw CliErrors['validation'](_0x1603d3(0x7e)+_0x1d114b);}}export function parseJsonParamsValue(_0x5bd4c5){const _0x59fb0f=a122_0x3bb8;if(!_0x5bd4c5)return undefined;try{return parseLosslessJson(_0x5bd4c5);}catch{throw CliErrors['validation'](_0x59fb0f(0x7e)+_0x5bd4c5);}}function a122_0x4a77(){const _0x5bf28d=['items','8095052anCIdT','id[','Invalid\x20JSON\x20for\x20--params:\x20','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','map','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','\x20records\x20per\x20call;\x20received\x20','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','length','test','1540mtKKvu','1927416cIkSLu','join','validation','65wvGVzd','1651179oaLtWU','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','8eKVyll','string','isArray','10323JfkRpH','object','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','498868ZPeiHO','8829696qpkWsk','2045234yNuHct'];a122_0x4a77=function(){return _0x5bf28d;};return a122_0x4a77();}export function parseBatchCreateItemsFromParams(_0x3ffaac){const _0x7fde7d=a122_0x3bb8;if(Array[_0x7fde7d(0x8f)](_0x3ffaac))return _0x3ffaac;if(_0x3ffaac!==null&&_0x3ffaac!==undefined&&typeof _0x3ffaac===_0x7fde7d(0x91)&&Array[_0x7fde7d(0x8f)](_0x3ffaac[_0x7fde7d(0x7b)]))return _0x3ffaac[_0x7fde7d(0x7b)];throw CliErrors[_0x7fde7d(0x89)](_0x7fde7d(0x7f),'Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27');}function a122_0x3bb8(_0x56a065,_0x298ab6){_0x56a065=_0x56a065-0x77;const _0x4a7778=a122_0x4a77();let _0x3bb80a=_0x4a7778[_0x56a065];return _0x3bb80a;}function parseDataUpdateId(_0x35518d,_0x20a9e9){const _0x4ded3e=a122_0x3bb8;if(typeof _0x35518d==='number'&&Number['isSafeInteger'](_0x35518d)&&_0x35518d>0x0)return _0x35518d;if(typeof _0x35518d===_0x4ded3e(0x8e)){if(/^[1-9]\d*$/[_0x4ded3e(0x85)](_0x35518d))return _0x35518d;}throw CliErrors['validation']('data\x20update\x20--params.'+_0x20a9e9+_0x4ded3e(0x81));}export function parseUpdateIdsFromParams(_0x252e3b){const _0x397cf2=a122_0x3bb8;if(_0x252e3b===null||_0x252e3b===undefined||typeof _0x252e3b!=='object'||Array[_0x397cf2(0x8f)](_0x252e3b))throw CliErrors['validation']('data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x4df69e=_0x252e3b['id'];if(_0x4df69e===undefined||_0x4df69e===null)throw CliErrors['validation'](_0x397cf2(0x77),_0x397cf2(0x8c));const _0x5903c5=Array[_0x397cf2(0x8f)](_0x4df69e)?_0x4df69e:[_0x4df69e];if(_0x5903c5['length']===0x0)throw CliErrors[_0x397cf2(0x89)](_0x397cf2(0x83));if(_0x5903c5[_0x397cf2(0x84)]>MAX_DATA_UPDATE_IDS)throw CliErrors['validation']('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+_0x397cf2(0x82)+_0x5903c5[_0x397cf2(0x84)]+'.');return _0x5903c5[_0x397cf2(0x80)]((_0x3f2138,_0x1daba6)=>parseDataUpdateId(_0x3f2138,Array['isArray'](_0x4df69e)?_0x397cf2(0x7d)+_0x1daba6+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x5f2f15,_0x2a96be){const _0x1b2f16=a122_0x3bb8;if(Array[_0x1b2f16(0x8f)](_0x5f2f15['id'])&&_0x2a96be[_0x1b2f16(0x84)]>0x1)return{..._0x5f2f15,'id':_0x2a96be[_0x1b2f16(0x88)](',')};return _0x5f2f15;}
@@ -1 +1 @@
1
- const a122_0x258dde=a122_0x334c;(function(_0x51a6c5,_0x1390d5){const _0xe9a001=a122_0x334c,_0xa3def0=_0x51a6c5();while(!![]){try{const _0x4ee80d=parseInt(_0xe9a001(0x142))/0x1*(parseInt(_0xe9a001(0x13e))/0x2)+parseInt(_0xe9a001(0x143))/0x3+parseInt(_0xe9a001(0x13c))/0x4+parseInt(_0xe9a001(0x13d))/0x5+parseInt(_0xe9a001(0x141))/0x6*(parseInt(_0xe9a001(0x138))/0x7)+-parseInt(_0xe9a001(0x13f))/0x8*(parseInt(_0xe9a001(0x140))/0x9)+-parseInt(_0xe9a001(0x13a))/0xa;if(_0x4ee80d===_0x1390d5)break;else _0xa3def0['push'](_0xa3def0['shift']());}catch(_0x348e58){_0xa3def0['push'](_0xa3def0['shift']());}}}(a122_0x482e,0x83b49));function a122_0x334c(_0x158d5c,_0x1436fc){_0x158d5c=_0x158d5c-0x137;const _0x482e04=a122_0x482e();let _0x334c3e=_0x482e04[_0x158d5c];return _0x334c3e;}export const isWindows=process[a122_0x258dde(0x137)]===a122_0x258dde(0x13b);function a122_0x482e(){const _0xc3b83b=['15497GNnrzH','314325ZPKuaW','platform','2310hTRgVJ','.cmd','18967860VtABRa','win32','4149788QsXdhA','4567395eNjvJa','122lFYENn','8lNgaww','8569683CdBwLK','7044tigpZx'];a122_0x482e=function(){return _0xc3b83b;};return a122_0x482e();}export function resolveNpmBin(_0x317f73){const _0x539dc4=a122_0x258dde;return isWindows?_0x317f73+_0x539dc4(0x139):_0x317f73;}
1
+ const a123_0x4eea0f=a123_0x2b7c;(function(_0x43e43c,_0x2d4b86){const _0x41e163=a123_0x2b7c,_0xa72cfd=_0x43e43c();while(!![]){try{const _0x34602d=parseInt(_0x41e163(0x19e))/0x1+parseInt(_0x41e163(0x194))/0x2*(-parseInt(_0x41e163(0x19b))/0x3)+parseInt(_0x41e163(0x19c))/0x4*(parseInt(_0x41e163(0x192))/0x5)+-parseInt(_0x41e163(0x190))/0x6*(parseInt(_0x41e163(0x19a))/0x7)+-parseInt(_0x41e163(0x19d))/0x8*(parseInt(_0x41e163(0x191))/0x9)+parseInt(_0x41e163(0x196))/0xa*(-parseInt(_0x41e163(0x193))/0xb)+parseInt(_0x41e163(0x197))/0xc;if(_0x34602d===_0x2d4b86)break;else _0xa72cfd['push'](_0xa72cfd['shift']());}catch(_0x41d619){_0xa72cfd['push'](_0xa72cfd['shift']());}}}(a123_0x2afb,0x220ab));function a123_0x2afb(){const _0x4cf504=['33pcFQqE','25922teOLIV','platform','672590CESKlV','5567424VQlEfl','.cmd','win32','1855637rNtbQA','12GZnfWt','274760hSgwKm','8OSgSTX','16416uywgPB','6wiVUlN','254619iXiiuO','15DTKfqe'];a123_0x2afb=function(){return _0x4cf504;};return a123_0x2afb();}function a123_0x2b7c(_0x4e3ce0,_0x44e3b0){_0x4e3ce0=_0x4e3ce0-0x190;const _0x2afb28=a123_0x2afb();let _0x2b7c4c=_0x2afb28[_0x4e3ce0];return _0x2b7c4c;}export const isWindows=process[a123_0x4eea0f(0x195)]===a123_0x4eea0f(0x199);export function resolveNpmBin(_0x46f6fd){const _0x1605db=a123_0x4eea0f;return isWindows?_0x46f6fd+_0x1605db(0x198):_0x46f6fd;}
@@ -1 +1 @@
1
- (function(_0x4d32e5,_0x5020d9){const _0x5bc890=a123_0x3222,_0x4c0494=_0x4d32e5();while(!![]){try{const _0x47484d=-parseInt(_0x5bc890(0x172))/0x1*(-parseInt(_0x5bc890(0x179))/0x2)+parseInt(_0x5bc890(0x16f))/0x3+-parseInt(_0x5bc890(0x165))/0x4+-parseInt(_0x5bc890(0x169))/0x5+-parseInt(_0x5bc890(0x173))/0x6+parseInt(_0x5bc890(0x177))/0x7+parseInt(_0x5bc890(0x176))/0x8;if(_0x47484d===_0x5020d9)break;else _0x4c0494['push'](_0x4c0494['shift']());}catch(_0x21e076){_0x4c0494['push'](_0x4c0494['shift']());}}}(a123_0x4168,0x3715b));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function parseSemver(_0x45387a){const _0x1155b4=a123_0x3222,_0x53d749=_0x45387a[_0x1155b4(0x17b)]()[_0x1155b4(0x175)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x53d749)return null;return{'major':Number(_0x53d749[0x1]),'minor':Number(_0x53d749[0x2]),'patch':Number(_0x53d749[0x3]),'prerelease':_0x53d749[0x4]};}function compareSemver(_0x2fda94,_0x2bfacb){const _0x30116f=a123_0x3222,_0x3eda58=parseSemver(_0x2fda94),_0x53950a=parseSemver(_0x2bfacb);if(!_0x3eda58||!_0x53950a)throw new Error('Invalid\x20semver');for(const _0x5e2493 of[_0x30116f(0x16d),_0x30116f(0x16e),'patch']){if(_0x3eda58[_0x5e2493]<_0x53950a[_0x5e2493])return-0x1;if(_0x3eda58[_0x5e2493]>_0x53950a[_0x5e2493])return 0x1;}if(!_0x3eda58[_0x30116f(0x164)]&&!_0x53950a[_0x30116f(0x164)])return 0x0;if(!_0x3eda58[_0x30116f(0x164)])return 0x1;if(!_0x53950a[_0x30116f(0x164)])return-0x1;if(_0x3eda58[_0x30116f(0x164)]===_0x53950a[_0x30116f(0x164)])return 0x0;return _0x3eda58['prerelease']<_0x53950a['prerelease']?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x22bbcb=a123_0x3222,_0x4afa85=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x22bbcb(0x17b)]()[_0x22bbcb(0x182)]();return _0x4afa85==='1'||_0x4afa85===_0x22bbcb(0x174)||_0x4afa85==='yes';}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x574bc8=a123_0x3222;return join(cacheRoot(),_0x574bc8(0x162),'update-check.json');}async function readUpdateNoticeCache(){try{const _0x59ba5f=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x4e4ea7=JSON['parse'](_0x59ba5f);if(!_0x4e4ea7||typeof _0x4e4ea7!=='object')return{};return _0x4e4ea7;}catch{return{};}}async function writeUpdateNoticeCache(_0xbd5623){const _0x1e8127=a123_0x3222;try{const _0x5b2e19=getUpdateNoticeCachePath();await mkdir(dirname(_0x5b2e19),{'recursive':!![]}),await writeFile(_0x5b2e19,JSON[_0x1e8127(0x17a)](_0xbd5623,null,0x2)+'\x0a',_0x1e8127(0x17d));}catch{}}function isFreshCheck(_0x26e3f5,_0xdd6711){const _0x1149e0=a123_0x3222;return typeof _0x26e3f5[_0x1149e0(0x180)]===_0x1149e0(0x170)&&_0xdd6711-_0x26e3f5[_0x1149e0(0x180)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x427b7a,_0x64b694,_0x61de7c){const _0xdde763=a123_0x3222;return _0x427b7a[_0xdde763(0x163)]===_0x64b694&&typeof _0x427b7a[_0xdde763(0x171)]==='number'&&_0x61de7c-_0x427b7a[_0xdde763(0x171)]<UPDATE_NOTICE_TTL_MS;}function a123_0x4168(){const _0x2b4185=['\x20update','major','minor','473226rZLHqx','number','lastNotifiedAt','315129bSvxyI','2629230LyaMXN','true','match','3456872mpgBJN','422646BTacSq','/dist-tags','2daYQea','stringify','trim','latest','utf8',',\x20run:\x20','timeout','checkedAt','filter','toLowerCase','lovrabet-cli','lastNotifiedVersion','prerelease','491284CERLsy','now','entries','\x20available,\x20current\x20','893525NaTQjH','string','map'];a123_0x4168=function(){return _0x2b4185;};return a123_0x4168();}function a123_0x3222(_0x3c1463,_0x2a76b6){_0x3c1463=_0x3c1463-0x162;const _0x41688c=a123_0x4168();let _0x322248=_0x41688c[_0x3c1463];return _0x322248;}async function fetchNpmDistTags(_0x36a0ce=0x5dc){const _0x522021=a123_0x3222;try{const _0x35ce26=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x522021(0x178),_0x5a876d=await fetch(_0x35ce26,{'signal':AbortSignal[_0x522021(0x17f)](_0x36a0ce)});if(!_0x5a876d['ok'])return null;const _0x5bcabb=await _0x5a876d['json']();if(!_0x5bcabb||typeof _0x5bcabb!=='object')return null;return Object['fromEntries'](Object[_0x522021(0x167)](_0x5bcabb)[_0x522021(0x181)](([,_0x3708a9])=>typeof _0x3708a9===_0x522021(0x16a)&&_0x3708a9[_0x522021(0x17b)]())[_0x522021(0x16b)](([_0x2962d6,_0x1fc0a5])=>[_0x2962d6,String(_0x1fc0a5)['trim']()]));}catch{return null;}}export function buildNpmVersionUrl(_0xba3c13){return'https://www.npmjs.com/package/'+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0xba3c13;}export async function resolveLatestUpdateNotice(){const _0x3944fa=a123_0x3222;if(isUpdateNoticeDisabled())return null;try{const _0x95db87=Date[_0x3944fa(0x166)](),_0x1f6838=getCliVersion(),_0x56b267=await readUpdateNoticeCache();let _0x1976bc=isFreshCheck(_0x56b267,_0x95db87)?_0x56b267[_0x3944fa(0x17c)]?.[_0x3944fa(0x17b)]():undefined;if(!_0x1976bc&&!isFreshCheck(_0x56b267,_0x95db87)){const _0x1ffdf4=await fetchNpmDistTags();_0x1976bc=_0x1ffdf4?.[_0x3944fa(0x17c)]?.['trim'](),await writeUpdateNoticeCache({..._0x56b267,'checkedAt':_0x95db87,'latest':_0x1976bc,'failed':!_0x1976bc});}if(!_0x1976bc||compareSemver(_0x1f6838,_0x1976bc)>=0x0)return null;if(isRecentlyNotified(_0x56b267,_0x1976bc,_0x95db87))return null;const _0x5f52bf=CLI_BIN_NAME+_0x3944fa(0x16c);return await writeUpdateNoticeCache({..._0x56b267,'checkedAt':isFreshCheck(_0x56b267,_0x95db87)?_0x56b267[_0x3944fa(0x180)]:_0x95db87,'latest':_0x1976bc,'failed':![],'lastNotifiedVersion':_0x1976bc,'lastNotifiedAt':_0x95db87}),{'command':_0x5f52bf,'current':_0x1f6838,'latest':_0x1976bc,'url':buildNpmVersionUrl(_0x1976bc),'message':CLI_BIN_NAME+'\x20'+_0x1976bc+_0x3944fa(0x168)+_0x1f6838+_0x3944fa(0x17e)+_0x5f52bf};}catch{return null;}}
1
+ (function(_0x12e685,_0x3daaa5){const _0x55ec0a=a124_0x2c7b,_0x2ef2fe=_0x12e685();while(!![]){try{const _0x478b29=parseInt(_0x55ec0a(0x165))/0x1+parseInt(_0x55ec0a(0x156))/0x2*(parseInt(_0x55ec0a(0x16a))/0x3)+-parseInt(_0x55ec0a(0x14e))/0x4+parseInt(_0x55ec0a(0x14d))/0x5+-parseInt(_0x55ec0a(0x168))/0x6*(-parseInt(_0x55ec0a(0x147))/0x7)+parseInt(_0x55ec0a(0x15f))/0x8+-parseInt(_0x55ec0a(0x15b))/0x9;if(_0x478b29===_0x3daaa5)break;else _0x2ef2fe['push'](_0x2ef2fe['shift']());}catch(_0x56d6bc){_0x2ef2fe['push'](_0x2ef2fe['shift']());}}}(a124_0x25b6,0x8b7e7));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';function a124_0x25b6(){const _0xc272e2=['3362240peuaeI','3634700DRzrZD','latest','/dist-tags','yes','number','match','/-/package/','minor','906898mUiXJW','\x20available,\x20current\x20','true','prerelease','major','17611074JyIhEk','.cache','timeout','map','8442032eJegJq','lovrabet-cli','json','utf8','Invalid\x20semver','https://www.npmjs.com/package/','890275fiYACD','\x20update','string','1096206LEnYDA','trim','3ANWIyw',',\x20run:\x20','14OryfBc','patch','toLowerCase','checkedAt','lastNotifiedVersion','object'];a124_0x25b6=function(){return _0xc272e2;};return a124_0x25b6();}import{LOVRABET_NPM_PACKAGE_NAME,NPM_REGISTRY_BASE_URL}from'../constant/distribution.js';import{CLI_BIN_NAME}from'../constant/cli.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function a124_0x2c7b(_0x1c783d,_0x1a2fd6){_0x1c783d=_0x1c783d-0x147;const _0x25b65a=a124_0x25b6();let _0x2c7b06=_0x25b65a[_0x1c783d];return _0x2c7b06;}function parseSemver(_0x4608a3){const _0x3df762=a124_0x2c7b,_0x210dc3=_0x4608a3[_0x3df762(0x169)]()[_0x3df762(0x153)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x210dc3)return null;return{'major':Number(_0x210dc3[0x1]),'minor':Number(_0x210dc3[0x2]),'patch':Number(_0x210dc3[0x3]),'prerelease':_0x210dc3[0x4]};}function compareSemver(_0x2f51f0,_0x449ba3){const _0x3f4b2d=a124_0x2c7b,_0x58dacb=parseSemver(_0x2f51f0),_0x2726f6=parseSemver(_0x449ba3);if(!_0x58dacb||!_0x2726f6)throw new Error(_0x3f4b2d(0x163));for(const _0x2b7c72 of[_0x3f4b2d(0x15a),_0x3f4b2d(0x155),_0x3f4b2d(0x148)]){if(_0x58dacb[_0x2b7c72]<_0x2726f6[_0x2b7c72])return-0x1;if(_0x58dacb[_0x2b7c72]>_0x2726f6[_0x2b7c72])return 0x1;}if(!_0x58dacb[_0x3f4b2d(0x159)]&&!_0x2726f6[_0x3f4b2d(0x159)])return 0x0;if(!_0x58dacb['prerelease'])return 0x1;if(!_0x2726f6[_0x3f4b2d(0x159)])return-0x1;if(_0x58dacb[_0x3f4b2d(0x159)]===_0x2726f6['prerelease'])return 0x0;return _0x58dacb[_0x3f4b2d(0x159)]<_0x2726f6[_0x3f4b2d(0x159)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x58409a=a124_0x2c7b,_0x4cf852=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x58409a(0x149)]();return _0x4cf852==='1'||_0x4cf852===_0x58409a(0x158)||_0x4cf852===_0x58409a(0x151);}function cacheRoot(){const _0x53cfb4=a124_0x2c7b;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x53cfb4(0x15c));}export function getUpdateNoticeCachePath(){const _0x2257f6=a124_0x2c7b;return join(cacheRoot(),_0x2257f6(0x160),'update-check.json');}async function readUpdateNoticeCache(){const _0x9533cf=a124_0x2c7b;try{const _0x1ed25f=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x450bbe=JSON['parse'](_0x1ed25f);if(!_0x450bbe||typeof _0x450bbe!==_0x9533cf(0x14c))return{};return _0x450bbe;}catch{return{};}}async function writeUpdateNoticeCache(_0x1c22f7){const _0x539c84=a124_0x2c7b;try{const _0x4c8d0d=getUpdateNoticeCachePath();await mkdir(dirname(_0x4c8d0d),{'recursive':!![]}),await writeFile(_0x4c8d0d,JSON['stringify'](_0x1c22f7,null,0x2)+'\x0a',_0x539c84(0x162));}catch{}}function isFreshCheck(_0x30f5b6,_0x2582aa){const _0x1a85df=a124_0x2c7b;return typeof _0x30f5b6[_0x1a85df(0x14a)]===_0x1a85df(0x152)&&_0x2582aa-_0x30f5b6[_0x1a85df(0x14a)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x2112f7,_0x2da97e,_0x57b5b6){const _0x587e81=a124_0x2c7b;return _0x2112f7[_0x587e81(0x14b)]===_0x2da97e&&typeof _0x2112f7['lastNotifiedAt']===_0x587e81(0x152)&&_0x57b5b6-_0x2112f7['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x8a97ec=0x5dc){const _0x2539a2=a124_0x2c7b;try{const _0x298e83=NPM_REGISTRY_BASE_URL+_0x2539a2(0x154)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x2539a2(0x150),_0x466951=await fetch(_0x298e83,{'signal':AbortSignal[_0x2539a2(0x15d)](_0x8a97ec)});if(!_0x466951['ok'])return null;const _0x23ac96=await _0x466951[_0x2539a2(0x161)]();if(!_0x23ac96||typeof _0x23ac96!==_0x2539a2(0x14c))return null;return Object['fromEntries'](Object['entries'](_0x23ac96)['filter'](([,_0x17388d])=>typeof _0x17388d===_0x2539a2(0x167)&&_0x17388d[_0x2539a2(0x169)]())[_0x2539a2(0x15e)](([_0x13f996,_0x25af40])=>[_0x13f996,String(_0x25af40)[_0x2539a2(0x169)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x419514){const _0x5a230b=a124_0x2c7b;return _0x5a230b(0x164)+LOVRABET_NPM_PACKAGE_NAME+'/v/'+_0x419514;}export async function resolveLatestUpdateNotice(){const _0x5129c4=a124_0x2c7b;if(isUpdateNoticeDisabled())return null;try{const _0x4a5d10=Date['now'](),_0x4d5d38=getCliVersion(),_0x4a14da=await readUpdateNoticeCache();let _0x471f16=isFreshCheck(_0x4a14da,_0x4a5d10)?_0x4a14da[_0x5129c4(0x14f)]?.[_0x5129c4(0x169)]():undefined;if(!_0x471f16&&!isFreshCheck(_0x4a14da,_0x4a5d10)){const _0x2211e8=await fetchNpmDistTags();_0x471f16=_0x2211e8?.[_0x5129c4(0x14f)]?.[_0x5129c4(0x169)](),await writeUpdateNoticeCache({..._0x4a14da,'checkedAt':_0x4a5d10,'latest':_0x471f16,'failed':!_0x471f16});}if(!_0x471f16||compareSemver(_0x4d5d38,_0x471f16)>=0x0)return null;if(isRecentlyNotified(_0x4a14da,_0x471f16,_0x4a5d10))return null;const _0x49b426=CLI_BIN_NAME+_0x5129c4(0x166);return await writeUpdateNoticeCache({..._0x4a14da,'checkedAt':isFreshCheck(_0x4a14da,_0x4a5d10)?_0x4a14da['checkedAt']:_0x4a5d10,'latest':_0x471f16,'failed':![],'lastNotifiedVersion':_0x471f16,'lastNotifiedAt':_0x4a5d10}),{'command':_0x49b426,'current':_0x4d5d38,'latest':_0x471f16,'url':buildNpmVersionUrl(_0x471f16),'message':CLI_BIN_NAME+'\x20'+_0x471f16+_0x5129c4(0x157)+_0x4d5d38+_0x5129c4(0x16b)+_0x49b426};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x5567e0,_0x40109b){const _0x4ec427=a124_0x3d8e,_0x18a45a=_0x5567e0();while(!![]){try{const _0x17b115=parseInt(_0x4ec427(0x1e5))/0x1*(parseInt(_0x4ec427(0x1e1))/0x2)+parseInt(_0x4ec427(0x1dd))/0x3+parseInt(_0x4ec427(0x1e2))/0x4+-parseInt(_0x4ec427(0x1e4))/0x5+-parseInt(_0x4ec427(0x1e3))/0x6+parseInt(_0x4ec427(0x1df))/0x7+parseInt(_0x4ec427(0x1dc))/0x8*(-parseInt(_0x4ec427(0x1de))/0x9);if(_0x17b115===_0x40109b)break;else _0x18a45a['push'](_0x18a45a['shift']());}catch(_0x576e02){_0x18a45a['push'](_0x18a45a['shift']());}}}(a124_0x52c7,0x59adf));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a124_0x3d8e(_0x1aebcf,_0x5518da){_0x1aebcf=_0x1aebcf-0x1dc;const _0x52c793=a124_0x52c7();let _0x3d8e31=_0x52c793[_0x1aebcf];return _0x3d8e31;}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0xe3055f=a124_0x3d8e,_0x2ccb49=String(GIT_COMMIT);return _0x2ccb49&&_0x2ccb49!==_0xe3055f(0x1e6)?_0x2ccb49:'';}export function getCliVersionDisplay(){const _0x5c71a3=a124_0x3d8e,_0x45e5bf=getCliGitCommit(),_0x348834=BUILD_TIME[_0x5c71a3(0x1e0)](0x0,0xa);if(!_0x45e5bf||!_0x348834)return VERSION;return VERSION+'\x20('+_0x45e5bf+',\x20'+_0x348834+')';}function a124_0x52c7(){const _0x3a658b=['7378sZUKdE','2470452rhxoWp','1012752NtmtlX','3515000vIBJwO','139yEuXxz','unknown','712uCZtrS','1703424bQZdru','74313eKpaLj','1930600fXForK','slice'];a124_0x52c7=function(){return _0x3a658b;};return a124_0x52c7();}
1
+ (function(_0x407aab,_0x2355c2){const _0x3f61f4=a125_0x3d50,_0x1c3904=_0x407aab();while(!![]){try{const _0xf227ff=-parseInt(_0x3f61f4(0x1c6))/0x1*(parseInt(_0x3f61f4(0x1c8))/0x2)+-parseInt(_0x3f61f4(0x1c9))/0x3+-parseInt(_0x3f61f4(0x1c7))/0x4+parseInt(_0x3f61f4(0x1c3))/0x5*(parseInt(_0x3f61f4(0x1c4))/0x6)+parseInt(_0x3f61f4(0x1cd))/0x7*(parseInt(_0x3f61f4(0x1cc))/0x8)+-parseInt(_0x3f61f4(0x1cb))/0x9*(-parseInt(_0x3f61f4(0x1ca))/0xa)+parseInt(_0x3f61f4(0x1c5))/0xb*(parseInt(_0x3f61f4(0x1ce))/0xc);if(_0xf227ff===_0x2355c2)break;else _0x1c3904['push'](_0x1c3904['shift']());}catch(_0x3fc2da){_0x1c3904['push'](_0x1c3904['shift']());}}}(a125_0x3633,0xa4f14));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a125_0x3d50(_0x43dfb3,_0x3f1df6){_0x43dfb3=_0x43dfb3-0x1c2;const _0x363300=a125_0x3633();let _0x3d5014=_0x363300[_0x43dfb3];return _0x3d5014;}export function getCliGitCommit(){const _0x109934=a125_0x3d50,_0x585603=String(GIT_COMMIT);return _0x585603&&_0x585603!==_0x109934(0x1c2)?_0x585603:'';}function a125_0x3633(){const _0x53da2e=['slice','unknown','55NVbIcy','184308ZlhgSj','9072503CtHVDB','1eZmwLw','2888360JoVvpQ','755996mGCHzJ','3863853ROAEUG','1152010ZAnuWS','45zEiJDC','8wiyIfK','9274769QBnHJA','12OorLYT'];a125_0x3633=function(){return _0x53da2e;};return a125_0x3633();}export function getCliVersionDisplay(){const _0x2a90ac=a125_0x3d50,_0xdfd710=getCliGitCommit(),_0x2f77ea=BUILD_TIME[_0x2a90ac(0x1cf)](0x0,0xa);if(!_0xdfd710||!_0x2f77ea)return VERSION;return VERSION+'\x20('+_0xdfd710+',\x20'+_0x2f77ea+')';}
@@ -1 +1 @@
1
- function a125_0x4faf(){var _0x2f4b76=['119383VRvYgl','500qkByHJ','42YlQGUA','stderr','1073330PPrAcx','3274pLGZiE','write','217beeryg','11218239hZNnOF','1500820gWrfdS','4111953RUdqxU','45912hLMADC','602npwaGL'];a125_0x4faf=function(){return _0x2f4b76;};return a125_0x4faf();}function a125_0xee54(_0x296002,_0x1051b2){_0x296002=_0x296002-0x1e8;var _0x4faf8f=a125_0x4faf();var _0xee54fa=_0x4faf8f[_0x296002];return _0xee54fa;}(function(_0x33194f,_0x350d14){var _0x107823=a125_0xee54,_0x2185aa=_0x33194f();while(!![]){try{var _0x249c77=parseInt(_0x107823(0x1ed))/0x1*(-parseInt(_0x107823(0x1f4))/0x2)+parseInt(_0x107823(0x1f2))/0x3+parseInt(_0x107823(0x1f1))/0x4+parseInt(_0x107823(0x1ec))/0x5*(-parseInt(_0x107823(0x1ea))/0x6)+-parseInt(_0x107823(0x1ef))/0x7*(parseInt(_0x107823(0x1f3))/0x8)+parseInt(_0x107823(0x1f0))/0x9+parseInt(_0x107823(0x1e9))/0xa*(parseInt(_0x107823(0x1e8))/0xb);if(_0x249c77===_0x350d14)break;else _0x2185aa['push'](_0x2185aa['shift']());}catch(_0x2881dd){_0x2185aa['push'](_0x2185aa['shift']());}}}(a125_0x4faf,0xd4244));export function writeCliSideChannelLine(_0x39108a){var _0x5d1f07=a125_0xee54;process[_0x5d1f07(0x1eb)][_0x5d1f07(0x1ee)](_0x39108a+'\x0a');}
1
+ function a126_0x1fb6(_0x2b365d,_0x2a7f80){_0x2b365d=_0x2b365d-0x73;var _0x2c2ead=a126_0x2c2e();var _0x1fb671=_0x2c2ead[_0x2b365d];return _0x1fb671;}(function(_0x44f032,_0x5d7765){var _0x3965fe=a126_0x1fb6,_0x3e198d=_0x44f032();while(!![]){try{var _0xac1836=parseInt(_0x3965fe(0x7b))/0x1+parseInt(_0x3965fe(0x7c))/0x2+parseInt(_0x3965fe(0x74))/0x3+parseInt(_0x3965fe(0x73))/0x4*(-parseInt(_0x3965fe(0x75))/0x5)+parseInt(_0x3965fe(0x7d))/0x6*(-parseInt(_0x3965fe(0x79))/0x7)+-parseInt(_0x3965fe(0x7a))/0x8+-parseInt(_0x3965fe(0x76))/0x9;if(_0xac1836===_0x5d7765)break;else _0x3e198d['push'](_0x3e198d['shift']());}catch(_0x11af55){_0x3e198d['push'](_0x3e198d['shift']());}}}(a126_0x2c2e,0x64ad7));function a126_0x2c2e(){var _0x54617d=['7vqDEQF','3184176XYElYL','225835JaMgUa','606004fnOEfw','595740Gavxej','752kIRPqL','1968762LVzcsC','2985kzvnrU','1468512TJZGTL','write','stderr'];a126_0x2c2e=function(){return _0x54617d;};return a126_0x2c2e();}export function writeCliSideChannelLine(_0x2aed4e){var _0x2cecf0=a126_0x1fb6;process[_0x2cecf0(0x78)][_0x2cecf0(0x77)](_0x2aed4e+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.18",
3
+ "version": "2.1.19-beta.1",
4
4
  "description": "Runtime CLI for Lovrabet apps, datasets, SQL, BFF, skills, and AI agent workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [