@lovrabet/lovrabet-cli 2.1.21-beta.1 → 2.1.21

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 (128) 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/raw-flags.js +1 -1
  90. package/lib/framework/response.js +1 -1
  91. package/lib/framework/runner-confirmation.js +1 -1
  92. package/lib/framework/runner-error.js +1 -1
  93. package/lib/framework/runner.js +1 -1
  94. package/lib/framework/schema-export.js +1 -1
  95. package/lib/framework/service-order.js +1 -1
  96. package/lib/framework/types.js +1 -1
  97. package/lib/generated/build-info.d.ts +4 -4
  98. package/lib/generated/build-info.js +1 -1
  99. package/lib/help.js +1 -1
  100. package/lib/runtime/event.js +1 -1
  101. package/lib/runtime/index.js +1 -1
  102. package/lib/runtime/queue.js +1 -1
  103. package/lib/runtime/resolve.js +1 -1
  104. package/lib/skills/npx-skills-add.js +1 -1
  105. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  106. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  107. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  108. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  109. package/lib/skills/runtime-skill-sync/links.js +1 -1
  110. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  111. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  112. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  113. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  114. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  115. package/lib/skills/runtime-skill-sync/push.js +1 -1
  116. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  117. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  118. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  119. package/lib/skills/runtime-skill-sync.js +1 -1
  120. package/lib/utils/apply-jq-filter.js +1 -1
  121. package/lib/utils/logger.js +1 -1
  122. package/lib/utils/lossless-json.js +1 -1
  123. package/lib/utils/params.js +1 -1
  124. package/lib/utils/platform.js +1 -1
  125. package/lib/utils/update-notice.js +1 -1
  126. package/lib/utils/version.js +1 -1
  127. package/lib/utils/write-cli-side-channel.js +1 -1
  128. package/package.json +1 -1
@@ -1 +1 @@
1
- const a121_0xeaeca1=a121_0x256a;function a121_0x6cae(){const _0x9a92a0=['71052sebWqx','filter','split','red','1106832yNUCBs','Failed\x20to\x20read\x20logs:','winstonLogger','clearLogs','rawCommand','initWinstonLogger','details','transports','4542sJdjBp','timestamp','getWinstonInstance','logTask','30825dsgabj','stringify','readFileSync','1145syTDYm','2RZIWAJ','toISOString','join','logFilePath','utf8','File','existsSync','317898iadtNf','combine','info','setLogPath','blue','now','yellow','clear','addColors','message','logFileName','192202LxuPyS','currentRawCommand','unknown','level','154Ezayiz','errors','format','createLogger','424ixkdNY','error','859320IrIAyj','4BHTOSh','writeFileSync'];a121_0x6cae=function(){return _0x9a92a0;};return a121_0x6cae();}(function(_0x1b8ec0,_0x18a864){const _0x23dab4=a121_0x256a,_0x140103=_0x1b8ec0();while(!![]){try{const _0x244c94=-parseInt(_0x23dab4(0x6c))/0x1*(parseInt(_0x23dab4(0x8d))/0x2)+parseInt(_0x23dab4(0x7d))/0x3*(parseInt(_0x23dab4(0x77))/0x4)+parseInt(_0x23dab4(0x8c))/0x5*(parseInt(_0x23dab4(0x85))/0x6)+parseInt(_0x23dab4(0x94))/0x7+parseInt(_0x23dab4(0x74))/0x8*(-parseInt(_0x23dab4(0x89))/0x9)+parseInt(_0x23dab4(0x76))/0xa+parseInt(_0x23dab4(0x70))/0xb*(-parseInt(_0x23dab4(0x79))/0xc);if(_0x244c94===_0x18a864)break;else _0x140103['push'](_0x140103['shift']());}catch(_0xf098a){_0x140103['push'](_0x140103['shift']());}}}(a121_0x6cae,0x34fbe));function a121_0x256a(_0x181ca3,_0x26309c){_0x181ca3=_0x181ca3-0x68;const _0x6cae52=a121_0x6cae();let _0x256ac4=_0x6cae52[_0x181ca3];return _0x256ac4;}import a121_0x4665e8 from'winston';import a121_0x149b1a from'node:fs';import a121_0x18e70f from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a121_0xeaeca1(0x7f)];[a121_0xeaeca1(0x90)]='';[a121_0xeaeca1(0x6d)]='';constructor(){}['setRawCommand'](_0x19201c){const _0x5320ee=a121_0xeaeca1;this[_0x5320ee(0x6d)]=_0x19201c;}[a121_0xeaeca1(0x97)](_0x407cc9){const _0x19007a=a121_0xeaeca1;this[_0x19007a(0x90)]=a121_0x18e70f[_0x19007a(0x8f)](_0x407cc9,PRODUCT_CONFIG[_0x19007a(0x6b)]),this['winstonLogger']&&this[_0x19007a(0x7f)][_0x19007a(0x68)](),this[_0x19007a(0x82)]();}['initWinstonLogger'](){const _0x3e5967=a121_0xeaeca1,_0x3ff5cd=a121_0x18e70f['dirname'](this[_0x3e5967(0x90)]);!a121_0x149b1a[_0x3e5967(0x93)](_0x3ff5cd)&&a121_0x149b1a['mkdirSync'](_0x3ff5cd,{'recursive':!![]});const _0x1fb61f=a121_0x4665e8[_0x3e5967(0x72)][_0x3e5967(0x95)](a121_0x4665e8['format'][_0x3e5967(0x86)](),a121_0x4665e8[_0x3e5967(0x72)][_0x3e5967(0x71)]({'stack':!![]}),a121_0x4665e8[_0x3e5967(0x72)]['printf'](_0x5d8608=>{const _0x2c1cc0=_0x3e5967,_0x1f9645={'timestamp':_0x5d8608[_0x2c1cc0(0x86)]||new Date()[_0x2c1cc0(0x8e)](),'level':_0x5d8608[_0x2c1cc0(0x6f)]||_0x2c1cc0(0x96),'command':_0x5d8608['command']||_0x2c1cc0(0x6e),'rawCommand':_0x5d8608[_0x2c1cc0(0x81)]||this[_0x2c1cc0(0x6d)]||undefined,'message':_0x5d8608[_0x2c1cc0(0x6a)]||'','duration':_0x5d8608['duration']||undefined,'details':_0x5d8608[_0x2c1cc0(0x83)]||undefined};return JSON[_0x2c1cc0(0x8a)](_0x1f9645);}));this[_0x3e5967(0x7f)]=a121_0x4665e8[_0x3e5967(0x73)]({'level':'info','format':_0x1fb61f,'transports':[new a121_0x4665e8[(_0x3e5967(0x84))][(_0x3e5967(0x92))]({'filename':this['logFilePath'],'level':_0x3e5967(0x96)})],'silent':![]}),a121_0x4665e8[_0x3e5967(0x69)]({'success':'green','error':_0x3e5967(0x7c),'warn':_0x3e5967(0x9a),'info':_0x3e5967(0x98)});}[a121_0xeaeca1(0x96)](_0x235ff6,_0xfc75ec,_0xed2eff){const _0x530675=a121_0xeaeca1;if(!this[_0x530675(0x90)]||!this[_0x530675(0x7f)])return;this[_0x530675(0x7f)][_0x530675(0x96)](_0xfc75ec,{'command':_0x235ff6,'details':_0xed2eff});}['success'](_0x12b397,_0x2eb200,_0x3cc8ea,_0x358e56){const _0x412071=a121_0xeaeca1;if(!this[_0x412071(0x90)]||!this[_0x412071(0x7f)])return;this['winstonLogger']['log']('info',_0x2eb200,{'level':'success','command':_0x12b397,'duration':_0x3cc8ea,'details':_0x358e56});}[a121_0xeaeca1(0x75)](_0x42ee4e,_0x451bf3,_0x256c0b){const _0x561a70=a121_0xeaeca1;if(!this[_0x561a70(0x90)]||!this['winstonLogger'])return;this[_0x561a70(0x7f)][_0x561a70(0x75)](_0x451bf3,{'command':_0x42ee4e,'details':_0x256c0b});}['warn'](_0x480c84,_0x10443e,_0x54f97c){const _0x158e7f=a121_0xeaeca1;if(!this[_0x158e7f(0x90)]||!this[_0x158e7f(0x7f)])return;this['winstonLogger']['warn'](_0x10443e,{'command':_0x480c84,'details':_0x54f97c});}async[a121_0xeaeca1(0x88)](_0x4f2513,_0x3e3fb1,_0xe50584){const _0x25c425=a121_0xeaeca1,_0x81b52=Date['now']();this['info'](_0x4f2513,'Starting:\x20'+_0x3e3fb1);try{const _0x12b8a9=await _0xe50584(),_0x257fbf=Date[_0x25c425(0x99)]()-_0x81b52;return this['success'](_0x4f2513,'Completed:\x20'+_0x3e3fb1,_0x257fbf),_0x12b8a9;}catch(_0x33ba61){const _0x45a4df=Date['now']()-_0x81b52;this['error'](_0x4f2513,'Failed:\x20'+_0x3e3fb1,{'error':_0x33ba61 instanceof Error?_0x33ba61['message']:String(_0x33ba61),'duration':_0x45a4df});throw _0x33ba61;}}['readLogs'](){const _0x1d3088=a121_0xeaeca1;try{if(!a121_0x149b1a[_0x1d3088(0x93)](this['logFilePath']))return[];const _0x20512b=a121_0x149b1a[_0x1d3088(0x8b)](this[_0x1d3088(0x90)],_0x1d3088(0x91));return _0x20512b[_0x1d3088(0x7b)](/\r?\n/)[_0x1d3088(0x7a)](_0x49c4ff=>_0x49c4ff['trim']())['map'](_0x2f4872=>JSON['parse'](_0x2f4872));}catch(_0x505a1c){return console['warn'](_0x1d3088(0x7e),_0x505a1c),[];}}[a121_0xeaeca1(0x80)](){const _0x35f5e6=a121_0xeaeca1;try{a121_0x149b1a[_0x35f5e6(0x93)](this[_0x35f5e6(0x90)])&&a121_0x149b1a[_0x35f5e6(0x78)](this['logFilePath'],'','utf8');}catch(_0x51d984){console['warn']('Failed\x20to\x20clear\x20logs:',_0x51d984);}}[a121_0xeaeca1(0x87)](){const _0xb9b9a9=a121_0xeaeca1;return this[_0xb9b9a9(0x7f)];}}export const logger=new Logger();
1
+ function a121_0x5c28(_0xd376b7,_0x3c79cd){_0xd376b7=_0xd376b7-0xd9;const _0x139514=a121_0x1395();let _0x5c28e5=_0x139514[_0xd376b7];return _0x5c28e5;}const a121_0x1bb5cc=a121_0x5c28;(function(_0x185774,_0xfaaad4){const _0x3d02bc=a121_0x5c28,_0x31d47e=_0x185774();while(!![]){try{const _0x50e5ed=parseInt(_0x3d02bc(0x107))/0x1*(parseInt(_0x3d02bc(0x103))/0x2)+-parseInt(_0x3d02bc(0xe9))/0x3+parseInt(_0x3d02bc(0x108))/0x4*(parseInt(_0x3d02bc(0xda))/0x5)+-parseInt(_0x3d02bc(0x104))/0x6+-parseInt(_0x3d02bc(0x10a))/0x7+parseInt(_0x3d02bc(0x113))/0x8*(-parseInt(_0x3d02bc(0xfb))/0x9)+parseInt(_0x3d02bc(0xed))/0xa*(parseInt(_0x3d02bc(0x109))/0xb);if(_0x50e5ed===_0xfaaad4)break;else _0x31d47e['push'](_0x31d47e['shift']());}catch(_0x3ce662){_0x31d47e['push'](_0x31d47e['shift']());}}}(a121_0x1395,0x80830));function a121_0x1395(){const _0x50a941=['utf8','duration','setLogPath','transports','success','Failed\x20to\x20clear\x20logs:','red','3759111NDoehF','createLogger','warn','readLogs','blue','level','getWinstonInstance','format','2cRWjNk','4199106hWkebo','unknown','printf','807935DKpiEg','26356ZkVNha','276221QAnLrj','1639288Pfskye','error','Starting:\x20','dirname','existsSync','details','logTask','addColors','now','8puFsUB','Failed\x20to\x20read\x20logs:','265wGlrrJ','currentRawCommand','setRawCommand','timestamp','split','info','stringify','join','writeFileSync','logFilePath','mkdirSync','initWinstonLogger','winstonLogger','toISOString','log','2432475UkpKdY','logFileName','filter','errors','610vjFthV','File','combine','trim','message','map','command'];a121_0x1395=function(){return _0x50a941;};return a121_0x1395();}import a121_0x2fe013 from'winston';import a121_0x708bab from'node:fs';import a121_0x571906 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a121_0x1bb5cc(0xe6)];[a121_0x1bb5cc(0xe3)]='';[a121_0x1bb5cc(0xdb)]='';constructor(){}[a121_0x1bb5cc(0xdc)](_0x53a636){this['currentRawCommand']=_0x53a636;}[a121_0x1bb5cc(0xf6)](_0x435ec7){const _0xc8158c=a121_0x1bb5cc;this[_0xc8158c(0xe3)]=a121_0x571906[_0xc8158c(0xe1)](_0x435ec7,PRODUCT_CONFIG[_0xc8158c(0xea)]),this[_0xc8158c(0xe6)]&&this[_0xc8158c(0xe6)]['clear'](),this[_0xc8158c(0xe5)]();}[a121_0x1bb5cc(0xe5)](){const _0x12e26d=a121_0x1bb5cc,_0x371d21=a121_0x571906[_0x12e26d(0x10d)](this['logFilePath']);!a121_0x708bab[_0x12e26d(0x10e)](_0x371d21)&&a121_0x708bab[_0x12e26d(0xe4)](_0x371d21,{'recursive':!![]});const _0x40b235=a121_0x2fe013[_0x12e26d(0x102)][_0x12e26d(0xef)](a121_0x2fe013[_0x12e26d(0x102)]['timestamp'](),a121_0x2fe013[_0x12e26d(0x102)][_0x12e26d(0xec)]({'stack':!![]}),a121_0x2fe013[_0x12e26d(0x102)][_0x12e26d(0x106)](_0x577dc0=>{const _0x6f5f99=_0x12e26d,_0x5e73c3={'timestamp':_0x577dc0[_0x6f5f99(0xdd)]||new Date()[_0x6f5f99(0xe7)](),'level':_0x577dc0[_0x6f5f99(0x100)]||_0x6f5f99(0xdf),'command':_0x577dc0[_0x6f5f99(0xf3)]||_0x6f5f99(0x105),'rawCommand':_0x577dc0['rawCommand']||this[_0x6f5f99(0xdb)]||undefined,'message':_0x577dc0[_0x6f5f99(0xf1)]||'','duration':_0x577dc0[_0x6f5f99(0xf5)]||undefined,'details':_0x577dc0[_0x6f5f99(0x10f)]||undefined};return JSON[_0x6f5f99(0xe0)](_0x5e73c3);}));this[_0x12e26d(0xe6)]=a121_0x2fe013[_0x12e26d(0xfc)]({'level':_0x12e26d(0xdf),'format':_0x40b235,'transports':[new a121_0x2fe013[(_0x12e26d(0xf7))][(_0x12e26d(0xee))]({'filename':this[_0x12e26d(0xe3)],'level':_0x12e26d(0xdf)})],'silent':![]}),a121_0x2fe013[_0x12e26d(0x111)]({'success':'green','error':_0x12e26d(0xfa),'warn':'yellow','info':_0x12e26d(0xff)});}['info'](_0x16b1f2,_0x4f8203,_0x69bbc6){const _0x4e0749=a121_0x1bb5cc;if(!this['logFilePath']||!this[_0x4e0749(0xe6)])return;this[_0x4e0749(0xe6)][_0x4e0749(0xdf)](_0x4f8203,{'command':_0x16b1f2,'details':_0x69bbc6});}['success'](_0x3bdcc7,_0x553fc5,_0x29f65e,_0x1e6d61){const _0x5070da=a121_0x1bb5cc;if(!this[_0x5070da(0xe3)]||!this[_0x5070da(0xe6)])return;this[_0x5070da(0xe6)][_0x5070da(0xe8)]('info',_0x553fc5,{'level':_0x5070da(0xf8),'command':_0x3bdcc7,'duration':_0x29f65e,'details':_0x1e6d61});}[a121_0x1bb5cc(0x10b)](_0x17cebb,_0x4571a6,_0x1cfb3b){const _0x5bfbee=a121_0x1bb5cc;if(!this[_0x5bfbee(0xe3)]||!this[_0x5bfbee(0xe6)])return;this[_0x5bfbee(0xe6)][_0x5bfbee(0x10b)](_0x4571a6,{'command':_0x17cebb,'details':_0x1cfb3b});}[a121_0x1bb5cc(0xfd)](_0x12b98d,_0xaf01d1,_0xfbb3ae){const _0x5a4b61=a121_0x1bb5cc;if(!this[_0x5a4b61(0xe3)]||!this['winstonLogger'])return;this[_0x5a4b61(0xe6)][_0x5a4b61(0xfd)](_0xaf01d1,{'command':_0x12b98d,'details':_0xfbb3ae});}async[a121_0x1bb5cc(0x110)](_0x5465ab,_0x2aad4b,_0x39b71a){const _0x45cade=a121_0x1bb5cc,_0x1d9905=Date[_0x45cade(0x112)]();this[_0x45cade(0xdf)](_0x5465ab,_0x45cade(0x10c)+_0x2aad4b);try{const _0x422ffc=await _0x39b71a(),_0x3aeb6a=Date[_0x45cade(0x112)]()-_0x1d9905;return this['success'](_0x5465ab,'Completed:\x20'+_0x2aad4b,_0x3aeb6a),_0x422ffc;}catch(_0x5af4f3){const _0x1e0c88=Date['now']()-_0x1d9905;this['error'](_0x5465ab,'Failed:\x20'+_0x2aad4b,{'error':_0x5af4f3 instanceof Error?_0x5af4f3[_0x45cade(0xf1)]:String(_0x5af4f3),'duration':_0x1e0c88});throw _0x5af4f3;}}[a121_0x1bb5cc(0xfe)](){const _0x3bd448=a121_0x1bb5cc;try{if(!a121_0x708bab[_0x3bd448(0x10e)](this[_0x3bd448(0xe3)]))return[];const _0x17f786=a121_0x708bab['readFileSync'](this[_0x3bd448(0xe3)],'utf8');return _0x17f786[_0x3bd448(0xde)](/\r?\n/)[_0x3bd448(0xeb)](_0x90e64a=>_0x90e64a[_0x3bd448(0xf0)]())[_0x3bd448(0xf2)](_0x3ce236=>JSON['parse'](_0x3ce236));}catch(_0x3e1401){return console['warn'](_0x3bd448(0xd9),_0x3e1401),[];}}['clearLogs'](){const _0x45d54b=a121_0x1bb5cc;try{a121_0x708bab['existsSync'](this['logFilePath'])&&a121_0x708bab[_0x45d54b(0xe2)](this['logFilePath'],'',_0x45d54b(0xf4));}catch(_0x4f6e73){console['warn'](_0x45d54b(0xf9),_0x4f6e73);}}[a121_0x1bb5cc(0x101)](){const _0x575bfa=a121_0x1bb5cc;return this[_0x575bfa(0xe6)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a122_0x4682(){const _0x231645=['67768Jhhnwm','json','3AYpmTf','length','slice','2806160LVzgzY','getOwnPropertyDescriptor','includes','6741036dlftRj','3056932ZoUNtv','defineProperty','prototype','6VERMIZ','exec','7554715sPihCb','34096590xnGqOj','1121353xyUVds','1183RuPZPf','text'];a122_0x4682=function(){return _0x231645;};return a122_0x4682();}(function(_0x264f19,_0x5aa851){const _0x7d5632=a122_0x4f71,_0x3f6586=_0x264f19();while(!![]){try{const _0x7f6de2=-parseInt(_0x7d5632(0x92))/0x1+parseInt(_0x7d5632(0x9a))/0x2+-parseInt(_0x7d5632(0x97))/0x3*(-parseInt(_0x7d5632(0x9e))/0x4)+-parseInt(_0x7d5632(0x90))/0x5*(parseInt(_0x7d5632(0x8e))/0x6)+-parseInt(_0x7d5632(0x93))/0x7*(parseInt(_0x7d5632(0x95))/0x8)+-parseInt(_0x7d5632(0x9d))/0x9+parseInt(_0x7d5632(0x91))/0xa;if(_0x7f6de2===_0x5aa851)break;else _0x3f6586['push'](_0x3f6586['shift']());}catch(_0x4d6336){_0x3f6586['push'](_0x3f6586['shift']());}}}(a122_0x4682,0xba8a9));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number['MAX_SAFE_INTEGER']),MIN_SAFE_INTEGER=BigInt(Number['MIN_SAFE_INTEGER']);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x1da761){const _0x22728b=a122_0x4f71;if(_0x1da761[_0x22728b(0x9c)]('.')||_0x1da761[_0x22728b(0x9c)]('e')||_0x1da761[_0x22728b(0x9c)]('E'))return![];const _0x12e960=BigInt(_0x1da761);return _0x12e960>MAX_SAFE_INTEGER||_0x12e960<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x505ef9){const _0x162fba=a122_0x4f71;let _0x9a1d88='',_0x1e954a=![],_0x32bf73=![];for(let _0x359cff=0x0;_0x359cff<_0x505ef9[_0x162fba(0x98)];){const _0x336bde=_0x505ef9[_0x359cff];if(_0x1e954a){_0x9a1d88+=_0x336bde,_0x359cff+=0x1;if(_0x32bf73)_0x32bf73=![];else{if(_0x336bde==='\x5c')_0x32bf73=!![];else _0x336bde==='\x22'&&(_0x1e954a=![]);}continue;}if(_0x336bde==='\x22'){_0x1e954a=!![],_0x9a1d88+=_0x336bde,_0x359cff+=0x1;continue;}if(_0x336bde==='-'||_0x336bde>='0'&&_0x336bde<='9'){const _0x5e78d5=JSON_NUMBER_PATTERN[_0x162fba(0x8f)](_0x505ef9[_0x162fba(0x99)](_0x359cff))?.[0x0];if(_0x5e78d5){_0x9a1d88+=isUnsafeIntegerLiteral(_0x5e78d5)?'\x22'+_0x5e78d5+'\x22':_0x5e78d5,_0x359cff+=_0x5e78d5[_0x162fba(0x98)];continue;}}_0x9a1d88+=_0x336bde,_0x359cff+=0x1;}return _0x9a1d88;}export function parseLosslessJson(_0x9b80ed){return JSON['parse'](quoteUnsafeIntegerLiterals(_0x9b80ed));}export function installLosslessJsonResponseParser(){const _0x5c5cc2=a122_0x4f71;if(typeof Response==='undefined')return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x5c5cc2(0x8d)],originalResponseJsonDescriptor=Object[_0x5c5cc2(0x9b)](responseJsonPrototype,_0x5c5cc2(0x96)),Object['defineProperty'](responseJsonPrototype,_0x5c5cc2(0x96),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x5ce8d5(){const _0x42e33a=_0x5c5cc2;return parseLosslessJson(await this[_0x42e33a(0x94)]());}}),restoreResponseJsonParser=()=>{const _0x495727=_0x5c5cc2;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x495727(0x9f)](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype[_0x495727(0x96)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}function a122_0x4f71(_0xef378c,_0x1f2615){_0xef378c=_0xef378c-0x8d;const _0x4682ac=a122_0x4682();let _0x4f7199=_0x4682ac[_0xef378c];return _0x4f7199;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ function a122_0x10d4(){const _0x1e1e1f=['MIN_SAFE_INTEGER','30008PJDNyi','285DJMBeQ','includes','length','253hkYMqI','defineProperty','3413856QwUDHm','exec','24fLOuGT','946513ImeXjS','text','parse','1197552cKHubV','prototype','2yVSfWd','MAX_SAFE_INTEGER','undefined','14KSGiGL','9453339ePqKPX','json','801385zSsyCJ','38230zziLlH','slice'];a122_0x10d4=function(){return _0x1e1e1f;};return a122_0x10d4();}const a122_0xb1e0f8=a122_0x5c66;(function(_0x1511d5,_0x53e112){const _0x5932ea=a122_0x5c66,_0xeec71c=_0x1511d5();while(!![]){try{const _0x4c3c44=parseInt(_0x5932ea(0x7f))/0x1*(-parseInt(_0x5932ea(0x84))/0x2)+parseInt(_0x5932ea(0x77))/0x3*(parseInt(_0x5932ea(0x76))/0x4)+-parseInt(_0x5932ea(0x72))/0x5*(-parseInt(_0x5932ea(0x7e))/0x6)+parseInt(_0x5932ea(0x6f))/0x7*(-parseInt(_0x5932ea(0x7c))/0x8)+parseInt(_0x5932ea(0x70))/0x9+-parseInt(_0x5932ea(0x73))/0xa*(-parseInt(_0x5932ea(0x7a))/0xb)+-parseInt(_0x5932ea(0x82))/0xc;if(_0x4c3c44===_0x53e112)break;else _0xeec71c['push'](_0xeec71c['shift']());}catch(_0x2a5749){_0xeec71c['push'](_0xeec71c['shift']());}}}(a122_0x10d4,0x909c5));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number[a122_0xb1e0f8(0x85)]),MIN_SAFE_INTEGER=BigInt(Number[a122_0xb1e0f8(0x75)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x4cf5d8){const _0x5c3699=a122_0xb1e0f8;if(_0x4cf5d8[_0x5c3699(0x78)]('.')||_0x4cf5d8[_0x5c3699(0x78)]('e')||_0x4cf5d8[_0x5c3699(0x78)]('E'))return![];const _0x53e040=BigInt(_0x4cf5d8);return _0x53e040>MAX_SAFE_INTEGER||_0x53e040<MIN_SAFE_INTEGER;}function a122_0x5c66(_0x529ea8,_0x27ee40){_0x529ea8=_0x529ea8-0x6f;const _0x10d4d5=a122_0x10d4();let _0x5c668a=_0x10d4d5[_0x529ea8];return _0x5c668a;}function quoteUnsafeIntegerLiterals(_0x5c2910){const _0x541743=a122_0xb1e0f8;let _0x19a82f='',_0x2a1da2=![],_0x35831b=![];for(let _0x411f33=0x0;_0x411f33<_0x5c2910[_0x541743(0x79)];){const _0x599499=_0x5c2910[_0x411f33];if(_0x2a1da2){_0x19a82f+=_0x599499,_0x411f33+=0x1;if(_0x35831b)_0x35831b=![];else{if(_0x599499==='\x5c')_0x35831b=!![];else _0x599499==='\x22'&&(_0x2a1da2=![]);}continue;}if(_0x599499==='\x22'){_0x2a1da2=!![],_0x19a82f+=_0x599499,_0x411f33+=0x1;continue;}if(_0x599499==='-'||_0x599499>='0'&&_0x599499<='9'){const _0x45c8f6=JSON_NUMBER_PATTERN[_0x541743(0x7d)](_0x5c2910[_0x541743(0x74)](_0x411f33))?.[0x0];if(_0x45c8f6){_0x19a82f+=isUnsafeIntegerLiteral(_0x45c8f6)?'\x22'+_0x45c8f6+'\x22':_0x45c8f6,_0x411f33+=_0x45c8f6[_0x541743(0x79)];continue;}}_0x19a82f+=_0x599499,_0x411f33+=0x1;}return _0x19a82f;}export function parseLosslessJson(_0x130696){const _0xb0a314=a122_0xb1e0f8;return JSON[_0xb0a314(0x81)](quoteUnsafeIntegerLiterals(_0x130696));}export function installLosslessJsonResponseParser(){const _0x1f6370=a122_0xb1e0f8;if(typeof Response===_0x1f6370(0x86))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x1f6370(0x83)],originalResponseJsonDescriptor=Object['getOwnPropertyDescriptor'](responseJsonPrototype,'json'),Object[_0x1f6370(0x7b)](responseJsonPrototype,_0x1f6370(0x71),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x2479cb(){const _0xbdce51=_0x1f6370;return parseLosslessJson(await this[_0xbdce51(0x80)]());}}),restoreResponseJsonParser=()=>{const _0x9f066a=_0x1f6370;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x9f066a(0x7b)](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype['json'],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
@@ -1 +1 @@
1
- function a123_0x3990(_0x383c42,_0x519505){_0x383c42=_0x383c42-0xd8;const _0x288400=a123_0x2884();let _0x399045=_0x288400[_0x383c42];return _0x399045;}(function(_0x391d04,_0x1eb958){const _0x1ba3c5=a123_0x3990,_0x34b162=_0x391d04();while(!![]){try{const _0x38e190=parseInt(_0x1ba3c5(0xec))/0x1+parseInt(_0x1ba3c5(0xe2))/0x2+parseInt(_0x1ba3c5(0xee))/0x3+parseInt(_0x1ba3c5(0xd9))/0x4*(-parseInt(_0x1ba3c5(0xde))/0x5)+parseInt(_0x1ba3c5(0xeb))/0x6+parseInt(_0x1ba3c5(0xdb))/0x7+parseInt(_0x1ba3c5(0xed))/0x8;if(_0x38e190===_0x1eb958)break;else _0x34b162['push'](_0x34b162['shift']());}catch(_0x18a417){_0x34b162['push'](_0x34b162['shift']());}}}(a123_0x2884,0x4b75e));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x32a7ff){const _0x630e9c=a123_0x3990;if(!_0x32a7ff)return undefined;try{return parseLosslessJson(_0x32a7ff);}catch{throw CliErrors[_0x630e9c(0xf2)](_0x630e9c(0xe3)+_0x32a7ff);}}export function parseJsonParamsValue(_0x274d2e){const _0x35a348=a123_0x3990;if(!_0x274d2e)return undefined;try{return parseLosslessJson(_0x274d2e);}catch{throw CliErrors['validation'](_0x35a348(0xe3)+_0x274d2e);}}export function parseBatchCreateItemsFromParams(_0xca562e){const _0x37b367=a123_0x3990;if(Array[_0x37b367(0xe4)](_0xca562e))return _0xca562e;if(_0xca562e!==null&&_0xca562e!==undefined&&typeof _0xca562e==='object'&&Array[_0x37b367(0xe4)](_0xca562e[_0x37b367(0xda)]))return _0xca562e[_0x37b367(0xda)];throw CliErrors[_0x37b367(0xf2)](_0x37b367(0xf1),_0x37b367(0xe5));}function parseDataUpdateId(_0x45bb99,_0x519a63){const _0x1890e0=a123_0x3990;if(typeof _0x45bb99===_0x1890e0(0xe0)&&Number[_0x1890e0(0xdd)](_0x45bb99)&&_0x45bb99>0x0)return _0x45bb99;if(typeof _0x45bb99===_0x1890e0(0xe1)){if(/^[1-9]\d*$/[_0x1890e0(0xea)](_0x45bb99))return _0x45bb99;}throw CliErrors[_0x1890e0(0xf2)]('data\x20update\x20--params.'+_0x519a63+'\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.');}export function parseUpdateIdsFromParams(_0x48a0cd){const _0x2b4793=a123_0x3990;if(_0x48a0cd===null||_0x48a0cd===undefined||typeof _0x48a0cd!=='object'||Array[_0x2b4793(0xe4)](_0x48a0cd))throw CliErrors[_0x2b4793(0xf2)](_0x2b4793(0xe7),_0x2b4793(0xdc));const _0x47613f=_0x48a0cd['id'];if(_0x47613f===undefined||_0x47613f===null)throw CliErrors[_0x2b4793(0xf2)](_0x2b4793(0xf0),_0x2b4793(0xdc));const _0x323767=Array['isArray'](_0x47613f)?_0x47613f:[_0x47613f];if(_0x323767[_0x2b4793(0xe6)]===0x0)throw CliErrors['validation'](_0x2b4793(0xe9));if(_0x323767[_0x2b4793(0xe6)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x2b4793(0xf2)](_0x2b4793(0xd8)+MAX_DATA_UPDATE_IDS+_0x2b4793(0xef)+_0x323767['length']+'.');return _0x323767['map']((_0x1e29d9,_0x4c5973)=>parseDataUpdateId(_0x1e29d9,Array[_0x2b4793(0xe4)](_0x47613f)?_0x2b4793(0xdf)+_0x4c5973+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x14f09e,_0x3bea02){const _0x499ac9=a123_0x3990;if(Array[_0x499ac9(0xe4)](_0x14f09e['id'])&&_0x3bea02[_0x499ac9(0xe6)]>0x1)return{..._0x14f09e,'id':_0x3bea02[_0x499ac9(0xe8)](',')};return _0x14f09e;}function a123_0x2884(){const _0x33ee75=['Invalid\x20JSON\x20for\x20--params:\x20','isArray','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','length','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','join','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','test','1293252kcIvCl','30752EyZPyB','1910512freMkV','737763SeMnXx','\x20records\x20per\x20call;\x20received\x20','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','validation','data\x20update\x20can\x20update\x20at\x20most\x20','8FRNaNc','items','824621QURAPC','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','isSafeInteger','1364530lEiMNc','id[','number','string','12132JaBjFS'];a123_0x2884=function(){return _0x33ee75;};return a123_0x2884();}
1
+ (function(_0x49e9e5,_0x3d59f6){const _0x52243a=a123_0x130f,_0x2db305=_0x49e9e5();while(!![]){try{const _0x41c2f8=-parseInt(_0x52243a(0xf0))/0x1*(parseInt(_0x52243a(0xf5))/0x2)+parseInt(_0x52243a(0xe4))/0x3*(-parseInt(_0x52243a(0xec))/0x4)+parseInt(_0x52243a(0xe9))/0x5*(parseInt(_0x52243a(0xf3))/0x6)+-parseInt(_0x52243a(0xeb))/0x7*(parseInt(_0x52243a(0xf7))/0x8)+-parseInt(_0x52243a(0xe5))/0x9*(parseInt(_0x52243a(0xf1))/0xa)+parseInt(_0x52243a(0xea))/0xb*(-parseInt(_0x52243a(0xf6))/0xc)+parseInt(_0x52243a(0xfa))/0xd;if(_0x41c2f8===_0x3d59f6)break;else _0x2db305['push'](_0x2db305['shift']());}catch(_0x35b77d){_0x2db305['push'](_0x2db305['shift']());}}}(a123_0x3b8a,0x4a884));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;function a123_0x130f(_0x589f0d,_0x474210){_0x589f0d=_0x589f0d-0xe2;const _0x3b8abd=a123_0x3b8a();let _0x130faa=_0x3b8abd[_0x589f0d];return _0x130faa;}export function parseJsonParams(_0x1e36f2){const _0x56a631=a123_0x130f;if(!_0x1e36f2)return undefined;try{return parseLosslessJson(_0x1e36f2);}catch{throw CliErrors[_0x56a631(0xf9)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x1e36f2);}}export function parseJsonParamsValue(_0x487eff){const _0x742a95=a123_0x130f;if(!_0x487eff)return undefined;try{return parseLosslessJson(_0x487eff);}catch{throw CliErrors['validation'](_0x742a95(0xfe)+_0x487eff);}}function a123_0x3b8a(){const _0x8e5897=['Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','39ymXvJE','3070VizWnh','data\x20update\x20can\x20update\x20at\x20most\x20','18rbnwGg','object','31094kYbuLw','3884064YJWpRc','170320RhdPLe','items','validation','15362217KcJWxz','isSafeInteger','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','\x20records\x20per\x20call;\x20received\x20','Invalid\x20JSON\x20for\x20--params:\x20','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','length','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','9VASLfG','6561rczFLa','test','id[','isArray','810370hKrfEx','11arsqng','63ZPppYr','22972fVNFlL','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','number'];a123_0x3b8a=function(){return _0x8e5897;};return a123_0x3b8a();}export function parseBatchCreateItemsFromParams(_0x180286){const _0x56b464=a123_0x130f;if(Array[_0x56b464(0xe8)](_0x180286))return _0x180286;if(_0x180286!==null&&_0x180286!==undefined&&typeof _0x180286===_0x56b464(0xf4)&&Array[_0x56b464(0xe8)](_0x180286[_0x56b464(0xf8)]))return _0x180286['items'];throw CliErrors['validation'](_0x56b464(0xed),_0x56b464(0xff));}function parseDataUpdateId(_0x5a4cdf,_0x2e2a6e){const _0x3aa6ea=a123_0x130f;if(typeof _0x5a4cdf===_0x3aa6ea(0xee)&&Number[_0x3aa6ea(0xfb)](_0x5a4cdf)&&_0x5a4cdf>0x0)return _0x5a4cdf;if(typeof _0x5a4cdf==='string'){if(/^[1-9]\d*$/[_0x3aa6ea(0xe6)](_0x5a4cdf))return _0x5a4cdf;}throw CliErrors[_0x3aa6ea(0xf9)]('data\x20update\x20--params.'+_0x2e2a6e+_0x3aa6ea(0xfc));}export function parseUpdateIdsFromParams(_0x5c6a02){const _0x570074=a123_0x130f;if(_0x5c6a02===null||_0x5c6a02===undefined||typeof _0x5c6a02!==_0x570074(0xf4)||Array['isArray'](_0x5c6a02))throw CliErrors[_0x570074(0xf9)](_0x570074(0xe3),_0x570074(0xef));const _0x4dbf4f=_0x5c6a02['id'];if(_0x4dbf4f===undefined||_0x4dbf4f===null)throw CliErrors[_0x570074(0xf9)]('data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.',_0x570074(0xef));const _0x450ad1=Array['isArray'](_0x4dbf4f)?_0x4dbf4f:[_0x4dbf4f];if(_0x450ad1[_0x570074(0xe2)]===0x0)throw CliErrors[_0x570074(0xf9)]('data\x20update\x20id\x20array\x20cannot\x20be\x20empty.');if(_0x450ad1[_0x570074(0xe2)]>MAX_DATA_UPDATE_IDS)throw CliErrors[_0x570074(0xf9)](_0x570074(0xf2)+MAX_DATA_UPDATE_IDS+_0x570074(0xfd)+_0x450ad1[_0x570074(0xe2)]+'.');return _0x450ad1['map']((_0x1b42ec,_0x471310)=>parseDataUpdateId(_0x1b42ec,Array[_0x570074(0xe8)](_0x4dbf4f)?_0x570074(0xe7)+_0x471310+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x23cefe,_0x4810fb){const _0x1ad18f=a123_0x130f;if(Array[_0x1ad18f(0xe8)](_0x23cefe['id'])&&_0x4810fb[_0x1ad18f(0xe2)]>0x1)return{..._0x23cefe,'id':_0x4810fb['join'](',')};return _0x23cefe;}
@@ -1 +1 @@
1
- const a124_0x44f63c=a124_0x2793;(function(_0x1840a5,_0x9d210e){const _0x37682e=a124_0x2793,_0x17fcc1=_0x1840a5();while(!![]){try{const _0x35b5e4=parseInt(_0x37682e(0x131))/0x1*(parseInt(_0x37682e(0x133))/0x2)+parseInt(_0x37682e(0x129))/0x3*(parseInt(_0x37682e(0x128))/0x4)+parseInt(_0x37682e(0x135))/0x5*(parseInt(_0x37682e(0x12e))/0x6)+-parseInt(_0x37682e(0x12a))/0x7+-parseInt(_0x37682e(0x134))/0x8+-parseInt(_0x37682e(0x12b))/0x9+parseInt(_0x37682e(0x12d))/0xa*(parseInt(_0x37682e(0x130))/0xb);if(_0x35b5e4===_0x9d210e)break;else _0x17fcc1['push'](_0x17fcc1['shift']());}catch(_0x7c028c){_0x17fcc1['push'](_0x17fcc1['shift']());}}}(a124_0x1037,0xee657));export const isWindows=process[a124_0x44f63c(0x12c)]===a124_0x44f63c(0x132);function a124_0x1037(){const _0xbe81ab=['win32','2BSMeHX','9713976BUbYNO','55oXzvsk','170228piiCDS','9vdzQKI','8680406tskYhj','8386731BNTBBa','platform','15668090NfyMoX','107454KzJZhr','.cmd','22GwTOpP','904347lJneDl'];a124_0x1037=function(){return _0xbe81ab;};return a124_0x1037();}function a124_0x2793(_0xa4daa8,_0x2130b2){_0xa4daa8=_0xa4daa8-0x128;const _0x103766=a124_0x1037();let _0x2793bb=_0x103766[_0xa4daa8];return _0x2793bb;}export function resolveNpmBin(_0x54bb15){const _0x1285a2=a124_0x44f63c;return isWindows?_0x54bb15+_0x1285a2(0x12f):_0x54bb15;}
1
+ const a124_0x5975e4=a124_0x3a7c;(function(_0x2d4915,_0x820bb8){const _0x3b631d=a124_0x3a7c,_0x115fa7=_0x2d4915();while(!![]){try{const _0x373080=-parseInt(_0x3b631d(0x7f))/0x1+-parseInt(_0x3b631d(0x7c))/0x2+-parseInt(_0x3b631d(0x74))/0x3+-parseInt(_0x3b631d(0x7b))/0x4*(parseInt(_0x3b631d(0x7e))/0x5)+-parseInt(_0x3b631d(0x79))/0x6*(parseInt(_0x3b631d(0x7a))/0x7)+-parseInt(_0x3b631d(0x76))/0x8+parseInt(_0x3b631d(0x7d))/0x9*(parseInt(_0x3b631d(0x75))/0xa);if(_0x373080===_0x820bb8)break;else _0x115fa7['push'](_0x115fa7['shift']());}catch(_0x386bc5){_0x115fa7['push'](_0x115fa7['shift']());}}}(a124_0x2460,0x4ad7b));function a124_0x2460(){const _0x386e24=['535859Smtgjx','.cmd','1510911EaKgUy','130hrdrkv','216840nCmnQZ','win32','platform','3050874uaSbhO','7RzVDtz','24PtKPLy','404560GIRbvW','1485819oWICch','51890wZetiG'];a124_0x2460=function(){return _0x386e24;};return a124_0x2460();}export const isWindows=process[a124_0x5975e4(0x78)]===a124_0x5975e4(0x77);function a124_0x3a7c(_0x2aa2c4,_0xbcea58){_0x2aa2c4=_0x2aa2c4-0x73;const _0x24606d=a124_0x2460();let _0x3a7cec=_0x24606d[_0x2aa2c4];return _0x3a7cec;}export function resolveNpmBin(_0x692401){const _0x5db882=a124_0x5975e4;return isWindows?_0x692401+_0x5db882(0x73):_0x692401;}
@@ -1 +1 @@
1
- (function(_0x8e7673,_0x10f542){const _0x2fb96c=a125_0x1085,_0x5dc03c=_0x8e7673();while(!![]){try{const _0x52c1f1=-parseInt(_0x2fb96c(0x80))/0x1*(-parseInt(_0x2fb96c(0x7d))/0x2)+parseInt(_0x2fb96c(0x7a))/0x3+-parseInt(_0x2fb96c(0x77))/0x4+-parseInt(_0x2fb96c(0x71))/0x5*(parseInt(_0x2fb96c(0x76))/0x6)+-parseInt(_0x2fb96c(0x90))/0x7*(-parseInt(_0x2fb96c(0x7f))/0x8)+parseInt(_0x2fb96c(0x92))/0x9+-parseInt(_0x2fb96c(0x82))/0xa*(-parseInt(_0x2fb96c(0x8b))/0xb);if(_0x52c1f1===_0x10f542)break;else _0x5dc03c['push'](_0x5dc03c['shift']());}catch(_0x31fa1b){_0x5dc03c['push'](_0x5dc03c['shift']());}}}(a125_0x12fe,0x63d3c));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(_0x5f295c){const _0x33b70a=a125_0x1085,_0x4b0d78=_0x5f295c[_0x33b70a(0x75)]()[_0x33b70a(0x78)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x4b0d78)return null;return{'major':Number(_0x4b0d78[0x1]),'minor':Number(_0x4b0d78[0x2]),'patch':Number(_0x4b0d78[0x3]),'prerelease':_0x4b0d78[0x4]};}function compareSemver(_0x5eff1f,_0xa637d5){const _0x352f40=a125_0x1085,_0x65ce1d=parseSemver(_0x5eff1f),_0x269d9f=parseSemver(_0xa637d5);if(!_0x65ce1d||!_0x269d9f)throw new Error('Invalid\x20semver');for(const _0x3a48bd of[_0x352f40(0x74),_0x352f40(0x72),_0x352f40(0x89)]){if(_0x65ce1d[_0x3a48bd]<_0x269d9f[_0x3a48bd])return-0x1;if(_0x65ce1d[_0x3a48bd]>_0x269d9f[_0x3a48bd])return 0x1;}if(!_0x65ce1d[_0x352f40(0x6e)]&&!_0x269d9f[_0x352f40(0x6e)])return 0x0;if(!_0x65ce1d[_0x352f40(0x6e)])return 0x1;if(!_0x269d9f[_0x352f40(0x6e)])return-0x1;if(_0x65ce1d[_0x352f40(0x6e)]===_0x269d9f[_0x352f40(0x6e)])return 0x0;return _0x65ce1d[_0x352f40(0x6e)]<_0x269d9f[_0x352f40(0x6e)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x3cd76c=a125_0x1085,_0x40d09e=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x3cd76c(0x75)]()[_0x3cd76c(0x96)]();return _0x40d09e==='1'||_0x40d09e===_0x3cd76c(0x8a)||_0x40d09e===_0x3cd76c(0x8e);}function a125_0x1085(_0x1510e3,_0xfbafff){_0x1510e3=_0x1510e3-0x6e;const _0x12fec7=a125_0x12fe();let _0x108540=_0x12fec7[_0x1510e3];return _0x108540;}function cacheRoot(){const _0x438694=a125_0x1085;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x438694(0x73));}export function getUpdateNoticeCachePath(){const _0x34f2bb=a125_0x1085;return join(cacheRoot(),'lovrabet-cli',_0x34f2bb(0x81));}async function readUpdateNoticeCache(){const _0x54e67c=a125_0x1085;try{const _0x30abd1=await readFile(getUpdateNoticeCachePath(),_0x54e67c(0x83)),_0x50520b=JSON[_0x54e67c(0x79)](_0x30abd1);if(!_0x50520b||typeof _0x50520b!=='object')return{};return _0x50520b;}catch{return{};}}async function writeUpdateNoticeCache(_0x3a7ab0){const _0x3b1392=a125_0x1085;try{const _0x35c0f6=getUpdateNoticeCachePath();await mkdir(dirname(_0x35c0f6),{'recursive':!![]}),await writeFile(_0x35c0f6,JSON[_0x3b1392(0x91)](_0x3a7ab0,null,0x2)+'\x0a',_0x3b1392(0x83));}catch{}}function isFreshCheck(_0x24f6b4,_0x194881){const _0x301c38=a125_0x1085;return typeof _0x24f6b4[_0x301c38(0x86)]===_0x301c38(0x87)&&_0x194881-_0x24f6b4['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x14c400,_0x53c569,_0x3c4421){const _0x20e48f=a125_0x1085;return _0x14c400[_0x20e48f(0x88)]===_0x53c569&&typeof _0x14c400[_0x20e48f(0x85)]===_0x20e48f(0x87)&&_0x3c4421-_0x14c400[_0x20e48f(0x85)]<UPDATE_NOTICE_TTL_MS;}function a125_0x12fe(){const _0x5c4bcc=['https://www.npmjs.com/package/','2IYFKCD','object','8VqWpFN','338630EQfqCv','update-check.json','765340SfLdDk','utf8','/dist-tags','lastNotifiedAt','checkedAt','number','lastNotifiedVersion','patch','true','44vpcCMP','timeout','filter','yes','now','584388JvLTlr','stringify','6105825vrSkzB','latest',',\x20run:\x20','entries','toLowerCase','prerelease','\x20available,\x20current\x20','fromEntries','5lKoKBS','minor','.cache','major','trim','3247890sEjkcL','3225456OOglrH','match','parse','1049688GcdFsu','/v/'];a125_0x12fe=function(){return _0x5c4bcc;};return a125_0x12fe();}async function fetchNpmDistTags(_0x7c91dd=0x5dc){const _0x6007d7=a125_0x1085;try{const _0x37a66e=NPM_REGISTRY_BASE_URL+'/-/package/'+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x6007d7(0x84),_0x27c5b1=await fetch(_0x37a66e,{'signal':AbortSignal[_0x6007d7(0x8c)](_0x7c91dd)});if(!_0x27c5b1['ok'])return null;const _0x45e3d4=await _0x27c5b1['json']();if(!_0x45e3d4||typeof _0x45e3d4!==_0x6007d7(0x7e))return null;return Object[_0x6007d7(0x70)](Object[_0x6007d7(0x95)](_0x45e3d4)[_0x6007d7(0x8d)](([,_0x478482])=>typeof _0x478482==='string'&&_0x478482[_0x6007d7(0x75)]())['map'](([_0x3128d4,_0xde53a8])=>[_0x3128d4,String(_0xde53a8)[_0x6007d7(0x75)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x8efd20){const _0x2a1668=a125_0x1085;return _0x2a1668(0x7c)+LOVRABET_NPM_PACKAGE_NAME+_0x2a1668(0x7b)+_0x8efd20;}export async function resolveLatestUpdateNotice(){const _0x3ff067=a125_0x1085;if(isUpdateNoticeDisabled())return null;try{const _0x4bed1c=Date[_0x3ff067(0x8f)](),_0x3f6294=getCliVersion(),_0x5ed875=await readUpdateNoticeCache();let _0x2da0d1=isFreshCheck(_0x5ed875,_0x4bed1c)?_0x5ed875[_0x3ff067(0x93)]?.[_0x3ff067(0x75)]():undefined;if(!_0x2da0d1&&!isFreshCheck(_0x5ed875,_0x4bed1c)){const _0x4c22cc=await fetchNpmDistTags();_0x2da0d1=_0x4c22cc?.[_0x3ff067(0x93)]?.['trim'](),await writeUpdateNoticeCache({..._0x5ed875,'checkedAt':_0x4bed1c,'latest':_0x2da0d1,'failed':!_0x2da0d1});}if(!_0x2da0d1||compareSemver(_0x3f6294,_0x2da0d1)>=0x0)return null;if(isRecentlyNotified(_0x5ed875,_0x2da0d1,_0x4bed1c))return null;const _0x292dfd=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x5ed875,'checkedAt':isFreshCheck(_0x5ed875,_0x4bed1c)?_0x5ed875[_0x3ff067(0x86)]:_0x4bed1c,'latest':_0x2da0d1,'failed':![],'lastNotifiedVersion':_0x2da0d1,'lastNotifiedAt':_0x4bed1c}),{'command':_0x292dfd,'current':_0x3f6294,'latest':_0x2da0d1,'url':buildNpmVersionUrl(_0x2da0d1),'message':CLI_BIN_NAME+'\x20'+_0x2da0d1+_0x3ff067(0x6f)+_0x3f6294+_0x3ff067(0x94)+_0x292dfd};}catch{return null;}}
1
+ (function(_0x46eeab,_0x57152a){const _0x29999c=a125_0x31d5,_0x5812da=_0x46eeab();while(!![]){try{const _0x4889d0=parseInt(_0x29999c(0x125))/0x1+parseInt(_0x29999c(0x142))/0x2+parseInt(_0x29999c(0x145))/0x3+parseInt(_0x29999c(0x141))/0x4+parseInt(_0x29999c(0x126))/0x5+parseInt(_0x29999c(0x140))/0x6+-parseInt(_0x29999c(0x12d))/0x7;if(_0x4889d0===_0x57152a)break;else _0x5812da['push'](_0x5812da['shift']());}catch(_0x23debf){_0x5812da['push'](_0x5812da['shift']());}}}(a125_0x7bfc,0xda487));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';function a125_0x31d5(_0x43eb22,_0x5626e9){_0x43eb22=_0x43eb22-0x121;const _0x7bfc1a=a125_0x7bfc();let _0x31d5b5=_0x7bfc1a[_0x43eb22];return _0x31d5b5;}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(_0x42961e){const _0xcd5fa1=a125_0x31d5,_0x1e60a6=_0x42961e[_0xcd5fa1(0x133)]()[_0xcd5fa1(0x147)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x1e60a6)return null;return{'major':Number(_0x1e60a6[0x1]),'minor':Number(_0x1e60a6[0x2]),'patch':Number(_0x1e60a6[0x3]),'prerelease':_0x1e60a6[0x4]};}function compareSemver(_0x271751,_0x13e2a5){const _0x40f595=a125_0x31d5,_0x201c23=parseSemver(_0x271751),_0x376ab1=parseSemver(_0x13e2a5);if(!_0x201c23||!_0x376ab1)throw new Error('Invalid\x20semver');for(const _0x28a0d4 of['major',_0x40f595(0x127),_0x40f595(0x12f)]){if(_0x201c23[_0x28a0d4]<_0x376ab1[_0x28a0d4])return-0x1;if(_0x201c23[_0x28a0d4]>_0x376ab1[_0x28a0d4])return 0x1;}if(!_0x201c23['prerelease']&&!_0x376ab1[_0x40f595(0x12e)])return 0x0;if(!_0x201c23[_0x40f595(0x12e)])return 0x1;if(!_0x376ab1[_0x40f595(0x12e)])return-0x1;if(_0x201c23[_0x40f595(0x12e)]===_0x376ab1[_0x40f595(0x12e)])return 0x0;return _0x201c23[_0x40f595(0x12e)]<_0x376ab1['prerelease']?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x321253=a125_0x31d5,_0x5404b9=process.env.LOVRABET_NO_UPDATE_NOTICE?.['trim']()[_0x321253(0x13a)]();return _0x5404b9==='1'||_0x5404b9===_0x321253(0x13c)||_0x5404b9===_0x321253(0x128);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0xdebb3a=a125_0x31d5;return join(cacheRoot(),_0xdebb3a(0x132),_0xdebb3a(0x124));}async function readUpdateNoticeCache(){const _0x566dc0=a125_0x31d5;try{const _0x3b20c0=await readFile(getUpdateNoticeCachePath(),_0x566dc0(0x135)),_0xcc5e19=JSON[_0x566dc0(0x13b)](_0x3b20c0);if(!_0xcc5e19||typeof _0xcc5e19!=='object')return{};return _0xcc5e19;}catch{return{};}}async function writeUpdateNoticeCache(_0x5e0c24){const _0x28a21a=a125_0x31d5;try{const _0x3bd699=getUpdateNoticeCachePath();await mkdir(dirname(_0x3bd699),{'recursive':!![]}),await writeFile(_0x3bd699,JSON[_0x28a21a(0x136)](_0x5e0c24,null,0x2)+'\x0a',_0x28a21a(0x135));}catch{}}function isFreshCheck(_0x16de9a,_0x4efaa7){const _0xe97fbf=a125_0x31d5;return typeof _0x16de9a[_0xe97fbf(0x143)]===_0xe97fbf(0x130)&&_0x4efaa7-_0x16de9a['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x1fd508,_0x396fdb,_0xb71b1d){const _0x337867=a125_0x31d5;return _0x1fd508['lastNotifiedVersion']===_0x396fdb&&typeof _0x1fd508[_0x337867(0x13f)]===_0x337867(0x130)&&_0xb71b1d-_0x1fd508['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}function a125_0x7bfc(){const _0x1a2627=['true',',\x20run:\x20','now','lastNotifiedAt','4716978WAaCGm','3791008FqRloB','2151904YMoCGq','checkedAt','\x20available,\x20current\x20','3494490HFeaIt','json','match','map','/-/package/','timeout','update-check.json','554130DkSGCH','7647680HEJUxJ','minor','yes','string','fromEntries','\x20update','https://www.npmjs.com/package/','36149932cvrXFL','prerelease','patch','number','/dist-tags','lovrabet-cli','trim','/v/','utf8','stringify','latest','filter','entries','toLowerCase','parse'];a125_0x7bfc=function(){return _0x1a2627;};return a125_0x7bfc();}async function fetchNpmDistTags(_0x53fc9d=0x5dc){const _0x33d4d7=a125_0x31d5;try{const _0x362882=NPM_REGISTRY_BASE_URL+_0x33d4d7(0x122)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x33d4d7(0x131),_0x148983=await fetch(_0x362882,{'signal':AbortSignal[_0x33d4d7(0x123)](_0x53fc9d)});if(!_0x148983['ok'])return null;const _0x590db4=await _0x148983[_0x33d4d7(0x146)]();if(!_0x590db4||typeof _0x590db4!=='object')return null;return Object[_0x33d4d7(0x12a)](Object[_0x33d4d7(0x139)](_0x590db4)[_0x33d4d7(0x138)](([,_0x151086])=>typeof _0x151086===_0x33d4d7(0x129)&&_0x151086['trim']())[_0x33d4d7(0x121)](([_0x4efd3a,_0x4146cb])=>[_0x4efd3a,String(_0x4146cb)[_0x33d4d7(0x133)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x120941){const _0x6bef44=a125_0x31d5;return _0x6bef44(0x12c)+LOVRABET_NPM_PACKAGE_NAME+_0x6bef44(0x134)+_0x120941;}export async function resolveLatestUpdateNotice(){const _0xb52afc=a125_0x31d5;if(isUpdateNoticeDisabled())return null;try{const _0x46f90a=Date[_0xb52afc(0x13e)](),_0x354bbe=getCliVersion(),_0x2d918e=await readUpdateNoticeCache();let _0x52c62b=isFreshCheck(_0x2d918e,_0x46f90a)?_0x2d918e[_0xb52afc(0x137)]?.[_0xb52afc(0x133)]():undefined;if(!_0x52c62b&&!isFreshCheck(_0x2d918e,_0x46f90a)){const _0x19ee7f=await fetchNpmDistTags();_0x52c62b=_0x19ee7f?.[_0xb52afc(0x137)]?.[_0xb52afc(0x133)](),await writeUpdateNoticeCache({..._0x2d918e,'checkedAt':_0x46f90a,'latest':_0x52c62b,'failed':!_0x52c62b});}if(!_0x52c62b||compareSemver(_0x354bbe,_0x52c62b)>=0x0)return null;if(isRecentlyNotified(_0x2d918e,_0x52c62b,_0x46f90a))return null;const _0x31f571=CLI_BIN_NAME+_0xb52afc(0x12b);return await writeUpdateNoticeCache({..._0x2d918e,'checkedAt':isFreshCheck(_0x2d918e,_0x46f90a)?_0x2d918e[_0xb52afc(0x143)]:_0x46f90a,'latest':_0x52c62b,'failed':![],'lastNotifiedVersion':_0x52c62b,'lastNotifiedAt':_0x46f90a}),{'command':_0x31f571,'current':_0x354bbe,'latest':_0x52c62b,'url':buildNpmVersionUrl(_0x52c62b),'message':CLI_BIN_NAME+'\x20'+_0x52c62b+_0xb52afc(0x144)+_0x354bbe+_0xb52afc(0x13d)+_0x31f571};}catch{return null;}}
@@ -1 +1 @@
1
- function a126_0x59ce(_0xe630af,_0x272602){_0xe630af=_0xe630af-0x17a;const _0x749c5d=a126_0x749c();let _0x59ce44=_0x749c5d[_0xe630af];return _0x59ce44;}(function(_0x2dba48,_0x53cca0){const _0x3aea0c=a126_0x59ce,_0x37359d=_0x2dba48();while(!![]){try{const _0x5a6bbd=parseInt(_0x3aea0c(0x17b))/0x1+-parseInt(_0x3aea0c(0x182))/0x2+parseInt(_0x3aea0c(0x183))/0x3*(-parseInt(_0x3aea0c(0x185))/0x4)+parseInt(_0x3aea0c(0x17f))/0x5*(-parseInt(_0x3aea0c(0x180))/0x6)+parseInt(_0x3aea0c(0x17d))/0x7+parseInt(_0x3aea0c(0x184))/0x8*(-parseInt(_0x3aea0c(0x17c))/0x9)+-parseInt(_0x3aea0c(0x17a))/0xa*(-parseInt(_0x3aea0c(0x181))/0xb);if(_0x5a6bbd===_0x53cca0)break;else _0x37359d['push'](_0x37359d['shift']());}catch(_0x3f83f7){_0x37359d['push'](_0x37359d['shift']());}}}(a126_0x749c,0x721af));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';function a126_0x749c(){const _0x53f41d=['unknown','349750alkpwE','442112gQmtuW','2097vPRrgA','1138060sCBCcr','slice','5FaIaGC','5553786BDHMbo','1078HmZyyp','1860222CRVyES','6Xxqoch','31160tckjFF','1603180fqdTGZ'];a126_0x749c=function(){return _0x53f41d;};return a126_0x749c();}export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x203525=a126_0x59ce,_0x5bfee4=String(GIT_COMMIT);return _0x5bfee4&&_0x5bfee4!==_0x203525(0x186)?_0x5bfee4:'';}export function getCliVersionDisplay(){const _0x4f04a7=a126_0x59ce,_0x329a31=getCliGitCommit(),_0x189553=BUILD_TIME[_0x4f04a7(0x17e)](0x0,0xa);if(!_0x329a31||!_0x189553)return VERSION;return VERSION+'\x20('+_0x329a31+',\x20'+_0x189553+')';}
1
+ function a126_0x3ea6(){const _0x3a3a6a=['16uWyLEQ','1696964mizxHS','unknown','slice','782160wZduNS','1758VamVYm','78cMIupa','14035930muBorY','14195EkvxDf','12789YfcyIU','88710fmzGLV','1518471vqpKUy'];a126_0x3ea6=function(){return _0x3a3a6a;};return a126_0x3ea6();}(function(_0xddc5c8,_0x423bb6){const _0x345fe6=a126_0x5a27,_0x4fbf0e=_0xddc5c8();while(!![]){try{const _0x4c723d=parseInt(_0x345fe6(0x191))/0x1*(-parseInt(_0x345fe6(0x18f))/0x2)+parseInt(_0x345fe6(0x193))/0x3+-parseInt(_0x345fe6(0x18a))/0x4+-parseInt(_0x345fe6(0x18d))/0x5+-parseInt(_0x345fe6(0x18e))/0x6*(-parseInt(_0x345fe6(0x192))/0x7)+parseInt(_0x345fe6(0x195))/0x8*(-parseInt(_0x345fe6(0x194))/0x9)+parseInt(_0x345fe6(0x190))/0xa;if(_0x4c723d===_0x423bb6)break;else _0x4fbf0e['push'](_0x4fbf0e['shift']());}catch(_0x68f1bc){_0x4fbf0e['push'](_0x4fbf0e['shift']());}}}(a126_0x3ea6,0x79476));function a126_0x5a27(_0xe3ca0b,_0x511dee){_0xe3ca0b=_0xe3ca0b-0x18a;const _0x3ea6e5=a126_0x3ea6();let _0x5a2717=_0x3ea6e5[_0xe3ca0b];return _0x5a2717;}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x585c81=a126_0x5a27,_0x3eedbd=String(GIT_COMMIT);return _0x3eedbd&&_0x3eedbd!==_0x585c81(0x18b)?_0x3eedbd:'';}export function getCliVersionDisplay(){const _0x24006a=a126_0x5a27,_0x58a67c=getCliGitCommit(),_0x327a90=BUILD_TIME[_0x24006a(0x18c)](0x0,0xa);if(!_0x58a67c||!_0x327a90)return VERSION;return VERSION+'\x20('+_0x58a67c+',\x20'+_0x327a90+')';}
@@ -1 +1 @@
1
- function a127_0x43af(_0x23068d,_0x348127){_0x23068d=_0x23068d-0x114;var _0x25e756=a127_0x25e7();var _0x43af36=_0x25e756[_0x23068d];return _0x43af36;}(function(_0x7d406d,_0x3e5eff){var _0x45f793=a127_0x43af,_0x11526b=_0x7d406d();while(!![]){try{var _0x5135f1=parseInt(_0x45f793(0x114))/0x1+-parseInt(_0x45f793(0x11a))/0x2*(-parseInt(_0x45f793(0x11d))/0x3)+parseInt(_0x45f793(0x117))/0x4+parseInt(_0x45f793(0x11b))/0x5+-parseInt(_0x45f793(0x11c))/0x6+-parseInt(_0x45f793(0x116))/0x7*(parseInt(_0x45f793(0x11e))/0x8)+-parseInt(_0x45f793(0x119))/0x9;if(_0x5135f1===_0x3e5eff)break;else _0x11526b['push'](_0x11526b['shift']());}catch(_0x55949e){_0x11526b['push'](_0x11526b['shift']());}}}(a127_0x25e7,0x1d122));export function writeCliSideChannelLine(_0x35ac03){var _0x130c73=a127_0x43af;process[_0x130c73(0x115)][_0x130c73(0x118)](_0x35ac03+'\x0a');}function a127_0x25e7(){var _0x1df823=['4207oJtirt','928860mwyoKQ','write','712125HTLIil','2hiEEzz','289805vpHlXM','851190mDYYha','136701WHRZhd','680LAtZlR','55406PAtrgR','stderr'];a127_0x25e7=function(){return _0x1df823;};return a127_0x25e7();}
1
+ function a127_0x574b(){var _0x22277e=['580gvldlx','1034114RIXJwr','2923212JZTSYI','9pTiezE','5092927CvurHE','4762218Segjkc','27836wKjXcu','stderr','2pCueQC','31449890zHjOvy','2372528mtATKc'];a127_0x574b=function(){return _0x22277e;};return a127_0x574b();}function a127_0x2913(_0x2d5d10,_0x43be44){_0x2d5d10=_0x2d5d10-0x163;var _0x574b8a=a127_0x574b();var _0x291371=_0x574b8a[_0x2d5d10];return _0x291371;}(function(_0x2a547a,_0xfa98c0){var _0x5a060e=a127_0x2913,_0x406370=_0x2a547a();while(!![]){try{var _0x3939af=parseInt(_0x5a060e(0x163))/0x1*(-parseInt(_0x5a060e(0x167))/0x2)+-parseInt(_0x5a060e(0x168))/0x3+parseInt(_0x5a060e(0x16c))/0x4*(-parseInt(_0x5a060e(0x166))/0x5)+-parseInt(_0x5a060e(0x16b))/0x6+parseInt(_0x5a060e(0x16a))/0x7+parseInt(_0x5a060e(0x165))/0x8+parseInt(_0x5a060e(0x169))/0x9*(parseInt(_0x5a060e(0x164))/0xa);if(_0x3939af===_0xfa98c0)break;else _0x406370['push'](_0x406370['shift']());}catch(_0x199d88){_0x406370['push'](_0x406370['shift']());}}}(a127_0x574b,0x88a23));export function writeCliSideChannelLine(_0x35590f){var _0x11a4b6=a127_0x2913;process[_0x11a4b6(0x16d)]['write'](_0x35590f+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.1.21-beta.1",
3
+ "version": "2.1.21",
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": [