@lovrabet/rabetbase-cli 2.3.9-beta.2 → 2.3.9-beta.3

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 (258) 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/async-task.js +1 -0
  48. package/lib/commands/common/dry-run.js +1 -1
  49. package/lib/commands/common/flags.js +1 -1
  50. package/lib/commands/common/local-file.js +1 -1
  51. package/lib/commands/common/validate.js +1 -1
  52. package/lib/commands/config/get.js +1 -1
  53. package/lib/commands/config/index.js +1 -1
  54. package/lib/commands/config/list.js +1 -1
  55. package/lib/commands/config/set.js +1 -1
  56. package/lib/commands/config/shared.js +1 -1
  57. package/lib/commands/data/filter.js +1 -1
  58. package/lib/commands/data/getOne.js +1 -1
  59. package/lib/commands/data/index.js +1 -1
  60. package/lib/commands/data/shared.js +1 -1
  61. package/lib/commands/dataset/business-group-update.js +1 -1
  62. package/lib/commands/dataset/capability.js +1 -1
  63. package/lib/commands/dataset/delete.js +1 -1
  64. package/lib/commands/dataset/detail.js +1 -1
  65. package/lib/commands/dataset/extend-update.js +1 -1
  66. package/lib/commands/dataset/field-update.js +1 -1
  67. package/lib/commands/dataset/generate.js +1 -1
  68. package/lib/commands/dataset/index.js +1 -1
  69. package/lib/commands/dataset/list.js +1 -1
  70. package/lib/commands/dataset/operations.js +1 -1
  71. package/lib/commands/dataset/relation-audit.js +1 -1
  72. package/lib/commands/dataset/relation-create.js +1 -1
  73. package/lib/commands/dataset/relation-delete.js +1 -1
  74. package/lib/commands/dataset/relation-shared.js +1 -1
  75. package/lib/commands/dataset/relation-update.js +1 -1
  76. package/lib/commands/dataset/relations.js +1 -1
  77. package/lib/commands/dataset/rename.js +1 -1
  78. package/lib/commands/dataset/restore.js +1 -1
  79. package/lib/commands/db/analysis-batching.js +1 -1
  80. package/lib/commands/db/analyze-batch-plan.js +1 -1
  81. package/lib/commands/db/analyze-cancel.js +1 -1
  82. package/lib/commands/db/analyze-start.js +1 -1
  83. package/lib/commands/db/analyze-status.js +1 -1
  84. package/lib/commands/db/create.js +1 -1
  85. package/lib/commands/db/delete.js +1 -1
  86. package/lib/commands/db/detail.js +1 -1
  87. package/lib/commands/db/diff.js +1 -1
  88. package/lib/commands/db/index.js +1 -1
  89. package/lib/commands/db/list.js +1 -1
  90. package/lib/commands/db/shared.js +1 -1
  91. package/lib/commands/db/tables.js +1 -1
  92. package/lib/commands/db/test.js +1 -1
  93. package/lib/commands/db/update.js +1 -1
  94. package/lib/commands/doctor.js +1 -1
  95. package/lib/commands/file/index.js +1 -1
  96. package/lib/commands/init/index.js +1 -1
  97. package/lib/commands/issue/index.js +1 -1
  98. package/lib/commands/issue/nudge.js +1 -1
  99. package/lib/commands/issue/report.js +1 -1
  100. package/lib/commands/issue/shared.js +1 -1
  101. package/lib/commands/logs/index.js +1 -1
  102. package/lib/commands/menu/delete.js +1 -0
  103. package/lib/commands/menu/group-create.js +1 -0
  104. package/lib/commands/menu/group-update.js +1 -0
  105. package/lib/commands/menu/index.js +1 -1
  106. package/lib/commands/menu/list.js +1 -1
  107. package/lib/commands/menu/regroup-start.js +1 -0
  108. package/lib/commands/menu/shared/compare-table.js +1 -1
  109. package/lib/commands/menu/shared/delete-plan.js +1 -0
  110. package/lib/commands/menu/shared/facts.js +1 -0
  111. package/lib/commands/menu/shared/index.js +1 -1
  112. package/lib/commands/menu/shared/inquirer.js +1 -1
  113. package/lib/commands/menu/shared/local-pages.js +1 -1
  114. package/lib/commands/menu/shared/logic.js +1 -1
  115. package/lib/commands/menu/shared/mutations.js +1 -0
  116. package/lib/commands/menu/shared/service.js +1 -1
  117. package/lib/commands/menu/shared/sync-core.js +1 -1
  118. package/lib/commands/menu/shared/update-core.js +1 -1
  119. package/lib/commands/menu/shared/valid-url.js +1 -1
  120. package/lib/commands/menu/sync.js +1 -1
  121. package/lib/commands/menu/update.js +1 -1
  122. package/lib/commands/notification/config-list.js +1 -1
  123. package/lib/commands/notification/index.js +1 -1
  124. package/lib/commands/page/generate-start.js +1 -1
  125. package/lib/commands/page/generate-status.js +1 -1
  126. package/lib/commands/page/index.js +1 -1
  127. package/lib/commands/page/pull.js +1 -1
  128. package/lib/commands/page/push.js +1 -1
  129. package/lib/commands/page/relation-audit.js +1 -1
  130. package/lib/commands/page/shared.js +1 -1
  131. package/lib/commands/page/standard-page-status.js +1 -1
  132. package/lib/commands/page/sync.js +1 -1
  133. package/lib/commands/permit/index.js +1 -1
  134. package/lib/commands/permit/page-get.js +1 -1
  135. package/lib/commands/permit/page-set.js +1 -1
  136. package/lib/commands/permit/role-apis-set.js +1 -1
  137. package/lib/commands/permit/role-menus-set.js +1 -1
  138. package/lib/commands/permit/role-menus.js +1 -1
  139. package/lib/commands/permit/shared.js +1 -1
  140. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  141. package/lib/commands/project/create/format-elapsed.js +1 -1
  142. package/lib/commands/project/create/main.js +1 -1
  143. package/lib/commands/project/create/non-interactive.js +1 -1
  144. package/lib/commands/project/create/project-template-path.js +1 -1
  145. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  146. package/lib/commands/project/create/use-format-code.js +1 -1
  147. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  148. package/lib/commands/project/index.js +1 -1
  149. package/lib/commands/project/init.js +1 -1
  150. package/lib/commands/project/upgrade.js +1 -1
  151. package/lib/commands/registry.js +1 -1
  152. package/lib/commands/role/create.js +1 -1
  153. package/lib/commands/role/delete.js +1 -1
  154. package/lib/commands/role/detail.js +1 -1
  155. package/lib/commands/role/index.js +1 -1
  156. package/lib/commands/role/list.js +1 -1
  157. package/lib/commands/role/shared.js +1 -1
  158. package/lib/commands/role/update.js +1 -1
  159. package/lib/commands/role/user-add.js +1 -1
  160. package/lib/commands/role/user-remove.js +1 -1
  161. package/lib/commands/role/user-resolve.js +1 -1
  162. package/lib/commands/run/index.js +1 -1
  163. package/lib/commands/schema.js +1 -1
  164. package/lib/commands/sql/create.js +1 -1
  165. package/lib/commands/sql/delete.js +1 -1
  166. package/lib/commands/sql/detail.js +1 -1
  167. package/lib/commands/sql/exec.js +1 -1
  168. package/lib/commands/sql/index.js +1 -1
  169. package/lib/commands/sql/list.js +1 -1
  170. package/lib/commands/sql/pull.js +1 -1
  171. package/lib/commands/sql/push.js +1 -1
  172. package/lib/commands/sql/save.js +1 -1
  173. package/lib/commands/sql/shared.js +1 -1
  174. package/lib/commands/sql/status.js +1 -1
  175. package/lib/commands/sql/validate.js +1 -1
  176. package/lib/commands/task/index.js +1 -0
  177. package/lib/commands/task/status.js +1 -0
  178. package/lib/commands/workspace/add.js +1 -1
  179. package/lib/commands/workspace/index.js +1 -1
  180. package/lib/commands/workspace/remove.js +1 -1
  181. package/lib/config/schema.js +1 -1
  182. package/lib/constant/cdn.js +1 -1
  183. package/lib/constant/cli.js +1 -1
  184. package/lib/constant/defaults.js +1 -1
  185. package/lib/constant/domain.js +1 -1
  186. package/lib/constant/env.js +1 -1
  187. package/lib/constant/output.js +1 -1
  188. package/lib/constant/paths.js +1 -1
  189. package/lib/constant/risk.js +1 -1
  190. package/lib/context/app-resolver.js +1 -1
  191. package/lib/context/auth-resolver.js +1 -1
  192. package/lib/context/config-loader.js +1 -1
  193. package/lib/context.js +1 -1
  194. package/lib/core/alias-resolver.js +1 -1
  195. package/lib/core/api-client.js +1 -1
  196. package/lib/core/bff/config.js +1 -1
  197. package/lib/core/bff/file-system.js +1 -1
  198. package/lib/core/bff/hash.js +1 -1
  199. package/lib/core/bff/lock.js +1 -1
  200. package/lib/core/bff/utils.js +1 -1
  201. package/lib/core/db-resolver.js +1 -1
  202. package/lib/core/page/file-system.js +1 -1
  203. package/lib/core/page/hash.js +1 -1
  204. package/lib/core/page/lock.js +1 -1
  205. package/lib/core/sql-index-auditor.js +1 -0
  206. package/lib/core/sql-sync/config.js +1 -1
  207. package/lib/core/sql-sync/file-system.js +1 -1
  208. package/lib/core/sql-sync/hash.js +1 -1
  209. package/lib/core/sql-sync/lock.js +1 -1
  210. package/lib/core/sql-sync/utils.js +1 -1
  211. package/lib/core/sql-validator.js +1 -1
  212. package/lib/errors.js +1 -1
  213. package/lib/framework/build-all-flags.js +1 -1
  214. package/lib/framework/error-output.js +1 -0
  215. package/lib/framework/explicit-yes.js +1 -0
  216. package/lib/framework/flags.js +1 -1
  217. package/lib/framework/help.js +1 -1
  218. package/lib/framework/index.js +1 -1
  219. package/lib/framework/output.js +1 -1
  220. package/lib/framework/response.js +1 -1
  221. package/lib/framework/runner-alias.js +1 -1
  222. package/lib/framework/runner.js +1 -1
  223. package/lib/framework/schema-export.js +1 -1
  224. package/lib/framework/types.js +1 -1
  225. package/lib/generated/build-info.js +1 -1
  226. package/lib/help.js +1 -1
  227. package/lib/skills/main.js +1 -1
  228. package/lib/skills/npx-skills-add.js +1 -1
  229. package/lib/telemetry/cli-command-trace.js +1 -1
  230. package/lib/telemetry/cli-help-trace.js +1 -1
  231. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  232. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  233. package/lib/telemetry/send-cli-trace-log.js +1 -1
  234. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  235. package/lib/utils/ai_config.js +1 -1
  236. package/lib/utils/apply-jq-filter.js +1 -1
  237. package/lib/utils/cdn-config.js +1 -1
  238. package/lib/utils/check-sdk-version.js +1 -1
  239. package/lib/utils/cli-version-check.js +1 -1
  240. package/lib/utils/cli-version-policy.js +1 -1
  241. package/lib/utils/config.js +1 -1
  242. package/lib/utils/copy-directory.js +1 -1
  243. package/lib/utils/entity-with-id.js +1 -1
  244. package/lib/utils/file-utils.js +1 -1
  245. package/lib/utils/guides-cdn.js +1 -1
  246. package/lib/utils/http-client.js +1 -1
  247. package/lib/utils/is-non-interactive.js +1 -1
  248. package/lib/utils/logger.js +1 -1
  249. package/lib/utils/params.js +1 -1
  250. package/lib/utils/platform.js +1 -1
  251. package/lib/utils/rules-cdn.js +1 -1
  252. package/lib/utils/sleep.js +1 -1
  253. package/lib/utils/template-replacer.js +1 -1
  254. package/lib/utils/update-notice.js +1 -1
  255. package/lib/utils/version.js +1 -1
  256. package/lib/utils/with-active-cookie.js +1 -1
  257. package/lib/utils/write-cli-side-channel.js +1 -1
  258. package/package.json +1 -1
@@ -1 +1 @@
1
- function a239_0x38f4(_0x2ac243,_0x54d5b0){_0x2ac243=_0x2ac243-0xc1;const _0x4eb59c=a239_0x4eb5();let _0x38f434=_0x4eb59c[_0x2ac243];return _0x38f434;}const a239_0x1db047=a239_0x38f4;(function(_0x300651,_0x3a5b4b){const _0x4522aa=a239_0x38f4,_0x495aca=_0x300651();while(!![]){try{const _0x461492=parseInt(_0x4522aa(0xf9))/0x1*(parseInt(_0x4522aa(0xc7))/0x2)+parseInt(_0x4522aa(0xd0))/0x3*(parseInt(_0x4522aa(0xca))/0x4)+-parseInt(_0x4522aa(0xc6))/0x5*(-parseInt(_0x4522aa(0xcc))/0x6)+-parseInt(_0x4522aa(0xd3))/0x7*(-parseInt(_0x4522aa(0xd1))/0x8)+-parseInt(_0x4522aa(0xcb))/0x9+-parseInt(_0x4522aa(0xe0))/0xa*(-parseInt(_0x4522aa(0xc9))/0xb)+parseInt(_0x4522aa(0xe6))/0xc;if(_0x461492===_0x3a5b4b)break;else _0x495aca['push'](_0x495aca['shift']());}catch(_0x346d78){_0x495aca['push'](_0x495aca['shift']());}}}(a239_0x4eb5,0xb5441));import a239_0x1daaf0 from'winston';import a239_0x263db3 from'node:fs';function a239_0x4eb5(){const _0x17a43b=['833tmCCZd','parse','transports','red','logTask','message','join','完成:\x20','warn','rawCommand','File','logFilePath','log','370210BMekaO','addColors','split','info','combine','readFileSync','1736892bOSVoX','toISOString','timestamp','winstonLogger','errors','now','dirname','format','filter','printf','开始执行:\x20','details','utf8','Failed\x20to\x20read\x20logs:','currentRawCommand','Failed\x20to\x20clear\x20logs:','green','setRawCommand','setLogPath','515875CtkIDP','readLogs','clearLogs','createLogger','yellow','.lovrabet.log','success','1065MzdDGX','4KAVduz','initWinstonLogger','121ferWGE','25876rFhzDI','11939040OffuUk','5604ysCtdo','mkdirSync','map','error','78EYXqUw','7944eWsjzW','getWinstonInstance'];a239_0x4eb5=function(){return _0x17a43b;};return a239_0x4eb5();}import a239_0x407fe7 from'node:path';class Logger{[a239_0x1db047(0xe9)];[a239_0x1db047(0xde)];[a239_0x1db047(0xf4)]='';constructor(){const _0x50d3a0=a239_0x1db047;this[_0x50d3a0(0xde)]='';}[a239_0x1db047(0xf7)](_0x2137dd){const _0x1223a2=a239_0x1db047;this[_0x1223a2(0xf4)]=_0x2137dd;}[a239_0x1db047(0xc8)](){const _0x451968=a239_0x1db047,_0x2e7f68=a239_0x407fe7[_0x451968(0xec)](this[_0x451968(0xde)]);!a239_0x263db3['existsSync'](_0x2e7f68)&&a239_0x263db3[_0x451968(0xcd)](_0x2e7f68,{'recursive':!![]});const _0x57031a=a239_0x1daaf0[_0x451968(0xed)][_0x451968(0xe4)](a239_0x1daaf0['format'][_0x451968(0xe8)](),a239_0x1daaf0[_0x451968(0xed)][_0x451968(0xea)]({'stack':!![]}),a239_0x1daaf0[_0x451968(0xed)][_0x451968(0xef)](_0x89b999=>{const _0x2e04dc=_0x451968,_0x4a3796={'timestamp':_0x89b999[_0x2e04dc(0xe8)]||new Date()[_0x2e04dc(0xe7)](),'level':_0x89b999['level']||'info','command':_0x89b999['command']||'unknown','rawCommand':_0x89b999[_0x2e04dc(0xdc)]||this[_0x2e04dc(0xf4)]||undefined,'message':_0x89b999['message']||'','duration':_0x89b999['duration']||undefined,'details':_0x89b999[_0x2e04dc(0xf1)]||undefined};return JSON['stringify'](_0x4a3796);}));this[_0x451968(0xe9)]=a239_0x1daaf0[_0x451968(0xc2)]({'level':_0x451968(0xe3),'format':_0x57031a,'transports':[new a239_0x1daaf0[(_0x451968(0xd5))][(_0x451968(0xdd))]({'filename':this[_0x451968(0xde)],'level':_0x451968(0xe3)})],'silent':![]}),a239_0x1daaf0[_0x451968(0xe1)]({'success':_0x451968(0xf6),'error':_0x451968(0xd6),'warn':_0x451968(0xc3),'info':'blue'});}[a239_0x1db047(0xf8)](_0x533657){const _0x5c7fc7=a239_0x1db047;this[_0x5c7fc7(0xde)]=a239_0x407fe7[_0x5c7fc7(0xd9)](_0x533657,_0x5c7fc7(0xc4)),this[_0x5c7fc7(0xe9)]&&this[_0x5c7fc7(0xe9)]['clear'](),this['initWinstonLogger']();}[a239_0x1db047(0xe3)](_0x49fe7e,_0xa92156,_0xf35383){const _0x402209=a239_0x1db047;if(!this['logFilePath']||!this[_0x402209(0xe9)])return;this[_0x402209(0xe9)][_0x402209(0xe3)](_0xa92156,{'command':_0x49fe7e,'details':_0xf35383});}[a239_0x1db047(0xc5)](_0xea60c9,_0x1727a1,_0x219711,_0x3eba16){const _0x2c74fa=a239_0x1db047;if(!this['logFilePath']||!this[_0x2c74fa(0xe9)])return;this[_0x2c74fa(0xe9)][_0x2c74fa(0xdf)](_0x2c74fa(0xe3),_0x1727a1,{'level':_0x2c74fa(0xc5),'command':_0xea60c9,'duration':_0x219711,'details':_0x3eba16});}[a239_0x1db047(0xcf)](_0x3800a1,_0x558549,_0x5d1dc1){const _0x456a34=a239_0x1db047;if(!this[_0x456a34(0xde)]||!this[_0x456a34(0xe9)])return;this['winstonLogger'][_0x456a34(0xcf)](_0x558549,{'command':_0x3800a1,'details':_0x5d1dc1});}[a239_0x1db047(0xdb)](_0x45047e,_0x79647b,_0xa4370e){const _0x3fa134=a239_0x1db047;if(!this[_0x3fa134(0xde)]||!this['winstonLogger'])return;this['winstonLogger'][_0x3fa134(0xdb)](_0x79647b,{'command':_0x45047e,'details':_0xa4370e});}async[a239_0x1db047(0xd7)](_0x3fe7c8,_0x3b041d,_0xcf2f1e){const _0x2e074d=a239_0x1db047,_0x36b869=Date[_0x2e074d(0xeb)]();this[_0x2e074d(0xe3)](_0x3fe7c8,_0x2e074d(0xf0)+_0x3b041d);try{const _0x281b0f=await _0xcf2f1e(),_0x333785=Date[_0x2e074d(0xeb)]()-_0x36b869;return this[_0x2e074d(0xc5)](_0x3fe7c8,_0x2e074d(0xda)+_0x3b041d,_0x333785),_0x281b0f;}catch(_0x571943){const _0x2a32de=Date[_0x2e074d(0xeb)]()-_0x36b869;this[_0x2e074d(0xcf)](_0x3fe7c8,'失败:\x20'+_0x3b041d,{'error':_0x571943 instanceof Error?_0x571943[_0x2e074d(0xd8)]:String(_0x571943),'duration':_0x2a32de});throw _0x571943;}}[a239_0x1db047(0xfa)](){const _0x4f93c7=a239_0x1db047;try{if(!a239_0x263db3['existsSync'](this['logFilePath']))return[];const _0x3ca7ae=a239_0x263db3[_0x4f93c7(0xe5)](this[_0x4f93c7(0xde)],_0x4f93c7(0xf2));return _0x3ca7ae[_0x4f93c7(0xe2)]('\x0a')[_0x4f93c7(0xee)](_0x846437=>_0x846437['trim']())[_0x4f93c7(0xce)](_0xf85f05=>JSON[_0x4f93c7(0xd4)](_0xf85f05));}catch(_0x5c17c3){return console[_0x4f93c7(0xdb)](_0x4f93c7(0xf3),_0x5c17c3),[];}}[a239_0x1db047(0xc1)](){const _0x49a928=a239_0x1db047;try{a239_0x263db3['existsSync'](this[_0x49a928(0xde)])&&a239_0x263db3['writeFileSync'](this['logFilePath'],'',_0x49a928(0xf2));}catch(_0x5d539b){console['warn'](_0x49a928(0xf5),_0x5d539b);}}[a239_0x1db047(0xd2)](){const _0x959df=a239_0x1db047;return this[_0x959df(0xe9)];}}export const logger=new Logger();
1
+ function a252_0x1dfb(_0x504b2e,_0x2a4cf1){_0x504b2e=_0x504b2e-0x69;const _0x2b1942=a252_0x2b19();let _0x1dfb3f=_0x2b1942[_0x504b2e];return _0x1dfb3f;}const a252_0x33f65c=a252_0x1dfb;(function(_0x443440,_0x34dfc7){const _0x352b33=a252_0x1dfb,_0x362baf=_0x443440();while(!![]){try{const _0x4b5635=-parseInt(_0x352b33(0x80))/0x1*(-parseInt(_0x352b33(0x8f))/0x2)+-parseInt(_0x352b33(0x7d))/0x3+parseInt(_0x352b33(0x92))/0x4+parseInt(_0x352b33(0x6c))/0x5*(-parseInt(_0x352b33(0x7e))/0x6)+-parseInt(_0x352b33(0x6e))/0x7+-parseInt(_0x352b33(0x6d))/0x8+parseInt(_0x352b33(0x78))/0x9*(parseInt(_0x352b33(0x89))/0xa);if(_0x4b5635===_0x34dfc7)break;else _0x362baf['push'](_0x362baf['shift']());}catch(_0x8a21fc){_0x362baf['push'](_0x362baf['shift']());}}}(a252_0x2b19,0x8da74));function a252_0x2b19(){const _0xde3686=['utf8','createLogger','readFileSync','getWinstonInstance','filter','开始执行:\x20','join','parse','info','printf','unknown','initWinstonLogger','logTask','134165qOXkrx','7766696ykvCfe','3261566GQEifz','timestamp','失败:\x20','green','.lovrabet.log','success','blue','now','addColors','transports','45396MqjxtE','trim','format','logFilePath','clearLogs','2975676nWLyyz','24LYmicK','error','1vCbsty','errors','currentRawCommand','existsSync','message','command','Failed\x20to\x20read\x20logs:','warn','split','3480LIzezS','winstonLogger','mkdirSync','clear','readLogs','yellow','1875486JaRjnh','writeFileSync','rawCommand','1692624lzNAkc'];a252_0x2b19=function(){return _0xde3686;};return a252_0x2b19();}import a252_0x3be20d from'winston';import a252_0x4c060d from'node:fs';import a252_0x31c859 from'node:path';class Logger{[a252_0x33f65c(0x8a)];[a252_0x33f65c(0x7b)];[a252_0x33f65c(0x82)]='';constructor(){const _0x23de17=a252_0x33f65c;this[_0x23de17(0x7b)]='';}['setRawCommand'](_0x111995){const _0x5d882a=a252_0x33f65c;this[_0x5d882a(0x82)]=_0x111995;}['initWinstonLogger'](){const _0x57c3a5=a252_0x33f65c,_0x436624=a252_0x31c859['dirname'](this[_0x57c3a5(0x7b)]);!a252_0x4c060d[_0x57c3a5(0x83)](_0x436624)&&a252_0x4c060d[_0x57c3a5(0x8b)](_0x436624,{'recursive':!![]});const _0x3cfa27=a252_0x3be20d[_0x57c3a5(0x7a)]['combine'](a252_0x3be20d[_0x57c3a5(0x7a)][_0x57c3a5(0x6f)](),a252_0x3be20d['format'][_0x57c3a5(0x81)]({'stack':!![]}),a252_0x3be20d[_0x57c3a5(0x7a)][_0x57c3a5(0x9c)](_0x48d211=>{const _0x1f064b=_0x57c3a5,_0x42d21a={'timestamp':_0x48d211['timestamp']||new Date()['toISOString'](),'level':_0x48d211['level']||_0x1f064b(0x9b),'command':_0x48d211[_0x1f064b(0x85)]||_0x1f064b(0x69),'rawCommand':_0x48d211[_0x1f064b(0x91)]||this[_0x1f064b(0x82)]||undefined,'message':_0x48d211['message']||'','duration':_0x48d211['duration']||undefined,'details':_0x48d211['details']||undefined};return JSON['stringify'](_0x42d21a);}));this[_0x57c3a5(0x8a)]=a252_0x3be20d[_0x57c3a5(0x94)]({'level':_0x57c3a5(0x9b),'format':_0x3cfa27,'transports':[new a252_0x3be20d[(_0x57c3a5(0x77))]['File']({'filename':this[_0x57c3a5(0x7b)],'level':_0x57c3a5(0x9b)})],'silent':![]}),a252_0x3be20d[_0x57c3a5(0x76)]({'success':_0x57c3a5(0x71),'error':'red','warn':_0x57c3a5(0x8e),'info':_0x57c3a5(0x74)});}['setLogPath'](_0x950e5e){const _0x14f073=a252_0x33f65c;this[_0x14f073(0x7b)]=a252_0x31c859[_0x14f073(0x99)](_0x950e5e,_0x14f073(0x72)),this[_0x14f073(0x8a)]&&this[_0x14f073(0x8a)][_0x14f073(0x8c)](),this[_0x14f073(0x6a)]();}[a252_0x33f65c(0x9b)](_0x190cb0,_0x1e6460,_0x168804){const _0x18fc1a=a252_0x33f65c;if(!this[_0x18fc1a(0x7b)]||!this[_0x18fc1a(0x8a)])return;this[_0x18fc1a(0x8a)][_0x18fc1a(0x9b)](_0x1e6460,{'command':_0x190cb0,'details':_0x168804});}['success'](_0x46e140,_0x3c5576,_0x3569b3,_0x47ea81){const _0x236e1f=a252_0x33f65c;if(!this[_0x236e1f(0x7b)]||!this[_0x236e1f(0x8a)])return;this[_0x236e1f(0x8a)]['log'](_0x236e1f(0x9b),_0x3c5576,{'level':_0x236e1f(0x73),'command':_0x46e140,'duration':_0x3569b3,'details':_0x47ea81});}[a252_0x33f65c(0x7f)](_0x556447,_0xe1bd60,_0x2ef699){const _0x323fc1=a252_0x33f65c;if(!this[_0x323fc1(0x7b)]||!this['winstonLogger'])return;this['winstonLogger']['error'](_0xe1bd60,{'command':_0x556447,'details':_0x2ef699});}[a252_0x33f65c(0x87)](_0xdcfd88,_0x1167de,_0x32ccf5){const _0x2306a8=a252_0x33f65c;if(!this[_0x2306a8(0x7b)]||!this[_0x2306a8(0x8a)])return;this[_0x2306a8(0x8a)][_0x2306a8(0x87)](_0x1167de,{'command':_0xdcfd88,'details':_0x32ccf5});}async[a252_0x33f65c(0x6b)](_0x224e95,_0x23cd9c,_0x495541){const _0x406eb9=a252_0x33f65c,_0x350d73=Date[_0x406eb9(0x75)]();this[_0x406eb9(0x9b)](_0x224e95,_0x406eb9(0x98)+_0x23cd9c);try{const _0x50fedb=await _0x495541(),_0x52c5a3=Date[_0x406eb9(0x75)]()-_0x350d73;return this[_0x406eb9(0x73)](_0x224e95,'完成:\x20'+_0x23cd9c,_0x52c5a3),_0x50fedb;}catch(_0x576c5f){const _0x4fa587=Date[_0x406eb9(0x75)]()-_0x350d73;this[_0x406eb9(0x7f)](_0x224e95,_0x406eb9(0x70)+_0x23cd9c,{'error':_0x576c5f instanceof Error?_0x576c5f[_0x406eb9(0x84)]:String(_0x576c5f),'duration':_0x4fa587});throw _0x576c5f;}}[a252_0x33f65c(0x8d)](){const _0x487d28=a252_0x33f65c;try{if(!a252_0x4c060d[_0x487d28(0x83)](this['logFilePath']))return[];const _0xa73064=a252_0x4c060d[_0x487d28(0x95)](this['logFilePath'],_0x487d28(0x93));return _0xa73064[_0x487d28(0x88)]('\x0a')[_0x487d28(0x97)](_0x2b80c9=>_0x2b80c9[_0x487d28(0x79)]())['map'](_0x2c1a46=>JSON[_0x487d28(0x9a)](_0x2c1a46));}catch(_0x218c8f){return console['warn'](_0x487d28(0x86),_0x218c8f),[];}}[a252_0x33f65c(0x7c)](){const _0x2deed6=a252_0x33f65c;try{a252_0x4c060d['existsSync'](this[_0x2deed6(0x7b)])&&a252_0x4c060d[_0x2deed6(0x90)](this['logFilePath'],'',_0x2deed6(0x93));}catch(_0x15daa9){console[_0x2deed6(0x87)]('Failed\x20to\x20clear\x20logs:',_0x15daa9);}}[a252_0x33f65c(0x96)](){const _0x4f5d20=a252_0x33f65c;return this[_0x4f5d20(0x8a)];}}export const logger=new Logger();
@@ -1 +1 @@
1
- (function(_0xd3c2d8,_0x2eb880){const _0x195b4e=a240_0x5b74,_0x52e82b=_0xd3c2d8();while(!![]){try{const _0x3430ee=parseInt(_0x195b4e(0x191))/0x1+parseInt(_0x195b4e(0x190))/0x2*(-parseInt(_0x195b4e(0x18b))/0x3)+parseInt(_0x195b4e(0x185))/0x4*(parseInt(_0x195b4e(0x184))/0x5)+-parseInt(_0x195b4e(0x18f))/0x6+parseInt(_0x195b4e(0x188))/0x7+-parseInt(_0x195b4e(0x189))/0x8*(-parseInt(_0x195b4e(0x18e))/0x9)+parseInt(_0x195b4e(0x18d))/0xa*(-parseInt(_0x195b4e(0x187))/0xb);if(_0x3430ee===_0x2eb880)break;else _0x52e82b['push'](_0x52e82b['shift']());}catch(_0x3678f9){_0x52e82b['push'](_0x52e82b['shift']());}}}(a240_0x191c,0xbd10a));function a240_0x5b74(_0x4755a2,_0x5c09ac){_0x4755a2=_0x4755a2-0x184;const _0x191cea=a240_0x191c();let _0x5b74ad=_0x191cea[_0x4755a2];return _0x5b74ad;}function a240_0x191c(){const _0xb19b3d=['416612ZlnTbY','--params\x20must\x20be\x20a\x20JSON\x20object','535kaSwzz','24356XxdnJp','object','535359UEpHgA','9440144gAIBEv','6000096kFYqBg','parse','39pssFMf','Invalid\x20JSON\x20for\x20--params:\x20','290XoByBZ','18Ikxiiu','8294850XyQMkT','53610mxHtiE'];a240_0x191c=function(){return _0xb19b3d;};return a240_0x191c();}import{CliErrors}from'../errors.js';export function parseJsonParams(_0x276f56){const _0x400f60=a240_0x5b74;if(!_0x276f56)return undefined;let _0xa64f71;try{_0xa64f71=JSON[_0x400f60(0x18a)](_0x276f56);}catch{throw CliErrors['validation'](_0x400f60(0x18c)+_0x276f56);}if(!_0xa64f71||typeof _0xa64f71!==_0x400f60(0x186)||Array['isArray'](_0xa64f71))throw CliErrors['validation'](_0x400f60(0x192),'Example:\x20--params\x20\x27{\x22id\x22:123}\x27');return _0xa64f71;}
1
+ function a253_0x57d6(_0x2d907b,_0x3c3ebe){_0x2d907b=_0x2d907b-0x184;const _0x26f81d=a253_0x26f8();let _0x57d68e=_0x26f81d[_0x2d907b];return _0x57d68e;}function a253_0x26f8(){const _0x2b3981=['2812455AwhjNT','167741zYKMkC','15148980keMXXA','1212308EiLCXN','2904756xPcBcZ','Invalid\x20JSON\x20for\x20--params:\x20','isArray','parse','1DeHhtf','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','2350017dVTmSE','object','3395620ijjbpA','validation','64bykjnC'];a253_0x26f8=function(){return _0x2b3981;};return a253_0x26f8();}(function(_0xbe764b,_0x9f8b22){const _0x5b6b75=a253_0x57d6,_0x4692e6=_0xbe764b();while(!![]){try{const _0x1fadee=parseInt(_0x5b6b75(0x18e))/0x1*(parseInt(_0x5b6b75(0x189))/0x2)+parseInt(_0x5b6b75(0x190))/0x3+parseInt(_0x5b6b75(0x192))/0x4+parseInt(_0x5b6b75(0x186))/0x5+-parseInt(_0x5b6b75(0x18a))/0x6+-parseInt(_0x5b6b75(0x187))/0x7*(parseInt(_0x5b6b75(0x185))/0x8)+-parseInt(_0x5b6b75(0x188))/0x9;if(_0x1fadee===_0x9f8b22)break;else _0x4692e6['push'](_0x4692e6['shift']());}catch(_0x5e5022){_0x4692e6['push'](_0x4692e6['shift']());}}}(a253_0x26f8,0x6bdef));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x4831e1){const _0x42d8bf=a253_0x57d6;if(!_0x4831e1)return undefined;let _0x16d6ad;try{_0x16d6ad=JSON[_0x42d8bf(0x18d)](_0x4831e1);}catch{throw CliErrors['validation'](_0x42d8bf(0x18b)+_0x4831e1);}if(!_0x16d6ad||typeof _0x16d6ad!==_0x42d8bf(0x191)||Array[_0x42d8bf(0x18c)](_0x16d6ad))throw CliErrors[_0x42d8bf(0x184)]('--params\x20must\x20be\x20a\x20JSON\x20object',_0x42d8bf(0x18f));return _0x16d6ad;}
@@ -1 +1 @@
1
- const a241_0xa95c70=a241_0x3297;function a241_0x79b0(){const _0x3cf567=['2966046NCoulN','280356QrAQSC','8mwZJdl','5275640lRjgVT','win32','5OapfZL','2JvWHqz','22gUjceU','7nSqmmv','246628Biioxv','2838285FJImrp','647272wBLpQj','6303WQmwdk'];a241_0x79b0=function(){return _0x3cf567;};return a241_0x79b0();}function a241_0x3297(_0x2f0df6,_0x49a90d){_0x2f0df6=_0x2f0df6-0x1bc;const _0x79b0c4=a241_0x79b0();let _0x3297f8=_0x79b0c4[_0x2f0df6];return _0x3297f8;}(function(_0x548dbc,_0x195eb7){const _0x2ce6e3=a241_0x3297,_0x3cd4b5=_0x548dbc();while(!![]){try{const _0x5b1b45=-parseInt(_0x2ce6e3(0x1c6))/0x1*(parseInt(_0x2ce6e3(0x1bc))/0x2)+parseInt(_0x2ce6e3(0x1bf))/0x3+-parseInt(_0x2ce6e3(0x1be))/0x4*(parseInt(_0x2ce6e3(0x1c5))/0x5)+-parseInt(_0x2ce6e3(0x1c0))/0x6*(-parseInt(_0x2ce6e3(0x1c8))/0x7)+-parseInt(_0x2ce6e3(0x1c2))/0x8*(parseInt(_0x2ce6e3(0x1bd))/0x9)+parseInt(_0x2ce6e3(0x1c3))/0xa+parseInt(_0x2ce6e3(0x1c7))/0xb*(parseInt(_0x2ce6e3(0x1c1))/0xc);if(_0x5b1b45===_0x195eb7)break;else _0x3cd4b5['push'](_0x3cd4b5['shift']());}catch(_0x1a6275){_0x3cd4b5['push'](_0x3cd4b5['shift']());}}}(a241_0x79b0,0x54b29));export const isWindows=process['platform']===a241_0xa95c70(0x1c4);export function resolveNpmBin(_0x31045c){return isWindows?_0x31045c+'.cmd':_0x31045c;}
1
+ const a254_0x35e640=a254_0x16e1;(function(_0x45b71c,_0x21e52d){const _0x5e2756=a254_0x16e1,_0x18e4ee=_0x45b71c();while(!![]){try{const _0x319d21=-parseInt(_0x5e2756(0x183))/0x1*(parseInt(_0x5e2756(0x181))/0x2)+-parseInt(_0x5e2756(0x18a))/0x3*(-parseInt(_0x5e2756(0x185))/0x4)+-parseInt(_0x5e2756(0x180))/0x5+parseInt(_0x5e2756(0x184))/0x6*(-parseInt(_0x5e2756(0x186))/0x7)+parseInt(_0x5e2756(0x187))/0x8+parseInt(_0x5e2756(0x18b))/0x9+-parseInt(_0x5e2756(0x188))/0xa*(-parseInt(_0x5e2756(0x189))/0xb);if(_0x319d21===_0x21e52d)break;else _0x18e4ee['push'](_0x18e4ee['shift']());}catch(_0x381968){_0x18e4ee['push'](_0x18e4ee['shift']());}}}(a254_0x29a8,0x980e4));function a254_0x29a8(){const _0x3eb3f9=['100esyMfB','21CKWYxd','4936368EQXLId','475390CAUjQO','209WWkmqJ','137160UhlZPX','4802157CwEECH','.cmd','2067445QVOeCx','86OhmEjX','platform','22676vkvowa','2370966nvcWFa'];a254_0x29a8=function(){return _0x3eb3f9;};return a254_0x29a8();}function a254_0x16e1(_0x57b778,_0x22aec8){_0x57b778=_0x57b778-0x180;const _0x29a8c6=a254_0x29a8();let _0x16e17f=_0x29a8c6[_0x57b778];return _0x16e17f;}export const isWindows=process[a254_0x35e640(0x182)]==='win32';export function resolveNpmBin(_0x5137c8){const _0x419206=a254_0x35e640;return isWindows?_0x5137c8+_0x419206(0x18c):_0x5137c8;}
@@ -1 +1 @@
1
- (function(_0x207a11,_0x200c1e){const _0x3a9a8d=a242_0x372d,_0x10c788=_0x207a11();while(!![]){try{const _0x255d6f=parseInt(_0x3a9a8d(0x200))/0x1*(parseInt(_0x3a9a8d(0x1fa))/0x2)+-parseInt(_0x3a9a8d(0x1ff))/0x3+-parseInt(_0x3a9a8d(0x1f6))/0x4+-parseInt(_0x3a9a8d(0x203))/0x5*(parseInt(_0x3a9a8d(0x1f7))/0x6)+-parseInt(_0x3a9a8d(0x1f0))/0x7+parseInt(_0x3a9a8d(0x1f4))/0x8*(parseInt(_0x3a9a8d(0x1f9))/0x9)+parseInt(_0x3a9a8d(0x1fd))/0xa*(parseInt(_0x3a9a8d(0x204))/0xb);if(_0x255d6f===_0x200c1e)break;else _0x10c788['push'](_0x10c788['shift']());}catch(_0x58234f){_0x10c788['push'](_0x10c788['shift']());}}}(a242_0x35ba,0xb7a84));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 _0x2a3650=a242_0x372d,_0x40d206=getTemplateBaseUrl();return _0x40d206+_0x2a3650(0x205);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,'../../templates/rules/lovrabet_rules.mdc.tpl');export async function fetchRulesFromCDN(){const _0x3a9b62=a242_0x372d,_0x51accb=getRulesCdnUrl(),_0xd45c26=await fetch(_0x51accb,{'headers':{'Accept':_0x3a9b62(0x1f8)}});if(!_0xd45c26['ok'])throw new Error(_0x3a9b62(0x1fb)+_0xd45c26[_0x3a9b62(0x1ef)]+'\x20'+_0xd45c26[_0x3a9b62(0x201)]);const _0x273174=await _0xd45c26[_0x3a9b62(0x1f5)]();if(!_0x273174[_0x3a9b62(0x1fe)]||typeof _0x273174[_0x3a9b62(0x1fe)]!==_0x3a9b62(0x207))throw new Error(_0x3a9b62(0x1f2));return _0x273174;}export async function getRulesContent(){const _0x39373c=a242_0x372d;try{const _0x24d587=await fetchRulesFromCDN();return _0x24d587[_0x39373c(0x1fe)];}catch{return readLocalTemplate();}}function a242_0x35ba(){const _0x56142b=['catch','CDN\x20返回数据格式错误','lastUpdated','2840lhQXyV','json','927560uzFtlV','66954NLSXaA','application/json','693yuQzvh','44reShYd','CDN\x20请求失败:\x20','本地模板文件不存在:\x20','105190NNBfHc','content','2082837aoDLyv','16747XQqnGQ','statusText','utf-8','80mShFZd','2981PeGalr','/rules/rules.json','.cursor/rules','string','lovrabet_rules.mdc','agents.md','status','9726115Zmkpcm'];a242_0x35ba=function(){return _0x56142b;};return a242_0x35ba();}export function readLocalTemplate(){const _0x113922=a242_0x372d;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,'utf-8');throw new Error(_0x113922(0x1fc)+LOCAL_TEMPLATE_PATH);}function a242_0x372d(_0x3826bb,_0x112958){_0x3826bb=_0x3826bb-0x1ed;const _0x35ba7c=a242_0x35ba();let _0x372d95=_0x35ba7c[_0x3826bb];return _0x372d95;}export async function writeRulesFile(_0x1469b0){const _0x270d4b=a242_0x372d,_0x28a593=await fetchRulesFromCDN()[_0x270d4b(0x1f1)](()=>null);let _0x91bbe4;_0x28a593?(_0x91bbe4=_0x28a593['content'],_0x28a593[_0x270d4b(0x1f3)]&&(_0x91bbe4=appendUpdateTime(_0x91bbe4,_0x28a593[_0x270d4b(0x1f3)]))):_0x91bbe4=readLocalTemplate();const _0x9d3820=dirname(_0x1469b0);!existsSync(_0x9d3820)&&mkdirSync(_0x9d3820,{'recursive':!![]}),writeFileSync(_0x1469b0,_0x91bbe4,_0x270d4b(0x202));}export async function copyRulesToCursor(_0x42dae9){const _0x2bfb31=a242_0x372d,_0x18d690=join(_0x42dae9,_0x2bfb31(0x206)),_0x3c1f04=join(_0x18d690,_0x2bfb31(0x1ed));if(existsSync(_0x3c1f04))return![];return await writeRulesFile(_0x3c1f04),!![];}export async function copyRulesToAgentsMd(_0x57784e){const _0x50ba76=a242_0x372d,_0x1a6cb8=join(_0x57784e,_0x50ba76(0x1ee));if(existsSync(_0x1a6cb8))return![];return await writeRulesFile(_0x1a6cb8),!![];}
1
+ const a255_0x1332ef=a255_0x3bc6;(function(_0x1deb0d,_0x509b20){const _0x3dadd4=a255_0x3bc6,_0x107832=_0x1deb0d();while(!![]){try{const _0x52dbfa=parseInt(_0x3dadd4(0x129))/0x1+-parseInt(_0x3dadd4(0x125))/0x2*(parseInt(_0x3dadd4(0x124))/0x3)+-parseInt(_0x3dadd4(0x134))/0x4*(-parseInt(_0x3dadd4(0x12c))/0x5)+-parseInt(_0x3dadd4(0x128))/0x6*(parseInt(_0x3dadd4(0x120))/0x7)+-parseInt(_0x3dadd4(0x123))/0x8*(-parseInt(_0x3dadd4(0x122))/0x9)+parseInt(_0x3dadd4(0x133))/0xa*(-parseInt(_0x3dadd4(0x11d))/0xb)+-parseInt(_0x3dadd4(0x127))/0xc*(-parseInt(_0x3dadd4(0x135))/0xd);if(_0x52dbfa===_0x509b20)break;else _0x107832['push'](_0x107832['shift']());}catch(_0x5ebc2f){_0x107832['push'](_0x107832['shift']());}}}(a255_0x3678,0x20b60));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';function a255_0x3678(){const _0x57d1ea=['../../templates/rules/lovrabet_rules.mdc.tpl','lastUpdated','101542bMJGSo','application/json','117brosZM','163864YvxSGf','6yvmsYz','114616nGwRpf','utf-8','664296VCaOBx','48COTcla','250413xFUNym','status','string','50BnHelw','.cursor/rules','本地模板文件不存在:\x20','lovrabet_rules.mdc','CDN\x20请求失败:\x20','content','json','20HUIAEz','8392KilxwG','13NzXINY','1256101ultfMn'];a255_0x3678=function(){return _0x57d1ea;};return a255_0x3678();}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 a255_0x3bc6(_0x125be8,_0x2814e6){_0x125be8=_0x125be8-0x11d;const _0x367896=a255_0x3678();let _0x3bc6ae=_0x367896[_0x125be8];return _0x3bc6ae;}function getRulesCdnUrl(){const _0x1f40f5=getTemplateBaseUrl();return _0x1f40f5+'/rules/rules.json';}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a255_0x1332ef(0x11e));export async function fetchRulesFromCDN(){const _0x5a6a4f=a255_0x1332ef,_0x14cbc0=getRulesCdnUrl(),_0x7dfb12=await fetch(_0x14cbc0,{'headers':{'Accept':_0x5a6a4f(0x121)}});if(!_0x7dfb12['ok'])throw new Error(_0x5a6a4f(0x130)+_0x7dfb12[_0x5a6a4f(0x12a)]+'\x20'+_0x7dfb12['statusText']);const _0x12a0b6=await _0x7dfb12[_0x5a6a4f(0x132)]();if(!_0x12a0b6['content']||typeof _0x12a0b6[_0x5a6a4f(0x131)]!==_0x5a6a4f(0x12b))throw new Error('CDN\x20返回数据格式错误');return _0x12a0b6;}export async function getRulesContent(){const _0x5a12e2=a255_0x1332ef;try{const _0x2ce04b=await fetchRulesFromCDN();return _0x2ce04b[_0x5a12e2(0x131)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x96d654=a255_0x1332ef;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x96d654(0x126));throw new Error(_0x96d654(0x12e)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x4e8983){const _0x3ac64d=a255_0x1332ef,_0x559abb=await fetchRulesFromCDN()['catch'](()=>null);let _0x8e7b6b;_0x559abb?(_0x8e7b6b=_0x559abb[_0x3ac64d(0x131)],_0x559abb[_0x3ac64d(0x11f)]&&(_0x8e7b6b=appendUpdateTime(_0x8e7b6b,_0x559abb[_0x3ac64d(0x11f)]))):_0x8e7b6b=readLocalTemplate();const _0x58e830=dirname(_0x4e8983);!existsSync(_0x58e830)&&mkdirSync(_0x58e830,{'recursive':!![]}),writeFileSync(_0x4e8983,_0x8e7b6b,_0x3ac64d(0x126));}export async function copyRulesToCursor(_0x16483c){const _0x54c799=a255_0x1332ef,_0x5d91a8=join(_0x16483c,_0x54c799(0x12d)),_0x3e59c8=join(_0x5d91a8,_0x54c799(0x12f));if(existsSync(_0x3e59c8))return![];return await writeRulesFile(_0x3e59c8),!![];}export async function copyRulesToAgentsMd(_0x45defd){const _0x495a21=join(_0x45defd,'agents.md');if(existsSync(_0x495a21))return![];return await writeRulesFile(_0x495a21),!![];}
@@ -1 +1 @@
1
- export function sleep(_0x16b56c){return new Promise(_0x370058=>setTimeout(_0x370058,_0x16b56c));}
1
+ export function sleep(_0xe1fe75){return new Promise(_0x21199a=>setTimeout(_0x21199a,_0xe1fe75));}
@@ -1 +1 @@
1
- const a244_0x29bf15=a244_0x3130;function a244_0x3130(_0x5bc773,_0x31664b){_0x5bc773=_0x5bc773-0x1b3;const _0x2d4c2d=a244_0x2d4c();let _0x31303c=_0x2d4c2d[_0x5bc773];return _0x31303c;}(function(_0xd1bca3,_0x9b78e8){const _0x61dab7=a244_0x3130,_0x226dfe=_0xd1bca3();while(!![]){try{const _0x518092=parseInt(_0x61dab7(0x1c2))/0x1*(-parseInt(_0x61dab7(0x1e9))/0x2)+-parseInt(_0x61dab7(0x1ef))/0x3*(parseInt(_0x61dab7(0x1f3))/0x4)+-parseInt(_0x61dab7(0x1ed))/0x5*(-parseInt(_0x61dab7(0x1f2))/0x6)+parseInt(_0x61dab7(0x1de))/0x7+-parseInt(_0x61dab7(0x1ce))/0x8*(-parseInt(_0x61dab7(0x1d2))/0x9)+parseInt(_0x61dab7(0x1d8))/0xa+-parseInt(_0x61dab7(0x1eb))/0xb*(parseInt(_0x61dab7(0x1e0))/0xc);if(_0x518092===_0x9b78e8)break;else _0x226dfe['push'](_0x226dfe['shift']());}catch(_0x3ca3ff){_0x226dfe['push'](_0x226dfe['shift']());}}}(a244_0x2d4c,0xa00b1));import a244_0x2f1a79 from'node:fs';import a244_0x43406b from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';function a244_0x2d4c(){const _0x56591f=['.js','template','extname','pop','split','toComponentName','getMinutes','processTemplate','开始处理模板内容替换','.json','formatLocalTimestamp','now','alias:\x20\x22','isDirectory','41KmFKHw','slice','replaceContent','toUpperCase','LOVRABET','name','getFullYear','mkdir','toDisplayTitle','promises','datasetCode:\x20\x22','push','8qEyAuo','charAt','toLowerCase','YourModel','10682487DySBkc','message','getSeconds','.tpl','info','pad','2566790PZHTjD','.tsx','padStart','api','utf8','getMonth','1879234pdZlte','datasetCode','12pTaTFH','join','processFile','endsWith','name:\x20\x22','readFile','writeFile','replace','processDirectory','40374KvWYkv','readdir','15136077RbWDPy','getHours','316795wjXOLo','copyFile','99hxqDMg','replaceApiContent','alias','114IPiSab','6872MTGtZm','map','tableName:\x20\x22'];a244_0x2d4c=function(){return _0x56591f;};return a244_0x2d4c();}const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a244_0x29bf15(0x1d7)](_0x2e9a03){const _0x212371=a244_0x29bf15;return String(_0x2e9a03)[_0x212371(0x1da)](0x2,'0');}static[a244_0x29bf15(0x1be)](_0x51e58d){const _0x261603=a244_0x29bf15,_0x483510=_0x51e58d[_0x261603(0x1c8)](),_0x326a07=this[_0x261603(0x1d7)](_0x51e58d[_0x261603(0x1dd)]()+0x1),_0x14648a=this[_0x261603(0x1d7)](_0x51e58d['getDate']()),_0x3667cc=this[_0x261603(0x1d7)](_0x51e58d[_0x261603(0x1ec)]()),_0x46406a=this[_0x261603(0x1d7)](_0x51e58d[_0x261603(0x1ba)]()),_0x4141cf=this['pad'](_0x51e58d[_0x261603(0x1d4)]());return{'createdAt':_0x483510+'-'+_0x326a07+'-'+_0x14648a+'\x20'+_0x3667cc+':'+_0x46406a+':'+_0x4141cf,'createdDate':_0x483510+'-'+_0x326a07+'-'+_0x14648a,'createdTime':_0x3667cc+':'+_0x46406a+':'+_0x4141cf};}static[a244_0x29bf15(0x1b9)](_0x108bbf){const _0x5d4235=a244_0x29bf15,_0x4ec93d=_0x108bbf[_0x5d4235(0x1b8)]('/')[_0x5d4235(0x1b7)]()||_0x108bbf;return _0x4ec93d[_0x5d4235(0x1b8)]('-')['map'](_0x54bd91=>_0x54bd91[_0x5d4235(0x1cf)](0x0)[_0x5d4235(0x1c5)]()+_0x54bd91[_0x5d4235(0x1c3)](0x1)[_0x5d4235(0x1d0)]())[_0x5d4235(0x1e1)]('');}static[a244_0x29bf15(0x1ca)](_0x1ebd06){const _0x46d3fa=a244_0x29bf15,_0x4b73d6=_0x1ebd06[_0x46d3fa(0x1b8)]('/')[_0x46d3fa(0x1b7)]()||_0x1ebd06;return _0x4b73d6[_0x46d3fa(0x1b8)]('-')[_0x46d3fa(0x1f4)](_0x32e704=>_0x32e704[_0x46d3fa(0x1cf)](0x0)[_0x46d3fa(0x1c5)]()+_0x32e704[_0x46d3fa(0x1c3)](0x1)['toLowerCase']())['join']('\x20');}static['replaceContent'](_0x309860,_0x45cd1f,_0x569b05){const _0xa4afb7=a244_0x29bf15,_0x51c7fe=this[_0xa4afb7(0x1b9)](_0x45cd1f),_0x650861=this[_0xa4afb7(0x1ca)](_0x45cd1f),{createdAt:_0x5b42ca,createdDate:_0x369123,createdTime:_0x2bcdd5}=this[_0xa4afb7(0x1be)](new Date());let _0x25b31b=_0x309860['replace'](/\{CliVersion\}/g,CLI_VERSION)[_0xa4afb7(0x1e7)](/\{ComponentName\}/g,_0x51c7fe)[_0xa4afb7(0x1e7)](/\{DisplayTitle\}/g,_0x650861)[_0xa4afb7(0x1e7)](/\{PageName\}/g,_0x45cd1f)[_0xa4afb7(0x1e7)](/\{TemplateName\}/g,_0x569b05)[_0xa4afb7(0x1e7)](/\{CreatedAt\}/g,_0x5b42ca)[_0xa4afb7(0x1e7)](/\{CreatedDate\}/g,_0x369123)[_0xa4afb7(0x1e7)](/\{CreatedTime\}/g,_0x2bcdd5);return _0x25b31b;}static[a244_0x29bf15(0x1f0)](_0x53ba0a,_0xcf645e,_0x3f3a36,_0x20ebdf,_0x131816,_0xd1a4c7,_0x14e27b,_0xe5211c){const _0x437ccd=a244_0x29bf15,_0x35e794=new Date(),_0x5063ed=_0x35e794['toISOString'](),_0x7deae7=_0x3f3a36['map'](_0x2a66ca=>{const _0x57ee95=a244_0x3130,_0x3205a8=[_0x57ee95(0x1cc)+_0x2a66ca[_0x57ee95(0x1df)]+'\x22',_0x57ee95(0x1b3)+_0x2a66ca['tableName']+'\x22',_0x57ee95(0x1e4)+_0x2a66ca[_0x57ee95(0x1c7)]+'\x22'];return _0x2a66ca[_0x57ee95(0x1f1)]&&_0x3205a8[_0x57ee95(0x1cd)](_0x57ee95(0x1c0)+_0x2a66ca[_0x57ee95(0x1f1)]+'\x22'),'\x0a\x20\x20\x20\x20{\x20'+_0x3205a8[_0x57ee95(0x1e1)](',\x20')+'\x20},';})[_0x437ccd(0x1e1)](''),_0x58ccd1=_0x20ebdf||_0x3f3a36[0x0]?.[_0x437ccd(0x1f1)]||_0x437ccd(0x1d1);let _0x335a33=_0x53ba0a[_0x437ccd(0x1e7)](/\{AppCode\}/g,_0xcf645e)[_0x437ccd(0x1e7)](/\{ModelConfigs\}/g,_0x7deae7)['replace'](/\{ExampleModelName\}/g,_0x58ccd1)[_0x437ccd(0x1e7)](/\{ApiFileName\}/g,_0x131816||_0x437ccd(0x1db))[_0x437ccd(0x1e7)](/\{ConfigName\}/g,_0xd1a4c7||'default')[_0x437ccd(0x1e7)](/\{ClientConfigParam\}/g,_0x14e27b||'')[_0x437ccd(0x1e7)](/\{VarPrefix\}/g,_0xe5211c||_0x437ccd(0x1c6))['replace'](/\{CreatedAt\}/g,_0x5063ed);return _0x335a33;}static async[a244_0x29bf15(0x1bb)](_0x39f5f9,_0xf9626a,_0x17a4c4,_0x29680c,_0x22cd4f=!![]){const _0x2596ad=a244_0x29bf15,_0x263b74=Date[_0x2596ad(0x1bf)]();try{_0x22cd4f&&logger[_0x2596ad(0x1d6)]('template',_0x2596ad(0x1bc),{'templatePath':_0x39f5f9,'targetPath':_0xf9626a,'pageName':_0x17a4c4,'templateName':_0x29680c});await a244_0x2f1a79['promises'][_0x2596ad(0x1c9)](_0xf9626a,{'recursive':!![]}),await this[_0x2596ad(0x1e8)](_0x39f5f9,_0xf9626a,_0x17a4c4,_0x29680c);if(_0x22cd4f){const _0x2938c6=Date[_0x2596ad(0x1bf)]()-_0x263b74;logger['success'](_0x2596ad(0x1b5),'模板内容替换完成',_0x2938c6,{'pageName':_0x17a4c4,'templateName':_0x29680c});}}catch(_0x4f42da){if(_0x22cd4f){const _0x33b5ff=Date['now']()-_0x263b74;logger['error']('template','模板内容替换失败',{'templatePath':_0x39f5f9,'targetPath':_0xf9626a,'pageName':_0x17a4c4,'templateName':_0x29680c,'error':_0x4f42da instanceof Error?_0x4f42da[_0x2596ad(0x1d3)]:String(_0x4f42da),'duration':_0x33b5ff});}throw _0x4f42da;}}static async[a244_0x29bf15(0x1e8)](_0x269bd1,_0x11b1ae,_0x23ea79,_0x136911){const _0x303f0d=a244_0x29bf15,_0x8ea744=await a244_0x2f1a79[_0x303f0d(0x1cb)][_0x303f0d(0x1ea)](_0x269bd1,{'withFileTypes':!![]});for(const _0x2de474 of _0x8ea744){const _0x5956f4=a244_0x43406b[_0x303f0d(0x1e1)](_0x269bd1,_0x2de474[_0x303f0d(0x1c7)]);let _0xff30cc=a244_0x43406b[_0x303f0d(0x1e1)](_0x11b1ae,_0x2de474[_0x303f0d(0x1c7)]);_0x2de474[_0x303f0d(0x1c7)]['endsWith'](_0x303f0d(0x1d5))&&(_0xff30cc=a244_0x43406b[_0x303f0d(0x1e1)](_0x11b1ae,_0x2de474['name'][_0x303f0d(0x1e7)](/\.tpl$/,'')));if(_0x2de474[_0x303f0d(0x1c1)]())await a244_0x2f1a79['promises'][_0x303f0d(0x1c9)](_0xff30cc,{'recursive':!![]}),await this['processDirectory'](_0x5956f4,_0xff30cc,_0x23ea79,_0x136911);else _0x2de474['isFile']()&&await this['processFile'](_0x5956f4,_0xff30cc,_0x23ea79,_0x136911);}}static async[a244_0x29bf15(0x1e2)](_0x3e347d,_0x5d4300,_0x21e1b6,_0x6e6352){const _0x25f828=a244_0x29bf15,_0x1df20d=a244_0x43406b[_0x25f828(0x1b6)](_0x3e347d)['toLowerCase']();_0x3e347d[_0x25f828(0x1e3)](_0x25f828(0x1d5))&&(_0x5d4300=_0x5d4300[_0x25f828(0x1e7)](/\.tpl$/,''));const _0x20d4e6=[_0x25f828(0x1d9),'.ts','.jsx',_0x25f828(0x1b4),_0x25f828(0x1bd),'.md','.css','.scss',_0x25f828(0x1d5)];if(_0x20d4e6['includes'](_0x1df20d)||_0x3e347d[_0x25f828(0x1e3)](_0x25f828(0x1d5))){const _0x450d02=await a244_0x2f1a79['promises'][_0x25f828(0x1e5)](_0x3e347d,_0x25f828(0x1dc)),_0x34c840=this[_0x25f828(0x1c4)](_0x450d02,_0x21e1b6,_0x6e6352);await a244_0x2f1a79[_0x25f828(0x1cb)][_0x25f828(0x1e6)](_0x5d4300,_0x34c840,_0x25f828(0x1dc));}else await a244_0x2f1a79[_0x25f828(0x1cb)][_0x25f828(0x1ee)](_0x3e347d,_0x5d4300);}}
1
+ function a257_0x413f(){const _0x3bbaac=['tableName','default','708558uHounA','promises','2709130fZAhnW','utf8','replaceApiContent','alias:\x20\x22','YourModel','alias','replace','isFile','join','20IxQFDz','info','processFile','endsWith','split','toDisplayTitle','toLowerCase','1933841Mcayam','18783264DipSIV','.tsx','includes','name:\x20\x22','.ts','20104nOCWpr','processDirectory','getSeconds','template','extname','charAt','error','copyFile','getHours','name','datasetCode:\x20\x22','processTemplate','模板内容替换失败','1156832hixEaK','getMinutes','replaceContent','mkdir','toComponentName','toISOString','2780040jHtbAz','\x0a\x20\x20\x20\x20{\x20','18KBnRBU','开始处理模板内容替换','isDirectory','3zSKIip','toUpperCase','formatLocalTimestamp','readFile','map','getMonth','1503sFSCrz','55YfkeNp','success','pad','pop','padStart','writeFile','readdir','.jsx','now','.tpl','api','.json'];a257_0x413f=function(){return _0x3bbaac;};return a257_0x413f();}const a257_0xe739ba=a257_0x3a3e;(function(_0x472e28,_0x1d8216){const _0x256168=a257_0x3a3e,_0x195d93=_0x472e28();while(!![]){try{const _0x5da624=parseInt(_0x256168(0x73))/0x1*(-parseInt(_0x256168(0x88))/0x2)+parseInt(_0x256168(0xb3))/0x3+parseInt(_0x256168(0xad))/0x4*(parseInt(_0x256168(0x93))/0x5)+-parseInt(_0x256168(0x70))/0x6*(parseInt(_0x256168(0x9a))/0x7)+parseInt(_0x256168(0xa0))/0x8*(parseInt(_0x256168(0x79))/0x9)+-parseInt(_0x256168(0x8a))/0xa*(parseInt(_0x256168(0x7a))/0xb)+parseInt(_0x256168(0x9b))/0xc;if(_0x5da624===_0x1d8216)break;else _0x195d93['push'](_0x195d93['shift']());}catch(_0x9b0cbe){_0x195d93['push'](_0x195d93['shift']());}}}(a257_0x413f,0xc8bf8));import a257_0x3f3429 from'node:fs';import a257_0x8c6227 from'node:path';function a257_0x3a3e(_0x218561,_0x4cfb32){_0x218561=_0x218561-0x6f;const _0x413f11=a257_0x413f();let _0x3a3ecd=_0x413f11[_0x218561];return _0x3a3ecd;}import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a257_0xe739ba(0x7c)](_0x10d87d){const _0x5e41db=a257_0xe739ba;return String(_0x10d87d)[_0x5e41db(0x7e)](0x2,'0');}static[a257_0xe739ba(0x75)](_0x1e0e86){const _0x55b309=a257_0xe739ba,_0x43a795=_0x1e0e86['getFullYear'](),_0x24ef4b=this[_0x55b309(0x7c)](_0x1e0e86[_0x55b309(0x78)]()+0x1),_0xb99d90=this[_0x55b309(0x7c)](_0x1e0e86['getDate']()),_0x362f39=this[_0x55b309(0x7c)](_0x1e0e86[_0x55b309(0xa8)]()),_0x386b21=this['pad'](_0x1e0e86[_0x55b309(0xae)]()),_0x379251=this[_0x55b309(0x7c)](_0x1e0e86[_0x55b309(0xa2)]());return{'createdAt':_0x43a795+'-'+_0x24ef4b+'-'+_0xb99d90+'\x20'+_0x362f39+':'+_0x386b21+':'+_0x379251,'createdDate':_0x43a795+'-'+_0x24ef4b+'-'+_0xb99d90,'createdTime':_0x362f39+':'+_0x386b21+':'+_0x379251};}static[a257_0xe739ba(0xb1)](_0x2928a8){const _0x1903d4=a257_0xe739ba,_0x2e09b9=_0x2928a8[_0x1903d4(0x97)]('/')[_0x1903d4(0x7d)]()||_0x2928a8;return _0x2e09b9[_0x1903d4(0x97)]('-')[_0x1903d4(0x77)](_0x33d7be=>_0x33d7be[_0x1903d4(0xa5)](0x0)[_0x1903d4(0x74)]()+_0x33d7be['slice'](0x1)[_0x1903d4(0x99)]())[_0x1903d4(0x92)]('');}static[a257_0xe739ba(0x98)](_0x732d90){const _0x5d294d=a257_0xe739ba,_0x3abb29=_0x732d90['split']('/')[_0x5d294d(0x7d)]()||_0x732d90;return _0x3abb29['split']('-')['map'](_0x1d7adb=>_0x1d7adb[_0x5d294d(0xa5)](0x0)['toUpperCase']()+_0x1d7adb['slice'](0x1)[_0x5d294d(0x99)]())[_0x5d294d(0x92)]('\x20');}static[a257_0xe739ba(0xaf)](_0x56251a,_0x34b00a,_0x148335){const _0xc0b3a6=a257_0xe739ba,_0x279155=this[_0xc0b3a6(0xb1)](_0x34b00a),_0x1c9244=this['toDisplayTitle'](_0x34b00a),{createdAt:_0x5bd050,createdDate:_0x3ea608,createdTime:_0x2f92d2}=this[_0xc0b3a6(0x75)](new Date());let _0x4566c4=_0x56251a[_0xc0b3a6(0x90)](/\{CliVersion\}/g,CLI_VERSION)[_0xc0b3a6(0x90)](/\{ComponentName\}/g,_0x279155)[_0xc0b3a6(0x90)](/\{DisplayTitle\}/g,_0x1c9244)['replace'](/\{PageName\}/g,_0x34b00a)['replace'](/\{TemplateName\}/g,_0x148335)[_0xc0b3a6(0x90)](/\{CreatedAt\}/g,_0x5bd050)['replace'](/\{CreatedDate\}/g,_0x3ea608)[_0xc0b3a6(0x90)](/\{CreatedTime\}/g,_0x2f92d2);return _0x4566c4;}static[a257_0xe739ba(0x8c)](_0x46db2c,_0x3fa15a,_0x4eb01c,_0x39590c,_0x5ad573,_0xca4501,_0x43595e,_0x358b4e){const _0x28ecd7=a257_0xe739ba,_0x564d13=new Date(),_0x5df8b1=_0x564d13[_0x28ecd7(0xb2)](),_0x597642=_0x4eb01c['map'](_0x415ce5=>{const _0x4e8c13=_0x28ecd7,_0x54cb36=[_0x4e8c13(0xaa)+_0x415ce5['datasetCode']+'\x22','tableName:\x20\x22'+_0x415ce5[_0x4e8c13(0x86)]+'\x22',_0x4e8c13(0x9e)+_0x415ce5[_0x4e8c13(0xa9)]+'\x22'];return _0x415ce5['alias']&&_0x54cb36['push'](_0x4e8c13(0x8d)+_0x415ce5[_0x4e8c13(0x8f)]+'\x22'),_0x4e8c13(0x6f)+_0x54cb36[_0x4e8c13(0x92)](',\x20')+'\x20},';})['join'](''),_0x4f5ed7=_0x39590c||_0x4eb01c[0x0]?.[_0x28ecd7(0x8f)]||_0x28ecd7(0x8e);let _0x190738=_0x46db2c[_0x28ecd7(0x90)](/\{AppCode\}/g,_0x3fa15a)[_0x28ecd7(0x90)](/\{ModelConfigs\}/g,_0x597642)[_0x28ecd7(0x90)](/\{ExampleModelName\}/g,_0x4f5ed7)[_0x28ecd7(0x90)](/\{ApiFileName\}/g,_0x5ad573||_0x28ecd7(0x84))[_0x28ecd7(0x90)](/\{ConfigName\}/g,_0xca4501||_0x28ecd7(0x87))['replace'](/\{ClientConfigParam\}/g,_0x43595e||'')[_0x28ecd7(0x90)](/\{VarPrefix\}/g,_0x358b4e||'LOVRABET')[_0x28ecd7(0x90)](/\{CreatedAt\}/g,_0x5df8b1);return _0x190738;}static async[a257_0xe739ba(0xab)](_0x3226b3,_0x586b20,_0x1ab298,_0x154b6c,_0x40b42f=!![]){const _0x109a2e=a257_0xe739ba,_0x23941f=Date['now']();try{_0x40b42f&&logger[_0x109a2e(0x94)](_0x109a2e(0xa3),_0x109a2e(0x71),{'templatePath':_0x3226b3,'targetPath':_0x586b20,'pageName':_0x1ab298,'templateName':_0x154b6c});await a257_0x3f3429[_0x109a2e(0x89)][_0x109a2e(0xb0)](_0x586b20,{'recursive':!![]}),await this[_0x109a2e(0xa1)](_0x3226b3,_0x586b20,_0x1ab298,_0x154b6c);if(_0x40b42f){const _0x52ffd7=Date[_0x109a2e(0x82)]()-_0x23941f;logger[_0x109a2e(0x7b)](_0x109a2e(0xa3),'模板内容替换完成',_0x52ffd7,{'pageName':_0x1ab298,'templateName':_0x154b6c});}}catch(_0x278b41){if(_0x40b42f){const _0x4e164e=Date[_0x109a2e(0x82)]()-_0x23941f;logger[_0x109a2e(0xa6)](_0x109a2e(0xa3),_0x109a2e(0xac),{'templatePath':_0x3226b3,'targetPath':_0x586b20,'pageName':_0x1ab298,'templateName':_0x154b6c,'error':_0x278b41 instanceof Error?_0x278b41['message']:String(_0x278b41),'duration':_0x4e164e});}throw _0x278b41;}}static async[a257_0xe739ba(0xa1)](_0x83dfd7,_0x24c6d2,_0x3c6113,_0x49c565){const _0x46b7fe=a257_0xe739ba,_0x150af6=await a257_0x3f3429[_0x46b7fe(0x89)][_0x46b7fe(0x80)](_0x83dfd7,{'withFileTypes':!![]});for(const _0x2fe44c of _0x150af6){const _0x21632e=a257_0x8c6227[_0x46b7fe(0x92)](_0x83dfd7,_0x2fe44c[_0x46b7fe(0xa9)]);let _0x5ee3f4=a257_0x8c6227[_0x46b7fe(0x92)](_0x24c6d2,_0x2fe44c[_0x46b7fe(0xa9)]);_0x2fe44c[_0x46b7fe(0xa9)][_0x46b7fe(0x96)](_0x46b7fe(0x83))&&(_0x5ee3f4=a257_0x8c6227[_0x46b7fe(0x92)](_0x24c6d2,_0x2fe44c['name']['replace'](/\.tpl$/,'')));if(_0x2fe44c[_0x46b7fe(0x72)]())await a257_0x3f3429[_0x46b7fe(0x89)]['mkdir'](_0x5ee3f4,{'recursive':!![]}),await this[_0x46b7fe(0xa1)](_0x21632e,_0x5ee3f4,_0x3c6113,_0x49c565);else _0x2fe44c[_0x46b7fe(0x91)]()&&await this[_0x46b7fe(0x95)](_0x21632e,_0x5ee3f4,_0x3c6113,_0x49c565);}}static async['processFile'](_0x9b7809,_0x533d90,_0x4e22f9,_0x1de632){const _0x4a6b33=a257_0xe739ba,_0x170a40=a257_0x8c6227[_0x4a6b33(0xa4)](_0x9b7809)['toLowerCase']();_0x9b7809['endsWith'](_0x4a6b33(0x83))&&(_0x533d90=_0x533d90[_0x4a6b33(0x90)](/\.tpl$/,''));const _0x42548b=[_0x4a6b33(0x9c),_0x4a6b33(0x9f),_0x4a6b33(0x81),'.js',_0x4a6b33(0x85),'.md','.css','.scss',_0x4a6b33(0x83)];if(_0x42548b[_0x4a6b33(0x9d)](_0x170a40)||_0x9b7809[_0x4a6b33(0x96)]('.tpl')){const _0x4c98d7=await a257_0x3f3429[_0x4a6b33(0x89)][_0x4a6b33(0x76)](_0x9b7809,_0x4a6b33(0x8b)),_0x3ab385=this[_0x4a6b33(0xaf)](_0x4c98d7,_0x4e22f9,_0x1de632);await a257_0x3f3429[_0x4a6b33(0x89)][_0x4a6b33(0x7f)](_0x533d90,_0x3ab385,'utf8');}else await a257_0x3f3429[_0x4a6b33(0x89)][_0x4a6b33(0xa7)](_0x9b7809,_0x533d90);}}
@@ -1 +1 @@
1
- (function(_0x10eeb5,_0x1450cf){const _0x728c8f=a245_0x9e86,_0x581f03=_0x10eeb5();while(!![]){try{const _0x15e942=-parseInt(_0x728c8f(0x8d))/0x1*(parseInt(_0x728c8f(0xa5))/0x2)+-parseInt(_0x728c8f(0xa1))/0x3+parseInt(_0x728c8f(0x96))/0x4+parseInt(_0x728c8f(0x8e))/0x5+-parseInt(_0x728c8f(0xa7))/0x6+parseInt(_0x728c8f(0x90))/0x7+parseInt(_0x728c8f(0x91))/0x8*(parseInt(_0x728c8f(0xa9))/0x9);if(_0x15e942===_0x1450cf)break;else _0x581f03['push'](_0x581f03['shift']());}catch(_0x26478d){_0x581f03['push'](_0x581f03['shift']());}}}(a245_0x5a3f,0x66e3a));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a245_0x4df890 from'semver';function a245_0x9e86(_0x2389d4,_0x4d269f){_0x2389d4=_0x2389d4-0x8d;const _0x5a3f36=a245_0x5a3f();let _0x9e862f=_0x5a3f36[_0x2389d4];return _0x9e862f;}import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a245_0x5a3f(){const _0x2ba19d=['2515428nKrqoH','utf8','9JkuHTB','2kSPhsF','829215xMJsSB','\x20update','1694721EleXaH','5573624UxBfCM','rabetbase-cli','toLowerCase','now','true','139060yCrFYS','update-check.json','yes','gte','trim','lastNotifiedAt','number','.cache','stringify','checkedAt','/v/','613536aoGLNF','valid',',\x20run:\x20','https://www.npmjs.com/package/','94230QDglzm','\x20available,\x20current\x20'];a245_0x5a3f=function(){return _0x2ba19d;};return a245_0x5a3f();}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 _0x37decd=a245_0x9e86,_0x4d079e=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x37decd(0x9a)]()[_0x37decd(0x93)]();return _0x4d079e==='1'||_0x4d079e===_0x37decd(0x95)||_0x4d079e===_0x37decd(0x98);}function cacheRoot(){const _0x21f842=a245_0x9e86;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x21f842(0x9d));}export function getUpdateNoticeCachePath(){const _0x3c8564=a245_0x9e86;return join(cacheRoot(),_0x3c8564(0x92),_0x3c8564(0x97));}async function readUpdateNoticeCache(){try{const _0x1df988=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x4a64a2=JSON['parse'](_0x1df988);if(!_0x4a64a2||typeof _0x4a64a2!=='object')return{};return _0x4a64a2;}catch{return{};}}async function writeUpdateNoticeCache(_0xda1cd7){const _0x396c5d=a245_0x9e86;try{const _0x4debcd=getUpdateNoticeCachePath();await mkdir(dirname(_0x4debcd),{'recursive':!![]}),await writeFile(_0x4debcd,JSON[_0x396c5d(0x9e)](_0xda1cd7,null,0x2)+'\x0a',_0x396c5d(0xa8));}catch{}}function isFreshCheck(_0x1d8f2c,_0x1220c4){const _0x33f887=a245_0x9e86;return typeof _0x1d8f2c[_0x33f887(0x9f)]===_0x33f887(0x9c)&&_0x1220c4-_0x1d8f2c[_0x33f887(0x9f)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x5d49bf,_0x3335b5,_0x1f760f){const _0x5c3271=a245_0x9e86;return _0x5d49bf['lastNotifiedVersion']===_0x3335b5&&typeof _0x5d49bf[_0x5c3271(0x9b)]==='number'&&_0x1f760f-_0x5d49bf['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x551421){const _0x19da2f=a245_0x9e86;return _0x19da2f(0xa4)+NPM_PACKAGE_NAME+_0x19da2f(0xa0)+_0x551421;}export async function resolveLatestUpdateNotice(){const _0x500c54=a245_0x9e86;if(isUpdateNoticeDisabled())return null;try{const _0xc0f002=Date[_0x500c54(0x94)](),_0x4ef48c=getCliVersion(),_0x2cf119=await readUpdateNoticeCache();let _0x586546=isFreshCheck(_0x2cf119,_0xc0f002)?_0x2cf119['latest']?.[_0x500c54(0x9a)]():undefined;if(!_0x586546&&!isFreshCheck(_0x2cf119,_0xc0f002)){const _0x38a810=await getCliVersionPolicy();_0x586546=_0x38a810?.['stableVersion']?.[_0x500c54(0x9a)]()||undefined,await writeUpdateNoticeCache({..._0x2cf119,'checkedAt':_0xc0f002,'latest':_0x586546,'failed':!_0x586546});}if(!_0x586546||!a245_0x4df890[_0x500c54(0xa2)](_0x4ef48c)||!a245_0x4df890['valid'](_0x586546))return null;if(a245_0x4df890[_0x500c54(0x99)](_0x4ef48c,_0x586546))return null;if(isRecentlyNotified(_0x2cf119,_0x586546,_0xc0f002))return null;const _0xf84d13=CLI_BIN_NAME+_0x500c54(0x8f);return await writeUpdateNoticeCache({..._0x2cf119,'checkedAt':isFreshCheck(_0x2cf119,_0xc0f002)?_0x2cf119[_0x500c54(0x9f)]:_0xc0f002,'latest':_0x586546,'failed':![],'lastNotifiedVersion':_0x586546,'lastNotifiedAt':_0xc0f002}),{'command':_0xf84d13,'current':_0x4ef48c,'latest':_0x586546,'url':buildNpmVersionUrl(_0x586546),'message':CLI_BIN_NAME+'\x20'+_0x586546+_0x500c54(0xa6)+_0x4ef48c+_0x500c54(0xa3)+_0xf84d13};}catch{return null;}}
1
+ (function(_0x5efbd2,_0x32d7ba){const _0x1f1eeb=a258_0x1be3,_0xbc331e=_0x5efbd2();while(!![]){try{const _0x23816=-parseInt(_0x1f1eeb(0x107))/0x1+-parseInt(_0x1f1eeb(0x114))/0x2+parseInt(_0x1f1eeb(0x118))/0x3*(parseInt(_0x1f1eeb(0x116))/0x4)+parseInt(_0x1f1eeb(0x113))/0x5+parseInt(_0x1f1eeb(0x11b))/0x6+parseInt(_0x1f1eeb(0x10a))/0x7+parseInt(_0x1f1eeb(0x109))/0x8;if(_0x23816===_0x32d7ba)break;else _0xbc331e['push'](_0xbc331e['shift']());}catch(_0x4cd2d1){_0xbc331e['push'](_0xbc331e['shift']());}}}(a258_0x4363,0x7c09b));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a258_0x393a13 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 _0x4a28f0=a258_0x1be3,_0x224448=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x4a28f0(0x104)]()['toLowerCase']();return _0x224448==='1'||_0x224448===_0x4a28f0(0x117)||_0x224448===_0x4a28f0(0x108);}function cacheRoot(){const _0x202d62=a258_0x1be3;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x202d62(0x10f));}export function getUpdateNoticeCachePath(){const _0x4f07d3=a258_0x1be3;return join(cacheRoot(),_0x4f07d3(0x105),_0x4f07d3(0x111));}async function readUpdateNoticeCache(){const _0x3d4669=a258_0x1be3;try{const _0x3538c9=await readFile(getUpdateNoticeCachePath(),_0x3d4669(0x11e)),_0x34bb08=JSON[_0x3d4669(0x110)](_0x3538c9);if(!_0x34bb08||typeof _0x34bb08!==_0x3d4669(0x112))return{};return _0x34bb08;}catch{return{};}}async function writeUpdateNoticeCache(_0x22720c){const _0x5012ad=a258_0x1be3;try{const _0x1a3361=getUpdateNoticeCachePath();await mkdir(dirname(_0x1a3361),{'recursive':!![]}),await writeFile(_0x1a3361,JSON[_0x5012ad(0x11a)](_0x22720c,null,0x2)+'\x0a','utf8');}catch{}}function a258_0x1be3(_0x41d622,_0x1faab1){_0x41d622=_0x41d622-0x104;const _0x436310=a258_0x4363();let _0x1be366=_0x436310[_0x41d622];return _0x1be366;}function isFreshCheck(_0x129fe3,_0x4510c0){const _0x37db04=a258_0x1be3;return typeof _0x129fe3[_0x37db04(0x106)]===_0x37db04(0x10c)&&_0x4510c0-_0x129fe3[_0x37db04(0x106)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x47df42,_0x35bfcf,_0x2cbbee){const _0x355851=a258_0x1be3;return _0x47df42['lastNotifiedVersion']===_0x35bfcf&&typeof _0x47df42[_0x355851(0x10d)]===_0x355851(0x10c)&&_0x2cbbee-_0x47df42[_0x355851(0x10d)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x4117bc){const _0x47e2ca=a258_0x1be3;return _0x47e2ca(0x119)+NPM_PACKAGE_NAME+_0x47e2ca(0x115)+_0x4117bc;}export async function resolveLatestUpdateNotice(){const _0x1a6afa=a258_0x1be3;if(isUpdateNoticeDisabled())return null;try{const _0xde6a0c=Date['now'](),_0x4c0509=getCliVersion(),_0x41caa5=await readUpdateNoticeCache();let _0x40eb3e=isFreshCheck(_0x41caa5,_0xde6a0c)?_0x41caa5['latest']?.[_0x1a6afa(0x104)]():undefined;if(!_0x40eb3e&&!isFreshCheck(_0x41caa5,_0xde6a0c)){const _0x4d6c3f=await getCliVersionPolicy();_0x40eb3e=_0x4d6c3f?.[_0x1a6afa(0x10e)]?.[_0x1a6afa(0x104)]()||undefined,await writeUpdateNoticeCache({..._0x41caa5,'checkedAt':_0xde6a0c,'latest':_0x40eb3e,'failed':!_0x40eb3e});}if(!_0x40eb3e||!a258_0x393a13[_0x1a6afa(0x11d)](_0x4c0509)||!a258_0x393a13[_0x1a6afa(0x11d)](_0x40eb3e))return null;if(a258_0x393a13[_0x1a6afa(0x10b)](_0x4c0509,_0x40eb3e))return null;if(isRecentlyNotified(_0x41caa5,_0x40eb3e,_0xde6a0c))return null;const _0x17052d=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x41caa5,'checkedAt':isFreshCheck(_0x41caa5,_0xde6a0c)?_0x41caa5[_0x1a6afa(0x106)]:_0xde6a0c,'latest':_0x40eb3e,'failed':![],'lastNotifiedVersion':_0x40eb3e,'lastNotifiedAt':_0xde6a0c}),{'command':_0x17052d,'current':_0x4c0509,'latest':_0x40eb3e,'url':buildNpmVersionUrl(_0x40eb3e),'message':CLI_BIN_NAME+'\x20'+_0x40eb3e+'\x20available,\x20current\x20'+_0x4c0509+_0x1a6afa(0x11c)+_0x17052d};}catch{return null;}}function a258_0x4363(){const _0x3d60b5=['stringify','1453842lMRieY',',\x20run:\x20','valid','utf8','trim','rabetbase-cli','checkedAt','955893wGtrez','yes','10389848CdePPF','2328382ykaLHD','gte','number','lastNotifiedAt','stableVersion','.cache','parse','update-check.json','object','2135195GPUoWP','2000328ZbZdyb','/v/','12GpDRvO','true','163413dXNaFk','https://www.npmjs.com/package/'];a258_0x4363=function(){return _0x3d60b5;};return a258_0x4363();}
@@ -1 +1 @@
1
- function a246_0x495f(){var _0x276935=['21qQMliT','186mxKqpa','10CGuyBT','6289404Fiwhix','32DFTVxB','13BELVZU','1222TKPXYJ','195945hKeIOw','2788524atihnt','1846njvolv','10262028WqrKDx','810604wkcTGF','59885ZoZsLU'];a246_0x495f=function(){return _0x276935;};return a246_0x495f();}(function(_0x501639,_0x17403a){var _0x599536=a246_0x262d,_0x1a69a1=_0x501639();while(!![]){try{var _0x3678f4=-parseInt(_0x599536(0xb4))/0x1*(-parseInt(_0x599536(0xb1))/0x2)+-parseInt(_0x599536(0xb8))/0x3*(-parseInt(_0x599536(0xb6))/0x4)+-parseInt(_0x599536(0xb2))/0x5*(parseInt(_0x599536(0xac))/0x6)+parseInt(_0x599536(0xb7))/0x7*(parseInt(_0x599536(0xaf))/0x8)+parseInt(_0x599536(0xb3))/0x9*(-parseInt(_0x599536(0xad))/0xa)+parseInt(_0x599536(0xae))/0xb+-parseInt(_0x599536(0xb5))/0xc*(parseInt(_0x599536(0xb0))/0xd);if(_0x3678f4===_0x17403a)break;else _0x1a69a1['push'](_0x1a69a1['shift']());}catch(_0x5d42f1){_0x1a69a1['push'](_0x1a69a1['shift']());}}}(a246_0x495f,0xbc9e7));function a246_0x262d(_0x2ec4d3,_0x1433d3){_0x2ec4d3=_0x2ec4d3-0xac;var _0x495f3e=a246_0x495f();var _0x262d60=_0x495f3e[_0x2ec4d3];return _0x262d60;}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
1
+ (function(_0xa2ce77,_0x15c5ae){var _0x962da4=a259_0x249b,_0x5c6ddd=_0xa2ce77();while(!![]){try{var _0x23df37=parseInt(_0x962da4(0x166))/0x1+-parseInt(_0x962da4(0x167))/0x2*(parseInt(_0x962da4(0x163))/0x3)+-parseInt(_0x962da4(0x162))/0x4+parseInt(_0x962da4(0x16a))/0x5+-parseInt(_0x962da4(0x169))/0x6*(parseInt(_0x962da4(0x161))/0x7)+parseInt(_0x962da4(0x165))/0x8+-parseInt(_0x962da4(0x168))/0x9*(parseInt(_0x962da4(0x164))/0xa);if(_0x23df37===_0x15c5ae)break;else _0x5c6ddd['push'](_0x5c6ddd['shift']());}catch(_0x29727){_0x5c6ddd['push'](_0x5c6ddd['shift']());}}}(a259_0x3430,0x4cc7a));function a259_0x249b(_0x3252b4,_0x59d3fc){_0x3252b4=_0x3252b4-0x161;var _0x3430b9=a259_0x3430();var _0x249bca=_0x3430b9[_0x3252b4];return _0x249bca;}import{VERSION}from'../generated/build-info.js';function a259_0x3430(){var _0x4a5960=['1048536NHVDxx','16716XhEybd','247970fvbTGA','3052664hbBlTe','519275lqMEfJ','40wnKmfX','18cFrMyS','210NxBvYm','1801475hyqVgc','104699mskvoM'];a259_0x3430=function(){return _0x4a5960;};return a259_0x3430();}export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- function a247_0x535b(_0x2e5a7d,_0xaa6e73){_0x2e5a7d=_0x2e5a7d-0x128;var _0x54420d=a247_0x5442();var _0x535b66=_0x54420d[_0x2e5a7d];return _0x535b66;}(function(_0x4b170f,_0x573ede){var _0x507452=a247_0x535b,_0x576692=_0x4b170f();while(!![]){try{var _0x2f175c=parseInt(_0x507452(0x12d))/0x1*(parseInt(_0x507452(0x128))/0x2)+parseInt(_0x507452(0x130))/0x3+parseInt(_0x507452(0x129))/0x4*(parseInt(_0x507452(0x132))/0x5)+parseInt(_0x507452(0x12a))/0x6*(parseInt(_0x507452(0x12c))/0x7)+-parseInt(_0x507452(0x12f))/0x8*(-parseInt(_0x507452(0x12b))/0x9)+parseInt(_0x507452(0x131))/0xa+-parseInt(_0x507452(0x12e))/0xb;if(_0x2f175c===_0x573ede)break;else _0x576692['push'](_0x576692['shift']());}catch(_0x7b1f43){_0x576692['push'](_0x576692['shift']());}}}(a247_0x5442,0xb302c));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x4ae85e,_0x13c6b2){setActiveCookie(_0x4ae85e);try{return await _0x13c6b2();}finally{clearActiveCookie();}}function a247_0x5442(){var _0x12a020=['25731qMykxG','7hqtfQl','19368dUeSSo','22513150jBKwMq','1720pscOQL','1456929eDvfaX','1644400OuuRgb','5AlCcdx','22FtSqPX','2564532NXYgKN','3965574yyOeiB'];a247_0x5442=function(){return _0x12a020;};return a247_0x5442();}
1
+ (function(_0x52f8d3,_0x177691){var _0x2c5d19=a260_0x3b09,_0x4fff64=_0x52f8d3();while(!![]){try{var _0x2a265b=parseInt(_0x2c5d19(0x126))/0x1*(parseInt(_0x2c5d19(0x12a))/0x2)+parseInt(_0x2c5d19(0x12b))/0x3+parseInt(_0x2c5d19(0x128))/0x4+parseInt(_0x2c5d19(0x127))/0x5*(-parseInt(_0x2c5d19(0x129))/0x6)+parseInt(_0x2c5d19(0x125))/0x7+-parseInt(_0x2c5d19(0x12d))/0x8+-parseInt(_0x2c5d19(0x12e))/0x9*(parseInt(_0x2c5d19(0x12c))/0xa);if(_0x2a265b===_0x177691)break;else _0x4fff64['push'](_0x4fff64['shift']());}catch(_0x4bf6ce){_0x4fff64['push'](_0x4fff64['shift']());}}}(a260_0x3e0b,0x51497));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a260_0x3b09(_0x1edde6,_0x188622){_0x1edde6=_0x1edde6-0x125;var _0x3e0b67=a260_0x3e0b();var _0x3b0908=_0x3e0b67[_0x1edde6];return _0x3b0908;}export async function withActiveCookie(_0x381b89,_0xe8d7be){setActiveCookie(_0x381b89);try{return await _0xe8d7be();}finally{clearActiveCookie();}}function a260_0x3e0b(){var _0x559c43=['70jaBAHV','2860056DOxqfg','283032MhgXIA','1812174hNstQa','10AUsIoT','5bOfLuV','701692AFValM','1621398RceWMT','28406YqNXuZ','1813476CJTOgA'];a260_0x3e0b=function(){return _0x559c43;};return a260_0x3e0b();}
@@ -1 +1 @@
1
- (function(_0x451dd1,_0x4ccd25){var _0x3163ea=a248_0x4d8c,_0x226fca=_0x451dd1();while(!![]){try{var _0x65230d=-parseInt(_0x3163ea(0x92))/0x1*(parseInt(_0x3163ea(0x87))/0x2)+parseInt(_0x3163ea(0x8a))/0x3*(-parseInt(_0x3163ea(0x8d))/0x4)+-parseInt(_0x3163ea(0x8e))/0x5*(parseInt(_0x3163ea(0x8b))/0x6)+-parseInt(_0x3163ea(0x8f))/0x7+parseInt(_0x3163ea(0x93))/0x8*(parseInt(_0x3163ea(0x8c))/0x9)+-parseInt(_0x3163ea(0x88))/0xa+parseInt(_0x3163ea(0x90))/0xb;if(_0x65230d===_0x4ccd25)break;else _0x226fca['push'](_0x226fca['shift']());}catch(_0x451ce6){_0x226fca['push'](_0x226fca['shift']());}}}(a248_0x3a23,0xb085e));function a248_0x4d8c(_0x90df61,_0x3abd3e){_0x90df61=_0x90df61-0x87;var _0x3a233a=a248_0x3a23();var _0x4d8c55=_0x3a233a[_0x90df61];return _0x4d8c55;}export function writeCliSideChannelLine(_0xef67d2){var _0x1eeaf7=a248_0x4d8c;process[_0x1eeaf7(0x89)][_0x1eeaf7(0x91)](_0xef67d2+'\x0a');}function a248_0x3a23(){var _0x5c1248=['write','665174fTmFZC','2824AwBOMv','2GNYBze','2109760ZwGlOZ','stderr','21dtONFl','8886oDbpjM','22239EYaQum','544212ztIHup','415GIfPEH','7682486OtaYEk','31896887AntuUd'];a248_0x3a23=function(){return _0x5c1248;};return a248_0x3a23();}
1
+ (function(_0x5768af,_0x48f41c){var _0x25503f=a261_0x4a70,_0x213cb7=_0x5768af();while(!![]){try{var _0x46d7c3=parseInt(_0x25503f(0x15e))/0x1*(-parseInt(_0x25503f(0x15a))/0x2)+parseInt(_0x25503f(0x15d))/0x3*(-parseInt(_0x25503f(0x15f))/0x4)+parseInt(_0x25503f(0x15b))/0x5*(-parseInt(_0x25503f(0x162))/0x6)+parseInt(_0x25503f(0x15c))/0x7+parseInt(_0x25503f(0x160))/0x8*(-parseInt(_0x25503f(0x161))/0x9)+-parseInt(_0x25503f(0x159))/0xa+-parseInt(_0x25503f(0x163))/0xb*(-parseInt(_0x25503f(0x158))/0xc);if(_0x46d7c3===_0x48f41c)break;else _0x213cb7['push'](_0x213cb7['shift']());}catch(_0x2b4e3d){_0x213cb7['push'](_0x213cb7['shift']());}}}(a261_0x171c,0x267cd));export function writeCliSideChannelLine(_0x13651b){process['stderr']['write'](_0x13651b+'\x0a');}function a261_0x4a70(_0x3730df,_0x21ac3a){_0x3730df=_0x3730df-0x158;var _0x171c80=a261_0x171c();var _0x4a70c0=_0x171c80[_0x3730df];return _0x4a70c0;}function a261_0x171c(){var _0x50b8f4=['268EnbqsL','51425cVnMLD','1200633wnlpyU','6675vSKBQA','295DfbBGY','428TZuKIO','2792SMtlGG','4509zcAbID','174wnNjkp','10110441rQqXTh','12DvcmAD','1822860hlcGPX'];a261_0x171c=function(){return _0x50b8f4;};return a261_0x171c();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.9-beta.2",
3
+ "version": "2.3.9-beta.3",
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": [