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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) 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/notification/config-list.js +1 -1
  36. package/lib/commands/notification/index.js +1 -1
  37. package/lib/commands/notification/shared.js +1 -1
  38. package/lib/commands/ocr/index.js +1 -1
  39. package/lib/commands/permit/dataset-get.js +1 -1
  40. package/lib/commands/permit/dataset-set.js +1 -1
  41. package/lib/commands/permit/index.js +1 -1
  42. package/lib/commands/permit/page-get.js +1 -1
  43. package/lib/commands/permit/page-set.js +1 -1
  44. package/lib/commands/permit/role-menus-set.js +1 -1
  45. package/lib/commands/permit/role-menus.js +1 -1
  46. package/lib/commands/permit/shared.js +1 -1
  47. package/lib/commands/personal-bff/index.js +1 -1
  48. package/lib/commands/registry.js +1 -1
  49. package/lib/commands/role/create.js +1 -1
  50. package/lib/commands/role/delete.js +1 -1
  51. package/lib/commands/role/detail.js +1 -1
  52. package/lib/commands/role/index.js +1 -1
  53. package/lib/commands/role/list.js +1 -1
  54. package/lib/commands/role/shared.js +1 -1
  55. package/lib/commands/role/update.js +1 -1
  56. package/lib/commands/role/user-add.js +1 -1
  57. package/lib/commands/role/user-remove.js +1 -1
  58. package/lib/commands/schedule/index.js +1 -1
  59. package/lib/commands/schema.js +1 -1
  60. package/lib/commands/service/dynamic.js +1 -1
  61. package/lib/commands/service/function-name-adapter.js +1 -1
  62. package/lib/commands/service/index.js +1 -1
  63. package/lib/commands/service/registry.js +1 -1
  64. package/lib/commands/skill/commands/create.js +1 -1
  65. package/lib/commands/skill/commands/diagram.js +1 -1
  66. package/lib/commands/skill/commands/install.js +1 -1
  67. package/lib/commands/skill/commands/list.js +1 -1
  68. package/lib/commands/skill/commands/push.js +1 -1
  69. package/lib/commands/skill/commands/validate.js +1 -1
  70. package/lib/commands/skill/diagram.js +1 -1
  71. package/lib/commands/skill/flags.js +1 -1
  72. package/lib/commands/skill/index.js +1 -1
  73. package/lib/commands/skill/manifest-helpers.js +1 -1
  74. package/lib/commands/skill/push-execute.js +1 -1
  75. package/lib/commands/skill/push-flow-helpers.js +1 -1
  76. package/lib/commands/skill/push-retarget.js +1 -1
  77. package/lib/commands/skill/scopes.js +1 -1
  78. package/lib/commands/skill/summary.js +1 -1
  79. package/lib/commands/skill/templates.js +1 -1
  80. package/lib/commands/skill/validate.js +1 -1
  81. package/lib/commands/sql/detail.js +1 -1
  82. package/lib/commands/sql/exec.js +1 -1
  83. package/lib/commands/sql/index.js +1 -1
  84. package/lib/commands/update.js +1 -1
  85. package/lib/commands/user-account/bind.js +1 -1
  86. package/lib/commands/user-account/index.js +1 -1
  87. package/lib/commands/workspace/index.js +1 -1
  88. package/lib/config/schema.js +1 -1
  89. package/lib/constant/app.js +1 -1
  90. package/lib/constant/auth-mode.js +1 -1
  91. package/lib/constant/cli.js +1 -1
  92. package/lib/constant/defaults.js +1 -1
  93. package/lib/constant/distribution.js +1 -1
  94. package/lib/constant/domain.js +1 -1
  95. package/lib/constant/env.js +1 -1
  96. package/lib/constant/output.js +1 -1
  97. package/lib/constant/product.js +1 -1
  98. package/lib/constant/risk.js +1 -1
  99. package/lib/constant/url.js +1 -1
  100. package/lib/context.js +1 -1
  101. package/lib/core/api-client.js +1 -1
  102. package/lib/core/db-resolver.js +1 -1
  103. package/lib/core/sdk-client.js +1 -1
  104. package/lib/errors.js +1 -1
  105. package/lib/framework/build-all-flags.js +1 -1
  106. package/lib/framework/dryrun.js +1 -1
  107. package/lib/framework/flags.js +1 -1
  108. package/lib/framework/help.js +1 -1
  109. package/lib/framework/index.js +1 -1
  110. package/lib/framework/output.js +1 -1
  111. package/lib/framework/preparse.js +1 -1
  112. package/lib/framework/rate-limit.js +1 -1
  113. package/lib/framework/raw-flags.js +1 -1
  114. package/lib/framework/response.js +1 -1
  115. package/lib/framework/runner-confirmation.js +1 -1
  116. package/lib/framework/runner-error.js +1 -1
  117. package/lib/framework/runner.js +1 -1
  118. package/lib/framework/schema-export.js +1 -1
  119. package/lib/framework/service-order.js +1 -1
  120. package/lib/framework/types.js +1 -1
  121. package/lib/generated/build-info.d.ts +4 -4
  122. package/lib/generated/build-info.js +1 -1
  123. package/lib/help.js +1 -1
  124. package/lib/postinstall.js +1 -1
  125. package/lib/runtime/confirmation.js +1 -1
  126. package/lib/runtime/event.js +1 -1
  127. package/lib/runtime/index.js +1 -1
  128. package/lib/runtime/queue.js +1 -1
  129. package/lib/runtime/resolve.js +1 -1
  130. package/lib/skills/builtin-skill.js +1 -1
  131. package/lib/skills/npx-skills-add.js +1 -1
  132. package/lib/skills/runtime-skill-sync/constants.js +1 -1
  133. package/lib/skills/runtime-skill-sync/fs-utils.js +1 -1
  134. package/lib/skills/runtime-skill-sync/hashing.js +1 -1
  135. package/lib/skills/runtime-skill-sync/install-target.js +1 -1
  136. package/lib/skills/runtime-skill-sync/links.js +1 -1
  137. package/lib/skills/runtime-skill-sync/list-local.js +1 -1
  138. package/lib/skills/runtime-skill-sync/local-files.js +1 -1
  139. package/lib/skills/runtime-skill-sync/materialize.js +1 -1
  140. package/lib/skills/runtime-skill-sync/metadata.js +1 -1
  141. package/lib/skills/runtime-skill-sync/paths.js +1 -1
  142. package/lib/skills/runtime-skill-sync/push.js +1 -1
  143. package/lib/skills/runtime-skill-sync/scopes.js +1 -1
  144. package/lib/skills/runtime-skill-sync/zip-codec.js +1 -1
  145. package/lib/skills/runtime-skill-sync/zip-package.js +1 -1
  146. package/lib/skills/runtime-skill-sync.js +1 -1
  147. package/lib/skills/skill-presence.js +1 -1
  148. package/lib/utils/apply-jq-filter.js +1 -1
  149. package/lib/utils/logger.js +1 -1
  150. package/lib/utils/lossless-json.js +1 -1
  151. package/lib/utils/params.js +1 -1
  152. package/lib/utils/platform.js +1 -1
  153. package/lib/utils/update-notice.js +1 -1
  154. package/lib/utils/version.js +1 -1
  155. package/lib/utils/write-cli-side-channel.js +1 -1
  156. package/package.json +1 -1
  157. package/skills/lovrabet/SKILL.md +1 -1
  158. package/skills/lovrabet.manifest.json +3 -3
@@ -1 +1 @@
1
- const a149_0x8176e8=a149_0x3e10;function a149_0x514c(){const _0x61c130=['trim','map','clearLogs','warn','162thHHyB','Completed:\x20','clear','setLogPath','Starting:\x20','30040VTRKUH','now','stringify','setRawCommand','addColors','initWinstonLogger','10cWiEJB','94KrGdAk','14896278yYYGIn','filter','red','464YEvsRa','existsSync','7943727gLFjOF','48XuaPTR','green','utf8','format','duration','rawCommand','message','dirname','details','error','success','blue','createLogger','logTask','info','join','File','readFileSync','logFilePath','16938120FfZbtl','command','getWinstonInstance','combine','5397186RLwjpb','5dSUTkf','transports','level','Failed:\x20','62993DZmITb','currentRawCommand','writeFileSync','winstonLogger','split','toISOString'];a149_0x514c=function(){return _0x61c130;};return a149_0x514c();}(function(_0x1dc12e,_0x17a6bb){const _0xeb7cb7=a149_0x3e10,_0x48ee43=_0x1dc12e();while(!![]){try{const _0x29d1d1=parseInt(_0xeb7cb7(0xde))/0x1*(parseInt(_0xeb7cb7(0xd2))/0x2)+-parseInt(_0xeb7cb7(0xac))/0x3*(parseInt(_0xeb7cb7(0xd7))/0x4)+-parseInt(_0xeb7cb7(0xc4))/0x5*(-parseInt(_0xeb7cb7(0xc3))/0x6)+-parseInt(_0xeb7cb7(0xc8))/0x7*(-parseInt(_0xeb7cb7(0xa9))/0x8)+parseInt(_0xeb7cb7(0xdf))/0x9*(parseInt(_0xeb7cb7(0xdd))/0xa)+-parseInt(_0xeb7cb7(0xab))/0xb+-parseInt(_0xeb7cb7(0xbf))/0xc;if(_0x29d1d1===_0x17a6bb)break;else _0x48ee43['push'](_0x48ee43['shift']());}catch(_0x403c37){_0x48ee43['push'](_0x48ee43['shift']());}}}(a149_0x514c,0xcabc2));function a149_0x3e10(_0x3f3c9a,_0x3e0393){_0x3f3c9a=_0x3f3c9a-0xa8;const _0x514ca3=a149_0x514c();let _0x3e1081=_0x514ca3[_0x3f3c9a];return _0x3e1081;}import a149_0x202ca5 from'winston';import a149_0x19061c from'node:fs';import a149_0x2f2f50 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';class Logger{[a149_0x8176e8(0xcb)];[a149_0x8176e8(0xbe)]='';[a149_0x8176e8(0xc9)]='';constructor(){}[a149_0x8176e8(0xda)](_0x3ad8c3){const _0x455adf=a149_0x8176e8;this[_0x455adf(0xc9)]=_0x3ad8c3;}[a149_0x8176e8(0xd5)](_0x300e82){const _0x2498e1=a149_0x8176e8;this['logFilePath']=a149_0x2f2f50[_0x2498e1(0xbb)](_0x300e82,PRODUCT_CONFIG['logFileName']),this[_0x2498e1(0xcb)]&&this[_0x2498e1(0xcb)][_0x2498e1(0xd4)](),this['initWinstonLogger']();}[a149_0x8176e8(0xdc)](){const _0x3be46=a149_0x8176e8,_0xbf2a4a=a149_0x2f2f50[_0x3be46(0xb3)](this[_0x3be46(0xbe)]);!a149_0x19061c['existsSync'](_0xbf2a4a)&&a149_0x19061c['mkdirSync'](_0xbf2a4a,{'recursive':!![]});const _0x57d606=a149_0x202ca5['format'][_0x3be46(0xc2)](a149_0x202ca5[_0x3be46(0xaf)]['timestamp'](),a149_0x202ca5[_0x3be46(0xaf)]['errors']({'stack':!![]}),a149_0x202ca5['format']['printf'](_0x407280=>{const _0x3040bc=_0x3be46,_0x1f1063={'timestamp':_0x407280['timestamp']||new Date()[_0x3040bc(0xcd)](),'level':_0x407280[_0x3040bc(0xc6)]||_0x3040bc(0xba),'command':_0x407280[_0x3040bc(0xc0)]||'unknown','rawCommand':_0x407280[_0x3040bc(0xb1)]||this[_0x3040bc(0xc9)]||undefined,'message':_0x407280[_0x3040bc(0xb2)]||'','duration':_0x407280[_0x3040bc(0xb0)]||undefined,'details':_0x407280[_0x3040bc(0xb4)]||undefined};return JSON[_0x3040bc(0xd9)](_0x1f1063);}));this['winstonLogger']=a149_0x202ca5[_0x3be46(0xb8)]({'level':_0x3be46(0xba),'format':_0x57d606,'transports':[new a149_0x202ca5[(_0x3be46(0xc5))][(_0x3be46(0xbc))]({'filename':this['logFilePath'],'level':_0x3be46(0xba)})],'silent':![]}),a149_0x202ca5[_0x3be46(0xdb)]({'success':_0x3be46(0xad),'error':_0x3be46(0xa8),'warn':'yellow','info':_0x3be46(0xb7)});}[a149_0x8176e8(0xba)](_0x194c43,_0x3e495d,_0x23a970){const _0x15052b=a149_0x8176e8;if(!this[_0x15052b(0xbe)]||!this['winstonLogger'])return;this['winstonLogger'][_0x15052b(0xba)](_0x3e495d,{'command':_0x194c43,'details':_0x23a970});}['success'](_0x49b6de,_0xbbf074,_0x15231b,_0x44db01){const _0x2689ea=a149_0x8176e8;if(!this[_0x2689ea(0xbe)]||!this[_0x2689ea(0xcb)])return;this['winstonLogger']['log'](_0x2689ea(0xba),_0xbbf074,{'level':'success','command':_0x49b6de,'duration':_0x15231b,'details':_0x44db01});}[a149_0x8176e8(0xb5)](_0x5f1f4e,_0x16ff14,_0x4ab4b7){const _0x1f436c=a149_0x8176e8;if(!this[_0x1f436c(0xbe)]||!this[_0x1f436c(0xcb)])return;this[_0x1f436c(0xcb)][_0x1f436c(0xb5)](_0x16ff14,{'command':_0x5f1f4e,'details':_0x4ab4b7});}[a149_0x8176e8(0xd1)](_0x45853e,_0x3680a5,_0x20fb07){const _0x3fe27f=a149_0x8176e8;if(!this[_0x3fe27f(0xbe)]||!this[_0x3fe27f(0xcb)])return;this[_0x3fe27f(0xcb)][_0x3fe27f(0xd1)](_0x3680a5,{'command':_0x45853e,'details':_0x20fb07});}async[a149_0x8176e8(0xb9)](_0x69fc87,_0x499dab,_0x3fba6a){const _0x1f171e=a149_0x8176e8,_0x372f22=Date[_0x1f171e(0xd8)]();this[_0x1f171e(0xba)](_0x69fc87,_0x1f171e(0xd6)+_0x499dab);try{const _0x2f79c8=await _0x3fba6a(),_0x42ef84=Date['now']()-_0x372f22;return this[_0x1f171e(0xb6)](_0x69fc87,_0x1f171e(0xd3)+_0x499dab,_0x42ef84),_0x2f79c8;}catch(_0x1dbc41){const _0x1b74d0=Date['now']()-_0x372f22;this[_0x1f171e(0xb5)](_0x69fc87,_0x1f171e(0xc7)+_0x499dab,{'error':_0x1dbc41 instanceof Error?_0x1dbc41[_0x1f171e(0xb2)]:String(_0x1dbc41),'duration':_0x1b74d0});throw _0x1dbc41;}}['readLogs'](){const _0x1fd36c=a149_0x8176e8;try{if(!a149_0x19061c[_0x1fd36c(0xaa)](this[_0x1fd36c(0xbe)]))return[];const _0x339298=a149_0x19061c[_0x1fd36c(0xbd)](this[_0x1fd36c(0xbe)],_0x1fd36c(0xae));return _0x339298[_0x1fd36c(0xcc)](/\r?\n/)[_0x1fd36c(0xe0)](_0x333094=>_0x333094[_0x1fd36c(0xce)]())[_0x1fd36c(0xcf)](_0x542b24=>JSON['parse'](_0x542b24));}catch(_0x390418){return console[_0x1fd36c(0xd1)]('Failed\x20to\x20read\x20logs:',_0x390418),[];}}[a149_0x8176e8(0xd0)](){const _0x25980d=a149_0x8176e8;try{a149_0x19061c[_0x25980d(0xaa)](this[_0x25980d(0xbe)])&&a149_0x19061c[_0x25980d(0xca)](this[_0x25980d(0xbe)],'','utf8');}catch(_0x192c03){console['warn']('Failed\x20to\x20clear\x20logs:',_0x192c03);}}[a149_0x8176e8(0xc1)](){return this['winstonLogger'];}}export const logger=new Logger();
1
+ const a149_0x494fca=a149_0x3a23;(function(_0x5abe57,_0xee888e){const _0x2eca8b=a149_0x3a23,_0x2a42c3=_0x5abe57();while(!![]){try{const _0x1a8d94=parseInt(_0x2eca8b(0x15a))/0x1+parseInt(_0x2eca8b(0x168))/0x2+-parseInt(_0x2eca8b(0x170))/0x3+-parseInt(_0x2eca8b(0x16f))/0x4+parseInt(_0x2eca8b(0x164))/0x5*(parseInt(_0x2eca8b(0x154))/0x6)+parseInt(_0x2eca8b(0x15b))/0x7+-parseInt(_0x2eca8b(0x15f))/0x8;if(_0x1a8d94===_0xee888e)break;else _0x2a42c3['push'](_0x2a42c3['shift']());}catch(_0xc4b977){_0x2a42c3['push'](_0x2a42c3['shift']());}}}(a149_0x5329,0xa0cb9));import a149_0x244a7b from'winston';import a149_0x14e1d8 from'node:fs';function a149_0x5329(){const _0x55ca32=['info','transports','15509736bxTmBn','format','Failed:\x20','clearLogs','readFileSync','5953085qnNoFL','error','winstonLogger','Completed:\x20','2332588EWWkKK','Failed\x20to\x20clear\x20logs:','timestamp','errors','createLogger','logFilePath','setRawCommand','2007852XxoAYr','1950249yAeUNf','writeFileSync','rawCommand','success','red','currentRawCommand','Failed\x20to\x20read\x20logs:','clear','split','yellow','blue','utf8','logFileName','details','mkdirSync','filter','parse','existsSync','Starting:\x20','stringify','printf','level','now','map','join','command','readLogs','6WLhWoN','duration','logTask','warn','initWinstonLogger','message','1306620PQzJDr','600943RSIBJc','File'];a149_0x5329=function(){return _0x55ca32;};return a149_0x5329();}import a149_0x156906 from'node:path';import{PRODUCT_CONFIG}from'../constant/product.js';function a149_0x3a23(_0x50f497,_0x133342){_0x50f497=_0x50f497-0x146;const _0x5329e1=a149_0x5329();let _0x3a2392=_0x5329e1[_0x50f497];return _0x3a2392;}class Logger{[a149_0x494fca(0x166)];[a149_0x494fca(0x16d)]='';[a149_0x494fca(0x175)]='';constructor(){}[a149_0x494fca(0x16e)](_0x8ea7ea){const _0x1844f6=a149_0x494fca;this[_0x1844f6(0x175)]=_0x8ea7ea;}['setLogPath'](_0x5e98c2){const _0x5b7abc=a149_0x494fca;this[_0x5b7abc(0x16d)]=a149_0x156906[_0x5b7abc(0x151)](_0x5e98c2,PRODUCT_CONFIG[_0x5b7abc(0x17c)]),this[_0x5b7abc(0x166)]&&this[_0x5b7abc(0x166)][_0x5b7abc(0x177)](),this[_0x5b7abc(0x158)]();}[a149_0x494fca(0x158)](){const _0x3194d2=a149_0x494fca,_0x1a9cff=a149_0x156906['dirname'](this[_0x3194d2(0x16d)]);!a149_0x14e1d8['existsSync'](_0x1a9cff)&&a149_0x14e1d8[_0x3194d2(0x147)](_0x1a9cff,{'recursive':!![]});const _0x2a4f0d=a149_0x244a7b[_0x3194d2(0x160)]['combine'](a149_0x244a7b['format'][_0x3194d2(0x16a)](),a149_0x244a7b[_0x3194d2(0x160)][_0x3194d2(0x16b)]({'stack':!![]}),a149_0x244a7b[_0x3194d2(0x160)][_0x3194d2(0x14d)](_0x5e2516=>{const _0x33be1d=_0x3194d2,_0x201037={'timestamp':_0x5e2516['timestamp']||new Date()['toISOString'](),'level':_0x5e2516[_0x33be1d(0x14e)]||_0x33be1d(0x15d),'command':_0x5e2516[_0x33be1d(0x152)]||'unknown','rawCommand':_0x5e2516[_0x33be1d(0x172)]||this['currentRawCommand']||undefined,'message':_0x5e2516[_0x33be1d(0x159)]||'','duration':_0x5e2516[_0x33be1d(0x155)]||undefined,'details':_0x5e2516[_0x33be1d(0x146)]||undefined};return JSON[_0x33be1d(0x14c)](_0x201037);}));this['winstonLogger']=a149_0x244a7b[_0x3194d2(0x16c)]({'level':_0x3194d2(0x15d),'format':_0x2a4f0d,'transports':[new a149_0x244a7b[(_0x3194d2(0x15e))][(_0x3194d2(0x15c))]({'filename':this['logFilePath'],'level':_0x3194d2(0x15d)})],'silent':![]}),a149_0x244a7b['addColors']({'success':'green','error':_0x3194d2(0x174),'warn':_0x3194d2(0x179),'info':_0x3194d2(0x17a)});}[a149_0x494fca(0x15d)](_0x1fd486,_0x380bed,_0x4c457d){const _0x2ca899=a149_0x494fca;if(!this['logFilePath']||!this[_0x2ca899(0x166)])return;this[_0x2ca899(0x166)][_0x2ca899(0x15d)](_0x380bed,{'command':_0x1fd486,'details':_0x4c457d});}[a149_0x494fca(0x173)](_0x372c1f,_0x111333,_0x39299f,_0x4505a4){const _0x1debff=a149_0x494fca;if(!this[_0x1debff(0x16d)]||!this[_0x1debff(0x166)])return;this[_0x1debff(0x166)]['log']('info',_0x111333,{'level':_0x1debff(0x173),'command':_0x372c1f,'duration':_0x39299f,'details':_0x4505a4});}[a149_0x494fca(0x165)](_0x1052c0,_0x253861,_0x2f7f92){const _0x4e3897=a149_0x494fca;if(!this[_0x4e3897(0x16d)]||!this[_0x4e3897(0x166)])return;this[_0x4e3897(0x166)][_0x4e3897(0x165)](_0x253861,{'command':_0x1052c0,'details':_0x2f7f92});}[a149_0x494fca(0x157)](_0x2078fb,_0x3c2572,_0x1c4719){const _0x342b3c=a149_0x494fca;if(!this[_0x342b3c(0x16d)]||!this['winstonLogger'])return;this[_0x342b3c(0x166)][_0x342b3c(0x157)](_0x3c2572,{'command':_0x2078fb,'details':_0x1c4719});}async[a149_0x494fca(0x156)](_0x18be90,_0x3d141b,_0x536c80){const _0x176137=a149_0x494fca,_0x3f5c5c=Date[_0x176137(0x14f)]();this['info'](_0x18be90,_0x176137(0x14b)+_0x3d141b);try{const _0x1ac2f8=await _0x536c80(),_0x504039=Date['now']()-_0x3f5c5c;return this[_0x176137(0x173)](_0x18be90,_0x176137(0x167)+_0x3d141b,_0x504039),_0x1ac2f8;}catch(_0x1a9872){const _0x31ac54=Date[_0x176137(0x14f)]()-_0x3f5c5c;this[_0x176137(0x165)](_0x18be90,_0x176137(0x161)+_0x3d141b,{'error':_0x1a9872 instanceof Error?_0x1a9872[_0x176137(0x159)]:String(_0x1a9872),'duration':_0x31ac54});throw _0x1a9872;}}[a149_0x494fca(0x153)](){const _0x3b2ea5=a149_0x494fca;try{if(!a149_0x14e1d8[_0x3b2ea5(0x14a)](this['logFilePath']))return[];const _0x353b69=a149_0x14e1d8[_0x3b2ea5(0x163)](this[_0x3b2ea5(0x16d)],_0x3b2ea5(0x17b));return _0x353b69[_0x3b2ea5(0x178)](/\r?\n/)[_0x3b2ea5(0x148)](_0x19efa1=>_0x19efa1['trim']())[_0x3b2ea5(0x150)](_0x4bb2aa=>JSON[_0x3b2ea5(0x149)](_0x4bb2aa));}catch(_0x516659){return console['warn'](_0x3b2ea5(0x176),_0x516659),[];}}[a149_0x494fca(0x162)](){const _0x1becac=a149_0x494fca;try{a149_0x14e1d8[_0x1becac(0x14a)](this[_0x1becac(0x16d)])&&a149_0x14e1d8[_0x1becac(0x171)](this[_0x1becac(0x16d)],'','utf8');}catch(_0x3353c9){console[_0x1becac(0x157)](_0x1becac(0x169),_0x3353c9);}}['getWinstonInstance'](){const _0x251802=a149_0x494fca;return this[_0x251802(0x166)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a150_0x3624(){const _0x30db2d=['3042330KMEnAy','slice','51771DRafij','124FhSaJR','json','includes','prototype','undefined','3611082tJBkXl','1107650irECjx','defineProperty','exec','1MIPfVM','1743530whPBkb','3761336GVCcQM','7pudgLt','77wGvwVR','1821834GJNmSO','length','MIN_SAFE_INTEGER','getOwnPropertyDescriptor'];a150_0x3624=function(){return _0x30db2d;};return a150_0x3624();}const a150_0x1e242f=a150_0x48da;(function(_0x5968bd,_0x30c6f0){const _0x57cc31=a150_0x48da,_0x53e6b4=_0x5968bd();while(!![]){try{const _0x3d3ed1=parseInt(_0x57cc31(0x143))/0x1*(parseInt(_0x57cc31(0x140))/0x2)+-parseInt(_0x57cc31(0x14e))/0x3*(-parseInt(_0x57cc31(0x14f))/0x4)+parseInt(_0x57cc31(0x14c))/0x5+parseInt(_0x57cc31(0x13f))/0x6*(parseInt(_0x57cc31(0x146))/0x7)+-parseInt(_0x57cc31(0x145))/0x8+-parseInt(_0x57cc31(0x148))/0x9+parseInt(_0x57cc31(0x144))/0xa*(-parseInt(_0x57cc31(0x147))/0xb);if(_0x3d3ed1===_0x30c6f0)break;else _0x53e6b4['push'](_0x53e6b4['shift']());}catch(_0x4df741){_0x53e6b4['push'](_0x53e6b4['shift']());}}}(a150_0x3624,0x63219));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number['MAX_SAFE_INTEGER']),MIN_SAFE_INTEGER=BigInt(Number[a150_0x1e242f(0x14a)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0x20ff57){const _0xeee938=a150_0x1e242f;if(_0x20ff57['includes']('.')||_0x20ff57[_0xeee938(0x13c)]('e')||_0x20ff57[_0xeee938(0x13c)]('E'))return![];const _0x1dcc96=BigInt(_0x20ff57);return _0x1dcc96>MAX_SAFE_INTEGER||_0x1dcc96<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0x4f270e){const _0x1ed407=a150_0x1e242f;let _0x57dbf2='',_0x4e2fbc=![],_0x2bd895=![];for(let _0x1f3d6c=0x0;_0x1f3d6c<_0x4f270e[_0x1ed407(0x149)];){const _0x49a118=_0x4f270e[_0x1f3d6c];if(_0x4e2fbc){_0x57dbf2+=_0x49a118,_0x1f3d6c+=0x1;if(_0x2bd895)_0x2bd895=![];else{if(_0x49a118==='\x5c')_0x2bd895=!![];else _0x49a118==='\x22'&&(_0x4e2fbc=![]);}continue;}if(_0x49a118==='\x22'){_0x4e2fbc=!![],_0x57dbf2+=_0x49a118,_0x1f3d6c+=0x1;continue;}if(_0x49a118==='-'||_0x49a118>='0'&&_0x49a118<='9'){const _0x234559=JSON_NUMBER_PATTERN[_0x1ed407(0x142)](_0x4f270e[_0x1ed407(0x14d)](_0x1f3d6c))?.[0x0];if(_0x234559){_0x57dbf2+=isUnsafeIntegerLiteral(_0x234559)?'\x22'+_0x234559+'\x22':_0x234559,_0x1f3d6c+=_0x234559[_0x1ed407(0x149)];continue;}}_0x57dbf2+=_0x49a118,_0x1f3d6c+=0x1;}return _0x57dbf2;}function a150_0x48da(_0x473c0d,_0x308521){_0x473c0d=_0x473c0d-0x13c;const _0x362414=a150_0x3624();let _0x48da1a=_0x362414[_0x473c0d];return _0x48da1a;}export function parseLosslessJson(_0x142f5c){return JSON['parse'](quoteUnsafeIntegerLiterals(_0x142f5c));}export function installLosslessJsonResponseParser(){const _0x572573=a150_0x1e242f;if(typeof Response===_0x572573(0x13e))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x572573(0x13d)],originalResponseJsonDescriptor=Object[_0x572573(0x14b)](responseJsonPrototype,'json'),Object['defineProperty'](responseJsonPrototype,_0x572573(0x150),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x3134ec(){return parseLosslessJson(await this['text']());}}),restoreResponseJsonParser=()=>{const _0x383166=_0x572573;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0x383166(0x141)](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype[_0x383166(0x150)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}
1
+ const a150_0x1e185d=a150_0x3a5a;(function(_0x5afa09,_0x5ddf5d){const _0x45fac6=a150_0x3a5a,_0x2b9d91=_0x5afa09();while(!![]){try{const _0x41d024=parseInt(_0x45fac6(0x12c))/0x1*(-parseInt(_0x45fac6(0x138))/0x2)+-parseInt(_0x45fac6(0x130))/0x3+parseInt(_0x45fac6(0x12d))/0x4+-parseInt(_0x45fac6(0x12e))/0x5+parseInt(_0x45fac6(0x124))/0x6*(-parseInt(_0x45fac6(0x136))/0x7)+parseInt(_0x45fac6(0x137))/0x8+parseInt(_0x45fac6(0x129))/0x9;if(_0x41d024===_0x5ddf5d)break;else _0x2b9d91['push'](_0x2b9d91['shift']());}catch(_0x35baca){_0x2b9d91['push'](_0x2b9d91['shift']());}}}(a150_0x1226,0x8e5e8));const JSON_NUMBER_PATTERN=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,MAX_SAFE_INTEGER=BigInt(Number['MAX_SAFE_INTEGER']),MIN_SAFE_INTEGER=BigInt(Number[a150_0x1e185d(0x135)]);let restoreResponseJsonParser,responseJsonPrototype,originalResponseJsonDescriptor;function isUnsafeIntegerLiteral(_0xa8955f){const _0x36466b=a150_0x1e185d;if(_0xa8955f['includes']('.')||_0xa8955f['includes']('e')||_0xa8955f[_0x36466b(0x125)]('E'))return![];const _0x5a8acd=BigInt(_0xa8955f);return _0x5a8acd>MAX_SAFE_INTEGER||_0x5a8acd<MIN_SAFE_INTEGER;}function quoteUnsafeIntegerLiterals(_0xbec89e){const _0x269b05=a150_0x1e185d;let _0x3f7162='',_0x12a0cb=![],_0x51f125=![];for(let _0x2565f1=0x0;_0x2565f1<_0xbec89e[_0x269b05(0x12a)];){const _0x15132a=_0xbec89e[_0x2565f1];if(_0x12a0cb){_0x3f7162+=_0x15132a,_0x2565f1+=0x1;if(_0x51f125)_0x51f125=![];else{if(_0x15132a==='\x5c')_0x51f125=!![];else _0x15132a==='\x22'&&(_0x12a0cb=![]);}continue;}if(_0x15132a==='\x22'){_0x12a0cb=!![],_0x3f7162+=_0x15132a,_0x2565f1+=0x1;continue;}if(_0x15132a==='-'||_0x15132a>='0'&&_0x15132a<='9'){const _0x373421=JSON_NUMBER_PATTERN[_0x269b05(0x12b)](_0xbec89e[_0x269b05(0x12f)](_0x2565f1))?.[0x0];if(_0x373421){_0x3f7162+=isUnsafeIntegerLiteral(_0x373421)?'\x22'+_0x373421+'\x22':_0x373421,_0x2565f1+=_0x373421[_0x269b05(0x12a)];continue;}}_0x3f7162+=_0x15132a,_0x2565f1+=0x1;}return _0x3f7162;}export function parseLosslessJson(_0x51fcce){const _0x15079e=a150_0x1e185d;return JSON[_0x15079e(0x132)](quoteUnsafeIntegerLiterals(_0x51fcce));}export function installLosslessJsonResponseParser(){const _0x4686df=a150_0x1e185d;if(typeof Response===_0x4686df(0x126))return()=>{};if(restoreResponseJsonParser)return restoreResponseJsonParser;return responseJsonPrototype=Response[_0x4686df(0x134)],originalResponseJsonDescriptor=Object[_0x4686df(0x133)](responseJsonPrototype,_0x4686df(0x128)),Object['defineProperty'](responseJsonPrototype,_0x4686df(0x128),{...originalResponseJsonDescriptor??{'configurable':!![],'enumerable':![],'writable':!![]},'value':async function _0x37befb(){const _0x41523c=_0x4686df;return parseLosslessJson(await this[_0x41523c(0x131)]());}}),restoreResponseJsonParser=()=>{const _0xa8e3eb=_0x4686df;if(!responseJsonPrototype)return;originalResponseJsonDescriptor?Object[_0xa8e3eb(0x127)](responseJsonPrototype,'json',originalResponseJsonDescriptor):delete responseJsonPrototype[_0xa8e3eb(0x128)],responseJsonPrototype=undefined,originalResponseJsonDescriptor=undefined,restoreResponseJsonParser=undefined;},restoreResponseJsonParser;}function a150_0x3a5a(_0xf32e37,_0x2d1498){_0xf32e37=_0xf32e37-0x124;const _0x12265c=a150_0x1226();let _0x3a5ad9=_0x12265c[_0xf32e37];return _0x3a5ad9;}export function restoreLosslessJsonResponseParser(){restoreResponseJsonParser?.();}function a150_0x1226(){const _0x33fe9b=['json','9835164GEyant','length','exec','46RrTtZa','4381996ScpBGT','2300710iXMNnt','slice','477930APMLiZ','text','parse','getOwnPropertyDescriptor','prototype','MIN_SAFE_INTEGER','7KPuTuF','4443720hObJgK','44414BbbfZy','3117852ytnWUs','includes','undefined','defineProperty'];a150_0x1226=function(){return _0x33fe9b;};return a150_0x1226();}
@@ -1 +1 @@
1
- (function(_0x42b493,_0x5c25df){const _0xa6bdce=a151_0x3cf1,_0xc4321a=_0x42b493();while(!![]){try{const _0x4ffc31=-parseInt(_0xa6bdce(0x12f))/0x1+-parseInt(_0xa6bdce(0x144))/0x2*(parseInt(_0xa6bdce(0x142))/0x3)+parseInt(_0xa6bdce(0x140))/0x4*(-parseInt(_0xa6bdce(0x145))/0x5)+-parseInt(_0xa6bdce(0x138))/0x6*(-parseInt(_0xa6bdce(0x133))/0x7)+parseInt(_0xa6bdce(0x12a))/0x8*(parseInt(_0xa6bdce(0x13a))/0x9)+parseInt(_0xa6bdce(0x13f))/0xa+parseInt(_0xa6bdce(0x136))/0xb;if(_0x4ffc31===_0x5c25df)break;else _0xc4321a['push'](_0xc4321a['shift']());}catch(_0x223769){_0xc4321a['push'](_0xc4321a['shift']());}}}(a151_0xbd05,0xed079));import{CliErrors}from'../errors.js';function a151_0xbd05(){const _0x3cc686=['map','63BteeYf','isArray','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','object','6612470CUydol','164jffTKw','items','76029RAzWnP','string','64jsldjK','209770cyhyvO','validation','\x20records\x20per\x20call;\x20received\x20','number','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','2139056bLDJEq','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','data\x20update\x20--params.','test','join','974380VLAyFF','data\x20update\x20can\x20update\x20at\x20most\x20','id[','isSafeInteger','7wtCdiO','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','809116MOHdYB','length','11219196HtStUx'];a151_0xbd05=function(){return _0x3cc686;};return a151_0xbd05();}import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;function a151_0x3cf1(_0x13b53d,_0x242d5b){_0x13b53d=_0x13b53d-0x128;const _0xbd05f3=a151_0xbd05();let _0x3cf1b1=_0xbd05f3[_0x13b53d];return _0x3cf1b1;}export function parseJsonParams(_0x436e70){const _0x302e89=a151_0x3cf1;if(!_0x436e70)return undefined;try{return parseLosslessJson(_0x436e70);}catch{throw CliErrors[_0x302e89(0x146)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x436e70);}}export function parseJsonParamsValue(_0xd86573){const _0x303e7a=a151_0x3cf1;if(!_0xd86573)return undefined;try{return parseLosslessJson(_0xd86573);}catch{throw CliErrors[_0x303e7a(0x146)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0xd86573);}}export function parseBatchCreateItemsFromParams(_0x5508ea){const _0x34bf86=a151_0x3cf1;if(Array['isArray'](_0x5508ea))return _0x5508ea;if(_0x5508ea!==null&&_0x5508ea!==undefined&&typeof _0x5508ea===_0x34bf86(0x13e)&&Array[_0x34bf86(0x13b)](_0x5508ea['items']))return _0x5508ea[_0x34bf86(0x141)];throw CliErrors['validation'](_0x34bf86(0x135),_0x34bf86(0x134));}function parseDataUpdateId(_0x24eef2,_0x499c55){const _0x947d31=a151_0x3cf1;if(typeof _0x24eef2===_0x947d31(0x128)&&Number[_0x947d31(0x132)](_0x24eef2)&&_0x24eef2>0x0)return _0x24eef2;if(typeof _0x24eef2===_0x947d31(0x143)){if(/^[1-9]\d*$/[_0x947d31(0x12d)](_0x24eef2))return _0x24eef2;}throw CliErrors[_0x947d31(0x146)](_0x947d31(0x12c)+_0x499c55+_0x947d31(0x13c));}export function parseUpdateIdsFromParams(_0x4f46ed){const _0x450793=a151_0x3cf1;if(_0x4f46ed===null||_0x4f46ed===undefined||typeof _0x4f46ed!==_0x450793(0x13e)||Array['isArray'](_0x4f46ed))throw CliErrors[_0x450793(0x146)]('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 _0x8759d0=_0x4f46ed['id'];if(_0x8759d0===undefined||_0x8759d0===null)throw CliErrors['validation'](_0x450793(0x12b),_0x450793(0x129));const _0x2ca509=Array[_0x450793(0x13b)](_0x8759d0)?_0x8759d0:[_0x8759d0];if(_0x2ca509[_0x450793(0x137)]===0x0)throw CliErrors[_0x450793(0x146)](_0x450793(0x13d));if(_0x2ca509['length']>MAX_DATA_UPDATE_IDS)throw CliErrors['validation'](_0x450793(0x130)+MAX_DATA_UPDATE_IDS+_0x450793(0x147)+_0x2ca509['length']+'.');return _0x2ca509[_0x450793(0x139)]((_0x127ea9,_0x5d834b)=>parseDataUpdateId(_0x127ea9,Array[_0x450793(0x13b)](_0x8759d0)?_0x450793(0x131)+_0x5d834b+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x5b197b,_0x6a60c9){const _0x593a49=a151_0x3cf1;if(Array[_0x593a49(0x13b)](_0x5b197b['id'])&&_0x6a60c9[_0x593a49(0x137)]>0x1)return{..._0x5b197b,'id':_0x6a60c9[_0x593a49(0x12e)](',')};return _0x5b197b;}
1
+ function a151_0x2dab(){const _0x4cd3ab=['isArray','446392PxJLwb','903608SNUNtq','map','3427508ArSkmX','number','data\x20update\x20id\x20array\x20cannot\x20be\x20empty.','string','1994358VQMrkq','36fevrnp','batchCreate\x20--params\x20must\x20be\x20a\x20JSON\x20array\x20or\x20{\x22items\x22:[...]}','\x20records\x20per\x20call;\x20received\x20','test','length','1601165ojpUnB','\x20must\x20be\x20a\x20positive\x20integer\x20or\x20numeric\x20string.','isSafeInteger','data\x20update\x20requires\x20\x22id\x22\x20in\x20--params.','Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27','13194SLaIst','Example:\x20--params\x20\x27[{\x22name\x22:\x22a\x22},{\x22name\x22:\x22b\x22}]\x27','Invalid\x20JSON\x20for\x20--params:\x20','join','items','object','data\x20update\x20--params\x20must\x20be\x20a\x20JSON\x20object\x20with\x20id.','data\x20update\x20--params.','1561878gwkyhS','validation','id[','1267TVWAdY'];a151_0x2dab=function(){return _0x4cd3ab;};return a151_0x2dab();}(function(_0x110443,_0x436776){const _0x164864=a151_0x1b3f,_0x126513=_0x110443();while(!![]){try{const _0x6eeacf=-parseInt(_0x164864(0x1bf))/0x1+-parseInt(_0x164864(0x1d9))/0x2+parseInt(_0x164864(0x1c6))/0x3+parseInt(_0x164864(0x1c2))/0x4+parseInt(_0x164864(0x1cc))/0x5+-parseInt(_0x164864(0x1d1))/0x6*(parseInt(_0x164864(0x1dc))/0x7)+-parseInt(_0x164864(0x1c0))/0x8*(-parseInt(_0x164864(0x1c7))/0x9);if(_0x6eeacf===_0x436776)break;else _0x126513['push'](_0x126513['shift']());}catch(_0x3d28e5){_0x126513['push'](_0x126513['shift']());}}}(a151_0x2dab,0xa32be));import{CliErrors}from'../errors.js';import{parseLosslessJson}from'../utils/lossless-json.js';export const MAX_DATA_UPDATE_IDS=0x3e8;export function parseJsonParams(_0x3eee4f){const _0x40e526=a151_0x1b3f;if(!_0x3eee4f)return undefined;try{return parseLosslessJson(_0x3eee4f);}catch{throw CliErrors['validation'](_0x40e526(0x1d3)+_0x3eee4f);}}function a151_0x1b3f(_0x42d25f,_0x1bd297){_0x42d25f=_0x42d25f-0x1be;const _0x2dab6c=a151_0x2dab();let _0x1b3fd8=_0x2dab6c[_0x42d25f];return _0x1b3fd8;}export function parseJsonParamsValue(_0x3793a5){const _0x21cefa=a151_0x1b3f;if(!_0x3793a5)return undefined;try{return parseLosslessJson(_0x3793a5);}catch{throw CliErrors['validation'](_0x21cefa(0x1d3)+_0x3793a5);}}export function parseBatchCreateItemsFromParams(_0x3843a0){const _0x8c2f50=a151_0x1b3f;if(Array['isArray'](_0x3843a0))return _0x3843a0;if(_0x3843a0!==null&&_0x3843a0!==undefined&&typeof _0x3843a0==='object'&&Array[_0x8c2f50(0x1be)](_0x3843a0[_0x8c2f50(0x1d5)]))return _0x3843a0[_0x8c2f50(0x1d5)];throw CliErrors[_0x8c2f50(0x1da)](_0x8c2f50(0x1c8),_0x8c2f50(0x1d2));}function parseDataUpdateId(_0x5db5dc,_0x12ea3a){const _0x3a0191=a151_0x1b3f;if(typeof _0x5db5dc===_0x3a0191(0x1c3)&&Number[_0x3a0191(0x1ce)](_0x5db5dc)&&_0x5db5dc>0x0)return _0x5db5dc;if(typeof _0x5db5dc===_0x3a0191(0x1c5)){if(/^[1-9]\d*$/[_0x3a0191(0x1ca)](_0x5db5dc))return _0x5db5dc;}throw CliErrors['validation'](_0x3a0191(0x1d8)+_0x12ea3a+_0x3a0191(0x1cd));}export function parseUpdateIdsFromParams(_0xa532fb){const _0x3495d9=a151_0x1b3f;if(_0xa532fb===null||_0xa532fb===undefined||typeof _0xa532fb!==_0x3495d9(0x1d6)||Array['isArray'](_0xa532fb))throw CliErrors[_0x3495d9(0x1da)](_0x3495d9(0x1d7),_0x3495d9(0x1d0));const _0x863ac1=_0xa532fb['id'];if(_0x863ac1===undefined||_0x863ac1===null)throw CliErrors[_0x3495d9(0x1da)](_0x3495d9(0x1cf),'Example:\x20--params\x20\x27{\x22id\x22:[1,2,3],\x22status\x22:\x22done\x22}\x27');const _0x11cbb7=Array[_0x3495d9(0x1be)](_0x863ac1)?_0x863ac1:[_0x863ac1];if(_0x11cbb7[_0x3495d9(0x1cb)]===0x0)throw CliErrors[_0x3495d9(0x1da)](_0x3495d9(0x1c4));if(_0x11cbb7['length']>MAX_DATA_UPDATE_IDS)throw CliErrors['validation']('data\x20update\x20can\x20update\x20at\x20most\x20'+MAX_DATA_UPDATE_IDS+_0x3495d9(0x1c9)+_0x11cbb7[_0x3495d9(0x1cb)]+'.');return _0x11cbb7[_0x3495d9(0x1c1)]((_0x420836,_0xc5bc2f)=>parseDataUpdateId(_0x420836,Array[_0x3495d9(0x1be)](_0x863ac1)?_0x3495d9(0x1db)+_0xc5bc2f+']':'id'));}export function normalizeUpdateParamsForRuntime(_0x44c424,_0x107ffb){const _0x1257ce=a151_0x1b3f;if(Array[_0x1257ce(0x1be)](_0x44c424['id'])&&_0x107ffb[_0x1257ce(0x1cb)]>0x1)return{..._0x44c424,'id':_0x107ffb[_0x1257ce(0x1d4)](',')};return _0x44c424;}
@@ -1 +1 @@
1
- function a152_0x2d4f(){const _0x517dc3=['8200020egJwrd','156044eyGXqX','426720zvFubl','.cmd','platform','226647DmdgPx','256Fptnac','478611RhQVom','68WBbpYY','440043rIQQNj','7112920AUwzYy'];a152_0x2d4f=function(){return _0x517dc3;};return a152_0x2d4f();}const a152_0x146328=a152_0xd110;function a152_0xd110(_0x2a304d,_0xcb8345){_0x2a304d=_0x2a304d-0xce;const _0x2d4f53=a152_0x2d4f();let _0xd1109b=_0x2d4f53[_0x2a304d];return _0xd1109b;}(function(_0x28b21f,_0x2ac286){const _0x19a82d=a152_0xd110,_0x46be35=_0x28b21f();while(!![]){try{const _0x5d3715=parseInt(_0x19a82d(0xd0))/0x1+-parseInt(_0x19a82d(0xd4))/0x2+-parseInt(_0x19a82d(0xd7))/0x3*(parseInt(_0x19a82d(0xcf))/0x4)+parseInt(_0x19a82d(0xd1))/0x5+parseInt(_0x19a82d(0xd2))/0x6+-parseInt(_0x19a82d(0xd3))/0x7*(parseInt(_0x19a82d(0xd8))/0x8)+-parseInt(_0x19a82d(0xce))/0x9;if(_0x5d3715===_0x2ac286)break;else _0x46be35['push'](_0x46be35['shift']());}catch(_0x2b956f){_0x46be35['push'](_0x46be35['shift']());}}}(a152_0x2d4f,0xeb9d9));export const isWindows=process[a152_0x146328(0xd6)]==='win32';export function resolveNpmBin(_0x335421){const _0x757604=a152_0x146328;return isWindows?_0x335421+_0x757604(0xd5):_0x335421;}
1
+ function a152_0x3db7(_0xd5691,_0x9fd04b){_0xd5691=_0xd5691-0xb3;const _0x401388=a152_0x4013();let _0x3db7a9=_0x401388[_0xd5691];return _0x3db7a9;}function a152_0x4013(){const _0x1740b2=['71160rDPMwN','511440ZJQUNE','142800lFrLsR','192dAoPbF','3577110PWyQtX','1468107oiFwRm','8VnRKXU','600dBIeqg','10160wrOASk','platform','11CDmncQ','win32','7hOwMiS'];a152_0x4013=function(){return _0x1740b2;};return a152_0x4013();}const a152_0x4e94a1=a152_0x3db7;(function(_0x2980d5,_0x49d536){const _0x31366d=a152_0x3db7,_0x5420c4=_0x2980d5();while(!![]){try{const _0x5eab72=-parseInt(_0x31366d(0xb5))/0x1+-parseInt(_0x31366d(0xb7))/0x2+-parseInt(_0x31366d(0xb6))/0x3+-parseInt(_0x31366d(0xb8))/0x4*(parseInt(_0x31366d(0xbd))/0x5)+-parseInt(_0x31366d(0xbc))/0x6*(parseInt(_0x31366d(0xb4))/0x7)+parseInt(_0x31366d(0xbb))/0x8*(parseInt(_0x31366d(0xba))/0x9)+parseInt(_0x31366d(0xb9))/0xa*(parseInt(_0x31366d(0xbf))/0xb);if(_0x5eab72===_0x49d536)break;else _0x5420c4['push'](_0x5420c4['shift']());}catch(_0xc8f1df){_0x5420c4['push'](_0x5420c4['shift']());}}}(a152_0x4013,0x1ae4e));export const isWindows=process[a152_0x4e94a1(0xbe)]===a152_0x4e94a1(0xb3);export function resolveNpmBin(_0x41ff4c){return isWindows?_0x41ff4c+'.cmd':_0x41ff4c;}
@@ -1 +1 @@
1
- (function(_0x1aba6b,_0x41bd78){const _0x4645ee=a153_0x40a6,_0x2dbfb4=_0x1aba6b();while(!![]){try{const _0x38c73e=-parseInt(_0x4645ee(0x16c))/0x1*(-parseInt(_0x4645ee(0x172))/0x2)+-parseInt(_0x4645ee(0x168))/0x3*(-parseInt(_0x4645ee(0x163))/0x4)+-parseInt(_0x4645ee(0x17d))/0x5+-parseInt(_0x4645ee(0x165))/0x6+-parseInt(_0x4645ee(0x17b))/0x7*(-parseInt(_0x4645ee(0x164))/0x8)+-parseInt(_0x4645ee(0x174))/0x9+-parseInt(_0x4645ee(0x170))/0xa;if(_0x38c73e===_0x41bd78)break;else _0x2dbfb4['push'](_0x2dbfb4['shift']());}catch(_0x18e74c){_0x2dbfb4['push'](_0x2dbfb4['shift']());}}}(a153_0x38a4,0xb9718));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(_0x557812){const _0x2bb8b7=a153_0x40a6,_0x4c79f8=_0x557812[_0x2bb8b7(0x175)]()[_0x2bb8b7(0x17a)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0x4c79f8)return null;return{'major':Number(_0x4c79f8[0x1]),'minor':Number(_0x4c79f8[0x2]),'patch':Number(_0x4c79f8[0x3]),'prerelease':_0x4c79f8[0x4]};}function compareSemver(_0x4678a3,_0x20d41a){const _0x56bf3b=a153_0x40a6,_0x13ea2c=parseSemver(_0x4678a3),_0x5d11ea=parseSemver(_0x20d41a);if(!_0x13ea2c||!_0x5d11ea)throw new Error(_0x56bf3b(0x166));for(const _0x4d9d99 of[_0x56bf3b(0x176),_0x56bf3b(0x15d),_0x56bf3b(0x16b)]){if(_0x13ea2c[_0x4d9d99]<_0x5d11ea[_0x4d9d99])return-0x1;if(_0x13ea2c[_0x4d9d99]>_0x5d11ea[_0x4d9d99])return 0x1;}if(!_0x13ea2c[_0x56bf3b(0x17c)]&&!_0x5d11ea[_0x56bf3b(0x17c)])return 0x0;if(!_0x13ea2c['prerelease'])return 0x1;if(!_0x5d11ea[_0x56bf3b(0x17c)])return-0x1;if(_0x13ea2c[_0x56bf3b(0x17c)]===_0x5d11ea[_0x56bf3b(0x17c)])return 0x0;return _0x13ea2c[_0x56bf3b(0x17c)]<_0x5d11ea[_0x56bf3b(0x17c)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x4b0cec=a153_0x40a6,_0x142382=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x4b0cec(0x175)]()['toLowerCase']();return _0x142382==='1'||_0x142382===_0x4b0cec(0x16e)||_0x142382===_0x4b0cec(0x173);}function cacheRoot(){const _0xad148f=a153_0x40a6;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0xad148f(0x177));}export function getUpdateNoticeCachePath(){return join(cacheRoot(),'lovrabet-cli','update-check.json');}async function readUpdateNoticeCache(){const _0x2c31fb=a153_0x40a6;try{const _0xd77c0a=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x5868f1=JSON['parse'](_0xd77c0a);if(!_0x5868f1||typeof _0x5868f1!==_0x2c31fb(0x179))return{};return _0x5868f1;}catch{return{};}}async function writeUpdateNoticeCache(_0x581145){const _0x4c775a=a153_0x40a6;try{const _0x54b490=getUpdateNoticeCachePath();await mkdir(dirname(_0x54b490),{'recursive':!![]}),await writeFile(_0x54b490,JSON[_0x4c775a(0x15a)](_0x581145,null,0x2)+'\x0a',_0x4c775a(0x15b));}catch{}}function a153_0x40a6(_0x452c10,_0x4862fd){_0x452c10=_0x452c10-0x157;const _0x38a45d=a153_0x38a4();let _0x40a625=_0x38a45d[_0x452c10];return _0x40a625;}function isFreshCheck(_0x28837a,_0x35a441){const _0x870f4f=a153_0x40a6;return typeof _0x28837a[_0x870f4f(0x169)]===_0x870f4f(0x16f)&&_0x35a441-_0x28837a[_0x870f4f(0x169)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x20fb69,_0x36746a,_0x25665f){const _0x4082c6=a153_0x40a6;return _0x20fb69['lastNotifiedVersion']===_0x36746a&&typeof _0x20fb69['lastNotifiedAt']===_0x4082c6(0x16f)&&_0x25665f-_0x20fb69['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}function a153_0x38a4(){const _0x1d4517=['2336799VJAgiU','checkedAt','now','patch','3xmGrKd','/-/package/','true','number','9256790QBkCAW','latest','489062nyvQMv','yes','674271MTrEEO','trim','major','.cache','string','object','match','4384219ZRHFyR','prerelease','4643215AyfuOp','\x20update',',\x20run:\x20','map','stringify','utf8','https://www.npmjs.com/package/','minor','fromEntries','/v/','\x20available,\x20current\x20','/dist-tags','filter','4WfeikJ','16dAyCwX','458058WMCIGt','Invalid\x20semver','entries'];a153_0x38a4=function(){return _0x1d4517;};return a153_0x38a4();}async function fetchNpmDistTags(_0x10ad9e=0x5dc){const _0x4f3e2d=a153_0x40a6;try{const _0x1a92a4=NPM_REGISTRY_BASE_URL+_0x4f3e2d(0x16d)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x4f3e2d(0x161),_0x5f76d=await fetch(_0x1a92a4,{'signal':AbortSignal['timeout'](_0x10ad9e)});if(!_0x5f76d['ok'])return null;const _0x5a4926=await _0x5f76d['json']();if(!_0x5a4926||typeof _0x5a4926!==_0x4f3e2d(0x179))return null;return Object[_0x4f3e2d(0x15e)](Object[_0x4f3e2d(0x167)](_0x5a4926)[_0x4f3e2d(0x162)](([,_0x1a6581])=>typeof _0x1a6581===_0x4f3e2d(0x178)&&_0x1a6581[_0x4f3e2d(0x175)]())[_0x4f3e2d(0x159)](([_0x388ac0,_0x106c03])=>[_0x388ac0,String(_0x106c03)[_0x4f3e2d(0x175)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x51e133){const _0x109e58=a153_0x40a6;return _0x109e58(0x15c)+LOVRABET_NPM_PACKAGE_NAME+_0x109e58(0x15f)+_0x51e133;}export async function resolveLatestUpdateNotice(){const _0x484042=a153_0x40a6;if(isUpdateNoticeDisabled())return null;try{const _0xf5b22c=Date[_0x484042(0x16a)](),_0x3e70ba=getCliVersion(),_0x32d4d9=await readUpdateNoticeCache();let _0x35ea59=isFreshCheck(_0x32d4d9,_0xf5b22c)?_0x32d4d9[_0x484042(0x171)]?.['trim']():undefined;if(!_0x35ea59&&!isFreshCheck(_0x32d4d9,_0xf5b22c)){const _0x2f012b=await fetchNpmDistTags();_0x35ea59=_0x2f012b?.['latest']?.[_0x484042(0x175)](),await writeUpdateNoticeCache({..._0x32d4d9,'checkedAt':_0xf5b22c,'latest':_0x35ea59,'failed':!_0x35ea59});}if(!_0x35ea59||compareSemver(_0x3e70ba,_0x35ea59)>=0x0)return null;if(isRecentlyNotified(_0x32d4d9,_0x35ea59,_0xf5b22c))return null;const _0x398af4=CLI_BIN_NAME+_0x484042(0x157);return await writeUpdateNoticeCache({..._0x32d4d9,'checkedAt':isFreshCheck(_0x32d4d9,_0xf5b22c)?_0x32d4d9[_0x484042(0x169)]:_0xf5b22c,'latest':_0x35ea59,'failed':![],'lastNotifiedVersion':_0x35ea59,'lastNotifiedAt':_0xf5b22c}),{'command':_0x398af4,'current':_0x3e70ba,'latest':_0x35ea59,'url':buildNpmVersionUrl(_0x35ea59),'message':CLI_BIN_NAME+'\x20'+_0x35ea59+_0x484042(0x160)+_0x3e70ba+_0x484042(0x158)+_0x398af4};}catch{return null;}}
1
+ (function(_0x53b639,_0x3b9c6b){const _0xe53df3=a153_0x4959,_0x5979f1=_0x53b639();while(!![]){try{const _0x51c5d8=-parseInt(_0xe53df3(0xa7))/0x1*(parseInt(_0xe53df3(0xb7))/0x2)+parseInt(_0xe53df3(0x99))/0x3*(-parseInt(_0xe53df3(0xc0))/0x4)+-parseInt(_0xe53df3(0xb9))/0x5*(parseInt(_0xe53df3(0xa0))/0x6)+parseInt(_0xe53df3(0xbd))/0x7+parseInt(_0xe53df3(0xc2))/0x8*(parseInt(_0xe53df3(0xbc))/0x9)+-parseInt(_0xe53df3(0xb8))/0xa*(-parseInt(_0xe53df3(0xc1))/0xb)+-parseInt(_0xe53df3(0xad))/0xc*(-parseInt(_0xe53df3(0xa5))/0xd);if(_0x51c5d8===_0x3b9c6b)break;else _0x5979f1['push'](_0x5979f1['shift']());}catch(_0x16aa77){_0x5979f1['push'](_0x5979f1['shift']());}}}(a153_0x1a60,0x4db08));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';function a153_0x4959(_0x2f0f2b,_0x285924){_0x2f0f2b=_0x2f0f2b-0x99;const _0x1a6055=a153_0x1a60();let _0x495918=_0x1a6055[_0x2f0f2b];return _0x495918;}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(_0x442ece){const _0xfd7bf6=a153_0x4959,_0xcf67de=_0x442ece['trim']()[_0xfd7bf6(0x9a)](/^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?$/);if(!_0xcf67de)return null;return{'major':Number(_0xcf67de[0x1]),'minor':Number(_0xcf67de[0x2]),'patch':Number(_0xcf67de[0x3]),'prerelease':_0xcf67de[0x4]};}function compareSemver(_0x3cb771,_0x5853cb){const _0x34e63c=a153_0x4959,_0x338da7=parseSemver(_0x3cb771),_0x5a5104=parseSemver(_0x5853cb);if(!_0x338da7||!_0x5a5104)throw new Error(_0x34e63c(0x9c));for(const _0x570491 of[_0x34e63c(0xb5),_0x34e63c(0xb6),_0x34e63c(0xac)]){if(_0x338da7[_0x570491]<_0x5a5104[_0x570491])return-0x1;if(_0x338da7[_0x570491]>_0x5a5104[_0x570491])return 0x1;}if(!_0x338da7[_0x34e63c(0xbf)]&&!_0x5a5104[_0x34e63c(0xbf)])return 0x0;if(!_0x338da7[_0x34e63c(0xbf)])return 0x1;if(!_0x5a5104[_0x34e63c(0xbf)])return-0x1;if(_0x338da7[_0x34e63c(0xbf)]===_0x5a5104['prerelease'])return 0x0;return _0x338da7[_0x34e63c(0xbf)]<_0x5a5104[_0x34e63c(0xbf)]?-0x1:0x1;}function isUpdateNoticeDisabled(){const _0x427788=a153_0x4959,_0x11068e=process.env.LOVRABET_NO_UPDATE_NOTICE?.[_0x427788(0xa8)]()['toLowerCase']();return _0x11068e==='1'||_0x11068e==='true'||_0x11068e===_0x427788(0xa1);}function cacheRoot(){const _0x39bc7d=a153_0x4959;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x39bc7d(0x9d));}export function getUpdateNoticeCachePath(){const _0x13da5b=a153_0x4959;return join(cacheRoot(),_0x13da5b(0xae),_0x13da5b(0xbb));}async function readUpdateNoticeCache(){const _0x3ca869=a153_0x4959;try{const _0x141824=await readFile(getUpdateNoticeCachePath(),_0x3ca869(0xa3)),_0x23091c=JSON[_0x3ca869(0xc3)](_0x141824);if(!_0x23091c||typeof _0x23091c!==_0x3ca869(0xba))return{};return _0x23091c;}catch{return{};}}function a153_0x1a60(){const _0x1f5ecb=['string','18QLmJiN','yes','json','utf8','\x20update','16809DwuSoa','/v/','9769WVxLTE','trim','map','https://www.npmjs.com/package/','latest','patch','4896SbTrAZ','lovrabet-cli','number','\x20available,\x20current\x20','/dist-tags','filter','checkedAt','/-/package/','major','minor','98GDxSuH','9630oMkWQN','289430tCgSes','object','update-check.json','45mOTjEB','2827111EJIyJP','stringify','prerelease','448084IYMFVs','4609sBxqMV','133960vTRzDw','parse','12ARhjGJ','match',',\x20run:\x20','Invalid\x20semver','.cache','lastNotifiedAt'];a153_0x1a60=function(){return _0x1f5ecb;};return a153_0x1a60();}async function writeUpdateNoticeCache(_0x1e2cc6){const _0x22fc84=a153_0x4959;try{const _0xdd2923=getUpdateNoticeCachePath();await mkdir(dirname(_0xdd2923),{'recursive':!![]}),await writeFile(_0xdd2923,JSON[_0x22fc84(0xbe)](_0x1e2cc6,null,0x2)+'\x0a',_0x22fc84(0xa3));}catch{}}function isFreshCheck(_0x1af1a9,_0x449ce0){const _0x1ffde7=a153_0x4959;return typeof _0x1af1a9['checkedAt']===_0x1ffde7(0xaf)&&_0x449ce0-_0x1af1a9['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x4f3efe,_0x1d81b4,_0x1116dd){const _0x549f6c=a153_0x4959;return _0x4f3efe['lastNotifiedVersion']===_0x1d81b4&&typeof _0x4f3efe[_0x549f6c(0x9e)]===_0x549f6c(0xaf)&&_0x1116dd-_0x4f3efe['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}async function fetchNpmDistTags(_0x25c17f=0x5dc){const _0x1037de=a153_0x4959;try{const _0x15eaaa=NPM_REGISTRY_BASE_URL+_0x1037de(0xb4)+encodeURIComponent(LOVRABET_NPM_PACKAGE_NAME)+_0x1037de(0xb1),_0x2655eb=await fetch(_0x15eaaa,{'signal':AbortSignal['timeout'](_0x25c17f)});if(!_0x2655eb['ok'])return null;const _0x1816ce=await _0x2655eb[_0x1037de(0xa2)]();if(!_0x1816ce||typeof _0x1816ce!==_0x1037de(0xba))return null;return Object['fromEntries'](Object['entries'](_0x1816ce)[_0x1037de(0xb2)](([,_0x3ac1cc])=>typeof _0x3ac1cc===_0x1037de(0x9f)&&_0x3ac1cc['trim']())[_0x1037de(0xa9)](([_0x5383ca,_0x4a00d0])=>[_0x5383ca,String(_0x4a00d0)[_0x1037de(0xa8)]()]));}catch{return null;}}export function buildNpmVersionUrl(_0x5b8ecc){const _0x2042bf=a153_0x4959;return _0x2042bf(0xaa)+LOVRABET_NPM_PACKAGE_NAME+_0x2042bf(0xa6)+_0x5b8ecc;}export async function resolveLatestUpdateNotice(){const _0x2c61cb=a153_0x4959;if(isUpdateNoticeDisabled())return null;try{const _0x359b07=Date['now'](),_0x266761=getCliVersion(),_0x519650=await readUpdateNoticeCache();let _0xef58e7=isFreshCheck(_0x519650,_0x359b07)?_0x519650[_0x2c61cb(0xab)]?.[_0x2c61cb(0xa8)]():undefined;if(!_0xef58e7&&!isFreshCheck(_0x519650,_0x359b07)){const _0x15a6a7=await fetchNpmDistTags();_0xef58e7=_0x15a6a7?.['latest']?.['trim'](),await writeUpdateNoticeCache({..._0x519650,'checkedAt':_0x359b07,'latest':_0xef58e7,'failed':!_0xef58e7});}if(!_0xef58e7||compareSemver(_0x266761,_0xef58e7)>=0x0)return null;if(isRecentlyNotified(_0x519650,_0xef58e7,_0x359b07))return null;const _0x9d1add=CLI_BIN_NAME+_0x2c61cb(0xa4);return await writeUpdateNoticeCache({..._0x519650,'checkedAt':isFreshCheck(_0x519650,_0x359b07)?_0x519650[_0x2c61cb(0xb3)]:_0x359b07,'latest':_0xef58e7,'failed':![],'lastNotifiedVersion':_0xef58e7,'lastNotifiedAt':_0x359b07}),{'command':_0x9d1add,'current':_0x266761,'latest':_0xef58e7,'url':buildNpmVersionUrl(_0xef58e7),'message':CLI_BIN_NAME+'\x20'+_0xef58e7+_0x2c61cb(0xb0)+_0x266761+_0x2c61cb(0x9b)+_0x9d1add};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x4fc966,_0x3abc12){const _0x42be9e=a154_0xe99e,_0x4810d1=_0x4fc966();while(!![]){try{const _0x59694a=parseInt(_0x42be9e(0xa8))/0x1*(-parseInt(_0x42be9e(0xae))/0x2)+-parseInt(_0x42be9e(0xa9))/0x3*(-parseInt(_0x42be9e(0xaa))/0x4)+parseInt(_0x42be9e(0xa7))/0x5*(parseInt(_0x42be9e(0xb1))/0x6)+-parseInt(_0x42be9e(0xb0))/0x7+parseInt(_0x42be9e(0xad))/0x8+parseInt(_0x42be9e(0xac))/0x9*(parseInt(_0x42be9e(0xab))/0xa)+parseInt(_0x42be9e(0xaf))/0xb;if(_0x59694a===_0x3abc12)break;else _0x4810d1['push'](_0x4810d1['shift']());}catch(_0x1e78fe){_0x4810d1['push'](_0x4810d1['shift']());}}}(a154_0xb738,0xd7821));import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0x1d8664=String(GIT_COMMIT);return _0x1d8664&&_0x1d8664!=='unknown'?_0x1d8664:'';}export function getCliVersionDisplay(){const _0x1cdd56=getCliGitCommit(),_0x378010=BUILD_TIME['slice'](0x0,0xa);if(!_0x1cdd56||!_0x378010)return VERSION;return VERSION+'\x20('+_0x1cdd56+',\x20'+_0x378010+')';}function a154_0xe99e(_0x139a17,_0x48796a){_0x139a17=_0x139a17-0xa7;const _0xb73847=a154_0xb738();let _0xe99e07=_0xb73847[_0x139a17];return _0xe99e07;}function a154_0xb738(){const _0xedeb02=['1VJnQDT','66531KALQzM','28vfNcJH','976660UPhkML','81ZJWqBb','69160RrNUQd','650530ZraXFi','1391808uEwdkX','11044880ORwSBp','149208oapqIS','325ljXRgd'];a154_0xb738=function(){return _0xedeb02;};return a154_0xb738();}
1
+ (function(_0x9e988f,_0x1ff2e4){const _0x2ef337=a154_0x1af8,_0xf3555e=_0x9e988f();while(!![]){try{const _0x3cc7b0=parseInt(_0x2ef337(0xf5))/0x1*(parseInt(_0x2ef337(0xf9))/0x2)+-parseInt(_0x2ef337(0xf1))/0x3*(-parseInt(_0x2ef337(0xfa))/0x4)+-parseInt(_0x2ef337(0xfc))/0x5*(parseInt(_0x2ef337(0xf2))/0x6)+-parseInt(_0x2ef337(0xf4))/0x7*(-parseInt(_0x2ef337(0xfb))/0x8)+parseInt(_0x2ef337(0xfe))/0x9*(parseInt(_0x2ef337(0xf6))/0xa)+parseInt(_0x2ef337(0xfd))/0xb+-parseInt(_0x2ef337(0xf3))/0xc;if(_0x3cc7b0===_0x1ff2e4)break;else _0xf3555e['push'](_0xf3555e['shift']());}catch(_0x29e6d5){_0xf3555e['push'](_0xf3555e['shift']());}}}(a154_0x3701,0x48ee9));function a154_0x3701(){const _0x25c7ad=['554351xwoqUL','3070bURimW','slice','unknown','2zAFKCQ','10468zQuIVY','16lCoxWR','695535OOXLyD','5049572GrPDaR','8271dPptQw','33fZoRBm','12ZcGFDU','15424296jDWQgr','1882923FdXTsa'];a154_0x3701=function(){return _0x25c7ad;};return a154_0x3701();}import{BUILD_TIME,GIT_COMMIT,VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}export function getCliGitCommit(){const _0xabdd8d=a154_0x1af8,_0x40c968=String(GIT_COMMIT);return _0x40c968&&_0x40c968!==_0xabdd8d(0xf8)?_0x40c968:'';}function a154_0x1af8(_0x7ce249,_0x2a7ca2){_0x7ce249=_0x7ce249-0xf1;const _0x370165=a154_0x3701();let _0x1af8a0=_0x370165[_0x7ce249];return _0x1af8a0;}export function getCliVersionDisplay(){const _0x102885=a154_0x1af8,_0x2109c2=getCliGitCommit(),_0x35a7b3=BUILD_TIME[_0x102885(0xf7)](0x0,0xa);if(!_0x2109c2||!_0x35a7b3)return VERSION;return VERSION+'\x20('+_0x2109c2+',\x20'+_0x35a7b3+')';}
@@ -1 +1 @@
1
- (function(_0x1cdb73,_0x374c1c){var _0x213fdd=a155_0x3990,_0x5e186a=_0x1cdb73();while(!![]){try{var _0x3019ce=parseInt(_0x213fdd(0x102))/0x1+parseInt(_0x213fdd(0x105))/0x2+parseInt(_0x213fdd(0x107))/0x3+-parseInt(_0x213fdd(0x104))/0x4+-parseInt(_0x213fdd(0x109))/0x5+-parseInt(_0x213fdd(0x108))/0x6+parseInt(_0x213fdd(0x103))/0x7*(parseInt(_0x213fdd(0x101))/0x8);if(_0x3019ce===_0x374c1c)break;else _0x5e186a['push'](_0x5e186a['shift']());}catch(_0x200f56){_0x5e186a['push'](_0x5e186a['shift']());}}}(a155_0x1c54,0xe7bcd));export function writeCliSideChannelLine(_0x4ae306){var _0x116d3e=a155_0x3990;process[_0x116d3e(0x106)]['write'](_0x4ae306+'\x0a');}function a155_0x3990(_0x1d0721,_0xcc0cef){_0x1d0721=_0x1d0721-0x101;var _0x1c549b=a155_0x1c54();var _0x39901f=_0x1c549b[_0x1d0721];return _0x39901f;}function a155_0x1c54(){var _0x40753f=['stderr','353340MdTmqY','1677174UutLfj','3974655RzgAYr','203744VeDfnI','330897YftbtK','581weawEH','4526612rdsGtn','1185578mueFEB'];a155_0x1c54=function(){return _0x40753f;};return a155_0x1c54();}
1
+ function a155_0x2abf(_0x3252b2,_0x4bfcdc){_0x3252b2=_0x3252b2-0x18b;var _0x2baa2e=a155_0x2baa();var _0x2abf14=_0x2baa2e[_0x3252b2];return _0x2abf14;}(function(_0x577321,_0xc399a1){var _0x18607a=a155_0x2abf,_0x2b1f3a=_0x577321();while(!![]){try{var _0x26d130=-parseInt(_0x18607a(0x18e))/0x1*(parseInt(_0x18607a(0x18b))/0x2)+parseInt(_0x18607a(0x195))/0x3+parseInt(_0x18607a(0x18d))/0x4*(-parseInt(_0x18607a(0x192))/0x5)+-parseInt(_0x18607a(0x196))/0x6*(parseInt(_0x18607a(0x190))/0x7)+-parseInt(_0x18607a(0x18c))/0x8+-parseInt(_0x18607a(0x193))/0x9+parseInt(_0x18607a(0x191))/0xa;if(_0x26d130===_0xc399a1)break;else _0x2b1f3a['push'](_0x2b1f3a['shift']());}catch(_0x456c1c){_0x2b1f3a['push'](_0x2b1f3a['shift']());}}}(a155_0x2baa,0x7a5ee));export function writeCliSideChannelLine(_0x5ac3de){var _0x55da4b=a155_0x2abf;process[_0x55da4b(0x194)][_0x55da4b(0x18f)](_0x5ac3de+'\x0a');}function a155_0x2baa(){var _0x49da5a=['stderr','2835453gvHMYP','2659686gXMgZk','318FsAQdj','3706304MxRiyv','75292JNavKn','3203AGWJCi','write','7CZqXcZ','16415390wIHslU','75sHPRiX','3485421ppBcOc'];a155_0x2baa=function(){return _0x49da5a;};return a155_0x2baa();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/lovrabet-cli",
3
- "version": "2.2.7-beta.1",
3
+ "version": "2.2.7",
4
4
  "description": "Runtime CLI for Lovrabet apps, datasets, SQL, Backend Function, skills, and AI agent workflows.",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: lovrabet
3
3
  displayName: Lovrabet 运行态 CLI
4
- version: 2.2.7-beta.1
4
+ version: 2.2.7
5
5
  description: "Lovrabet 运行态 CLI — 面向业务场景的 AI 操作套件,通过 lovrabet 命令管理应用目录、业务角色与权限、用户级外部账号、Service Tree 业务命令、API 文档发现、数据集查询、Instant API 数据操作、Custom SQL/Backend Function、Personal Backend Function、文件上传、面向票证类业务材料文字与结构化字段提取的 OCR、定时任务、Skill、知识库与运行态 app-config key 状态检查。触发词:云图、lovrabet、lovrabet-cli、业务角色、角色成员、页面权限、菜单权限、数据集权限、user-account bind、provider 外部账号绑定、钉钉 userId 绑定、service tree、业务服务树、api-doc、dataset、data filter、file upload、file query-url、ocr recognize、OCR 识别、票证文字提取、票证字段提取、发票识别、票据识别、证照识别、附件上传、personal-bff、schedule、定时任务、cron、kb、skill、sql exec、bff exec、app-config、accessKey、compress、jq。"
6
6
  metadata:
7
7
  requires:
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "lovrabet",
4
4
  "packageName": "@lovrabet/lovrabet-cli",
5
- "packageVersion": "2.2.7-beta.1",
6
- "skillVersion": "2.2.7-beta.1",
5
+ "packageVersion": "2.2.7",
6
+ "skillVersion": "2.2.7",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/app-resolution.md",
@@ -37,5 +37,5 @@
37
37
  "references/lovrabet-user-account.md",
38
38
  "references/lovrabet-workspace.md"
39
39
  ],
40
- "digest": "4c06b5744381aba26154b54cc994049dd1a4f426818f939cea6be13cf292b761"
40
+ "digest": "9a93317b44b00c6aa73f86b181706a8e430136f20088fe9fa8ddf211560cf785"
41
41
  }