@lovrabet/rabetbase-cli 2.5.2-beta.6 → 2.5.2-beta.7

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 (322) 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/api/generate-sdk-config-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.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/members-list.js +1 -1
  23. package/lib/commands/app/remote-directory.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/delete.js +1 -1
  53. package/lib/commands/config/get.js +1 -1
  54. package/lib/commands/config/index.js +1 -1
  55. package/lib/commands/config/init.js +1 -1
  56. package/lib/commands/config/list.js +1 -1
  57. package/lib/commands/config/set.js +1 -1
  58. package/lib/commands/config/shared.js +1 -1
  59. package/lib/commands/dataset/business-group-update.js +1 -1
  60. package/lib/commands/dataset/business-groups.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-restore.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/dataset/user-deleted-field-list.js +1 -1
  80. package/lib/commands/db/analysis-batching.js +1 -1
  81. package/lib/commands/db/analyze-batch-plan.js +1 -1
  82. package/lib/commands/db/analyze-cancel.js +1 -1
  83. package/lib/commands/db/analyze-start.js +1 -1
  84. package/lib/commands/db/analyze-status.js +1 -1
  85. package/lib/commands/db/create.js +1 -1
  86. package/lib/commands/db/delete.js +1 -1
  87. package/lib/commands/db/detail.js +1 -1
  88. package/lib/commands/db/diff-refresh-start.js +1 -1
  89. package/lib/commands/db/diff-refresh-status.js +1 -1
  90. package/lib/commands/db/diff.js +1 -1
  91. package/lib/commands/db/index.js +1 -1
  92. package/lib/commands/db/list.js +1 -1
  93. package/lib/commands/db/shared.js +1 -1
  94. package/lib/commands/db/table-diff-shared.js +1 -1
  95. package/lib/commands/db/tables.js +1 -1
  96. package/lib/commands/db/test.js +1 -1
  97. package/lib/commands/db/update.js +1 -1
  98. package/lib/commands/deployment/index.js +1 -1
  99. package/lib/commands/deployment/sync-all.js +1 -1
  100. package/lib/commands/deployment/sync-jobs.js +1 -1
  101. package/lib/commands/deployment/sync-status.js +1 -1
  102. package/lib/commands/doctor.js +1 -1
  103. package/lib/commands/file/index.js +1 -1
  104. package/lib/commands/instant-api-policy/current.js +1 -1
  105. package/lib/commands/instant-api-policy/index.js +1 -1
  106. package/lib/commands/instant-api-policy/init.js +1 -1
  107. package/lib/commands/instant-api-policy/publish.js +1 -1
  108. package/lib/commands/instant-api-policy/pull.js +1 -1
  109. package/lib/commands/instant-api-policy/revision.js +1 -1
  110. package/lib/commands/instant-api-policy/revisions.js +1 -1
  111. package/lib/commands/instant-api-policy/rollback.js +1 -1
  112. package/lib/commands/instant-api-policy/shared.js +1 -1
  113. package/lib/commands/instant-api-policy/validate.js +1 -1
  114. package/lib/commands/issue/index.js +1 -1
  115. package/lib/commands/issue/nudge.js +1 -1
  116. package/lib/commands/issue/report.js +1 -1
  117. package/lib/commands/issue/shared.js +1 -1
  118. package/lib/commands/kb/create.js +1 -1
  119. package/lib/commands/kb/delete.js +1 -1
  120. package/lib/commands/kb/detail.js +1 -1
  121. package/lib/commands/kb/index.js +1 -1
  122. package/lib/commands/kb/list.js +1 -1
  123. package/lib/commands/kb/search.js +1 -1
  124. package/lib/commands/kb/shared.js +1 -1
  125. package/lib/commands/kb/update.js +1 -1
  126. package/lib/commands/logs/index.js +1 -1
  127. package/lib/commands/menu/asset-update.js +1 -1
  128. package/lib/commands/menu/delete.js +1 -1
  129. package/lib/commands/menu/external-link-create.js +1 -1
  130. package/lib/commands/menu/external-link-update.js +1 -1
  131. package/lib/commands/menu/group-create.js +1 -1
  132. package/lib/commands/menu/group-update.js +1 -1
  133. package/lib/commands/menu/index.js +1 -1
  134. package/lib/commands/menu/list.js +1 -1
  135. package/lib/commands/menu/move.js +1 -1
  136. package/lib/commands/menu/regroup-start.js +1 -1
  137. package/lib/commands/menu/rename.js +1 -1
  138. package/lib/commands/menu/shared/compare-table.js +1 -1
  139. package/lib/commands/menu/shared/delete-plan.js +1 -1
  140. package/lib/commands/menu/shared/facts.js +1 -1
  141. package/lib/commands/menu/shared/index.js +1 -1
  142. package/lib/commands/menu/shared/inquirer.js +1 -1
  143. package/lib/commands/menu/shared/local-pages.js +1 -1
  144. package/lib/commands/menu/shared/logic.js +1 -1
  145. package/lib/commands/menu/shared/mutations.js +1 -1
  146. package/lib/commands/menu/shared/service.js +1 -1
  147. package/lib/commands/menu/shared/sync-core.js +1 -1
  148. package/lib/commands/menu/shared/update-core.js +1 -1
  149. package/lib/commands/menu/shared/valid-url.js +1 -1
  150. package/lib/commands/menu/sync.js +1 -1
  151. package/lib/commands/menu/visibility-update.js +1 -1
  152. package/lib/commands/notification/config-create.js +1 -1
  153. package/lib/commands/notification/config-delete.js +1 -1
  154. package/lib/commands/notification/config-list.js +1 -1
  155. package/lib/commands/notification/config-update.js +1 -1
  156. package/lib/commands/notification/index.js +1 -1
  157. package/lib/commands/notification/shared.js +1 -1
  158. package/lib/commands/ocr/index.js +1 -1
  159. package/lib/commands/page/create.js +1 -1
  160. package/lib/commands/page/custom/detail.js +1 -1
  161. package/lib/commands/page/custom/list.js +1 -1
  162. package/lib/commands/page/custom/publish.js +1 -1
  163. package/lib/commands/page/custom/shared.js +1 -1
  164. package/lib/commands/page/custom/syntax.js +1 -1
  165. package/lib/commands/page/custom/update.js +1 -1
  166. package/lib/commands/page/data-list-status.js +1 -1
  167. package/lib/commands/page/generate-start.js +1 -1
  168. package/lib/commands/page/generate-status.js +1 -1
  169. package/lib/commands/page/index.js +1 -1
  170. package/lib/commands/page/pull.js +1 -1
  171. package/lib/commands/page/push.js +1 -1
  172. package/lib/commands/page/relation-audit.js +1 -1
  173. package/lib/commands/page/restore.js +1 -1
  174. package/lib/commands/page/shared.js +1 -1
  175. package/lib/commands/page/sync.js +1 -1
  176. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  177. package/lib/commands/project/create/format-elapsed.js +1 -1
  178. package/lib/commands/project/create/main.js +1 -1
  179. package/lib/commands/project/create/materialize-project-template.js +1 -1
  180. package/lib/commands/project/create/project-name.js +1 -1
  181. package/lib/commands/project/create/project-template-archive.js +1 -1
  182. package/lib/commands/project/create/project-template-path.js +1 -1
  183. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  184. package/lib/commands/project/create/use-format-code.js +1 -1
  185. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  186. package/lib/commands/project/domain-routing-sync.js +1 -1
  187. package/lib/commands/project/index.js +1 -1
  188. package/lib/commands/project/upgrade.js +1 -1
  189. package/lib/commands/registry.js +1 -1
  190. package/lib/commands/role/delete.js +1 -1
  191. package/lib/commands/role/detail.js +1 -1
  192. package/lib/commands/role/index.js +1 -1
  193. package/lib/commands/role/list.js +1 -1
  194. package/lib/commands/role/shared.js +1 -1
  195. package/lib/commands/role/update.js +1 -1
  196. package/lib/commands/role/user-add.js +1 -1
  197. package/lib/commands/role/user-remove.js +1 -1
  198. package/lib/commands/role/user-resolve.js +1 -1
  199. package/lib/commands/rule/get.js +1 -1
  200. package/lib/commands/rule/index.js +1 -1
  201. package/lib/commands/rule/list.js +1 -1
  202. package/lib/commands/rule/set.js +1 -1
  203. package/lib/commands/rule/shared.js +1 -1
  204. package/lib/commands/run/index.js +1 -1
  205. package/lib/commands/schema.js +1 -1
  206. package/lib/commands/sql/create.js +1 -1
  207. package/lib/commands/sql/delete.js +1 -1
  208. package/lib/commands/sql/detail.js +1 -1
  209. package/lib/commands/sql/exec.js +1 -1
  210. package/lib/commands/sql/index.js +1 -1
  211. package/lib/commands/sql/list.js +1 -1
  212. package/lib/commands/sql/pull.js +1 -1
  213. package/lib/commands/sql/push.js +1 -1
  214. package/lib/commands/sql/shared.js +1 -1
  215. package/lib/commands/sql/status.js +1 -1
  216. package/lib/commands/sql/validate.js +1 -1
  217. package/lib/commands/task/index.js +1 -1
  218. package/lib/commands/task/status.js +1 -1
  219. package/lib/commands/tenant/index.js +1 -1
  220. package/lib/commands/tenant/members-list.js +1 -1
  221. package/lib/commands/tenant/shared.js +1 -1
  222. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  223. package/lib/commands/user-account/index.js +1 -1
  224. package/lib/commands/workspace/add.js +1 -1
  225. package/lib/commands/workspace/index.js +1 -1
  226. package/lib/commands/workspace/remove.js +1 -1
  227. package/lib/config/domain-config.js +1 -1
  228. package/lib/config/project-domain-routing.js +1 -1
  229. package/lib/config/schema.js +1 -1
  230. package/lib/constant/cdn.js +1 -1
  231. package/lib/constant/cli.js +1 -1
  232. package/lib/constant/defaults.js +1 -1
  233. package/lib/constant/domain.js +1 -1
  234. package/lib/constant/env.js +1 -1
  235. package/lib/constant/output.js +1 -1
  236. package/lib/constant/paths.js +1 -1
  237. package/lib/constant/region.js +1 -1
  238. package/lib/constant/risk.js +1 -1
  239. package/lib/constant/routing-profile.js +1 -1
  240. package/lib/context/app-resolver.js +1 -1
  241. package/lib/context/auth-resolver.js +1 -1
  242. package/lib/context/config-loader.js +1 -1
  243. package/lib/context.js +1 -1
  244. package/lib/core/alias-resolver.js +1 -1
  245. package/lib/core/api-client.js +1 -1
  246. package/lib/core/bff/config.js +1 -1
  247. package/lib/core/bff/file-system.js +1 -1
  248. package/lib/core/bff/hash.js +1 -1
  249. package/lib/core/bff/lock.js +1 -1
  250. package/lib/core/bff/utils.js +1 -1
  251. package/lib/core/db-resolver.js +1 -1
  252. package/lib/core/instant-api-policy/config.js +1 -1
  253. package/lib/core/kb-search-client.js +1 -1
  254. package/lib/core/page/file-system.js +1 -1
  255. package/lib/core/page/hash.js +1 -1
  256. package/lib/core/page/lock.js +1 -1
  257. package/lib/core/sql-index-auditor.js +1 -1
  258. package/lib/core/sql-sync/config.js +1 -1
  259. package/lib/core/sql-sync/file-system.js +1 -1
  260. package/lib/core/sql-sync/hash.js +1 -1
  261. package/lib/core/sql-sync/lock.js +1 -1
  262. package/lib/core/sql-sync/utils.js +1 -1
  263. package/lib/core/sql-validator.js +1 -1
  264. package/lib/errors.js +1 -1
  265. package/lib/framework/build-all-flags.js +1 -1
  266. package/lib/framework/error-output.js +1 -1
  267. package/lib/framework/explicit-yes.js +1 -1
  268. package/lib/framework/flags.js +1 -1
  269. package/lib/framework/help.js +1 -1
  270. package/lib/framework/index.js +1 -1
  271. package/lib/framework/output.js +1 -1
  272. package/lib/framework/response.js +1 -1
  273. package/lib/framework/runner-alias.js +1 -1
  274. package/lib/framework/runner.js +1 -1
  275. package/lib/framework/schema-export.js +1 -1
  276. package/lib/framework/supported-flags.js +1 -1
  277. package/lib/framework/types.js +1 -1
  278. package/lib/generated/build-info.d.ts +4 -4
  279. package/lib/generated/build-info.js +1 -1
  280. package/lib/generated/official-routing.js +1 -1
  281. package/lib/generated/routing-contract.js +1 -1
  282. package/lib/help.js +1 -1
  283. package/lib/postinstall.js +1 -1
  284. package/lib/runtime/confirmation.js +1 -1
  285. package/lib/runtime/event.js +1 -1
  286. package/lib/runtime/index.js +1 -1
  287. package/lib/runtime/queue.js +1 -1
  288. package/lib/runtime/resolve.js +1 -1
  289. package/lib/skills/builtin-skill.js +1 -1
  290. package/lib/skills/main.js +1 -1
  291. package/lib/skills/npx-skills-add.js +1 -1
  292. package/lib/skills/skill-presence.js +1 -1
  293. package/lib/telemetry/cli-command-trace.js +1 -1
  294. package/lib/telemetry/cli-help-trace.js +1 -1
  295. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  296. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  297. package/lib/telemetry/send-cli-trace-log.js +1 -1
  298. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  299. package/lib/utils/ai_config.js +1 -1
  300. package/lib/utils/apply-jq-filter.js +1 -1
  301. package/lib/utils/cdn-config.js +1 -1
  302. package/lib/utils/check-sdk-version.js +1 -1
  303. package/lib/utils/cli-version-check.js +1 -1
  304. package/lib/utils/cli-version-policy.js +1 -1
  305. package/lib/utils/config.js +1 -1
  306. package/lib/utils/entity-with-id.js +1 -1
  307. package/lib/utils/file-utils.js +1 -1
  308. package/lib/utils/guides-cdn.js +1 -1
  309. package/lib/utils/http-client.js +1 -1
  310. package/lib/utils/is-non-interactive.js +1 -1
  311. package/lib/utils/logger.js +1 -1
  312. package/lib/utils/params.js +1 -1
  313. package/lib/utils/platform.js +1 -1
  314. package/lib/utils/sleep.js +1 -1
  315. package/lib/utils/template-replacer.js +1 -1
  316. package/lib/utils/update-notice.js +1 -1
  317. package/lib/utils/version.js +1 -1
  318. package/lib/utils/with-active-cookie.js +1 -1
  319. package/lib/utils/write-cli-side-channel.js +1 -1
  320. package/package.json +1 -1
  321. package/skills/rabetbase/SKILL.md +1 -1
  322. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- function a312_0x528f(_0x314c47,_0xfc57d5){_0x314c47=_0x314c47-0x110;const _0x3583de=a312_0x3583();let _0x528f9b=_0x3583de[_0x314c47];return _0x528f9b;}const a312_0x74f0a9=a312_0x528f;(function(_0x594371,_0x3d3087){const _0x405cb6=a312_0x528f,_0x4996ac=_0x594371();while(!![]){try{const _0x3c79b4=parseInt(_0x405cb6(0x123))/0x1*(-parseInt(_0x405cb6(0x12a))/0x2)+parseInt(_0x405cb6(0x121))/0x3*(parseInt(_0x405cb6(0x110))/0x4)+parseInt(_0x405cb6(0x117))/0x5*(-parseInt(_0x405cb6(0x111))/0x6)+parseInt(_0x405cb6(0x118))/0x7*(-parseInt(_0x405cb6(0x131))/0x8)+parseInt(_0x405cb6(0x11f))/0x9*(-parseInt(_0x405cb6(0x115))/0xa)+parseInt(_0x405cb6(0x12b))/0xb*(parseInt(_0x405cb6(0x133))/0xc)+parseInt(_0x405cb6(0x11c))/0xd*(parseInt(_0x405cb6(0x134))/0xe);if(_0x3c79b4===_0x3d3087)break;else _0x4996ac['push'](_0x4996ac['shift']());}catch(_0x37db23){_0x4996ac['push'](_0x4996ac['shift']());}}}(a312_0x3583,0x57ef6));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0x4544f0=getTemplateBaseUrl();return _0x4544f0+'/skills/guides.json';}function a312_0x3583(){const _0x682d18=['title','trimEnd','object','2iOGUWh','11CssqnR','cache','status','lastUpdated','json','length','280GlqImM','join','4788804XIUuJY','16688ectAze','guides','application/json','1121556fIQIYc','3661212NRlxjy','.lovrabet','utf-8','statusText','20XgzRHP','skillTemplate','5rNrNGd','28973kDDoln','entries','.md','.lovrabet/skill/guides','10309DDpWvo','CDN\x20data\x20is\x20missing\x20skillTemplate','\x0a\x0a>更新时间:','2484018FcwrJH','content','6StDZOP','replace','237848ccZyWM','extendContent','CDN\x20returned\x20invalid\x20data','push'];a312_0x3583=function(){return _0x682d18;};return a312_0x3583();}const CACHE_DIR=join(homedir(),a312_0x74f0a9(0x112),a312_0x74f0a9(0x12c));export async function fetchGuidesFromCDN(){const _0x4c5de0=a312_0x74f0a9,_0xff9a4c=getGuidesCdnUrl(),_0x47936b=await fetch(_0xff9a4c,{'headers':{'Accept':_0x4c5de0(0x136)}});if(!_0x47936b['ok'])throw new Error('CDN\x20request\x20failed:\x20'+_0x47936b[_0x4c5de0(0x12d)]+'\x20'+_0x47936b[_0x4c5de0(0x114)]);const _0x2d5626=await _0x47936b[_0x4c5de0(0x12f)]();if(!_0x2d5626[_0x4c5de0(0x135)]||typeof _0x2d5626['guides']!==_0x4c5de0(0x129))throw new Error(_0x4c5de0(0x125));return _0x2d5626;}export function writeGuidesToProject(_0x3ab540,_0x4b3c57,_0x354dda=a312_0x74f0a9(0x11b),_0xffa963){const _0x374a04=a312_0x74f0a9,_0x280fc1=join(_0x4b3c57,_0x354dda);mkdirSync(_0x280fc1,{'recursive':!![]});for(const [_0x11efcd,_0x3375c2]of Object[_0x374a04(0x119)](_0x3ab540[_0x374a04(0x135)])){let _0x2f73fc=_0x3375c2[_0x374a04(0x120)];_0x3375c2[_0x374a04(0x12e)]&&(_0x2f73fc=appendUpdateTime(_0x2f73fc,_0x3375c2[_0x374a04(0x12e)])),writeFileSync(join(_0x280fc1,_0x11efcd+_0x374a04(0x11a)),_0x2f73fc,_0x374a04(0x113));}}export function appendUpdateTime(_0x3c819a,_0x132aaa){const _0x5254c1=a312_0x74f0a9;return _0x3c819a=_0x3c819a[_0x5254c1(0x122)](/\n*>更新时间:.*$/m,''),_0x3c819a[_0x5254c1(0x128)]()+(_0x5254c1(0x11e)+_0x132aaa);}export function getSkillTemplate(_0x21e8da){const _0x243ad8=a312_0x74f0a9;return _0x21e8da[_0x243ad8(0x116)]?.[_0x243ad8(0x120)]||'';}export function appendExtendContents(_0x327ffe,_0x4f1e0a,_0x4e766d){const _0x293e2e=a312_0x74f0a9,_0x4c19c2=[];for(const [,_0x5d1447]of Object[_0x293e2e(0x119)](_0x4f1e0a[_0x293e2e(0x135)])){_0x5d1447[_0x293e2e(0x124)]&&_0x4c19c2[_0x293e2e(0x126)](_0x5d1447[_0x293e2e(0x124)][_0x293e2e(0x128)]());}if(_0x4c19c2[_0x293e2e(0x130)]===0x0)return _0x327ffe;return _0x327ffe['trimEnd']()+'\x0a\x0a'+_0x4c19c2[_0x293e2e(0x132)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x270d90,_0x19ad84,_0x2bfadb){const _0x1debba=a312_0x74f0a9,_0x406b96=getSkillTemplate(_0x270d90);if(!_0x406b96)throw new Error(_0x1debba(0x11d));const _0x28f0cc=dirname(_0x19ad84);mkdirSync(_0x28f0cc,{'recursive':!![]});let _0x1cdc5d=_0x406b96['replace'](/\{\{IDE_NAME\}\}/g,_0x2bfadb);_0x1cdc5d=appendExtendContents(_0x1cdc5d,_0x270d90),_0x270d90[_0x1debba(0x116)][_0x1debba(0x12e)]&&(_0x1cdc5d=appendUpdateTime(_0x1cdc5d,_0x270d90[_0x1debba(0x116)]['lastUpdated'])),writeFileSync(_0x19ad84,_0x1cdc5d,'utf-8');}export async function installGuides(_0x3113b5){const _0x346cdc=a312_0x74f0a9,_0x28f1a8=await fetchGuidesFromCDN();return writeGuidesToProject(_0x28f1a8,_0x3113b5),Object['keys'](_0x28f1a8['guides'])[_0x346cdc(0x130)];}export function getGuidesSummary(_0x51d070){const _0x286cfa=a312_0x74f0a9;return Object[_0x286cfa(0x119)](_0x51d070['guides'])['map'](([_0x166a65,_0x37a346])=>({'key':_0x166a65,'title':_0x37a346[_0x286cfa(0x127)],'path':_0x37a346['path']}));}
1
+ const a312_0x2145ef=a312_0xec9c;(function(_0x4540bb,_0x51fe0b){const _0x232fb9=a312_0xec9c,_0xf690cc=_0x4540bb();while(!![]){try{const _0x445ce2=-parseInt(_0x232fb9(0x1c8))/0x1+-parseInt(_0x232fb9(0x1ce))/0x2*(parseInt(_0x232fb9(0x1c1))/0x3)+-parseInt(_0x232fb9(0x1c5))/0x4*(parseInt(_0x232fb9(0x1ca))/0x5)+parseInt(_0x232fb9(0x1c7))/0x6*(-parseInt(_0x232fb9(0x1d9))/0x7)+-parseInt(_0x232fb9(0x1e0))/0x8*(-parseInt(_0x232fb9(0x1cb))/0x9)+-parseInt(_0x232fb9(0x1d0))/0xa*(-parseInt(_0x232fb9(0x1db))/0xb)+parseInt(_0x232fb9(0x1e4))/0xc;if(_0x445ce2===_0x51fe0b)break;else _0xf690cc['push'](_0xf690cc['shift']());}catch(_0x2f2c0d){_0xf690cc['push'](_0xf690cc['shift']());}}}(a312_0x3ddf,0x30954));import{mkdirSync,writeFileSync}from'node:fs';import{dirname,join}from'node:path';import{homedir}from'node:os';import{getTemplateBaseUrl}from'../utils/config.js';function getGuidesCdnUrl(){const _0xce83d8=a312_0xec9c,_0x2ca3d6=getTemplateBaseUrl();return _0x2ca3d6+_0xce83d8(0x1c3);}const CACHE_DIR=join(homedir(),a312_0x2145ef(0x1d2),a312_0x2145ef(0x1dd));export async function fetchGuidesFromCDN(){const _0x4c9a43=a312_0x2145ef,_0x41fc57=getGuidesCdnUrl(),_0x2a044d=await fetch(_0x41fc57,{'headers':{'Accept':_0x4c9a43(0x1d3)}});if(!_0x2a044d['ok'])throw new Error('CDN\x20request\x20failed:\x20'+_0x2a044d[_0x4c9a43(0x1bf)]+'\x20'+_0x2a044d[_0x4c9a43(0x1d5)]);const _0x47e35a=await _0x2a044d[_0x4c9a43(0x1cc)]();if(!_0x47e35a[_0x4c9a43(0x1c4)]||typeof _0x47e35a[_0x4c9a43(0x1c4)]!==_0x4c9a43(0x1da))throw new Error('CDN\x20returned\x20invalid\x20data');return _0x47e35a;}function a312_0x3ddf(){const _0x480034=['extendContent','320028ajQfzK','49445eRsruW','utf-8','330985EYqSQb','34443qYVpWH','json','lastUpdated','585232xDwZkb','entries','2131430TqvZrx','skillTemplate','.lovrabet','application/json','path','statusText','title','.lovrabet/skill/guides','join','28XLTKcj','object','11LxCznI','replace','cache','\x0a\x0a>更新时间:','content','72vRLyAs','CDN\x20data\x20is\x20missing\x20skillTemplate','map','length','7670604ZqmbKq','trimEnd','status','push','3TvkzGh','keys','/skills/guides.json','guides','8dZdZlR'];a312_0x3ddf=function(){return _0x480034;};return a312_0x3ddf();}export function writeGuidesToProject(_0x402ab1,_0x490954,_0x5090af=a312_0x2145ef(0x1d7),_0x306054){const _0x59fdb3=a312_0x2145ef,_0x4199d6=join(_0x490954,_0x5090af);mkdirSync(_0x4199d6,{'recursive':!![]});for(const [_0x49e9c5,_0x37cbd8]of Object[_0x59fdb3(0x1cf)](_0x402ab1['guides'])){let _0x10a1b6=_0x37cbd8['content'];_0x37cbd8[_0x59fdb3(0x1cd)]&&(_0x10a1b6=appendUpdateTime(_0x10a1b6,_0x37cbd8[_0x59fdb3(0x1cd)])),writeFileSync(join(_0x4199d6,_0x49e9c5+'.md'),_0x10a1b6,'utf-8');}}function a312_0xec9c(_0xe45a99,_0x471620){_0xe45a99=_0xe45a99-0x1be;const _0x3ddf08=a312_0x3ddf();let _0xec9c20=_0x3ddf08[_0xe45a99];return _0xec9c20;}export function appendUpdateTime(_0x3bc8ef,_0x3ffaff){const _0x1bc2fb=a312_0x2145ef;return _0x3bc8ef=_0x3bc8ef[_0x1bc2fb(0x1dc)](/\n*>更新时间:.*$/m,''),_0x3bc8ef[_0x1bc2fb(0x1be)]()+(_0x1bc2fb(0x1de)+_0x3ffaff);}export function getSkillTemplate(_0x5bae2c){const _0x2e46b0=a312_0x2145ef;return _0x5bae2c[_0x2e46b0(0x1d1)]?.[_0x2e46b0(0x1df)]||'';}export function appendExtendContents(_0x55aef0,_0x208ddb,_0x4616f1){const _0x5e1c9c=a312_0x2145ef,_0x482e4f=[];for(const [,_0x270a6f]of Object[_0x5e1c9c(0x1cf)](_0x208ddb['guides'])){_0x270a6f[_0x5e1c9c(0x1c6)]&&_0x482e4f[_0x5e1c9c(0x1c0)](_0x270a6f['extendContent'][_0x5e1c9c(0x1be)]());}if(_0x482e4f[_0x5e1c9c(0x1e3)]===0x0)return _0x55aef0;return _0x55aef0[_0x5e1c9c(0x1be)]()+'\x0a\x0a'+_0x482e4f[_0x5e1c9c(0x1d8)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0xc84865,_0x48c32b,_0x5794a6){const _0x4b3faf=a312_0x2145ef,_0x5b58c0=getSkillTemplate(_0xc84865);if(!_0x5b58c0)throw new Error(_0x4b3faf(0x1e1));const _0x1e9628=dirname(_0x48c32b);mkdirSync(_0x1e9628,{'recursive':!![]});let _0x4e0895=_0x5b58c0[_0x4b3faf(0x1dc)](/\{\{IDE_NAME\}\}/g,_0x5794a6);_0x4e0895=appendExtendContents(_0x4e0895,_0xc84865),_0xc84865[_0x4b3faf(0x1d1)]['lastUpdated']&&(_0x4e0895=appendUpdateTime(_0x4e0895,_0xc84865[_0x4b3faf(0x1d1)][_0x4b3faf(0x1cd)])),writeFileSync(_0x48c32b,_0x4e0895,_0x4b3faf(0x1c9));}export async function installGuides(_0x38ced4){const _0x374358=a312_0x2145ef,_0xe8bc7=await fetchGuidesFromCDN();return writeGuidesToProject(_0xe8bc7,_0x38ced4),Object[_0x374358(0x1c2)](_0xe8bc7[_0x374358(0x1c4)])['length'];}export function getGuidesSummary(_0x332989){const _0x34e9b9=a312_0x2145ef;return Object[_0x34e9b9(0x1cf)](_0x332989[_0x34e9b9(0x1c4)])[_0x34e9b9(0x1e2)](([_0x5c96fa,_0x2094fc])=>({'key':_0x5c96fa,'title':_0x2094fc[_0x34e9b9(0x1d6)],'path':_0x2094fc[_0x34e9b9(0x1d4)]}));}
@@ -1 +1 @@
1
- function a313_0x4e47(_0x30efed,_0xd6c704){_0x30efed=_0x30efed-0x7d;const _0x16abaa=a313_0x16ab();let _0x4e4763=_0x16abaa[_0x30efed];return _0x4e4763;}(function(_0xc3babd,_0x173e10){const _0xc600d3=a313_0x4e47,_0x4aa2c0=_0xc3babd();while(!![]){try{const _0x3fa8b9=parseInt(_0xc600d3(0x83))/0x1+parseInt(_0xc600d3(0x86))/0x2*(parseInt(_0xc600d3(0x8d))/0x3)+parseInt(_0xc600d3(0x7e))/0x4+-parseInt(_0xc600d3(0x8a))/0x5*(parseInt(_0xc600d3(0x81))/0x6)+-parseInt(_0xc600d3(0x88))/0x7*(parseInt(_0xc600d3(0x92))/0x8)+-parseInt(_0xc600d3(0x7f))/0x9*(-parseInt(_0xc600d3(0x95))/0xa)+parseInt(_0xc600d3(0x87))/0xb*(parseInt(_0xc600d3(0x89))/0xc);if(_0x3fa8b9===_0x173e10)break;else _0x4aa2c0['push'](_0x4aa2c0['shift']());}catch(_0x19fa71){_0x4aa2c0['push'](_0x4aa2c0['shift']());}}}(a313_0x16ab,0x4eb17));export async function httpRequest(_0x157773,_0x368cd1={}){const _0xa227d9=a313_0x4e47,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x368cd1;let _0x29943b=null;for(let _0x1d57b0=0x0;_0x1d57b0<=retries;_0x1d57b0++){try{const _0x3c67fc=new AbortController(),_0x1e7dfc=setTimeout(()=>_0x3c67fc['abort'](),timeout),_0x450864=await fetch(_0x157773,{'headers':headers,'signal':_0x3c67fc[_0xa227d9(0x8f)]});clearTimeout(_0x1e7dfc);let _0x17b86c;const _0x43f81d=_0x450864[_0xa227d9(0x90)][_0xa227d9(0x96)]('content-type');return _0x43f81d?.['includes']('application/json')?_0x17b86c=await _0x450864[_0xa227d9(0x8c)]():_0x17b86c=await _0x450864[_0xa227d9(0x85)](),{'ok':_0x450864['ok'],'status':_0x450864[_0xa227d9(0x93)],'statusText':_0x450864[_0xa227d9(0x7d)],'data':_0x17b86c,'headers':_0x450864[_0xa227d9(0x90)],'url':_0x450864['url'],'text':()=>_0x450864[_0xa227d9(0x85)]()};}catch(_0x2ec7bc){_0x29943b=_0x2ec7bc instanceof Error?_0x2ec7bc:new Error(String(_0x2ec7bc));if(_0x1d57b0===retries)break;if(shouldRetry(_0x2ec7bc)){console['log']('*\x20Request\x20failed;\x20retry\x20'+(_0x1d57b0+0x1)+'\x20in\x20'+retryDelay+_0xa227d9(0x82)),await sleep(retryDelay);continue;}else break;}}throw _0x29943b||new Error('Request\x20failed');}function shouldRetry(_0x184f6a){const _0xdb52bb=a313_0x4e47;if(_0x184f6a instanceof Error){if(_0x184f6a['name']===_0xdb52bb(0x8b))return![];if(_0x184f6a[_0xdb52bb(0x94)]===_0xdb52bb(0x84)&&_0x184f6a[_0xdb52bb(0x8e)][_0xdb52bb(0x91)](_0xdb52bb(0x80)))return!![];if(_0x184f6a[_0xdb52bb(0x8e)]['includes']('ECONNRESET'))return!![];if(_0x184f6a['message'][_0xdb52bb(0x91)]('ENOTFOUND'))return![];}return![];}function sleep(_0x54831d){return new Promise(_0x39671b=>setTimeout(_0x39671b,_0x54831d));}function a313_0x16ab(){const _0x572975=['includes','3652424QQOQEj','status','name','10JeSCom','get','statusText','896956UjWPGo','2054799XjqLpD','fetch','66nDqenh','ms...','181211VQBrnd','TypeError','text','4JejzkQ','1259368qVupSP','7XicaEU','12YbfKgH','224355oZAbPv','AbortError','json','786318PlEglp','message','signal','headers'];a313_0x16ab=function(){return _0x572975;};return a313_0x16ab();}export function validateUrl(_0x84568d){try{return new URL(_0x84568d),!![];}catch{return![];}}
1
+ function a313_0x2fef(){const _0x428ec2=['17910ZsHFEN','fetch','headers','30236eSQEkn','url','ENOTFOUND','status','statusText','AbortError','abort','22337EgbMQV','Request\x20failed','log','application/json','TypeError','980046eSUzXl','262026dSBciw','312QtuHTV','1042554OTHquM','2jwFdSj','json','920fcwKkf','150nafkUo','75251ZZDgZL','message','includes','signal','content-type','\x20in\x20','get','text','*\x20Request\x20failed;\x20retry\x20','name','25swBTaS'];a313_0x2fef=function(){return _0x428ec2;};return a313_0x2fef();}(function(_0x11cc9c,_0x262a7c){const _0x390073=a313_0x4a9b,_0x154080=_0x11cc9c();while(!![]){try{const _0x2c0e59=-parseInt(_0x390073(0x16f))/0x1*(-parseInt(_0x390073(0x172))/0x2)+parseInt(_0x390073(0x171))/0x3+-parseInt(_0x390073(0x184))/0x4*(parseInt(_0x390073(0x180))/0x5)+-parseInt(_0x390073(0x16e))/0x6+parseInt(_0x390073(0x18b))/0x7*(-parseInt(_0x390073(0x174))/0x8)+-parseInt(_0x390073(0x181))/0x9*(parseInt(_0x390073(0x175))/0xa)+parseInt(_0x390073(0x176))/0xb*(parseInt(_0x390073(0x170))/0xc);if(_0x2c0e59===_0x262a7c)break;else _0x154080['push'](_0x154080['shift']());}catch(_0x325899){_0x154080['push'](_0x154080['shift']());}}}(a313_0x2fef,0x2e413));function a313_0x4a9b(_0x47d2fa,_0x41c1b9){_0x47d2fa=_0x47d2fa-0x16d;const _0x2fef9b=a313_0x2fef();let _0x4a9b03=_0x2fef9b[_0x47d2fa];return _0x4a9b03;}export async function httpRequest(_0x76d284,_0x18bf57={}){const _0x43a87c=a313_0x4a9b,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x18bf57;let _0xf56028=null;for(let _0x3bce6f=0x0;_0x3bce6f<=retries;_0x3bce6f++){try{const _0x1936d3=new AbortController(),_0x3bc0ef=setTimeout(()=>_0x1936d3[_0x43a87c(0x18a)](),timeout),_0xcffb4d=await fetch(_0x76d284,{'headers':headers,'signal':_0x1936d3[_0x43a87c(0x179)]});clearTimeout(_0x3bc0ef);let _0x515c0a;const _0x1e7821=_0xcffb4d['headers'][_0x43a87c(0x17c)](_0x43a87c(0x17a));return _0x1e7821?.['includes'](_0x43a87c(0x18e))?_0x515c0a=await _0xcffb4d[_0x43a87c(0x173)]():_0x515c0a=await _0xcffb4d[_0x43a87c(0x17d)](),{'ok':_0xcffb4d['ok'],'status':_0xcffb4d[_0x43a87c(0x187)],'statusText':_0xcffb4d[_0x43a87c(0x188)],'data':_0x515c0a,'headers':_0xcffb4d[_0x43a87c(0x183)],'url':_0xcffb4d[_0x43a87c(0x185)],'text':()=>_0xcffb4d[_0x43a87c(0x17d)]()};}catch(_0x2e388d){_0xf56028=_0x2e388d instanceof Error?_0x2e388d:new Error(String(_0x2e388d));if(_0x3bce6f===retries)break;if(shouldRetry(_0x2e388d)){console[_0x43a87c(0x18d)](_0x43a87c(0x17e)+(_0x3bce6f+0x1)+_0x43a87c(0x17b)+retryDelay+'ms...'),await sleep(retryDelay);continue;}else break;}}throw _0xf56028||new Error(_0x43a87c(0x18c));}function shouldRetry(_0x96be50){const _0x576922=a313_0x4a9b;if(_0x96be50 instanceof Error){if(_0x96be50[_0x576922(0x17f)]===_0x576922(0x189))return![];if(_0x96be50[_0x576922(0x17f)]===_0x576922(0x16d)&&_0x96be50[_0x576922(0x177)][_0x576922(0x178)](_0x576922(0x182)))return!![];if(_0x96be50[_0x576922(0x177)][_0x576922(0x178)]('ECONNRESET'))return!![];if(_0x96be50[_0x576922(0x177)]['includes'](_0x576922(0x186)))return![];}return![];}function sleep(_0x339c7d){return new Promise(_0x19e3e7=>setTimeout(_0x19e3e7,_0x339c7d));}export function validateUrl(_0x25e8cc){try{return new URL(_0x25e8cc),!![];}catch{return![];}}
@@ -1 +1 @@
1
- function a314_0x29b3(_0x4aaa08,_0x4473f5){_0x4aaa08=_0x4aaa08-0x73;const _0x26dc9e=a314_0x26dc();let _0x29b3bf=_0x26dc9e[_0x4aaa08];return _0x29b3bf;}(function(_0x26c616,_0x53b268){const _0x7ab071=a314_0x29b3,_0x44309f=_0x26c616();while(!![]){try{const _0x20a11c=-parseInt(_0x7ab071(0x7b))/0x1*(parseInt(_0x7ab071(0x7d))/0x2)+parseInt(_0x7ab071(0x81))/0x3+-parseInt(_0x7ab071(0x7a))/0x4+-parseInt(_0x7ab071(0x77))/0x5+-parseInt(_0x7ab071(0x80))/0x6+parseInt(_0x7ab071(0x76))/0x7+-parseInt(_0x7ab071(0x78))/0x8*(-parseInt(_0x7ab071(0x7c))/0x9);if(_0x20a11c===_0x53b268)break;else _0x44309f['push'](_0x44309f['shift']());}catch(_0x25ead5){_0x44309f['push'](_0x44309f['shift']());}}}(a314_0x26dc,0xbee97));function a314_0x26dc(){const _0x2c7d85=['9308019lbbwCX','1359975wPOZfU','4376rCjnyg','stdin','4805640zDFTfS','2cWeBVj','39132WyMlKr','1140994MisHDk','isTTY','isRaw','5653836RKDmZL','1891821MVwfUJ','true','setRawMode','nonInteractive'];a314_0x26dc=function(){return _0x2c7d85;};return a314_0x26dc();}function env(_0x5bcca4){return process.env[`RABETBASE_${_0x5bcca4}`]||process.env[`LOVRABET_${_0x5bcca4}`]||undefined;}export function isNonInteractive(_0xb436f){const _0x38234f=a314_0x29b3;return!!(_0xb436f[_0x38234f(0x75)]||_0xb436f['ci']||env('CI')===_0x38234f(0x73)||process.env.CI===_0x38234f(0x73)||!process['stdout'][_0x38234f(0x7e)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x2ed7ce=a314_0x29b3;if(!process[_0x2ed7ce(0x79)][_0x2ed7ce(0x7e)])return![];try{const _0x371bb7=process[_0x2ed7ce(0x79)][_0x2ed7ce(0x7f)];return process[_0x2ed7ce(0x79)]['setRawMode'](!![]),process[_0x2ed7ce(0x79)][_0x2ed7ce(0x74)](_0x371bb7??![]),!![];}catch{return![];}}
1
+ (function(_0x162a47,_0xac81e9){const _0x3a0f30=a314_0x3896,_0x336eb1=_0x162a47();while(!![]){try{const _0x471f8a=parseInt(_0x3a0f30(0x7f))/0x1+parseInt(_0x3a0f30(0x7a))/0x2*(-parseInt(_0x3a0f30(0x71))/0x3)+-parseInt(_0x3a0f30(0x79))/0x4+parseInt(_0x3a0f30(0x76))/0x5*(-parseInt(_0x3a0f30(0x74))/0x6)+-parseInt(_0x3a0f30(0x7e))/0x7*(parseInt(_0x3a0f30(0x73))/0x8)+parseInt(_0x3a0f30(0x77))/0x9+-parseInt(_0x3a0f30(0x75))/0xa*(-parseInt(_0x3a0f30(0x7c))/0xb);if(_0x471f8a===_0xac81e9)break;else _0x336eb1['push'](_0x336eb1['shift']());}catch(_0x4d8b88){_0x336eb1['push'](_0x336eb1['shift']());}}}(a314_0x3534,0x41f68));function env(_0x196bc5){return process.env[`RABETBASE_${_0x196bc5}`]||process.env[`LOVRABET_${_0x196bc5}`]||undefined;}export function isNonInteractive(_0x155170){const _0x335e4e=a314_0x3896;return!!(_0x155170[_0x335e4e(0x80)]||_0x155170['ci']||env('CI')===_0x335e4e(0x6f)||process.env.CI===_0x335e4e(0x6f)||!process[_0x335e4e(0x78)][_0x335e4e(0x72)]||!isStdinRawModeSupported());}function a314_0x3534(){const _0x7be9d0=['stdin','3NTmZDM','isTTY','9896nLKunO','6kBassS','4992670RxPWFe','785830qivgcF','3421098PFvxNZ','stdout','599532nMHYJC','1069204uqoiIN','isRaw','22hUQPwy','setRawMode','2086tPDGBy','101805XJbdTj','nonInteractive','true'];a314_0x3534=function(){return _0x7be9d0;};return a314_0x3534();}function a314_0x3896(_0x58f3c5,_0x4ad4e7){_0x58f3c5=_0x58f3c5-0x6f;const _0x353437=a314_0x3534();let _0x3896bc=_0x353437[_0x58f3c5];return _0x3896bc;}function isStdinRawModeSupported(){const _0x5b4726=a314_0x3896;if(!process[_0x5b4726(0x70)][_0x5b4726(0x72)])return![];try{const _0xcd9986=process[_0x5b4726(0x70)][_0x5b4726(0x7b)];return process[_0x5b4726(0x70)][_0x5b4726(0x7d)](!![]),process[_0x5b4726(0x70)]['setRawMode'](_0xcd9986??![]),!![];}catch{return![];}}
@@ -1 +1 @@
1
- function a315_0x378e(_0x38a580,_0x1fd960){_0x38a580=_0x38a580-0x1ce;const _0x5e5f51=a315_0x5e5f();let _0x378e0c=_0x5e5f51[_0x38a580];return _0x378e0c;}const a315_0x3f7ccf=a315_0x378e;(function(_0x33c1dc,_0x5ddf86){const _0xf7be17=a315_0x378e,_0x219903=_0x33c1dc();while(!![]){try{const _0x764eaf=parseInt(_0xf7be17(0x1d7))/0x1*(parseInt(_0xf7be17(0x206))/0x2)+-parseInt(_0xf7be17(0x208))/0x3+-parseInt(_0xf7be17(0x1e7))/0x4+-parseInt(_0xf7be17(0x1d0))/0x5+-parseInt(_0xf7be17(0x1e4))/0x6*(-parseInt(_0xf7be17(0x1d3))/0x7)+-parseInt(_0xf7be17(0x1d9))/0x8*(parseInt(_0xf7be17(0x1fb))/0x9)+parseInt(_0xf7be17(0x1f8))/0xa*(parseInt(_0xf7be17(0x1f0))/0xb);if(_0x764eaf===_0x5ddf86)break;else _0x219903['push'](_0x219903['shift']());}catch(_0x51ec9a){_0x219903['push'](_0x219903['shift']());}}}(a315_0x5e5f,0x9ff9b));import a315_0x58e18b from'winston';import a315_0x273d7b from'node:fs';import a315_0x5a0778 from'node:path';class Logger{[a315_0x3f7ccf(0x1fe)];[a315_0x3f7ccf(0x1f6)];[a315_0x3f7ccf(0x202)]='';constructor(){const _0x546b82=a315_0x3f7ccf;this[_0x546b82(0x1f6)]='';}[a315_0x3f7ccf(0x1cf)](_0x3d8c8c){this['currentRawCommand']=_0x3d8c8c;}['initWinstonLogger'](){const _0xfc1663=a315_0x3f7ccf,_0x327134=a315_0x5a0778[_0xfc1663(0x200)](this[_0xfc1663(0x1f6)]);!a315_0x273d7b[_0xfc1663(0x207)](_0x327134)&&a315_0x273d7b[_0xfc1663(0x1ce)](_0x327134,{'recursive':!![]});const _0xa8584d=a315_0x58e18b['format'][_0xfc1663(0x1ee)](a315_0x58e18b[_0xfc1663(0x1da)][_0xfc1663(0x1ed)](),a315_0x58e18b[_0xfc1663(0x1da)]['errors']({'stack':!![]}),a315_0x58e18b[_0xfc1663(0x1da)][_0xfc1663(0x1f3)](_0x4823db=>{const _0xa4c59e=_0xfc1663,_0x34ba50={'timestamp':_0x4823db['timestamp']||new Date()['toISOString'](),'level':_0x4823db[_0xa4c59e(0x1de)]||_0xa4c59e(0x1e2),'command':_0x4823db[_0xa4c59e(0x1d4)]||_0xa4c59e(0x1db),'rawCommand':_0x4823db[_0xa4c59e(0x1f5)]||this[_0xa4c59e(0x202)]||undefined,'message':_0x4823db['message']||'','duration':_0x4823db[_0xa4c59e(0x1e8)]||undefined,'details':_0x4823db[_0xa4c59e(0x1f1)]||undefined};return JSON[_0xa4c59e(0x201)](_0x34ba50);}));this['winstonLogger']=a315_0x58e18b[_0xfc1663(0x1ea)]({'level':_0xfc1663(0x1e2),'format':_0xa8584d,'transports':[new a315_0x58e18b['transports'][(_0xfc1663(0x1e3))]({'filename':this[_0xfc1663(0x1f6)],'level':_0xfc1663(0x1e2)})],'silent':![]}),a315_0x58e18b[_0xfc1663(0x1e5)]({'success':_0xfc1663(0x1fc),'error':_0xfc1663(0x1d2),'warn':'yellow','info':_0xfc1663(0x1fd)});}['setLogPath'](_0x5c76be){const _0x5de31a=a315_0x3f7ccf;this[_0x5de31a(0x1f6)]=a315_0x5a0778[_0x5de31a(0x1f2)](_0x5c76be,_0x5de31a(0x1ef)),this['winstonLogger']&&this['winstonLogger'][_0x5de31a(0x1ff)](),this[_0x5de31a(0x1f4)]();}[a315_0x3f7ccf(0x1e2)](_0x4d9373,_0x5d0428,_0x515e0f){const _0x4dc310=a315_0x3f7ccf;if(!this[_0x4dc310(0x1f6)]||!this[_0x4dc310(0x1fe)])return;this[_0x4dc310(0x1fe)][_0x4dc310(0x1e2)](_0x5d0428,{'command':_0x4d9373,'details':_0x515e0f});}['success'](_0x29fa0e,_0x54a313,_0x1c262d,_0x23b053){const _0x3a2fc9=a315_0x3f7ccf;if(!this['logFilePath']||!this[_0x3a2fc9(0x1fe)])return;this[_0x3a2fc9(0x1fe)][_0x3a2fc9(0x1d6)]('info',_0x54a313,{'level':'success','command':_0x29fa0e,'duration':_0x1c262d,'details':_0x23b053});}['error'](_0x1dfb81,_0x4fa917,_0x4b162a){const _0x505400=a315_0x3f7ccf;if(!this[_0x505400(0x1f6)]||!this[_0x505400(0x1fe)])return;this[_0x505400(0x1fe)][_0x505400(0x1dd)](_0x4fa917,{'command':_0x1dfb81,'details':_0x4b162a});}['warn'](_0x5ac6d8,_0x2d1454,_0xe41e01){const _0x550fc2=a315_0x3f7ccf;if(!this[_0x550fc2(0x1f6)]||!this[_0x550fc2(0x1fe)])return;this[_0x550fc2(0x1fe)]['warn'](_0x2d1454,{'command':_0x5ac6d8,'details':_0xe41e01});}async[a315_0x3f7ccf(0x1eb)](_0x32a553,_0x555ff8,_0x3945a9){const _0x5d29dd=a315_0x3f7ccf,_0x482df9=Date[_0x5d29dd(0x203)]();this[_0x5d29dd(0x1e2)](_0x32a553,_0x5d29dd(0x1e9)+_0x555ff8);try{const _0x30a4ee=await _0x3945a9(),_0x4c3eed=Date[_0x5d29dd(0x203)]()-_0x482df9;return this[_0x5d29dd(0x1e6)](_0x32a553,_0x5d29dd(0x1dc)+_0x555ff8,_0x4c3eed),_0x30a4ee;}catch(_0x4f9692){const _0x4699c8=Date['now']()-_0x482df9;this['error'](_0x32a553,'Failed:\x20'+_0x555ff8,{'error':_0x4f9692 instanceof Error?_0x4f9692['message']:String(_0x4f9692),'duration':_0x4699c8});throw _0x4f9692;}}[a315_0x3f7ccf(0x205)](){const _0x49f922=a315_0x3f7ccf;try{if(!a315_0x273d7b[_0x49f922(0x207)](this[_0x49f922(0x1f6)]))return[];const _0x441e11=a315_0x273d7b['readFileSync'](this['logFilePath'],_0x49f922(0x1ec));return _0x441e11['split']('\x0a')[_0x49f922(0x1f9)](_0xa67521=>_0xa67521[_0x49f922(0x1f7)]())[_0x49f922(0x1d1)](_0x4c6453=>JSON[_0x49f922(0x204)](_0x4c6453));}catch(_0x44ad5a){return console[_0x49f922(0x1fa)](_0x49f922(0x1df),_0x44ad5a),[];}}[a315_0x3f7ccf(0x1e0)](){const _0x28485f=a315_0x3f7ccf;try{a315_0x273d7b['existsSync'](this[_0x28485f(0x1f6)])&&a315_0x273d7b[_0x28485f(0x1d5)](this[_0x28485f(0x1f6)],'',_0x28485f(0x1ec));}catch(_0x5d1de0){console[_0x28485f(0x1fa)](_0x28485f(0x1d8),_0x5d1de0);}}[a315_0x3f7ccf(0x1e1)](){const _0x5ca7ae=a315_0x3f7ccf;return this[_0x5ca7ae(0x1fe)];}}function a315_0x5e5f(){const _0x302b90=['stringify','currentRawCommand','now','parse','readLogs','1873762vJUSlL','existsSync','1627698VdugkO','mkdirSync','setRawCommand','674600jElmYe','map','red','48328HmQyZD','command','writeFileSync','log','1qfzPRZ','Failed\x20to\x20clear\x20logs:','8WFHjWP','format','unknown','Completed:\x20','error','level','Failed\x20to\x20read\x20logs:','clearLogs','getWinstonInstance','info','File','42qNUfBl','addColors','success','5118876daMYEz','duration','Starting:\x20','createLogger','logTask','utf8','timestamp','combine','.lovrabet.log','258753SbwFbI','details','join','printf','initWinstonLogger','rawCommand','logFilePath','trim','1240NJvToB','filter','warn','11606373UBcECY','green','blue','winstonLogger','clear','dirname'];a315_0x5e5f=function(){return _0x302b90;};return a315_0x5e5f();}export const logger=new Logger();
1
+ const a315_0xcfeb82=a315_0x3e7d;(function(_0x4af04a,_0x2b5e83){const _0x260096=a315_0x3e7d,_0x21c756=_0x4af04a();while(!![]){try{const _0x45e3aa=-parseInt(_0x260096(0x1fa))/0x1*(-parseInt(_0x260096(0x1e6))/0x2)+-parseInt(_0x260096(0x1de))/0x3*(-parseInt(_0x260096(0x20f))/0x4)+parseInt(_0x260096(0x203))/0x5+parseInt(_0x260096(0x1e4))/0x6*(parseInt(_0x260096(0x1fc))/0x7)+-parseInt(_0x260096(0x1f9))/0x8+parseInt(_0x260096(0x1ea))/0x9+-parseInt(_0x260096(0x1e3))/0xa*(parseInt(_0x260096(0x210))/0xb);if(_0x45e3aa===_0x2b5e83)break;else _0x21c756['push'](_0x21c756['shift']());}catch(_0x1b3a25){_0x21c756['push'](_0x21c756['shift']());}}}(a315_0x2581,0xe51d8));import a315_0x43a6d3 from'winston';function a315_0x3e7d(_0x5c30f2,_0x5e0d64){_0x5c30f2=_0x5c30f2-0x1db;const _0x258128=a315_0x2581();let _0x3e7d8d=_0x258128[_0x5c30f2];return _0x3e7d8d;}import a315_0x41ffe8 from'node:fs';import a315_0x42a014 from'node:path';class Logger{[a315_0xcfeb82(0x1fd)];['logFilePath'];[a315_0xcfeb82(0x204)]='';constructor(){const _0xa02300=a315_0xcfeb82;this[_0xa02300(0x1f7)]='';}['setRawCommand'](_0x6dadb){const _0x1299df=a315_0xcfeb82;this[_0x1299df(0x204)]=_0x6dadb;}[a315_0xcfeb82(0x1ec)](){const _0xe5b12a=a315_0xcfeb82,_0xf549d5=a315_0x42a014['dirname'](this['logFilePath']);!a315_0x41ffe8[_0xe5b12a(0x1f0)](_0xf549d5)&&a315_0x41ffe8[_0xe5b12a(0x1eb)](_0xf549d5,{'recursive':!![]});const _0x4aab39=a315_0x43a6d3[_0xe5b12a(0x1dc)][_0xe5b12a(0x1e1)](a315_0x43a6d3[_0xe5b12a(0x1dc)][_0xe5b12a(0x202)](),a315_0x43a6d3[_0xe5b12a(0x1dc)][_0xe5b12a(0x1ff)]({'stack':!![]}),a315_0x43a6d3[_0xe5b12a(0x1dc)]['printf'](_0x22033c=>{const _0x15487a=_0xe5b12a,_0x200832={'timestamp':_0x22033c[_0x15487a(0x202)]||new Date()[_0x15487a(0x201)](),'level':_0x22033c[_0x15487a(0x1fb)]||_0x15487a(0x208),'command':_0x22033c[_0x15487a(0x207)]||_0x15487a(0x1e9),'rawCommand':_0x22033c[_0x15487a(0x1fe)]||this[_0x15487a(0x204)]||undefined,'message':_0x22033c[_0x15487a(0x206)]||'','duration':_0x22033c[_0x15487a(0x1dd)]||undefined,'details':_0x22033c[_0x15487a(0x212)]||undefined};return JSON[_0x15487a(0x20a)](_0x200832);}));this[_0xe5b12a(0x1fd)]=a315_0x43a6d3[_0xe5b12a(0x1f1)]({'level':_0xe5b12a(0x208),'format':_0x4aab39,'transports':[new a315_0x43a6d3[(_0xe5b12a(0x1e2))]['File']({'filename':this[_0xe5b12a(0x1f7)],'level':_0xe5b12a(0x208)})],'silent':![]}),a315_0x43a6d3[_0xe5b12a(0x1f2)]({'success':_0xe5b12a(0x209),'error':_0xe5b12a(0x1db),'warn':'yellow','info':'blue'});}[a315_0xcfeb82(0x1ee)](_0x40aeee){const _0x4d118a=a315_0xcfeb82;this[_0x4d118a(0x1f7)]=a315_0x42a014['join'](_0x40aeee,_0x4d118a(0x205)),this['winstonLogger']&&this[_0x4d118a(0x1fd)][_0x4d118a(0x1f6)](),this[_0x4d118a(0x1ec)]();}[a315_0xcfeb82(0x208)](_0x288022,_0x5555fa,_0x5c1acd){const _0x5bbde0=a315_0xcfeb82;if(!this[_0x5bbde0(0x1f7)]||!this[_0x5bbde0(0x1fd)])return;this[_0x5bbde0(0x1fd)]['info'](_0x5555fa,{'command':_0x288022,'details':_0x5c1acd});}[a315_0xcfeb82(0x20c)](_0x17487e,_0x45433c,_0x3eb15f,_0x3348d9){const _0xaaf314=a315_0xcfeb82;if(!this[_0xaaf314(0x1f7)]||!this['winstonLogger'])return;this['winstonLogger'][_0xaaf314(0x1e7)](_0xaaf314(0x208),_0x45433c,{'level':_0xaaf314(0x20c),'command':_0x17487e,'duration':_0x3eb15f,'details':_0x3348d9});}['error'](_0x1e8e95,_0x5594b6,_0x3cdee0){const _0x45d220=a315_0xcfeb82;if(!this[_0x45d220(0x1f7)]||!this[_0x45d220(0x1fd)])return;this[_0x45d220(0x1fd)]['error'](_0x5594b6,{'command':_0x1e8e95,'details':_0x3cdee0});}[a315_0xcfeb82(0x1f8)](_0x44230e,_0x502eda,_0x27b5ce){const _0x40fc39=a315_0xcfeb82;if(!this['logFilePath']||!this[_0x40fc39(0x1fd)])return;this['winstonLogger'][_0x40fc39(0x1f8)](_0x502eda,{'command':_0x44230e,'details':_0x27b5ce});}async['logTask'](_0x32908f,_0x58b44d,_0x548e2d){const _0x182bfc=a315_0xcfeb82,_0x3b7bb9=Date[_0x182bfc(0x1f4)]();this[_0x182bfc(0x208)](_0x32908f,'Starting:\x20'+_0x58b44d);try{const _0x3e8e9b=await _0x548e2d(),_0xd88107=Date[_0x182bfc(0x1f4)]()-_0x3b7bb9;return this[_0x182bfc(0x20c)](_0x32908f,_0x182bfc(0x1ed)+_0x58b44d,_0xd88107),_0x3e8e9b;}catch(_0x55d9f9){const _0x4a8164=Date['now']()-_0x3b7bb9;this[_0x182bfc(0x213)](_0x32908f,_0x182bfc(0x1f5)+_0x58b44d,{'error':_0x55d9f9 instanceof Error?_0x55d9f9[_0x182bfc(0x206)]:String(_0x55d9f9),'duration':_0x4a8164});throw _0x55d9f9;}}[a315_0xcfeb82(0x1ef)](){const _0x5e66fa=a315_0xcfeb82;try{if(!a315_0x41ffe8[_0x5e66fa(0x1f0)](this['logFilePath']))return[];const _0xa4c44e=a315_0x41ffe8[_0x5e66fa(0x20d)](this['logFilePath'],_0x5e66fa(0x211));return _0xa4c44e[_0x5e66fa(0x1e5)]('\x0a')[_0x5e66fa(0x200)](_0x31c072=>_0x31c072[_0x5e66fa(0x1df)]())[_0x5e66fa(0x1f3)](_0x4b3a45=>JSON[_0x5e66fa(0x20b)](_0x4b3a45));}catch(_0x10b3fa){return console[_0x5e66fa(0x1f8)](_0x5e66fa(0x1e8),_0x10b3fa),[];}}['clearLogs'](){const _0x5eb2e8=a315_0xcfeb82;try{a315_0x41ffe8[_0x5eb2e8(0x1f0)](this[_0x5eb2e8(0x1f7)])&&a315_0x41ffe8[_0x5eb2e8(0x1e0)](this[_0x5eb2e8(0x1f7)],'',_0x5eb2e8(0x211));}catch(_0x31dbac){console['warn'](_0x5eb2e8(0x20e),_0x31dbac);}}['getWinstonInstance'](){const _0x2d30f3=a315_0xcfeb82;return this[_0x2d30f3(0x1fd)];}}export const logger=new Logger();function a315_0x2581(){const _0x2c12a4=['16313NtwEYn','utf8','details','error','red','format','duration','15ahxMmr','trim','writeFileSync','combine','transports','19670mkHnEB','300sQRrIb','split','10VUJqRK','log','Failed\x20to\x20read\x20logs:','unknown','8828784AlDAGO','mkdirSync','initWinstonLogger','Completed:\x20','setLogPath','readLogs','existsSync','createLogger','addColors','map','now','Failed:\x20','clear','logFilePath','warn','8157024sRAeQA','35518TBSqiw','level','40075NavkmZ','winstonLogger','rawCommand','errors','filter','toISOString','timestamp','8749270NbdEog','currentRawCommand','.lovrabet.log','message','command','info','green','stringify','parse','success','readFileSync','Failed\x20to\x20clear\x20logs:','1344380nxuLmy'];a315_0x2581=function(){return _0x2c12a4;};return a315_0x2581();}
@@ -1 +1 @@
1
- (function(_0x4965c4,_0x1cb9c8){const _0x359b66=a316_0xa07d,_0x5d7462=_0x4965c4();while(!![]){try{const _0xc603f8=parseInt(_0x359b66(0x112))/0x1*(parseInt(_0x359b66(0x11e))/0x2)+parseInt(_0x359b66(0x10f))/0x3+-parseInt(_0x359b66(0x113))/0x4*(parseInt(_0x359b66(0x118))/0x5)+parseInt(_0x359b66(0x110))/0x6+-parseInt(_0x359b66(0x119))/0x7+parseInt(_0x359b66(0x11b))/0x8+-parseInt(_0x359b66(0x114))/0x9;if(_0xc603f8===_0x1cb9c8)break;else _0x5d7462['push'](_0x5d7462['shift']());}catch(_0x5055bf){_0x5d7462['push'](_0x5d7462['shift']());}}}(a316_0x1682,0xedaad));import{CliErrors}from'../errors.js';function a316_0xa07d(_0x4e99aa,_0x403aab){_0x4e99aa=_0x4e99aa-0x10f;const _0x1682f7=a316_0x1682();let _0xa07d21=_0x1682f7[_0x4e99aa];return _0xa07d21;}function a316_0x1682(){const _0x13a320=['isArray','33IFVLUo','32rqUgkz','35356869YQXreI','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','Invalid\x20JSON\x20for\x20--params:\x20','--params\x20must\x20be\x20a\x20JSON\x20object','506645dmSwHS','1381639qCxIPW','object','11609168xDBQAI','parse','validation','105572gRRGZm','4297722gmFlhi','7706262HvPQCn'];a316_0x1682=function(){return _0x13a320;};return a316_0x1682();}export function parseJsonParams(_0x2708d1){const _0x6e4450=a316_0xa07d;if(!_0x2708d1)return undefined;let _0x2bfa1c;try{_0x2bfa1c=JSON[_0x6e4450(0x11c)](_0x2708d1);}catch{throw CliErrors['validation'](_0x6e4450(0x116)+_0x2708d1);}if(!_0x2bfa1c||typeof _0x2bfa1c!==_0x6e4450(0x11a)||Array[_0x6e4450(0x111)](_0x2bfa1c))throw CliErrors[_0x6e4450(0x11d)](_0x6e4450(0x117),_0x6e4450(0x115));return _0x2bfa1c;}
1
+ function a316_0x106a(_0x571aaa,_0x2cc838){_0x571aaa=_0x571aaa-0x15a;const _0x2d4bbf=a316_0x2d4b();let _0x106a8d=_0x2d4bbf[_0x571aaa];return _0x106a8d;}(function(_0x295a86,_0x2915e4){const _0x131a79=a316_0x106a,_0x15c8cb=_0x295a86();while(!![]){try{const _0x2d7ec6=parseInt(_0x131a79(0x163))/0x1*(parseInt(_0x131a79(0x15e))/0x2)+-parseInt(_0x131a79(0x165))/0x3*(parseInt(_0x131a79(0x166))/0x4)+parseInt(_0x131a79(0x15d))/0x5+-parseInt(_0x131a79(0x15c))/0x6+-parseInt(_0x131a79(0x167))/0x7+-parseInt(_0x131a79(0x160))/0x8+parseInt(_0x131a79(0x15f))/0x9*(parseInt(_0x131a79(0x15b))/0xa);if(_0x2d7ec6===_0x2915e4)break;else _0x15c8cb['push'](_0x15c8cb['shift']());}catch(_0x295b46){_0x15c8cb['push'](_0x15c8cb['shift']());}}}(a316_0x2d4b,0xb11b5));import{CliErrors}from'../errors.js';export function parseJsonParams(_0x2dd3b2){const _0x4960bd=a316_0x106a;if(!_0x2dd3b2)return undefined;let _0x1f0d85;try{_0x1f0d85=JSON['parse'](_0x2dd3b2);}catch{throw CliErrors[_0x4960bd(0x15a)](_0x4960bd(0x161)+_0x2dd3b2);}if(!_0x1f0d85||typeof _0x1f0d85!==_0x4960bd(0x162)||Array['isArray'](_0x1f0d85))throw CliErrors[_0x4960bd(0x15a)](_0x4960bd(0x168),_0x4960bd(0x164));return _0x1f0d85;}function a316_0x2d4b(){const _0xf23245=['11546152bvUOOT','Invalid\x20JSON\x20for\x20--params:\x20','object','1TQYbrP','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','33twGjgR','296124ROjTmN','2937200cSxoCl','--params\x20must\x20be\x20a\x20JSON\x20object','validation','1730niQsUS','43806JQyurL','4403375zoGSdS','2647948osfcJj','62703nVDrjT'];a316_0x2d4b=function(){return _0xf23245;};return a316_0x2d4b();}
@@ -1 +1 @@
1
- const a317_0x38b06c=a317_0x43e8;function a317_0xee28(){const _0x3a671f=['181128GcZQep','1265110dVAoKD','171Swtgue','platform','331095BZZuhr','70zpEkaq','103016YXSaSx','75SIJOWa','4259100hOLFxN','1733510apTpfH','.cmd','1059108pJbqaA'];a317_0xee28=function(){return _0x3a671f;};return a317_0xee28();}(function(_0x4be0bc,_0x42801f){const _0x2fc76d=a317_0x43e8,_0x4958f2=_0x4be0bc();while(!![]){try{const _0x579409=-parseInt(_0x2fc76d(0x1da))/0x1+-parseInt(_0x2fc76d(0x1e1))/0x2+parseInt(_0x2fc76d(0x1dd))/0x3*(-parseInt(_0x2fc76d(0x1dc))/0x4)+-parseInt(_0x2fc76d(0x1e3))/0x5+-parseInt(_0x2fc76d(0x1de))/0x6+-parseInt(_0x2fc76d(0x1db))/0x7*(parseInt(_0x2fc76d(0x1e2))/0x8)+-parseInt(_0x2fc76d(0x1e4))/0x9*(-parseInt(_0x2fc76d(0x1df))/0xa);if(_0x579409===_0x42801f)break;else _0x4958f2['push'](_0x4958f2['shift']());}catch(_0x2dae59){_0x4958f2['push'](_0x4958f2['shift']());}}}(a317_0xee28,0x92750));function a317_0x43e8(_0x44e343,_0xbeed1){_0x44e343=_0x44e343-0x1da;const _0xee2828=a317_0xee28();let _0x43e80d=_0xee2828[_0x44e343];return _0x43e80d;}export const isWindows=process[a317_0x38b06c(0x1e5)]==='win32';export function resolveNpmBin(_0x51269f){const _0x9ee8d9=a317_0x38b06c;return isWindows?_0x51269f+_0x9ee8d9(0x1e0):_0x51269f;}
1
+ function a317_0x4a29(){const _0x4896d0=['platform','20XTHApQ','5kNtAZp','696441zzHXVo','127860iHpfXF','66SLWQMW','7417509luTnQg','3764646BpzvGl','2170875vqVEbX','3161637mUcKve','.cmd','win32','8BrleqO','491666yaLQKr'];a317_0x4a29=function(){return _0x4896d0;};return a317_0x4a29();}const a317_0xe6256a=a317_0x2d34;(function(_0x23ca9d,_0x4c7c6d){const _0x294ed8=a317_0x2d34,_0x3cb5c6=_0x23ca9d();while(!![]){try{const _0x5382d3=parseInt(_0x294ed8(0x115))/0x1+-parseInt(_0x294ed8(0x111))/0x2+-parseInt(_0x294ed8(0x117))/0x3*(parseInt(_0x294ed8(0x116))/0x4)+parseInt(_0x294ed8(0x114))/0x5*(-parseInt(_0x294ed8(0x119))/0x6)+parseInt(_0x294ed8(0x11a))/0x7+parseInt(_0x294ed8(0x110))/0x8*(-parseInt(_0x294ed8(0x10d))/0x9)+parseInt(_0x294ed8(0x113))/0xa*(parseInt(_0x294ed8(0x118))/0xb);if(_0x5382d3===_0x4c7c6d)break;else _0x3cb5c6['push'](_0x3cb5c6['shift']());}catch(_0x571d7c){_0x3cb5c6['push'](_0x3cb5c6['shift']());}}}(a317_0x4a29,0x6858f));function a317_0x2d34(_0x1d29f1,_0x56bec8){_0x1d29f1=_0x1d29f1-0x10d;const _0x4a29f5=a317_0x4a29();let _0x2d3469=_0x4a29f5[_0x1d29f1];return _0x2d3469;}export const isWindows=process[a317_0xe6256a(0x112)]===a317_0xe6256a(0x10f);export function resolveNpmBin(_0x3717fc){const _0x38094c=a317_0xe6256a;return isWindows?_0x3717fc+_0x38094c(0x10e):_0x3717fc;}
@@ -1 +1 @@
1
- export function sleep(_0x24126d){return new Promise(_0x5c45ed=>setTimeout(_0x5c45ed,_0x24126d));}
1
+ export function sleep(_0x3e4ed5){return new Promise(_0x23638e=>setTimeout(_0x23638e,_0x3e4ed5));}
@@ -1 +1 @@
1
- const a319_0x582160=a319_0x3ea8;function a319_0x19b3(){const _0x37f842=['push','join','name:\x20\x22','.tpl','.scss','8EWAqJq','formatLocalTimestamp','processFile','toUpperCase','getSeconds','29037700MSZyKS','writeFile','pop','extname','map','info','isDirectory','slice','Template\x20content\x20replacement\x20completed','getFullYear','toISOString','default','name','promises','readdir','\x20},','now','5015178uxknAQ','endsWith','replaceContent','message','7699531LRWrty','success','mkdir','\x0a\x20\x20\x20\x20{\x20','toComponentName','toLowerCase','4980580PGxQsk','datasetCode:\x20\x22','.md','6tvEoox','error','5425152MtpoGz','422teEpXj','datasetCode','.jsx','readFile','tableName:\x20\x22','processDirectory','getHours','replace','includes','copyFile','padStart','pad','.js','.ts','.tsx','alias','1445428AJocRO','alias:\x20\x22','4079bCmLEt','.json','Template\x20content\x20replacement\x20failed','isFile','getMonth','charAt','template','split','.css','utf8','getMinutes'];a319_0x19b3=function(){return _0x37f842;};return a319_0x19b3();}(function(_0x16ba16,_0x31e086){const _0x47260d=a319_0x3ea8,_0xcb7a65=_0x16ba16();while(!![]){try{const _0x1928bc=parseInt(_0x47260d(0x19e))/0x1*(-parseInt(_0x47260d(0x1d4))/0x2)+-parseInt(_0x47260d(0x1d1))/0x3*(parseInt(_0x47260d(0x19c))/0x4)+-parseInt(_0x47260d(0x1ce))/0x5+parseInt(_0x47260d(0x1d3))/0x6+parseInt(_0x47260d(0x1c8))/0x7*(-parseInt(_0x47260d(0x1ae))/0x8)+parseInt(_0x47260d(0x1c4))/0x9+parseInt(_0x47260d(0x1b3))/0xa;if(_0x1928bc===_0x31e086)break;else _0xcb7a65['push'](_0xcb7a65['shift']());}catch(_0x4ec77f){_0xcb7a65['push'](_0xcb7a65['shift']());}}}(a319_0x19b3,0xa76cc));import a319_0x361831 from'node:fs';import a319_0x4eb0c2 from'node:path';function a319_0x3ea8(_0x3155c7,_0x497e09){_0x3155c7=_0x3155c7-0x19b;const _0x19b33a=a319_0x19b3();let _0x3ea82b=_0x19b33a[_0x3155c7];return _0x3ea82b;}import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a319_0x582160(0x1df)](_0x256b5e){const _0x4e06f9=a319_0x582160;return String(_0x256b5e)[_0x4e06f9(0x1de)](0x2,'0');}static[a319_0x582160(0x1af)](_0x2955ec){const _0x3716fd=a319_0x582160,_0x22af8a=_0x2955ec[_0x3716fd(0x1bc)](),_0x2e9f36=this[_0x3716fd(0x1df)](_0x2955ec[_0x3716fd(0x1a2)]()+0x1),_0x398af1=this[_0x3716fd(0x1df)](_0x2955ec['getDate']()),_0x30a053=this[_0x3716fd(0x1df)](_0x2955ec[_0x3716fd(0x1da)]()),_0x3264db=this[_0x3716fd(0x1df)](_0x2955ec[_0x3716fd(0x1a8)]()),_0x458d04=this[_0x3716fd(0x1df)](_0x2955ec[_0x3716fd(0x1b2)]());return{'createdAt':_0x22af8a+'-'+_0x2e9f36+'-'+_0x398af1+'\x20'+_0x30a053+':'+_0x3264db+':'+_0x458d04,'createdDate':_0x22af8a+'-'+_0x2e9f36+'-'+_0x398af1,'createdTime':_0x30a053+':'+_0x3264db+':'+_0x458d04};}static[a319_0x582160(0x1cc)](_0x1fe942){const _0x1e09ad=a319_0x582160,_0x293405=_0x1fe942[_0x1e09ad(0x1a5)]('/')[_0x1e09ad(0x1b5)]()||_0x1fe942;return _0x293405[_0x1e09ad(0x1a5)]('-')['map'](_0x5472f7=>_0x5472f7['charAt'](0x0)[_0x1e09ad(0x1b1)]()+_0x5472f7['slice'](0x1)[_0x1e09ad(0x1cd)]())['join']('');}static['toDisplayTitle'](_0x29f235){const _0xf9f02f=a319_0x582160,_0x7d3b39=_0x29f235['split']('/')[_0xf9f02f(0x1b5)]()||_0x29f235;return _0x7d3b39['split']('-')[_0xf9f02f(0x1b7)](_0x4f6ce8=>_0x4f6ce8[_0xf9f02f(0x1a3)](0x0)[_0xf9f02f(0x1b1)]()+_0x4f6ce8[_0xf9f02f(0x1ba)](0x1)[_0xf9f02f(0x1cd)]())[_0xf9f02f(0x1aa)]('\x20');}static[a319_0x582160(0x1c6)](_0x2bb8b7,_0x588c01,_0x15b73b){const _0x567221=a319_0x582160,_0x571453=this['toComponentName'](_0x588c01),_0x4339a7=this['toDisplayTitle'](_0x588c01),{createdAt:_0x15154c,createdDate:_0x32649e,createdTime:_0xeab2cd}=this[_0x567221(0x1af)](new Date());let _0x6f9b6e=_0x2bb8b7[_0x567221(0x1db)](/\{CliVersion\}/g,CLI_VERSION)[_0x567221(0x1db)](/\{ComponentName\}/g,_0x571453)[_0x567221(0x1db)](/\{DisplayTitle\}/g,_0x4339a7)[_0x567221(0x1db)](/\{PageName\}/g,_0x588c01)['replace'](/\{TemplateName\}/g,_0x15b73b)[_0x567221(0x1db)](/\{CreatedAt\}/g,_0x15154c)[_0x567221(0x1db)](/\{CreatedDate\}/g,_0x32649e)[_0x567221(0x1db)](/\{CreatedTime\}/g,_0xeab2cd);return _0x6f9b6e;}static['replaceApiContent'](_0x581cb4,_0x1ec738,_0x49036b,_0x316261,_0x5535c4,_0x3e0dd1,_0x2fa7e7,_0x75b4df){const _0x25e046=a319_0x582160,_0x32075b=new Date(),_0x535b09=_0x32075b[_0x25e046(0x1bd)](),_0x18ff3f=_0x49036b[_0x25e046(0x1b7)](_0x37159e=>{const _0x572dce=_0x25e046,_0x8822cf=[_0x572dce(0x1cf)+_0x37159e[_0x572dce(0x1d5)]+'\x22',_0x572dce(0x1d8)+_0x37159e['tableName']+'\x22',_0x572dce(0x1ab)+_0x37159e[_0x572dce(0x1bf)]+'\x22'];return _0x37159e[_0x572dce(0x19b)]&&_0x8822cf[_0x572dce(0x1a9)](_0x572dce(0x19d)+_0x37159e[_0x572dce(0x19b)]+'\x22'),_0x572dce(0x1cb)+_0x8822cf[_0x572dce(0x1aa)](',\x20')+_0x572dce(0x1c2);})['join'](''),_0x49d26d=_0x316261||_0x49036b[0x0]?.[_0x25e046(0x19b)]||'YourModel';let _0x5d9f59=_0x581cb4[_0x25e046(0x1db)](/\{AppCode\}/g,_0x1ec738)[_0x25e046(0x1db)](/\{ModelConfigs\}/g,_0x18ff3f)[_0x25e046(0x1db)](/\{ExampleModelName\}/g,_0x49d26d)[_0x25e046(0x1db)](/\{ApiFileName\}/g,_0x5535c4||'api')[_0x25e046(0x1db)](/\{ConfigName\}/g,_0x3e0dd1||_0x25e046(0x1be))[_0x25e046(0x1db)](/\{ClientConfigParam\}/g,_0x2fa7e7||'')[_0x25e046(0x1db)](/\{VarPrefix\}/g,_0x75b4df||'LOVRABET')[_0x25e046(0x1db)](/\{CreatedAt\}/g,_0x535b09);return _0x5d9f59;}static async['processTemplate'](_0x42a200,_0x33ec8e,_0x1abd8d,_0x33abfa,_0x4c57e7=!![]){const _0x2fd691=a319_0x582160,_0x169f70=Date['now']();try{_0x4c57e7&&logger[_0x2fd691(0x1b8)](_0x2fd691(0x1a4),'Starting\x20template\x20content\x20replacement',{'templatePath':_0x42a200,'targetPath':_0x33ec8e,'pageName':_0x1abd8d,'templateName':_0x33abfa});await a319_0x361831['promises'][_0x2fd691(0x1ca)](_0x33ec8e,{'recursive':!![]}),await this['processDirectory'](_0x42a200,_0x33ec8e,_0x1abd8d,_0x33abfa);if(_0x4c57e7){const _0x52de49=Date['now']()-_0x169f70;logger[_0x2fd691(0x1c9)](_0x2fd691(0x1a4),_0x2fd691(0x1bb),_0x52de49,{'pageName':_0x1abd8d,'templateName':_0x33abfa});}}catch(_0x55da47){if(_0x4c57e7){const _0x10e927=Date[_0x2fd691(0x1c3)]()-_0x169f70;logger[_0x2fd691(0x1d2)]('template',_0x2fd691(0x1a0),{'templatePath':_0x42a200,'targetPath':_0x33ec8e,'pageName':_0x1abd8d,'templateName':_0x33abfa,'error':_0x55da47 instanceof Error?_0x55da47[_0x2fd691(0x1c7)]:String(_0x55da47),'duration':_0x10e927});}throw _0x55da47;}}static async[a319_0x582160(0x1d9)](_0x471573,_0x23ce06,_0x2419f3,_0xa21c39){const _0x5a0c56=a319_0x582160,_0x55eb6f=await a319_0x361831[_0x5a0c56(0x1c0)][_0x5a0c56(0x1c1)](_0x471573,{'withFileTypes':!![]});for(const _0x46c13b of _0x55eb6f){const _0x15a56d=a319_0x4eb0c2[_0x5a0c56(0x1aa)](_0x471573,_0x46c13b[_0x5a0c56(0x1bf)]);let _0x138113=a319_0x4eb0c2[_0x5a0c56(0x1aa)](_0x23ce06,_0x46c13b[_0x5a0c56(0x1bf)]);_0x46c13b[_0x5a0c56(0x1bf)]['endsWith'](_0x5a0c56(0x1ac))&&(_0x138113=a319_0x4eb0c2[_0x5a0c56(0x1aa)](_0x23ce06,_0x46c13b[_0x5a0c56(0x1bf)][_0x5a0c56(0x1db)](/\.tpl$/,'')));if(_0x46c13b[_0x5a0c56(0x1b9)]())await a319_0x361831[_0x5a0c56(0x1c0)]['mkdir'](_0x138113,{'recursive':!![]}),await this[_0x5a0c56(0x1d9)](_0x15a56d,_0x138113,_0x2419f3,_0xa21c39);else _0x46c13b[_0x5a0c56(0x1a1)]()&&await this[_0x5a0c56(0x1b0)](_0x15a56d,_0x138113,_0x2419f3,_0xa21c39);}}static async[a319_0x582160(0x1b0)](_0x30f10d,_0x2214f0,_0x57c4c4,_0x2e4b26){const _0x5858e9=a319_0x582160,_0x392268=a319_0x4eb0c2[_0x5858e9(0x1b6)](_0x30f10d)[_0x5858e9(0x1cd)]();_0x30f10d[_0x5858e9(0x1c5)](_0x5858e9(0x1ac))&&(_0x2214f0=_0x2214f0[_0x5858e9(0x1db)](/\.tpl$/,''));const _0x4fe3b9=[_0x5858e9(0x1e2),_0x5858e9(0x1e1),_0x5858e9(0x1d6),_0x5858e9(0x1e0),_0x5858e9(0x19f),_0x5858e9(0x1d0),_0x5858e9(0x1a6),_0x5858e9(0x1ad),_0x5858e9(0x1ac)];if(_0x4fe3b9[_0x5858e9(0x1dc)](_0x392268)||_0x30f10d[_0x5858e9(0x1c5)](_0x5858e9(0x1ac))){const _0x42d32f=await a319_0x361831['promises'][_0x5858e9(0x1d7)](_0x30f10d,_0x5858e9(0x1a7)),_0x21bf41=this[_0x5858e9(0x1c6)](_0x42d32f,_0x57c4c4,_0x2e4b26);await a319_0x361831['promises'][_0x5858e9(0x1b4)](_0x2214f0,_0x21bf41,_0x5858e9(0x1a7));}else await a319_0x361831[_0x5858e9(0x1c0)][_0x5858e9(0x1dd)](_0x30f10d,_0x2214f0);}}
1
+ const a319_0x1af683=a319_0x4942;(function(_0x11990b,_0x119d67){const _0x5caa7c=a319_0x4942,_0x212899=_0x11990b();while(!![]){try{const _0x3d3c37=-parseInt(_0x5caa7c(0x1d2))/0x1+parseInt(_0x5caa7c(0x1e2))/0x2+parseInt(_0x5caa7c(0x1d0))/0x3*(-parseInt(_0x5caa7c(0x1f1))/0x4)+-parseInt(_0x5caa7c(0x1ef))/0x5*(parseInt(_0x5caa7c(0x1dd))/0x6)+parseInt(_0x5caa7c(0x1e4))/0x7*(-parseInt(_0x5caa7c(0x1cf))/0x8)+parseInt(_0x5caa7c(0x1e3))/0x9*(parseInt(_0x5caa7c(0x1e9))/0xa)+parseInt(_0x5caa7c(0x1cd))/0xb*(parseInt(_0x5caa7c(0x1ff))/0xc);if(_0x3d3c37===_0x119d67)break;else _0x212899['push'](_0x212899['shift']());}catch(_0x103564){_0x212899['push'](_0x212899['shift']());}}}(a319_0x2ba7,0x28ad2));import a319_0xa8f962 from'node:fs';import a319_0x22e31c from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();function a319_0x4942(_0x5298d3,_0x5d824c){_0x5298d3=_0x5298d3-0x1b8;const _0x2ba7d2=a319_0x2ba7();let _0x49422e=_0x2ba7d2[_0x5298d3];return _0x49422e;}export class TemplateReplacer{static[a319_0x1af683(0x1d1)](_0xb9be77){const _0x575a53=a319_0x1af683;return String(_0xb9be77)[_0x575a53(0x1da)](0x2,'0');}static[a319_0x1af683(0x1d8)](_0x2721ec){const _0x4e9817=a319_0x1af683,_0x3ecd06=_0x2721ec[_0x4e9817(0x1e1)](),_0x1ba46a=this[_0x4e9817(0x1d1)](_0x2721ec[_0x4e9817(0x1bc)]()+0x1),_0x13804f=this['pad'](_0x2721ec[_0x4e9817(0x1f6)]()),_0x2425cd=this[_0x4e9817(0x1d1)](_0x2721ec[_0x4e9817(0x1df)]()),_0x401167=this[_0x4e9817(0x1d1)](_0x2721ec['getMinutes']()),_0x4e4512=this[_0x4e9817(0x1d1)](_0x2721ec[_0x4e9817(0x1fa)]());return{'createdAt':_0x3ecd06+'-'+_0x1ba46a+'-'+_0x13804f+'\x20'+_0x2425cd+':'+_0x401167+':'+_0x4e4512,'createdDate':_0x3ecd06+'-'+_0x1ba46a+'-'+_0x13804f,'createdTime':_0x2425cd+':'+_0x401167+':'+_0x4e4512};}static[a319_0x1af683(0x1d5)](_0x33c3b9){const _0x27c1a6=a319_0x1af683,_0x2d6290=_0x33c3b9[_0x27c1a6(0x1c5)]('/')[_0x27c1a6(0x1e6)]()||_0x33c3b9;return _0x2d6290[_0x27c1a6(0x1c5)]('-')[_0x27c1a6(0x1c9)](_0x527e67=>_0x527e67['charAt'](0x0)[_0x27c1a6(0x1c4)]()+_0x527e67['slice'](0x1)[_0x27c1a6(0x1d6)]())[_0x27c1a6(0x1c1)]('');}static[a319_0x1af683(0x1c6)](_0x507a54){const _0x30b2e8=a319_0x1af683,_0xa7521f=_0x507a54[_0x30b2e8(0x1c5)]('/')[_0x30b2e8(0x1e6)]()||_0x507a54;return _0xa7521f['split']('-')[_0x30b2e8(0x1c9)](_0x231c5c=>_0x231c5c[_0x30b2e8(0x1c3)](0x0)['toUpperCase']()+_0x231c5c[_0x30b2e8(0x1c2)](0x1)[_0x30b2e8(0x1d6)]())[_0x30b2e8(0x1c1)]('\x20');}static[a319_0x1af683(0x1e8)](_0x5f5b43,_0x36e154,_0x437fd8){const _0x45aeba=a319_0x1af683,_0x4ccb21=this[_0x45aeba(0x1d5)](_0x36e154),_0xc350af=this[_0x45aeba(0x1c6)](_0x36e154),{createdAt:_0x486e1c,createdDate:_0x264693,createdTime:_0x5dc067}=this[_0x45aeba(0x1d8)](new Date());let _0x4d35e3=_0x5f5b43[_0x45aeba(0x1ee)](/\{CliVersion\}/g,CLI_VERSION)[_0x45aeba(0x1ee)](/\{ComponentName\}/g,_0x4ccb21)[_0x45aeba(0x1ee)](/\{DisplayTitle\}/g,_0xc350af)[_0x45aeba(0x1ee)](/\{PageName\}/g,_0x36e154)['replace'](/\{TemplateName\}/g,_0x437fd8)[_0x45aeba(0x1ee)](/\{CreatedAt\}/g,_0x486e1c)[_0x45aeba(0x1ee)](/\{CreatedDate\}/g,_0x264693)['replace'](/\{CreatedTime\}/g,_0x5dc067);return _0x4d35e3;}static['replaceApiContent'](_0x2f24c2,_0x179487,_0x1eecb3,_0x347597,_0x1429f6,_0x2600f2,_0x427136,_0x546dd9){const _0x2ca15a=a319_0x1af683,_0xdc4240=new Date(),_0x333189=_0xdc4240[_0x2ca15a(0x1f4)](),_0x5b937d=_0x1eecb3[_0x2ca15a(0x1c9)](_0x26a66f=>{const _0x5cf585=_0x2ca15a,_0x530896=[_0x5cf585(0x1ec)+_0x26a66f['datasetCode']+'\x22',_0x5cf585(0x1d7)+_0x26a66f[_0x5cf585(0x1f9)]+'\x22',_0x5cf585(0x1d3)+_0x26a66f[_0x5cf585(0x1f0)]+'\x22'];return _0x26a66f[_0x5cf585(0x1de)]&&_0x530896[_0x5cf585(0x1bb)](_0x5cf585(0x1fe)+_0x26a66f[_0x5cf585(0x1de)]+'\x22'),_0x5cf585(0x1ce)+_0x530896[_0x5cf585(0x1c1)](',\x20')+_0x5cf585(0x1bf);})[_0x2ca15a(0x1c1)](''),_0x282156=_0x347597||_0x1eecb3[0x0]?.[_0x2ca15a(0x1de)]||_0x2ca15a(0x1b8);let _0x3a8e5a=_0x2f24c2[_0x2ca15a(0x1ee)](/\{AppCode\}/g,_0x179487)[_0x2ca15a(0x1ee)](/\{ModelConfigs\}/g,_0x5b937d)['replace'](/\{ExampleModelName\}/g,_0x282156)[_0x2ca15a(0x1ee)](/\{ApiFileName\}/g,_0x1429f6||'api')[_0x2ca15a(0x1ee)](/\{ConfigName\}/g,_0x2600f2||_0x2ca15a(0x1dc))[_0x2ca15a(0x1ee)](/\{ClientConfigParam\}/g,_0x427136||'')['replace'](/\{VarPrefix\}/g,_0x546dd9||_0x2ca15a(0x1c0))[_0x2ca15a(0x1ee)](/\{CreatedAt\}/g,_0x333189);return _0x3a8e5a;}static async[a319_0x1af683(0x1f7)](_0x181005,_0x1de14d,_0x228d10,_0x14fd02,_0xb1223b=!![]){const _0x21e153=a319_0x1af683,_0x54454b=Date['now']();try{_0xb1223b&&logger[_0x21e153(0x1fc)](_0x21e153(0x1e0),_0x21e153(0x1c7),{'templatePath':_0x181005,'targetPath':_0x1de14d,'pageName':_0x228d10,'templateName':_0x14fd02});await a319_0xa8f962[_0x21e153(0x1e5)][_0x21e153(0x1ed)](_0x1de14d,{'recursive':!![]}),await this[_0x21e153(0x1fd)](_0x181005,_0x1de14d,_0x228d10,_0x14fd02);if(_0xb1223b){const _0x3cc958=Date['now']()-_0x54454b;logger['success']('template',_0x21e153(0x1f8),_0x3cc958,{'pageName':_0x228d10,'templateName':_0x14fd02});}}catch(_0x283529){if(_0xb1223b){const _0x4af710=Date[_0x21e153(0x1e7)]()-_0x54454b;logger[_0x21e153(0x1f2)](_0x21e153(0x1e0),'Template\x20content\x20replacement\x20failed',{'templatePath':_0x181005,'targetPath':_0x1de14d,'pageName':_0x228d10,'templateName':_0x14fd02,'error':_0x283529 instanceof Error?_0x283529[_0x21e153(0x1be)]:String(_0x283529),'duration':_0x4af710});}throw _0x283529;}}static async[a319_0x1af683(0x1fd)](_0xd0f618,_0x5bdd90,_0x28d100,_0x56bb4a){const _0x2f7c57=a319_0x1af683,_0x3df17f=await a319_0xa8f962['promises']['readdir'](_0xd0f618,{'withFileTypes':!![]});for(const _0x44b0b1 of _0x3df17f){const _0x439af2=a319_0x22e31c[_0x2f7c57(0x1c1)](_0xd0f618,_0x44b0b1['name']);let _0x35b71b=a319_0x22e31c[_0x2f7c57(0x1c1)](_0x5bdd90,_0x44b0b1[_0x2f7c57(0x1f0)]);_0x44b0b1['name'][_0x2f7c57(0x1f5)](_0x2f7c57(0x1db))&&(_0x35b71b=a319_0x22e31c[_0x2f7c57(0x1c1)](_0x5bdd90,_0x44b0b1[_0x2f7c57(0x1f0)][_0x2f7c57(0x1ee)](/\.tpl$/,'')));if(_0x44b0b1[_0x2f7c57(0x1eb)]())await a319_0xa8f962[_0x2f7c57(0x1e5)]['mkdir'](_0x35b71b,{'recursive':!![]}),await this[_0x2f7c57(0x1fd)](_0x439af2,_0x35b71b,_0x28d100,_0x56bb4a);else _0x44b0b1[_0x2f7c57(0x1cb)]()&&await this[_0x2f7c57(0x1bd)](_0x439af2,_0x35b71b,_0x28d100,_0x56bb4a);}}static async[a319_0x1af683(0x1bd)](_0x1bf23d,_0x460ce7,_0x52da1a,_0x510d63){const _0x306258=a319_0x1af683,_0x22060a=a319_0x22e31c[_0x306258(0x1ba)](_0x1bf23d)[_0x306258(0x1d6)]();_0x1bf23d['endsWith'](_0x306258(0x1db))&&(_0x460ce7=_0x460ce7[_0x306258(0x1ee)](/\.tpl$/,''));const _0x2a6ea6=[_0x306258(0x1c8),_0x306258(0x1ea),'.jsx','.js',_0x306258(0x1cc),_0x306258(0x1d4),'.css',_0x306258(0x1d9),_0x306258(0x1db)];if(_0x2a6ea6[_0x306258(0x1ca)](_0x22060a)||_0x1bf23d['endsWith'](_0x306258(0x1db))){const _0x1ec47e=await a319_0xa8f962[_0x306258(0x1e5)][_0x306258(0x1f3)](_0x1bf23d,_0x306258(0x1b9)),_0x27a0d4=this[_0x306258(0x1e8)](_0x1ec47e,_0x52da1a,_0x510d63);await a319_0xa8f962[_0x306258(0x1e5)][_0x306258(0x1fb)](_0x460ce7,_0x27a0d4,_0x306258(0x1b9));}else await a319_0xa8f962['promises']['copyFile'](_0x1bf23d,_0x460ce7);}}function a319_0x2ba7(){const _0x2bc7e6=['message','\x20},','LOVRABET','join','slice','charAt','toUpperCase','split','toDisplayTitle','Starting\x20template\x20content\x20replacement','.tsx','map','includes','isFile','.json','3843697tZslFb','\x0a\x20\x20\x20\x20{\x20','696152GtgLzq','144807hwxCrP','pad','57000TekDNK','name:\x20\x22','.md','toComponentName','toLowerCase','tableName:\x20\x22','formatLocalTimestamp','.scss','padStart','.tpl','default','6lUqzxM','alias','getHours','template','getFullYear','343844gCyBAL','6345zfeLpo','21bieBVU','promises','pop','now','replaceContent','970VfgkoL','.ts','isDirectory','datasetCode:\x20\x22','mkdir','replace','1065745ZMEOSp','name','20hMzrqe','error','readFile','toISOString','endsWith','getDate','processTemplate','Template\x20content\x20replacement\x20completed','tableName','getSeconds','writeFile','info','processDirectory','alias:\x20\x22','24nqxhEq','YourModel','utf8','extname','push','getMonth','processFile'];a319_0x2ba7=function(){return _0x2bc7e6;};return a319_0x2ba7();}
@@ -1 +1 @@
1
- function a320_0x304c(){const _0x453337=['number','true','valid','410432wDsaGU','utf8','774300mteFyr','stableVersion','1515650xrKADf','gte','55uXcypZ','rabetbase-cli','/v/','latest','1gtXvSm','trim','object','stringify','5qNbjWW','88590uFJMKc','toLowerCase','28NJNiNe','410762jWGxtH','lastNotifiedAt','2226663UoCaBC','yes','\x20available,\x20current\x20','parse','update-check.json','lastNotifiedVersion','183828TPskdJ','checkedAt'];a320_0x304c=function(){return _0x453337;};return a320_0x304c();}(function(_0xccaa91,_0x58c516){const _0x3ad17d=a320_0x4f6a,_0x48f804=_0xccaa91();while(!![]){try{const _0x21b2d5=parseInt(_0x3ad17d(0x15a))/0x1*(-parseInt(_0x3ad17d(0x162))/0x2)+-parseInt(_0x3ad17d(0x15f))/0x3+parseInt(_0x3ad17d(0x171))/0x4*(-parseInt(_0x3ad17d(0x15e))/0x5)+parseInt(_0x3ad17d(0x16a))/0x6*(parseInt(_0x3ad17d(0x161))/0x7)+-parseInt(_0x3ad17d(0x16f))/0x8+-parseInt(_0x3ad17d(0x164))/0x9+-parseInt(_0x3ad17d(0x154))/0xa*(-parseInt(_0x3ad17d(0x156))/0xb);if(_0x21b2d5===_0x58c516)break;else _0x48f804['push'](_0x48f804['shift']());}catch(_0x3fb2c7){_0x48f804['push'](_0x48f804['shift']());}}}(a320_0x304c,0x2565c));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a320_0x1570b9 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 _0x2bc436=a320_0x4f6a,_0x2326b0=process.env.RABETBASE_NO_UPDATE_NOTICE?.['trim']()[_0x2bc436(0x160)]();return _0x2326b0==='1'||_0x2326b0===_0x2bc436(0x16d)||_0x2326b0===_0x2bc436(0x165);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x131d0c=a320_0x4f6a;return join(cacheRoot(),_0x131d0c(0x157),_0x131d0c(0x168));}async function readUpdateNoticeCache(){const _0x220972=a320_0x4f6a;try{const _0x2d203d=await readFile(getUpdateNoticeCachePath(),_0x220972(0x170)),_0x258f4=JSON[_0x220972(0x167)](_0x2d203d);if(!_0x258f4||typeof _0x258f4!==_0x220972(0x15c))return{};return _0x258f4;}catch{return{};}}function a320_0x4f6a(_0x39ffcd,_0x375573){_0x39ffcd=_0x39ffcd-0x153;const _0x304c78=a320_0x304c();let _0x4f6a88=_0x304c78[_0x39ffcd];return _0x4f6a88;}async function writeUpdateNoticeCache(_0x2ae0b8){const _0x2b17b1=a320_0x4f6a;try{const _0x5a711a=getUpdateNoticeCachePath();await mkdir(dirname(_0x5a711a),{'recursive':!![]}),await writeFile(_0x5a711a,JSON[_0x2b17b1(0x15d)](_0x2ae0b8,null,0x2)+'\x0a','utf8');}catch{}}function isFreshCheck(_0xc9be3d,_0x5c48dc){const _0x2ab7d0=a320_0x4f6a;return typeof _0xc9be3d['checkedAt']===_0x2ab7d0(0x16c)&&_0x5c48dc-_0xc9be3d[_0x2ab7d0(0x16b)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x401b9d,_0x3f70f3,_0x4284e4){const _0x557c62=a320_0x4f6a;return _0x401b9d[_0x557c62(0x169)]===_0x3f70f3&&typeof _0x401b9d[_0x557c62(0x163)]===_0x557c62(0x16c)&&_0x4284e4-_0x401b9d['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0xbc81f6){const _0x15b016=a320_0x4f6a;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0x15b016(0x158)+_0xbc81f6;}export async function resolveLatestUpdateNotice(){const _0x4f21e8=a320_0x4f6a;if(isUpdateNoticeDisabled())return null;try{const _0x474c51=Date['now'](),_0x11a4ff=getCliVersion(),_0xf43b69=await readUpdateNoticeCache();let _0x537d4e=isFreshCheck(_0xf43b69,_0x474c51)?_0xf43b69[_0x4f21e8(0x159)]?.[_0x4f21e8(0x15b)]():undefined;if(!_0x537d4e&&!isFreshCheck(_0xf43b69,_0x474c51)){const _0x1392fd=await getCliVersionPolicy();_0x537d4e=_0x1392fd?.[_0x4f21e8(0x153)]?.[_0x4f21e8(0x15b)]()||undefined,await writeUpdateNoticeCache({..._0xf43b69,'checkedAt':_0x474c51,'latest':_0x537d4e,'failed':!_0x537d4e});}if(!_0x537d4e||!a320_0x1570b9['valid'](_0x11a4ff)||!a320_0x1570b9[_0x4f21e8(0x16e)](_0x537d4e))return null;if(a320_0x1570b9[_0x4f21e8(0x155)](_0x11a4ff,_0x537d4e))return null;if(isRecentlyNotified(_0xf43b69,_0x537d4e,_0x474c51))return null;const _0x262104=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0xf43b69,'checkedAt':isFreshCheck(_0xf43b69,_0x474c51)?_0xf43b69['checkedAt']:_0x474c51,'latest':_0x537d4e,'failed':![],'lastNotifiedVersion':_0x537d4e,'lastNotifiedAt':_0x474c51}),{'command':_0x262104,'current':_0x11a4ff,'latest':_0x537d4e,'url':buildNpmVersionUrl(_0x537d4e),'message':CLI_BIN_NAME+'\x20'+_0x537d4e+_0x4f21e8(0x166)+_0x11a4ff+',\x20run:\x20'+_0x262104};}catch{return null;}}
1
+ (function(_0x48947b,_0xbf6959){const _0x56925d=a320_0xc0bb,_0x7686f5=_0x48947b();while(!![]){try{const _0x34b809=parseInt(_0x56925d(0xaf))/0x1*(-parseInt(_0x56925d(0xa7))/0x2)+-parseInt(_0x56925d(0xa4))/0x3*(parseInt(_0x56925d(0xb8))/0x4)+parseInt(_0x56925d(0xb9))/0x5*(-parseInt(_0x56925d(0xbb))/0x6)+-parseInt(_0x56925d(0xb3))/0x7+-parseInt(_0x56925d(0xa8))/0x8+-parseInt(_0x56925d(0xa9))/0x9*(parseInt(_0x56925d(0xb0))/0xa)+-parseInt(_0x56925d(0xba))/0xb*(-parseInt(_0x56925d(0xaa))/0xc);if(_0x34b809===_0xbf6959)break;else _0x7686f5['push'](_0x7686f5['shift']());}catch(_0x40346a){_0x7686f5['push'](_0x7686f5['shift']());}}}(a320_0x1b82,0x80da1));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a320_0x4362c3 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 _0x37c7d2=a320_0xc0bb,_0x1bdc33=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x37c7d2(0xb7)]()[_0x37c7d2(0xbe)]();return _0x1bdc33==='1'||_0x1bdc33==='true'||_0x1bdc33==='yes';}function cacheRoot(){const _0x2dacc9=a320_0xc0bb;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x2dacc9(0xbd));}export function getUpdateNoticeCachePath(){return join(cacheRoot(),'rabetbase-cli','update-check.json');}async function readUpdateNoticeCache(){const _0x2c92f5=a320_0xc0bb;try{const _0x156395=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x3b7dc2=JSON[_0x2c92f5(0xb2)](_0x156395);if(!_0x3b7dc2||typeof _0x3b7dc2!=='object')return{};return _0x3b7dc2;}catch{return{};}}async function writeUpdateNoticeCache(_0x3019ce){const _0x5ddb45=a320_0xc0bb;try{const _0x4a3097=getUpdateNoticeCachePath();await mkdir(dirname(_0x4a3097),{'recursive':!![]}),await writeFile(_0x4a3097,JSON[_0x5ddb45(0xab)](_0x3019ce,null,0x2)+'\x0a',_0x5ddb45(0xa5));}catch{}}function isFreshCheck(_0x3a0609,_0x9bc875){const _0x39108a=a320_0xc0bb;return typeof _0x3a0609[_0x39108a(0xae)]===_0x39108a(0xac)&&_0x9bc875-_0x3a0609[_0x39108a(0xae)]<UPDATE_CHECK_TTL_MS;}function a320_0xc0bb(_0x18d0ce,_0xfce855){_0x18d0ce=_0x18d0ce-0xa4;const _0x1b820b=a320_0x1b82();let _0xc0bb80=_0x1b820b[_0x18d0ce];return _0xc0bb80;}function isRecentlyNotified(_0x291f90,_0x2d5e20,_0x386731){const _0x441997=a320_0xc0bb;return _0x291f90[_0x441997(0xb1)]===_0x2d5e20&&typeof _0x291f90[_0x441997(0xb6)]===_0x441997(0xac)&&_0x386731-_0x291f90[_0x441997(0xb6)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x504fdc){const _0x58515b=a320_0xc0bb;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0x58515b(0xb4)+_0x504fdc;}export async function resolveLatestUpdateNotice(){const _0xa6fc85=a320_0xc0bb;if(isUpdateNoticeDisabled())return null;try{const _0x5626ca=Date[_0xa6fc85(0xc1)](),_0x51a49b=getCliVersion(),_0x124152=await readUpdateNoticeCache();let _0x2bca59=isFreshCheck(_0x124152,_0x5626ca)?_0x124152[_0xa6fc85(0xbc)]?.[_0xa6fc85(0xb7)]():undefined;if(!_0x2bca59&&!isFreshCheck(_0x124152,_0x5626ca)){const _0x5bd700=await getCliVersionPolicy();_0x2bca59=_0x5bd700?.[_0xa6fc85(0xa6)]?.[_0xa6fc85(0xb7)]()||undefined,await writeUpdateNoticeCache({..._0x124152,'checkedAt':_0x5626ca,'latest':_0x2bca59,'failed':!_0x2bca59});}if(!_0x2bca59||!a320_0x4362c3[_0xa6fc85(0xc0)](_0x51a49b)||!a320_0x4362c3[_0xa6fc85(0xc0)](_0x2bca59))return null;if(a320_0x4362c3[_0xa6fc85(0xad)](_0x51a49b,_0x2bca59))return null;if(isRecentlyNotified(_0x124152,_0x2bca59,_0x5626ca))return null;const _0xe65066=CLI_BIN_NAME+_0xa6fc85(0xb5);return await writeUpdateNoticeCache({..._0x124152,'checkedAt':isFreshCheck(_0x124152,_0x5626ca)?_0x124152[_0xa6fc85(0xae)]:_0x5626ca,'latest':_0x2bca59,'failed':![],'lastNotifiedVersion':_0x2bca59,'lastNotifiedAt':_0x5626ca}),{'command':_0xe65066,'current':_0x51a49b,'latest':_0x2bca59,'url':buildNpmVersionUrl(_0x2bca59),'message':CLI_BIN_NAME+'\x20'+_0x2bca59+_0xa6fc85(0xbf)+_0x51a49b+',\x20run:\x20'+_0xe65066};}catch{return null;}}function a320_0x1b82(){const _0x1ac3d8=['38OktvBa','10XAzIyO','lastNotifiedVersion','parse','2768682qLPMjz','/v/','\x20update','lastNotifiedAt','trim','56kLJnGx','2242525fGHLoA','40792235YHiKOI','12uwdRXV','latest','.cache','toLowerCase','\x20available,\x20current\x20','valid','now','17700vMVKqh','utf8','stableVersion','42088phCDKc','6034160uAsTaw','2263770pNwcks','12hPmAnA','stringify','number','gte','checkedAt'];a320_0x1b82=function(){return _0x1ac3d8;};return a320_0x1b82();}
@@ -1 +1 @@
1
- (function(_0x348c4a,_0x58742f){var _0x53f578=a321_0x453b,_0x1216e=_0x348c4a();while(!![]){try{var _0xab2c34=parseInt(_0x53f578(0xf7))/0x1+parseInt(_0x53f578(0xf5))/0x2*(-parseInt(_0x53f578(0xf2))/0x3)+parseInt(_0x53f578(0xf1))/0x4+parseInt(_0x53f578(0xf3))/0x5+parseInt(_0x53f578(0xf4))/0x6+parseInt(_0x53f578(0xf6))/0x7+-parseInt(_0x53f578(0xf8))/0x8;if(_0xab2c34===_0x58742f)break;else _0x1216e['push'](_0x1216e['shift']());}catch(_0x44c5c8){_0x1216e['push'](_0x1216e['shift']());}}}(a321_0x1ef8,0x5c277));import{VERSION}from'../generated/build-info.js';function a321_0x1ef8(){var _0x1fda22=['278hEbyUb','1621893ALrvJC','244272WPBqKt','4095952WgOBoc','470336JqpVGS','10089hXrBVU','385760ADPTuN','4117242bjUQKj'];a321_0x1ef8=function(){return _0x1fda22;};return a321_0x1ef8();}function a321_0x453b(_0x4a37c2,_0x4cb373){_0x4a37c2=_0x4a37c2-0xf1;var _0x1ef842=a321_0x1ef8();var _0x453b32=_0x1ef842[_0x4a37c2];return _0x453b32;}export function getCliVersion(){return VERSION;}
1
+ (function(_0x317217,_0x260ce5){var _0x18abd7=a321_0x4fe6,_0x3b4663=_0x317217();while(!![]){try{var _0xe54592=parseInt(_0x18abd7(0xf2))/0x1*(-parseInt(_0x18abd7(0xf1))/0x2)+-parseInt(_0x18abd7(0xed))/0x3*(parseInt(_0x18abd7(0xf0))/0x4)+parseInt(_0x18abd7(0xee))/0x5+-parseInt(_0x18abd7(0xef))/0x6+-parseInt(_0x18abd7(0xeb))/0x7*(-parseInt(_0x18abd7(0xea))/0x8)+-parseInt(_0x18abd7(0xf3))/0x9+parseInt(_0x18abd7(0xec))/0xa;if(_0xe54592===_0x260ce5)break;else _0x3b4663['push'](_0x3b4663['shift']());}catch(_0x5edaf7){_0x3b4663['push'](_0x3b4663['shift']());}}}(a321_0x1871,0xeecfc));import{VERSION}from'../generated/build-info.js';function a321_0x4fe6(_0x131dce,_0xa6b7a5){_0x131dce=_0x131dce-0xea;var _0x18714b=a321_0x1871();var _0x4fe6a3=_0x18714b[_0x131dce];return _0x4fe6a3;}export function getCliVersion(){return VERSION;}function a321_0x1871(){var _0x4213ca=['10616760CcdcoX','2952uymzWn','11053XOzBWo','48040310ggwJQB','9mtHoxb','101630XqaJMu','6196200gQuymA','1736368FOTlZw','6yyNdlz','304740pUDqvQ'];a321_0x1871=function(){return _0x4213ca;};return a321_0x1871();}
@@ -1 +1 @@
1
- (function(_0x2ae8dc,_0x3f7733){var _0x23379d=a322_0xa88e,_0x4a06b5=_0x2ae8dc();while(!![]){try{var _0x5e3173=-parseInt(_0x23379d(0xd3))/0x1+parseInt(_0x23379d(0xd0))/0x2*(-parseInt(_0x23379d(0xd1))/0x3)+parseInt(_0x23379d(0xd5))/0x4+parseInt(_0x23379d(0xd8))/0x5*(parseInt(_0x23379d(0xd9))/0x6)+-parseInt(_0x23379d(0xd7))/0x7+-parseInt(_0x23379d(0xd4))/0x8+-parseInt(_0x23379d(0xd6))/0x9*(-parseInt(_0x23379d(0xd2))/0xa);if(_0x5e3173===_0x3f7733)break;else _0x4a06b5['push'](_0x4a06b5['shift']());}catch(_0x107855){_0x4a06b5['push'](_0x4a06b5['shift']());}}}(a322_0x399e,0x46730));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x148538,_0x29c553){setActiveCookie(_0x148538);try{return await _0x29c553();}finally{clearActiveCookie();}}function a322_0xa88e(_0x5d2c16,_0x15074f){_0x5d2c16=_0x5d2c16-0xd0;var _0x399e77=a322_0x399e();var _0xa88e47=_0x399e77[_0x5d2c16];return _0xa88e47;}function a322_0x399e(){var _0x2fc6a8=['40249tcmEQW','3101832QFFcRk','534840MMdnBv','6640506pFZHxl','813106EvygDE','1045rwYQtx','2580TFlEFU','36iSrBlx','21453UFVTuL','10GhtvzK'];a322_0x399e=function(){return _0x2fc6a8;};return a322_0x399e();}
1
+ (function(_0x3cc2b1,_0x22d2d3){var _0x2776a6=a322_0x4c4f,_0x5938f4=_0x3cc2b1();while(!![]){try{var _0x10700e=-parseInt(_0x2776a6(0xb0))/0x1+-parseInt(_0x2776a6(0xae))/0x2*(-parseInt(_0x2776a6(0xb6))/0x3)+-parseInt(_0x2776a6(0xb3))/0x4*(-parseInt(_0x2776a6(0xb4))/0x5)+parseInt(_0x2776a6(0xb5))/0x6*(-parseInt(_0x2776a6(0xb7))/0x7)+parseInt(_0x2776a6(0xb2))/0x8+parseInt(_0x2776a6(0xb8))/0x9+-parseInt(_0x2776a6(0xb1))/0xa*(parseInt(_0x2776a6(0xaf))/0xb);if(_0x10700e===_0x22d2d3)break;else _0x5938f4['push'](_0x5938f4['shift']());}catch(_0x2c019c){_0x5938f4['push'](_0x5938f4['shift']());}}}(a322_0x41af,0x21556));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a322_0x4c4f(_0x172240,_0x9288be){_0x172240=_0x172240-0xae;var _0x41af4a=a322_0x41af();var _0x4c4f8d=_0x41af4a[_0x172240];return _0x4c4f8d;}export async function withActiveCookie(_0x1b5bbe,_0x2384c5){setActiveCookie(_0x1b5bbe);try{return await _0x2384c5();}finally{clearActiveCookie();}}function a322_0x41af(){var _0x582937=['474862uVWRiR','3179uXfQTY','163938tltAiG','8830vTCpRy','1898888FocVgo','44rfKmfM','87590ooERXz','977034eFLzwx','3ovvQok','7Mqlrtx','459072wXtygB'];a322_0x41af=function(){return _0x582937;};return a322_0x41af();}
@@ -1 +1 @@
1
- function a323_0x205e(){var _0x1fd3eb=['55901PUDAEL','7029285OmQdee','44402314DXvKLI','write','32aAfdju','4293855NWlMYz','21MGLHrL','2045907ftnobl','4QkGbXB','40jHUqIo','14011500UkPLcW','2983662cmDfZV'];a323_0x205e=function(){return _0x1fd3eb;};return a323_0x205e();}(function(_0x33fdae,_0x563cec){var _0x3cd1b7=a323_0x3b09,_0x4d5e=_0x33fdae();while(!![]){try{var _0x3b23fb=parseInt(_0x3cd1b7(0x179))/0x1*(parseInt(_0x3cd1b7(0x176))/0x2)+-parseInt(_0x3cd1b7(0x17e))/0x3+-parseInt(_0x3cd1b7(0x175))/0x4*(-parseInt(_0x3cd1b7(0x17a))/0x5)+parseInt(_0x3cd1b7(0x178))/0x6*(parseInt(_0x3cd1b7(0x17f))/0x7)+-parseInt(_0x3cd1b7(0x17d))/0x8*(-parseInt(_0x3cd1b7(0x180))/0x9)+parseInt(_0x3cd1b7(0x177))/0xa+-parseInt(_0x3cd1b7(0x17b))/0xb;if(_0x3b23fb===_0x563cec)break;else _0x4d5e['push'](_0x4d5e['shift']());}catch(_0x3af7bc){_0x4d5e['push'](_0x4d5e['shift']());}}}(a323_0x205e,0xd18b3));function a323_0x3b09(_0x2b3642,_0x40ea68){_0x2b3642=_0x2b3642-0x175;var _0x205e7b=a323_0x205e();var _0x3b0953=_0x205e7b[_0x2b3642];return _0x3b0953;}export function writeCliSideChannelLine(_0x5dc8ab){var _0x2d45d5=a323_0x3b09;process['stderr'][_0x2d45d5(0x17c)](_0x5dc8ab+'\x0a');}
1
+ function a323_0x1c77(){var _0x551983=['1476eVdqxP','290qPgDpi','11NiugsS','2607SRArcz','6478zjTVUv','7532GaZRWu','217sFtMub','5112510nvAHXH','3903272FloVHq','29748564xyHwlR','14cLYtJS','26glUbfD','1228122ZaGXBV'];a323_0x1c77=function(){return _0x551983;};return a323_0x1c77();}(function(_0x1e083a,_0x1c9565){var _0x560f23=a323_0x3c67,_0x1fe3b7=_0x1e083a();while(!![]){try{var _0x2de087=parseInt(_0x560f23(0xca))/0x1*(-parseInt(_0x560f23(0xd5))/0x2)+parseInt(_0x560f23(0xd4))/0x3*(-parseInt(_0x560f23(0xd6))/0x4)+-parseInt(_0x560f23(0xd2))/0x5*(parseInt(_0x560f23(0xd1))/0x6)+-parseInt(_0x560f23(0xce))/0x7*(parseInt(_0x560f23(0xcc))/0x8)+-parseInt(_0x560f23(0xd0))/0x9+-parseInt(_0x560f23(0xcb))/0xa*(parseInt(_0x560f23(0xd3))/0xb)+-parseInt(_0x560f23(0xcd))/0xc*(-parseInt(_0x560f23(0xcf))/0xd);if(_0x2de087===_0x1c9565)break;else _0x1fe3b7['push'](_0x1fe3b7['shift']());}catch(_0x19b841){_0x1fe3b7['push'](_0x1fe3b7['shift']());}}}(a323_0x1c77,0xef875));function a323_0x3c67(_0x57b6fc,_0x4af8c9){_0x57b6fc=_0x57b6fc-0xca;var _0x1c77f2=a323_0x1c77();var _0x3c670d=_0x1c77f2[_0x57b6fc];return _0x3c670d;}export function writeCliSideChannelLine(_0x4f50d9){process['stderr']['write'](_0x4f50d9+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.5.2-beta.6",
3
+ "version": "2.5.2-beta.7",
4
4
  "description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, Backend Function, database connections, skills, and AI agent workflows.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rabetbase
3
- version: 2.5.2-beta.6
3
+ version: 2.5.2-beta.7
4
4
  description: "Use for Lovrabet development work through the rabetbase CLI: create or bind projects (including creating an AppCode project in the current folder), pull Dataset/API facts and maintain SDK clients, or manage datasets, Instant API access policies, database connections, pages, SQL, Backend Functions, menus, notifications, knowledge bases and kb search, Agent Context Rules, roles, files, OCR, deployment metadata, platform issues, and 钉钉沙箱账号绑定. Trigger when the user mentions rabetbase, Lovrabet development, AppCode, Dataset, Instant API allow/deny/route policy, project creation, api pull/codegen, dblink, page, SQL, BFF, menu, notification, knowledge base, kb search, Agent Context Rules, RULES.md, DATABASE.md, rule list/get/set, role, file/OCR, or related development workflows."
5
5
  metadata:
6
6
  requires:
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "rabetbase",
4
4
  "packageName": "@lovrabet/rabetbase-cli",
5
- "packageVersion": "2.5.2-beta.6",
6
- "skillVersion": "2.5.2-beta.6",
5
+ "packageVersion": "2.5.2-beta.7",
6
+ "skillVersion": "2.5.2-beta.7",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/backend-function.md",
@@ -140,5 +140,5 @@
140
140
  "references/rabetbase-user-account.md",
141
141
  "references/rabetbase-workspace.md"
142
142
  ],
143
- "digest": "2179549731ba41ea874331d418e157fb27c71879a1b2584cc9baee7c224eb0d8"
143
+ "digest": "c398ae461dd9b549c11a2cde8ebf8848beb3a93a478ba765d00b8ebfdbbe77aa"
144
144
  }