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

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
- const a212_0x1e83da=a212_0x5c87;function a212_0x5c87(_0x30bedd,_0x40abe4){_0x30bedd=_0x30bedd-0x193;const _0x380505=a212_0x3805();let _0x5c8792=_0x380505[_0x30bedd];return _0x5c8792;}(function(_0x5ef552,_0x32312f){const _0x3acab5=a212_0x5c87,_0x19276b=_0x5ef552();while(!![]){try{const _0x56ba7e=parseInt(_0x3acab5(0x1c0))/0x1+parseInt(_0x3acab5(0x1c5))/0x2*(parseInt(_0x3acab5(0x196))/0x3)+parseInt(_0x3acab5(0x197))/0x4+-parseInt(_0x3acab5(0x1ba))/0x5*(parseInt(_0x3acab5(0x19e))/0x6)+parseInt(_0x3acab5(0x1a0))/0x7+parseInt(_0x3acab5(0x1a7))/0x8*(parseInt(_0x3acab5(0x1a9))/0x9)+-parseInt(_0x3acab5(0x1a1))/0xa;if(_0x56ba7e===_0x32312f)break;else _0x19276b['push'](_0x19276b['shift']());}catch(_0x801ec2){_0x19276b['push'](_0x19276b['shift']());}}}(a212_0x3805,0x4395e));import a212_0x53f707 from'winston';import a212_0x31673b from'node:fs';function a212_0x3805(){const _0xb0fc60=['message','timestamp','map','errors','120dNYNTU','split','95211AXjlKh','currentRawCommand','logFilePath','warn','开始执行:\x20','filter','trim','info','log','yellow','combine','blue','red','失败:\x20','parse','writeFileSync','dirname','5FZfzKH','success','完成:\x20','duration','setLogPath','.lovrabet.log','344549HOXItU','Failed\x20to\x20read\x20logs:','error','getWinstonInstance','setRawCommand','323014XSItQi','readLogs','clear','command','join','initWinstonLogger','utf8','format','stringify','createLogger','readFileSync','winstonLogger','mkdirSync','9auIThW','281936ioPPhC','existsSync','toISOString','clearLogs','transports','details','rawCommand','2205306uGAsfd','now','547281Ykjags','4920410kCcNci','printf'];a212_0x3805=function(){return _0xb0fc60;};return a212_0x3805();}import a212_0x5a7d9d from'node:path';class Logger{[a212_0x1e83da(0x194)];[a212_0x1e83da(0x1ab)];[a212_0x1e83da(0x1aa)]='';constructor(){this['logFilePath']='';}[a212_0x1e83da(0x1c4)](_0xeafc33){const _0x31ff65=a212_0x1e83da;this[_0x31ff65(0x1aa)]=_0xeafc33;}[a212_0x1e83da(0x1ca)](){const _0x167fa6=a212_0x1e83da,_0x541745=a212_0x5a7d9d[_0x167fa6(0x1b9)](this['logFilePath']);!a212_0x31673b['existsSync'](_0x541745)&&a212_0x31673b[_0x167fa6(0x195)](_0x541745,{'recursive':!![]});const _0x14de94=a212_0x53f707[_0x167fa6(0x1cc)][_0x167fa6(0x1b3)](a212_0x53f707[_0x167fa6(0x1cc)][_0x167fa6(0x1a4)](),a212_0x53f707[_0x167fa6(0x1cc)][_0x167fa6(0x1a6)]({'stack':!![]}),a212_0x53f707['format'][_0x167fa6(0x1a2)](_0x55493a=>{const _0x407924=_0x167fa6,_0x3cc35a={'timestamp':_0x55493a[_0x407924(0x1a4)]||new Date()[_0x407924(0x199)](),'level':_0x55493a['level']||_0x407924(0x1b0),'command':_0x55493a[_0x407924(0x1c8)]||'unknown','rawCommand':_0x55493a[_0x407924(0x19d)]||this[_0x407924(0x1aa)]||undefined,'message':_0x55493a[_0x407924(0x1a3)]||'','duration':_0x55493a[_0x407924(0x1bd)]||undefined,'details':_0x55493a[_0x407924(0x19c)]||undefined};return JSON[_0x407924(0x1cd)](_0x3cc35a);}));this[_0x167fa6(0x194)]=a212_0x53f707[_0x167fa6(0x1ce)]({'level':'info','format':_0x14de94,'transports':[new a212_0x53f707[(_0x167fa6(0x19b))]['File']({'filename':this[_0x167fa6(0x1ab)],'level':'info'})],'silent':![]}),a212_0x53f707['addColors']({'success':'green','error':_0x167fa6(0x1b5),'warn':_0x167fa6(0x1b2),'info':_0x167fa6(0x1b4)});}[a212_0x1e83da(0x1be)](_0x3a6a92){const _0x4d5314=a212_0x1e83da;this[_0x4d5314(0x1ab)]=a212_0x5a7d9d[_0x4d5314(0x1c9)](_0x3a6a92,_0x4d5314(0x1bf)),this[_0x4d5314(0x194)]&&this['winstonLogger'][_0x4d5314(0x1c7)](),this[_0x4d5314(0x1ca)]();}[a212_0x1e83da(0x1b0)](_0x476983,_0x48f592,_0x100a6e){const _0x23cd5d=a212_0x1e83da;if(!this['logFilePath']||!this[_0x23cd5d(0x194)])return;this[_0x23cd5d(0x194)][_0x23cd5d(0x1b0)](_0x48f592,{'command':_0x476983,'details':_0x100a6e});}[a212_0x1e83da(0x1bb)](_0x4f5fa1,_0x4482df,_0x3d7136,_0x1d4890){const _0x4caf1d=a212_0x1e83da;if(!this[_0x4caf1d(0x1ab)]||!this[_0x4caf1d(0x194)])return;this['winstonLogger'][_0x4caf1d(0x1b1)](_0x4caf1d(0x1b0),_0x4482df,{'level':_0x4caf1d(0x1bb),'command':_0x4f5fa1,'duration':_0x3d7136,'details':_0x1d4890});}['error'](_0x2866c9,_0x297904,_0x52f3ef){const _0x484375=a212_0x1e83da;if(!this[_0x484375(0x1ab)]||!this['winstonLogger'])return;this[_0x484375(0x194)][_0x484375(0x1c2)](_0x297904,{'command':_0x2866c9,'details':_0x52f3ef});}[a212_0x1e83da(0x1ac)](_0x10a8b4,_0x1286e0,_0x58ee9e){const _0xee1b9a=a212_0x1e83da;if(!this['logFilePath']||!this[_0xee1b9a(0x194)])return;this[_0xee1b9a(0x194)][_0xee1b9a(0x1ac)](_0x1286e0,{'command':_0x10a8b4,'details':_0x58ee9e});}async['logTask'](_0x2cb177,_0xdb69f5,_0x201819){const _0x39fa15=a212_0x1e83da,_0x5c0801=Date[_0x39fa15(0x19f)]();this[_0x39fa15(0x1b0)](_0x2cb177,_0x39fa15(0x1ad)+_0xdb69f5);try{const _0x2fca42=await _0x201819(),_0x4f4d4c=Date[_0x39fa15(0x19f)]()-_0x5c0801;return this[_0x39fa15(0x1bb)](_0x2cb177,_0x39fa15(0x1bc)+_0xdb69f5,_0x4f4d4c),_0x2fca42;}catch(_0x48f2e5){const _0x4c5ea7=Date[_0x39fa15(0x19f)]()-_0x5c0801;this[_0x39fa15(0x1c2)](_0x2cb177,_0x39fa15(0x1b6)+_0xdb69f5,{'error':_0x48f2e5 instanceof Error?_0x48f2e5[_0x39fa15(0x1a3)]:String(_0x48f2e5),'duration':_0x4c5ea7});throw _0x48f2e5;}}[a212_0x1e83da(0x1c6)](){const _0x414b12=a212_0x1e83da;try{if(!a212_0x31673b[_0x414b12(0x198)](this[_0x414b12(0x1ab)]))return[];const _0x1ca4dc=a212_0x31673b[_0x414b12(0x193)](this[_0x414b12(0x1ab)],_0x414b12(0x1cb));return _0x1ca4dc[_0x414b12(0x1a8)]('\x0a')[_0x414b12(0x1ae)](_0x5d1c8a=>_0x5d1c8a[_0x414b12(0x1af)]())[_0x414b12(0x1a5)](_0x3fcfbc=>JSON[_0x414b12(0x1b7)](_0x3fcfbc));}catch(_0x410784){return console[_0x414b12(0x1ac)](_0x414b12(0x1c1),_0x410784),[];}}[a212_0x1e83da(0x19a)](){const _0x266ca4=a212_0x1e83da;try{a212_0x31673b['existsSync'](this['logFilePath'])&&a212_0x31673b[_0x266ca4(0x1b8)](this['logFilePath'],'',_0x266ca4(0x1cb));}catch(_0x290500){console[_0x266ca4(0x1ac)]('Failed\x20to\x20clear\x20logs:',_0x290500);}}[a212_0x1e83da(0x1c3)](){const _0x1a0d9c=a212_0x1e83da;return this[_0x1a0d9c(0x194)];}}export const logger=new Logger();
1
+ const a213_0x4554bb=a213_0x137b;(function(_0x4a7abe,_0x5eed79){const _0x59a249=a213_0x137b,_0x582d5c=_0x4a7abe();while(!![]){try{const _0x4c8108=parseInt(_0x59a249(0x183))/0x1+parseInt(_0x59a249(0x19b))/0x2+-parseInt(_0x59a249(0x19a))/0x3*(parseInt(_0x59a249(0x198))/0x4)+parseInt(_0x59a249(0x185))/0x5+-parseInt(_0x59a249(0x178))/0x6*(-parseInt(_0x59a249(0x18c))/0x7)+-parseInt(_0x59a249(0x188))/0x8+parseInt(_0x59a249(0x195))/0x9*(-parseInt(_0x59a249(0x199))/0xa);if(_0x4c8108===_0x5eed79)break;else _0x582d5c['push'](_0x582d5c['shift']());}catch(_0x2fe67a){_0x582d5c['push'](_0x582d5c['shift']());}}}(a213_0x3ea7,0x46f31));import a213_0x16493c from'winston';import a213_0x53cb8d from'node:fs';import a213_0x1364ed from'node:path';function a213_0x137b(_0x3f2e76,_0x3776eb){_0x3f2e76=_0x3f2e76-0x166;const _0x3ea7bd=a213_0x3ea7();let _0x137bbf=_0x3ea7bd[_0x3f2e76];return _0x137bbf;}function a213_0x3ea7(){const _0x5f19e8=['失败:\x20','timestamp','readFileSync','format','message','info','level','errors','clearLogs','logFilePath','setLogPath','map','yellow','duration','mkdirSync','clear','logTask','19602ZTETiR','printf','Failed\x20to\x20clear\x20logs:','utf8','readLogs','createLogger','command','transports','now','rawCommand','.lovrabet.log','228091UhmsEh','success','1265005TIMxLe','addColors','getWinstonInstance','1506272uBsljc','stringify','existsSync','dirname','770OBjyFC','File','unknown','join','setRawCommand','initWinstonLogger','warn','currentRawCommand','完成:\x20','89937aWSiog','winstonLogger','parse','256hCttMq','290lnLCvN','3462TBNyvQ','4168LiiHpP','green','log','blue','error','toISOString','red'];a213_0x3ea7=function(){return _0x5f19e8;};return a213_0x3ea7();}class Logger{['winstonLogger'];[a213_0x4554bb(0x170)];[a213_0x4554bb(0x193)]='';constructor(){const _0xc004e3=a213_0x4554bb;this[_0xc004e3(0x170)]='';}[a213_0x4554bb(0x190)](_0x5c7442){this['currentRawCommand']=_0x5c7442;}['initWinstonLogger'](){const _0x317f32=a213_0x4554bb,_0x5ca7b9=a213_0x1364ed[_0x317f32(0x18b)](this['logFilePath']);!a213_0x53cb8d[_0x317f32(0x18a)](_0x5ca7b9)&&a213_0x53cb8d[_0x317f32(0x175)](_0x5ca7b9,{'recursive':!![]});const _0x173aed=a213_0x16493c[_0x317f32(0x16a)]['combine'](a213_0x16493c[_0x317f32(0x16a)]['timestamp'](),a213_0x16493c[_0x317f32(0x16a)][_0x317f32(0x16e)]({'stack':!![]}),a213_0x16493c[_0x317f32(0x16a)][_0x317f32(0x179)](_0x5b827a=>{const _0x4dfbb7=_0x317f32,_0xf2aabb={'timestamp':_0x5b827a[_0x4dfbb7(0x168)]||new Date()[_0x4dfbb7(0x1a0)](),'level':_0x5b827a[_0x4dfbb7(0x16d)]||_0x4dfbb7(0x16c),'command':_0x5b827a[_0x4dfbb7(0x17e)]||_0x4dfbb7(0x18e),'rawCommand':_0x5b827a[_0x4dfbb7(0x181)]||this[_0x4dfbb7(0x193)]||undefined,'message':_0x5b827a[_0x4dfbb7(0x16b)]||'','duration':_0x5b827a[_0x4dfbb7(0x174)]||undefined,'details':_0x5b827a['details']||undefined};return JSON[_0x4dfbb7(0x189)](_0xf2aabb);}));this['winstonLogger']=a213_0x16493c[_0x317f32(0x17d)]({'level':'info','format':_0x173aed,'transports':[new a213_0x16493c[(_0x317f32(0x17f))][(_0x317f32(0x18d))]({'filename':this['logFilePath'],'level':'info'})],'silent':![]}),a213_0x16493c[_0x317f32(0x186)]({'success':_0x317f32(0x19c),'error':_0x317f32(0x166),'warn':_0x317f32(0x173),'info':_0x317f32(0x19e)});}[a213_0x4554bb(0x171)](_0x23f606){const _0x5214fa=a213_0x4554bb;this[_0x5214fa(0x170)]=a213_0x1364ed[_0x5214fa(0x18f)](_0x23f606,_0x5214fa(0x182)),this['winstonLogger']&&this[_0x5214fa(0x196)][_0x5214fa(0x176)](),this[_0x5214fa(0x191)]();}['info'](_0x5be5e9,_0x438ae1,_0x126513){const _0x55c0e0=a213_0x4554bb;if(!this['logFilePath']||!this[_0x55c0e0(0x196)])return;this[_0x55c0e0(0x196)][_0x55c0e0(0x16c)](_0x438ae1,{'command':_0x5be5e9,'details':_0x126513});}[a213_0x4554bb(0x184)](_0x17e024,_0x54d24a,_0x8406a7,_0x1a3b9b){const _0x3d8e95=a213_0x4554bb;if(!this[_0x3d8e95(0x170)]||!this['winstonLogger'])return;this['winstonLogger'][_0x3d8e95(0x19d)](_0x3d8e95(0x16c),_0x54d24a,{'level':'success','command':_0x17e024,'duration':_0x8406a7,'details':_0x1a3b9b});}[a213_0x4554bb(0x19f)](_0x3fb8b4,_0x3c3223,_0x4cc8cc){const _0x35573b=a213_0x4554bb;if(!this[_0x35573b(0x170)]||!this[_0x35573b(0x196)])return;this[_0x35573b(0x196)][_0x35573b(0x19f)](_0x3c3223,{'command':_0x3fb8b4,'details':_0x4cc8cc});}['warn'](_0x520f86,_0x3d5eb1,_0x3f4c28){const _0xfe11f4=a213_0x4554bb;if(!this[_0xfe11f4(0x170)]||!this['winstonLogger'])return;this['winstonLogger'][_0xfe11f4(0x192)](_0x3d5eb1,{'command':_0x520f86,'details':_0x3f4c28});}async[a213_0x4554bb(0x177)](_0x411bc7,_0x16f20e,_0xdcb27b){const _0x118c31=a213_0x4554bb,_0x286192=Date[_0x118c31(0x180)]();this[_0x118c31(0x16c)](_0x411bc7,'开始执行:\x20'+_0x16f20e);try{const _0x2d7d89=await _0xdcb27b(),_0x13f1a6=Date[_0x118c31(0x180)]()-_0x286192;return this[_0x118c31(0x184)](_0x411bc7,_0x118c31(0x194)+_0x16f20e,_0x13f1a6),_0x2d7d89;}catch(_0x2d72c0){const _0x4f59bb=Date[_0x118c31(0x180)]()-_0x286192;this[_0x118c31(0x19f)](_0x411bc7,_0x118c31(0x167)+_0x16f20e,{'error':_0x2d72c0 instanceof Error?_0x2d72c0[_0x118c31(0x16b)]:String(_0x2d72c0),'duration':_0x4f59bb});throw _0x2d72c0;}}[a213_0x4554bb(0x17c)](){const _0x2f8bbb=a213_0x4554bb;try{if(!a213_0x53cb8d[_0x2f8bbb(0x18a)](this['logFilePath']))return[];const _0x194590=a213_0x53cb8d[_0x2f8bbb(0x169)](this[_0x2f8bbb(0x170)],_0x2f8bbb(0x17b));return _0x194590['split']('\x0a')['filter'](_0x577ef5=>_0x577ef5['trim']())[_0x2f8bbb(0x172)](_0x4b650e=>JSON[_0x2f8bbb(0x197)](_0x4b650e));}catch(_0x123a6a){return console[_0x2f8bbb(0x192)]('Failed\x20to\x20read\x20logs:',_0x123a6a),[];}}[a213_0x4554bb(0x16f)](){const _0x1ee6f8=a213_0x4554bb;try{a213_0x53cb8d[_0x1ee6f8(0x18a)](this[_0x1ee6f8(0x170)])&&a213_0x53cb8d['writeFileSync'](this[_0x1ee6f8(0x170)],'',_0x1ee6f8(0x17b));}catch(_0x278977){console[_0x1ee6f8(0x192)](_0x1ee6f8(0x17a),_0x278977);}}[a213_0x4554bb(0x187)](){const _0x559199=a213_0x4554bb;return this[_0x559199(0x196)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- (function(_0xcbfee8,_0x150d20){const _0x18b303=a213_0x3031,_0x41105c=_0xcbfee8();while(!![]){try{const _0x5e396e=-parseInt(_0x18b303(0x13a))/0x1+parseInt(_0x18b303(0x12d))/0x2*(-parseInt(_0x18b303(0x12f))/0x3)+-parseInt(_0x18b303(0x134))/0x4*(parseInt(_0x18b303(0x135))/0x5)+-parseInt(_0x18b303(0x139))/0x6*(-parseInt(_0x18b303(0x133))/0x7)+parseInt(_0x18b303(0x13b))/0x8+parseInt(_0x18b303(0x137))/0x9+parseInt(_0x18b303(0x12e))/0xa*(parseInt(_0x18b303(0x131))/0xb);if(_0x5e396e===_0x150d20)break;else _0x41105c['push'](_0x41105c['shift']());}catch(_0x5a004c){_0x41105c['push'](_0x41105c['shift']());}}}(a213_0x51f0,0xb92b4));import{CliErrors}from'../errors.js';function a213_0x51f0(){const _0x48bee1=['object','4968027HlHYVz','Invalid\x20JSON\x20for\x20--params:\x20','32898iNDhMR','1424533jUudSs','5600416LJbovl','validation','755266REEWJB','4017620mlhaWQ','6aPwLSn','parse','33oUTgLK','--params\x20must\x20be\x20a\x20JSON\x20object','1379TnkLaO','4zjHgHF','2996205syChHb'];a213_0x51f0=function(){return _0x48bee1;};return a213_0x51f0();}function a213_0x3031(_0x435274,_0x319671){_0x435274=_0x435274-0x12d;const _0x51f0f6=a213_0x51f0();let _0x3031e1=_0x51f0f6[_0x435274];return _0x3031e1;}export function parseJsonParams(_0x5ccfd0){const _0x580483=a213_0x3031;if(!_0x5ccfd0)return undefined;let _0x1bffa1;try{_0x1bffa1=JSON[_0x580483(0x130)](_0x5ccfd0);}catch{throw CliErrors[_0x580483(0x13c)](_0x580483(0x138)+_0x5ccfd0);}if(!_0x1bffa1||typeof _0x1bffa1!==_0x580483(0x136)||Array['isArray'](_0x1bffa1))throw CliErrors['validation'](_0x580483(0x132),'Example:\x20--params\x20\x27{\x22id\x22:123}\x27');return _0x1bffa1;}
1
+ (function(_0x191ba0,_0x477135){const _0x3c8c24=a214_0x5eec,_0x2761b1=_0x191ba0();while(!![]){try{const _0x3d3783=parseInt(_0x3c8c24(0x90))/0x1*(-parseInt(_0x3c8c24(0x94))/0x2)+-parseInt(_0x3c8c24(0x95))/0x3+-parseInt(_0x3c8c24(0x98))/0x4+parseInt(_0x3c8c24(0x9c))/0x5*(-parseInt(_0x3c8c24(0x9d))/0x6)+-parseInt(_0x3c8c24(0x9a))/0x7+-parseInt(_0x3c8c24(0x97))/0x8*(parseInt(_0x3c8c24(0x93))/0x9)+parseInt(_0x3c8c24(0x9b))/0xa;if(_0x3d3783===_0x477135)break;else _0x2761b1['push'](_0x2761b1['shift']());}catch(_0x1b8a70){_0x2761b1['push'](_0x2761b1['shift']());}}}(a214_0x4b48,0x9b719));function a214_0x5eec(_0x7514d1,_0x220fc9){_0x7514d1=_0x7514d1-0x8e;const _0x4b488f=a214_0x4b48();let _0x5eec84=_0x4b488f[_0x7514d1];return _0x5eec84;}import{CliErrors}from'../errors.js';function a214_0x4b48(){const _0x450ddf=['37286250uQEgaT','15075pmFiwP','12uSIjhX','parse','object','58278BLkIoa','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','validation','43767xkELTV','16TrhLyR','2390334gJJTyG','--params\x20must\x20be\x20a\x20JSON\x20object','1608NfrWfw','2970468vtOizy','Invalid\x20JSON\x20for\x20--params:\x20','719712IQspyF'];a214_0x4b48=function(){return _0x450ddf;};return a214_0x4b48();}export function parseJsonParams(_0x25b7e6){const _0x584cfa=a214_0x5eec;if(!_0x25b7e6)return undefined;let _0xff9a4b;try{_0xff9a4b=JSON[_0x584cfa(0x8e)](_0x25b7e6);}catch{throw CliErrors[_0x584cfa(0x92)](_0x584cfa(0x99)+_0x25b7e6);}if(!_0xff9a4b||typeof _0xff9a4b!==_0x584cfa(0x8f)||Array['isArray'](_0xff9a4b))throw CliErrors[_0x584cfa(0x92)](_0x584cfa(0x96),_0x584cfa(0x91));return _0xff9a4b;}
@@ -1 +1 @@
1
- const a214_0x585514=a214_0x3fd3;(function(_0x2bc0ae,_0x5546ac){const _0x30b316=a214_0x3fd3,_0x1752f8=_0x2bc0ae();while(!![]){try{const _0x1b3a62=parseInt(_0x30b316(0x75))/0x1+parseInt(_0x30b316(0x6e))/0x2*(parseInt(_0x30b316(0x73))/0x3)+-parseInt(_0x30b316(0x70))/0x4+parseInt(_0x30b316(0x74))/0x5+-parseInt(_0x30b316(0x6d))/0x6+-parseInt(_0x30b316(0x71))/0x7+parseInt(_0x30b316(0x6c))/0x8;if(_0x1b3a62===_0x5546ac)break;else _0x1752f8['push'](_0x1752f8['shift']());}catch(_0x464b65){_0x1752f8['push'](_0x1752f8['shift']());}}}(a214_0x3b37,0xd3054));export const isWindows=process[a214_0x585514(0x76)]===a214_0x585514(0x72);function a214_0x3fd3(_0x252f26,_0x23601c){_0x252f26=_0x252f26-0x6c;const _0x3b3789=a214_0x3b37();let _0x3fd348=_0x3b3789[_0x252f26];return _0x3fd348;}function a214_0x3b37(){const _0x4b32a5=['3504696BcJrYS','2843290KrefNb','1580406UcUcHG','platform','6930400uofRTC','4409454WcRSWZ','2iGUuXj','.cmd','5498708taFOsU','8467690PSEEEe','win32'];a214_0x3b37=function(){return _0x4b32a5;};return a214_0x3b37();}export function resolveNpmBin(_0x55e887){const _0x187fdf=a214_0x585514;return isWindows?_0x55e887+_0x187fdf(0x6f):_0x55e887;}
1
+ const a215_0x32ec67=a215_0x549b;function a215_0x1992(){const _0x2eec24=['platform','win32','170DyIyJP','300zdYYco','4537379XyjDDo','12981XAjidl','.cmd','1ycmkOo','88lFGZJH','596960AsuUor','317605XOBDuE','233991LrBJjD','1361854BhYOaA','6SGHKjY','210529TJzQRa','688ApDYEZ'];a215_0x1992=function(){return _0x2eec24;};return a215_0x1992();}(function(_0x4c3283,_0x20511c){const _0x20101c=a215_0x549b,_0x38ecd1=_0x4c3283();while(!![]){try{const _0x4ab771=parseInt(_0x20101c(0xe2))/0x1*(parseInt(_0x20101c(0xe7))/0x2)+-parseInt(_0x20101c(0xe0))/0x3*(-parseInt(_0x20101c(0xea))/0x4)+parseInt(_0x20101c(0xe5))/0x5+-parseInt(_0x20101c(0xe8))/0x6*(-parseInt(_0x20101c(0xdf))/0x7)+-parseInt(_0x20101c(0xe3))/0x8*(parseInt(_0x20101c(0xe6))/0x9)+-parseInt(_0x20101c(0xed))/0xa*(parseInt(_0x20101c(0xe9))/0xb)+-parseInt(_0x20101c(0xee))/0xc*(parseInt(_0x20101c(0xe4))/0xd);if(_0x4ab771===_0x20511c)break;else _0x38ecd1['push'](_0x38ecd1['shift']());}catch(_0x237129){_0x38ecd1['push'](_0x38ecd1['shift']());}}}(a215_0x1992,0x5c2c1));function a215_0x549b(_0x3cd54b,_0x1c14df){_0x3cd54b=_0x3cd54b-0xdf;const _0x199237=a215_0x1992();let _0x549bea=_0x199237[_0x3cd54b];return _0x549bea;}export const isWindows=process[a215_0x32ec67(0xeb)]===a215_0x32ec67(0xec);export function resolveNpmBin(_0x1c261d){const _0x565b38=a215_0x32ec67;return isWindows?_0x1c261d+_0x565b38(0xe1):_0x1c261d;}
@@ -1 +1 @@
1
- const a215_0x1371a5=a215_0x3c6f;(function(_0x31f26c,_0x2e5720){const _0x5b74ac=a215_0x3c6f,_0x4f3b5c=_0x31f26c();while(!![]){try{const _0x5ab106=-parseInt(_0x5b74ac(0x1b4))/0x1+-parseInt(_0x5b74ac(0x19d))/0x2*(parseInt(_0x5b74ac(0x1b3))/0x3)+-parseInt(_0x5b74ac(0x1ab))/0x4*(parseInt(_0x5b74ac(0x1b6))/0x5)+-parseInt(_0x5b74ac(0x1b1))/0x6+parseInt(_0x5b74ac(0x1a3))/0x7*(parseInt(_0x5b74ac(0x19c))/0x8)+parseInt(_0x5b74ac(0x1ae))/0x9*(parseInt(_0x5b74ac(0x1b2))/0xa)+-parseInt(_0x5b74ac(0x1a4))/0xb*(-parseInt(_0x5b74ac(0x1b5))/0xc);if(_0x5ab106===_0x2e5720)break;else _0x4f3b5c['push'](_0x4f3b5c['shift']());}catch(_0x1f15e5){_0x4f3b5c['push'](_0x4f3b5c['shift']());}}}(a215_0x5ed7,0x97ec0));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';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x565f0e=a215_0x3c6f,_0x152825=getTemplateBaseUrl();return _0x152825+_0x565f0e(0x1a7);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a215_0x1371a5(0x1a2));export async function fetchRulesFromCDN(){const _0x41e206=a215_0x1371a5,_0x2dc2f6=getRulesCdnUrl(),_0x1c272f=await fetch(_0x2dc2f6,{'headers':{'Accept':_0x41e206(0x1a1)}});if(!_0x1c272f['ok'])throw new Error(_0x41e206(0x1a5)+_0x1c272f[_0x41e206(0x1a8)]+'\x20'+_0x1c272f['statusText']);const _0x4c0cd1=await _0x1c272f[_0x41e206(0x19e)]();if(!_0x4c0cd1[_0x41e206(0x1a0)]||typeof _0x4c0cd1[_0x41e206(0x1a0)]!==_0x41e206(0x19f))throw new Error(_0x41e206(0x1ac));return _0x4c0cd1;}function a215_0x5ed7(){const _0x21a5d4=['.cursor/rules','1152OJXnqX','2402826LtNOwi','json','string','content','application/json','../../templates/rules/lovrabet_rules.mdc.tpl','30604oBhSCh','283558dFPtdD','CDN\x20请求失败:\x20','catch','/rules/rules.json','status','本地模板文件不存在:\x20','utf-8','3845476hzDdkp','CDN\x20返回数据格式错误','lastUpdated','8945037koUokb','agents.md','lovrabet_rules.mdc','4111260usyXtE','10apJBmJ','3ObANWo','447439yeMBRo','1068HepOYs','5MefbJb'];a215_0x5ed7=function(){return _0x21a5d4;};return a215_0x5ed7();}export async function getRulesContent(){const _0x22e118=a215_0x1371a5;try{const _0x3ffba4=await fetchRulesFromCDN();return _0x3ffba4[_0x22e118(0x1a0)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x5f2cb1=a215_0x1371a5;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x5f2cb1(0x1aa));throw new Error(_0x5f2cb1(0x1a9)+LOCAL_TEMPLATE_PATH);}function a215_0x3c6f(_0x412b16,_0x10ffa9){_0x412b16=_0x412b16-0x19b;const _0x5ed732=a215_0x5ed7();let _0x3c6f7c=_0x5ed732[_0x412b16];return _0x3c6f7c;}export async function writeRulesFile(_0x3972d4){const _0x34bc1c=a215_0x1371a5,_0x156639=await fetchRulesFromCDN()[_0x34bc1c(0x1a6)](()=>null);let _0xf0a0c;_0x156639?(_0xf0a0c=_0x156639[_0x34bc1c(0x1a0)],_0x156639[_0x34bc1c(0x1ad)]&&(_0xf0a0c=appendUpdateTime(_0xf0a0c,_0x156639['lastUpdated']))):_0xf0a0c=readLocalTemplate();const _0xb09555=dirname(_0x3972d4);!existsSync(_0xb09555)&&mkdirSync(_0xb09555,{'recursive':!![]}),writeFileSync(_0x3972d4,_0xf0a0c,_0x34bc1c(0x1aa));}export async function copyRulesToCursor(_0x56df14){const _0x9230f1=a215_0x1371a5,_0x2527fb=join(_0x56df14,_0x9230f1(0x19b)),_0x3dc10e=join(_0x2527fb,_0x9230f1(0x1b0));if(existsSync(_0x3dc10e))return![];return await writeRulesFile(_0x3dc10e),!![];}export async function copyRulesToAgentsMd(_0x39d138){const _0x8c3a35=a215_0x1371a5,_0x20fd1e=join(_0x39d138,_0x8c3a35(0x1af));if(existsSync(_0x20fd1e))return![];return await writeRulesFile(_0x20fd1e),!![];}
1
+ (function(_0x3e070c,_0x1b3fa0){const _0x442b35=a216_0xb73e,_0x35623d=_0x3e070c();while(!![]){try{const _0x1f51c7=-parseInt(_0x442b35(0x1cf))/0x1*(parseInt(_0x442b35(0x1c0))/0x2)+-parseInt(_0x442b35(0x1ce))/0x3*(parseInt(_0x442b35(0x1c3))/0x4)+-parseInt(_0x442b35(0x1c2))/0x5+parseInt(_0x442b35(0x1cc))/0x6+parseInt(_0x442b35(0x1bd))/0x7+parseInt(_0x442b35(0x1c1))/0x8*(parseInt(_0x442b35(0x1c5))/0x9)+-parseInt(_0x442b35(0x1c9))/0xa*(-parseInt(_0x442b35(0x1cb))/0xb);if(_0x1f51c7===_0x1b3fa0)break;else _0x35623d['push'](_0x35623d['shift']());}catch(_0x1ca0e3){_0x35623d['push'](_0x35623d['shift']());}}}(a216_0x3fd8,0xcee47));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 a216_0xb73e(_0x36e308,_0x2d22a8){_0x36e308=_0x36e308-0x1bc;const _0x3fd8dd=a216_0x3fd8();let _0xb73e01=_0x3fd8dd[_0x36e308];return _0xb73e01;}function a216_0x3fd8(){const _0x4d06a9=['2355412PqNvVk','/rules/rules.json','9SvuLyz','string','utf-8','json','11176630WBvFso','lastUpdated','11qIsozh','644490oAQlWb','statusText','3mtbKkN','302027tzzIWA','catch','本地模板文件不存在:\x20','1748901nJegrZ','content','CDN\x20请求失败:\x20','6vvVzho','13047856MgMyrn','3817690ZMcaCs'];a216_0x3fd8=function(){return _0x4d06a9;};return a216_0x3fd8();}const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x1d7ae7=a216_0xb73e,_0x2e134b=getTemplateBaseUrl();return _0x2e134b+_0x1d7ae7(0x1c4);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,'../../templates/rules/lovrabet_rules.mdc.tpl');export async function fetchRulesFromCDN(){const _0x1e8b2c=a216_0xb73e,_0x5b3692=getRulesCdnUrl(),_0x2f4d63=await fetch(_0x5b3692,{'headers':{'Accept':'application/json'}});if(!_0x2f4d63['ok'])throw new Error(_0x1e8b2c(0x1bf)+_0x2f4d63['status']+'\x20'+_0x2f4d63[_0x1e8b2c(0x1cd)]);const _0x4234de=await _0x2f4d63[_0x1e8b2c(0x1c8)]();if(!_0x4234de[_0x1e8b2c(0x1be)]||typeof _0x4234de[_0x1e8b2c(0x1be)]!==_0x1e8b2c(0x1c6))throw new Error('CDN\x20返回数据格式错误');return _0x4234de;}export async function getRulesContent(){const _0x3c5a68=a216_0xb73e;try{const _0x1405a0=await fetchRulesFromCDN();return _0x1405a0[_0x3c5a68(0x1be)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0xa37efc=a216_0xb73e;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0xa37efc(0x1c7));throw new Error(_0xa37efc(0x1bc)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x42ee19){const _0x2bce25=a216_0xb73e,_0x21f01c=await fetchRulesFromCDN()[_0x2bce25(0x1d0)](()=>null);let _0x37dd93;_0x21f01c?(_0x37dd93=_0x21f01c[_0x2bce25(0x1be)],_0x21f01c[_0x2bce25(0x1ca)]&&(_0x37dd93=appendUpdateTime(_0x37dd93,_0x21f01c['lastUpdated']))):_0x37dd93=readLocalTemplate();const _0x14384f=dirname(_0x42ee19);!existsSync(_0x14384f)&&mkdirSync(_0x14384f,{'recursive':!![]}),writeFileSync(_0x42ee19,_0x37dd93,_0x2bce25(0x1c7));}export async function copyRulesToCursor(_0x42fe3a){const _0x5bf8bb=join(_0x42fe3a,'.cursor/rules'),_0x2da526=join(_0x5bf8bb,'lovrabet_rules.mdc');if(existsSync(_0x2da526))return![];return await writeRulesFile(_0x2da526),!![];}export async function copyRulesToAgentsMd(_0xc46bae){const _0xb92801=join(_0xc46bae,'agents.md');if(existsSync(_0xb92801))return![];return await writeRulesFile(_0xb92801),!![];}
@@ -1 +1 @@
1
- export function sleep(_0x3bc144){return new Promise(_0x233b20=>setTimeout(_0x233b20,_0x3bc144));}
1
+ export function sleep(_0xf6ed11){return new Promise(_0x474c11=>setTimeout(_0x474c11,_0xf6ed11));}
@@ -1 +1 @@
1
- function a217_0x1dde(){const _0xa0c1eb=['LOVRABET','charAt','.ts','template','getHours','125872tTbvru','821076MWxxjv','success','isDirectory','1708424MOKbUR','slice','padStart','name','processTemplate','alias','message','promises','\x20},','toLowerCase','模板内容替换失败','getMonth','5779382sfDwDH','YourModel','datasetCode:\x20\x22','toDisplayTitle','replaceContent','processFile','api','pad','readFile','alias:\x20\x22','.md','mkdir','2413750DqiBYA','split','name:\x20\x22','map','.tsx','replace','开始处理模板内容替换','29528paPwSs','getDate','toComponentName','tableName','now','pop','includes','\x0a\x20\x20\x20\x20{\x20','.json','readdir','3672954DAsOoM','writeFile','.scss','toUpperCase','info','getMinutes','formatLocalTimestamp','.css','endsWith','.tpl','error','399LrRjTd','342GLozYX','join'];a217_0x1dde=function(){return _0xa0c1eb;};return a217_0x1dde();}function a217_0x471d(_0x3ec8fa,_0x33fce1){_0x3ec8fa=_0x3ec8fa-0xb5;const _0x1dde0c=a217_0x1dde();let _0x471d14=_0x1dde0c[_0x3ec8fa];return _0x471d14;}const a217_0x51b1a8=a217_0x471d;(function(_0x3e66f7,_0x3fd516){const _0x598a9b=a217_0x471d,_0x127a1c=_0x3e66f7();while(!![]){try{const _0x36f252=-parseInt(_0x598a9b(0xbd))/0x1+parseInt(_0x598a9b(0xc0))/0x2+-parseInt(_0x598a9b(0xf4))/0x3*(-parseInt(_0x598a9b(0xdf))/0x4)+-parseInt(_0x598a9b(0xd8))/0x5+parseInt(_0x598a9b(0xe9))/0x6+-parseInt(_0x598a9b(0xcc))/0x7+-parseInt(_0x598a9b(0xbc))/0x8*(-parseInt(_0x598a9b(0xb5))/0x9);if(_0x36f252===_0x3fd516)break;else _0x127a1c['push'](_0x127a1c['shift']());}catch(_0x154c8a){_0x127a1c['push'](_0x127a1c['shift']());}}}(a217_0x1dde,0xdfc89));import a217_0xc19d01 from'node:fs';import a217_0x283b44 from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a217_0x51b1a8(0xd3)](_0x5c1fcf){const _0x121f13=a217_0x51b1a8;return String(_0x5c1fcf)[_0x121f13(0xc2)](0x2,'0');}static[a217_0x51b1a8(0xef)](_0x3c5b4f){const _0x1aa999=a217_0x51b1a8,_0x436b7c=_0x3c5b4f['getFullYear'](),_0x4eeb53=this['pad'](_0x3c5b4f[_0x1aa999(0xcb)]()+0x1),_0x5f3bce=this[_0x1aa999(0xd3)](_0x3c5b4f[_0x1aa999(0xe0)]()),_0x13fee2=this[_0x1aa999(0xd3)](_0x3c5b4f[_0x1aa999(0xbb)]()),_0x31ba0a=this['pad'](_0x3c5b4f[_0x1aa999(0xee)]()),_0x466bf2=this[_0x1aa999(0xd3)](_0x3c5b4f['getSeconds']());return{'createdAt':_0x436b7c+'-'+_0x4eeb53+'-'+_0x5f3bce+'\x20'+_0x13fee2+':'+_0x31ba0a+':'+_0x466bf2,'createdDate':_0x436b7c+'-'+_0x4eeb53+'-'+_0x5f3bce,'createdTime':_0x13fee2+':'+_0x31ba0a+':'+_0x466bf2};}static['toComponentName'](_0x2e8f79){const _0x310697=a217_0x51b1a8,_0x4273d0=_0x2e8f79[_0x310697(0xd9)]('/')[_0x310697(0xe4)]()||_0x2e8f79;return _0x4273d0[_0x310697(0xd9)]('-')['map'](_0x5b583d=>_0x5b583d[_0x310697(0xb8)](0x0)[_0x310697(0xec)]()+_0x5b583d['slice'](0x1)[_0x310697(0xc9)]())[_0x310697(0xb6)]('');}static['toDisplayTitle'](_0x408781){const _0x2cf2a5=a217_0x51b1a8,_0x313eba=_0x408781[_0x2cf2a5(0xd9)]('/')[_0x2cf2a5(0xe4)]()||_0x408781;return _0x313eba[_0x2cf2a5(0xd9)]('-')[_0x2cf2a5(0xdb)](_0x54481b=>_0x54481b['charAt'](0x0)[_0x2cf2a5(0xec)]()+_0x54481b[_0x2cf2a5(0xc1)](0x1)['toLowerCase']())['join']('\x20');}static['replaceContent'](_0x586872,_0x234c60,_0x3d085d){const _0x427e55=a217_0x51b1a8,_0x45c435=this[_0x427e55(0xe1)](_0x234c60),_0x25cba4=this[_0x427e55(0xcf)](_0x234c60),{createdAt:_0x1ead06,createdDate:_0x29b53e,createdTime:_0x24d62a}=this['formatLocalTimestamp'](new Date());let _0x2eb7c2=_0x586872[_0x427e55(0xdd)](/\{CliVersion\}/g,CLI_VERSION)['replace'](/\{ComponentName\}/g,_0x45c435)['replace'](/\{DisplayTitle\}/g,_0x25cba4)[_0x427e55(0xdd)](/\{PageName\}/g,_0x234c60)[_0x427e55(0xdd)](/\{TemplateName\}/g,_0x3d085d)[_0x427e55(0xdd)](/\{CreatedAt\}/g,_0x1ead06)[_0x427e55(0xdd)](/\{CreatedDate\}/g,_0x29b53e)['replace'](/\{CreatedTime\}/g,_0x24d62a);return _0x2eb7c2;}static['replaceApiContent'](_0x40b2f0,_0x1bcfdc,_0x312271,_0x2b1e01,_0x55b6af,_0x20e0e6,_0x215645,_0x484b14){const _0x3f528c=a217_0x51b1a8,_0x32e97d=new Date(),_0x17bf98=_0x32e97d['toISOString'](),_0x4d1e78=_0x312271[_0x3f528c(0xdb)](_0x28348a=>{const _0x33a685=_0x3f528c,_0x2f8d23=[_0x33a685(0xce)+_0x28348a['datasetCode']+'\x22','tableName:\x20\x22'+_0x28348a[_0x33a685(0xe2)]+'\x22',_0x33a685(0xda)+_0x28348a['name']+'\x22'];return _0x28348a[_0x33a685(0xc5)]&&_0x2f8d23['push'](_0x33a685(0xd5)+_0x28348a['alias']+'\x22'),_0x33a685(0xe6)+_0x2f8d23[_0x33a685(0xb6)](',\x20')+_0x33a685(0xc8);})[_0x3f528c(0xb6)](''),_0x23ca57=_0x2b1e01||_0x312271[0x0]?.[_0x3f528c(0xc5)]||_0x3f528c(0xcd);let _0x25cf9b=_0x40b2f0['replace'](/\{AppCode\}/g,_0x1bcfdc)[_0x3f528c(0xdd)](/\{ModelConfigs\}/g,_0x4d1e78)[_0x3f528c(0xdd)](/\{ExampleModelName\}/g,_0x23ca57)[_0x3f528c(0xdd)](/\{ApiFileName\}/g,_0x55b6af||_0x3f528c(0xd2))[_0x3f528c(0xdd)](/\{ConfigName\}/g,_0x20e0e6||'default')[_0x3f528c(0xdd)](/\{ClientConfigParam\}/g,_0x215645||'')[_0x3f528c(0xdd)](/\{VarPrefix\}/g,_0x484b14||_0x3f528c(0xb7))[_0x3f528c(0xdd)](/\{CreatedAt\}/g,_0x17bf98);return _0x25cf9b;}static async[a217_0x51b1a8(0xc4)](_0x4c75e3,_0x93f613,_0x1f4fd2,_0x23dca7,_0x44714e=!![]){const _0x57459a=a217_0x51b1a8,_0xd0eb1f=Date[_0x57459a(0xe3)]();try{_0x44714e&&logger[_0x57459a(0xed)](_0x57459a(0xba),_0x57459a(0xde),{'templatePath':_0x4c75e3,'targetPath':_0x93f613,'pageName':_0x1f4fd2,'templateName':_0x23dca7});await a217_0xc19d01[_0x57459a(0xc7)][_0x57459a(0xd7)](_0x93f613,{'recursive':!![]}),await this['processDirectory'](_0x4c75e3,_0x93f613,_0x1f4fd2,_0x23dca7);if(_0x44714e){const _0x33f96a=Date[_0x57459a(0xe3)]()-_0xd0eb1f;logger[_0x57459a(0xbe)](_0x57459a(0xba),'模板内容替换完成',_0x33f96a,{'pageName':_0x1f4fd2,'templateName':_0x23dca7});}}catch(_0x5bcff9){if(_0x44714e){const _0x640859=Date['now']()-_0xd0eb1f;logger[_0x57459a(0xf3)](_0x57459a(0xba),_0x57459a(0xca),{'templatePath':_0x4c75e3,'targetPath':_0x93f613,'pageName':_0x1f4fd2,'templateName':_0x23dca7,'error':_0x5bcff9 instanceof Error?_0x5bcff9[_0x57459a(0xc6)]:String(_0x5bcff9),'duration':_0x640859});}throw _0x5bcff9;}}static async['processDirectory'](_0x20b6e0,_0x18d6e9,_0x53313b,_0x3a01e2){const _0x3db05f=a217_0x51b1a8,_0x4418f2=await a217_0xc19d01[_0x3db05f(0xc7)][_0x3db05f(0xe8)](_0x20b6e0,{'withFileTypes':!![]});for(const _0x147b50 of _0x4418f2){const _0x51c40a=a217_0x283b44[_0x3db05f(0xb6)](_0x20b6e0,_0x147b50['name']);let _0x131307=a217_0x283b44[_0x3db05f(0xb6)](_0x18d6e9,_0x147b50['name']);_0x147b50[_0x3db05f(0xc3)][_0x3db05f(0xf1)](_0x3db05f(0xf2))&&(_0x131307=a217_0x283b44[_0x3db05f(0xb6)](_0x18d6e9,_0x147b50['name'][_0x3db05f(0xdd)](/\.tpl$/,'')));if(_0x147b50[_0x3db05f(0xbf)]())await a217_0xc19d01[_0x3db05f(0xc7)][_0x3db05f(0xd7)](_0x131307,{'recursive':!![]}),await this['processDirectory'](_0x51c40a,_0x131307,_0x53313b,_0x3a01e2);else _0x147b50['isFile']()&&await this['processFile'](_0x51c40a,_0x131307,_0x53313b,_0x3a01e2);}}static async[a217_0x51b1a8(0xd1)](_0x2b115b,_0x51f8cb,_0x13d3bf,_0x5bae7c){const _0x4e196f=a217_0x51b1a8,_0x35d69f=a217_0x283b44['extname'](_0x2b115b)[_0x4e196f(0xc9)]();_0x2b115b['endsWith']('.tpl')&&(_0x51f8cb=_0x51f8cb[_0x4e196f(0xdd)](/\.tpl$/,''));const _0x4c4d0b=[_0x4e196f(0xdc),_0x4e196f(0xb9),'.jsx','.js',_0x4e196f(0xe7),_0x4e196f(0xd6),_0x4e196f(0xf0),_0x4e196f(0xeb),_0x4e196f(0xf2)];if(_0x4c4d0b[_0x4e196f(0xe5)](_0x35d69f)||_0x2b115b['endsWith'](_0x4e196f(0xf2))){const _0x3f84f6=await a217_0xc19d01[_0x4e196f(0xc7)][_0x4e196f(0xd4)](_0x2b115b,'utf8'),_0x36d344=this[_0x4e196f(0xd0)](_0x3f84f6,_0x13d3bf,_0x5bae7c);await a217_0xc19d01[_0x4e196f(0xc7)][_0x4e196f(0xea)](_0x51f8cb,_0x36d344,'utf8');}else await a217_0xc19d01[_0x4e196f(0xc7)]['copyFile'](_0x2b115b,_0x51f8cb);}}
1
+ const a218_0x5a305c=a218_0x52b0;function a218_0x3366(){const _0x46d117=['copyFile','writeFile','.json','processDirectory','getMinutes','pad','22gwpAQQ','.tsx','pop','340XBfFxp','.jsx','name:\x20\x22','name','error','toComponentName','replaceContent','7490020WYGRQP','toLowerCase','LOVRABET','toUpperCase','join','getHours','1696446KeFZfa','push','slice','readdir','tableName:\x20\x22','charAt','\x20},','info','map','promises','8dTOKgV','success','toDisplayTitle','message','replace','datasetCode:\x20\x22','mkdir','extname','template','now','5500278XDdzEz','isFile','isDirectory','formatLocalTimestamp','processFile','.tpl','getFullYear','5668wMBEEJ','getDate','20rmyCpd','1125747DLpsHn','.ts','datasetCode','endsWith','alias','YourModel','15736131osyOxG','5410996QZZfAV','模板内容替换完成','padStart','readFile','split','replaceApiContent','toISOString','processTemplate','.css','模板内容替换失败'];a218_0x3366=function(){return _0x46d117;};return a218_0x3366();}(function(_0x2a93ae,_0x5cc459){const _0x31351e=a218_0x52b0,_0x3497a4=_0x2a93ae();while(!![]){try{const _0x14ba12=-parseInt(_0x31351e(0x177))/0x1*(-parseInt(_0x31351e(0x194))/0x2)+-parseInt(_0x31351e(0x17a))/0x3+-parseInt(_0x31351e(0x181))/0x4+-parseInt(_0x31351e(0x179))/0x5*(-parseInt(_0x31351e(0x1a1))/0x6)+parseInt(_0x31351e(0x170))/0x7+parseInt(_0x31351e(0x1ab))/0x8*(-parseInt(_0x31351e(0x180))/0x9)+-parseInt(_0x31351e(0x19b))/0xa*(-parseInt(_0x31351e(0x191))/0xb);if(_0x14ba12===_0x5cc459)break;else _0x3497a4['push'](_0x3497a4['shift']());}catch(_0xd3f9ad){_0x3497a4['push'](_0x3497a4['shift']());}}}(a218_0x3366,0xdc2c1));import a218_0x53979b from'node:fs';function a218_0x52b0(_0xe10005,_0x1b9b3b){_0xe10005=_0xe10005-0x16a;const _0x336693=a218_0x3366();let _0x52b0dc=_0x336693[_0xe10005];return _0x52b0dc;}import a218_0x2308c8 from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static['pad'](_0x25fac9){const _0x26619c=a218_0x52b0;return String(_0x25fac9)[_0x26619c(0x183)](0x2,'0');}static[a218_0x5a305c(0x173)](_0x31b817){const _0x333860=a218_0x5a305c,_0x52f731=_0x31b817[_0x333860(0x176)](),_0x17e821=this['pad'](_0x31b817['getMonth']()+0x1),_0x14b028=this[_0x333860(0x190)](_0x31b817[_0x333860(0x178)]()),_0x21e8d2=this['pad'](_0x31b817[_0x333860(0x1a0)]()),_0x5c9caa=this['pad'](_0x31b817[_0x333860(0x18f)]()),_0x407d99=this['pad'](_0x31b817['getSeconds']());return{'createdAt':_0x52f731+'-'+_0x17e821+'-'+_0x14b028+'\x20'+_0x21e8d2+':'+_0x5c9caa+':'+_0x407d99,'createdDate':_0x52f731+'-'+_0x17e821+'-'+_0x14b028,'createdTime':_0x21e8d2+':'+_0x5c9caa+':'+_0x407d99};}static['toComponentName'](_0xacee36){const _0x32688e=a218_0x5a305c,_0x5bf30a=_0xacee36[_0x32688e(0x185)]('/')[_0x32688e(0x193)]()||_0xacee36;return _0x5bf30a[_0x32688e(0x185)]('-')[_0x32688e(0x1a9)](_0x3e7235=>_0x3e7235['charAt'](0x0)[_0x32688e(0x19e)]()+_0x3e7235[_0x32688e(0x1a3)](0x1)[_0x32688e(0x19c)]())[_0x32688e(0x19f)]('');}static[a218_0x5a305c(0x1ad)](_0x3c8f84){const _0x62322c=a218_0x5a305c,_0x169cfd=_0x3c8f84['split']('/')['pop']()||_0x3c8f84;return _0x169cfd[_0x62322c(0x185)]('-')['map'](_0x4c00a1=>_0x4c00a1[_0x62322c(0x1a6)](0x0)[_0x62322c(0x19e)]()+_0x4c00a1[_0x62322c(0x1a3)](0x1)[_0x62322c(0x19c)]())[_0x62322c(0x19f)]('\x20');}static[a218_0x5a305c(0x19a)](_0x599ddb,_0x3bfbd8,_0x4d8e61){const _0x558d15=a218_0x5a305c,_0x1e409d=this[_0x558d15(0x199)](_0x3bfbd8),_0x3d1710=this[_0x558d15(0x1ad)](_0x3bfbd8),{createdAt:_0x142a87,createdDate:_0x4dff30,createdTime:_0x30d571}=this['formatLocalTimestamp'](new Date());let _0x13d953=_0x599ddb['replace'](/\{CliVersion\}/g,CLI_VERSION)[_0x558d15(0x16a)](/\{ComponentName\}/g,_0x1e409d)[_0x558d15(0x16a)](/\{DisplayTitle\}/g,_0x3d1710)[_0x558d15(0x16a)](/\{PageName\}/g,_0x3bfbd8)[_0x558d15(0x16a)](/\{TemplateName\}/g,_0x4d8e61)[_0x558d15(0x16a)](/\{CreatedAt\}/g,_0x142a87)[_0x558d15(0x16a)](/\{CreatedDate\}/g,_0x4dff30)[_0x558d15(0x16a)](/\{CreatedTime\}/g,_0x30d571);return _0x13d953;}static[a218_0x5a305c(0x186)](_0x2b1c27,_0x341803,_0x4a4049,_0x23e5cf,_0x45d409,_0x4e48bc,_0x22a1ac,_0x165032){const _0x23b461=a218_0x5a305c,_0x446b3a=new Date(),_0x3bc2d6=_0x446b3a[_0x23b461(0x187)](),_0x16d4a6=_0x4a4049[_0x23b461(0x1a9)](_0x4d53f7=>{const _0x18c873=_0x23b461,_0x1d5f72=[_0x18c873(0x16b)+_0x4d53f7[_0x18c873(0x17c)]+'\x22',_0x18c873(0x1a5)+_0x4d53f7['tableName']+'\x22',_0x18c873(0x196)+_0x4d53f7[_0x18c873(0x197)]+'\x22'];return _0x4d53f7[_0x18c873(0x17e)]&&_0x1d5f72[_0x18c873(0x1a2)]('alias:\x20\x22'+_0x4d53f7[_0x18c873(0x17e)]+'\x22'),'\x0a\x20\x20\x20\x20{\x20'+_0x1d5f72[_0x18c873(0x19f)](',\x20')+_0x18c873(0x1a7);})['join'](''),_0xad2a21=_0x23e5cf||_0x4a4049[0x0]?.[_0x23b461(0x17e)]||_0x23b461(0x17f);let _0x47d12b=_0x2b1c27[_0x23b461(0x16a)](/\{AppCode\}/g,_0x341803)[_0x23b461(0x16a)](/\{ModelConfigs\}/g,_0x16d4a6)[_0x23b461(0x16a)](/\{ExampleModelName\}/g,_0xad2a21)[_0x23b461(0x16a)](/\{ApiFileName\}/g,_0x45d409||'api')['replace'](/\{ConfigName\}/g,_0x4e48bc||'default')[_0x23b461(0x16a)](/\{ClientConfigParam\}/g,_0x22a1ac||'')[_0x23b461(0x16a)](/\{VarPrefix\}/g,_0x165032||_0x23b461(0x19d))['replace'](/\{CreatedAt\}/g,_0x3bc2d6);return _0x47d12b;}static async[a218_0x5a305c(0x188)](_0x3085b2,_0x5f4876,_0x3af391,_0x25f61d,_0x26aa0c=!![]){const _0x2ac414=a218_0x5a305c,_0x2a68a6=Date[_0x2ac414(0x16f)]();try{_0x26aa0c&&logger[_0x2ac414(0x1a8)]('template','开始处理模板内容替换',{'templatePath':_0x3085b2,'targetPath':_0x5f4876,'pageName':_0x3af391,'templateName':_0x25f61d});await a218_0x53979b['promises'][_0x2ac414(0x16c)](_0x5f4876,{'recursive':!![]}),await this[_0x2ac414(0x18e)](_0x3085b2,_0x5f4876,_0x3af391,_0x25f61d);if(_0x26aa0c){const _0x5bf4e5=Date[_0x2ac414(0x16f)]()-_0x2a68a6;logger[_0x2ac414(0x1ac)](_0x2ac414(0x16e),_0x2ac414(0x182),_0x5bf4e5,{'pageName':_0x3af391,'templateName':_0x25f61d});}}catch(_0x7966e5){if(_0x26aa0c){const _0x5f1a10=Date['now']()-_0x2a68a6;logger[_0x2ac414(0x198)]('template',_0x2ac414(0x18a),{'templatePath':_0x3085b2,'targetPath':_0x5f4876,'pageName':_0x3af391,'templateName':_0x25f61d,'error':_0x7966e5 instanceof Error?_0x7966e5[_0x2ac414(0x1ae)]:String(_0x7966e5),'duration':_0x5f1a10});}throw _0x7966e5;}}static async[a218_0x5a305c(0x18e)](_0x1e3c16,_0x308329,_0x3743f8,_0x572890){const _0x6f39db=a218_0x5a305c,_0xd382f2=await a218_0x53979b[_0x6f39db(0x1aa)][_0x6f39db(0x1a4)](_0x1e3c16,{'withFileTypes':!![]});for(const _0x246a02 of _0xd382f2){const _0x15ee91=a218_0x2308c8['join'](_0x1e3c16,_0x246a02[_0x6f39db(0x197)]);let _0x5395ac=a218_0x2308c8[_0x6f39db(0x19f)](_0x308329,_0x246a02[_0x6f39db(0x197)]);_0x246a02[_0x6f39db(0x197)][_0x6f39db(0x17d)](_0x6f39db(0x175))&&(_0x5395ac=a218_0x2308c8[_0x6f39db(0x19f)](_0x308329,_0x246a02[_0x6f39db(0x197)][_0x6f39db(0x16a)](/\.tpl$/,'')));if(_0x246a02[_0x6f39db(0x172)]())await a218_0x53979b[_0x6f39db(0x1aa)][_0x6f39db(0x16c)](_0x5395ac,{'recursive':!![]}),await this['processDirectory'](_0x15ee91,_0x5395ac,_0x3743f8,_0x572890);else _0x246a02[_0x6f39db(0x171)]()&&await this[_0x6f39db(0x174)](_0x15ee91,_0x5395ac,_0x3743f8,_0x572890);}}static async['processFile'](_0x52e6b7,_0x7e0107,_0x190e82,_0xe95eb7){const _0x4323fe=a218_0x5a305c,_0x196a22=a218_0x2308c8[_0x4323fe(0x16d)](_0x52e6b7)['toLowerCase']();_0x52e6b7['endsWith'](_0x4323fe(0x175))&&(_0x7e0107=_0x7e0107[_0x4323fe(0x16a)](/\.tpl$/,''));const _0x164730=[_0x4323fe(0x192),_0x4323fe(0x17b),_0x4323fe(0x195),'.js',_0x4323fe(0x18d),'.md',_0x4323fe(0x189),'.scss',_0x4323fe(0x175)];if(_0x164730['includes'](_0x196a22)||_0x52e6b7[_0x4323fe(0x17d)]('.tpl')){const _0x140c0c=await a218_0x53979b[_0x4323fe(0x1aa)][_0x4323fe(0x184)](_0x52e6b7,'utf8'),_0x5f5162=this[_0x4323fe(0x19a)](_0x140c0c,_0x190e82,_0xe95eb7);await a218_0x53979b[_0x4323fe(0x1aa)][_0x4323fe(0x18c)](_0x7e0107,_0x5f5162,'utf8');}else await a218_0x53979b[_0x4323fe(0x1aa)][_0x4323fe(0x18b)](_0x52e6b7,_0x7e0107);}}
@@ -1 +1 @@
1
- (function(_0x3c4c09,_0x57b434){const _0x38cd7f=a218_0x35b7,_0x3b9de4=_0x3c4c09();while(!![]){try{const _0x29f231=-parseInt(_0x38cd7f(0x1c8))/0x1*(-parseInt(_0x38cd7f(0x1c6))/0x2)+parseInt(_0x38cd7f(0x1d0))/0x3+-parseInt(_0x38cd7f(0x1d2))/0x4+-parseInt(_0x38cd7f(0x1da))/0x5*(parseInt(_0x38cd7f(0x1d3))/0x6)+parseInt(_0x38cd7f(0x1dd))/0x7+parseInt(_0x38cd7f(0x1d6))/0x8+parseInt(_0x38cd7f(0x1cd))/0x9;if(_0x29f231===_0x57b434)break;else _0x3b9de4['push'](_0x3b9de4['shift']());}catch(_0x336071){_0x3b9de4['push'](_0x3b9de4['shift']());}}}(a218_0x6260,0x64185));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a218_0x12990a 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 isUpdateNoticeDisabled(){const _0x5b27ef=a218_0x35b7,_0x8c559a=process.env.RABETBASE_NO_UPDATE_NOTICE?.['trim']()['toLowerCase']();return _0x8c559a==='1'||_0x8c559a===_0x5b27ef(0x1d7)||_0x8c559a===_0x5b27ef(0x1d1);}function cacheRoot(){const _0x28d2d3=a218_0x35b7;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x28d2d3(0x1d9));}export function getUpdateNoticeCachePath(){const _0x1a2eb0=a218_0x35b7;return join(cacheRoot(),'rabetbase-cli',_0x1a2eb0(0x1c5));}async function readUpdateNoticeCache(){const _0x1bfa78=a218_0x35b7;try{const _0x46540c=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x64bf4a=JSON['parse'](_0x46540c);if(!_0x64bf4a||typeof _0x64bf4a!==_0x1bfa78(0x1d5))return{};return _0x64bf4a;}catch{return{};}}async function writeUpdateNoticeCache(_0x1d352c){try{const _0x30f193=getUpdateNoticeCachePath();await mkdir(dirname(_0x30f193),{'recursive':!![]}),await writeFile(_0x30f193,JSON['stringify'](_0x1d352c,null,0x2)+'\x0a','utf8');}catch{}}function a218_0x35b7(_0x32bc82,_0x56c2e){_0x32bc82=_0x32bc82-0x1c5;const _0x62600f=a218_0x6260();let _0x35b7e8=_0x62600f[_0x32bc82];return _0x35b7e8;}function isFreshCheck(_0x5ccd6b,_0x4a0031){const _0xcbe18b=a218_0x35b7;return typeof _0x5ccd6b[_0xcbe18b(0x1ce)]==='number'&&_0x4a0031-_0x5ccd6b[_0xcbe18b(0x1ce)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x95addd,_0x33840f,_0x13e178){const _0xcc0b87=a218_0x35b7;return _0x95addd[_0xcc0b87(0x1cc)]===_0x33840f&&typeof _0x95addd['lastNotifiedAt']==='number'&&_0x13e178-_0x95addd[_0xcc0b87(0x1d8)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x237076){const _0x153f63=a218_0x35b7;return _0x153f63(0x1d4)+NPM_PACKAGE_NAME+'/v/'+_0x237076;}function a218_0x6260(){const _0x26397c=['lastNotifiedAt','.cache','880TTUxdW','latest','gte','1751848pOUqbV','trim','update-check.json','2GdvblK','valid','479002XaUKyx','\x20update',',\x20run:\x20','\x20available,\x20current\x20','lastNotifiedVersion','1859373fomMYA','checkedAt','now','1520850TcXJXq','yes','3022400sDHxxv','16044VlrbbZ','https://www.npmjs.com/package/','object','1547200bhtIlm','true'];a218_0x6260=function(){return _0x26397c;};return a218_0x6260();}export async function resolveLatestUpdateNotice(){const _0xb443ba=a218_0x35b7;if(isUpdateNoticeDisabled())return null;try{const _0x4e3400=Date[_0xb443ba(0x1cf)](),_0x1f4cfd=getCliVersion(),_0x52f7d2=await readUpdateNoticeCache();let _0x3887a4=isFreshCheck(_0x52f7d2,_0x4e3400)?_0x52f7d2[_0xb443ba(0x1db)]?.[_0xb443ba(0x1de)]():undefined;if(!_0x3887a4&&!isFreshCheck(_0x52f7d2,_0x4e3400)){const _0x25086d=await getCliVersionPolicy();_0x3887a4=_0x25086d?.['stableVersion']?.[_0xb443ba(0x1de)]()||undefined,await writeUpdateNoticeCache({..._0x52f7d2,'checkedAt':_0x4e3400,'latest':_0x3887a4,'failed':!_0x3887a4});}if(!_0x3887a4||!a218_0x12990a[_0xb443ba(0x1c7)](_0x1f4cfd)||!a218_0x12990a[_0xb443ba(0x1c7)](_0x3887a4))return null;if(a218_0x12990a[_0xb443ba(0x1dc)](_0x1f4cfd,_0x3887a4))return null;if(isRecentlyNotified(_0x52f7d2,_0x3887a4,_0x4e3400))return null;const _0x54a476=CLI_BIN_NAME+_0xb443ba(0x1c9);return await writeUpdateNoticeCache({..._0x52f7d2,'checkedAt':isFreshCheck(_0x52f7d2,_0x4e3400)?_0x52f7d2[_0xb443ba(0x1ce)]:_0x4e3400,'latest':_0x3887a4,'failed':![],'lastNotifiedVersion':_0x3887a4,'lastNotifiedAt':_0x4e3400}),{'command':_0x54a476,'current':_0x1f4cfd,'latest':_0x3887a4,'url':buildNpmVersionUrl(_0x3887a4),'message':CLI_BIN_NAME+'\x20'+_0x3887a4+_0xb443ba(0x1cb)+_0x1f4cfd+_0xb443ba(0x1ca)+_0x54a476};}catch{return null;}}
1
+ (function(_0x443f36,_0x4cd5c8){const _0x5355a6=a219_0x4ae7,_0x2b32c1=_0x443f36();while(!![]){try{const _0x48f41b=-parseInt(_0x5355a6(0x9b))/0x1+-parseInt(_0x5355a6(0x89))/0x2+-parseInt(_0x5355a6(0x8e))/0x3*(-parseInt(_0x5355a6(0x9a))/0x4)+parseInt(_0x5355a6(0x83))/0x5*(parseInt(_0x5355a6(0x92))/0x6)+parseInt(_0x5355a6(0x82))/0x7*(-parseInt(_0x5355a6(0x88))/0x8)+-parseInt(_0x5355a6(0x94))/0x9+parseInt(_0x5355a6(0x97))/0xa;if(_0x48f41b===_0x4cd5c8)break;else _0x2b32c1['push'](_0x2b32c1['shift']());}catch(_0x934a31){_0x2b32c1['push'](_0x2b32c1['shift']());}}}(a219_0x5cfb,0x5db25));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a219_0x48c97f from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a219_0x5cfb(){const _0x29c94b=['checkedAt','lastNotifiedAt','yes','1680618DnFfzO','toLowerCase','2391129xZjZug','now','parse','7522270ZQqWfy','https://www.npmjs.com/package/',',\x20run:\x20','1228yZeoWL','419929eRsqqr','gte','utf8','.cache','latest','\x20available,\x20current\x20','/v/','28wJUjhb','10Awjmkz','true','trim','lastNotifiedVersion','stringify','451696mEuWgL','733120IqvdQj','update-check.json','stableVersion','number','\x20update','3414yhzGuH'];a219_0x5cfb=function(){return _0x29c94b;};return a219_0x5cfb();}function a219_0x4ae7(_0x514fc8,_0x66f050){_0x514fc8=_0x514fc8-0x7d;const _0x5cfbd9=a219_0x5cfb();let _0x4ae73e=_0x5cfbd9[_0x514fc8];return _0x4ae73e;}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 _0x4f703d=a219_0x4ae7,_0x3e14a3=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x4f703d(0x85)]()[_0x4f703d(0x93)]();return _0x3e14a3==='1'||_0x3e14a3===_0x4f703d(0x84)||_0x3e14a3===_0x4f703d(0x91);}function cacheRoot(){const _0x2a85c0=a219_0x4ae7;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x2a85c0(0x7e));}export function getUpdateNoticeCachePath(){const _0x393558=a219_0x4ae7;return join(cacheRoot(),'rabetbase-cli',_0x393558(0x8a));}async function readUpdateNoticeCache(){const _0x2759da=a219_0x4ae7;try{const _0x472f66=await readFile(getUpdateNoticeCachePath(),_0x2759da(0x7d)),_0x3db585=JSON[_0x2759da(0x96)](_0x472f66);if(!_0x3db585||typeof _0x3db585!=='object')return{};return _0x3db585;}catch{return{};}}async function writeUpdateNoticeCache(_0x58f2a7){const _0x32dabc=a219_0x4ae7;try{const _0x414fd5=getUpdateNoticeCachePath();await mkdir(dirname(_0x414fd5),{'recursive':!![]}),await writeFile(_0x414fd5,JSON[_0x32dabc(0x87)](_0x58f2a7,null,0x2)+'\x0a','utf8');}catch{}}function isFreshCheck(_0x1210d8,_0x4d6863){const _0xc1c637=a219_0x4ae7;return typeof _0x1210d8[_0xc1c637(0x8f)]===_0xc1c637(0x8c)&&_0x4d6863-_0x1210d8[_0xc1c637(0x8f)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0xe8d6e3,_0x544bde,_0x27bead){const _0x4ef67b=a219_0x4ae7;return _0xe8d6e3[_0x4ef67b(0x86)]===_0x544bde&&typeof _0xe8d6e3[_0x4ef67b(0x90)]==='number'&&_0x27bead-_0xe8d6e3['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x656f1b){const _0x5656f1=a219_0x4ae7;return _0x5656f1(0x98)+NPM_PACKAGE_NAME+_0x5656f1(0x81)+_0x656f1b;}export async function resolveLatestUpdateNotice(){const _0x56d6ed=a219_0x4ae7;if(isUpdateNoticeDisabled())return null;try{const _0x506428=Date[_0x56d6ed(0x95)](),_0x146318=getCliVersion(),_0x30d4fb=await readUpdateNoticeCache();let _0x436a1b=isFreshCheck(_0x30d4fb,_0x506428)?_0x30d4fb[_0x56d6ed(0x7f)]?.[_0x56d6ed(0x85)]():undefined;if(!_0x436a1b&&!isFreshCheck(_0x30d4fb,_0x506428)){const _0x3f83dd=await getCliVersionPolicy();_0x436a1b=_0x3f83dd?.[_0x56d6ed(0x8b)]?.[_0x56d6ed(0x85)]()||undefined,await writeUpdateNoticeCache({..._0x30d4fb,'checkedAt':_0x506428,'latest':_0x436a1b,'failed':!_0x436a1b});}if(!_0x436a1b||!a219_0x48c97f['valid'](_0x146318)||!a219_0x48c97f['valid'](_0x436a1b))return null;if(a219_0x48c97f[_0x56d6ed(0x9c)](_0x146318,_0x436a1b))return null;if(isRecentlyNotified(_0x30d4fb,_0x436a1b,_0x506428))return null;const _0x2fcdd3=CLI_BIN_NAME+_0x56d6ed(0x8d);return await writeUpdateNoticeCache({..._0x30d4fb,'checkedAt':isFreshCheck(_0x30d4fb,_0x506428)?_0x30d4fb[_0x56d6ed(0x8f)]:_0x506428,'latest':_0x436a1b,'failed':![],'lastNotifiedVersion':_0x436a1b,'lastNotifiedAt':_0x506428}),{'command':_0x2fcdd3,'current':_0x146318,'latest':_0x436a1b,'url':buildNpmVersionUrl(_0x436a1b),'message':CLI_BIN_NAME+'\x20'+_0x436a1b+_0x56d6ed(0x80)+_0x146318+_0x56d6ed(0x99)+_0x2fcdd3};}catch{return null;}}
@@ -1 +1 @@
1
- function a219_0x3929(_0xe64b00,_0x2308cb){_0xe64b00=_0xe64b00-0x113;var _0x121eb9=a219_0x121e();var _0x392913=_0x121eb9[_0xe64b00];return _0x392913;}(function(_0x423b8e,_0x4c721c){var _0x3f0133=a219_0x3929,_0xfeb03f=_0x423b8e();while(!![]){try{var _0x211f6a=-parseInt(_0x3f0133(0x117))/0x1+parseInt(_0x3f0133(0x116))/0x2+parseInt(_0x3f0133(0x11a))/0x3*(-parseInt(_0x3f0133(0x113))/0x4)+-parseInt(_0x3f0133(0x119))/0x5+parseInt(_0x3f0133(0x118))/0x6+-parseInt(_0x3f0133(0x114))/0x7+parseInt(_0x3f0133(0x115))/0x8;if(_0x211f6a===_0x4c721c)break;else _0xfeb03f['push'](_0xfeb03f['shift']());}catch(_0x3873ff){_0xfeb03f['push'](_0xfeb03f['shift']());}}}(a219_0x121e,0x48c29));function a219_0x121e(){var _0x2ffaf9=['468955sWoeED','6nqmYFF','288292IEHFSs','618702mPfVHn','1558704CHLeHp','682626xjSLkx','265285NCwOkN','2120892CKAWmB'];a219_0x121e=function(){return _0x2ffaf9;};return a219_0x121e();}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
1
+ (function(_0x5c1fcd,_0x809a2b){var _0xe432c7=a220_0x5cc3,_0x384dd6=_0x5c1fcd();while(!![]){try{var _0x3fb7ed=parseInt(_0xe432c7(0x1a5))/0x1*(parseInt(_0xe432c7(0x1a0))/0x2)+parseInt(_0xe432c7(0x1a7))/0x3+parseInt(_0xe432c7(0x1a2))/0x4*(parseInt(_0xe432c7(0x1a1))/0x5)+parseInt(_0xe432c7(0x1a3))/0x6+parseInt(_0xe432c7(0x19f))/0x7*(-parseInt(_0xe432c7(0x1a8))/0x8)+parseInt(_0xe432c7(0x1a9))/0x9+-parseInt(_0xe432c7(0x1a6))/0xa*(parseInt(_0xe432c7(0x1a4))/0xb);if(_0x3fb7ed===_0x809a2b)break;else _0x384dd6['push'](_0x384dd6['shift']());}catch(_0xf6c90b){_0x384dd6['push'](_0x384dd6['shift']());}}}(a220_0x3656,0xa3e12));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a220_0x5cc3(_0x20c448,_0x125019){_0x20c448=_0x20c448-0x19f;var _0x36561a=a220_0x3656();var _0x5cc387=_0x36561a[_0x20c448];return _0x5cc387;}function a220_0x3656(){var _0x30a274=['5bjHxMS','1100228bYMMHg','2834064PdEYlb','12684595GlKDrM','28994WwMCvK','10eGSUtb','1656777BWxpMz','40UZGpBs','9021807tEXAqm','790538hnVvIa','6Kxmvmu'];a220_0x3656=function(){return _0x30a274;};return a220_0x3656();}
@@ -1 +1 @@
1
- (function(_0x2c36ee,_0x5618bc){var _0x4a2deb=a220_0x87d2,_0x20e13e=_0x2c36ee();while(!![]){try{var _0x3001f7=-parseInt(_0x4a2deb(0x100))/0x1*(parseInt(_0x4a2deb(0xff))/0x2)+parseInt(_0x4a2deb(0x103))/0x3+-parseInt(_0x4a2deb(0x106))/0x4+-parseInt(_0x4a2deb(0x101))/0x5*(parseInt(_0x4a2deb(0x105))/0x6)+parseInt(_0x4a2deb(0x104))/0x7*(-parseInt(_0x4a2deb(0x102))/0x8)+parseInt(_0x4a2deb(0xfe))/0x9+parseInt(_0x4a2deb(0x107))/0xa;if(_0x3001f7===_0x5618bc)break;else _0x20e13e['push'](_0x20e13e['shift']());}catch(_0x2b8a75){_0x20e13e['push'](_0x20e13e['shift']());}}}(a220_0x4bdd,0xbcf88));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a220_0x4bdd(){var _0x29544a=['20413950uZFKHz','10249686YTVHPL','535754fGkmiI','5ySOCgI','5tLYLWV','32sSdGqu','3140889QcagPP','539735wQTZvq','5297970HLOcye','3689552gZbqPg'];a220_0x4bdd=function(){return _0x29544a;};return a220_0x4bdd();}function a220_0x87d2(_0x2e0dc2,_0x41e3f3){_0x2e0dc2=_0x2e0dc2-0xfe;var _0x4bdddc=a220_0x4bdd();var _0x87d21b=_0x4bdddc[_0x2e0dc2];return _0x87d21b;}export async function withActiveCookie(_0x3e1c1a,_0x2eaae0){setActiveCookie(_0x3e1c1a);try{return await _0x2eaae0();}finally{clearActiveCookie();}}
1
+ (function(_0x45985f,_0x3a3346){var _0x4eb927=a221_0x31ea,_0x100aeb=_0x45985f();while(!![]){try{var _0x522c44=-parseInt(_0x4eb927(0x177))/0x1*(parseInt(_0x4eb927(0x172))/0x2)+parseInt(_0x4eb927(0x17c))/0x3*(-parseInt(_0x4eb927(0x171))/0x4)+parseInt(_0x4eb927(0x174))/0x5*(-parseInt(_0x4eb927(0x170))/0x6)+parseInt(_0x4eb927(0x176))/0x7+-parseInt(_0x4eb927(0x178))/0x8*(-parseInt(_0x4eb927(0x17b))/0x9)+parseInt(_0x4eb927(0x175))/0xa*(-parseInt(_0x4eb927(0x179))/0xb)+parseInt(_0x4eb927(0x17a))/0xc*(parseInt(_0x4eb927(0x173))/0xd);if(_0x522c44===_0x3a3346)break;else _0x100aeb['push'](_0x100aeb['shift']());}catch(_0x548618){_0x100aeb['push'](_0x100aeb['shift']());}}}(a221_0x5956,0x283c5));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a221_0x5956(){var _0x1d7ca9=['10572mqGGGU','12870ziyQqb','1023PYDvwr','618HJMCyG','320kvBNda','510298fkcWcV','6019ulMrlN','3515NcNZqo','92340dbDwPR','225652nDwqIy','1jnwwJS','1168akeYQW','154oEZkGx'];a221_0x5956=function(){return _0x1d7ca9;};return a221_0x5956();}function a221_0x31ea(_0x16147a,_0x41e75c){_0x16147a=_0x16147a-0x170;var _0x5956bb=a221_0x5956();var _0x31ea24=_0x5956bb[_0x16147a];return _0x31ea24;}export async function withActiveCookie(_0xf30166,_0x18fe82){setActiveCookie(_0xf30166);try{return await _0x18fe82();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- (function(_0x291fda,_0x83d8){var _0x4d02b7=a221_0xc8d8,_0x332a9d=_0x291fda();while(!![]){try{var _0x5c0ad7=parseInt(_0x4d02b7(0x160))/0x1*(parseInt(_0x4d02b7(0x162))/0x2)+parseInt(_0x4d02b7(0x161))/0x3*(parseInt(_0x4d02b7(0x15e))/0x4)+-parseInt(_0x4d02b7(0x15b))/0x5*(-parseInt(_0x4d02b7(0x15d))/0x6)+-parseInt(_0x4d02b7(0x15f))/0x7+-parseInt(_0x4d02b7(0x158))/0x8+-parseInt(_0x4d02b7(0x15c))/0x9*(parseInt(_0x4d02b7(0x156))/0xa)+-parseInt(_0x4d02b7(0x159))/0xb*(parseInt(_0x4d02b7(0x157))/0xc);if(_0x5c0ad7===_0x83d8)break;else _0x332a9d['push'](_0x332a9d['shift']());}catch(_0x1d8437){_0x332a9d['push'](_0x332a9d['shift']());}}}(a221_0x1fda,0x75775));function a221_0x1fda(){var _0xda78fc=['6raoKYL','112CzHsRg','3694768nEOzlK','1ZtYhWs','75540WEUbCh','1903638yyCmWm','write','5734730OXepIX','12FZJRsR','8056MdUSOD','4182497rnDYJO','stderr','1534065TFJIIf','9jtpohd'];a221_0x1fda=function(){return _0xda78fc;};return a221_0x1fda();}function a221_0xc8d8(_0x3d15f7,_0x37321b){_0x3d15f7=_0x3d15f7-0x155;var _0x1fda08=a221_0x1fda();var _0xc8d8fb=_0x1fda08[_0x3d15f7];return _0xc8d8fb;}export function writeCliSideChannelLine(_0x19127f){var _0xffe912=a221_0xc8d8;process[_0xffe912(0x15a)][_0xffe912(0x155)](_0x19127f+'\x0a');}
1
+ function a222_0x2db9(_0x5966f8,_0x551b19){_0x5966f8=_0x5966f8-0x76;var _0x209bc8=a222_0x209b();var _0x2db91c=_0x209bc8[_0x5966f8];return _0x2db91c;}(function(_0x2c4e98,_0x109237){var _0x877caa=a222_0x2db9,_0x285a66=_0x2c4e98();while(!![]){try{var _0x2ac502=parseInt(_0x877caa(0x80))/0x1*(-parseInt(_0x877caa(0x7e))/0x2)+-parseInt(_0x877caa(0x76))/0x3+parseInt(_0x877caa(0x7a))/0x4*(parseInt(_0x877caa(0x78))/0x5)+-parseInt(_0x877caa(0x7c))/0x6+-parseInt(_0x877caa(0x77))/0x7+-parseInt(_0x877caa(0x79))/0x8+parseInt(_0x877caa(0x7b))/0x9;if(_0x2ac502===_0x109237)break;else _0x285a66['push'](_0x285a66['shift']());}catch(_0x41eb87){_0x285a66['push'](_0x285a66['shift']());}}}(a222_0x209b,0x595aa));export function writeCliSideChannelLine(_0xd4b040){var _0x3936ec=a222_0x2db9;process[_0x3936ec(0x7f)][_0x3936ec(0x7d)](_0xd4b040+'\x0a');}function a222_0x209b(){var _0x192904=['178975rdXtLu','15224AmPVEr','76kcPViX','8813223WKpgaS','3636582PIiKvj','write','4JaqKqe','stderr','182614HFPMie','389433NilMHx','1332233pPbfsM'];a222_0x209b=function(){return _0x192904;};return a222_0x209b();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.2",
3
+ "version": "2.3.3-beta.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "repository": {
6
6
  "type": "git",