@lovrabet/rabetbase-cli 2.3.2-beta.1 → 2.3.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/discover.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app/use.js +1 -1
  26. package/lib/commands/app-config/delete.js +1 -1
  27. package/lib/commands/app-config/get.js +1 -1
  28. package/lib/commands/app-config/index.js +1 -1
  29. package/lib/commands/app-config/list.js +1 -1
  30. package/lib/commands/app-config/set.js +1 -1
  31. package/lib/commands/app-config/shared.js +1 -1
  32. package/lib/commands/auth/index.js +1 -1
  33. package/lib/commands/bff/create.js +1 -1
  34. package/lib/commands/bff/delete.js +1 -1
  35. package/lib/commands/bff/detail.js +1 -1
  36. package/lib/commands/bff/index.js +1 -1
  37. package/lib/commands/bff/list.js +1 -1
  38. package/lib/commands/bff/pull.js +1 -1
  39. package/lib/commands/bff/push.js +1 -1
  40. package/lib/commands/bff/status.js +1 -1
  41. package/lib/commands/cli-skill/index.js +1 -1
  42. package/lib/commands/cli-update.js +1 -1
  43. package/lib/commands/codegen/index.js +1 -1
  44. package/lib/commands/codegen/sdk.js +1 -1
  45. package/lib/commands/codegen/sql.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/flags.js +1 -1
  48. package/lib/commands/common/validate.js +1 -1
  49. package/lib/commands/config/get.js +1 -1
  50. package/lib/commands/config/index.js +1 -1
  51. package/lib/commands/config/list.js +1 -1
  52. package/lib/commands/config/set.js +1 -1
  53. package/lib/commands/config/shared.js +1 -1
  54. package/lib/commands/data/filter.js +1 -1
  55. package/lib/commands/data/getOne.js +1 -1
  56. package/lib/commands/data/index.js +1 -1
  57. package/lib/commands/data/shared.js +1 -1
  58. package/lib/commands/dataset/business-group-update.js +1 -1
  59. package/lib/commands/dataset/capability.js +1 -1
  60. package/lib/commands/dataset/delete.js +1 -1
  61. package/lib/commands/dataset/detail.js +1 -1
  62. package/lib/commands/dataset/extend-update.js +1 -1
  63. package/lib/commands/dataset/field-update.js +1 -1
  64. package/lib/commands/dataset/generate.js +1 -0
  65. package/lib/commands/dataset/index.js +1 -1
  66. package/lib/commands/dataset/list.js +1 -1
  67. package/lib/commands/dataset/operations.js +1 -1
  68. package/lib/commands/dataset/relation-audit.js +1 -1
  69. package/lib/commands/dataset/relation-create.js +1 -1
  70. package/lib/commands/dataset/relation-delete.js +1 -1
  71. package/lib/commands/dataset/relation-shared.js +1 -1
  72. package/lib/commands/dataset/relation-update.js +1 -1
  73. package/lib/commands/dataset/relations.js +1 -1
  74. package/lib/commands/dataset/rename.js +1 -1
  75. package/lib/commands/dataset/restore.js +1 -1
  76. package/lib/commands/db/analyze-cancel.js +1 -1
  77. package/lib/commands/db/analyze-start.js +1 -1
  78. package/lib/commands/db/analyze-status.js +1 -1
  79. package/lib/commands/db/create.js +1 -1
  80. package/lib/commands/db/delete.js +1 -1
  81. package/lib/commands/db/detail.js +1 -1
  82. package/lib/commands/db/diff.js +1 -1
  83. package/lib/commands/db/index.js +1 -1
  84. package/lib/commands/db/list.js +1 -1
  85. package/lib/commands/db/shared.js +1 -1
  86. package/lib/commands/db/tables.js +1 -1
  87. package/lib/commands/db/test.js +1 -1
  88. package/lib/commands/db/update.js +1 -1
  89. package/lib/commands/doctor.js +1 -1
  90. package/lib/commands/init/index.js +1 -1
  91. package/lib/commands/issue/index.js +1 -1
  92. package/lib/commands/issue/nudge.js +1 -1
  93. package/lib/commands/issue/report.js +1 -1
  94. package/lib/commands/issue/shared.js +1 -1
  95. package/lib/commands/logs/index.js +1 -1
  96. package/lib/commands/menu/index.js +1 -1
  97. package/lib/commands/menu/list.js +1 -1
  98. package/lib/commands/menu/shared/compare-table.js +1 -1
  99. package/lib/commands/menu/shared/index.js +1 -1
  100. package/lib/commands/menu/shared/inquirer.js +1 -1
  101. package/lib/commands/menu/shared/local-pages.js +1 -1
  102. package/lib/commands/menu/shared/logic.js +1 -1
  103. package/lib/commands/menu/shared/service.js +1 -1
  104. package/lib/commands/menu/shared/sync-core.js +1 -1
  105. package/lib/commands/menu/shared/update-core.js +1 -1
  106. package/lib/commands/menu/shared/valid-url.js +1 -1
  107. package/lib/commands/menu/sync.js +1 -1
  108. package/lib/commands/menu/update.js +1 -1
  109. package/lib/commands/page/generate-start.js +1 -1
  110. package/lib/commands/page/generate-status.js +1 -1
  111. package/lib/commands/page/index.js +1 -1
  112. package/lib/commands/page/pull.js +1 -1
  113. package/lib/commands/page/push.js +1 -1
  114. package/lib/commands/page/relation-audit.js +1 -1
  115. package/lib/commands/page/shared.js +1 -1
  116. package/lib/commands/page/standard-page-status.js +1 -1
  117. package/lib/commands/page/sync.js +1 -1
  118. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  119. package/lib/commands/project/create/format-elapsed.js +1 -1
  120. package/lib/commands/project/create/main.js +1 -1
  121. package/lib/commands/project/create/non-interactive.js +1 -1
  122. package/lib/commands/project/create/project-template-path.js +1 -1
  123. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  124. package/lib/commands/project/create/use-format-code.js +1 -1
  125. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  126. package/lib/commands/project/index.js +1 -1
  127. package/lib/commands/project/init.js +1 -1
  128. package/lib/commands/project/upgrade.js +1 -1
  129. package/lib/commands/registry.js +1 -1
  130. package/lib/commands/run/index.js +1 -1
  131. package/lib/commands/schema.js +1 -1
  132. package/lib/commands/sql/create.js +1 -1
  133. package/lib/commands/sql/delete.js +1 -1
  134. package/lib/commands/sql/detail.js +1 -1
  135. package/lib/commands/sql/exec.js +1 -1
  136. package/lib/commands/sql/index.js +1 -1
  137. package/lib/commands/sql/list.js +1 -1
  138. package/lib/commands/sql/pull.js +1 -1
  139. package/lib/commands/sql/push.js +1 -1
  140. package/lib/commands/sql/save.js +1 -1
  141. package/lib/commands/sql/shared.js +1 -1
  142. package/lib/commands/sql/status.js +1 -1
  143. package/lib/commands/sql/validate.js +1 -1
  144. package/lib/commands/workspace/index.js +1 -1
  145. package/lib/config/schema.js +1 -1
  146. package/lib/constant/cdn.js +1 -1
  147. package/lib/constant/cli.js +1 -1
  148. package/lib/constant/defaults.js +1 -1
  149. package/lib/constant/domain.js +1 -1
  150. package/lib/constant/env.js +1 -1
  151. package/lib/constant/output.js +1 -1
  152. package/lib/constant/paths.js +1 -1
  153. package/lib/constant/risk.js +1 -1
  154. package/lib/context/app-resolver.js +1 -1
  155. package/lib/context/auth-resolver.js +1 -1
  156. package/lib/context/config-loader.js +1 -1
  157. package/lib/context.js +1 -1
  158. package/lib/core/alias-resolver.js +1 -1
  159. package/lib/core/api-client.js +1 -1
  160. package/lib/core/bff/config.js +1 -1
  161. package/lib/core/bff/file-system.js +1 -1
  162. package/lib/core/bff/hash.js +1 -1
  163. package/lib/core/bff/lock.js +1 -1
  164. package/lib/core/bff/utils.js +1 -1
  165. package/lib/core/db-resolver.js +1 -1
  166. package/lib/core/page/file-system.js +1 -1
  167. package/lib/core/page/hash.js +1 -1
  168. package/lib/core/page/lock.js +1 -1
  169. package/lib/core/sql-sync/config.js +1 -1
  170. package/lib/core/sql-sync/file-system.js +1 -1
  171. package/lib/core/sql-sync/hash.js +1 -1
  172. package/lib/core/sql-sync/lock.js +1 -1
  173. package/lib/core/sql-sync/utils.js +1 -1
  174. package/lib/core/sql-validator.js +1 -1
  175. package/lib/errors.js +1 -1
  176. package/lib/framework/build-all-flags.js +1 -1
  177. package/lib/framework/flags.js +1 -1
  178. package/lib/framework/help.js +1 -1
  179. package/lib/framework/index.js +1 -1
  180. package/lib/framework/output.js +1 -1
  181. package/lib/framework/response.js +1 -1
  182. package/lib/framework/runner-alias.js +1 -1
  183. package/lib/framework/runner.js +1 -1
  184. package/lib/framework/schema-export.js +1 -1
  185. package/lib/framework/types.js +1 -1
  186. package/lib/generated/build-info.js +1 -1
  187. package/lib/help.js +1 -1
  188. package/lib/skills/main.js +1 -1
  189. package/lib/skills/npx-skills-add.js +1 -1
  190. package/lib/telemetry/cli-command-trace.js +1 -1
  191. package/lib/telemetry/cli-help-trace.js +1 -1
  192. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  193. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  194. package/lib/telemetry/send-cli-trace-log.js +1 -1
  195. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  196. package/lib/utils/ai_config.js +1 -1
  197. package/lib/utils/apply-jq-filter.js +1 -1
  198. package/lib/utils/cdn-config.js +1 -1
  199. package/lib/utils/check-sdk-version.js +1 -1
  200. package/lib/utils/cli-version-check.js +1 -1
  201. package/lib/utils/cli-version-policy.js +1 -1
  202. package/lib/utils/config.js +1 -1
  203. package/lib/utils/copy-directory.js +1 -1
  204. package/lib/utils/entity-with-id.js +1 -1
  205. package/lib/utils/file-utils.js +1 -1
  206. package/lib/utils/guides-cdn.js +1 -1
  207. package/lib/utils/http-client.js +1 -1
  208. package/lib/utils/is-non-interactive.js +1 -1
  209. package/lib/utils/logger.js +1 -1
  210. package/lib/utils/params.js +1 -1
  211. package/lib/utils/platform.js +1 -1
  212. package/lib/utils/rules-cdn.js +1 -1
  213. package/lib/utils/sleep.js +1 -1
  214. package/lib/utils/template-replacer.js +1 -1
  215. package/lib/utils/update-notice.js +1 -1
  216. package/lib/utils/version.js +1 -1
  217. package/lib/utils/with-active-cookie.js +1 -1
  218. package/lib/utils/write-cli-side-channel.js +1 -1
  219. package/package.json +1 -1
@@ -1 +1 @@
1
- function a212_0x3b98(){const _0x4dd324=['dirname','stringify','161270pdyveN','9930AykKRF','logFilePath','unknown','currentRawCommand','utf8','error','Failed\x20to\x20clear\x20logs:','success','details','logTask','toISOString','winstonLogger','clearLogs','rawCommand','now','map','setRawCommand','command','171hBnWgs','57074mgHQRZ','initWinstonLogger','clear','blue','File','404580vIItHs','mkdirSync','timestamp','readLogs','1320378TiiwVs','filter','getWinstonInstance','addColors','3149544alxuMo','readFileSync','log','existsSync','失败:\x20','createLogger','transports','7FtPonz','Failed\x20to\x20read\x20logs:','printf','setLogPath','108EkiEDl','level','36Kccfjr','format','5iPLaBS','开始执行:\x20','writeFileSync','join','warn','129027gkNSOO','yellow','message','.lovrabet.log','info'];a212_0x3b98=function(){return _0x4dd324;};return a212_0x3b98();}const a212_0x15d31d=a212_0x5026;(function(_0x53cf39,_0x1b71a4){const _0xe87f71=a212_0x5026,_0x5559c9=_0x53cf39();while(!![]){try{const _0x266018=-parseInt(_0xe87f71(0x209))/0x1*(parseInt(_0xe87f71(0x1ed))/0x2)+parseInt(_0xe87f71(0x20e))/0x3+parseInt(_0xe87f71(0x207))/0x4*(-parseInt(_0xe87f71(0x216))/0x5)+-parseInt(_0xe87f71(0x1f6))/0x6*(-parseInt(_0xe87f71(0x201))/0x7)+-parseInt(_0xe87f71(0x1fa))/0x8+-parseInt(_0xe87f71(0x1ec))/0x9*(-parseInt(_0xe87f71(0x215))/0xa)+-parseInt(_0xe87f71(0x1f2))/0xb*(-parseInt(_0xe87f71(0x205))/0xc);if(_0x266018===_0x1b71a4)break;else _0x5559c9['push'](_0x5559c9['shift']());}catch(_0x4fb710){_0x5559c9['push'](_0x5559c9['shift']());}}}(a212_0x3b98,0x5488d));function a212_0x5026(_0x518409,_0x45c860){_0x518409=_0x518409-0x1e2;const _0x3b98e2=a212_0x3b98();let _0x50263a=_0x3b98e2[_0x518409];return _0x50263a;}import a212_0xe98d1c from'winston';import a212_0x307293 from'node:fs';import a212_0x83f883 from'node:path';class Logger{['winstonLogger'];[a212_0x15d31d(0x217)];[a212_0x15d31d(0x219)]='';constructor(){this['logFilePath']='';}[a212_0x15d31d(0x1ea)](_0x3d0f26){const _0xfd86a=a212_0x15d31d;this[_0xfd86a(0x219)]=_0x3d0f26;}[a212_0x15d31d(0x1ee)](){const _0x549218=a212_0x15d31d,_0x21759e=a212_0x83f883[_0x549218(0x213)](this[_0x549218(0x217)]);!a212_0x307293[_0x549218(0x1fd)](_0x21759e)&&a212_0x307293[_0x549218(0x1f3)](_0x21759e,{'recursive':!![]});const _0xbe678b=a212_0xe98d1c[_0x549218(0x208)]['combine'](a212_0xe98d1c['format'][_0x549218(0x1f4)](),a212_0xe98d1c[_0x549218(0x208)]['errors']({'stack':!![]}),a212_0xe98d1c['format'][_0x549218(0x203)](_0x53d993=>{const _0x39a1e0=_0x549218,_0x2bdf88={'timestamp':_0x53d993[_0x39a1e0(0x1f4)]||new Date()[_0x39a1e0(0x1e4)](),'level':_0x53d993[_0x39a1e0(0x206)]||_0x39a1e0(0x212),'command':_0x53d993[_0x39a1e0(0x1eb)]||_0x39a1e0(0x218),'rawCommand':_0x53d993[_0x39a1e0(0x1e7)]||this[_0x39a1e0(0x219)]||undefined,'message':_0x53d993[_0x39a1e0(0x210)]||'','duration':_0x53d993['duration']||undefined,'details':_0x53d993[_0x39a1e0(0x1e2)]||undefined};return JSON[_0x39a1e0(0x214)](_0x2bdf88);}));this['winstonLogger']=a212_0xe98d1c[_0x549218(0x1ff)]({'level':_0x549218(0x212),'format':_0xbe678b,'transports':[new a212_0xe98d1c[(_0x549218(0x200))][(_0x549218(0x1f1))]({'filename':this[_0x549218(0x217)],'level':_0x549218(0x212)})],'silent':![]}),a212_0xe98d1c[_0x549218(0x1f9)]({'success':'green','error':'red','warn':_0x549218(0x20f),'info':_0x549218(0x1f0)});}[a212_0x15d31d(0x204)](_0x12ad66){const _0x2383e7=a212_0x15d31d;this[_0x2383e7(0x217)]=a212_0x83f883[_0x2383e7(0x20c)](_0x12ad66,_0x2383e7(0x211)),this[_0x2383e7(0x1e5)]&&this[_0x2383e7(0x1e5)][_0x2383e7(0x1ef)](),this[_0x2383e7(0x1ee)]();}['info'](_0x164578,_0x3b36d8,_0x3a8d91){const _0x522652=a212_0x15d31d;if(!this[_0x522652(0x217)]||!this[_0x522652(0x1e5)])return;this[_0x522652(0x1e5)][_0x522652(0x212)](_0x3b36d8,{'command':_0x164578,'details':_0x3a8d91});}[a212_0x15d31d(0x21d)](_0x42efc4,_0x598252,_0x3212ac,_0x503516){const _0x41e7aa=a212_0x15d31d;if(!this[_0x41e7aa(0x217)]||!this[_0x41e7aa(0x1e5)])return;this[_0x41e7aa(0x1e5)][_0x41e7aa(0x1fc)]('info',_0x598252,{'level':_0x41e7aa(0x21d),'command':_0x42efc4,'duration':_0x3212ac,'details':_0x503516});}[a212_0x15d31d(0x21b)](_0x58154e,_0x3d32d2,_0x5cdcc2){const _0x3d81cc=a212_0x15d31d;if(!this[_0x3d81cc(0x217)]||!this[_0x3d81cc(0x1e5)])return;this[_0x3d81cc(0x1e5)][_0x3d81cc(0x21b)](_0x3d32d2,{'command':_0x58154e,'details':_0x5cdcc2});}[a212_0x15d31d(0x20d)](_0x44a261,_0x45af6a,_0x265bd9){const _0x13716f=a212_0x15d31d;if(!this['logFilePath']||!this[_0x13716f(0x1e5)])return;this['winstonLogger']['warn'](_0x45af6a,{'command':_0x44a261,'details':_0x265bd9});}async[a212_0x15d31d(0x1e3)](_0x328050,_0x374ba8,_0x3ce336){const _0x26e5e7=a212_0x15d31d,_0x2ded04=Date[_0x26e5e7(0x1e8)]();this[_0x26e5e7(0x212)](_0x328050,_0x26e5e7(0x20a)+_0x374ba8);try{const _0x20b29e=await _0x3ce336(),_0x232dd6=Date['now']()-_0x2ded04;return this[_0x26e5e7(0x21d)](_0x328050,'完成:\x20'+_0x374ba8,_0x232dd6),_0x20b29e;}catch(_0x1afe8e){const _0x51583a=Date['now']()-_0x2ded04;this['error'](_0x328050,_0x26e5e7(0x1fe)+_0x374ba8,{'error':_0x1afe8e instanceof Error?_0x1afe8e['message']:String(_0x1afe8e),'duration':_0x51583a});throw _0x1afe8e;}}[a212_0x15d31d(0x1f5)](){const _0x4e8929=a212_0x15d31d;try{if(!a212_0x307293['existsSync'](this[_0x4e8929(0x217)]))return[];const _0x284dc4=a212_0x307293[_0x4e8929(0x1fb)](this[_0x4e8929(0x217)],_0x4e8929(0x21a));return _0x284dc4['split']('\x0a')[_0x4e8929(0x1f7)](_0x2aae7e=>_0x2aae7e['trim']())[_0x4e8929(0x1e9)](_0xc2b0d2=>JSON['parse'](_0xc2b0d2));}catch(_0x4ab737){return console[_0x4e8929(0x20d)](_0x4e8929(0x202),_0x4ab737),[];}}[a212_0x15d31d(0x1e6)](){const _0x2b2224=a212_0x15d31d;try{a212_0x307293[_0x2b2224(0x1fd)](this['logFilePath'])&&a212_0x307293[_0x2b2224(0x20b)](this['logFilePath'],'',_0x2b2224(0x21a));}catch(_0x15a6d7){console['warn'](_0x2b2224(0x21c),_0x15a6d7);}}[a212_0x15d31d(0x1f8)](){const _0x552922=a212_0x15d31d;return this[_0x552922(0x1e5)];}}export const logger=new Logger();
1
+ function a213_0x35ab(_0x2c06d8,_0x4887e2){_0x2c06d8=_0x2c06d8-0xee;const _0x54a952=a213_0x54a9();let _0x35abd6=_0x54a952[_0x2c06d8];return _0x35abd6;}const a213_0x5d34d7=a213_0x35ab;(function(_0x4709d4,_0x4cfdd7){const _0x30fb3b=a213_0x35ab,_0x43208e=_0x4709d4();while(!![]){try{const _0x54829e=parseInt(_0x30fb3b(0x124))/0x1*(-parseInt(_0x30fb3b(0x10f))/0x2)+parseInt(_0x30fb3b(0x108))/0x3*(parseInt(_0x30fb3b(0xf3))/0x4)+-parseInt(_0x30fb3b(0x11b))/0x5+-parseInt(_0x30fb3b(0x117))/0x6*(-parseInt(_0x30fb3b(0x102))/0x7)+-parseInt(_0x30fb3b(0x111))/0x8*(-parseInt(_0x30fb3b(0x10e))/0x9)+parseInt(_0x30fb3b(0x103))/0xa*(parseInt(_0x30fb3b(0x11d))/0xb)+parseInt(_0x30fb3b(0x10d))/0xc*(parseInt(_0x30fb3b(0x11a))/0xd);if(_0x54829e===_0x4cfdd7)break;else _0x43208e['push'](_0x43208e['shift']());}catch(_0x49a45f){_0x43208e['push'](_0x43208e['shift']());}}}(a213_0x54a9,0x78282));import a213_0x5deeec from'winston';import a213_0x4ade19 from'node:fs';import a213_0x234a54 from'node:path';class Logger{['winstonLogger'];['logFilePath'];[a213_0x5d34d7(0xf4)]='';constructor(){const _0x224af0=a213_0x5d34d7;this[_0x224af0(0x127)]='';}['setRawCommand'](_0x2191a4){const _0x5e2145=a213_0x5d34d7;this[_0x5e2145(0xf4)]=_0x2191a4;}[a213_0x5d34d7(0x113)](){const _0x5c4f95=a213_0x5d34d7,_0x5963d6=a213_0x234a54[_0x5c4f95(0x10b)](this[_0x5c4f95(0x127)]);!a213_0x4ade19[_0x5c4f95(0xf6)](_0x5963d6)&&a213_0x4ade19['mkdirSync'](_0x5963d6,{'recursive':!![]});const _0x4baed9=a213_0x5deeec[_0x5c4f95(0x107)][_0x5c4f95(0xf1)](a213_0x5deeec[_0x5c4f95(0x107)]['timestamp'](),a213_0x5deeec['format'][_0x5c4f95(0x112)]({'stack':!![]}),a213_0x5deeec[_0x5c4f95(0x107)]['printf'](_0x2aa080=>{const _0x2a995b=_0x5c4f95,_0xb07a59={'timestamp':_0x2aa080[_0x2a995b(0xfc)]||new Date()[_0x2a995b(0x10c)](),'level':_0x2aa080[_0x2a995b(0xfe)]||_0x2a995b(0x11f),'command':_0x2aa080['command']||_0x2a995b(0x106),'rawCommand':_0x2aa080[_0x2a995b(0x110)]||this['currentRawCommand']||undefined,'message':_0x2aa080['message']||'','duration':_0x2aa080[_0x2a995b(0x11e)]||undefined,'details':_0x2aa080['details']||undefined};return JSON[_0x2a995b(0xfb)](_0xb07a59);}));this[_0x5c4f95(0xf8)]=a213_0x5deeec[_0x5c4f95(0xf2)]({'level':'info','format':_0x4baed9,'transports':[new a213_0x5deeec[(_0x5c4f95(0x123))][(_0x5c4f95(0x118))]({'filename':this[_0x5c4f95(0x127)],'level':_0x5c4f95(0x11f)})],'silent':![]}),a213_0x5deeec[_0x5c4f95(0x121)]({'success':_0x5c4f95(0x10a),'error':_0x5c4f95(0x101),'warn':'yellow','info':'blue'});}[a213_0x5d34d7(0xee)](_0x2681a5){const _0x130485=a213_0x5d34d7;this[_0x130485(0x127)]=a213_0x234a54[_0x130485(0x120)](_0x2681a5,_0x130485(0xfd)),this['winstonLogger']&&this[_0x130485(0xf8)][_0x130485(0x114)](),this['initWinstonLogger']();}[a213_0x5d34d7(0x11f)](_0x1c22a7,_0x157829,_0xca7b2f){const _0x149abb=a213_0x5d34d7;if(!this[_0x149abb(0x127)]||!this[_0x149abb(0xf8)])return;this[_0x149abb(0xf8)][_0x149abb(0x11f)](_0x157829,{'command':_0x1c22a7,'details':_0xca7b2f});}[a213_0x5d34d7(0x126)](_0x2ceedf,_0x1b1053,_0x208dcb,_0x3e88fd){const _0x4a15ba=a213_0x5d34d7;if(!this[_0x4a15ba(0x127)]||!this[_0x4a15ba(0xf8)])return;this['winstonLogger'][_0x4a15ba(0x119)](_0x4a15ba(0x11f),_0x1b1053,{'level':_0x4a15ba(0x126),'command':_0x2ceedf,'duration':_0x208dcb,'details':_0x3e88fd});}['error'](_0xcb8066,_0x4530b5,_0xc44536){const _0x42270a=a213_0x5d34d7;if(!this[_0x42270a(0x127)]||!this['winstonLogger'])return;this[_0x42270a(0xf8)][_0x42270a(0x105)](_0x4530b5,{'command':_0xcb8066,'details':_0xc44536});}[a213_0x5d34d7(0x115)](_0x1cbcb2,_0x2d3356,_0x3fcfb8){const _0x194505=a213_0x5d34d7;if(!this[_0x194505(0x127)]||!this['winstonLogger'])return;this[_0x194505(0xf8)][_0x194505(0x115)](_0x2d3356,{'command':_0x1cbcb2,'details':_0x3fcfb8});}async[a213_0x5d34d7(0xf0)](_0x994470,_0x25f518,_0x35ae09){const _0x4b8130=a213_0x5d34d7,_0x341f7d=Date[_0x4b8130(0xef)]();this[_0x4b8130(0x11f)](_0x994470,'开始执行:\x20'+_0x25f518);try{const _0x38bea7=await _0x35ae09(),_0x53c8de=Date[_0x4b8130(0xef)]()-_0x341f7d;return this[_0x4b8130(0x126)](_0x994470,_0x4b8130(0x104)+_0x25f518,_0x53c8de),_0x38bea7;}catch(_0xe62d5a){const _0x522ef5=Date[_0x4b8130(0xef)]()-_0x341f7d;this[_0x4b8130(0x105)](_0x994470,'失败:\x20'+_0x25f518,{'error':_0xe62d5a instanceof Error?_0xe62d5a['message']:String(_0xe62d5a),'duration':_0x522ef5});throw _0xe62d5a;}}[a213_0x5d34d7(0xfa)](){const _0x303bcf=a213_0x5d34d7;try{if(!a213_0x4ade19[_0x303bcf(0xf6)](this[_0x303bcf(0x127)]))return[];const _0x15b53f=a213_0x4ade19['readFileSync'](this['logFilePath'],_0x303bcf(0x100));return _0x15b53f[_0x303bcf(0x125)]('\x0a')[_0x303bcf(0xff)](_0x4d59d1=>_0x4d59d1[_0x303bcf(0x109)]())['map'](_0x104a67=>JSON[_0x303bcf(0xf7)](_0x104a67));}catch(_0x3fcc24){return console[_0x303bcf(0x115)](_0x303bcf(0xf9),_0x3fcc24),[];}}[a213_0x5d34d7(0x11c)](){const _0x553cff=a213_0x5d34d7;try{a213_0x4ade19[_0x553cff(0xf6)](this[_0x553cff(0x127)])&&a213_0x4ade19[_0x553cff(0x122)](this[_0x553cff(0x127)],'',_0x553cff(0x100));}catch(_0x27c1e3){console[_0x553cff(0x115)](_0x553cff(0x116),_0x27c1e3);}}[a213_0x5d34d7(0xf5)](){const _0x25711d=a213_0x5d34d7;return this[_0x25711d(0xf8)];}}function a213_0x54a9(){const _0x47c9b0=['File','log','13gtuBEj','2086845vmIOkA','clearLogs','120461exEOBr','duration','info','join','addColors','writeFileSync','transports','2253LQgKne','split','success','logFilePath','setLogPath','now','logTask','combine','createLogger','16664ASgoqH','currentRawCommand','getWinstonInstance','existsSync','parse','winstonLogger','Failed\x20to\x20read\x20logs:','readLogs','stringify','timestamp','.lovrabet.log','level','filter','utf8','red','139433zRRsNj','360kKLYRE','完成:\x20','error','unknown','format','624sGvwJT','trim','green','dirname','toISOString','2922624zoeJAi','9RwOKGX','622RlXUFu','rawCommand','369128MNHdhC','errors','initWinstonLogger','clear','warn','Failed\x20to\x20clear\x20logs:','18WVAnkA'];a213_0x54a9=function(){return _0x47c9b0;};return a213_0x54a9();}export const logger=new Logger();
@@ -1 +1 @@
1
- (function(_0x4859a4,_0x3cd671){const _0x407526=a213_0x55d0,_0x31dc3c=_0x4859a4();while(!![]){try{const _0x3725b3=parseInt(_0x407526(0x1ea))/0x1+-parseInt(_0x407526(0x1ec))/0x2*(-parseInt(_0x407526(0x1e9))/0x3)+-parseInt(_0x407526(0x1ee))/0x4+-parseInt(_0x407526(0x1eb))/0x5+-parseInt(_0x407526(0x1e8))/0x6+parseInt(_0x407526(0x1ed))/0x7*(parseInt(_0x407526(0x1f0))/0x8)+parseInt(_0x407526(0x1e6))/0x9;if(_0x3725b3===_0x3cd671)break;else _0x31dc3c['push'](_0x31dc3c['shift']());}catch(_0x1598bf){_0x31dc3c['push'](_0x31dc3c['shift']());}}}(a213_0x3baa,0xb9bad));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x9a59f9){const _0xc1b305=a213_0x55d0;if(!_0x9a59f9)return undefined;let _0x3cdbe0;try{_0x3cdbe0=JSON[_0xc1b305(0x1f3)](_0x9a59f9);}catch{throw CliErrors['validation'](_0xc1b305(0x1ef)+_0x9a59f9);}if(!_0x3cdbe0||typeof _0x3cdbe0!==_0xc1b305(0x1f1)||Array['isArray'](_0x3cdbe0))throw CliErrors[_0xc1b305(0x1f4)](_0xc1b305(0x1e7),_0xc1b305(0x1f2));return _0x3cdbe0;}function a213_0x55d0(_0x32ed04,_0x4fd049){_0x32ed04=_0x32ed04-0x1e6;const _0x3baacc=a213_0x3baa();let _0x55d017=_0x3baacc[_0x32ed04];return _0x55d017;}function a213_0x3baa(){const _0xdbb5e1=['parse','validation','6565563tOJJIG','--params\x20must\x20be\x20a\x20JSON\x20object','1257324fAmrsu','18qZutCL','86508ZSaUPo','2358895MDdbbB','241354gDIzDz','7WRInnJ','5672756rOyDEk','Invalid\x20JSON\x20for\x20--params:\x20','10561552SMPIza','object','Example:\x20--params\x20\x27{\x22id\x22:123}\x27'];a213_0x3baa=function(){return _0xdbb5e1;};return a213_0x3baa();}
1
+ (function(_0x4ce897,_0x373df9){const _0x508c8e=a214_0x4101,_0x169902=_0x4ce897();while(!![]){try{const _0x2b843c=-parseInt(_0x508c8e(0x8b))/0x1+parseInt(_0x508c8e(0x8a))/0x2*(-parseInt(_0x508c8e(0x92))/0x3)+-parseInt(_0x508c8e(0x91))/0x4+-parseInt(_0x508c8e(0x90))/0x5*(-parseInt(_0x508c8e(0x8c))/0x6)+parseInt(_0x508c8e(0x8e))/0x7*(parseInt(_0x508c8e(0x86))/0x8)+-parseInt(_0x508c8e(0x8f))/0x9+parseInt(_0x508c8e(0x89))/0xa;if(_0x2b843c===_0x373df9)break;else _0x169902['push'](_0x169902['shift']());}catch(_0x2c5530){_0x169902['push'](_0x169902['shift']());}}}(a214_0x23ec,0x9d012));function a214_0x23ec(){const _0x1e23a9=['validation','7bKXoFf','5992074uWImow','25uvAfkG','2189076rsmpPi','135909ZXYBBG','object','8216232iOeQfS','Invalid\x20JSON\x20for\x20--params:\x20','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','22026690VqdLjF','36gvvDZL','1089409qUalOR','637572HHtcwf'];a214_0x23ec=function(){return _0x1e23a9;};return a214_0x23ec();}import{CliErrors}from'../errors.js';function a214_0x4101(_0x481a3f,_0x16d2d6){_0x481a3f=_0x481a3f-0x86;const _0x23ec3c=a214_0x23ec();let _0x4101c7=_0x23ec3c[_0x481a3f];return _0x4101c7;}export function parseJsonParams(_0x4ae98e){const _0x142a64=a214_0x4101;if(!_0x4ae98e)return undefined;let _0x2ded7a;try{_0x2ded7a=JSON['parse'](_0x4ae98e);}catch{throw CliErrors[_0x142a64(0x8d)](_0x142a64(0x87)+_0x4ae98e);}if(!_0x2ded7a||typeof _0x2ded7a!==_0x142a64(0x93)||Array['isArray'](_0x2ded7a))throw CliErrors[_0x142a64(0x8d)]('--params\x20must\x20be\x20a\x20JSON\x20object',_0x142a64(0x88));return _0x2ded7a;}
@@ -1 +1 @@
1
- const a214_0x466007=a214_0x4c2f;(function(_0x2eff49,_0x4ce57a){const _0x5ad0df=a214_0x4c2f,_0x5220b6=_0x2eff49();while(!![]){try{const _0x4d6493=parseInt(_0x5ad0df(0x1dd))/0x1*(-parseInt(_0x5ad0df(0x1d6))/0x2)+parseInt(_0x5ad0df(0x1e2))/0x3*(parseInt(_0x5ad0df(0x1da))/0x4)+-parseInt(_0x5ad0df(0x1dc))/0x5+-parseInt(_0x5ad0df(0x1e0))/0x6*(-parseInt(_0x5ad0df(0x1d7))/0x7)+-parseInt(_0x5ad0df(0x1e3))/0x8+-parseInt(_0x5ad0df(0x1db))/0x9+parseInt(_0x5ad0df(0x1df))/0xa*(parseInt(_0x5ad0df(0x1d9))/0xb);if(_0x4d6493===_0x4ce57a)break;else _0x5220b6['push'](_0x5220b6['shift']());}catch(_0x314b60){_0x5220b6['push'](_0x5220b6['shift']());}}}(a214_0x266e,0xd6622));export const isWindows=process[a214_0x466007(0x1de)]===a214_0x466007(0x1e1);function a214_0x266e(){const _0x3df029=['82809hEnExX','8430400PiaMGa','848879kYvhjv','platform','145270uqEwih','17154npSvbK','win32','3uNoZRQ','145216wvThqY','2ZwTFry','1995MOFNty','.cmd','1716tSNbnS','1437596cPyqbk'];a214_0x266e=function(){return _0x3df029;};return a214_0x266e();}function a214_0x4c2f(_0x4215c9,_0x1d73a2){_0x4215c9=_0x4215c9-0x1d6;const _0x266e84=a214_0x266e();let _0x4c2f91=_0x266e84[_0x4215c9];return _0x4c2f91;}export function resolveNpmBin(_0x385af8){const _0x371938=a214_0x466007;return isWindows?_0x385af8+_0x371938(0x1d8):_0x385af8;}
1
+ const a215_0x123006=a215_0x5a52;function a215_0x5a52(_0x403880,_0x1035a9){_0x403880=_0x403880-0x9d;const _0x14e5ee=a215_0x14e5();let _0x5a523d=_0x14e5ee[_0x403880];return _0x5a523d;}function a215_0x14e5(){const _0x387326=['1758210lwRKyV','2719EhDrOq','9512951waWFXX','566FIvXvE','1168980TgLkSg','571086fBbfID','208UxGBde','15rWnBBJ','.cmd','33TnmCVH','2369814WcWSDe','741QNGaEl','8MIVEug','platform','600870uvXLvo','win32'];a215_0x14e5=function(){return _0x387326;};return a215_0x14e5();}(function(_0x491ea4,_0x49868f){const _0x3c0532=a215_0x5a52,_0x26b343=_0x491ea4();while(!![]){try{const _0x3fe01a=parseInt(_0x3c0532(0xa3))/0x1*(-parseInt(_0x3c0532(0xa5))/0x2)+-parseInt(_0x3c0532(0xac))/0x3*(parseInt(_0x3c0532(0x9e))/0x4)+-parseInt(_0x3c0532(0xa9))/0x5*(-parseInt(_0x3c0532(0xa2))/0x6)+-parseInt(_0x3c0532(0xa4))/0x7+-parseInt(_0x3c0532(0xa8))/0x8*(parseInt(_0x3c0532(0xa7))/0x9)+parseInt(_0x3c0532(0xa0))/0xa*(-parseInt(_0x3c0532(0xab))/0xb)+parseInt(_0x3c0532(0xa6))/0xc*(parseInt(_0x3c0532(0x9d))/0xd);if(_0x3fe01a===_0x49868f)break;else _0x26b343['push'](_0x26b343['shift']());}catch(_0x35e5f3){_0x26b343['push'](_0x26b343['shift']());}}}(a215_0x14e5,0xda1a5));export const isWindows=process[a215_0x123006(0x9f)]===a215_0x123006(0xa1);export function resolveNpmBin(_0x500665){const _0x28d3f8=a215_0x123006;return isWindows?_0x500665+_0x28d3f8(0xaa):_0x500665;}
@@ -1 +1 @@
1
- const a215_0xbb410a=a215_0x2e47;(function(_0x1af119,_0x103d6b){const _0x39ee92=a215_0x2e47,_0x68ba57=_0x1af119();while(!![]){try{const _0x3058c7=parseInt(_0x39ee92(0x116))/0x1*(-parseInt(_0x39ee92(0x11e))/0x2)+parseInt(_0x39ee92(0x115))/0x3*(-parseInt(_0x39ee92(0x128))/0x4)+-parseInt(_0x39ee92(0x122))/0x5*(parseInt(_0x39ee92(0x12e))/0x6)+parseInt(_0x39ee92(0x123))/0x7*(-parseInt(_0x39ee92(0x129))/0x8)+-parseInt(_0x39ee92(0x12b))/0x9*(-parseInt(_0x39ee92(0x11b))/0xa)+parseInt(_0x39ee92(0x11d))/0xb+-parseInt(_0x39ee92(0x120))/0xc*(-parseInt(_0x39ee92(0x117))/0xd);if(_0x3058c7===_0x103d6b)break;else _0x68ba57['push'](_0x68ba57['shift']());}catch(_0x1ce3e8){_0x68ba57['push'](_0x68ba57['shift']());}}}(a215_0x3eea,0x5073d));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';import{appendUpdateTime}from'../utils/guides-cdn.js';function a215_0x2e47(_0x5187bc,_0x25753d){_0x5187bc=_0x5187bc-0x115;const _0x3eea55=a215_0x3eea();let _0x2e47c1=_0x3eea55[_0x5187bc];return _0x2e47c1;}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x2cc48e=a215_0x2e47,_0x48a758=getTemplateBaseUrl();return _0x48a758+_0x2cc48e(0x119);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a215_0xbb410a(0x126));export async function fetchRulesFromCDN(){const _0xb24caa=a215_0xbb410a,_0x490b24=getRulesCdnUrl(),_0x4e9b9b=await fetch(_0x490b24,{'headers':{'Accept':_0xb24caa(0x11c)}});if(!_0x4e9b9b['ok'])throw new Error(_0xb24caa(0x124)+_0x4e9b9b[_0xb24caa(0x12f)]+'\x20'+_0x4e9b9b[_0xb24caa(0x12d)]);const _0x587a12=await _0x4e9b9b['json']();if(!_0x587a12[_0xb24caa(0x11a)]||typeof _0x587a12[_0xb24caa(0x11a)]!=='string')throw new Error(_0xb24caa(0x125));return _0x587a12;}export async function getRulesContent(){try{const _0x51e9ee=await fetchRulesFromCDN();return _0x51e9ee['content'];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x48d016=a215_0xbb410a;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x48d016(0x118));throw new Error('本地模板文件不存在:\x20'+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0xb71e4b){const _0x499782=a215_0xbb410a,_0x2ae21d=await fetchRulesFromCDN()[_0x499782(0x121)](()=>null);let _0x45e9e7;_0x2ae21d?(_0x45e9e7=_0x2ae21d[_0x499782(0x11a)],_0x2ae21d[_0x499782(0x12a)]&&(_0x45e9e7=appendUpdateTime(_0x45e9e7,_0x2ae21d[_0x499782(0x12a)]))):_0x45e9e7=readLocalTemplate();const _0x213e26=dirname(_0xb71e4b);!existsSync(_0x213e26)&&mkdirSync(_0x213e26,{'recursive':!![]}),writeFileSync(_0xb71e4b,_0x45e9e7,_0x499782(0x118));}function a215_0x3eea(){const _0xae4035=['lastUpdated','2013876VJSueX','lovrabet_rules.mdc','statusText','6KqDZKO','status','75456cHlgWt','92094xNVgNa','4091607fxHbRz','utf-8','/rules/rules.json','content','10iwfXri','application/json','1729343FvjJmn','2zBlEXu','agents.md','36kfXpfa','catch','177305LtzJWi','7tsUaYT','CDN\x20请求失败:\x20','CDN\x20返回数据格式错误','../../templates/rules/lovrabet_rules.mdc.tpl','.cursor/rules','48jxZLXr','4530256nfRTWS'];a215_0x3eea=function(){return _0xae4035;};return a215_0x3eea();}export async function copyRulesToCursor(_0x174c36){const _0xb20130=a215_0xbb410a,_0x558af3=join(_0x174c36,_0xb20130(0x127)),_0x49ee1a=join(_0x558af3,_0xb20130(0x12c));if(existsSync(_0x49ee1a))return![];return await writeRulesFile(_0x49ee1a),!![];}export async function copyRulesToAgentsMd(_0xd50caa){const _0x1803e0=a215_0xbb410a,_0x4c3061=join(_0xd50caa,_0x1803e0(0x11f));if(existsSync(_0x4c3061))return![];return await writeRulesFile(_0x4c3061),!![];}
1
+ const a216_0x1837c2=a216_0x1c93;(function(_0x17eac2,_0x322957){const _0x2203e9=a216_0x1c93,_0x785d88=_0x17eac2();while(!![]){try{const _0x19b9bc=-parseInt(_0x2203e9(0xae))/0x1+-parseInt(_0x2203e9(0xb8))/0x2*(-parseInt(_0x2203e9(0xb9))/0x3)+parseInt(_0x2203e9(0xbe))/0x4+-parseInt(_0x2203e9(0xbb))/0x5*(-parseInt(_0x2203e9(0xb4))/0x6)+parseInt(_0x2203e9(0xbf))/0x7+parseInt(_0x2203e9(0xb3))/0x8+-parseInt(_0x2203e9(0xbd))/0x9;if(_0x19b9bc===_0x322957)break;else _0x785d88['push'](_0x785d88['shift']());}catch(_0x52500f){_0x785d88['push'](_0x785d88['shift']());}}}(a216_0x2b1f,0x586cf));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';function a216_0x2b1f(){const _0x1829cf=['4953536kpIegO','utf-8','630916jlktiw','lastUpdated','agents.md','../../templates/rules/lovrabet_rules.mdc.tpl','lovrabet_rules.mdc','52208AVHsKC','2034UKPLHw','statusText','status','CDN\x20返回数据格式错误','16YPRcyF','49263KageIC','本地模板文件不存在:\x20','10195Opzely','content','7407252tAcJuQ','1117488CwCWnd'];a216_0x2b1f=function(){return _0x1829cf;};return a216_0x2b1f();}import{appendUpdateTime}from'../utils/guides-cdn.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function a216_0x1c93(_0x2783c9,_0x9b7e2e){_0x2783c9=_0x2783c9-0xad;const _0x2b1f80=a216_0x2b1f();let _0x1c93f7=_0x2b1f80[_0x2783c9];return _0x1c93f7;}function getRulesCdnUrl(){const _0x4ded84=getTemplateBaseUrl();return _0x4ded84+'/rules/rules.json';}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a216_0x1837c2(0xb1));export async function fetchRulesFromCDN(){const _0x534857=a216_0x1837c2,_0x183d5a=getRulesCdnUrl(),_0x4237f2=await fetch(_0x183d5a,{'headers':{'Accept':'application/json'}});if(!_0x4237f2['ok'])throw new Error('CDN\x20请求失败:\x20'+_0x4237f2[_0x534857(0xb6)]+'\x20'+_0x4237f2[_0x534857(0xb5)]);const _0x40f3ab=await _0x4237f2['json']();if(!_0x40f3ab[_0x534857(0xbc)]||typeof _0x40f3ab[_0x534857(0xbc)]!=='string')throw new Error(_0x534857(0xb7));return _0x40f3ab;}export async function getRulesContent(){try{const _0x2105ba=await fetchRulesFromCDN();return _0x2105ba['content'];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x3f9735=a216_0x1837c2;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x3f9735(0xad));throw new Error(_0x3f9735(0xba)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x398740){const _0x17a72f=a216_0x1837c2,_0x51dab5=await fetchRulesFromCDN()['catch'](()=>null);let _0x1ca6b9;_0x51dab5?(_0x1ca6b9=_0x51dab5['content'],_0x51dab5[_0x17a72f(0xaf)]&&(_0x1ca6b9=appendUpdateTime(_0x1ca6b9,_0x51dab5[_0x17a72f(0xaf)]))):_0x1ca6b9=readLocalTemplate();const _0x2bae16=dirname(_0x398740);!existsSync(_0x2bae16)&&mkdirSync(_0x2bae16,{'recursive':!![]}),writeFileSync(_0x398740,_0x1ca6b9,_0x17a72f(0xad));}export async function copyRulesToCursor(_0x581c93){const _0x39cede=a216_0x1837c2,_0x310cd3=join(_0x581c93,'.cursor/rules'),_0x421ebd=join(_0x310cd3,_0x39cede(0xb2));if(existsSync(_0x421ebd))return![];return await writeRulesFile(_0x421ebd),!![];}export async function copyRulesToAgentsMd(_0x122c9d){const _0x28fb37=a216_0x1837c2,_0x59c67a=join(_0x122c9d,_0x28fb37(0xb0));if(existsSync(_0x59c67a))return![];return await writeRulesFile(_0x59c67a),!![];}
@@ -1 +1 @@
1
- export function sleep(_0x45c90f){return new Promise(_0x3f1276=>setTimeout(_0x3f1276,_0x45c90f));}
1
+ export function sleep(_0x1e2d38){return new Promise(_0x5e709a=>setTimeout(_0x5e709a,_0x1e2d38));}
@@ -1 +1 @@
1
- function a217_0x5e17(){const _0x2eceb7=['.tpl','error','join','7408uUqLIh','isFile','promises','processFile','pad','api','getFullYear','default','getHours','name:\x20\x22','replace','179GtooJx','.scss','\x20},','LOVRABET','764164pDJIsc','模板内容替换完成','replaceContent','readFile','slice','2441536msoMYW','datasetCode','.json','开始处理模板内容替换','name','extname','getDate','utf8','now','message','processDirectory','map','success','pop','6096144FcWixn','datasetCode:\x20\x22','alias','mkdir','.jsx','getSeconds','tableName','63882PJLOYp','87822TFXDEC','copyFile','includes','getMonth','toComponentName','toDisplayTitle','tableName:\x20\x22','processTemplate','.ts','.tsx','getMinutes','isDirectory','模板内容替换失败','formatLocalTimestamp','toISOString','toLowerCase','endsWith','padStart','YourModel','5785065zNhHSG','split','template','.css','info','charAt','.md','30uyoPfO'];a217_0x5e17=function(){return _0x2eceb7;};return a217_0x5e17();}const a217_0x4b254a=a217_0x1a14;(function(_0x26d9f6,_0x12acd0){const _0x21ac99=a217_0x1a14,_0x367e2d=_0x26d9f6();while(!![]){try{const _0x202715=parseInt(_0x21ac99(0x8a))/0x1*(parseInt(_0x21ac99(0xc7))/0x2)+-parseInt(_0x21ac99(0xa8))/0x3+-parseInt(_0x21ac99(0x8e))/0x4*(parseInt(_0x21ac99(0xc3))/0x5)+parseInt(_0x21ac99(0xa1))/0x6+parseInt(_0x21ac99(0xa9))/0x7+-parseInt(_0x21ac99(0x93))/0x8+parseInt(_0x21ac99(0xbc))/0x9;if(_0x202715===_0x12acd0)break;else _0x367e2d['push'](_0x367e2d['shift']());}catch(_0x53e7a3){_0x367e2d['push'](_0x367e2d['shift']());}}}(a217_0x5e17,0xd25c7));import a217_0x11a8b4 from'node:fs';import a217_0x8eec6b from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();function a217_0x1a14(_0x4adf2f,_0x4750a8){_0x4adf2f=_0x4adf2f-0x84;const _0x5e178a=a217_0x5e17();let _0x1a1421=_0x5e178a[_0x4adf2f];return _0x1a1421;}export class TemplateReplacer{static['pad'](_0x3af6b6){const _0x163550=a217_0x1a14;return String(_0x3af6b6)[_0x163550(0xba)](0x2,'0');}static['formatLocalTimestamp'](_0xcbeb1d){const _0x319a68=a217_0x1a14,_0x44e905=_0xcbeb1d[_0x319a68(0x85)](),_0x29fb63=this[_0x319a68(0xcb)](_0xcbeb1d[_0x319a68(0xac)]()+0x1),_0xe15560=this[_0x319a68(0xcb)](_0xcbeb1d[_0x319a68(0x99)]()),_0x283046=this[_0x319a68(0xcb)](_0xcbeb1d[_0x319a68(0x87)]()),_0x2e0727=this['pad'](_0xcbeb1d[_0x319a68(0xb3)]()),_0x5368af=this[_0x319a68(0xcb)](_0xcbeb1d[_0x319a68(0xa6)]());return{'createdAt':_0x44e905+'-'+_0x29fb63+'-'+_0xe15560+'\x20'+_0x283046+':'+_0x2e0727+':'+_0x5368af,'createdDate':_0x44e905+'-'+_0x29fb63+'-'+_0xe15560,'createdTime':_0x283046+':'+_0x2e0727+':'+_0x5368af};}static[a217_0x4b254a(0xad)](_0x36e478){const _0x1434bb=a217_0x4b254a,_0x5cd13f=_0x36e478[_0x1434bb(0xbd)]('/')[_0x1434bb(0xa0)]()||_0x36e478;return _0x5cd13f['split']('-')[_0x1434bb(0x9e)](_0x39ddd7=>_0x39ddd7[_0x1434bb(0xc1)](0x0)['toUpperCase']()+_0x39ddd7[_0x1434bb(0x92)](0x1)[_0x1434bb(0xb8)]())[_0x1434bb(0xc6)]('');}static['toDisplayTitle'](_0x36251d){const _0x4bfb77=a217_0x4b254a,_0x34e96f=_0x36251d[_0x4bfb77(0xbd)]('/')[_0x4bfb77(0xa0)]()||_0x36251d;return _0x34e96f['split']('-')['map'](_0x10808c=>_0x10808c[_0x4bfb77(0xc1)](0x0)['toUpperCase']()+_0x10808c['slice'](0x1)[_0x4bfb77(0xb8)]())[_0x4bfb77(0xc6)]('\x20');}static[a217_0x4b254a(0x90)](_0x50bcb7,_0x52bed2,_0x2ff150){const _0x59b13b=a217_0x4b254a,_0x1dd4ee=this[_0x59b13b(0xad)](_0x52bed2),_0x33e9b3=this[_0x59b13b(0xae)](_0x52bed2),{createdAt:_0x173fb4,createdDate:_0x4afbe5,createdTime:_0x54e9d5}=this[_0x59b13b(0xb6)](new Date());let _0x211420=_0x50bcb7[_0x59b13b(0x89)](/\{CliVersion\}/g,CLI_VERSION)['replace'](/\{ComponentName\}/g,_0x1dd4ee)[_0x59b13b(0x89)](/\{DisplayTitle\}/g,_0x33e9b3)[_0x59b13b(0x89)](/\{PageName\}/g,_0x52bed2)['replace'](/\{TemplateName\}/g,_0x2ff150)[_0x59b13b(0x89)](/\{CreatedAt\}/g,_0x173fb4)[_0x59b13b(0x89)](/\{CreatedDate\}/g,_0x4afbe5)[_0x59b13b(0x89)](/\{CreatedTime\}/g,_0x54e9d5);return _0x211420;}static['replaceApiContent'](_0x4b6863,_0x21b01f,_0x2f6053,_0x471005,_0x34588c,_0x18ce86,_0x833808,_0xcbf072){const _0x192262=a217_0x4b254a,_0x379f3a=new Date(),_0x1ca4ca=_0x379f3a[_0x192262(0xb7)](),_0x11c9ac=_0x2f6053[_0x192262(0x9e)](_0x2bf36d=>{const _0xb31c45=_0x192262,_0x2dd092=[_0xb31c45(0xa2)+_0x2bf36d[_0xb31c45(0x94)]+'\x22',_0xb31c45(0xaf)+_0x2bf36d[_0xb31c45(0xa7)]+'\x22',_0xb31c45(0x88)+_0x2bf36d[_0xb31c45(0x97)]+'\x22'];return _0x2bf36d[_0xb31c45(0xa3)]&&_0x2dd092['push']('alias:\x20\x22'+_0x2bf36d[_0xb31c45(0xa3)]+'\x22'),'\x0a\x20\x20\x20\x20{\x20'+_0x2dd092['join'](',\x20')+_0xb31c45(0x8c);})[_0x192262(0xc6)](''),_0x3011bc=_0x471005||_0x2f6053[0x0]?.[_0x192262(0xa3)]||_0x192262(0xbb);let _0x551c9f=_0x4b6863[_0x192262(0x89)](/\{AppCode\}/g,_0x21b01f)[_0x192262(0x89)](/\{ModelConfigs\}/g,_0x11c9ac)[_0x192262(0x89)](/\{ExampleModelName\}/g,_0x3011bc)[_0x192262(0x89)](/\{ApiFileName\}/g,_0x34588c||_0x192262(0x84))[_0x192262(0x89)](/\{ConfigName\}/g,_0x18ce86||_0x192262(0x86))[_0x192262(0x89)](/\{ClientConfigParam\}/g,_0x833808||'')['replace'](/\{VarPrefix\}/g,_0xcbf072||_0x192262(0x8d))[_0x192262(0x89)](/\{CreatedAt\}/g,_0x1ca4ca);return _0x551c9f;}static async[a217_0x4b254a(0xb0)](_0x8a93ba,_0x30dfab,_0x17e5d2,_0x42ecb3,_0x3101ef=!![]){const _0x6ecb63=a217_0x4b254a,_0x47f792=Date['now']();try{_0x3101ef&&logger[_0x6ecb63(0xc0)]('template',_0x6ecb63(0x96),{'templatePath':_0x8a93ba,'targetPath':_0x30dfab,'pageName':_0x17e5d2,'templateName':_0x42ecb3});await a217_0x11a8b4[_0x6ecb63(0xc9)][_0x6ecb63(0xa4)](_0x30dfab,{'recursive':!![]}),await this['processDirectory'](_0x8a93ba,_0x30dfab,_0x17e5d2,_0x42ecb3);if(_0x3101ef){const _0x397022=Date['now']()-_0x47f792;logger[_0x6ecb63(0x9f)](_0x6ecb63(0xbe),_0x6ecb63(0x8f),_0x397022,{'pageName':_0x17e5d2,'templateName':_0x42ecb3});}}catch(_0x585910){if(_0x3101ef){const _0x5c43d7=Date[_0x6ecb63(0x9b)]()-_0x47f792;logger[_0x6ecb63(0xc5)](_0x6ecb63(0xbe),_0x6ecb63(0xb5),{'templatePath':_0x8a93ba,'targetPath':_0x30dfab,'pageName':_0x17e5d2,'templateName':_0x42ecb3,'error':_0x585910 instanceof Error?_0x585910[_0x6ecb63(0x9c)]:String(_0x585910),'duration':_0x5c43d7});}throw _0x585910;}}static async[a217_0x4b254a(0x9d)](_0x4723a5,_0x499fbe,_0x3c37a3,_0x48b604){const _0x46c1db=a217_0x4b254a,_0x5f4209=await a217_0x11a8b4['promises']['readdir'](_0x4723a5,{'withFileTypes':!![]});for(const _0x26cc84 of _0x5f4209){const _0x2041e1=a217_0x8eec6b[_0x46c1db(0xc6)](_0x4723a5,_0x26cc84[_0x46c1db(0x97)]);let _0x7e9e38=a217_0x8eec6b[_0x46c1db(0xc6)](_0x499fbe,_0x26cc84[_0x46c1db(0x97)]);_0x26cc84['name'][_0x46c1db(0xb9)](_0x46c1db(0xc4))&&(_0x7e9e38=a217_0x8eec6b[_0x46c1db(0xc6)](_0x499fbe,_0x26cc84[_0x46c1db(0x97)][_0x46c1db(0x89)](/\.tpl$/,'')));if(_0x26cc84[_0x46c1db(0xb4)]())await a217_0x11a8b4[_0x46c1db(0xc9)][_0x46c1db(0xa4)](_0x7e9e38,{'recursive':!![]}),await this[_0x46c1db(0x9d)](_0x2041e1,_0x7e9e38,_0x3c37a3,_0x48b604);else _0x26cc84[_0x46c1db(0xc8)]()&&await this['processFile'](_0x2041e1,_0x7e9e38,_0x3c37a3,_0x48b604);}}static async[a217_0x4b254a(0xca)](_0x5a9a82,_0x7c796b,_0xd5862f,_0xbc2bdb){const _0x1c16e2=a217_0x4b254a,_0x4c0fd2=a217_0x8eec6b[_0x1c16e2(0x98)](_0x5a9a82)[_0x1c16e2(0xb8)]();_0x5a9a82[_0x1c16e2(0xb9)](_0x1c16e2(0xc4))&&(_0x7c796b=_0x7c796b['replace'](/\.tpl$/,''));const _0x59827b=[_0x1c16e2(0xb2),_0x1c16e2(0xb1),_0x1c16e2(0xa5),'.js',_0x1c16e2(0x95),_0x1c16e2(0xc2),_0x1c16e2(0xbf),_0x1c16e2(0x8b),_0x1c16e2(0xc4)];if(_0x59827b[_0x1c16e2(0xab)](_0x4c0fd2)||_0x5a9a82[_0x1c16e2(0xb9)]('.tpl')){const _0x1aaf42=await a217_0x11a8b4['promises'][_0x1c16e2(0x91)](_0x5a9a82,'utf8'),_0x18c86b=this[_0x1c16e2(0x90)](_0x1aaf42,_0xd5862f,_0xbc2bdb);await a217_0x11a8b4[_0x1c16e2(0xc9)]['writeFile'](_0x7c796b,_0x18c86b,_0x1c16e2(0x9a));}else await a217_0x11a8b4['promises'][_0x1c16e2(0xaa)](_0x5a9a82,_0x7c796b);}}
1
+ function a218_0x47a6(){const _0x2a0b09=['toComponentName','1165730Bvlpls','YourModel','.scss','readdir','endsWith','api','promises','.json','slice','name','4345482XRrmzc','isFile','pad','1679364DnamiO','isDirectory','.tsx','now','tableName','replaceApiContent','1202633jWqFUy','pop','.css','toDisplayTitle','name:\x20\x22','datasetCode','charAt','join','error','replace','LOVRABET','getMonth','toLowerCase','\x20},','模板内容替换完成','getFullYear','success','.md','toUpperCase','alias','.jsx','datasetCode:\x20\x22','default','getSeconds','info','.tpl','\x0a\x20\x20\x20\x20{\x20','split','4mfRfCf','4882851eUcGVR','20SYyATT','.js','tableName:\x20\x22','8tKnIep','copyFile','getDate','模板内容替换失败','.ts','replaceContent','extname','utf8','processDirectory','message','processFile','processTemplate','padStart','template','mkdir','1358441mToQGl','map','1349148gdKcYr'];a218_0x47a6=function(){return _0x2a0b09;};return a218_0x47a6();}const a218_0x113618=a218_0x15d3;(function(_0x27b2ca,_0xef8eb8){const _0x61a8bc=a218_0x15d3,_0x2f12b2=_0x27b2ca();while(!![]){try{const _0x434350=-parseInt(_0x61a8bc(0x13e))/0x1+-parseInt(_0x61a8bc(0x17f))/0x2+-parseInt(_0x61a8bc(0x170))/0x3*(-parseInt(_0x61a8bc(0x15a))/0x4)+parseInt(_0x61a8bc(0x172))/0x5+parseInt(_0x61a8bc(0x17c))/0x6+-parseInt(_0x61a8bc(0x16e))/0x7*(-parseInt(_0x61a8bc(0x15f))/0x8)+-parseInt(_0x61a8bc(0x15b))/0x9*(-parseInt(_0x61a8bc(0x15c))/0xa);if(_0x434350===_0xef8eb8)break;else _0x2f12b2['push'](_0x2f12b2['shift']());}catch(_0x21c22b){_0x2f12b2['push'](_0x2f12b2['shift']());}}}(a218_0x47a6,0x9d35f));import a218_0x3b9412 from'node:fs';import a218_0x26324e from'node:path';import{logger}from'../utils/logger.js';function a218_0x15d3(_0x38b861,_0x3cc853){_0x38b861=_0x38b861-0x139;const _0x47a66d=a218_0x47a6();let _0x15d319=_0x47a66d[_0x38b861];return _0x15d319;}import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static['pad'](_0x27d114){const _0x3f9761=a218_0x15d3;return String(_0x27d114)[_0x3f9761(0x16b)](0x2,'0');}static['formatLocalTimestamp'](_0x315713){const _0xd928ef=a218_0x15d3,_0x471e9e=_0x315713[_0xd928ef(0x14d)](),_0x9e8cf4=this[_0xd928ef(0x17e)](_0x315713[_0xd928ef(0x149)]()+0x1),_0xb9972e=this[_0xd928ef(0x17e)](_0x315713[_0xd928ef(0x161)]()),_0x52dccd=this['pad'](_0x315713['getHours']()),_0x15b20f=this[_0xd928ef(0x17e)](_0x315713['getMinutes']()),_0x55a955=this[_0xd928ef(0x17e)](_0x315713[_0xd928ef(0x155)]());return{'createdAt':_0x471e9e+'-'+_0x9e8cf4+'-'+_0xb9972e+'\x20'+_0x52dccd+':'+_0x15b20f+':'+_0x55a955,'createdDate':_0x471e9e+'-'+_0x9e8cf4+'-'+_0xb9972e,'createdTime':_0x52dccd+':'+_0x15b20f+':'+_0x55a955};}static[a218_0x113618(0x171)](_0x391b72){const _0x3ce4a6=a218_0x113618,_0x57def5=_0x391b72[_0x3ce4a6(0x159)]('/')[_0x3ce4a6(0x13f)]()||_0x391b72;return _0x57def5[_0x3ce4a6(0x159)]('-')[_0x3ce4a6(0x16f)](_0x2df13e=>_0x2df13e[_0x3ce4a6(0x144)](0x0)['toUpperCase']()+_0x2df13e[_0x3ce4a6(0x17a)](0x1)[_0x3ce4a6(0x14a)]())[_0x3ce4a6(0x145)]('');}static['toDisplayTitle'](_0x441be0){const _0x9deb7f=a218_0x113618,_0x2b97c3=_0x441be0[_0x9deb7f(0x159)]('/')['pop']()||_0x441be0;return _0x2b97c3['split']('-')[_0x9deb7f(0x16f)](_0x33c645=>_0x33c645[_0x9deb7f(0x144)](0x0)[_0x9deb7f(0x150)]()+_0x33c645[_0x9deb7f(0x17a)](0x1)['toLowerCase']())[_0x9deb7f(0x145)]('\x20');}static[a218_0x113618(0x164)](_0x487893,_0x44e3fb,_0x28f94e){const _0x489a55=a218_0x113618,_0x1467bb=this[_0x489a55(0x171)](_0x44e3fb),_0x3f96a6=this[_0x489a55(0x141)](_0x44e3fb),{createdAt:_0x2718c1,createdDate:_0x12f1ff,createdTime:_0x2c1a66}=this['formatLocalTimestamp'](new Date());let _0x4cfed0=_0x487893[_0x489a55(0x147)](/\{CliVersion\}/g,CLI_VERSION)[_0x489a55(0x147)](/\{ComponentName\}/g,_0x1467bb)['replace'](/\{DisplayTitle\}/g,_0x3f96a6)['replace'](/\{PageName\}/g,_0x44e3fb)[_0x489a55(0x147)](/\{TemplateName\}/g,_0x28f94e)[_0x489a55(0x147)](/\{CreatedAt\}/g,_0x2718c1)[_0x489a55(0x147)](/\{CreatedDate\}/g,_0x12f1ff)['replace'](/\{CreatedTime\}/g,_0x2c1a66);return _0x4cfed0;}static[a218_0x113618(0x13d)](_0x50a66f,_0xb495c0,_0x3052b5,_0x531206,_0x7b8368,_0x105077,_0x10b24d,_0x18194e){const _0x297cac=a218_0x113618,_0x7f3771=new Date(),_0x481cef=_0x7f3771['toISOString'](),_0x3ccc48=_0x3052b5[_0x297cac(0x16f)](_0x368435=>{const _0x25f8b7=_0x297cac,_0x5b7ad4=[_0x25f8b7(0x153)+_0x368435[_0x25f8b7(0x143)]+'\x22',_0x25f8b7(0x15e)+_0x368435[_0x25f8b7(0x13c)]+'\x22',_0x25f8b7(0x142)+_0x368435[_0x25f8b7(0x17b)]+'\x22'];return _0x368435[_0x25f8b7(0x151)]&&_0x5b7ad4['push']('alias:\x20\x22'+_0x368435[_0x25f8b7(0x151)]+'\x22'),_0x25f8b7(0x158)+_0x5b7ad4[_0x25f8b7(0x145)](',\x20')+_0x25f8b7(0x14b);})[_0x297cac(0x145)](''),_0x27a7d4=_0x531206||_0x3052b5[0x0]?.[_0x297cac(0x151)]||_0x297cac(0x173);let _0x5bcf78=_0x50a66f['replace'](/\{AppCode\}/g,_0xb495c0)[_0x297cac(0x147)](/\{ModelConfigs\}/g,_0x3ccc48)[_0x297cac(0x147)](/\{ExampleModelName\}/g,_0x27a7d4)['replace'](/\{ApiFileName\}/g,_0x7b8368||_0x297cac(0x177))[_0x297cac(0x147)](/\{ConfigName\}/g,_0x105077||_0x297cac(0x154))[_0x297cac(0x147)](/\{ClientConfigParam\}/g,_0x10b24d||'')[_0x297cac(0x147)](/\{VarPrefix\}/g,_0x18194e||_0x297cac(0x148))[_0x297cac(0x147)](/\{CreatedAt\}/g,_0x481cef);return _0x5bcf78;}static async[a218_0x113618(0x16a)](_0x1f1e0f,_0x291e12,_0x21d4f3,_0x527af6,_0x39bc06=!![]){const _0x370efc=a218_0x113618,_0x1e3f27=Date[_0x370efc(0x13b)]();try{_0x39bc06&&logger[_0x370efc(0x156)](_0x370efc(0x16c),'开始处理模板内容替换',{'templatePath':_0x1f1e0f,'targetPath':_0x291e12,'pageName':_0x21d4f3,'templateName':_0x527af6});await a218_0x3b9412[_0x370efc(0x178)][_0x370efc(0x16d)](_0x291e12,{'recursive':!![]}),await this[_0x370efc(0x167)](_0x1f1e0f,_0x291e12,_0x21d4f3,_0x527af6);if(_0x39bc06){const _0x3874e9=Date['now']()-_0x1e3f27;logger[_0x370efc(0x14e)](_0x370efc(0x16c),_0x370efc(0x14c),_0x3874e9,{'pageName':_0x21d4f3,'templateName':_0x527af6});}}catch(_0x4e79d7){if(_0x39bc06){const _0x4cd367=Date['now']()-_0x1e3f27;logger[_0x370efc(0x146)](_0x370efc(0x16c),_0x370efc(0x162),{'templatePath':_0x1f1e0f,'targetPath':_0x291e12,'pageName':_0x21d4f3,'templateName':_0x527af6,'error':_0x4e79d7 instanceof Error?_0x4e79d7[_0x370efc(0x168)]:String(_0x4e79d7),'duration':_0x4cd367});}throw _0x4e79d7;}}static async['processDirectory'](_0x236d0f,_0x15e67e,_0x5348aa,_0xa85959){const _0x55faef=a218_0x113618,_0x4bb7f3=await a218_0x3b9412[_0x55faef(0x178)][_0x55faef(0x175)](_0x236d0f,{'withFileTypes':!![]});for(const _0x95371c of _0x4bb7f3){const _0x528056=a218_0x26324e[_0x55faef(0x145)](_0x236d0f,_0x95371c[_0x55faef(0x17b)]);let _0x23bb84=a218_0x26324e[_0x55faef(0x145)](_0x15e67e,_0x95371c['name']);_0x95371c['name'][_0x55faef(0x176)](_0x55faef(0x157))&&(_0x23bb84=a218_0x26324e['join'](_0x15e67e,_0x95371c['name']['replace'](/\.tpl$/,'')));if(_0x95371c[_0x55faef(0x139)]())await a218_0x3b9412['promises']['mkdir'](_0x23bb84,{'recursive':!![]}),await this[_0x55faef(0x167)](_0x528056,_0x23bb84,_0x5348aa,_0xa85959);else _0x95371c[_0x55faef(0x17d)]()&&await this[_0x55faef(0x169)](_0x528056,_0x23bb84,_0x5348aa,_0xa85959);}}static async['processFile'](_0xa2a57b,_0x5de318,_0x1ae3dc,_0xe49d7b){const _0x818d58=a218_0x113618,_0x16af68=a218_0x26324e[_0x818d58(0x165)](_0xa2a57b)[_0x818d58(0x14a)]();_0xa2a57b[_0x818d58(0x176)](_0x818d58(0x157))&&(_0x5de318=_0x5de318[_0x818d58(0x147)](/\.tpl$/,''));const _0x38bdf9=[_0x818d58(0x13a),_0x818d58(0x163),_0x818d58(0x152),_0x818d58(0x15d),_0x818d58(0x179),_0x818d58(0x14f),_0x818d58(0x140),_0x818d58(0x174),_0x818d58(0x157)];if(_0x38bdf9['includes'](_0x16af68)||_0xa2a57b['endsWith'](_0x818d58(0x157))){const _0x1ae714=await a218_0x3b9412[_0x818d58(0x178)]['readFile'](_0xa2a57b,_0x818d58(0x166)),_0x3da931=this[_0x818d58(0x164)](_0x1ae714,_0x1ae3dc,_0xe49d7b);await a218_0x3b9412['promises']['writeFile'](_0x5de318,_0x3da931,_0x818d58(0x166));}else await a218_0x3b9412['promises'][_0x818d58(0x160)](_0xa2a57b,_0x5de318);}}
@@ -1 +1 @@
1
- (function(_0x53fd24,_0x299935){const _0x504b86=a218_0x21f4,_0x2e8df5=_0x53fd24();while(!![]){try{const _0x4faa50=-parseInt(_0x504b86(0x127))/0x1+parseInt(_0x504b86(0x12a))/0x2*(-parseInt(_0x504b86(0x123))/0x3)+-parseInt(_0x504b86(0x128))/0x4*(-parseInt(_0x504b86(0x112))/0x5)+-parseInt(_0x504b86(0x120))/0x6+-parseInt(_0x504b86(0x118))/0x7+-parseInt(_0x504b86(0x12d))/0x8*(parseInt(_0x504b86(0x11c))/0x9)+parseInt(_0x504b86(0x12e))/0xa;if(_0x4faa50===_0x299935)break;else _0x2e8df5['push'](_0x2e8df5['shift']());}catch(_0x231be4){_0x2e8df5['push'](_0x2e8df5['shift']());}}}(a218_0x1d00,0xdb1a5));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a218_0x3eaf1c from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.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 a218_0x21f4(_0x56b3b5,_0x2dbd2e){_0x56b3b5=_0x56b3b5-0x112;const _0x1d006f=a218_0x1d00();let _0x21f4fd=_0x1d006f[_0x56b3b5];return _0x21f4fd;}function isUpdateNoticeDisabled(){const _0x123913=a218_0x21f4,_0x155958=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x123913(0x11f)]()[_0x123913(0x115)]();return _0x155958==='1'||_0x155958===_0x123913(0x116)||_0x155958===_0x123913(0x119);}function cacheRoot(){const _0x57738b=a218_0x21f4;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x57738b(0x114));}function a218_0x1d00(){const _0x4b2d58=['1910eOiDZe','now','object','1998312EsfAgu','37976760KDDBfM','valid','906735iymOrg','checkedAt','.cache','toLowerCase','true','/v/','2196250zxKbQE','yes','update-check.json','\x20update','9ayxkeb','rabetbase-cli','parse','trim','8490336xaPprl','stableVersion','lastNotifiedAt','1875Lystes','utf8','latest','lastNotifiedVersion','868802tIReom','12FIGsTJ','number'];a218_0x1d00=function(){return _0x4b2d58;};return a218_0x1d00();}export function getUpdateNoticeCachePath(){const _0x55e7c7=a218_0x21f4;return join(cacheRoot(),_0x55e7c7(0x11d),_0x55e7c7(0x11a));}async function readUpdateNoticeCache(){const _0x327de6=a218_0x21f4;try{const _0xd02480=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x37589d=JSON[_0x327de6(0x11e)](_0xd02480);if(!_0x37589d||typeof _0x37589d!==_0x327de6(0x12c))return{};return _0x37589d;}catch{return{};}}async function writeUpdateNoticeCache(_0x2c31ed){const _0x18555f=a218_0x21f4;try{const _0x286b56=getUpdateNoticeCachePath();await mkdir(dirname(_0x286b56),{'recursive':!![]}),await writeFile(_0x286b56,JSON['stringify'](_0x2c31ed,null,0x2)+'\x0a',_0x18555f(0x124));}catch{}}function isFreshCheck(_0x32dc5c,_0x26ca30){const _0x50f7d5=a218_0x21f4;return typeof _0x32dc5c[_0x50f7d5(0x113)]==='number'&&_0x26ca30-_0x32dc5c[_0x50f7d5(0x113)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x4d84f8,_0x55e430,_0x20adf0){const _0x2743eb=a218_0x21f4;return _0x4d84f8[_0x2743eb(0x126)]===_0x55e430&&typeof _0x4d84f8[_0x2743eb(0x122)]===_0x2743eb(0x129)&&_0x20adf0-_0x4d84f8[_0x2743eb(0x122)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x27df06){const _0x5263b8=a218_0x21f4;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0x5263b8(0x117)+_0x27df06;}export async function resolveLatestUpdateNotice(){const _0x18d4bf=a218_0x21f4;if(isUpdateNoticeDisabled())return null;try{const _0x58a98d=Date[_0x18d4bf(0x12b)](),_0x1a1144=getCliVersion(),_0x2fc311=await readUpdateNoticeCache();let _0x2c8d07=isFreshCheck(_0x2fc311,_0x58a98d)?_0x2fc311[_0x18d4bf(0x125)]?.['trim']():undefined;if(!_0x2c8d07&&!isFreshCheck(_0x2fc311,_0x58a98d)){const _0x545444=await getCliVersionPolicy();_0x2c8d07=_0x545444?.[_0x18d4bf(0x121)]?.[_0x18d4bf(0x11f)]()||undefined,await writeUpdateNoticeCache({..._0x2fc311,'checkedAt':_0x58a98d,'latest':_0x2c8d07,'failed':!_0x2c8d07});}if(!_0x2c8d07||!a218_0x3eaf1c[_0x18d4bf(0x12f)](_0x1a1144)||!a218_0x3eaf1c[_0x18d4bf(0x12f)](_0x2c8d07))return null;if(a218_0x3eaf1c['gte'](_0x1a1144,_0x2c8d07))return null;if(isRecentlyNotified(_0x2fc311,_0x2c8d07,_0x58a98d))return null;const _0x55fae2=CLI_BIN_NAME+_0x18d4bf(0x11b);return await writeUpdateNoticeCache({..._0x2fc311,'checkedAt':isFreshCheck(_0x2fc311,_0x58a98d)?_0x2fc311['checkedAt']:_0x58a98d,'latest':_0x2c8d07,'failed':![],'lastNotifiedVersion':_0x2c8d07,'lastNotifiedAt':_0x58a98d}),{'command':_0x55fae2,'current':_0x1a1144,'latest':_0x2c8d07,'url':buildNpmVersionUrl(_0x2c8d07),'message':CLI_BIN_NAME+'\x20'+_0x2c8d07+'\x20available,\x20current\x20'+_0x1a1144+',\x20run:\x20'+_0x55fae2};}catch{return null;}}
1
+ (function(_0x27a4de,_0x22098e){const _0x32fe39=a219_0x3bfc,_0x34f53f=_0x27a4de();while(!![]){try{const _0x2b1aa3=parseInt(_0x32fe39(0x1ea))/0x1*(-parseInt(_0x32fe39(0x1ff))/0x2)+parseInt(_0x32fe39(0x1eb))/0x3*(parseInt(_0x32fe39(0x1e6))/0x4)+parseInt(_0x32fe39(0x1ec))/0x5+-parseInt(_0x32fe39(0x1f5))/0x6+-parseInt(_0x32fe39(0x1f9))/0x7*(parseInt(_0x32fe39(0x1f0))/0x8)+-parseInt(_0x32fe39(0x1fc))/0x9*(parseInt(_0x32fe39(0x1ef))/0xa)+-parseInt(_0x32fe39(0x1fb))/0xb;if(_0x2b1aa3===_0x22098e)break;else _0x34f53f['push'](_0x34f53f['shift']());}catch(_0x111fa5){_0x34f53f['push'](_0x34f53f['shift']());}}}(a219_0x59df,0x259fa));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';function a219_0x3bfc(_0x3775eb,_0x45b06b){_0x3775eb=_0x3775eb-0x1e6;const _0x59dfe3=a219_0x59df();let _0x3bfce0=_0x59dfe3[_0x3775eb];return _0x3bfce0;}import{dirname,join}from'node:path';import a219_0x3aea5f from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';function a219_0x59df(){const _0x165509=['parse','2HoJVME','true','392376kXtsSq','update-check.json','number',',\x20run:\x20','6348fhEiCo','3ijeFTb','1427355jeReSq','lastNotifiedAt','gte','50jKwXNY','16TVqnWa','checkedAt','toLowerCase','/v/','valid','103002clXKJJ','object','rabetbase-cli','utf8','19873RkGMbo','\x20available,\x20current\x20','514041yygbDS','276363nzpIBT','trim'];a219_0x59df=function(){return _0x165509;};return a219_0x59df();}import{getCliVersionPolicy}from'../utils/cli-version-policy.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 isUpdateNoticeDisabled(){const _0x2b155e=a219_0x3bfc,_0x54cf32=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x2b155e(0x1fd)]()[_0x2b155e(0x1f2)]();return _0x54cf32==='1'||_0x54cf32===_0x2b155e(0x200)||_0x54cf32==='yes';}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x3aad5d=a219_0x3bfc;return join(cacheRoot(),_0x3aad5d(0x1f7),_0x3aad5d(0x1e7));}async function readUpdateNoticeCache(){const _0x1665f7=a219_0x3bfc;try{const _0x42f319=await readFile(getUpdateNoticeCachePath(),_0x1665f7(0x1f8)),_0x5586e5=JSON[_0x1665f7(0x1fe)](_0x42f319);if(!_0x5586e5||typeof _0x5586e5!==_0x1665f7(0x1f6))return{};return _0x5586e5;}catch{return{};}}async function writeUpdateNoticeCache(_0x3cfcdc){try{const _0x12ad4f=getUpdateNoticeCachePath();await mkdir(dirname(_0x12ad4f),{'recursive':!![]}),await writeFile(_0x12ad4f,JSON['stringify'](_0x3cfcdc,null,0x2)+'\x0a','utf8');}catch{}}function isFreshCheck(_0x548de1,_0x5a1194){const _0x31bbf0=a219_0x3bfc;return typeof _0x548de1[_0x31bbf0(0x1f1)]===_0x31bbf0(0x1e8)&&_0x5a1194-_0x548de1[_0x31bbf0(0x1f1)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x5487ca,_0x3ba5ed,_0x145c29){const _0x2abb58=a219_0x3bfc;return _0x5487ca['lastNotifiedVersion']===_0x3ba5ed&&typeof _0x5487ca[_0x2abb58(0x1ed)]===_0x2abb58(0x1e8)&&_0x145c29-_0x5487ca[_0x2abb58(0x1ed)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x272096){const _0x207be5=a219_0x3bfc;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0x207be5(0x1f3)+_0x272096;}export async function resolveLatestUpdateNotice(){const _0x26aa9b=a219_0x3bfc;if(isUpdateNoticeDisabled())return null;try{const _0x485f88=Date['now'](),_0x261809=getCliVersion(),_0x476c53=await readUpdateNoticeCache();let _0x499c3a=isFreshCheck(_0x476c53,_0x485f88)?_0x476c53['latest']?.['trim']():undefined;if(!_0x499c3a&&!isFreshCheck(_0x476c53,_0x485f88)){const _0x32b758=await getCliVersionPolicy();_0x499c3a=_0x32b758?.['stableVersion']?.[_0x26aa9b(0x1fd)]()||undefined,await writeUpdateNoticeCache({..._0x476c53,'checkedAt':_0x485f88,'latest':_0x499c3a,'failed':!_0x499c3a});}if(!_0x499c3a||!a219_0x3aea5f[_0x26aa9b(0x1f4)](_0x261809)||!a219_0x3aea5f[_0x26aa9b(0x1f4)](_0x499c3a))return null;if(a219_0x3aea5f[_0x26aa9b(0x1ee)](_0x261809,_0x499c3a))return null;if(isRecentlyNotified(_0x476c53,_0x499c3a,_0x485f88))return null;const _0x45784d=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x476c53,'checkedAt':isFreshCheck(_0x476c53,_0x485f88)?_0x476c53[_0x26aa9b(0x1f1)]:_0x485f88,'latest':_0x499c3a,'failed':![],'lastNotifiedVersion':_0x499c3a,'lastNotifiedAt':_0x485f88}),{'command':_0x45784d,'current':_0x261809,'latest':_0x499c3a,'url':buildNpmVersionUrl(_0x499c3a),'message':CLI_BIN_NAME+'\x20'+_0x499c3a+_0x26aa9b(0x1fa)+_0x261809+_0x26aa9b(0x1e9)+_0x45784d};}catch{return null;}}
@@ -1 +1 @@
1
- function a219_0x92a4(_0x3ff244,_0x1305c9){_0x3ff244=_0x3ff244-0x104;var _0x4aef04=a219_0x4aef();var _0x92a421=_0x4aef04[_0x3ff244];return _0x92a421;}function a219_0x4aef(){var _0xd14e8f=['1675632dUZXpE','13772IOUgce','6cNdmei','9AwFvjB','16lYUMyF','1151260cJIXgq','2138700ewuPjp','34438cnyLrA','1536CiVWbS','236715BsyIZb','908978oVEbcb','15nMNJSt'];a219_0x4aef=function(){return _0xd14e8f;};return a219_0x4aef();}(function(_0x35569e,_0x26b53b){var _0x4f6c05=a219_0x92a4,_0x49a021=_0x35569e();while(!![]){try{var _0x3ea364=-parseInt(_0x4f6c05(0x108))/0x1*(-parseInt(_0x4f6c05(0x104))/0x2)+parseInt(_0x4f6c05(0x106))/0x3*(-parseInt(_0x4f6c05(0x10d))/0x4)+-parseInt(_0x4f6c05(0x10e))/0x5+-parseInt(_0x4f6c05(0x10b))/0x6*(parseInt(_0x4f6c05(0x107))/0x7)+parseInt(_0x4f6c05(0x109))/0x8+parseInt(_0x4f6c05(0x10c))/0x9*(parseInt(_0x4f6c05(0x10f))/0xa)+-parseInt(_0x4f6c05(0x10a))/0xb*(-parseInt(_0x4f6c05(0x105))/0xc);if(_0x3ea364===_0x26b53b)break;else _0x49a021['push'](_0x49a021['shift']());}catch(_0x1489b2){_0x49a021['push'](_0x49a021['shift']());}}}(a219_0x4aef,0x288fb));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
1
+ function a220_0x3f1f(){var _0x4ba0e1=['5573GyPTxt','6773215WckqpT','1570684vPWSYQ','30025870TUsjcI','11dZgfbC','4156374oiOJOG','7QSnklW','578iTjHSj','4940505YOHIlO','36AVCFAo','1738440GYnQnG'];a220_0x3f1f=function(){return _0x4ba0e1;};return a220_0x3f1f();}function a220_0x3bae(_0x4c169c,_0x57dfa0){_0x4c169c=_0x4c169c-0xe0;var _0x3f1fba=a220_0x3f1f();var _0x3bae8c=_0x3f1fba[_0x4c169c];return _0x3bae8c;}(function(_0x3b37c4,_0x1a4a0a){var _0x5030a6=a220_0x3bae,_0x419a8a=_0x3b37c4();while(!![]){try{var _0x333849=-parseInt(_0x5030a6(0xe6))/0x1*(-parseInt(_0x5030a6(0xe2))/0x2)+parseInt(_0x5030a6(0xe3))/0x3+parseInt(_0x5030a6(0xe8))/0x4+-parseInt(_0x5030a6(0xe7))/0x5+-parseInt(_0x5030a6(0xe0))/0x6*(-parseInt(_0x5030a6(0xe1))/0x7)+parseInt(_0x5030a6(0xe5))/0x8*(parseInt(_0x5030a6(0xe4))/0x9)+parseInt(_0x5030a6(0xe9))/0xa*(-parseInt(_0x5030a6(0xea))/0xb);if(_0x333849===_0x1a4a0a)break;else _0x419a8a['push'](_0x419a8a['shift']());}catch(_0x3a74ff){_0x419a8a['push'](_0x419a8a['shift']());}}}(a220_0x3f1f,0xd0b26));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- (function(_0x4dfeb0,_0xa06a1e){var _0x3d5a33=a220_0x59a4,_0x50bf74=_0x4dfeb0();while(!![]){try{var _0x12aa2c=parseInt(_0x3d5a33(0x81))/0x1*(parseInt(_0x3d5a33(0x84))/0x2)+parseInt(_0x3d5a33(0x83))/0x3*(-parseInt(_0x3d5a33(0x7d))/0x4)+parseInt(_0x3d5a33(0x82))/0x5*(-parseInt(_0x3d5a33(0x7b))/0x6)+parseInt(_0x3d5a33(0x80))/0x7+-parseInt(_0x3d5a33(0x7f))/0x8+parseInt(_0x3d5a33(0x7e))/0x9*(parseInt(_0x3d5a33(0x86))/0xa)+-parseInt(_0x3d5a33(0x7c))/0xb*(-parseInt(_0x3d5a33(0x85))/0xc);if(_0x12aa2c===_0xa06a1e)break;else _0x50bf74['push'](_0x50bf74['shift']());}catch(_0x147bb3){_0x50bf74['push'](_0x50bf74['shift']());}}}(a220_0x3c8b,0xad80a));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a220_0x59a4(_0x89ddc0,_0x10a522){_0x89ddc0=_0x89ddc0-0x7b;var _0x3c8b73=a220_0x3c8b();var _0x59a4b5=_0x3c8b73[_0x89ddc0];return _0x59a4b5;}export async function withActiveCookie(_0x10c7f8,_0x12c64c){setActiveCookie(_0x10c7f8);try{return await _0x12c64c();}finally{clearActiveCookie();}}function a220_0x3c8b(){var _0x30bb18=['1615332LQMDRJ','1010566hFLBWV','1186932fNvJfg','460EgJFAD','104016ElDcLa','253OfKbyq','4GcVZJn','28053iMGTjE','6336320jsdhiV','2317364mhvxIO','1dWAGSi','350AfVGSm'];a220_0x3c8b=function(){return _0x30bb18;};return a220_0x3c8b();}
1
+ (function(_0x188bfa,_0x21dfa6){var _0x383980=a221_0x3ce7,_0x4b14b8=_0x188bfa();while(!![]){try{var _0x4dd3ae=-parseInt(_0x383980(0x179))/0x1*(-parseInt(_0x383980(0x17d))/0x2)+parseInt(_0x383980(0x17c))/0x3+parseInt(_0x383980(0x17e))/0x4*(parseInt(_0x383980(0x176))/0x5)+parseInt(_0x383980(0x177))/0x6*(parseInt(_0x383980(0x174))/0x7)+parseInt(_0x383980(0x180))/0x8*(-parseInt(_0x383980(0x175))/0x9)+-parseInt(_0x383980(0x17b))/0xa*(parseInt(_0x383980(0x17a))/0xb)+parseInt(_0x383980(0x17f))/0xc*(-parseInt(_0x383980(0x178))/0xd);if(_0x4dd3ae===_0x21dfa6)break;else _0x4b14b8['push'](_0x4b14b8['shift']());}catch(_0x2026a4){_0x4b14b8['push'](_0x4b14b8['shift']());}}}(a221_0x146e,0xaf0ba));function a221_0x3ce7(_0x119f32,_0x1ef76a){_0x119f32=_0x119f32-0x174;var _0x146e21=a221_0x146e();var _0x3ce7b6=_0x146e21[_0x119f32];return _0x3ce7b6;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a221_0x146e(){var _0x1a3a63=['2166624nvmQBy','10cyBpPA','16916SREMRY','12aYtKXi','73992qCvlJG','349909DtjByJ','324BsXknX','1065DoCImF','30XItXDw','17160351EmxVaE','251977xgPHkD','2097777jhMLuZ','40zuoHzJ'];a221_0x146e=function(){return _0x1a3a63;};return a221_0x146e();}export async function withActiveCookie(_0x33acd4,_0x395bd7){setActiveCookie(_0x33acd4);try{return await _0x395bd7();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- function a221_0x304e(_0x280265,_0x533ed6){_0x280265=_0x280265-0x166;var _0x4ffbb9=a221_0x4ffb();var _0x304eae=_0x4ffbb9[_0x280265];return _0x304eae;}(function(_0x2f2da7,_0x36b4ca){var _0x125542=a221_0x304e,_0x30d1ae=_0x2f2da7();while(!![]){try{var _0x5729d0=parseInt(_0x125542(0x16c))/0x1*(-parseInt(_0x125542(0x170))/0x2)+-parseInt(_0x125542(0x16a))/0x3+parseInt(_0x125542(0x16e))/0x4*(-parseInt(_0x125542(0x168))/0x5)+parseInt(_0x125542(0x166))/0x6+-parseInt(_0x125542(0x169))/0x7*(parseInt(_0x125542(0x172))/0x8)+parseInt(_0x125542(0x16b))/0x9*(-parseInt(_0x125542(0x167))/0xa)+parseInt(_0x125542(0x16f))/0xb;if(_0x5729d0===_0x36b4ca)break;else _0x30d1ae['push'](_0x30d1ae['shift']());}catch(_0x2ae8d0){_0x30d1ae['push'](_0x30d1ae['shift']());}}}(a221_0x4ffb,0x1a311));export function writeCliSideChannelLine(_0x5373a0){var _0x49b978=a221_0x304e;process[_0x49b978(0x16d)][_0x49b978(0x171)](_0x5373a0+'\x0a');}function a221_0x4ffb(){var _0x586aff=['120681PYCWvO','1660635fzTPLe','1CGHvxk','stderr','279844dcrVEv','3686221kmWxZd','46394MXBIAs','write','689872XcmUVb','1057824yixqLf','10MnAZkm','5mmzmoN','7ARVWVb'];a221_0x4ffb=function(){return _0x586aff;};return a221_0x4ffb();}
1
+ function a222_0x49c0(){var _0x464de4=['12uatYrO','283955UvyHdO','1505808FzipiX','stderr','801CdqXYj','1095066HTJkaC','write','184983vKuGzB','52790WGrfYx','472255gqmGxK','6556PAhApZ','11McXoTQ'];a222_0x49c0=function(){return _0x464de4;};return a222_0x49c0();}function a222_0x11ad(_0x49d40b,_0x50758d){_0x49d40b=_0x49d40b-0xe2;var _0x49c0ae=a222_0x49c0();var _0x11ad6b=_0x49c0ae[_0x49d40b];return _0x11ad6b;}(function(_0x224057,_0x2fd257){var _0x131e98=a222_0x11ad,_0x3bc494=_0x224057();while(!![]){try{var _0x337c97=parseInt(_0x131e98(0xed))/0x1*(-parseInt(_0x131e98(0xec))/0x2)+parseInt(_0x131e98(0xe9))/0x3*(-parseInt(_0x131e98(0xe2))/0x4)+-parseInt(_0x131e98(0xeb))/0x5+parseInt(_0x131e98(0xe7))/0x6+-parseInt(_0x131e98(0xe3))/0x7+-parseInt(_0x131e98(0xe4))/0x8+-parseInt(_0x131e98(0xe6))/0x9*(-parseInt(_0x131e98(0xea))/0xa);if(_0x337c97===_0x2fd257)break;else _0x3bc494['push'](_0x3bc494['shift']());}catch(_0x5b4298){_0x3bc494['push'](_0x3bc494['shift']());}}}(a222_0x49c0,0x1a61b));export function writeCliSideChannelLine(_0x54e826){var _0x18f234=a222_0x11ad;process[_0x18f234(0xe5)][_0x18f234(0xe8)](_0x54e826+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.2-beta.1",
3
+ "version": "2.3.3-beta.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "repository": {
6
6
  "type": "git",