@lovrabet/rabetbase-cli 2.3.4 → 2.3.5-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 (239) 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/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote-directory.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-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/validate.js +1 -1
  50. package/lib/commands/config/get.js +1 -1
  51. package/lib/commands/config/index.js +1 -1
  52. package/lib/commands/config/list.js +1 -1
  53. package/lib/commands/config/set.js +1 -1
  54. package/lib/commands/config/shared.js +1 -1
  55. package/lib/commands/data/filter.js +1 -1
  56. package/lib/commands/data/getOne.js +1 -1
  57. package/lib/commands/data/index.js +1 -1
  58. package/lib/commands/data/shared.js +1 -1
  59. package/lib/commands/dataset/business-group-update.js +1 -1
  60. package/lib/commands/dataset/capability.js +1 -1
  61. package/lib/commands/dataset/delete.js +1 -1
  62. package/lib/commands/dataset/detail.js +1 -1
  63. package/lib/commands/dataset/extend-update.js +1 -1
  64. package/lib/commands/dataset/field-update.js +1 -1
  65. package/lib/commands/dataset/generate.js +1 -1
  66. package/lib/commands/dataset/index.js +1 -1
  67. package/lib/commands/dataset/list.js +1 -1
  68. package/lib/commands/dataset/operations.js +1 -1
  69. package/lib/commands/dataset/relation-audit.js +1 -1
  70. package/lib/commands/dataset/relation-create.js +1 -1
  71. package/lib/commands/dataset/relation-delete.js +1 -1
  72. package/lib/commands/dataset/relation-shared.js +1 -1
  73. package/lib/commands/dataset/relation-update.js +1 -1
  74. package/lib/commands/dataset/relations.js +1 -1
  75. package/lib/commands/dataset/rename.js +1 -1
  76. package/lib/commands/dataset/restore.js +1 -1
  77. package/lib/commands/db/analyze-cancel.js +1 -1
  78. package/lib/commands/db/analyze-start.js +1 -1
  79. package/lib/commands/db/analyze-status.js +1 -1
  80. package/lib/commands/db/create.js +1 -1
  81. package/lib/commands/db/delete.js +1 -1
  82. package/lib/commands/db/detail.js +1 -1
  83. package/lib/commands/db/diff.js +1 -1
  84. package/lib/commands/db/index.js +1 -1
  85. package/lib/commands/db/list.js +1 -1
  86. package/lib/commands/db/shared.js +1 -1
  87. package/lib/commands/db/tables.js +1 -1
  88. package/lib/commands/db/test.js +1 -1
  89. package/lib/commands/db/update.js +1 -1
  90. package/lib/commands/doctor.js +1 -1
  91. package/lib/commands/init/index.js +1 -1
  92. package/lib/commands/issue/index.js +1 -1
  93. package/lib/commands/issue/nudge.js +1 -1
  94. package/lib/commands/issue/report.js +1 -1
  95. package/lib/commands/issue/shared.js +1 -1
  96. package/lib/commands/logs/index.js +1 -1
  97. package/lib/commands/menu/index.js +1 -1
  98. package/lib/commands/menu/list.js +1 -1
  99. package/lib/commands/menu/shared/compare-table.js +1 -1
  100. package/lib/commands/menu/shared/index.js +1 -1
  101. package/lib/commands/menu/shared/inquirer.js +1 -1
  102. package/lib/commands/menu/shared/local-pages.js +1 -1
  103. package/lib/commands/menu/shared/logic.js +1 -1
  104. package/lib/commands/menu/shared/service.js +1 -1
  105. package/lib/commands/menu/shared/sync-core.js +1 -1
  106. package/lib/commands/menu/shared/update-core.js +1 -1
  107. package/lib/commands/menu/shared/valid-url.js +1 -1
  108. package/lib/commands/menu/sync.js +1 -1
  109. package/lib/commands/menu/update.js +1 -1
  110. package/lib/commands/page/generate-start.js +1 -1
  111. package/lib/commands/page/generate-status.js +1 -1
  112. package/lib/commands/page/index.js +1 -1
  113. package/lib/commands/page/pull.js +1 -1
  114. package/lib/commands/page/push.js +1 -1
  115. package/lib/commands/page/relation-audit.js +1 -1
  116. package/lib/commands/page/shared.js +1 -1
  117. package/lib/commands/page/standard-page-status.js +1 -1
  118. package/lib/commands/page/sync.js +1 -1
  119. package/lib/commands/permit/index.js +1 -1
  120. package/lib/commands/permit/page-get.js +1 -1
  121. package/lib/commands/permit/page-set.js +1 -1
  122. package/lib/commands/permit/role-apis-set.js +1 -1
  123. package/lib/commands/permit/role-menus-set.js +1 -1
  124. package/lib/commands/permit/role-menus.js +1 -1
  125. package/lib/commands/permit/shared.js +1 -1
  126. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  127. package/lib/commands/project/create/format-elapsed.js +1 -1
  128. package/lib/commands/project/create/main.js +1 -1
  129. package/lib/commands/project/create/non-interactive.js +1 -1
  130. package/lib/commands/project/create/project-template-path.js +1 -1
  131. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  132. package/lib/commands/project/create/use-format-code.js +1 -1
  133. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  134. package/lib/commands/project/index.js +1 -1
  135. package/lib/commands/project/init.js +1 -1
  136. package/lib/commands/project/upgrade.js +1 -1
  137. package/lib/commands/registry.js +1 -1
  138. package/lib/commands/role/create.js +1 -1
  139. package/lib/commands/role/delete.js +1 -1
  140. package/lib/commands/role/detail.js +1 -1
  141. package/lib/commands/role/index.js +1 -1
  142. package/lib/commands/role/list.js +1 -1
  143. package/lib/commands/role/shared.js +1 -1
  144. package/lib/commands/role/update.js +1 -1
  145. package/lib/commands/role/user-add.js +1 -1
  146. package/lib/commands/role/user-remove.js +1 -1
  147. package/lib/commands/role/user-resolve.js +1 -1
  148. package/lib/commands/run/index.js +1 -1
  149. package/lib/commands/schema.js +1 -1
  150. package/lib/commands/sql/create.js +1 -1
  151. package/lib/commands/sql/delete.js +1 -1
  152. package/lib/commands/sql/detail.js +1 -1
  153. package/lib/commands/sql/exec.js +1 -1
  154. package/lib/commands/sql/index.js +1 -1
  155. package/lib/commands/sql/list.js +1 -1
  156. package/lib/commands/sql/pull.js +1 -1
  157. package/lib/commands/sql/push.js +1 -1
  158. package/lib/commands/sql/save.js +1 -1
  159. package/lib/commands/sql/shared.js +1 -1
  160. package/lib/commands/sql/status.js +1 -1
  161. package/lib/commands/sql/validate.js +1 -1
  162. package/lib/commands/workspace/add.js +1 -1
  163. package/lib/commands/workspace/index.js +1 -1
  164. package/lib/commands/workspace/remove.js +1 -1
  165. package/lib/config/schema.js +1 -1
  166. package/lib/constant/cdn.js +1 -1
  167. package/lib/constant/cli.js +1 -1
  168. package/lib/constant/defaults.js +1 -1
  169. package/lib/constant/domain.js +1 -1
  170. package/lib/constant/env.js +1 -1
  171. package/lib/constant/output.js +1 -1
  172. package/lib/constant/paths.js +1 -1
  173. package/lib/constant/risk.js +1 -1
  174. package/lib/context/app-resolver.js +1 -1
  175. package/lib/context/auth-resolver.js +1 -1
  176. package/lib/context/config-loader.js +1 -1
  177. package/lib/context.js +1 -1
  178. package/lib/core/alias-resolver.js +1 -1
  179. package/lib/core/api-client.js +1 -1
  180. package/lib/core/bff/config.js +1 -1
  181. package/lib/core/bff/file-system.js +1 -1
  182. package/lib/core/bff/hash.js +1 -1
  183. package/lib/core/bff/lock.js +1 -1
  184. package/lib/core/bff/utils.js +1 -1
  185. package/lib/core/db-resolver.js +1 -1
  186. package/lib/core/page/file-system.js +1 -1
  187. package/lib/core/page/hash.js +1 -1
  188. package/lib/core/page/lock.js +1 -1
  189. package/lib/core/sql-sync/config.js +1 -1
  190. package/lib/core/sql-sync/file-system.js +1 -1
  191. package/lib/core/sql-sync/hash.js +1 -1
  192. package/lib/core/sql-sync/lock.js +1 -1
  193. package/lib/core/sql-sync/utils.js +1 -1
  194. package/lib/core/sql-validator.js +1 -1
  195. package/lib/errors.js +1 -1
  196. package/lib/framework/build-all-flags.js +1 -1
  197. package/lib/framework/flags.js +1 -1
  198. package/lib/framework/help.js +1 -1
  199. package/lib/framework/index.js +1 -1
  200. package/lib/framework/output.js +1 -1
  201. package/lib/framework/response.js +1 -1
  202. package/lib/framework/runner-alias.js +1 -1
  203. package/lib/framework/runner.js +1 -1
  204. package/lib/framework/schema-export.js +1 -1
  205. package/lib/framework/types.js +1 -1
  206. package/lib/generated/build-info.js +1 -1
  207. package/lib/help.js +1 -1
  208. package/lib/skills/main.js +1 -1
  209. package/lib/skills/npx-skills-add.js +1 -1
  210. package/lib/telemetry/cli-command-trace.js +1 -1
  211. package/lib/telemetry/cli-help-trace.js +1 -1
  212. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  213. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  214. package/lib/telemetry/send-cli-trace-log.js +1 -1
  215. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  216. package/lib/utils/ai_config.js +1 -1
  217. package/lib/utils/apply-jq-filter.js +1 -1
  218. package/lib/utils/cdn-config.js +1 -1
  219. package/lib/utils/check-sdk-version.js +1 -1
  220. package/lib/utils/cli-version-check.js +1 -1
  221. package/lib/utils/cli-version-policy.js +1 -1
  222. package/lib/utils/config.js +1 -1
  223. package/lib/utils/copy-directory.js +1 -1
  224. package/lib/utils/entity-with-id.js +1 -1
  225. package/lib/utils/file-utils.js +1 -1
  226. package/lib/utils/guides-cdn.js +1 -1
  227. package/lib/utils/http-client.js +1 -1
  228. package/lib/utils/is-non-interactive.js +1 -1
  229. package/lib/utils/logger.js +1 -1
  230. package/lib/utils/params.js +1 -1
  231. package/lib/utils/platform.js +1 -1
  232. package/lib/utils/rules-cdn.js +1 -1
  233. package/lib/utils/sleep.js +1 -1
  234. package/lib/utils/template-replacer.js +1 -1
  235. package/lib/utils/update-notice.js +1 -1
  236. package/lib/utils/version.js +1 -1
  237. package/lib/utils/with-active-cookie.js +1 -1
  238. package/lib/utils/write-cli-side-channel.js +1 -1
  239. package/package.json +1 -1
@@ -1 +1 @@
1
- const a233_0x201547=a233_0x4602;(function(_0x335681,_0x5ecc34){const _0x43f0cf=a233_0x4602,_0x23ded9=_0x335681();while(!![]){try{const _0x3337cb=parseInt(_0x43f0cf(0xc9))/0x1+-parseInt(_0x43f0cf(0xe2))/0x2*(-parseInt(_0x43f0cf(0xe7))/0x3)+parseInt(_0x43f0cf(0xd2))/0x4*(parseInt(_0x43f0cf(0xe9))/0x5)+parseInt(_0x43f0cf(0xfc))/0x6+parseInt(_0x43f0cf(0xf1))/0x7*(-parseInt(_0x43f0cf(0xdf))/0x8)+parseInt(_0x43f0cf(0xed))/0x9+-parseInt(_0x43f0cf(0xfa))/0xa*(parseInt(_0x43f0cf(0xd0))/0xb);if(_0x3337cb===_0x5ecc34)break;else _0x23ded9['push'](_0x23ded9['shift']());}catch(_0x314395){_0x23ded9['push'](_0x23ded9['shift']());}}}(a233_0x35bd,0x801fa));import a233_0x58c63d from'winston';import a233_0x1e3eb2 from'node:fs';import a233_0x2e881f from'node:path';class Logger{[a233_0x201547(0xdd)];[a233_0x201547(0xca)];[a233_0x201547(0xf2)]='';constructor(){this['logFilePath']='';}[a233_0x201547(0xd8)](_0x1fb31e){const _0x568a7d=a233_0x201547;this[_0x568a7d(0xf2)]=_0x1fb31e;}[a233_0x201547(0xcd)](){const _0x446798=a233_0x201547,_0xfa1a9e=a233_0x2e881f[_0x446798(0xcf)](this[_0x446798(0xca)]);!a233_0x1e3eb2[_0x446798(0xc8)](_0xfa1a9e)&&a233_0x1e3eb2[_0x446798(0xe4)](_0xfa1a9e,{'recursive':!![]});const _0x70cf2e=a233_0x58c63d['format'][_0x446798(0xf3)](a233_0x58c63d[_0x446798(0xda)][_0x446798(0xea)](),a233_0x58c63d[_0x446798(0xda)]['errors']({'stack':!![]}),a233_0x58c63d[_0x446798(0xda)][_0x446798(0xe6)](_0xc6e4fa=>{const _0x5ffd8a=_0x446798,_0x405c8c={'timestamp':_0xc6e4fa[_0x5ffd8a(0xea)]||new Date()[_0x5ffd8a(0xcc)](),'level':_0xc6e4fa[_0x5ffd8a(0xde)]||_0x5ffd8a(0xee),'command':_0xc6e4fa['command']||_0x5ffd8a(0xdb),'rawCommand':_0xc6e4fa[_0x5ffd8a(0xf8)]||this[_0x5ffd8a(0xf2)]||undefined,'message':_0xc6e4fa[_0x5ffd8a(0xce)]||'','duration':_0xc6e4fa[_0x5ffd8a(0xd3)]||undefined,'details':_0xc6e4fa[_0x5ffd8a(0xf9)]||undefined};return JSON['stringify'](_0x405c8c);}));this[_0x446798(0xdd)]=a233_0x58c63d['createLogger']({'level':_0x446798(0xee),'format':_0x70cf2e,'transports':[new a233_0x58c63d['transports'][(_0x446798(0xd1))]({'filename':this['logFilePath'],'level':_0x446798(0xee)})],'silent':![]}),a233_0x58c63d[_0x446798(0xd6)]({'success':'green','error':'red','warn':'yellow','info':_0x446798(0xf0)});}[a233_0x201547(0xe0)](_0x3f86bd){const _0x2544ad=a233_0x201547;this['logFilePath']=a233_0x2e881f[_0x2544ad(0xd9)](_0x3f86bd,_0x2544ad(0xd5)),this[_0x2544ad(0xdd)]&&this[_0x2544ad(0xdd)]['clear'](),this[_0x2544ad(0xcd)]();}[a233_0x201547(0xee)](_0x566265,_0xfa17a9,_0x36ac71){const _0x1a09a4=a233_0x201547;if(!this['logFilePath']||!this[_0x1a09a4(0xdd)])return;this[_0x1a09a4(0xdd)][_0x1a09a4(0xee)](_0xfa17a9,{'command':_0x566265,'details':_0x36ac71});}[a233_0x201547(0xff)](_0x530acb,_0x4b2f8a,_0x2fdeb2,_0x33dfac){const _0x319a21=a233_0x201547;if(!this[_0x319a21(0xca)]||!this[_0x319a21(0xdd)])return;this[_0x319a21(0xdd)][_0x319a21(0xe5)](_0x319a21(0xee),_0x4b2f8a,{'level':_0x319a21(0xff),'command':_0x530acb,'duration':_0x2fdeb2,'details':_0x33dfac});}[a233_0x201547(0xd7)](_0x16e5ab,_0x28f5ab,_0x15260c){const _0x49ed00=a233_0x201547;if(!this[_0x49ed00(0xca)]||!this[_0x49ed00(0xdd)])return;this[_0x49ed00(0xdd)][_0x49ed00(0xd7)](_0x28f5ab,{'command':_0x16e5ab,'details':_0x15260c});}[a233_0x201547(0xec)](_0x23381d,_0x2669a1,_0x4d48a0){const _0x11338e=a233_0x201547;if(!this[_0x11338e(0xca)]||!this[_0x11338e(0xdd)])return;this[_0x11338e(0xdd)][_0x11338e(0xec)](_0x2669a1,{'command':_0x23381d,'details':_0x4d48a0});}async[a233_0x201547(0xe1)](_0x2f7f1d,_0x52edff,_0x484fb5){const _0x9dcf6d=a233_0x201547,_0x556bf5=Date[_0x9dcf6d(0xeb)]();this[_0x9dcf6d(0xee)](_0x2f7f1d,_0x9dcf6d(0xe8)+_0x52edff);try{const _0xa591ba=await _0x484fb5(),_0x265627=Date[_0x9dcf6d(0xeb)]()-_0x556bf5;return this[_0x9dcf6d(0xff)](_0x2f7f1d,_0x9dcf6d(0xcb)+_0x52edff,_0x265627),_0xa591ba;}catch(_0x1a65c1){const _0x5418bb=Date[_0x9dcf6d(0xeb)]()-_0x556bf5;this['error'](_0x2f7f1d,'失败:\x20'+_0x52edff,{'error':_0x1a65c1 instanceof Error?_0x1a65c1[_0x9dcf6d(0xce)]:String(_0x1a65c1),'duration':_0x5418bb});throw _0x1a65c1;}}[a233_0x201547(0xfb)](){const _0x5f1caf=a233_0x201547;try{if(!a233_0x1e3eb2[_0x5f1caf(0xc8)](this[_0x5f1caf(0xca)]))return[];const _0x3934a4=a233_0x1e3eb2[_0x5f1caf(0xe3)](this['logFilePath'],_0x5f1caf(0xf4));return _0x3934a4[_0x5f1caf(0xf6)]('\x0a')[_0x5f1caf(0xef)](_0x48b1bc=>_0x48b1bc['trim']())[_0x5f1caf(0xf5)](_0x5652e7=>JSON[_0x5f1caf(0xfd)](_0x5652e7));}catch(_0xa2641b){return console[_0x5f1caf(0xec)](_0x5f1caf(0xfe),_0xa2641b),[];}}[a233_0x201547(0xdc)](){const _0x3abbd7=a233_0x201547;try{a233_0x1e3eb2['existsSync'](this['logFilePath'])&&a233_0x1e3eb2[_0x3abbd7(0xf7)](this[_0x3abbd7(0xca)],'','utf8');}catch(_0x501155){console[_0x3abbd7(0xec)](_0x3abbd7(0xd4),_0x501155);}}['getWinstonInstance'](){const _0x5a589c=a233_0x201547;return this[_0x5a589c(0xdd)];}}export const logger=new Logger();function a233_0x4602(_0x41b488,_0x2ad324){_0x41b488=_0x41b488-0xc8;const _0x35bdcc=a233_0x35bd();let _0x460257=_0x35bdcc[_0x41b488];return _0x460257;}function a233_0x35bd(){const _0x2246d5=['logTask','26xzzPvy','readFileSync','mkdirSync','log','printf','39561qDJJXW','开始执行:\x20','5sqQWsx','timestamp','now','warn','5739687JYQZhS','info','filter','blue','7QymCBv','currentRawCommand','combine','utf8','map','split','writeFileSync','rawCommand','details','30idftCx','readLogs','5144112JYpkWa','parse','Failed\x20to\x20read\x20logs:','success','existsSync','462446OvmznN','logFilePath','完成:\x20','toISOString','initWinstonLogger','message','dirname','3549304nPNmkL','File','637036FQpalw','duration','Failed\x20to\x20clear\x20logs:','.lovrabet.log','addColors','error','setRawCommand','join','format','unknown','clearLogs','winstonLogger','level','6363560ZDcEme','setLogPath'];a233_0x35bd=function(){return _0x2246d5;};return a233_0x35bd();}
1
+ const a233_0x2d7b56=a233_0x1e22;(function(_0x28447e,_0xf2c4fc){const _0x206235=a233_0x1e22,_0x51d264=_0x28447e();while(!![]){try{const _0x5cf240=-parseInt(_0x206235(0x215))/0x1*(-parseInt(_0x206235(0x1e1))/0x2)+-parseInt(_0x206235(0x1ee))/0x3*(-parseInt(_0x206235(0x208))/0x4)+-parseInt(_0x206235(0x211))/0x5*(parseInt(_0x206235(0x217))/0x6)+-parseInt(_0x206235(0x1f4))/0x7*(-parseInt(_0x206235(0x1e4))/0x8)+parseInt(_0x206235(0x1f7))/0x9+parseInt(_0x206235(0x213))/0xa*(parseInt(_0x206235(0x1e8))/0xb)+-parseInt(_0x206235(0x1ed))/0xc;if(_0x5cf240===_0xf2c4fc)break;else _0x51d264['push'](_0x51d264['shift']());}catch(_0x1dc67d){_0x51d264['push'](_0x51d264['shift']());}}}(a233_0x4ebe,0x19681));function a233_0x4ebe(){const _0x3648fd=['mkdirSync','1741nsGiLR','dirname','278406hOyMdV','utf8','74tQVsqe','join','split','8IXEcRh','clear','timestamp','clearLogs','456401lVsajn','.lovrabet.log','currentRawCommand','Failed\x20to\x20clear\x20logs:','map','2888088Lsyyci','12EiEGLK','parse','setLogPath','开始执行:\x20','existsSync','errors','504644iknosS','filter','error','975393gamAAk','blue','now','transports','green','warn','readFileSync','yellow','winstonLogger','initWinstonLogger','失败:\x20','addColors','format','logFilePath','info','red','success','160984mSImnC','rawCommand','details','setRawCommand','message','trim','logTask','完成:\x20','stringify','20MltUCP','combine','30tPTkwc'];a233_0x4ebe=function(){return _0x3648fd;};return a233_0x4ebe();}import a233_0x1f9a54 from'winston';import a233_0x8eceb5 from'node:fs';import a233_0x3fcfb9 from'node:path';class Logger{[a233_0x2d7b56(0x1ff)];[a233_0x2d7b56(0x204)];[a233_0x2d7b56(0x1ea)]='';constructor(){const _0x4a17a4=a233_0x2d7b56;this[_0x4a17a4(0x204)]='';}[a233_0x2d7b56(0x20b)](_0x4b9b8b){const _0x300339=a233_0x2d7b56;this[_0x300339(0x1ea)]=_0x4b9b8b;}['initWinstonLogger'](){const _0x5aa78c=a233_0x2d7b56,_0x4f3012=a233_0x3fcfb9[_0x5aa78c(0x216)](this[_0x5aa78c(0x204)]);!a233_0x8eceb5[_0x5aa78c(0x1f2)](_0x4f3012)&&a233_0x8eceb5[_0x5aa78c(0x214)](_0x4f3012,{'recursive':!![]});const _0x38d95f=a233_0x1f9a54[_0x5aa78c(0x203)][_0x5aa78c(0x212)](a233_0x1f9a54[_0x5aa78c(0x203)][_0x5aa78c(0x1e6)](),a233_0x1f9a54[_0x5aa78c(0x203)][_0x5aa78c(0x1f3)]({'stack':!![]}),a233_0x1f9a54[_0x5aa78c(0x203)]['printf'](_0x2613a2=>{const _0x31f018=_0x5aa78c,_0x121a03={'timestamp':_0x2613a2[_0x31f018(0x1e6)]||new Date()['toISOString'](),'level':_0x2613a2['level']||'info','command':_0x2613a2['command']||'unknown','rawCommand':_0x2613a2[_0x31f018(0x209)]||this[_0x31f018(0x1ea)]||undefined,'message':_0x2613a2[_0x31f018(0x20c)]||'','duration':_0x2613a2['duration']||undefined,'details':_0x2613a2[_0x31f018(0x20a)]||undefined};return JSON[_0x31f018(0x210)](_0x121a03);}));this[_0x5aa78c(0x1ff)]=a233_0x1f9a54['createLogger']({'level':_0x5aa78c(0x205),'format':_0x38d95f,'transports':[new a233_0x1f9a54[(_0x5aa78c(0x1fa))]['File']({'filename':this[_0x5aa78c(0x204)],'level':_0x5aa78c(0x205)})],'silent':![]}),a233_0x1f9a54[_0x5aa78c(0x202)]({'success':_0x5aa78c(0x1fb),'error':_0x5aa78c(0x206),'warn':_0x5aa78c(0x1fe),'info':_0x5aa78c(0x1f8)});}[a233_0x2d7b56(0x1f0)](_0x494a13){const _0x6953b8=a233_0x2d7b56;this['logFilePath']=a233_0x3fcfb9[_0x6953b8(0x1e2)](_0x494a13,_0x6953b8(0x1e9)),this['winstonLogger']&&this['winstonLogger'][_0x6953b8(0x1e5)](),this[_0x6953b8(0x200)]();}[a233_0x2d7b56(0x205)](_0x1b3727,_0x5c0c5d,_0x3d839d){const _0x47fe5b=a233_0x2d7b56;if(!this[_0x47fe5b(0x204)]||!this[_0x47fe5b(0x1ff)])return;this[_0x47fe5b(0x1ff)][_0x47fe5b(0x205)](_0x5c0c5d,{'command':_0x1b3727,'details':_0x3d839d});}[a233_0x2d7b56(0x207)](_0x5daa63,_0x182e95,_0x3918c3,_0x14abde){const _0x25038b=a233_0x2d7b56;if(!this[_0x25038b(0x204)]||!this['winstonLogger'])return;this[_0x25038b(0x1ff)]['log'](_0x25038b(0x205),_0x182e95,{'level':_0x25038b(0x207),'command':_0x5daa63,'duration':_0x3918c3,'details':_0x14abde});}[a233_0x2d7b56(0x1f6)](_0x57b9d8,_0x116e72,_0xd6094f){const _0x3f1cc4=a233_0x2d7b56;if(!this[_0x3f1cc4(0x204)]||!this[_0x3f1cc4(0x1ff)])return;this['winstonLogger'][_0x3f1cc4(0x1f6)](_0x116e72,{'command':_0x57b9d8,'details':_0xd6094f});}[a233_0x2d7b56(0x1fc)](_0x4634f8,_0x57f036,_0x105411){const _0x2ea28d=a233_0x2d7b56;if(!this[_0x2ea28d(0x204)]||!this[_0x2ea28d(0x1ff)])return;this[_0x2ea28d(0x1ff)][_0x2ea28d(0x1fc)](_0x57f036,{'command':_0x4634f8,'details':_0x105411});}async[a233_0x2d7b56(0x20e)](_0x37b0ab,_0x36c4fd,_0x6c535){const _0xb6be7a=a233_0x2d7b56,_0x14726b=Date[_0xb6be7a(0x1f9)]();this[_0xb6be7a(0x205)](_0x37b0ab,_0xb6be7a(0x1f1)+_0x36c4fd);try{const _0x5c67c8=await _0x6c535(),_0x537f5f=Date[_0xb6be7a(0x1f9)]()-_0x14726b;return this['success'](_0x37b0ab,_0xb6be7a(0x20f)+_0x36c4fd,_0x537f5f),_0x5c67c8;}catch(_0x221b91){const _0x3b1312=Date[_0xb6be7a(0x1f9)]()-_0x14726b;this[_0xb6be7a(0x1f6)](_0x37b0ab,_0xb6be7a(0x201)+_0x36c4fd,{'error':_0x221b91 instanceof Error?_0x221b91[_0xb6be7a(0x20c)]:String(_0x221b91),'duration':_0x3b1312});throw _0x221b91;}}['readLogs'](){const _0x5450d7=a233_0x2d7b56;try{if(!a233_0x8eceb5[_0x5450d7(0x1f2)](this[_0x5450d7(0x204)]))return[];const _0x564e0b=a233_0x8eceb5[_0x5450d7(0x1fd)](this[_0x5450d7(0x204)],'utf8');return _0x564e0b[_0x5450d7(0x1e3)]('\x0a')[_0x5450d7(0x1f5)](_0x42f40a=>_0x42f40a[_0x5450d7(0x20d)]())[_0x5450d7(0x1ec)](_0x3c8075=>JSON[_0x5450d7(0x1ef)](_0x3c8075));}catch(_0x19466f){return console[_0x5450d7(0x1fc)]('Failed\x20to\x20read\x20logs:',_0x19466f),[];}}[a233_0x2d7b56(0x1e7)](){const _0x5252e0=a233_0x2d7b56;try{a233_0x8eceb5[_0x5252e0(0x1f2)](this[_0x5252e0(0x204)])&&a233_0x8eceb5['writeFileSync'](this[_0x5252e0(0x204)],'',_0x5252e0(0x1e0));}catch(_0x28afca){console[_0x5252e0(0x1fc)](_0x5252e0(0x1eb),_0x28afca);}}['getWinstonInstance'](){const _0x11d197=a233_0x2d7b56;return this[_0x11d197(0x1ff)];}}function a233_0x1e22(_0x24310e,_0x4ef1e0){_0x24310e=_0x24310e-0x1e0;const _0x4ebed6=a233_0x4ebe();let _0x1e22d9=_0x4ebed6[_0x24310e];return _0x1e22d9;}export const logger=new Logger();
@@ -1 +1 @@
1
- (function(_0xedb276,_0x1bf23f){const _0x55220f=a234_0x2e8a,_0x337a95=_0xedb276();while(!![]){try{const _0x234126=-parseInt(_0x55220f(0xed))/0x1*(-parseInt(_0x55220f(0xe9))/0x2)+parseInt(_0x55220f(0xf1))/0x3+parseInt(_0x55220f(0xeb))/0x4+parseInt(_0x55220f(0xee))/0x5+parseInt(_0x55220f(0xf3))/0x6*(-parseInt(_0x55220f(0xe8))/0x7)+parseInt(_0x55220f(0xf0))/0x8*(parseInt(_0x55220f(0xec))/0x9)+parseInt(_0x55220f(0xef))/0xa*(-parseInt(_0x55220f(0xe5))/0xb);if(_0x234126===_0x1bf23f)break;else _0x337a95['push'](_0x337a95['shift']());}catch(_0x1b1245){_0x337a95['push'](_0x337a95['shift']());}}}(a234_0x5c90,0xb5612));import{CliErrors}from'../errors.js';function a234_0x2e8a(_0x174346,_0x3d2bb2){_0x174346=_0x174346-0xe3;const _0x5c908f=a234_0x5c90();let _0x2e8a38=_0x5c908f[_0x174346];return _0x2e8a38;}export function parseJsonParams(_0x5e9ea6){const _0x40620c=a234_0x2e8a;if(!_0x5e9ea6)return undefined;let _0x7beb5e;try{_0x7beb5e=JSON[_0x40620c(0xea)](_0x5e9ea6);}catch{throw CliErrors['validation'](_0x40620c(0xe4)+_0x5e9ea6);}if(!_0x7beb5e||typeof _0x7beb5e!==_0x40620c(0xf2)||Array[_0x40620c(0xe6)](_0x7beb5e))throw CliErrors[_0x40620c(0xe7)]('--params\x20must\x20be\x20a\x20JSON\x20object',_0x40620c(0xe3));return _0x7beb5e;}function a234_0x5c90(){const _0x5cb7fe=['Example:\x20--params\x20\x27{\x22id\x22:123}\x27','Invalid\x20JSON\x20for\x20--params:\x20','26271949VyqKsj','isArray','validation','357gXXuwF','1976346CShtWp','parse','2596660tMIRVZ','354789SReSez','1QIOzVB','7194165srQmbB','10VZrdsT','8mTlOYt','1214634mDCJjO','object','45786cqVADB'];a234_0x5c90=function(){return _0x5cb7fe;};return a234_0x5c90();}
1
+ (function(_0x464c35,_0x12ca5c){const _0x1a23cd=a234_0xebc0,_0x5abc0f=_0x464c35();while(!![]){try{const _0x5935f7=-parseInt(_0x1a23cd(0x9e))/0x1*(-parseInt(_0x1a23cd(0x9d))/0x2)+-parseInt(_0x1a23cd(0x96))/0x3+-parseInt(_0x1a23cd(0x9f))/0x4+-parseInt(_0x1a23cd(0xa0))/0x5+parseInt(_0x1a23cd(0x9a))/0x6*(parseInt(_0x1a23cd(0x95))/0x7)+-parseInt(_0x1a23cd(0x99))/0x8+parseInt(_0x1a23cd(0x9b))/0x9;if(_0x5935f7===_0x12ca5c)break;else _0x5abc0f['push'](_0x5abc0f['shift']());}catch(_0x4a665a){_0x5abc0f['push'](_0x5abc0f['shift']());}}}(a234_0x4aee,0x6c916));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x185536){const _0x39474d=a234_0xebc0;if(!_0x185536)return undefined;let _0x1fa580;try{_0x1fa580=JSON['parse'](_0x185536);}catch{throw CliErrors[_0x39474d(0x97)]('Invalid\x20JSON\x20for\x20--params:\x20'+_0x185536);}if(!_0x1fa580||typeof _0x1fa580!==_0x39474d(0x9c)||Array['isArray'](_0x1fa580))throw CliErrors[_0x39474d(0x97)](_0x39474d(0x98),'Example:\x20--params\x20\x27{\x22id\x22:123}\x27');return _0x1fa580;}function a234_0xebc0(_0x1fd80d,_0x2b6286){_0x1fd80d=_0x1fd80d-0x95;const _0x4aee59=a234_0x4aee();let _0xebc050=_0x4aee59[_0x1fd80d];return _0xebc050;}function a234_0x4aee(){const _0x418950=['2801812PGkgge','4258775UeIcXu','5929qBbayR','2612943ovDkKx','validation','--params\x20must\x20be\x20a\x20JSON\x20object','3238752kGqqlo','1830bwVFnx','26387433HusiOE','object','690cOPzWY','239YSiuKs'];a234_0x4aee=function(){return _0x418950;};return a234_0x4aee();}
@@ -1 +1 @@
1
- const a235_0x2c4054=a235_0x524c;(function(_0x170db7,_0x5183be){const _0x5addff=a235_0x524c,_0x106bba=_0x170db7();while(!![]){try{const _0x58b39d=-parseInt(_0x5addff(0x1c9))/0x1*(parseInt(_0x5addff(0x1c4))/0x2)+parseInt(_0x5addff(0x1c5))/0x3*(parseInt(_0x5addff(0x1c7))/0x4)+-parseInt(_0x5addff(0x1c8))/0x5+parseInt(_0x5addff(0x1cb))/0x6+-parseInt(_0x5addff(0x1ca))/0x7+parseInt(_0x5addff(0x1c3))/0x8+-parseInt(_0x5addff(0x1c1))/0x9*(-parseInt(_0x5addff(0x1c2))/0xa);if(_0x58b39d===_0x5183be)break;else _0x106bba['push'](_0x106bba['shift']());}catch(_0x37341e){_0x106bba['push'](_0x106bba['shift']());}}}(a235_0xe640,0xa1f83));function a235_0x524c(_0x61c0ab,_0xe095f9){_0x61c0ab=_0x61c0ab-0x1c1;const _0xe6403c=a235_0xe640();let _0x524c61=_0xe6403c[_0x61c0ab];return _0x524c61;}export const isWindows=process[a235_0x2c4054(0x1cd)]===a235_0x2c4054(0x1c6);function a235_0xe640(){const _0x2aea02=['.cmd','platform','3196755lxvZuT','10QaItQz','5053856hoSsMl','146EtYxcY','3arHjHi','win32','3327368loUPsf','1725025ZXulNB','16976bHRyhf','4405065ZLrgQY','6349236jItZBJ'];a235_0xe640=function(){return _0x2aea02;};return a235_0xe640();}export function resolveNpmBin(_0x51ece6){const _0x22c708=a235_0x2c4054;return isWindows?_0x51ece6+_0x22c708(0x1cc):_0x51ece6;}
1
+ const a235_0x156e03=a235_0x1032;(function(_0xb77faa,_0x1eeec5){const _0x445432=a235_0x1032,_0x25935a=_0xb77faa();while(!![]){try{const _0x19fb4a=parseInt(_0x445432(0x181))/0x1+parseInt(_0x445432(0x189))/0x2*(-parseInt(_0x445432(0x188))/0x3)+-parseInt(_0x445432(0x18c))/0x4+-parseInt(_0x445432(0x180))/0x5*(parseInt(_0x445432(0x183))/0x6)+-parseInt(_0x445432(0x18d))/0x7*(-parseInt(_0x445432(0x187))/0x8)+-parseInt(_0x445432(0x18a))/0x9+-parseInt(_0x445432(0x185))/0xa*(-parseInt(_0x445432(0x18b))/0xb);if(_0x19fb4a===_0x1eeec5)break;else _0x25935a['push'](_0x25935a['shift']());}catch(_0x35dea3){_0x25935a['push'](_0x25935a['shift']());}}}(a235_0x9b29,0x5e8f7));export const isWindows=process[a235_0x156e03(0x184)]===a235_0x156e03(0x182);function a235_0x1032(_0x3c30f2,_0x396d7f){_0x3c30f2=_0x3c30f2-0x180;const _0x9b2938=a235_0x9b29();let _0x10326a=_0x9b2938[_0x3c30f2];return _0x10326a;}function a235_0x9b29(){const _0x3fb25d=['8sbnUyx','219927YTvRxl','14gwZtov','2365542tIeZEC','6339553riSeeS','2291916PoiHjs','995449rLUllG','65IbTQRF','134197IvLLlt','win32','124188ZhxNCb','platform','30SxAzWp','.cmd'];a235_0x9b29=function(){return _0x3fb25d;};return a235_0x9b29();}export function resolveNpmBin(_0x1525b7){const _0x1e50cc=a235_0x156e03;return isWindows?_0x1525b7+_0x1e50cc(0x186):_0x1525b7;}
@@ -1 +1 @@
1
- const a236_0x557313=a236_0x4a5e;(function(_0x32c21f,_0x356328){const _0x25f922=a236_0x4a5e,_0x304588=_0x32c21f();while(!![]){try{const _0xfbef37=-parseInt(_0x25f922(0xd2))/0x1*(parseInt(_0x25f922(0xc4))/0x2)+-parseInt(_0x25f922(0xcd))/0x3+parseInt(_0x25f922(0xbf))/0x4+parseInt(_0x25f922(0xd1))/0x5+parseInt(_0x25f922(0xc9))/0x6*(parseInt(_0x25f922(0xd5))/0x7)+parseInt(_0x25f922(0xcb))/0x8*(-parseInt(_0x25f922(0xcc))/0x9)+parseInt(_0x25f922(0xcf))/0xa;if(_0xfbef37===_0x356328)break;else _0x304588['push'](_0x304588['shift']());}catch(_0x38a281){_0x304588['push'](_0x304588['shift']());}}}(a236_0x35bd,0xc85b6));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 a236_0x4a5e(_0x14f4a1,_0x3167ce){_0x14f4a1=_0x14f4a1-0xbd;const _0x35bd30=a236_0x35bd();let _0x4a5ea1=_0x35bd30[_0x14f4a1];return _0x4a5ea1;}function getRulesCdnUrl(){const _0x3a6811=a236_0x4a5e,_0x566ecb=getTemplateBaseUrl();return _0x566ecb+_0x3a6811(0xc0);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a236_0x557313(0xd4));export async function fetchRulesFromCDN(){const _0x10485d=a236_0x557313,_0x168044=getRulesCdnUrl(),_0x21fae8=await fetch(_0x168044,{'headers':{'Accept':_0x10485d(0xd0)}});if(!_0x21fae8['ok'])throw new Error(_0x10485d(0xbe)+_0x21fae8[_0x10485d(0xd6)]+'\x20'+_0x21fae8[_0x10485d(0xc8)]);const _0x3b8993=await _0x21fae8[_0x10485d(0xc6)]();if(!_0x3b8993[_0x10485d(0xc2)]||typeof _0x3b8993[_0x10485d(0xc2)]!==_0x10485d(0xc1))throw new Error(_0x10485d(0xc5));return _0x3b8993;}export async function getRulesContent(){const _0x468d00=a236_0x557313;try{const _0x177da6=await fetchRulesFromCDN();return _0x177da6[_0x468d00(0xc2)];}catch{return readLocalTemplate();}}function a236_0x35bd(){const _0x2e58b2=['2387720mUXJRr','/rules/rules.json','string','content','catch','34pOWhWV','CDN\x20返回数据格式错误','json','agents.md','statusText','6WuWMAG','本地模板文件不存在:\x20','407272RDiuLB','261eOEnqS','2018136PormNH','.cursor/rules','8454120bWcboy','application/json','6603270xxFeKB','18235EhNsHn','utf-8','../../templates/rules/lovrabet_rules.mdc.tpl','3617138wnugpU','status','lastUpdated','CDN\x20请求失败:\x20'];a236_0x35bd=function(){return _0x2e58b2;};return a236_0x35bd();}export function readLocalTemplate(){const _0x43b5db=a236_0x557313;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x43b5db(0xd3));throw new Error(_0x43b5db(0xca)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x77f9f0){const _0x385f79=a236_0x557313,_0x520b1b=await fetchRulesFromCDN()[_0x385f79(0xc3)](()=>null);let _0x5e5c8f;_0x520b1b?(_0x5e5c8f=_0x520b1b[_0x385f79(0xc2)],_0x520b1b['lastUpdated']&&(_0x5e5c8f=appendUpdateTime(_0x5e5c8f,_0x520b1b[_0x385f79(0xbd)]))):_0x5e5c8f=readLocalTemplate();const _0x1927ac=dirname(_0x77f9f0);!existsSync(_0x1927ac)&&mkdirSync(_0x1927ac,{'recursive':!![]}),writeFileSync(_0x77f9f0,_0x5e5c8f,_0x385f79(0xd3));}export async function copyRulesToCursor(_0x5a4c98){const _0x5d24d2=a236_0x557313,_0x201093=join(_0x5a4c98,_0x5d24d2(0xce)),_0x24ab6e=join(_0x201093,'lovrabet_rules.mdc');if(existsSync(_0x24ab6e))return![];return await writeRulesFile(_0x24ab6e),!![];}export async function copyRulesToAgentsMd(_0xd3b370){const _0x2d4794=a236_0x557313,_0x23f7f7=join(_0xd3b370,_0x2d4794(0xc7));if(existsSync(_0x23f7f7))return![];return await writeRulesFile(_0x23f7f7),!![];}
1
+ (function(_0x392023,_0x581fc0){const _0x70ee6b=a236_0x161a,_0x28e2e1=_0x392023();while(!![]){try{const _0x543920=-parseInt(_0x70ee6b(0xf4))/0x1*(-parseInt(_0x70ee6b(0x104))/0x2)+parseInt(_0x70ee6b(0xf3))/0x3*(parseInt(_0x70ee6b(0x100))/0x4)+parseInt(_0x70ee6b(0xf7))/0x5+-parseInt(_0x70ee6b(0xff))/0x6*(-parseInt(_0x70ee6b(0xfa))/0x7)+parseInt(_0x70ee6b(0xf6))/0x8*(-parseInt(_0x70ee6b(0xfe))/0x9)+-parseInt(_0x70ee6b(0x102))/0xa+-parseInt(_0x70ee6b(0xf5))/0xb;if(_0x543920===_0x581fc0)break;else _0x28e2e1['push'](_0x28e2e1['shift']());}catch(_0x5100e0){_0x28e2e1['push'](_0x28e2e1['shift']());}}}(a236_0x57bf,0x7d9d5));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 _0x45a528=a236_0x161a,_0x46ecc0=getTemplateBaseUrl();return _0x46ecc0+_0x45a528(0xfc);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,'../../templates/rules/lovrabet_rules.mdc.tpl');function a236_0x161a(_0x5be8c7,_0x3c34a7){_0x5be8c7=_0x5be8c7-0xef;const _0x57bf51=a236_0x57bf();let _0x161aa1=_0x57bf51[_0x5be8c7];return _0x161aa1;}export async function fetchRulesFromCDN(){const _0x6d224f=a236_0x161a,_0x41e7ca=getRulesCdnUrl(),_0x3f3ddf=await fetch(_0x41e7ca,{'headers':{'Accept':_0x6d224f(0xef)}});if(!_0x3f3ddf['ok'])throw new Error('CDN\x20请求失败:\x20'+_0x3f3ddf[_0x6d224f(0xf1)]+'\x20'+_0x3f3ddf['statusText']);const _0x4e43b6=await _0x3f3ddf[_0x6d224f(0xf9)]();if(!_0x4e43b6[_0x6d224f(0xfd)]||typeof _0x4e43b6[_0x6d224f(0xfd)]!==_0x6d224f(0xf0))throw new Error(_0x6d224f(0x105));return _0x4e43b6;}function a236_0x57bf(){const _0x433944=['CDN\x20返回数据格式错误','application/json','string','status','agents.md','2421JsMtQQ','137296hsQirG','5207686BPUlwC','406944sKLhKd','1779875IIHUSx','.cursor/rules','json','284403scImOz','utf-8','/rules/rules.json','content','36YJrfXi','6BUrgEx','4700jiRxLR','lastUpdated','8398940tHAslr','catch','10ciGgGm'];a236_0x57bf=function(){return _0x433944;};return a236_0x57bf();}export async function getRulesContent(){const _0x171ced=a236_0x161a;try{const _0xd48c41=await fetchRulesFromCDN();return _0xd48c41[_0x171ced(0xfd)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x1e5659=a236_0x161a;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x1e5659(0xfb));throw new Error('本地模板文件不存在:\x20'+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x58abd3){const _0xce79a1=a236_0x161a,_0x553f40=await fetchRulesFromCDN()[_0xce79a1(0x103)](()=>null);let _0x114070;_0x553f40?(_0x114070=_0x553f40['content'],_0x553f40[_0xce79a1(0x101)]&&(_0x114070=appendUpdateTime(_0x114070,_0x553f40[_0xce79a1(0x101)]))):_0x114070=readLocalTemplate();const _0x4dbb2a=dirname(_0x58abd3);!existsSync(_0x4dbb2a)&&mkdirSync(_0x4dbb2a,{'recursive':!![]}),writeFileSync(_0x58abd3,_0x114070,_0xce79a1(0xfb));}export async function copyRulesToCursor(_0x488a53){const _0x2e79af=a236_0x161a,_0x406d57=join(_0x488a53,_0x2e79af(0xf8)),_0x17a99f=join(_0x406d57,'lovrabet_rules.mdc');if(existsSync(_0x17a99f))return![];return await writeRulesFile(_0x17a99f),!![];}export async function copyRulesToAgentsMd(_0x1ec364){const _0x50e852=a236_0x161a,_0x3650c7=join(_0x1ec364,_0x50e852(0xf2));if(existsSync(_0x3650c7))return![];return await writeRulesFile(_0x3650c7),!![];}
@@ -1 +1 @@
1
- export function sleep(_0x1b20c6){return new Promise(_0x101084=>setTimeout(_0x101084,_0x1b20c6));}
1
+ export function sleep(_0x540474){return new Promise(_0x34c18f=>setTimeout(_0x34c18f,_0x540474));}
@@ -1 +1 @@
1
- function a238_0x1180(_0x1b0fbb,_0x320879){_0x1b0fbb=_0x1b0fbb-0xff;const _0x4642f1=a238_0x4642();let _0x118098=_0x4642f1[_0x1b0fbb];return _0x118098;}const a238_0x539781=a238_0x1180;(function(_0x285eac,_0x9537be){const _0x14a310=a238_0x1180,_0x2f9999=_0x285eac();while(!![]){try{const _0x4e8eb8=parseInt(_0x14a310(0x12a))/0x1*(parseInt(_0x14a310(0x11b))/0x2)+-parseInt(_0x14a310(0x136))/0x3*(-parseInt(_0x14a310(0x104))/0x4)+-parseInt(_0x14a310(0x134))/0x5+parseInt(_0x14a310(0x123))/0x6+-parseInt(_0x14a310(0x13a))/0x7*(parseInt(_0x14a310(0x12b))/0x8)+-parseInt(_0x14a310(0x140))/0x9+parseInt(_0x14a310(0x10d))/0xa;if(_0x4e8eb8===_0x9537be)break;else _0x2f9999['push'](_0x2f9999['shift']());}catch(_0x2d9620){_0x2f9999['push'](_0x2f9999['shift']());}}}(a238_0x4642,0x458a3));import a238_0x212f4e from'node:fs';import a238_0x5316cc from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();function a238_0x4642(){const _0x5c9e69=['map','15SGnmnU','176iOfeMt','toISOString','isFile','push','alias:\x20\x22','toDisplayTitle','copyFile','.json','datasetCode:\x20\x22','2228425oGOGsW','.css','87pxkQsF','name','promises','info','179606ObtMVP','now','join','tableName:\x20\x22','api','includes','1498950ukKjLq','YourModel','toComponentName','replaceContent','split','模板内容替换完成','67916mLgEVX','padStart','pad','processDirectory','error','\x0a\x20\x20\x20\x20{\x20','getSeconds','getHours','replaceApiContent','7520120zHqpJI','.jsx','utf8','.tsx','alias','.md','readFile','datasetCode','.ts','toLowerCase','模板内容替换失败','pop','default','.tpl','14242nXyLJS','LOVRABET','toUpperCase','writeFile','replace','extname','template','charAt','661968dRhgYO','getDate','slice','endsWith','getMinutes','formatLocalTimestamp'];a238_0x4642=function(){return _0x5c9e69;};return a238_0x4642();}export class TemplateReplacer{static[a238_0x539781(0x106)](_0x15507d){const _0x3845bb=a238_0x539781;return String(_0x15507d)[_0x3845bb(0x105)](0x2,'0');}static[a238_0x539781(0x128)](_0x5e0923){const _0xb816af=a238_0x539781,_0x3dd90e=_0x5e0923['getFullYear'](),_0x1f523e=this[_0xb816af(0x106)](_0x5e0923['getMonth']()+0x1),_0x35c329=this[_0xb816af(0x106)](_0x5e0923[_0xb816af(0x124)]()),_0x396386=this['pad'](_0x5e0923[_0xb816af(0x10b)]()),_0x3d9392=this[_0xb816af(0x106)](_0x5e0923[_0xb816af(0x127)]()),_0x944adf=this[_0xb816af(0x106)](_0x5e0923[_0xb816af(0x10a)]());return{'createdAt':_0x3dd90e+'-'+_0x1f523e+'-'+_0x35c329+'\x20'+_0x396386+':'+_0x3d9392+':'+_0x944adf,'createdDate':_0x3dd90e+'-'+_0x1f523e+'-'+_0x35c329,'createdTime':_0x396386+':'+_0x3d9392+':'+_0x944adf};}static[a238_0x539781(0x100)](_0x4ff3da){const _0x26c6ea=a238_0x539781,_0xf09998=_0x4ff3da[_0x26c6ea(0x102)]('/')[_0x26c6ea(0x118)]()||_0x4ff3da;return _0xf09998[_0x26c6ea(0x102)]('-')['map'](_0x4e9ad3=>_0x4e9ad3[_0x26c6ea(0x122)](0x0)[_0x26c6ea(0x11d)]()+_0x4e9ad3[_0x26c6ea(0x125)](0x1)[_0x26c6ea(0x116)]())[_0x26c6ea(0x13c)]('');}static[a238_0x539781(0x130)](_0x35bbb2){const _0x1e5581=a238_0x539781,_0x1c70b6=_0x35bbb2[_0x1e5581(0x102)]('/')[_0x1e5581(0x118)]()||_0x35bbb2;return _0x1c70b6['split']('-')[_0x1e5581(0x129)](_0x202493=>_0x202493[_0x1e5581(0x122)](0x0)['toUpperCase']()+_0x202493[_0x1e5581(0x125)](0x1)[_0x1e5581(0x116)]())[_0x1e5581(0x13c)]('\x20');}static[a238_0x539781(0x101)](_0x8b25b9,_0x58a486,_0x35af8d){const _0x48773f=a238_0x539781,_0x4b8c45=this[_0x48773f(0x100)](_0x58a486),_0x438cdc=this[_0x48773f(0x130)](_0x58a486),{createdAt:_0x1397de,createdDate:_0xbafbaa,createdTime:_0x13ee70}=this[_0x48773f(0x128)](new Date());let _0x74c0f9=_0x8b25b9[_0x48773f(0x11f)](/\{CliVersion\}/g,CLI_VERSION)[_0x48773f(0x11f)](/\{ComponentName\}/g,_0x4b8c45)[_0x48773f(0x11f)](/\{DisplayTitle\}/g,_0x438cdc)[_0x48773f(0x11f)](/\{PageName\}/g,_0x58a486)['replace'](/\{TemplateName\}/g,_0x35af8d)[_0x48773f(0x11f)](/\{CreatedAt\}/g,_0x1397de)['replace'](/\{CreatedDate\}/g,_0xbafbaa)[_0x48773f(0x11f)](/\{CreatedTime\}/g,_0x13ee70);return _0x74c0f9;}static[a238_0x539781(0x10c)](_0x253a04,_0x1950ad,_0x25dabc,_0x53674f,_0x1f99ba,_0xe95796,_0x4f8217,_0x43beba){const _0x272db2=a238_0x539781,_0x2a1ba5=new Date(),_0x4e6cfc=_0x2a1ba5[_0x272db2(0x12c)](),_0x4591e3=_0x25dabc['map'](_0x3d0015=>{const _0xd861ad=_0x272db2,_0x2bc648=[_0xd861ad(0x133)+_0x3d0015[_0xd861ad(0x114)]+'\x22',_0xd861ad(0x13d)+_0x3d0015['tableName']+'\x22','name:\x20\x22'+_0x3d0015['name']+'\x22'];return _0x3d0015[_0xd861ad(0x111)]&&_0x2bc648[_0xd861ad(0x12e)](_0xd861ad(0x12f)+_0x3d0015['alias']+'\x22'),_0xd861ad(0x109)+_0x2bc648['join'](',\x20')+'\x20},';})[_0x272db2(0x13c)](''),_0x1a6048=_0x53674f||_0x25dabc[0x0]?.['alias']||_0x272db2(0xff);let _0x3599de=_0x253a04[_0x272db2(0x11f)](/\{AppCode\}/g,_0x1950ad)[_0x272db2(0x11f)](/\{ModelConfigs\}/g,_0x4591e3)['replace'](/\{ExampleModelName\}/g,_0x1a6048)[_0x272db2(0x11f)](/\{ApiFileName\}/g,_0x1f99ba||_0x272db2(0x13e))[_0x272db2(0x11f)](/\{ConfigName\}/g,_0xe95796||_0x272db2(0x119))[_0x272db2(0x11f)](/\{ClientConfigParam\}/g,_0x4f8217||'')[_0x272db2(0x11f)](/\{VarPrefix\}/g,_0x43beba||_0x272db2(0x11c))[_0x272db2(0x11f)](/\{CreatedAt\}/g,_0x4e6cfc);return _0x3599de;}static async['processTemplate'](_0x2a32a5,_0x48092a,_0x3004c7,_0x157826,_0x1d011d=!![]){const _0x4b605b=a238_0x539781,_0x1c8251=Date[_0x4b605b(0x13b)]();try{_0x1d011d&&logger[_0x4b605b(0x139)](_0x4b605b(0x121),'开始处理模板内容替换',{'templatePath':_0x2a32a5,'targetPath':_0x48092a,'pageName':_0x3004c7,'templateName':_0x157826});await a238_0x212f4e[_0x4b605b(0x138)]['mkdir'](_0x48092a,{'recursive':!![]}),await this[_0x4b605b(0x107)](_0x2a32a5,_0x48092a,_0x3004c7,_0x157826);if(_0x1d011d){const _0x252386=Date[_0x4b605b(0x13b)]()-_0x1c8251;logger['success'](_0x4b605b(0x121),_0x4b605b(0x103),_0x252386,{'pageName':_0x3004c7,'templateName':_0x157826});}}catch(_0x4436ca){if(_0x1d011d){const _0x1f04ab=Date[_0x4b605b(0x13b)]()-_0x1c8251;logger[_0x4b605b(0x108)](_0x4b605b(0x121),_0x4b605b(0x117),{'templatePath':_0x2a32a5,'targetPath':_0x48092a,'pageName':_0x3004c7,'templateName':_0x157826,'error':_0x4436ca instanceof Error?_0x4436ca['message']:String(_0x4436ca),'duration':_0x1f04ab});}throw _0x4436ca;}}static async[a238_0x539781(0x107)](_0x3b862d,_0x412281,_0x316dee,_0x532d68){const _0x1e3f1e=a238_0x539781,_0x1b78e5=await a238_0x212f4e[_0x1e3f1e(0x138)]['readdir'](_0x3b862d,{'withFileTypes':!![]});for(const _0x4dd471 of _0x1b78e5){const _0x414796=a238_0x5316cc[_0x1e3f1e(0x13c)](_0x3b862d,_0x4dd471['name']);let _0x4061d3=a238_0x5316cc['join'](_0x412281,_0x4dd471[_0x1e3f1e(0x137)]);_0x4dd471[_0x1e3f1e(0x137)][_0x1e3f1e(0x126)]('.tpl')&&(_0x4061d3=a238_0x5316cc[_0x1e3f1e(0x13c)](_0x412281,_0x4dd471[_0x1e3f1e(0x137)][_0x1e3f1e(0x11f)](/\.tpl$/,'')));if(_0x4dd471['isDirectory']())await a238_0x212f4e['promises']['mkdir'](_0x4061d3,{'recursive':!![]}),await this[_0x1e3f1e(0x107)](_0x414796,_0x4061d3,_0x316dee,_0x532d68);else _0x4dd471[_0x1e3f1e(0x12d)]()&&await this['processFile'](_0x414796,_0x4061d3,_0x316dee,_0x532d68);}}static async['processFile'](_0x5495b1,_0x2c92b0,_0x28f794,_0x57da4e){const _0x5c9858=a238_0x539781,_0x2a94c7=a238_0x5316cc[_0x5c9858(0x120)](_0x5495b1)[_0x5c9858(0x116)]();_0x5495b1[_0x5c9858(0x126)]('.tpl')&&(_0x2c92b0=_0x2c92b0[_0x5c9858(0x11f)](/\.tpl$/,''));const _0x99178d=[_0x5c9858(0x110),_0x5c9858(0x115),_0x5c9858(0x10e),'.js',_0x5c9858(0x132),_0x5c9858(0x112),_0x5c9858(0x135),'.scss',_0x5c9858(0x11a)];if(_0x99178d[_0x5c9858(0x13f)](_0x2a94c7)||_0x5495b1[_0x5c9858(0x126)](_0x5c9858(0x11a))){const _0xeb9446=await a238_0x212f4e[_0x5c9858(0x138)][_0x5c9858(0x113)](_0x5495b1,_0x5c9858(0x10f)),_0x1c0558=this['replaceContent'](_0xeb9446,_0x28f794,_0x57da4e);await a238_0x212f4e[_0x5c9858(0x138)][_0x5c9858(0x11e)](_0x2c92b0,_0x1c0558,_0x5c9858(0x10f));}else await a238_0x212f4e[_0x5c9858(0x138)][_0x5c9858(0x131)](_0x5495b1,_0x2c92b0);}}
1
+ const a238_0x4114f3=a238_0x53a9;(function(_0x306d8c,_0x4ea33a){const _0x178c10=a238_0x53a9,_0x495515=_0x306d8c();while(!![]){try{const _0xc01432=-parseInt(_0x178c10(0x1f3))/0x1+-parseInt(_0x178c10(0x208))/0x2+-parseInt(_0x178c10(0x1f4))/0x3+parseInt(_0x178c10(0x209))/0x4*(-parseInt(_0x178c10(0x1e1))/0x5)+parseInt(_0x178c10(0x1ca))/0x6+-parseInt(_0x178c10(0x1da))/0x7*(-parseInt(_0x178c10(0x1dc))/0x8)+parseInt(_0x178c10(0x1d5))/0x9;if(_0xc01432===_0x4ea33a)break;else _0x495515['push'](_0x495515['shift']());}catch(_0x85a7fc){_0x495515['push'](_0x495515['shift']());}}}(a238_0x3bb9,0x6842b));function a238_0x53a9(_0x375915,_0x59e36f){_0x375915=_0x375915-0x1c7;const _0x3bb981=a238_0x3bb9();let _0x53a975=_0x3bb981[_0x375915];return _0x53a975;}function a238_0x3bb9(){const _0xce44b9=['success','join','LOVRABET','name','pad','2129694kHMwJM','utf8','default','split','tableName:\x20\x22','toISOString','name:\x20\x22','.jsx','template','pop','readFile','8177328GRWrBM','datasetCode','toDisplayTitle','slice','.css','6566zYDLRr','\x0a\x20\x20\x20\x20{\x20','6960uVWmhs','.ts','.tpl','toComponentName','mkdir','5LYNxgm','processTemplate','message','processDirectory','alias','.tsx','tableName','getFullYear','模板内容替换失败','toUpperCase','.scss','.js','isDirectory','replaceContent','includes','isFile','formatLocalTimestamp','alias:\x20\x22','570076NbzCpX','1653318CHiVvN','.json','endsWith','toLowerCase','datasetCode:\x20\x22','writeFile','\x20},','promises','模板内容替换完成','processFile','replace','开始处理模板内容替换','replaceApiContent','push','error','getHours','api','extname','getDate','now','36364JhBPNd','2052744AvNyph','map','charAt'];a238_0x3bb9=function(){return _0xce44b9;};return a238_0x3bb9();}import a238_0x57a2de from'node:fs';import a238_0x8bb55f from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a238_0x4114f3(0x1c9)](_0x3746f8){return String(_0x3746f8)['padStart'](0x2,'0');}static['formatLocalTimestamp'](_0x58c013){const _0xbe69f9=a238_0x4114f3,_0x5bbcf6=_0x58c013[_0xbe69f9(0x1e8)](),_0x3b65ae=this[_0xbe69f9(0x1c9)](_0x58c013['getMonth']()+0x1),_0x5d3236=this[_0xbe69f9(0x1c9)](_0x58c013[_0xbe69f9(0x206)]()),_0x235d07=this[_0xbe69f9(0x1c9)](_0x58c013[_0xbe69f9(0x203)]()),_0x308357=this[_0xbe69f9(0x1c9)](_0x58c013['getMinutes']()),_0x21dfef=this['pad'](_0x58c013['getSeconds']());return{'createdAt':_0x5bbcf6+'-'+_0x3b65ae+'-'+_0x5d3236+'\x20'+_0x235d07+':'+_0x308357+':'+_0x21dfef,'createdDate':_0x5bbcf6+'-'+_0x3b65ae+'-'+_0x5d3236,'createdTime':_0x235d07+':'+_0x308357+':'+_0x21dfef};}static[a238_0x4114f3(0x1df)](_0x5eaaf5){const _0x23817b=a238_0x4114f3,_0x4685bd=_0x5eaaf5[_0x23817b(0x1cd)]('/')[_0x23817b(0x1d3)]()||_0x5eaaf5;return _0x4685bd[_0x23817b(0x1cd)]('-')[_0x23817b(0x20a)](_0x53c9b3=>_0x53c9b3[_0x23817b(0x20b)](0x0)[_0x23817b(0x1ea)]()+_0x53c9b3[_0x23817b(0x1d8)](0x1)[_0x23817b(0x1f7)]())[_0x23817b(0x20d)]('');}static[a238_0x4114f3(0x1d7)](_0x2bd843){const _0x3a234d=a238_0x4114f3,_0x2a335a=_0x2bd843['split']('/')[_0x3a234d(0x1d3)]()||_0x2bd843;return _0x2a335a[_0x3a234d(0x1cd)]('-')[_0x3a234d(0x20a)](_0x492e6c=>_0x492e6c[_0x3a234d(0x20b)](0x0)['toUpperCase']()+_0x492e6c[_0x3a234d(0x1d8)](0x1)['toLowerCase']())['join']('\x20');}static[a238_0x4114f3(0x1ee)](_0x1da7cd,_0x2e80e8,_0x49d5c3){const _0x42791c=a238_0x4114f3,_0x506ad8=this[_0x42791c(0x1df)](_0x2e80e8),_0x3ce4a1=this['toDisplayTitle'](_0x2e80e8),{createdAt:_0x5ecdbf,createdDate:_0x3942f3,createdTime:_0x37b056}=this[_0x42791c(0x1f1)](new Date());let _0x230955=_0x1da7cd[_0x42791c(0x1fe)](/\{CliVersion\}/g,CLI_VERSION)[_0x42791c(0x1fe)](/\{ComponentName\}/g,_0x506ad8)[_0x42791c(0x1fe)](/\{DisplayTitle\}/g,_0x3ce4a1)[_0x42791c(0x1fe)](/\{PageName\}/g,_0x2e80e8)['replace'](/\{TemplateName\}/g,_0x49d5c3)['replace'](/\{CreatedAt\}/g,_0x5ecdbf)[_0x42791c(0x1fe)](/\{CreatedDate\}/g,_0x3942f3)[_0x42791c(0x1fe)](/\{CreatedTime\}/g,_0x37b056);return _0x230955;}static[a238_0x4114f3(0x200)](_0x4aa27f,_0x3fc34b,_0x17c7b2,_0x3f05f0,_0x520d50,_0x466107,_0x312f4e,_0x105e7c){const _0x836a9=a238_0x4114f3,_0x5472be=new Date(),_0x38c22a=_0x5472be[_0x836a9(0x1cf)](),_0x56dcbb=_0x17c7b2[_0x836a9(0x20a)](_0x531b38=>{const _0xa3d4f6=_0x836a9,_0x5f0e7b=[_0xa3d4f6(0x1f8)+_0x531b38[_0xa3d4f6(0x1d6)]+'\x22',_0xa3d4f6(0x1ce)+_0x531b38[_0xa3d4f6(0x1e7)]+'\x22',_0xa3d4f6(0x1d0)+_0x531b38[_0xa3d4f6(0x1c8)]+'\x22'];return _0x531b38[_0xa3d4f6(0x1e5)]&&_0x5f0e7b[_0xa3d4f6(0x201)](_0xa3d4f6(0x1f2)+_0x531b38[_0xa3d4f6(0x1e5)]+'\x22'),_0xa3d4f6(0x1db)+_0x5f0e7b[_0xa3d4f6(0x20d)](',\x20')+_0xa3d4f6(0x1fa);})[_0x836a9(0x20d)](''),_0x5d2b2f=_0x3f05f0||_0x17c7b2[0x0]?.['alias']||'YourModel';let _0x48ed75=_0x4aa27f['replace'](/\{AppCode\}/g,_0x3fc34b)[_0x836a9(0x1fe)](/\{ModelConfigs\}/g,_0x56dcbb)[_0x836a9(0x1fe)](/\{ExampleModelName\}/g,_0x5d2b2f)[_0x836a9(0x1fe)](/\{ApiFileName\}/g,_0x520d50||_0x836a9(0x204))[_0x836a9(0x1fe)](/\{ConfigName\}/g,_0x466107||_0x836a9(0x1cc))[_0x836a9(0x1fe)](/\{ClientConfigParam\}/g,_0x312f4e||'')[_0x836a9(0x1fe)](/\{VarPrefix\}/g,_0x105e7c||_0x836a9(0x1c7))[_0x836a9(0x1fe)](/\{CreatedAt\}/g,_0x38c22a);return _0x48ed75;}static async[a238_0x4114f3(0x1e2)](_0x2e6051,_0x29882f,_0x40585b,_0x33f1a7,_0x203ee1=!![]){const _0x45a978=a238_0x4114f3,_0x3c001b=Date[_0x45a978(0x207)]();try{_0x203ee1&&logger['info']('template',_0x45a978(0x1ff),{'templatePath':_0x2e6051,'targetPath':_0x29882f,'pageName':_0x40585b,'templateName':_0x33f1a7});await a238_0x57a2de[_0x45a978(0x1fb)][_0x45a978(0x1e0)](_0x29882f,{'recursive':!![]}),await this[_0x45a978(0x1e4)](_0x2e6051,_0x29882f,_0x40585b,_0x33f1a7);if(_0x203ee1){const _0x4d12bd=Date[_0x45a978(0x207)]()-_0x3c001b;logger[_0x45a978(0x20c)](_0x45a978(0x1d2),_0x45a978(0x1fc),_0x4d12bd,{'pageName':_0x40585b,'templateName':_0x33f1a7});}}catch(_0x403ebd){if(_0x203ee1){const _0x1c7dee=Date[_0x45a978(0x207)]()-_0x3c001b;logger[_0x45a978(0x202)](_0x45a978(0x1d2),_0x45a978(0x1e9),{'templatePath':_0x2e6051,'targetPath':_0x29882f,'pageName':_0x40585b,'templateName':_0x33f1a7,'error':_0x403ebd instanceof Error?_0x403ebd[_0x45a978(0x1e3)]:String(_0x403ebd),'duration':_0x1c7dee});}throw _0x403ebd;}}static async[a238_0x4114f3(0x1e4)](_0x37b839,_0x545432,_0x346f40,_0x548519){const _0x4cf5b7=a238_0x4114f3,_0x22d66a=await a238_0x57a2de[_0x4cf5b7(0x1fb)]['readdir'](_0x37b839,{'withFileTypes':!![]});for(const _0x361fd8 of _0x22d66a){const _0x1b0715=a238_0x8bb55f[_0x4cf5b7(0x20d)](_0x37b839,_0x361fd8[_0x4cf5b7(0x1c8)]);let _0x4c9299=a238_0x8bb55f[_0x4cf5b7(0x20d)](_0x545432,_0x361fd8[_0x4cf5b7(0x1c8)]);_0x361fd8[_0x4cf5b7(0x1c8)][_0x4cf5b7(0x1f6)](_0x4cf5b7(0x1de))&&(_0x4c9299=a238_0x8bb55f[_0x4cf5b7(0x20d)](_0x545432,_0x361fd8[_0x4cf5b7(0x1c8)][_0x4cf5b7(0x1fe)](/\.tpl$/,'')));if(_0x361fd8[_0x4cf5b7(0x1ed)]())await a238_0x57a2de[_0x4cf5b7(0x1fb)][_0x4cf5b7(0x1e0)](_0x4c9299,{'recursive':!![]}),await this[_0x4cf5b7(0x1e4)](_0x1b0715,_0x4c9299,_0x346f40,_0x548519);else _0x361fd8[_0x4cf5b7(0x1f0)]()&&await this[_0x4cf5b7(0x1fd)](_0x1b0715,_0x4c9299,_0x346f40,_0x548519);}}static async[a238_0x4114f3(0x1fd)](_0x49824b,_0x3dc032,_0x54702d,_0x2e5d10){const _0x17ca00=a238_0x4114f3,_0x3ed91a=a238_0x8bb55f[_0x17ca00(0x205)](_0x49824b)[_0x17ca00(0x1f7)]();_0x49824b[_0x17ca00(0x1f6)](_0x17ca00(0x1de))&&(_0x3dc032=_0x3dc032[_0x17ca00(0x1fe)](/\.tpl$/,''));const _0xab8db6=[_0x17ca00(0x1e6),_0x17ca00(0x1dd),_0x17ca00(0x1d1),_0x17ca00(0x1ec),_0x17ca00(0x1f5),'.md',_0x17ca00(0x1d9),_0x17ca00(0x1eb),_0x17ca00(0x1de)];if(_0xab8db6[_0x17ca00(0x1ef)](_0x3ed91a)||_0x49824b['endsWith']('.tpl')){const _0x540327=await a238_0x57a2de[_0x17ca00(0x1fb)][_0x17ca00(0x1d4)](_0x49824b,_0x17ca00(0x1cb)),_0x36181e=this[_0x17ca00(0x1ee)](_0x540327,_0x54702d,_0x2e5d10);await a238_0x57a2de[_0x17ca00(0x1fb)][_0x17ca00(0x1f9)](_0x3dc032,_0x36181e,_0x17ca00(0x1cb));}else await a238_0x57a2de[_0x17ca00(0x1fb)]['copyFile'](_0x49824b,_0x3dc032);}}
@@ -1 +1 @@
1
- (function(_0x2e8905,_0x200d01){const _0x283279=a239_0xca9d,_0x397506=_0x2e8905();while(!![]){try{const _0x442191=-parseInt(_0x283279(0x130))/0x1*(parseInt(_0x283279(0x118))/0x2)+parseInt(_0x283279(0x139))/0x3*(parseInt(_0x283279(0x117))/0x4)+parseInt(_0x283279(0x11b))/0x5*(parseInt(_0x283279(0x11d))/0x6)+parseInt(_0x283279(0x136))/0x7+-parseInt(_0x283279(0x122))/0x8+-parseInt(_0x283279(0x12b))/0x9*(-parseInt(_0x283279(0x11c))/0xa)+-parseInt(_0x283279(0x12a))/0xb*(-parseInt(_0x283279(0x11a))/0xc);if(_0x442191===_0x200d01)break;else _0x397506['push'](_0x397506['shift']());}catch(_0x3e7f69){_0x397506['push'](_0x397506['shift']());}}}(a239_0x1a4e,0xd9594));import{mkdir,readFile,writeFile}from'node:fs/promises';function a239_0x1a4e(){const _0x13fa2a=['toLowerCase','7858081jGCTHe','update-check.json','parse','2199333BVLeOp','gte','4MIvXbV','3293078VjiBgE','object','111288cgrzBe','305UiOWTQ','11870UGgmEo','39318yfAcmX','utf8','trim','true','yes','13336704wxjFZq','https://www.npmjs.com/package/','/v/','rabetbase-cli','latest','now','number','valid','1441YrULYD','5562mVUGYf','stableVersion','stringify','.cache','\x20update','1hxhrxB','lastNotifiedVersion','checkedAt','lastNotifiedAt','\x20available,\x20current\x20'];a239_0x1a4e=function(){return _0x13fa2a;};return a239_0x1a4e();}import{homedir}from'node:os';function a239_0xca9d(_0x420214,_0x48ca9f){_0x420214=_0x420214-0x116;const _0x1a4e89=a239_0x1a4e();let _0xca9d21=_0x1a4e89[_0x420214];return _0xca9d21;}import{dirname,join}from'node:path';import a239_0x126806 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 _0x5bae9d=a239_0xca9d,_0x4fe93f=process.env.RABETBASE_NO_UPDATE_NOTICE?.['trim']()[_0x5bae9d(0x135)]();return _0x4fe93f==='1'||_0x4fe93f===_0x5bae9d(0x120)||_0x4fe93f===_0x5bae9d(0x121);}function cacheRoot(){const _0x5c0661=a239_0xca9d;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x5c0661(0x12e));}export function getUpdateNoticeCachePath(){const _0x170907=a239_0xca9d;return join(cacheRoot(),_0x170907(0x125),_0x170907(0x137));}async function readUpdateNoticeCache(){const _0x56a78=a239_0xca9d;try{const _0x5bab52=await readFile(getUpdateNoticeCachePath(),_0x56a78(0x11e)),_0x1779cd=JSON[_0x56a78(0x138)](_0x5bab52);if(!_0x1779cd||typeof _0x1779cd!==_0x56a78(0x119))return{};return _0x1779cd;}catch{return{};}}async function writeUpdateNoticeCache(_0x22a3e3){const _0x2f5187=a239_0xca9d;try{const _0x6847c2=getUpdateNoticeCachePath();await mkdir(dirname(_0x6847c2),{'recursive':!![]}),await writeFile(_0x6847c2,JSON[_0x2f5187(0x12d)](_0x22a3e3,null,0x2)+'\x0a',_0x2f5187(0x11e));}catch{}}function isFreshCheck(_0x49afea,_0x2ec20a){const _0x485417=a239_0xca9d;return typeof _0x49afea[_0x485417(0x132)]===_0x485417(0x128)&&_0x2ec20a-_0x49afea[_0x485417(0x132)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0xc0c604,_0x120a37,_0x50f1bf){const _0x256277=a239_0xca9d;return _0xc0c604[_0x256277(0x131)]===_0x120a37&&typeof _0xc0c604[_0x256277(0x133)]===_0x256277(0x128)&&_0x50f1bf-_0xc0c604['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x45b0fb){const _0x54c1dc=a239_0xca9d;return _0x54c1dc(0x123)+NPM_PACKAGE_NAME+_0x54c1dc(0x124)+_0x45b0fb;}export async function resolveLatestUpdateNotice(){const _0x4682bf=a239_0xca9d;if(isUpdateNoticeDisabled())return null;try{const _0x24b895=Date[_0x4682bf(0x127)](),_0x1490fc=getCliVersion(),_0x47e650=await readUpdateNoticeCache();let _0x342f60=isFreshCheck(_0x47e650,_0x24b895)?_0x47e650[_0x4682bf(0x126)]?.[_0x4682bf(0x11f)]():undefined;if(!_0x342f60&&!isFreshCheck(_0x47e650,_0x24b895)){const _0x2cba4b=await getCliVersionPolicy();_0x342f60=_0x2cba4b?.[_0x4682bf(0x12c)]?.['trim']()||undefined,await writeUpdateNoticeCache({..._0x47e650,'checkedAt':_0x24b895,'latest':_0x342f60,'failed':!_0x342f60});}if(!_0x342f60||!a239_0x126806[_0x4682bf(0x129)](_0x1490fc)||!a239_0x126806[_0x4682bf(0x129)](_0x342f60))return null;if(a239_0x126806[_0x4682bf(0x116)](_0x1490fc,_0x342f60))return null;if(isRecentlyNotified(_0x47e650,_0x342f60,_0x24b895))return null;const _0x555162=CLI_BIN_NAME+_0x4682bf(0x12f);return await writeUpdateNoticeCache({..._0x47e650,'checkedAt':isFreshCheck(_0x47e650,_0x24b895)?_0x47e650['checkedAt']:_0x24b895,'latest':_0x342f60,'failed':![],'lastNotifiedVersion':_0x342f60,'lastNotifiedAt':_0x24b895}),{'command':_0x555162,'current':_0x1490fc,'latest':_0x342f60,'url':buildNpmVersionUrl(_0x342f60),'message':CLI_BIN_NAME+'\x20'+_0x342f60+_0x4682bf(0x134)+_0x1490fc+',\x20run:\x20'+_0x555162};}catch{return null;}}
1
+ (function(_0x648f3c,_0x283b28){const _0xb80452=a239_0x3e4e,_0x336ef3=_0x648f3c();while(!![]){try{const _0x32ee2a=parseInt(_0xb80452(0xf2))/0x1*(parseInt(_0xb80452(0xea))/0x2)+parseInt(_0xb80452(0xdf))/0x3*(-parseInt(_0xb80452(0xf4))/0x4)+parseInt(_0xb80452(0xfa))/0x5+-parseInt(_0xb80452(0xe3))/0x6+-parseInt(_0xb80452(0xee))/0x7*(-parseInt(_0xb80452(0xf3))/0x8)+-parseInt(_0xb80452(0xe0))/0x9*(-parseInt(_0xb80452(0xe1))/0xa)+-parseInt(_0xb80452(0xf1))/0xb;if(_0x32ee2a===_0x283b28)break;else _0x336ef3['push'](_0x336ef3['shift']());}catch(_0x2ee02c){_0x336ef3['push'](_0x336ef3['shift']());}}}(a239_0x77aa,0x5ead4));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';function a239_0x77aa(){const _0x2b47f9=['2773440KosiXV','toLowerCase','.cache','true','/v/','checkedAt','trim','72TzYIon','object','valid','\x20update','5097407CuKteM','utf8',',\x20run:\x20','2601610BoDdAB','3919InQSdA','8nJMTKB','4dNfjCP','parse','now','\x20available,\x20current\x20','https://www.npmjs.com/package/','gte','2341985cXhfga','lastNotifiedVersion','yes','stableVersion','lastNotifiedAt','number','2068533JdSPcs','4725SGRkfM','8350eYmxzf','rabetbase-cli'];a239_0x77aa=function(){return _0x2b47f9;};return a239_0x77aa();}import a239_0x4f8bca 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 _0x3119d9=a239_0x3e4e,_0x7c45ad=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x3119d9(0xe9)]()[_0x3119d9(0xe4)]();return _0x7c45ad==='1'||_0x7c45ad===_0x3119d9(0xe6)||_0x7c45ad===_0x3119d9(0xfc);}function cacheRoot(){const _0xd8bc1c=a239_0x3e4e;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0xd8bc1c(0xe5));}export function getUpdateNoticeCachePath(){const _0x3f9fa8=a239_0x3e4e;return join(cacheRoot(),_0x3f9fa8(0xe2),'update-check.json');}async function readUpdateNoticeCache(){const _0xad5e2e=a239_0x3e4e;try{const _0x366804=await readFile(getUpdateNoticeCachePath(),_0xad5e2e(0xef)),_0xbe122e=JSON[_0xad5e2e(0xf5)](_0x366804);if(!_0xbe122e||typeof _0xbe122e!==_0xad5e2e(0xeb))return{};return _0xbe122e;}catch{return{};}}async function writeUpdateNoticeCache(_0x33f99a){try{const _0x570c8e=getUpdateNoticeCachePath();await mkdir(dirname(_0x570c8e),{'recursive':!![]}),await writeFile(_0x570c8e,JSON['stringify'](_0x33f99a,null,0x2)+'\x0a','utf8');}catch{}}function a239_0x3e4e(_0x5934d3,_0x52c61f){_0x5934d3=_0x5934d3-0xde;const _0x77aabf=a239_0x77aa();let _0x3e4e90=_0x77aabf[_0x5934d3];return _0x3e4e90;}function isFreshCheck(_0xe4ab38,_0x536526){const _0xc3e160=a239_0x3e4e;return typeof _0xe4ab38[_0xc3e160(0xe8)]==='number'&&_0x536526-_0xe4ab38['checkedAt']<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x3c8015,_0x37f14a,_0x815f8){const _0x488e90=a239_0x3e4e;return _0x3c8015[_0x488e90(0xfb)]===_0x37f14a&&typeof _0x3c8015['lastNotifiedAt']===_0x488e90(0xde)&&_0x815f8-_0x3c8015[_0x488e90(0xfe)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x5b1abf){const _0x590aa6=a239_0x3e4e;return _0x590aa6(0xf8)+NPM_PACKAGE_NAME+_0x590aa6(0xe7)+_0x5b1abf;}export async function resolveLatestUpdateNotice(){const _0x34015a=a239_0x3e4e;if(isUpdateNoticeDisabled())return null;try{const _0x1dc35e=Date[_0x34015a(0xf6)](),_0x5a81bf=getCliVersion(),_0x3be6aa=await readUpdateNoticeCache();let _0x282144=isFreshCheck(_0x3be6aa,_0x1dc35e)?_0x3be6aa['latest']?.[_0x34015a(0xe9)]():undefined;if(!_0x282144&&!isFreshCheck(_0x3be6aa,_0x1dc35e)){const _0x5d1b59=await getCliVersionPolicy();_0x282144=_0x5d1b59?.[_0x34015a(0xfd)]?.[_0x34015a(0xe9)]()||undefined,await writeUpdateNoticeCache({..._0x3be6aa,'checkedAt':_0x1dc35e,'latest':_0x282144,'failed':!_0x282144});}if(!_0x282144||!a239_0x4f8bca[_0x34015a(0xec)](_0x5a81bf)||!a239_0x4f8bca[_0x34015a(0xec)](_0x282144))return null;if(a239_0x4f8bca[_0x34015a(0xf9)](_0x5a81bf,_0x282144))return null;if(isRecentlyNotified(_0x3be6aa,_0x282144,_0x1dc35e))return null;const _0x5089dc=CLI_BIN_NAME+_0x34015a(0xed);return await writeUpdateNoticeCache({..._0x3be6aa,'checkedAt':isFreshCheck(_0x3be6aa,_0x1dc35e)?_0x3be6aa[_0x34015a(0xe8)]:_0x1dc35e,'latest':_0x282144,'failed':![],'lastNotifiedVersion':_0x282144,'lastNotifiedAt':_0x1dc35e}),{'command':_0x5089dc,'current':_0x5a81bf,'latest':_0x282144,'url':buildNpmVersionUrl(_0x282144),'message':CLI_BIN_NAME+'\x20'+_0x282144+_0x34015a(0xf7)+_0x5a81bf+_0x34015a(0xf0)+_0x5089dc};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x11d300,_0x29dea9){var _0x3da6b4=a240_0x1b6d,_0x182019=_0x11d300();while(!![]){try{var _0x55d350=-parseInt(_0x3da6b4(0x17b))/0x1+parseInt(_0x3da6b4(0x17f))/0x2+-parseInt(_0x3da6b4(0x180))/0x3*(-parseInt(_0x3da6b4(0x17d))/0x4)+parseInt(_0x3da6b4(0x179))/0x5+parseInt(_0x3da6b4(0x17e))/0x6+-parseInt(_0x3da6b4(0x17c))/0x7*(parseInt(_0x3da6b4(0x181))/0x8)+-parseInt(_0x3da6b4(0x17a))/0x9;if(_0x55d350===_0x29dea9)break;else _0x182019['push'](_0x182019['shift']());}catch(_0x7dcd19){_0x182019['push'](_0x182019['shift']());}}}(a240_0x2320,0x9a31b));import{VERSION}from'../generated/build-info.js';function a240_0x1b6d(_0x44009e,_0x14087a){_0x44009e=_0x44009e-0x179;var _0x2320de=a240_0x2320();var _0x1b6d4d=_0x2320de[_0x44009e];return _0x1b6d4d;}export function getCliVersion(){return VERSION;}function a240_0x2320(){var _0x5129b8=['1032cwlUss','4871658XAAkIv','1082110RFyFVA','12837fgBVvt','8uNGIqw','5837860AlsuZs','7059258MeszgV','1207940bFTdow','7004697chOvwH'];a240_0x2320=function(){return _0x5129b8;};return a240_0x2320();}
1
+ (function(_0x176ad7,_0x267771){var _0xbf9ab4=a240_0x591f,_0x2d8a59=_0x176ad7();while(!![]){try{var _0x597a70=-parseInt(_0xbf9ab4(0x167))/0x1*(-parseInt(_0xbf9ab4(0x164))/0x2)+-parseInt(_0xbf9ab4(0x16b))/0x3*(-parseInt(_0xbf9ab4(0x169))/0x4)+parseInt(_0xbf9ab4(0x16c))/0x5*(parseInt(_0xbf9ab4(0x16a))/0x6)+-parseInt(_0xbf9ab4(0x165))/0x7*(parseInt(_0xbf9ab4(0x168))/0x8)+parseInt(_0xbf9ab4(0x166))/0x9+-parseInt(_0xbf9ab4(0x162))/0xa+-parseInt(_0xbf9ab4(0x163))/0xb;if(_0x597a70===_0x267771)break;else _0x2d8a59['push'](_0x2d8a59['shift']());}catch(_0x5e45ea){_0x2d8a59['push'](_0x2d8a59['shift']());}}}(a240_0x385e,0x3c25e));function a240_0x591f(_0x336d71,_0x2d6fd2){_0x336d71=_0x336d71-0x162;var _0x385e04=a240_0x385e();var _0x591f62=_0x385e04[_0x336d71];return _0x591f62;}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a240_0x385e(){var _0x456f85=['14zZDJBK','16121eHdStR','416817surUIv','57482vqFYxP','232tuiFEd','1299408KXZbbc','6228WVeCXL','3bcpPPc','445SFRhux','4780580vXtsUT','821810eoheeZ'];a240_0x385e=function(){return _0x456f85;};return a240_0x385e();}
@@ -1 +1 @@
1
- (function(_0x3d21d9,_0x3f6917){var _0x4eb9af=a241_0x2dcb,_0x363320=_0x3d21d9();while(!![]){try{var _0x4eb7d1=-parseInt(_0x4eb9af(0x118))/0x1*(-parseInt(_0x4eb9af(0x113))/0x2)+-parseInt(_0x4eb9af(0x112))/0x3+-parseInt(_0x4eb9af(0x116))/0x4*(-parseInt(_0x4eb9af(0x10f))/0x5)+parseInt(_0x4eb9af(0x115))/0x6*(-parseInt(_0x4eb9af(0x111))/0x7)+parseInt(_0x4eb9af(0x114))/0x8+parseInt(_0x4eb9af(0x117))/0x9+-parseInt(_0x4eb9af(0x110))/0xa;if(_0x4eb7d1===_0x3f6917)break;else _0x363320['push'](_0x363320['shift']());}catch(_0x53aefb){_0x363320['push'](_0x363320['shift']());}}}(a241_0x105d,0x47239));function a241_0x2dcb(_0x467444,_0x2645c5){_0x467444=_0x467444-0x10f;var _0x105d1d=a241_0x105d();var _0x2dcb59=_0x105d1d[_0x467444];return _0x2dcb59;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x56079a,_0x17f334){setActiveCookie(_0x56079a);try{return await _0x17f334();}finally{clearActiveCookie();}}function a241_0x105d(){var _0x23e7c0=['1238cObiqH','3137504koLyZN','3206184LXsIfs','1252oIIzxn','5116293AZHWhQ','497eULPIZ','3715DbKkaN','3019570VxJuss','7oJlxEi','1119483POyYXS'];a241_0x105d=function(){return _0x23e7c0;};return a241_0x105d();}
1
+ function a241_0x100b(_0x245462,_0xb572dc){_0x245462=_0x245462-0x6a;var _0x4495bb=a241_0x4495();var _0x100bcb=_0x4495bb[_0x245462];return _0x100bcb;}function a241_0x4495(){var _0x3b3f1a=['136vdfHNu','21326976hXjdDY','872242GkdQmB','364511DEyblF','4413008TynfyV','308802yIijKv','3490752EsOfkd','242347ziQgDx','5PmDzdZ'];a241_0x4495=function(){return _0x3b3f1a;};return a241_0x4495();}(function(_0x23b5f7,_0x207686){var _0x52baae=a241_0x100b,_0x5b32e9=_0x23b5f7();while(!![]){try{var _0x2e75dd=-parseInt(_0x52baae(0x6a))/0x1+-parseInt(_0x52baae(0x72))/0x2+parseInt(_0x52baae(0x6c))/0x3+parseInt(_0x52baae(0x6b))/0x4*(-parseInt(_0x52baae(0x6f))/0x5)+-parseInt(_0x52baae(0x6d))/0x6+-parseInt(_0x52baae(0x6e))/0x7*(-parseInt(_0x52baae(0x70))/0x8)+parseInt(_0x52baae(0x71))/0x9;if(_0x2e75dd===_0x207686)break;else _0x5b32e9['push'](_0x5b32e9['shift']());}catch(_0x4374fa){_0x5b32e9['push'](_0x5b32e9['shift']());}}}(a241_0x4495,0x8c7f7));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x5b09e5,_0x30dfc9){setActiveCookie(_0x5b09e5);try{return await _0x30dfc9();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- function a242_0x16fc(_0x5d3139,_0x498ff2){_0x5d3139=_0x5d3139-0x155;var _0x44fd1a=a242_0x44fd();var _0x16fc08=_0x44fd1a[_0x5d3139];return _0x16fc08;}(function(_0x41c38a,_0x4b503a){var _0x121a7d=a242_0x16fc,_0xe3c270=_0x41c38a();while(!![]){try{var _0x4b1e0d=-parseInt(_0x121a7d(0x15e))/0x1*(parseInt(_0x121a7d(0x157))/0x2)+parseInt(_0x121a7d(0x155))/0x3+parseInt(_0x121a7d(0x15a))/0x4*(parseInt(_0x121a7d(0x15d))/0x5)+-parseInt(_0x121a7d(0x156))/0x6+parseInt(_0x121a7d(0x160))/0x7*(-parseInt(_0x121a7d(0x159))/0x8)+parseInt(_0x121a7d(0x158))/0x9*(parseInt(_0x121a7d(0x15f))/0xa)+parseInt(_0x121a7d(0x15b))/0xb;if(_0x4b1e0d===_0x4b503a)break;else _0xe3c270['push'](_0xe3c270['shift']());}catch(_0x47d571){_0xe3c270['push'](_0xe3c270['shift']());}}}(a242_0x44fd,0x50de2));function a242_0x44fd(){var _0x4ed868=['stderr','5MfOkoO','8886rHnmIB','2620630EgalCT','35Kcabfz','760659Umwimh','3777204qzwHEb','116XIOBIZ','9zdNgrQ','636904wpcIkc','869468ytCYhs','12553618OMBoZl'];a242_0x44fd=function(){return _0x4ed868;};return a242_0x44fd();}export function writeCliSideChannelLine(_0xe4c138){var _0x36e235=a242_0x16fc;process[_0x36e235(0x15c)]['write'](_0xe4c138+'\x0a');}
1
+ (function(_0x12d6d5,_0x15a776){var _0x16d824=a242_0xdd38,_0xfc06d0=_0x12d6d5();while(!![]){try{var _0x1f05e0=-parseInt(_0x16d824(0xe4))/0x1+parseInt(_0x16d824(0xe5))/0x2+parseInt(_0x16d824(0xee))/0x3*(parseInt(_0x16d824(0xec))/0x4)+parseInt(_0x16d824(0xf0))/0x5*(parseInt(_0x16d824(0xe9))/0x6)+parseInt(_0x16d824(0xe7))/0x7+-parseInt(_0x16d824(0xea))/0x8*(parseInt(_0x16d824(0xed))/0x9)+parseInt(_0x16d824(0xef))/0xa*(-parseInt(_0x16d824(0xe6))/0xb);if(_0x1f05e0===_0x15a776)break;else _0xfc06d0['push'](_0xfc06d0['shift']());}catch(_0x5e2b28){_0xfc06d0['push'](_0xfc06d0['shift']());}}}(a242_0x37c2,0x1c4a0));function a242_0x37c2(){var _0x34364e=['90qoPKui','70wXmnpU','75fEJTnQ','51490kjiIxz','428554NoVJmS','578391KsXBLH','127428gyDBnZ','write','66558cDVpHd','8jjEyOJ','stderr','24720XVUdyf','439623tUTgJH'];a242_0x37c2=function(){return _0x34364e;};return a242_0x37c2();}function a242_0xdd38(_0x15ffd2,_0x5445f0){_0x15ffd2=_0x15ffd2-0xe4;var _0x37c28e=a242_0x37c2();var _0xdd38f6=_0x37c28e[_0x15ffd2];return _0xdd38f6;}export function writeCliSideChannelLine(_0x2bd512){var _0x207b07=a242_0xdd38;process[_0x207b07(0xeb)][_0x207b07(0xe8)](_0x2bd512+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.4",
3
+ "version": "2.3.5-beta.1",
4
4
  "description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, BFF, database connections, skills, and AI agent workflows.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "keywords": [