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

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 -1
  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 -1
  103. package/lib/commands/menu/group-create.js +1 -1
  104. package/lib/commands/menu/group-update.js +1 -1
  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 -1
  108. package/lib/commands/menu/shared/compare-table.js +1 -1
  109. package/lib/commands/menu/shared/delete-plan.js +1 -1
  110. package/lib/commands/menu/shared/facts.js +1 -1
  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 -1
  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 -1
  177. package/lib/commands/task/status.js +1 -1
  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 -1
  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 -1
  215. package/lib/framework/explicit-yes.js +1 -1
  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 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
+ const a252_0x426e13=a252_0x2b39;(function(_0x49d704,_0x17c041){const _0x363439=a252_0x2b39,_0x32efdf=_0x49d704();while(!![]){try{const _0x3b9521=-parseInt(_0x363439(0xce))/0x1+-parseInt(_0x363439(0x9d))/0x2*(parseInt(_0x363439(0xa5))/0x3)+-parseInt(_0x363439(0xc7))/0x4*(-parseInt(_0x363439(0xae))/0x5)+parseInt(_0x363439(0xbf))/0x6+-parseInt(_0x363439(0xa8))/0x7+-parseInt(_0x363439(0x9c))/0x8+parseInt(_0x363439(0xa0))/0x9;if(_0x3b9521===_0x17c041)break;else _0x32efdf['push'](_0x32efdf['shift']());}catch(_0x2f4a37){_0x32efdf['push'](_0x32efdf['shift']());}}}(a252_0x52b8,0x4d207));import a252_0x47ae04 from'winston';import a252_0x48d55 from'node:fs';function a252_0x52b8(){const _0x5cf62d=['toISOString','logTask','9324900QTRJLG','Failed\x20to\x20clear\x20logs:','getWinstonInstance','printf','success','3156dKuhXZ','blue','开始执行:\x20','3304630gYXkqP','map','rawCommand','addColors','完成:\x20','error','1569045LIFPtO','winstonLogger','失败:\x20','info','split','join','timestamp','writeFileSync','setLogPath','setRawCommand','yellow','trim','message','format','clear','currentRawCommand','utf8','679566UtgPDS','level','clearLogs','stringify','existsSync','File','unknown','readLogs','8GajjTY','details','duration','transports','warn','green','now','339324WafLFk','errors','initWinstonLogger','createLogger','command','Failed\x20to\x20read\x20logs:','logFilePath','3615024GKguOy','376rTZxQF'];a252_0x52b8=function(){return _0x5cf62d;};return a252_0x52b8();}import a252_0x4795e8 from'node:path';class Logger{['winstonLogger'];[a252_0x426e13(0x9b)];['currentRawCommand']='';constructor(){const _0x495bb6=a252_0x426e13;this[_0x495bb6(0x9b)]='';}[a252_0x426e13(0xb7)](_0x52fc16){const _0x50ba04=a252_0x426e13;this[_0x50ba04(0xbd)]=_0x52fc16;}[a252_0x426e13(0xd0)](){const _0x4beb81=a252_0x426e13,_0x44eadf=a252_0x4795e8['dirname'](this[_0x4beb81(0x9b)]);!a252_0x48d55['existsSync'](_0x44eadf)&&a252_0x48d55['mkdirSync'](_0x44eadf,{'recursive':!![]});const _0x4b39d8=a252_0x47ae04[_0x4beb81(0xbb)]['combine'](a252_0x47ae04[_0x4beb81(0xbb)][_0x4beb81(0xb4)](),a252_0x47ae04[_0x4beb81(0xbb)][_0x4beb81(0xcf)]({'stack':!![]}),a252_0x47ae04[_0x4beb81(0xbb)][_0x4beb81(0xa3)](_0x124f46=>{const _0x189407=_0x4beb81,_0x30176e={'timestamp':_0x124f46[_0x189407(0xb4)]||new Date()[_0x189407(0x9e)](),'level':_0x124f46[_0x189407(0xc0)]||'info','command':_0x124f46[_0x189407(0x99)]||_0x189407(0xc5),'rawCommand':_0x124f46[_0x189407(0xaa)]||this[_0x189407(0xbd)]||undefined,'message':_0x124f46[_0x189407(0xba)]||'','duration':_0x124f46[_0x189407(0xc9)]||undefined,'details':_0x124f46[_0x189407(0xc8)]||undefined};return JSON[_0x189407(0xc2)](_0x30176e);}));this['winstonLogger']=a252_0x47ae04[_0x4beb81(0xd1)]({'level':_0x4beb81(0xb1),'format':_0x4b39d8,'transports':[new a252_0x47ae04[(_0x4beb81(0xca))][(_0x4beb81(0xc4))]({'filename':this[_0x4beb81(0x9b)],'level':_0x4beb81(0xb1)})],'silent':![]}),a252_0x47ae04[_0x4beb81(0xab)]({'success':_0x4beb81(0xcc),'error':'red','warn':_0x4beb81(0xb8),'info':_0x4beb81(0xa6)});}[a252_0x426e13(0xb6)](_0x4e049d){const _0x12c414=a252_0x426e13;this['logFilePath']=a252_0x4795e8[_0x12c414(0xb3)](_0x4e049d,'.lovrabet.log'),this[_0x12c414(0xaf)]&&this[_0x12c414(0xaf)][_0x12c414(0xbc)](),this[_0x12c414(0xd0)]();}['info'](_0x17c3ad,_0xcd171e,_0x55a602){const _0x1aa804=a252_0x426e13;if(!this[_0x1aa804(0x9b)]||!this[_0x1aa804(0xaf)])return;this[_0x1aa804(0xaf)][_0x1aa804(0xb1)](_0xcd171e,{'command':_0x17c3ad,'details':_0x55a602});}['success'](_0x2973d1,_0x47f761,_0x2fd2cf,_0x4bc808){const _0x3eab27=a252_0x426e13;if(!this[_0x3eab27(0x9b)]||!this[_0x3eab27(0xaf)])return;this['winstonLogger']['log'](_0x3eab27(0xb1),_0x47f761,{'level':_0x3eab27(0xa4),'command':_0x2973d1,'duration':_0x2fd2cf,'details':_0x4bc808});}[a252_0x426e13(0xad)](_0x4fbd22,_0x5289a1,_0x4cd03e){const _0x42dbbf=a252_0x426e13;if(!this[_0x42dbbf(0x9b)]||!this[_0x42dbbf(0xaf)])return;this[_0x42dbbf(0xaf)][_0x42dbbf(0xad)](_0x5289a1,{'command':_0x4fbd22,'details':_0x4cd03e});}[a252_0x426e13(0xcb)](_0x3e0624,_0x1adb8c,_0x8bfa3b){const _0xd41f40=a252_0x426e13;if(!this[_0xd41f40(0x9b)]||!this['winstonLogger'])return;this[_0xd41f40(0xaf)][_0xd41f40(0xcb)](_0x1adb8c,{'command':_0x3e0624,'details':_0x8bfa3b});}async[a252_0x426e13(0x9f)](_0x11d2e1,_0x28fb74,_0x252e59){const _0x3c805e=a252_0x426e13,_0x1a3e44=Date[_0x3c805e(0xcd)]();this['info'](_0x11d2e1,_0x3c805e(0xa7)+_0x28fb74);try{const _0x137bc4=await _0x252e59(),_0x41b5f9=Date[_0x3c805e(0xcd)]()-_0x1a3e44;return this[_0x3c805e(0xa4)](_0x11d2e1,_0x3c805e(0xac)+_0x28fb74,_0x41b5f9),_0x137bc4;}catch(_0x5c0952){const _0x496a84=Date['now']()-_0x1a3e44;this[_0x3c805e(0xad)](_0x11d2e1,_0x3c805e(0xb0)+_0x28fb74,{'error':_0x5c0952 instanceof Error?_0x5c0952[_0x3c805e(0xba)]:String(_0x5c0952),'duration':_0x496a84});throw _0x5c0952;}}[a252_0x426e13(0xc6)](){const _0x27928c=a252_0x426e13;try{if(!a252_0x48d55[_0x27928c(0xc3)](this[_0x27928c(0x9b)]))return[];const _0x506cb2=a252_0x48d55['readFileSync'](this[_0x27928c(0x9b)],'utf8');return _0x506cb2[_0x27928c(0xb2)]('\x0a')['filter'](_0x25310d=>_0x25310d[_0x27928c(0xb9)]())[_0x27928c(0xa9)](_0x55cdb3=>JSON['parse'](_0x55cdb3));}catch(_0x2aa75b){return console['warn'](_0x27928c(0x9a),_0x2aa75b),[];}}[a252_0x426e13(0xc1)](){const _0x45d84f=a252_0x426e13;try{a252_0x48d55['existsSync'](this['logFilePath'])&&a252_0x48d55[_0x45d84f(0xb5)](this[_0x45d84f(0x9b)],'',_0x45d84f(0xbe));}catch(_0x1f8ab0){console[_0x45d84f(0xcb)](_0x45d84f(0xa1),_0x1f8ab0);}}[a252_0x426e13(0xa2)](){const _0x1aebef=a252_0x426e13;return this[_0x1aebef(0xaf)];}}function a252_0x2b39(_0x3560ea,_0x5ea06b){_0x3560ea=_0x3560ea-0x99;const _0x52b860=a252_0x52b8();let _0x2b3959=_0x52b860[_0x3560ea];return _0x2b3959;}export const logger=new Logger();
@@ -1 +1 @@
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
+ (function(_0x24b3f5,_0x7c147e){const _0x1fcb66=a253_0x6256,_0x741182=_0x24b3f5();while(!![]){try{const _0x30b7d9=-parseInt(_0x1fcb66(0x1b1))/0x1+parseInt(_0x1fcb66(0x1a7))/0x2+-parseInt(_0x1fcb66(0x1ad))/0x3*(-parseInt(_0x1fcb66(0x1b0))/0x4)+-parseInt(_0x1fcb66(0x1ac))/0x5+parseInt(_0x1fcb66(0x1a8))/0x6+-parseInt(_0x1fcb66(0x1ae))/0x7+parseInt(_0x1fcb66(0x1a6))/0x8;if(_0x30b7d9===_0x7c147e)break;else _0x741182['push'](_0x741182['shift']());}catch(_0x1b4ec6){_0x741182['push'](_0x741182['shift']());}}}(a253_0x47e8,0x9e444));import{CliErrors}from'../errors.js';function a253_0x47e8(){const _0x55f8e8=['validation','isArray','Invalid\x20JSON\x20for\x20--params:\x20','2503680ZpcGou','539454XxfaHE','7912604TpNjBs','object','20iuCVVH','174354LencxK','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','parse','--params\x20must\x20be\x20a\x20JSON\x20object','5813184UgmAUv','1499204OHTyps','470292bbitYY'];a253_0x47e8=function(){return _0x55f8e8;};return a253_0x47e8();}function a253_0x6256(_0x388458,_0x48d156){_0x388458=_0x388458-0x1a3;const _0x47e8cb=a253_0x47e8();let _0x62566a=_0x47e8cb[_0x388458];return _0x62566a;}export function parseJsonParams(_0x433562){const _0x1f2202=a253_0x6256;if(!_0x433562)return undefined;let _0xc6fd77;try{_0xc6fd77=JSON[_0x1f2202(0x1a4)](_0x433562);}catch{throw CliErrors[_0x1f2202(0x1a9)](_0x1f2202(0x1ab)+_0x433562);}if(!_0xc6fd77||typeof _0xc6fd77!==_0x1f2202(0x1af)||Array[_0x1f2202(0x1aa)](_0xc6fd77))throw CliErrors[_0x1f2202(0x1a9)](_0x1f2202(0x1a5),_0x1f2202(0x1a3));return _0xc6fd77;}
@@ -1 +1 @@
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
+ const a254_0x19d093=a254_0x3245;(function(_0x4a0cc2,_0x2d025f){const _0x17acc7=a254_0x3245,_0x51669b=_0x4a0cc2();while(!![]){try{const _0x4e1eb0=parseInt(_0x17acc7(0x14b))/0x1+parseInt(_0x17acc7(0x150))/0x2+parseInt(_0x17acc7(0x154))/0x3*(parseInt(_0x17acc7(0x14d))/0x4)+parseInt(_0x17acc7(0x151))/0x5+parseInt(_0x17acc7(0x152))/0x6+-parseInt(_0x17acc7(0x14f))/0x7*(parseInt(_0x17acc7(0x14e))/0x8)+-parseInt(_0x17acc7(0x149))/0x9;if(_0x4e1eb0===_0x2d025f)break;else _0x51669b['push'](_0x51669b['shift']());}catch(_0x1db84e){_0x51669b['push'](_0x51669b['shift']());}}}(a254_0x261d,0xde467));export const isWindows=process[a254_0x19d093(0x14c)]===a254_0x19d093(0x14a);function a254_0x3245(_0x400815,_0x28e2a9){_0x400815=_0x400815-0x149;const _0x261da9=a254_0x261d();let _0x3245fe=_0x261da9[_0x400815];return _0x3245fe;}export function resolveNpmBin(_0x5edac6){const _0xc95263=a254_0x19d093;return isWindows?_0x5edac6+_0xc95263(0x153):_0x5edac6;}function a254_0x261d(){const _0x194a8c=['6167UkTxCq','1900978NMNccn','1903960sQlZjR','5450868OMvJgH','.cmd','70194DAmAjw','7088508RdxrYO','win32','135872HlogWc','platform','164mOhKXR','14864SzityB'];a254_0x261d=function(){return _0x194a8c;};return a254_0x261d();}
@@ -1 +1 @@
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
+ (function(_0x394e30,_0xf1d43d){const _0x57efd7=a255_0x3675,_0x3141e2=_0x394e30();while(!![]){try{const _0x1c86b4=-parseInt(_0x57efd7(0x12e))/0x1*(-parseInt(_0x57efd7(0x12c))/0x2)+-parseInt(_0x57efd7(0x11f))/0x3*(parseInt(_0x57efd7(0x120))/0x4)+parseInt(_0x57efd7(0x11e))/0x5*(-parseInt(_0x57efd7(0x123))/0x6)+parseInt(_0x57efd7(0x131))/0x7*(-parseInt(_0x57efd7(0x11c))/0x8)+parseInt(_0x57efd7(0x12f))/0x9+-parseInt(_0x57efd7(0x125))/0xa+parseInt(_0x57efd7(0x11b))/0xb;if(_0x1c86b4===_0xf1d43d)break;else _0x3141e2['push'](_0x3141e2['shift']());}catch(_0x2cde03){_0x3141e2['push'](_0x3141e2['shift']());}}}(a255_0x1717,0xe8381));function a255_0x1717(){const _0x546192=['statusText','10ItFCXP','本地模板文件不存在:\x20','229781EQPOLY','4188420LDGGfO','json','4123IKKVSF','/rules/rules.json','32117525fiXnHC','16888ubcVUw','utf-8','1585QwyjQA','5572641VLbpcc','4Ukmvvt','lastUpdated','.cursor/rules','978bRloGt','application/json','4302940EuSuEi','catch','CDN\x20返回数据格式错误','CDN\x20请求失败:\x20','lovrabet_rules.mdc','content'];a255_0x1717=function(){return _0x546192;};return a255_0x1717();}import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';function a255_0x3675(_0x5bb5a6,_0x25cb70){_0x5bb5a6=_0x5bb5a6-0x11b;const _0x171708=a255_0x1717();let _0x3675f7=_0x171708[_0x5bb5a6];return _0x3675f7;}import{appendUpdateTime}from'../utils/guides-cdn.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x3de7af=a255_0x3675,_0x2e2222=getTemplateBaseUrl();return _0x2e2222+_0x3de7af(0x132);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,'../../templates/rules/lovrabet_rules.mdc.tpl');export async function fetchRulesFromCDN(){const _0x271c67=a255_0x3675,_0x58dcbb=getRulesCdnUrl(),_0x2e735b=await fetch(_0x58dcbb,{'headers':{'Accept':_0x271c67(0x124)}});if(!_0x2e735b['ok'])throw new Error(_0x271c67(0x128)+_0x2e735b['status']+'\x20'+_0x2e735b[_0x271c67(0x12b)]);const _0x3de922=await _0x2e735b[_0x271c67(0x130)]();if(!_0x3de922[_0x271c67(0x12a)]||typeof _0x3de922[_0x271c67(0x12a)]!=='string')throw new Error(_0x271c67(0x127));return _0x3de922;}export async function getRulesContent(){const _0xdc849d=a255_0x3675;try{const _0x1aa730=await fetchRulesFromCDN();return _0x1aa730[_0xdc849d(0x12a)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x5d96fe=a255_0x3675;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x5d96fe(0x11d));throw new Error(_0x5d96fe(0x12d)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x50cb17){const _0x131367=a255_0x3675,_0x50a6af=await fetchRulesFromCDN()[_0x131367(0x126)](()=>null);let _0x4adf07;_0x50a6af?(_0x4adf07=_0x50a6af[_0x131367(0x12a)],_0x50a6af[_0x131367(0x121)]&&(_0x4adf07=appendUpdateTime(_0x4adf07,_0x50a6af['lastUpdated']))):_0x4adf07=readLocalTemplate();const _0x8e3a5b=dirname(_0x50cb17);!existsSync(_0x8e3a5b)&&mkdirSync(_0x8e3a5b,{'recursive':!![]}),writeFileSync(_0x50cb17,_0x4adf07,_0x131367(0x11d));}export async function copyRulesToCursor(_0xc0448e){const _0xd4eb44=a255_0x3675,_0x1f23d6=join(_0xc0448e,_0xd4eb44(0x122)),_0x5d37e7=join(_0x1f23d6,_0xd4eb44(0x129));if(existsSync(_0x5d37e7))return![];return await writeRulesFile(_0x5d37e7),!![];}export async function copyRulesToAgentsMd(_0x2cac5f){const _0x436e2f=join(_0x2cac5f,'agents.md');if(existsSync(_0x436e2f))return![];return await writeRulesFile(_0x436e2f),!![];}
@@ -1 +1 @@
1
- export function sleep(_0xe1fe75){return new Promise(_0x21199a=>setTimeout(_0x21199a,_0xe1fe75));}
1
+ export function sleep(_0x3148e2){return new Promise(_0x310851=>setTimeout(_0x310851,_0x3148e2));}
@@ -1 +1 @@
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
+ function a257_0x5a72(){const _0x16fe83=['datasetCode:\x20\x22','.tsx','datasetCode','formatLocalTimestamp','replaceContent','slice','getMinutes','default','52IzBbie','now','push','charAt','utf8','开始处理模板内容替换','.jsx','name','2133880ZDAuiY','split','padStart','processFile','\x0a\x20\x20\x20\x20{\x20','tableName:\x20\x22','extname','LOVRABET','3184587QmMbdq','getFullYear','template','endsWith','getMonth','.js','32772RPSdqY','replace','readFile','isFile','23588MJeWyq','getSeconds','replaceApiContent','error','message','toUpperCase','58BuZpQs','pad','success','模板内容替换失败','toComponentName','toISOString','.md','writeFile','getDate','13851717jufFxy','map','模板内容替换完成','join','alias','pop','promises','toDisplayTitle','copyFile','2696smORGE','tableName','.tpl','isDirectory','.scss','6fXNGyr','17127vbcooY','alias:\x20\x22','mkdir','readdir','.json','processDirectory','2006700JwCkkt','toLowerCase','includes'];a257_0x5a72=function(){return _0x16fe83;};return a257_0x5a72();}const a257_0x3a67e8=a257_0x521d;(function(_0x50a947,_0xdf850b){const _0x10d8be=a257_0x521d,_0x305e4f=_0x50a947();while(!![]){try{const _0x5a8570=-parseInt(_0x10d8be(0x1b5))/0x1*(-parseInt(_0x10d8be(0x1af))/0x2)+-parseInt(_0x10d8be(0x1ab))/0x3*(-parseInt(_0x10d8be(0x195))/0x4)+parseInt(_0x10d8be(0x19d))/0x5+-parseInt(_0x10d8be(0x183))/0x6*(parseInt(_0x10d8be(0x1a5))/0x7)+-parseInt(_0x10d8be(0x17e))/0x8*(-parseInt(_0x10d8be(0x184))/0x9)+parseInt(_0x10d8be(0x18a))/0xa+-parseInt(_0x10d8be(0x1be))/0xb;if(_0x5a8570===_0xdf850b)break;else _0x305e4f['push'](_0x305e4f['shift']());}catch(_0xe9d4){_0x305e4f['push'](_0x305e4f['shift']());}}}(a257_0x5a72,0x5ced9));import a257_0x4dfd38 from'node:fs';import a257_0x681b0c from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();function a257_0x521d(_0x157926,_0x418d79){_0x157926=_0x157926-0x17d;const _0x5a722c=a257_0x5a72();let _0x521df9=_0x5a722c[_0x157926];return _0x521df9;}export class TemplateReplacer{static[a257_0x3a67e8(0x1b6)](_0x4b71b2){const _0x47207b=a257_0x3a67e8;return String(_0x4b71b2)[_0x47207b(0x19f)](0x2,'0');}static[a257_0x3a67e8(0x190)](_0x246299){const _0x2c4c0b=a257_0x3a67e8,_0x2eeb9b=_0x246299[_0x2c4c0b(0x1a6)](),_0x263b36=this[_0x2c4c0b(0x1b6)](_0x246299[_0x2c4c0b(0x1a9)]()+0x1),_0xc9eb2d=this[_0x2c4c0b(0x1b6)](_0x246299[_0x2c4c0b(0x1bd)]()),_0x41d097=this[_0x2c4c0b(0x1b6)](_0x246299['getHours']()),_0x16d06f=this[_0x2c4c0b(0x1b6)](_0x246299[_0x2c4c0b(0x193)]()),_0x2ce9fa=this[_0x2c4c0b(0x1b6)](_0x246299[_0x2c4c0b(0x1b0)]());return{'createdAt':_0x2eeb9b+'-'+_0x263b36+'-'+_0xc9eb2d+'\x20'+_0x41d097+':'+_0x16d06f+':'+_0x2ce9fa,'createdDate':_0x2eeb9b+'-'+_0x263b36+'-'+_0xc9eb2d,'createdTime':_0x41d097+':'+_0x16d06f+':'+_0x2ce9fa};}static['toComponentName'](_0x5940fd){const _0x5f56d9=a257_0x3a67e8,_0x4332b2=_0x5940fd[_0x5f56d9(0x19e)]('/')[_0x5f56d9(0x1c3)]()||_0x5940fd;return _0x4332b2[_0x5f56d9(0x19e)]('-')[_0x5f56d9(0x1bf)](_0x148dc9=>_0x148dc9[_0x5f56d9(0x198)](0x0)[_0x5f56d9(0x1b4)]()+_0x148dc9[_0x5f56d9(0x192)](0x1)[_0x5f56d9(0x18b)]())[_0x5f56d9(0x1c1)]('');}static[a257_0x3a67e8(0x1c5)](_0x535f69){const _0x84509b=a257_0x3a67e8,_0x4e7e8f=_0x535f69[_0x84509b(0x19e)]('/')[_0x84509b(0x1c3)]()||_0x535f69;return _0x4e7e8f[_0x84509b(0x19e)]('-')[_0x84509b(0x1bf)](_0xa0ccd1=>_0xa0ccd1[_0x84509b(0x198)](0x0)[_0x84509b(0x1b4)]()+_0xa0ccd1['slice'](0x1)['toLowerCase']())[_0x84509b(0x1c1)]('\x20');}static['replaceContent'](_0x1f18ce,_0x3607ee,_0xdbc9f0){const _0x4927fb=a257_0x3a67e8,_0x4a44b4=this[_0x4927fb(0x1b9)](_0x3607ee),_0x29acf6=this[_0x4927fb(0x1c5)](_0x3607ee),{createdAt:_0x7b066e,createdDate:_0x1869b1,createdTime:_0x11a06c}=this[_0x4927fb(0x190)](new Date());let _0x56a5cf=_0x1f18ce[_0x4927fb(0x1ac)](/\{CliVersion\}/g,CLI_VERSION)[_0x4927fb(0x1ac)](/\{ComponentName\}/g,_0x4a44b4)[_0x4927fb(0x1ac)](/\{DisplayTitle\}/g,_0x29acf6)[_0x4927fb(0x1ac)](/\{PageName\}/g,_0x3607ee)[_0x4927fb(0x1ac)](/\{TemplateName\}/g,_0xdbc9f0)[_0x4927fb(0x1ac)](/\{CreatedAt\}/g,_0x7b066e)['replace'](/\{CreatedDate\}/g,_0x1869b1)[_0x4927fb(0x1ac)](/\{CreatedTime\}/g,_0x11a06c);return _0x56a5cf;}static[a257_0x3a67e8(0x1b1)](_0x3d30b4,_0x203f4e,_0x47fd8c,_0x2c0704,_0x124130,_0x5470c9,_0x29c4c2,_0x52207b){const _0x1e93ae=a257_0x3a67e8,_0x45232d=new Date(),_0x4c8da2=_0x45232d[_0x1e93ae(0x1ba)](),_0x508655=_0x47fd8c[_0x1e93ae(0x1bf)](_0x292bd3=>{const _0x43cc64=_0x1e93ae,_0x415ac3=[_0x43cc64(0x18d)+_0x292bd3[_0x43cc64(0x18f)]+'\x22',_0x43cc64(0x1a2)+_0x292bd3[_0x43cc64(0x17f)]+'\x22','name:\x20\x22'+_0x292bd3[_0x43cc64(0x19c)]+'\x22'];return _0x292bd3[_0x43cc64(0x1c2)]&&_0x415ac3[_0x43cc64(0x197)](_0x43cc64(0x185)+_0x292bd3[_0x43cc64(0x1c2)]+'\x22'),_0x43cc64(0x1a1)+_0x415ac3[_0x43cc64(0x1c1)](',\x20')+'\x20},';})[_0x1e93ae(0x1c1)](''),_0x56d395=_0x2c0704||_0x47fd8c[0x0]?.[_0x1e93ae(0x1c2)]||'YourModel';let _0xacb690=_0x3d30b4['replace'](/\{AppCode\}/g,_0x203f4e)['replace'](/\{ModelConfigs\}/g,_0x508655)[_0x1e93ae(0x1ac)](/\{ExampleModelName\}/g,_0x56d395)[_0x1e93ae(0x1ac)](/\{ApiFileName\}/g,_0x124130||'api')[_0x1e93ae(0x1ac)](/\{ConfigName\}/g,_0x5470c9||_0x1e93ae(0x194))[_0x1e93ae(0x1ac)](/\{ClientConfigParam\}/g,_0x29c4c2||'')[_0x1e93ae(0x1ac)](/\{VarPrefix\}/g,_0x52207b||_0x1e93ae(0x1a4))[_0x1e93ae(0x1ac)](/\{CreatedAt\}/g,_0x4c8da2);return _0xacb690;}static async['processTemplate'](_0x159b16,_0x4f6fd7,_0x1a3c7e,_0x4a4def,_0x403282=!![]){const _0x1ec31e=a257_0x3a67e8,_0x352568=Date['now']();try{_0x403282&&logger['info'](_0x1ec31e(0x1a7),_0x1ec31e(0x19a),{'templatePath':_0x159b16,'targetPath':_0x4f6fd7,'pageName':_0x1a3c7e,'templateName':_0x4a4def});await a257_0x4dfd38[_0x1ec31e(0x1c4)]['mkdir'](_0x4f6fd7,{'recursive':!![]}),await this['processDirectory'](_0x159b16,_0x4f6fd7,_0x1a3c7e,_0x4a4def);if(_0x403282){const _0x51a271=Date['now']()-_0x352568;logger[_0x1ec31e(0x1b7)](_0x1ec31e(0x1a7),_0x1ec31e(0x1c0),_0x51a271,{'pageName':_0x1a3c7e,'templateName':_0x4a4def});}}catch(_0x2ee39d){if(_0x403282){const _0xdcf89c=Date[_0x1ec31e(0x196)]()-_0x352568;logger[_0x1ec31e(0x1b2)](_0x1ec31e(0x1a7),_0x1ec31e(0x1b8),{'templatePath':_0x159b16,'targetPath':_0x4f6fd7,'pageName':_0x1a3c7e,'templateName':_0x4a4def,'error':_0x2ee39d instanceof Error?_0x2ee39d[_0x1ec31e(0x1b3)]:String(_0x2ee39d),'duration':_0xdcf89c});}throw _0x2ee39d;}}static async[a257_0x3a67e8(0x189)](_0x40da93,_0x1b5ec7,_0x2853e0,_0x132743){const _0x33f9cc=a257_0x3a67e8,_0xa2283b=await a257_0x4dfd38[_0x33f9cc(0x1c4)][_0x33f9cc(0x187)](_0x40da93,{'withFileTypes':!![]});for(const _0x9a9306 of _0xa2283b){const _0x5e4990=a257_0x681b0c[_0x33f9cc(0x1c1)](_0x40da93,_0x9a9306['name']);let _0x1ae809=a257_0x681b0c[_0x33f9cc(0x1c1)](_0x1b5ec7,_0x9a9306[_0x33f9cc(0x19c)]);_0x9a9306[_0x33f9cc(0x19c)][_0x33f9cc(0x1a8)](_0x33f9cc(0x180))&&(_0x1ae809=a257_0x681b0c[_0x33f9cc(0x1c1)](_0x1b5ec7,_0x9a9306['name'][_0x33f9cc(0x1ac)](/\.tpl$/,'')));if(_0x9a9306[_0x33f9cc(0x181)]())await a257_0x4dfd38[_0x33f9cc(0x1c4)][_0x33f9cc(0x186)](_0x1ae809,{'recursive':!![]}),await this['processDirectory'](_0x5e4990,_0x1ae809,_0x2853e0,_0x132743);else _0x9a9306[_0x33f9cc(0x1ae)]()&&await this[_0x33f9cc(0x1a0)](_0x5e4990,_0x1ae809,_0x2853e0,_0x132743);}}static async[a257_0x3a67e8(0x1a0)](_0x266a10,_0x442b87,_0x5b6e77,_0x61a10f){const _0x53d769=a257_0x3a67e8,_0x3a6e23=a257_0x681b0c[_0x53d769(0x1a3)](_0x266a10)['toLowerCase']();_0x266a10[_0x53d769(0x1a8)](_0x53d769(0x180))&&(_0x442b87=_0x442b87[_0x53d769(0x1ac)](/\.tpl$/,''));const _0x3f6a4b=[_0x53d769(0x18e),'.ts',_0x53d769(0x19b),_0x53d769(0x1aa),_0x53d769(0x188),_0x53d769(0x1bb),'.css',_0x53d769(0x182),'.tpl'];if(_0x3f6a4b[_0x53d769(0x18c)](_0x3a6e23)||_0x266a10[_0x53d769(0x1a8)]('.tpl')){const _0x485ad5=await a257_0x4dfd38[_0x53d769(0x1c4)][_0x53d769(0x1ad)](_0x266a10,_0x53d769(0x199)),_0x3435d7=this[_0x53d769(0x191)](_0x485ad5,_0x5b6e77,_0x61a10f);await a257_0x4dfd38['promises'][_0x53d769(0x1bc)](_0x442b87,_0x3435d7,_0x53d769(0x199));}else await a257_0x4dfd38[_0x53d769(0x1c4)][_0x53d769(0x17d)](_0x266a10,_0x442b87);}}
@@ -1 +1 @@
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
+ (function(_0x51a13e,_0xd937a7){const _0x448bcc=a258_0x4732,_0x58f8c3=_0x51a13e();while(!![]){try{const _0x34c7d7=parseInt(_0x448bcc(0x176))/0x1+parseInt(_0x448bcc(0x184))/0x2+parseInt(_0x448bcc(0x18b))/0x3+parseInt(_0x448bcc(0x177))/0x4*(parseInt(_0x448bcc(0x181))/0x5)+parseInt(_0x448bcc(0x17e))/0x6*(-parseInt(_0x448bcc(0x175))/0x7)+-parseInt(_0x448bcc(0x179))/0x8+parseInt(_0x448bcc(0x18a))/0x9*(parseInt(_0x448bcc(0x182))/0xa);if(_0x34c7d7===_0xd937a7)break;else _0x58f8c3['push'](_0x58f8c3['shift']());}catch(_0x4d337e){_0x58f8c3['push'](_0x58f8c3['shift']());}}}(a258_0x1dda,0x9824e));function a258_0x1dda(){const _0x9c91d5=['lastNotifiedAt','gte','18QelPRb','326796hPYMdN','utf8','object','469lkAAXU','704944RBNHnU','4JliMMo','yes','6742784eniRty','\x20update','update-check.json','trim','parse','50826qrxdkc',',\x20run:\x20','valid','502595cONwQf','1006330CcNiZD','.cache','1835852zsMCNl','lastNotifiedVersion','toLowerCase','checkedAt'];a258_0x1dda=function(){return _0x9c91d5;};return a258_0x1dda();}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a258_0x42eb79 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 a258_0x4732(_0x43671d,_0x24400d){_0x43671d=_0x43671d-0x174;const _0x1ddacd=a258_0x1dda();let _0x4732a6=_0x1ddacd[_0x43671d];return _0x4732a6;}function isUpdateNoticeDisabled(){const _0x2662eb=a258_0x4732,_0x3b2c9d=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x2662eb(0x17c)]()[_0x2662eb(0x186)]();return _0x3b2c9d==='1'||_0x3b2c9d==='true'||_0x3b2c9d===_0x2662eb(0x178);}function cacheRoot(){const _0x11e98c=a258_0x4732;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x11e98c(0x183));}export function getUpdateNoticeCachePath(){const _0x5b818b=a258_0x4732;return join(cacheRoot(),'rabetbase-cli',_0x5b818b(0x17b));}async function readUpdateNoticeCache(){const _0x55e889=a258_0x4732;try{const _0x291825=await readFile(getUpdateNoticeCachePath(),_0x55e889(0x18c)),_0x3e2c7b=JSON[_0x55e889(0x17d)](_0x291825);if(!_0x3e2c7b||typeof _0x3e2c7b!==_0x55e889(0x174))return{};return _0x3e2c7b;}catch{return{};}}async function writeUpdateNoticeCache(_0x1c9cd5){try{const _0x1329be=getUpdateNoticeCachePath();await mkdir(dirname(_0x1329be),{'recursive':!![]}),await writeFile(_0x1329be,JSON['stringify'](_0x1c9cd5,null,0x2)+'\x0a','utf8');}catch{}}function isFreshCheck(_0x10f854,_0x258a0f){const _0x1cb982=a258_0x4732;return typeof _0x10f854[_0x1cb982(0x187)]==='number'&&_0x258a0f-_0x10f854[_0x1cb982(0x187)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x42a8f3,_0x517c25,_0xac44fe){const _0x15c133=a258_0x4732;return _0x42a8f3[_0x15c133(0x185)]===_0x517c25&&typeof _0x42a8f3[_0x15c133(0x188)]==='number'&&_0xac44fe-_0x42a8f3[_0x15c133(0x188)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x713cea){return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+'/v/'+_0x713cea;}export async function resolveLatestUpdateNotice(){const _0x297fdf=a258_0x4732;if(isUpdateNoticeDisabled())return null;try{const _0x2ee661=Date['now'](),_0x48a848=getCliVersion(),_0x2b83ab=await readUpdateNoticeCache();let _0x27d809=isFreshCheck(_0x2b83ab,_0x2ee661)?_0x2b83ab['latest']?.['trim']():undefined;if(!_0x27d809&&!isFreshCheck(_0x2b83ab,_0x2ee661)){const _0x2ea190=await getCliVersionPolicy();_0x27d809=_0x2ea190?.['stableVersion']?.[_0x297fdf(0x17c)]()||undefined,await writeUpdateNoticeCache({..._0x2b83ab,'checkedAt':_0x2ee661,'latest':_0x27d809,'failed':!_0x27d809});}if(!_0x27d809||!a258_0x42eb79[_0x297fdf(0x180)](_0x48a848)||!a258_0x42eb79[_0x297fdf(0x180)](_0x27d809))return null;if(a258_0x42eb79[_0x297fdf(0x189)](_0x48a848,_0x27d809))return null;if(isRecentlyNotified(_0x2b83ab,_0x27d809,_0x2ee661))return null;const _0x36f1ab=CLI_BIN_NAME+_0x297fdf(0x17a);return await writeUpdateNoticeCache({..._0x2b83ab,'checkedAt':isFreshCheck(_0x2b83ab,_0x2ee661)?_0x2b83ab['checkedAt']:_0x2ee661,'latest':_0x27d809,'failed':![],'lastNotifiedVersion':_0x27d809,'lastNotifiedAt':_0x2ee661}),{'command':_0x36f1ab,'current':_0x48a848,'latest':_0x27d809,'url':buildNpmVersionUrl(_0x27d809),'message':CLI_BIN_NAME+'\x20'+_0x27d809+'\x20available,\x20current\x20'+_0x48a848+_0x297fdf(0x17f)+_0x36f1ab};}catch{return null;}}
@@ -1 +1 @@
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
+ (function(_0x10b26d,_0x9a1545){var _0x992c95=a259_0x199a,_0x351d97=_0x10b26d();while(!![]){try{var _0x3ddda5=-parseInt(_0x992c95(0x79))/0x1*(-parseInt(_0x992c95(0x7f))/0x2)+parseInt(_0x992c95(0x7d))/0x3+-parseInt(_0x992c95(0x7b))/0x4+-parseInt(_0x992c95(0x80))/0x5+-parseInt(_0x992c95(0x7e))/0x6*(parseInt(_0x992c95(0x82))/0x7)+-parseInt(_0x992c95(0x7c))/0x8*(-parseInt(_0x992c95(0x83))/0x9)+-parseInt(_0x992c95(0x81))/0xa*(-parseInt(_0x992c95(0x7a))/0xb);if(_0x3ddda5===_0x9a1545)break;else _0x351d97['push'](_0x351d97['shift']());}catch(_0x44827f){_0x351d97['push'](_0x351d97['shift']());}}}(a259_0x21c7,0x237f2));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a259_0x199a(_0x46a04a,_0x243122){_0x46a04a=_0x46a04a-0x79;var _0x21c7d9=a259_0x21c7();var _0x199ab7=_0x21c7d9[_0x46a04a];return _0x199ab7;}function a259_0x21c7(){var _0x12f8d5=['567RdOImW','909DqNMFk','1OePpYP','401170QnURck','762900dcBvKL','12112KYPCfX','245190YCwTuY','10284jypJOq','474662IgAOhl','1443910WZuNKy','80buVand'];a259_0x21c7=function(){return _0x12f8d5;};return a259_0x21c7();}
@@ -1 +1 @@
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
+ function a260_0x4791(){var _0x1ce4e3=['19580oLkjfn','2755208GpvHjz','16170348gXrEty','1512838fkPtqA','11DmoKZW','100BztqvG','128664YANSNi','99415LACZYU','16BDEELw','3SAqVQG','228lGLqAD','796383ngjVza'];a260_0x4791=function(){return _0x1ce4e3;};return a260_0x4791();}(function(_0x471500,_0x530384){var _0x38ae71=a260_0x6df9,_0xb4b635=_0x471500();while(!![]){try{var _0x238443=parseInt(_0x38ae71(0x1a1))/0x1+-parseInt(_0x38ae71(0x1a4))/0x2*(parseInt(_0x38ae71(0x19e))/0x3)+parseInt(_0x38ae71(0x1a2))/0x4+parseInt(_0x38ae71(0x19c))/0x5*(-parseInt(_0x38ae71(0x19f))/0x6)+-parseInt(_0x38ae71(0x1a0))/0x7*(parseInt(_0x38ae71(0x19d))/0x8)+-parseInt(_0x38ae71(0x19b))/0x9*(-parseInt(_0x38ae71(0x19a))/0xa)+parseInt(_0x38ae71(0x1a5))/0xb*(parseInt(_0x38ae71(0x1a3))/0xc);if(_0x238443===_0x530384)break;else _0xb4b635['push'](_0xb4b635['shift']());}catch(_0xd0552e){_0xb4b635['push'](_0xb4b635['shift']());}}}(a260_0x4791,0x70260));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a260_0x6df9(_0x40d61e,_0xfdae6e){_0x40d61e=_0x40d61e-0x19a;var _0x4791d8=a260_0x4791();var _0x6df9f4=_0x4791d8[_0x40d61e];return _0x6df9f4;}export async function withActiveCookie(_0x24b8c2,_0x558a34){setActiveCookie(_0x24b8c2);try{return await _0x558a34();}finally{clearActiveCookie();}}
@@ -1 +1 @@
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();}
1
+ (function(_0x551c5e,_0x1f46bc){var _0x38ca7d=a261_0x222e,_0x375f4a=_0x551c5e();while(!![]){try{var _0x307b99=parseInt(_0x38ca7d(0x140))/0x1*(parseInt(_0x38ca7d(0x144))/0x2)+-parseInt(_0x38ca7d(0x142))/0x3*(parseInt(_0x38ca7d(0x146))/0x4)+-parseInt(_0x38ca7d(0x13f))/0x5+parseInt(_0x38ca7d(0x147))/0x6+parseInt(_0x38ca7d(0x13d))/0x7+parseInt(_0x38ca7d(0x143))/0x8+parseInt(_0x38ca7d(0x13e))/0x9*(-parseInt(_0x38ca7d(0x145))/0xa);if(_0x307b99===_0x1f46bc)break;else _0x375f4a['push'](_0x375f4a['shift']());}catch(_0x311cc0){_0x375f4a['push'](_0x375f4a['shift']());}}}(a261_0x288d,0xd973c));function a261_0x288d(){var _0xd05c93=['996MlKfva','6473862ySdNwq','stderr','9612169MqpCxY','36pdbpdz','3599990AnpDrn','1BBwHCd','write','20301EvIPuF','1437152FgaGix','2120578eAlQev','991030HjnYeo'];a261_0x288d=function(){return _0xd05c93;};return a261_0x288d();}function a261_0x222e(_0x5baa65,_0x4a98c9){_0x5baa65=_0x5baa65-0x13c;var _0x288d62=a261_0x288d();var _0x222e67=_0x288d62[_0x5baa65];return _0x222e67;}export function writeCliSideChannelLine(_0x156b3f){var _0x2cab86=a261_0x222e;process[_0x2cab86(0x13c)][_0x2cab86(0x141)](_0x156b3f+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.9-beta.3",
3
+ "version": "2.3.9",
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": [