@lovrabet/rabetbase-cli 2.5.2-beta.4 → 2.5.2-beta.5

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 (325) 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/auto-sync.js +1 -1
  99. package/lib/commands/deployment/index.js +1 -1
  100. package/lib/commands/deployment/sync-all.js +1 -1
  101. package/lib/commands/deployment/sync-jobs.js +1 -1
  102. package/lib/commands/deployment/sync-status.js +1 -1
  103. package/lib/commands/deployment/sync.js +1 -1
  104. package/lib/commands/doctor.js +1 -1
  105. package/lib/commands/file/index.js +1 -1
  106. package/lib/commands/instant-api-policy/current.js +1 -1
  107. package/lib/commands/instant-api-policy/index.js +1 -1
  108. package/lib/commands/instant-api-policy/init.js +1 -1
  109. package/lib/commands/instant-api-policy/publish.js +1 -1
  110. package/lib/commands/instant-api-policy/pull.js +1 -1
  111. package/lib/commands/instant-api-policy/revision.js +1 -1
  112. package/lib/commands/instant-api-policy/revisions.js +1 -1
  113. package/lib/commands/instant-api-policy/rollback.js +1 -1
  114. package/lib/commands/instant-api-policy/shared.js +1 -1
  115. package/lib/commands/instant-api-policy/validate.js +1 -1
  116. package/lib/commands/issue/index.js +1 -1
  117. package/lib/commands/issue/nudge.js +1 -1
  118. package/lib/commands/issue/report.js +1 -1
  119. package/lib/commands/issue/shared.js +1 -1
  120. package/lib/commands/kb/create.js +1 -1
  121. package/lib/commands/kb/delete.js +1 -1
  122. package/lib/commands/kb/detail.js +1 -1
  123. package/lib/commands/kb/index.js +1 -1
  124. package/lib/commands/kb/list.js +1 -1
  125. package/lib/commands/kb/search.js +1 -1
  126. package/lib/commands/kb/shared.js +1 -1
  127. package/lib/commands/kb/update.js +1 -1
  128. package/lib/commands/logs/index.js +1 -1
  129. package/lib/commands/menu/asset-update.js +1 -1
  130. package/lib/commands/menu/delete.js +1 -1
  131. package/lib/commands/menu/external-link-create.js +1 -1
  132. package/lib/commands/menu/external-link-update.js +1 -1
  133. package/lib/commands/menu/group-create.js +1 -1
  134. package/lib/commands/menu/group-update.js +1 -1
  135. package/lib/commands/menu/index.js +1 -1
  136. package/lib/commands/menu/list.js +1 -1
  137. package/lib/commands/menu/move.js +1 -1
  138. package/lib/commands/menu/regroup-start.js +1 -1
  139. package/lib/commands/menu/rename.js +1 -1
  140. package/lib/commands/menu/shared/compare-table.js +1 -1
  141. package/lib/commands/menu/shared/delete-plan.js +1 -1
  142. package/lib/commands/menu/shared/facts.js +1 -1
  143. package/lib/commands/menu/shared/index.js +1 -1
  144. package/lib/commands/menu/shared/inquirer.js +1 -1
  145. package/lib/commands/menu/shared/local-pages.js +1 -1
  146. package/lib/commands/menu/shared/logic.js +1 -1
  147. package/lib/commands/menu/shared/mutations.js +1 -1
  148. package/lib/commands/menu/shared/service.js +1 -1
  149. package/lib/commands/menu/shared/sync-core.js +1 -1
  150. package/lib/commands/menu/shared/update-core.js +1 -1
  151. package/lib/commands/menu/shared/valid-url.js +1 -1
  152. package/lib/commands/menu/sync.js +1 -1
  153. package/lib/commands/menu/visibility-update.js +1 -1
  154. package/lib/commands/notification/config-create.js +1 -1
  155. package/lib/commands/notification/config-delete.js +1 -1
  156. package/lib/commands/notification/config-list.js +1 -1
  157. package/lib/commands/notification/config-update.js +1 -1
  158. package/lib/commands/notification/index.js +1 -1
  159. package/lib/commands/notification/shared.js +1 -1
  160. package/lib/commands/ocr/index.js +1 -1
  161. package/lib/commands/page/create.js +1 -1
  162. package/lib/commands/page/custom/detail.js +1 -1
  163. package/lib/commands/page/custom/list.js +1 -1
  164. package/lib/commands/page/custom/publish.js +1 -1
  165. package/lib/commands/page/custom/shared.js +1 -1
  166. package/lib/commands/page/custom/syntax.js +1 -1
  167. package/lib/commands/page/custom/update.js +1 -1
  168. package/lib/commands/page/data-list-status.js +1 -1
  169. package/lib/commands/page/generate-start.js +1 -1
  170. package/lib/commands/page/generate-status.js +1 -1
  171. package/lib/commands/page/index.js +1 -1
  172. package/lib/commands/page/pull.js +1 -1
  173. package/lib/commands/page/push.js +1 -1
  174. package/lib/commands/page/relation-audit.js +1 -1
  175. package/lib/commands/page/restore.js +1 -1
  176. package/lib/commands/page/shared.js +1 -1
  177. package/lib/commands/page/sync.js +1 -1
  178. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  179. package/lib/commands/project/create/format-elapsed.js +1 -1
  180. package/lib/commands/project/create/main.js +1 -1
  181. package/lib/commands/project/create/materialize-project-template.js +1 -1
  182. package/lib/commands/project/create/project-name.js +1 -1
  183. package/lib/commands/project/create/project-template-archive.js +1 -1
  184. package/lib/commands/project/create/project-template-path.js +1 -1
  185. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  186. package/lib/commands/project/create/use-format-code.js +1 -1
  187. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  188. package/lib/commands/project/domain-routing-sync.js +1 -1
  189. package/lib/commands/project/index.js +1 -1
  190. package/lib/commands/project/upgrade.js +1 -1
  191. package/lib/commands/registry.js +1 -1
  192. package/lib/commands/role/delete.js +1 -1
  193. package/lib/commands/role/detail.js +1 -1
  194. package/lib/commands/role/index.js +1 -1
  195. package/lib/commands/role/list.js +1 -1
  196. package/lib/commands/role/shared.js +1 -1
  197. package/lib/commands/role/update.js +1 -1
  198. package/lib/commands/role/user-add.js +1 -1
  199. package/lib/commands/role/user-remove.js +1 -1
  200. package/lib/commands/role/user-resolve.js +1 -1
  201. package/lib/commands/rule/get.js +1 -1
  202. package/lib/commands/rule/index.js +1 -1
  203. package/lib/commands/rule/list.js +1 -1
  204. package/lib/commands/rule/set.js +1 -1
  205. package/lib/commands/rule/shared.js +1 -1
  206. package/lib/commands/run/index.js +1 -1
  207. package/lib/commands/schema.js +1 -1
  208. package/lib/commands/sql/create.js +1 -1
  209. package/lib/commands/sql/delete.js +1 -1
  210. package/lib/commands/sql/detail.js +1 -1
  211. package/lib/commands/sql/exec.js +1 -1
  212. package/lib/commands/sql/index.js +1 -1
  213. package/lib/commands/sql/list.js +1 -1
  214. package/lib/commands/sql/pull.js +1 -1
  215. package/lib/commands/sql/push.js +1 -1
  216. package/lib/commands/sql/shared.js +1 -1
  217. package/lib/commands/sql/status.js +1 -1
  218. package/lib/commands/sql/validate.js +1 -1
  219. package/lib/commands/task/index.js +1 -1
  220. package/lib/commands/task/status.js +1 -1
  221. package/lib/commands/tenant/index.js +1 -1
  222. package/lib/commands/tenant/members-list.js +1 -1
  223. package/lib/commands/tenant/shared.js +1 -1
  224. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  225. package/lib/commands/user-account/index.js +1 -1
  226. package/lib/commands/workspace/add.js +1 -1
  227. package/lib/commands/workspace/index.js +1 -1
  228. package/lib/commands/workspace/remove.js +1 -1
  229. package/lib/config/domain-config.js +1 -1
  230. package/lib/config/project-domain-routing.js +1 -1
  231. package/lib/config/schema.js +1 -1
  232. package/lib/constant/cdn.js +1 -1
  233. package/lib/constant/cli.js +1 -1
  234. package/lib/constant/defaults.js +1 -1
  235. package/lib/constant/domain.js +1 -1
  236. package/lib/constant/env.js +1 -1
  237. package/lib/constant/output.js +1 -1
  238. package/lib/constant/paths.js +1 -1
  239. package/lib/constant/region.js +1 -1
  240. package/lib/constant/risk.js +1 -1
  241. package/lib/constant/routing-profile.js +1 -1
  242. package/lib/context/app-resolver.js +1 -1
  243. package/lib/context/auth-resolver.js +1 -1
  244. package/lib/context/config-loader.js +1 -1
  245. package/lib/context.js +1 -1
  246. package/lib/core/alias-resolver.js +1 -1
  247. package/lib/core/api-client.js +1 -1
  248. package/lib/core/bff/config.js +1 -1
  249. package/lib/core/bff/file-system.js +1 -1
  250. package/lib/core/bff/hash.js +1 -1
  251. package/lib/core/bff/lock.js +1 -1
  252. package/lib/core/bff/utils.js +1 -1
  253. package/lib/core/db-resolver.js +1 -1
  254. package/lib/core/instant-api-policy/config.js +1 -1
  255. package/lib/core/kb-search-client.js +1 -1
  256. package/lib/core/page/file-system.js +1 -1
  257. package/lib/core/page/hash.js +1 -1
  258. package/lib/core/page/lock.js +1 -1
  259. package/lib/core/sql-index-auditor.js +1 -1
  260. package/lib/core/sql-sync/config.js +1 -1
  261. package/lib/core/sql-sync/file-system.js +1 -1
  262. package/lib/core/sql-sync/hash.js +1 -1
  263. package/lib/core/sql-sync/lock.js +1 -1
  264. package/lib/core/sql-sync/utils.js +1 -1
  265. package/lib/core/sql-validator.js +1 -1
  266. package/lib/errors.js +1 -1
  267. package/lib/framework/build-all-flags.js +1 -1
  268. package/lib/framework/error-output.js +1 -1
  269. package/lib/framework/explicit-yes.js +1 -1
  270. package/lib/framework/flags.js +1 -1
  271. package/lib/framework/help.js +1 -1
  272. package/lib/framework/index.js +1 -1
  273. package/lib/framework/output.js +1 -1
  274. package/lib/framework/response.js +1 -1
  275. package/lib/framework/runner-alias.js +1 -1
  276. package/lib/framework/runner.js +1 -1
  277. package/lib/framework/schema-export.js +1 -1
  278. package/lib/framework/supported-flags.js +1 -1
  279. package/lib/framework/types.js +1 -1
  280. package/lib/generated/build-info.d.ts +4 -4
  281. package/lib/generated/build-info.js +1 -1
  282. package/lib/generated/official-routing.js +1 -1
  283. package/lib/generated/routing-contract.js +1 -1
  284. package/lib/help.js +1 -1
  285. package/lib/postinstall.js +1 -1
  286. package/lib/runtime/confirmation.js +1 -1
  287. package/lib/runtime/event.js +1 -1
  288. package/lib/runtime/index.js +1 -1
  289. package/lib/runtime/queue.js +1 -1
  290. package/lib/runtime/resolve.js +1 -1
  291. package/lib/skills/builtin-skill.js +1 -1
  292. package/lib/skills/main.js +1 -1
  293. package/lib/skills/npx-skills-add.js +1 -1
  294. package/lib/skills/skill-presence.js +1 -1
  295. package/lib/telemetry/cli-command-trace.js +1 -1
  296. package/lib/telemetry/cli-help-trace.js +1 -1
  297. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  298. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  299. package/lib/telemetry/send-cli-trace-log.js +1 -1
  300. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  301. package/lib/utils/ai_config.js +1 -1
  302. package/lib/utils/apply-jq-filter.js +1 -1
  303. package/lib/utils/cdn-config.js +1 -1
  304. package/lib/utils/check-sdk-version.js +1 -1
  305. package/lib/utils/cli-version-check.js +1 -1
  306. package/lib/utils/cli-version-policy.js +1 -1
  307. package/lib/utils/config.js +1 -1
  308. package/lib/utils/entity-with-id.js +1 -1
  309. package/lib/utils/file-utils.js +1 -1
  310. package/lib/utils/guides-cdn.js +1 -1
  311. package/lib/utils/http-client.js +1 -1
  312. package/lib/utils/is-non-interactive.js +1 -1
  313. package/lib/utils/logger.js +1 -1
  314. package/lib/utils/params.js +1 -1
  315. package/lib/utils/platform.d.ts +6 -5
  316. package/lib/utils/platform.js +1 -1
  317. package/lib/utils/sleep.js +1 -1
  318. package/lib/utils/template-replacer.js +1 -1
  319. package/lib/utils/update-notice.js +1 -1
  320. package/lib/utils/version.js +1 -1
  321. package/lib/utils/with-active-cookie.js +1 -1
  322. package/lib/utils/write-cli-side-channel.js +1 -1
  323. package/package.json +1 -1
  324. package/skills/rabetbase/SKILL.md +1 -1
  325. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- const a314_0x2750e4=a314_0x45d7;(function(_0x4c90d6,_0x5cae9d){const _0x3373c3=a314_0x45d7,_0x32e826=_0x4c90d6();while(!![]){try{const _0x441ec8=parseInt(_0x3373c3(0x185))/0x1*(-parseInt(_0x3373c3(0x19d))/0x2)+parseInt(_0x3373c3(0x184))/0x3+-parseInt(_0x3373c3(0x196))/0x4*(-parseInt(_0x3373c3(0x188))/0x5)+-parseInt(_0x3373c3(0x18b))/0x6+-parseInt(_0x3373c3(0x197))/0x7*(-parseInt(_0x3373c3(0x1a0))/0x8)+-parseInt(_0x3373c3(0x19a))/0x9+-parseInt(_0x3373c3(0x187))/0xa;if(_0x441ec8===_0x5cae9d)break;else _0x32e826['push'](_0x32e826['shift']());}catch(_0x1784dd){_0x32e826['push'](_0x32e826['shift']());}}}(a314_0x356f,0x46c7c));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 _0x4e0c1e=a314_0x45d7,_0x89baf=getTemplateBaseUrl();return _0x89baf+_0x4e0c1e(0x192);}const CACHE_DIR=join(homedir(),'.lovrabet',a314_0x2750e4(0x18f));export async function fetchGuidesFromCDN(){const _0x303605=a314_0x2750e4,_0x2f8e19=getGuidesCdnUrl(),_0x408471=await fetch(_0x2f8e19,{'headers':{'Accept':'application/json'}});if(!_0x408471['ok'])throw new Error('CDN\x20request\x20failed:\x20'+_0x408471['status']+'\x20'+_0x408471['statusText']);const _0xd2d855=await _0x408471['json']();if(!_0xd2d855[_0x303605(0x199)]||typeof _0xd2d855['guides']!==_0x303605(0x18e))throw new Error(_0x303605(0x195));return _0xd2d855;}export function writeGuidesToProject(_0x5aa612,_0x2dda37,_0x2f35a6='.lovrabet/skill/guides',_0x45cd8e){const _0xfc64e2=a314_0x2750e4,_0x2d8afc=join(_0x2dda37,_0x2f35a6);mkdirSync(_0x2d8afc,{'recursive':!![]});for(const [_0x23796a,_0xf7255a]of Object[_0xfc64e2(0x18a)](_0x5aa612[_0xfc64e2(0x199)])){let _0x4abd21=_0xf7255a[_0xfc64e2(0x18d)];_0xf7255a[_0xfc64e2(0x19f)]&&(_0x4abd21=appendUpdateTime(_0x4abd21,_0xf7255a[_0xfc64e2(0x19f)])),writeFileSync(join(_0x2d8afc,_0x23796a+_0xfc64e2(0x19c)),_0x4abd21,_0xfc64e2(0x19e));}}export function appendUpdateTime(_0x48ca82,_0x2624c1){const _0x335c79=a314_0x2750e4;return _0x48ca82=_0x48ca82[_0x335c79(0x1a1)](/\n*>更新时间:.*$/m,''),_0x48ca82['trimEnd']()+(_0x335c79(0x189)+_0x2624c1);}function a314_0x45d7(_0x4f5249,_0x45d1ff){_0x4f5249=_0x4f5249-0x184;const _0x356f6d=a314_0x356f();let _0x45d775=_0x356f6d[_0x4f5249];return _0x45d775;}export function getSkillTemplate(_0x5f1f1a){const _0x2fcda1=a314_0x2750e4;return _0x5f1f1a[_0x2fcda1(0x18c)]?.[_0x2fcda1(0x18d)]||'';}export function appendExtendContents(_0x3717d7,_0xc5a49e,_0x144d76){const _0x56bda1=a314_0x2750e4,_0x31cccc=[];for(const [,_0x40ec7c]of Object['entries'](_0xc5a49e[_0x56bda1(0x199)])){_0x40ec7c['extendContent']&&_0x31cccc['push'](_0x40ec7c[_0x56bda1(0x198)][_0x56bda1(0x194)]());}if(_0x31cccc[_0x56bda1(0x190)]===0x0)return _0x3717d7;return _0x3717d7[_0x56bda1(0x194)]()+'\x0a\x0a'+_0x31cccc[_0x56bda1(0x19b)]('\x0a\x0a')+'\x0a';}export function writeSkillFile(_0x13e0b5,_0x533f75,_0x39833f){const _0x3daa65=a314_0x2750e4,_0x2e2ecf=getSkillTemplate(_0x13e0b5);if(!_0x2e2ecf)throw new Error(_0x3daa65(0x186));const _0x3208a0=dirname(_0x533f75);mkdirSync(_0x3208a0,{'recursive':!![]});let _0x44d003=_0x2e2ecf[_0x3daa65(0x1a1)](/\{\{IDE_NAME\}\}/g,_0x39833f);_0x44d003=appendExtendContents(_0x44d003,_0x13e0b5),_0x13e0b5[_0x3daa65(0x18c)]['lastUpdated']&&(_0x44d003=appendUpdateTime(_0x44d003,_0x13e0b5[_0x3daa65(0x18c)]['lastUpdated'])),writeFileSync(_0x533f75,_0x44d003,_0x3daa65(0x19e));}export async function installGuides(_0x1ff9eb){const _0x126ef1=a314_0x2750e4,_0x1eebf9=await fetchGuidesFromCDN();return writeGuidesToProject(_0x1eebf9,_0x1ff9eb),Object[_0x126ef1(0x193)](_0x1eebf9[_0x126ef1(0x199)])[_0x126ef1(0x190)];}function a314_0x356f(){const _0x53f237=['path','/skills/guides.json','keys','trimEnd','CDN\x20returned\x20invalid\x20data','536WBEdfW','49RwHtjE','extendContent','guides','1149417QsdWAB','join','.md','81218CcYMUt','utf-8','lastUpdated','345024QDcwBV','replace','map','1517262JDGKNf','6UlSYkq','CDN\x20data\x20is\x20missing\x20skillTemplate','2254970YAYUKj','8035vHRMCe','\x0a\x0a>更新时间:','entries','817248qUALTN','skillTemplate','content','object','cache','length'];a314_0x356f=function(){return _0x53f237;};return a314_0x356f();}export function getGuidesSummary(_0x544539){const _0x5b05a1=a314_0x2750e4;return Object[_0x5b05a1(0x18a)](_0x544539[_0x5b05a1(0x199)])[_0x5b05a1(0x1a2)](([_0x4bf629,_0x25c343])=>({'key':_0x4bf629,'title':_0x25c343['title'],'path':_0x25c343[_0x5b05a1(0x191)]}));}
1
+ const a314_0x838b93=a314_0x1162;(function(_0x3d5d68,_0x35b348){const _0x2ea467=a314_0x1162,_0x514cc8=_0x3d5d68();while(!![]){try{const _0x22be10=parseInt(_0x2ea467(0x195))/0x1+-parseInt(_0x2ea467(0x1a8))/0x2*(-parseInt(_0x2ea467(0x19e))/0x3)+-parseInt(_0x2ea467(0x194))/0x4+parseInt(_0x2ea467(0x1ae))/0x5*(-parseInt(_0x2ea467(0x1b4))/0x6)+parseInt(_0x2ea467(0x19f))/0x7*(parseInt(_0x2ea467(0x197))/0x8)+-parseInt(_0x2ea467(0x1b0))/0x9*(parseInt(_0x2ea467(0x199))/0xa)+parseInt(_0x2ea467(0x1ac))/0xb;if(_0x22be10===_0x35b348)break;else _0x514cc8['push'](_0x514cc8['shift']());}catch(_0x209a4c){_0x514cc8['push'](_0x514cc8['shift']());}}}(a314_0x348e,0xce179));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 _0x58a0cd=a314_0x1162,_0x3edddc=getTemplateBaseUrl();return _0x3edddc+_0x58a0cd(0x1b3);}const CACHE_DIR=join(homedir(),a314_0x838b93(0x196),a314_0x838b93(0x192));export async function fetchGuidesFromCDN(){const _0x1bf3a8=a314_0x838b93,_0x2dab70=getGuidesCdnUrl(),_0x1d1f5d=await fetch(_0x2dab70,{'headers':{'Accept':_0x1bf3a8(0x1a1)}});if(!_0x1d1f5d['ok'])throw new Error(_0x1bf3a8(0x1a6)+_0x1d1f5d[_0x1bf3a8(0x18f)]+'\x20'+_0x1d1f5d[_0x1bf3a8(0x1a4)]);const _0x36490a=await _0x1d1f5d[_0x1bf3a8(0x198)]();if(!_0x36490a[_0x1bf3a8(0x1ab)]||typeof _0x36490a['guides']!==_0x1bf3a8(0x1a0))throw new Error(_0x1bf3a8(0x19d));return _0x36490a;}export function writeGuidesToProject(_0x1a3426,_0x193f0,_0x1bb1dc='.lovrabet/skill/guides',_0x4f3407){const _0x17f427=a314_0x838b93,_0x43b130=join(_0x193f0,_0x1bb1dc);mkdirSync(_0x43b130,{'recursive':!![]});for(const [_0x3aa262,_0x468823]of Object[_0x17f427(0x191)](_0x1a3426['guides'])){let _0x4ce141=_0x468823[_0x17f427(0x1a3)];_0x468823[_0x17f427(0x1ad)]&&(_0x4ce141=appendUpdateTime(_0x4ce141,_0x468823[_0x17f427(0x1ad)])),writeFileSync(join(_0x43b130,_0x3aa262+_0x17f427(0x1aa)),_0x4ce141,_0x17f427(0x19a));}}export function appendUpdateTime(_0x4a4e53,_0x374143){const _0x301c63=a314_0x838b93;return _0x4a4e53=_0x4a4e53[_0x301c63(0x190)](/\n*>更新时间:.*$/m,''),_0x4a4e53[_0x301c63(0x1a2)]()+(_0x301c63(0x1b2)+_0x374143);}function a314_0x1162(_0x3c03dd,_0x462b56){_0x3c03dd=_0x3c03dd-0x18e;const _0x348e17=a314_0x348e();let _0x1162d1=_0x348e17[_0x3c03dd];return _0x1162d1;}export function getSkillTemplate(_0x8af455){const _0xbb8995=a314_0x838b93;return _0x8af455[_0xbb8995(0x1af)]?.['content']||'';}export function appendExtendContents(_0xffd7e6,_0x118e8f,_0x452d3b){const _0xb8ddef=a314_0x838b93,_0x39c92c=[];for(const [,_0xd4761]of Object[_0xb8ddef(0x191)](_0x118e8f['guides'])){_0xd4761[_0xb8ddef(0x1a5)]&&_0x39c92c[_0xb8ddef(0x1a9)](_0xd4761[_0xb8ddef(0x1a5)][_0xb8ddef(0x1a2)]());}if(_0x39c92c[_0xb8ddef(0x1a7)]===0x0)return _0xffd7e6;return _0xffd7e6[_0xb8ddef(0x1a2)]()+'\x0a\x0a'+_0x39c92c[_0xb8ddef(0x1b1)]('\x0a\x0a')+'\x0a';}function a314_0x348e(){const _0x2dbd0f=['application/json','trimEnd','content','statusText','extendContent','CDN\x20request\x20failed:\x20','length','12mDBCFi','push','.md','guides','17107607xVqoGG','lastUpdated','171845oEpZeQ','skillTemplate','9oNDDvM','join','\x0a\x0a>更新时间:','/skills/guides.json','126KYVkmS','map','status','replace','entries','cache','CDN\x20data\x20is\x20missing\x20skillTemplate','6208888aChMLV','343010pDGnLF','.lovrabet','1328olJfce','json','12966830KKdzSE','utf-8','title','path','CDN\x20returned\x20invalid\x20data','824439HOitZp','36589ZKdtny','object'];a314_0x348e=function(){return _0x2dbd0f;};return a314_0x348e();}export function writeSkillFile(_0x4593aa,_0x19b988,_0x27a7a2){const _0x16020e=a314_0x838b93,_0x5ac646=getSkillTemplate(_0x4593aa);if(!_0x5ac646)throw new Error(_0x16020e(0x193));const _0x3bbe70=dirname(_0x19b988);mkdirSync(_0x3bbe70,{'recursive':!![]});let _0x4e07b0=_0x5ac646[_0x16020e(0x190)](/\{\{IDE_NAME\}\}/g,_0x27a7a2);_0x4e07b0=appendExtendContents(_0x4e07b0,_0x4593aa),_0x4593aa['skillTemplate'][_0x16020e(0x1ad)]&&(_0x4e07b0=appendUpdateTime(_0x4e07b0,_0x4593aa[_0x16020e(0x1af)][_0x16020e(0x1ad)])),writeFileSync(_0x19b988,_0x4e07b0,_0x16020e(0x19a));}export async function installGuides(_0x8a9d43){const _0x129168=a314_0x838b93,_0x13eeab=await fetchGuidesFromCDN();return writeGuidesToProject(_0x13eeab,_0x8a9d43),Object['keys'](_0x13eeab[_0x129168(0x1ab)])[_0x129168(0x1a7)];}export function getGuidesSummary(_0x750fd8){const _0x309677=a314_0x838b93;return Object[_0x309677(0x191)](_0x750fd8[_0x309677(0x1ab)])[_0x309677(0x18e)](([_0x59b3e7,_0x47964b])=>({'key':_0x59b3e7,'title':_0x47964b[_0x309677(0x19b)],'path':_0x47964b[_0x309677(0x19c)]}));}
@@ -1 +1 @@
1
- (function(_0x48a88e,_0x54bae8){const _0x3c4fab=a315_0x3e87,_0x14c584=_0x48a88e();while(!![]){try{const _0x2a9789=parseInt(_0x3c4fab(0x128))/0x1+parseInt(_0x3c4fab(0x139))/0x2+parseInt(_0x3c4fab(0x136))/0x3+parseInt(_0x3c4fab(0x129))/0x4+-parseInt(_0x3c4fab(0x138))/0x5+parseInt(_0x3c4fab(0x133))/0x6*(parseInt(_0x3c4fab(0x12b))/0x7)+-parseInt(_0x3c4fab(0x131))/0x8;if(_0x2a9789===_0x54bae8)break;else _0x14c584['push'](_0x14c584['shift']());}catch(_0x24f4bf){_0x14c584['push'](_0x14c584['shift']());}}}(a315_0x5a8b,0xddfcd));function a315_0x5a8b(){const _0x32c18a=['TypeError','name','headers','24071272QmXRaF','content-type','6xLVYKP','status','application/json','2227299GqJjql','text','7139505oQQFJH','978942OYvCxE','abort','AbortError','*\x20Request\x20failed;\x20retry\x20','statusText','includes','get','json','1231430hQxyUQ','5690460AopHzx','ENOTFOUND','10220854jZSOCt','ECONNRESET','message'];a315_0x5a8b=function(){return _0x32c18a;};return a315_0x5a8b();}export async function httpRequest(_0x453f47,_0x20907c={}){const _0xe35f04=a315_0x3e87,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x20907c;let _0xa52bc8=null;for(let _0xffbeb6=0x0;_0xffbeb6<=retries;_0xffbeb6++){try{const _0x2f0ecc=new AbortController(),_0x20be2d=setTimeout(()=>_0x2f0ecc[_0xe35f04(0x13a)](),timeout),_0x321140=await fetch(_0x453f47,{'headers':headers,'signal':_0x2f0ecc['signal']});clearTimeout(_0x20be2d);let _0x2c079b;const _0x6ed809=_0x321140['headers'][_0xe35f04(0x126)](_0xe35f04(0x132));return _0x6ed809?.[_0xe35f04(0x125)](_0xe35f04(0x135))?_0x2c079b=await _0x321140[_0xe35f04(0x127)]():_0x2c079b=await _0x321140[_0xe35f04(0x137)](),{'ok':_0x321140['ok'],'status':_0x321140[_0xe35f04(0x134)],'statusText':_0x321140[_0xe35f04(0x13d)],'data':_0x2c079b,'headers':_0x321140[_0xe35f04(0x130)],'url':_0x321140['url'],'text':()=>_0x321140['text']()};}catch(_0x54ec65){_0xa52bc8=_0x54ec65 instanceof Error?_0x54ec65:new Error(String(_0x54ec65));if(_0xffbeb6===retries)break;if(shouldRetry(_0x54ec65)){console['log'](_0xe35f04(0x13c)+(_0xffbeb6+0x1)+'\x20in\x20'+retryDelay+'ms...'),await sleep(retryDelay);continue;}else break;}}throw _0xa52bc8||new Error('Request\x20failed');}function shouldRetry(_0x2d073e){const _0xbcf3bf=a315_0x3e87;if(_0x2d073e instanceof Error){if(_0x2d073e['name']===_0xbcf3bf(0x13b))return![];if(_0x2d073e[_0xbcf3bf(0x12f)]===_0xbcf3bf(0x12e)&&_0x2d073e[_0xbcf3bf(0x12d)][_0xbcf3bf(0x125)]('fetch'))return!![];if(_0x2d073e[_0xbcf3bf(0x12d)]['includes'](_0xbcf3bf(0x12c)))return!![];if(_0x2d073e[_0xbcf3bf(0x12d)][_0xbcf3bf(0x125)](_0xbcf3bf(0x12a)))return![];}return![];}function a315_0x3e87(_0xda124,_0x3dd5b8){_0xda124=_0xda124-0x125;const _0x5a8b12=a315_0x5a8b();let _0x3e87c7=_0x5a8b12[_0xda124];return _0x3e87c7;}function sleep(_0xb7a6da){return new Promise(_0x21f5c7=>setTimeout(_0x21f5c7,_0xb7a6da));}export function validateUrl(_0x29f375){try{return new URL(_0x29f375),!![];}catch{return![];}}
1
+ (function(_0x37db87,_0x4c22e5){const _0x3a1574=a315_0x51bc,_0x1207df=_0x37db87();while(!![]){try{const _0x3a0b65=-parseInt(_0x3a1574(0xa1))/0x1*(-parseInt(_0x3a1574(0x9b))/0x2)+parseInt(_0x3a1574(0xae))/0x3*(-parseInt(_0x3a1574(0xb4))/0x4)+parseInt(_0x3a1574(0xa6))/0x5*(parseInt(_0x3a1574(0xa4))/0x6)+-parseInt(_0x3a1574(0xb5))/0x7*(-parseInt(_0x3a1574(0xa3))/0x8)+parseInt(_0x3a1574(0xa2))/0x9+parseInt(_0x3a1574(0xa0))/0xa*(parseInt(_0x3a1574(0x9a))/0xb)+-parseInt(_0x3a1574(0xab))/0xc*(parseInt(_0x3a1574(0xad))/0xd);if(_0x3a0b65===_0x4c22e5)break;else _0x1207df['push'](_0x1207df['shift']());}catch(_0x34b3fb){_0x1207df['push'](_0x1207df['shift']());}}}(a315_0x4877,0x95116));function a315_0x4877(){const _0x26c072=['includes','2860yqlgLo','109051fkDMIJ','1514205pqbtfn','5566816kQFRRz','1649178gvNxxS','message','5rEKiNz','application/json','text','ENOTFOUND','Request\x20failed','48nbQUoU','*\x20Request\x20failed;\x20retry\x20','2002663IFKHNX','3BfjVLY','AbortError','signal','headers','TypeError','get','4780772cMPTkj','7ZcOVIJ','fetch','statusText','ECONNRESET','19987ykmVXn','14AIKdYC','\x20in\x20','ms...','log'];a315_0x4877=function(){return _0x26c072;};return a315_0x4877();}export async function httpRequest(_0x2e14a6,_0x475dbf={}){const _0x5bb096=a315_0x51bc,{timeout:timeout=0x7530,retries:retries=0x3,retryDelay:retryDelay=0x3e8,headers:headers={}}=_0x475dbf;let _0x2f7f1e=null;for(let _0x30ca11=0x0;_0x30ca11<=retries;_0x30ca11++){try{const _0x18286b=new AbortController(),_0x591fd3=setTimeout(()=>_0x18286b['abort'](),timeout),_0xf4e739=await fetch(_0x2e14a6,{'headers':headers,'signal':_0x18286b[_0x5bb096(0xb0)]});clearTimeout(_0x591fd3);let _0xe36f50;const _0x15f7e7=_0xf4e739['headers'][_0x5bb096(0xb3)]('content-type');return _0x15f7e7?.[_0x5bb096(0x9f)](_0x5bb096(0xa7))?_0xe36f50=await _0xf4e739['json']():_0xe36f50=await _0xf4e739[_0x5bb096(0xa8)](),{'ok':_0xf4e739['ok'],'status':_0xf4e739['status'],'statusText':_0xf4e739[_0x5bb096(0x98)],'data':_0xe36f50,'headers':_0xf4e739[_0x5bb096(0xb1)],'url':_0xf4e739['url'],'text':()=>_0xf4e739[_0x5bb096(0xa8)]()};}catch(_0x1637c9){_0x2f7f1e=_0x1637c9 instanceof Error?_0x1637c9:new Error(String(_0x1637c9));if(_0x30ca11===retries)break;if(shouldRetry(_0x1637c9)){console[_0x5bb096(0x9e)](_0x5bb096(0xac)+(_0x30ca11+0x1)+_0x5bb096(0x9c)+retryDelay+_0x5bb096(0x9d)),await sleep(retryDelay);continue;}else break;}}throw _0x2f7f1e||new Error(_0x5bb096(0xaa));}function shouldRetry(_0xf4736a){const _0x3daccb=a315_0x51bc;if(_0xf4736a instanceof Error){if(_0xf4736a['name']===_0x3daccb(0xaf))return![];if(_0xf4736a['name']===_0x3daccb(0xb2)&&_0xf4736a['message']['includes'](_0x3daccb(0xb6)))return!![];if(_0xf4736a['message']['includes'](_0x3daccb(0x99)))return!![];if(_0xf4736a[_0x3daccb(0xa5)][_0x3daccb(0x9f)](_0x3daccb(0xa9)))return![];}return![];}function a315_0x51bc(_0x2cf996,_0x241be7){_0x2cf996=_0x2cf996-0x98;const _0x4877ef=a315_0x4877();let _0x51bc21=_0x4877ef[_0x2cf996];return _0x51bc21;}function sleep(_0xb28c6b){return new Promise(_0x299bb1=>setTimeout(_0x299bb1,_0xb28c6b));}export function validateUrl(_0xd1705){try{return new URL(_0xd1705),!![];}catch{return![];}}
@@ -1 +1 @@
1
- (function(_0x13adab,_0x407171){const _0x439e9b=a316_0x4696,_0x1f0f65=_0x13adab();while(!![]){try{const _0x14bd8a=parseInt(_0x439e9b(0x1f9))/0x1*(-parseInt(_0x439e9b(0x1f7))/0x2)+-parseInt(_0x439e9b(0x1f3))/0x3+parseInt(_0x439e9b(0x1f1))/0x4+parseInt(_0x439e9b(0x1fb))/0x5+parseInt(_0x439e9b(0x1f4))/0x6+parseInt(_0x439e9b(0x1f0))/0x7+-parseInt(_0x439e9b(0x1f6))/0x8;if(_0x14bd8a===_0x407171)break;else _0x1f0f65['push'](_0x1f0f65['shift']());}catch(_0x22230a){_0x1f0f65['push'](_0x1f0f65['shift']());}}}(a316_0x42a8,0x1a570));function a316_0x4696(_0x9a8c3f,_0x54db2f){_0x9a8c3f=_0x9a8c3f-0x1ef;const _0x42a8ff=a316_0x42a8();let _0x46968d=_0x42a8ff[_0x9a8c3f];return _0x46968d;}function env(_0x1a347b){return process.env[`RABETBASE_${_0x1a347b}`]||process.env[`LOVRABET_${_0x1a347b}`]||undefined;}export function isNonInteractive(_0x469665){const _0x4c2121=a316_0x4696;return!!(_0x469665[_0x4c2121(0x1f2)]||_0x469665['ci']||env('CI')==='true'||process.env.CI===_0x4c2121(0x1fa)||!process[_0x4c2121(0x1ef)][_0x4c2121(0x1fd)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x1e1c33=a316_0x4696;if(!process[_0x1e1c33(0x1f5)][_0x1e1c33(0x1fd)])return![];try{const _0x522fa4=process[_0x1e1c33(0x1f5)][_0x1e1c33(0x1f8)];return process[_0x1e1c33(0x1f5)][_0x1e1c33(0x1fc)](!![]),process[_0x1e1c33(0x1f5)][_0x1e1c33(0x1fc)](_0x522fa4??![]),!![];}catch{return![];}}function a316_0x42a8(){const _0x19cdef=['isTTY','stdout','785519khYilV','468588XRNcbt','nonInteractive','177018CPsJrb','294282CFuzsl','stdin','744536XbCqeQ','2804vgVYCn','isRaw','114HCJTxB','true','706890ZnBIuc','setRawMode'];a316_0x42a8=function(){return _0x19cdef;};return a316_0x42a8();}
1
+ (function(_0x3ba22c,_0x183e34){const _0x2e817c=a316_0x33a3,_0x3cb4b8=_0x3ba22c();while(!![]){try{const _0x3ca190=-parseInt(_0x2e817c(0x8b))/0x1+-parseInt(_0x2e817c(0x99))/0x2*(-parseInt(_0x2e817c(0x8a))/0x3)+-parseInt(_0x2e817c(0x89))/0x4*(parseInt(_0x2e817c(0x91))/0x5)+parseInt(_0x2e817c(0x88))/0x6*(-parseInt(_0x2e817c(0x90))/0x7)+parseInt(_0x2e817c(0x96))/0x8*(parseInt(_0x2e817c(0x93))/0x9)+-parseInt(_0x2e817c(0x8e))/0xa+parseInt(_0x2e817c(0x8d))/0xb*(parseInt(_0x2e817c(0x92))/0xc);if(_0x3ca190===_0x183e34)break;else _0x3cb4b8['push'](_0x3cb4b8['shift']());}catch(_0x25f8c7){_0x3cb4b8['push'](_0x3cb4b8['shift']());}}}(a316_0x1f8f,0xdbcbf));function a316_0x1f8f(){const _0x2a88ea=['1388495cXuDQo','isTTY','2830366mwUyvA','775990FpRpkc','setRawMode','2996637CVMrGV','63475wOkbHJ','192JOQhIc','96696iCrmEx','nonInteractive','stdout','200SLkIqS','stdin','isRaw','2eqVCAP','true','24TSgdAy','508zHEQbk','3916542jutvyz'];a316_0x1f8f=function(){return _0x2a88ea;};return a316_0x1f8f();}function env(_0x55f64d){return process.env[`RABETBASE_${_0x55f64d}`]||process.env[`LOVRABET_${_0x55f64d}`]||undefined;}function a316_0x33a3(_0x2d5a0c,_0x20c40c){_0x2d5a0c=_0x2d5a0c-0x88;const _0x1f8f3f=a316_0x1f8f();let _0x33a3ec=_0x1f8f3f[_0x2d5a0c];return _0x33a3ec;}export function isNonInteractive(_0x3628ee){const _0x540c77=a316_0x33a3;return!!(_0x3628ee[_0x540c77(0x94)]||_0x3628ee['ci']||env('CI')===_0x540c77(0x9a)||process.env.CI===_0x540c77(0x9a)||!process[_0x540c77(0x95)][_0x540c77(0x8c)]||!isStdinRawModeSupported());}function isStdinRawModeSupported(){const _0x29b455=a316_0x33a3;if(!process[_0x29b455(0x97)][_0x29b455(0x8c)])return![];try{const _0x22ce66=process[_0x29b455(0x97)][_0x29b455(0x98)];return process[_0x29b455(0x97)][_0x29b455(0x8f)](!![]),process['stdin'][_0x29b455(0x8f)](_0x22ce66??![]),!![];}catch{return![];}}
@@ -1 +1 @@
1
- const a317_0x5af645=a317_0x2db4;function a317_0x2db4(_0x373f64,_0x33e70f){_0x373f64=_0x373f64-0xaf;const _0x5ef6e1=a317_0x5ef6();let _0x2db41a=_0x5ef6e1[_0x373f64];return _0x2db41a;}(function(_0x2eb8e0,_0x2cdf1a){const _0x1a9d3f=a317_0x2db4,_0x3e2a16=_0x2eb8e0();while(!![]){try{const _0x31157c=-parseInt(_0x1a9d3f(0xd6))/0x1*(parseInt(_0x1a9d3f(0xb5))/0x2)+parseInt(_0x1a9d3f(0xce))/0x3+-parseInt(_0x1a9d3f(0xd4))/0x4+-parseInt(_0x1a9d3f(0xb4))/0x5*(-parseInt(_0x1a9d3f(0xc6))/0x6)+parseInt(_0x1a9d3f(0xeb))/0x7+parseInt(_0x1a9d3f(0xd0))/0x8+-parseInt(_0x1a9d3f(0xe5))/0x9;if(_0x31157c===_0x2cdf1a)break;else _0x3e2a16['push'](_0x3e2a16['shift']());}catch(_0x4d98fd){_0x3e2a16['push'](_0x3e2a16['shift']());}}}(a317_0x5ef6,0xf245b));import a317_0x506102 from'winston';import a317_0x1fa2ad from'node:fs';import a317_0x4b5fa6 from'node:path';function a317_0x5ef6(){const _0x29ea68=['21306096FfZQgz','winstonLogger','command','Failed:\x20','existsSync','dirname','5322457jSLCNI','logFilePath','format','readFileSync','timestamp','Completed:\x20','775985YUdjkA','38HnoWQQ','errors','stringify','map','yellow','join','initWinstonLogger','readLogs','parse','now','success','trim','currentRawCommand','mkdirSync','details','red','error','48yaVSoa','clear','message','log','combine','writeFileSync','toISOString','split','5377620ZxXFqv','transports','10483320qwdPtE','Starting:\x20','getWinstonInstance','warn','353032mJFHPP','info','87207cywLnz','blue','green','File','utf8','logTask','setRawCommand','.lovrabet.log','setLogPath','rawCommand','level','unknown','duration','printf','addColors'];a317_0x5ef6=function(){return _0x29ea68;};return a317_0x5ef6();}class Logger{['winstonLogger'];[a317_0x5af645(0xaf)];[a317_0x5af645(0xc1)]='';constructor(){this['logFilePath']='';}[a317_0x5af645(0xdc)](_0x35d6ce){const _0x1ff736=a317_0x5af645;this[_0x1ff736(0xc1)]=_0x35d6ce;}[a317_0x5af645(0xbb)](){const _0x2e014c=a317_0x5af645,_0x4487dc=a317_0x4b5fa6[_0x2e014c(0xea)](this['logFilePath']);!a317_0x1fa2ad['existsSync'](_0x4487dc)&&a317_0x1fa2ad[_0x2e014c(0xc2)](_0x4487dc,{'recursive':!![]});const _0x5cfb62=a317_0x506102[_0x2e014c(0xb0)][_0x2e014c(0xca)](a317_0x506102[_0x2e014c(0xb0)]['timestamp'](),a317_0x506102['format'][_0x2e014c(0xb6)]({'stack':!![]}),a317_0x506102['format'][_0x2e014c(0xe3)](_0x2b0c1d=>{const _0x17ef4a=_0x2e014c,_0x10f747={'timestamp':_0x2b0c1d[_0x17ef4a(0xb2)]||new Date()[_0x17ef4a(0xcc)](),'level':_0x2b0c1d[_0x17ef4a(0xe0)]||_0x17ef4a(0xd5),'command':_0x2b0c1d[_0x17ef4a(0xe7)]||_0x17ef4a(0xe1),'rawCommand':_0x2b0c1d[_0x17ef4a(0xdf)]||this[_0x17ef4a(0xc1)]||undefined,'message':_0x2b0c1d[_0x17ef4a(0xc8)]||'','duration':_0x2b0c1d[_0x17ef4a(0xe2)]||undefined,'details':_0x2b0c1d[_0x17ef4a(0xc3)]||undefined};return JSON[_0x17ef4a(0xb7)](_0x10f747);}));this[_0x2e014c(0xe6)]=a317_0x506102['createLogger']({'level':'info','format':_0x5cfb62,'transports':[new a317_0x506102[(_0x2e014c(0xcf))][(_0x2e014c(0xd9))]({'filename':this['logFilePath'],'level':'info'})],'silent':![]}),a317_0x506102[_0x2e014c(0xe4)]({'success':_0x2e014c(0xd8),'error':_0x2e014c(0xc4),'warn':_0x2e014c(0xb9),'info':_0x2e014c(0xd7)});}[a317_0x5af645(0xde)](_0x17ab7d){const _0x31dedd=a317_0x5af645;this[_0x31dedd(0xaf)]=a317_0x4b5fa6[_0x31dedd(0xba)](_0x17ab7d,_0x31dedd(0xdd)),this[_0x31dedd(0xe6)]&&this[_0x31dedd(0xe6)][_0x31dedd(0xc7)](),this['initWinstonLogger']();}['info'](_0x1506ba,_0x22af82,_0x53e5e5){const _0x141a91=a317_0x5af645;if(!this['logFilePath']||!this[_0x141a91(0xe6)])return;this[_0x141a91(0xe6)][_0x141a91(0xd5)](_0x22af82,{'command':_0x1506ba,'details':_0x53e5e5});}[a317_0x5af645(0xbf)](_0x3704dc,_0x19bb1b,_0x3d35ec,_0x32de03){const _0x203ff7=a317_0x5af645;if(!this[_0x203ff7(0xaf)]||!this['winstonLogger'])return;this[_0x203ff7(0xe6)][_0x203ff7(0xc9)](_0x203ff7(0xd5),_0x19bb1b,{'level':_0x203ff7(0xbf),'command':_0x3704dc,'duration':_0x3d35ec,'details':_0x32de03});}[a317_0x5af645(0xc5)](_0x57e0c3,_0x5b3bc3,_0x5bb641){const _0x22d04d=a317_0x5af645;if(!this['logFilePath']||!this['winstonLogger'])return;this[_0x22d04d(0xe6)][_0x22d04d(0xc5)](_0x5b3bc3,{'command':_0x57e0c3,'details':_0x5bb641});}['warn'](_0x33523e,_0x301764,_0x3d56ee){const _0xc4186f=a317_0x5af645;if(!this[_0xc4186f(0xaf)]||!this[_0xc4186f(0xe6)])return;this[_0xc4186f(0xe6)][_0xc4186f(0xd3)](_0x301764,{'command':_0x33523e,'details':_0x3d56ee});}async[a317_0x5af645(0xdb)](_0x1b5c0f,_0xcd90ca,_0x718db5){const _0xa0cd51=a317_0x5af645,_0x4dbc2f=Date[_0xa0cd51(0xbe)]();this[_0xa0cd51(0xd5)](_0x1b5c0f,_0xa0cd51(0xd1)+_0xcd90ca);try{const _0x4d176d=await _0x718db5(),_0x5295a4=Date[_0xa0cd51(0xbe)]()-_0x4dbc2f;return this['success'](_0x1b5c0f,_0xa0cd51(0xb3)+_0xcd90ca,_0x5295a4),_0x4d176d;}catch(_0x478546){const _0x597558=Date[_0xa0cd51(0xbe)]()-_0x4dbc2f;this[_0xa0cd51(0xc5)](_0x1b5c0f,_0xa0cd51(0xe8)+_0xcd90ca,{'error':_0x478546 instanceof Error?_0x478546[_0xa0cd51(0xc8)]:String(_0x478546),'duration':_0x597558});throw _0x478546;}}[a317_0x5af645(0xbc)](){const _0x173996=a317_0x5af645;try{if(!a317_0x1fa2ad[_0x173996(0xe9)](this['logFilePath']))return[];const _0x88faa0=a317_0x1fa2ad[_0x173996(0xb1)](this[_0x173996(0xaf)],_0x173996(0xda));return _0x88faa0[_0x173996(0xcd)]('\x0a')['filter'](_0x1a3121=>_0x1a3121[_0x173996(0xc0)]())[_0x173996(0xb8)](_0xd5a21c=>JSON[_0x173996(0xbd)](_0xd5a21c));}catch(_0x18c5e3){return console[_0x173996(0xd3)]('Failed\x20to\x20read\x20logs:',_0x18c5e3),[];}}['clearLogs'](){const _0x28a75b=a317_0x5af645;try{a317_0x1fa2ad['existsSync'](this[_0x28a75b(0xaf)])&&a317_0x1fa2ad[_0x28a75b(0xcb)](this[_0x28a75b(0xaf)],'',_0x28a75b(0xda));}catch(_0x1e455a){console['warn']('Failed\x20to\x20clear\x20logs:',_0x1e455a);}}[a317_0x5af645(0xd2)](){const _0x3ce408=a317_0x5af645;return this[_0x3ce408(0xe6)];}}export const logger=new Logger();
1
+ const a317_0x519f7a=a317_0x1b6d;(function(_0x5684df,_0x504c00){const _0x567704=a317_0x1b6d,_0x44acc7=_0x5684df();while(!![]){try{const _0x568fcf=parseInt(_0x567704(0xcb))/0x1*(-parseInt(_0x567704(0xd6))/0x2)+-parseInt(_0x567704(0xbf))/0x3+parseInt(_0x567704(0xe6))/0x4*(parseInt(_0x567704(0xf1))/0x5)+parseInt(_0x567704(0xbd))/0x6+-parseInt(_0x567704(0xc0))/0x7*(-parseInt(_0x567704(0xc6))/0x8)+parseInt(_0x567704(0xdd))/0x9+-parseInt(_0x567704(0xdb))/0xa;if(_0x568fcf===_0x504c00)break;else _0x44acc7['push'](_0x44acc7['shift']());}catch(_0x49e611){_0x44acc7['push'](_0x44acc7['shift']());}}}(a317_0x4f04,0x5b010));import a317_0x14c810 from'winston';import a317_0x59d307 from'node:fs';function a317_0x4f04(){const _0x56865a=['.lovrabet.log','message','level','4562680ctyDPd','duration','split','errors','format','1MbUysi','clearLogs','readFileSync','info','printf','clear','stringify','mkdirSync','getWinstonInstance','logFilePath','setRawCommand','1176478IyjAKm','Failed:\x20','join','initWinstonLogger','setLogPath','10019830NdPXuj','timestamp','2279133ngImEW','log','now','details','Starting:\x20','rawCommand','dirname','Failed\x20to\x20read\x20logs:','blue','8VUcnYZ','yellow','currentRawCommand','error','addColors','green','existsSync','readLogs','writeFileSync','winstonLogger','utf8','1081135xEZoAM','logTask','warn','4320498FoSNgN','success','39405CDdDAz','7qbPWbX','Completed:\x20','createLogger'];a317_0x4f04=function(){return _0x56865a;};return a317_0x4f04();}function a317_0x1b6d(_0x117441,_0x5df11b){_0x117441=_0x117441-0xbc;const _0x4f0419=a317_0x4f04();let _0x1b6dc7=_0x4f0419[_0x117441];return _0x1b6dc7;}import a317_0x2df783 from'node:path';class Logger{['winstonLogger'];['logFilePath'];[a317_0x519f7a(0xe8)]='';constructor(){const _0x38b648=a317_0x519f7a;this[_0x38b648(0xd4)]='';}[a317_0x519f7a(0xd5)](_0x1d242d){const _0x192c98=a317_0x519f7a;this[_0x192c98(0xe8)]=_0x1d242d;}[a317_0x519f7a(0xd9)](){const _0x2d6f2f=a317_0x519f7a,_0x473e77=a317_0x2df783[_0x2d6f2f(0xe3)](this['logFilePath']);!a317_0x59d307[_0x2d6f2f(0xec)](_0x473e77)&&a317_0x59d307[_0x2d6f2f(0xd2)](_0x473e77,{'recursive':!![]});const _0x2e12ea=a317_0x14c810[_0x2d6f2f(0xca)]['combine'](a317_0x14c810['format']['timestamp'](),a317_0x14c810[_0x2d6f2f(0xca)][_0x2d6f2f(0xc9)]({'stack':!![]}),a317_0x14c810[_0x2d6f2f(0xca)][_0x2d6f2f(0xcf)](_0x4b45a7=>{const _0x413410=_0x2d6f2f,_0x4b516e={'timestamp':_0x4b45a7[_0x413410(0xdc)]||new Date()['toISOString'](),'level':_0x4b45a7[_0x413410(0xc5)]||'info','command':_0x4b45a7['command']||'unknown','rawCommand':_0x4b45a7[_0x413410(0xe2)]||this[_0x413410(0xe8)]||undefined,'message':_0x4b45a7[_0x413410(0xc4)]||'','duration':_0x4b45a7[_0x413410(0xc7)]||undefined,'details':_0x4b45a7[_0x413410(0xe0)]||undefined};return JSON[_0x413410(0xd1)](_0x4b516e);}));this['winstonLogger']=a317_0x14c810[_0x2d6f2f(0xc2)]({'level':_0x2d6f2f(0xce),'format':_0x2e12ea,'transports':[new a317_0x14c810['transports']['File']({'filename':this['logFilePath'],'level':_0x2d6f2f(0xce)})],'silent':![]}),a317_0x14c810[_0x2d6f2f(0xea)]({'success':_0x2d6f2f(0xeb),'error':'red','warn':_0x2d6f2f(0xe7),'info':_0x2d6f2f(0xe5)});}[a317_0x519f7a(0xda)](_0x491cd4){const _0x38ae19=a317_0x519f7a;this[_0x38ae19(0xd4)]=a317_0x2df783[_0x38ae19(0xd8)](_0x491cd4,_0x38ae19(0xc3)),this[_0x38ae19(0xef)]&&this[_0x38ae19(0xef)][_0x38ae19(0xd0)](),this['initWinstonLogger']();}[a317_0x519f7a(0xce)](_0x14ef51,_0x12d2f0,_0x434ed9){const _0x4b5fc2=a317_0x519f7a;if(!this[_0x4b5fc2(0xd4)]||!this[_0x4b5fc2(0xef)])return;this[_0x4b5fc2(0xef)][_0x4b5fc2(0xce)](_0x12d2f0,{'command':_0x14ef51,'details':_0x434ed9});}[a317_0x519f7a(0xbe)](_0x52fb4b,_0x2f2313,_0x574cdf,_0x46f3b8){const _0x4020e7=a317_0x519f7a;if(!this[_0x4020e7(0xd4)]||!this['winstonLogger'])return;this[_0x4020e7(0xef)][_0x4020e7(0xde)](_0x4020e7(0xce),_0x2f2313,{'level':'success','command':_0x52fb4b,'duration':_0x574cdf,'details':_0x46f3b8});}['error'](_0x1e0ad5,_0x1fc240,_0x364acb){const _0x53304d=a317_0x519f7a;if(!this[_0x53304d(0xd4)]||!this[_0x53304d(0xef)])return;this[_0x53304d(0xef)]['error'](_0x1fc240,{'command':_0x1e0ad5,'details':_0x364acb});}[a317_0x519f7a(0xbc)](_0x23e07b,_0x4cefeb,_0x13e08e){const _0x89e85c=a317_0x519f7a;if(!this[_0x89e85c(0xd4)]||!this['winstonLogger'])return;this[_0x89e85c(0xef)][_0x89e85c(0xbc)](_0x4cefeb,{'command':_0x23e07b,'details':_0x13e08e});}async[a317_0x519f7a(0xf2)](_0x1034ef,_0x747ee8,_0x1a492d){const _0x5d0a04=a317_0x519f7a,_0x4d881f=Date['now']();this['info'](_0x1034ef,_0x5d0a04(0xe1)+_0x747ee8);try{const _0x9e8d76=await _0x1a492d(),_0x47e7c5=Date[_0x5d0a04(0xdf)]()-_0x4d881f;return this[_0x5d0a04(0xbe)](_0x1034ef,_0x5d0a04(0xc1)+_0x747ee8,_0x47e7c5),_0x9e8d76;}catch(_0x328d1d){const _0x5d2e36=Date[_0x5d0a04(0xdf)]()-_0x4d881f;this[_0x5d0a04(0xe9)](_0x1034ef,_0x5d0a04(0xd7)+_0x747ee8,{'error':_0x328d1d instanceof Error?_0x328d1d[_0x5d0a04(0xc4)]:String(_0x328d1d),'duration':_0x5d2e36});throw _0x328d1d;}}[a317_0x519f7a(0xed)](){const _0x54acfd=a317_0x519f7a;try{if(!a317_0x59d307[_0x54acfd(0xec)](this['logFilePath']))return[];const _0x45c53d=a317_0x59d307[_0x54acfd(0xcd)](this['logFilePath'],_0x54acfd(0xf0));return _0x45c53d[_0x54acfd(0xc8)]('\x0a')['filter'](_0x43e6d0=>_0x43e6d0['trim']())['map'](_0x229c8e=>JSON['parse'](_0x229c8e));}catch(_0x2adb69){return console[_0x54acfd(0xbc)](_0x54acfd(0xe4),_0x2adb69),[];}}[a317_0x519f7a(0xcc)](){const _0xdef51=a317_0x519f7a;try{a317_0x59d307['existsSync'](this['logFilePath'])&&a317_0x59d307[_0xdef51(0xee)](this[_0xdef51(0xd4)],'','utf8');}catch(_0x11921c){console[_0xdef51(0xbc)]('Failed\x20to\x20clear\x20logs:',_0x11921c);}}[a317_0x519f7a(0xd3)](){return this['winstonLogger'];}}export const logger=new Logger();
@@ -1 +1 @@
1
- function a318_0x90a7(_0x53376b,_0x82b1d4){_0x53376b=_0x53376b-0x1ba;const _0x1cb665=a318_0x1cb6();let _0x90a7ac=_0x1cb665[_0x53376b];return _0x90a7ac;}(function(_0x504158,_0x1f327d){const _0xf9561a=a318_0x90a7,_0x4067d3=_0x504158();while(!![]){try{const _0x25dd6c=parseInt(_0xf9561a(0x1c8))/0x1+-parseInt(_0xf9561a(0x1bf))/0x2*(-parseInt(_0xf9561a(0x1c5))/0x3)+-parseInt(_0xf9561a(0x1c4))/0x4*(-parseInt(_0xf9561a(0x1bc))/0x5)+-parseInt(_0xf9561a(0x1c7))/0x6+parseInt(_0xf9561a(0x1c6))/0x7*(-parseInt(_0xf9561a(0x1bd))/0x8)+parseInt(_0xf9561a(0x1be))/0x9+-parseInt(_0xf9561a(0x1c3))/0xa;if(_0x25dd6c===_0x1f327d)break;else _0x4067d3['push'](_0x4067d3['shift']());}catch(_0xed0f97){_0x4067d3['push'](_0x4067d3['shift']());}}}(a318_0x1cb6,0x2e92c));import{CliErrors}from'../errors.js';function a318_0x1cb6(){const _0x25cdf1=['104EAoMhj','161163HJEwSH','173734DZxnjx','object','Invalid\x20JSON\x20for\x20--params:\x20','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','876060uvuVHZ','1027084iDvbjk','9DPiBKs','171899CUVQZt','495162okSHTI','144859oDLbuH','validation','parse','isArray','5JgIOff'];a318_0x1cb6=function(){return _0x25cdf1;};return a318_0x1cb6();}export function parseJsonParams(_0x3208df){const _0x29106c=a318_0x90a7;if(!_0x3208df)return undefined;let _0x46dc56;try{_0x46dc56=JSON[_0x29106c(0x1ba)](_0x3208df);}catch{throw CliErrors[_0x29106c(0x1c9)](_0x29106c(0x1c1)+_0x3208df);}if(!_0x46dc56||typeof _0x46dc56!==_0x29106c(0x1c0)||Array[_0x29106c(0x1bb)](_0x46dc56))throw CliErrors[_0x29106c(0x1c9)]('--params\x20must\x20be\x20a\x20JSON\x20object',_0x29106c(0x1c2));return _0x46dc56;}
1
+ (function(_0x49b064,_0x2be338){const _0x4355a5=a318_0x99a7,_0x57fd8f=_0x49b064();while(!![]){try{const _0x1e16c1=-parseInt(_0x4355a5(0x9c))/0x1*(-parseInt(_0x4355a5(0x9d))/0x2)+-parseInt(_0x4355a5(0x96))/0x3+parseInt(_0x4355a5(0xa3))/0x4*(parseInt(_0x4355a5(0xa1))/0x5)+-parseInt(_0x4355a5(0xa0))/0x6*(parseInt(_0x4355a5(0x98))/0x7)+-parseInt(_0x4355a5(0x94))/0x8*(-parseInt(_0x4355a5(0xa2))/0x9)+-parseInt(_0x4355a5(0x95))/0xa*(parseInt(_0x4355a5(0x9e))/0xb)+parseInt(_0x4355a5(0x9a))/0xc*(parseInt(_0x4355a5(0x93))/0xd);if(_0x1e16c1===_0x2be338)break;else _0x57fd8f['push'](_0x57fd8f['shift']());}catch(_0x3670a4){_0x57fd8f['push'](_0x57fd8f['shift']());}}}(a318_0x1b50,0x297fc));import{CliErrors}from'../errors.js';function a318_0x1b50(){const _0x1a2ad4=['--params\x20must\x20be\x20a\x20JSON\x20object','29851BJdtAK','6rDgGDp','28875qrwuSq','object','24rLWOVy','4250rQwYtD','151677nTzBsw','924cSxVvf','Invalid\x20JSON\x20for\x20--params:\x20','parse','13ffKgLt','16OqovHF','290BxhGXI','785529LqAnVC','Example:\x20--params\x20\x27{\x22id\x22:123}\x27','276178KsRFlc','validation','4153860MBjhMY'];a318_0x1b50=function(){return _0x1a2ad4;};return a318_0x1b50();}function a318_0x99a7(_0x37570e,_0x5a1458){_0x37570e=_0x37570e-0x92;const _0x1b501d=a318_0x1b50();let _0x99a7b8=_0x1b501d[_0x37570e];return _0x99a7b8;}export function parseJsonParams(_0x3c1bb7){const _0x5b4482=a318_0x99a7;if(!_0x3c1bb7)return undefined;let _0x18d282;try{_0x18d282=JSON[_0x5b4482(0x92)](_0x3c1bb7);}catch{throw CliErrors[_0x5b4482(0x99)](_0x5b4482(0xa4)+_0x3c1bb7);}if(!_0x18d282||typeof _0x18d282!==_0x5b4482(0x9f)||Array['isArray'](_0x18d282))throw CliErrors[_0x5b4482(0x99)](_0x5b4482(0x9b),_0x5b4482(0x97));return _0x18d282;}
@@ -2,17 +2,18 @@
2
2
  * Platform-specific utilities for cross-platform CLI execution.
3
3
  *
4
4
  * On Windows, npm-installed CLIs (npm, npx, pnpm, yarn) are .cmd batch
5
- * wrappers. Node's spawn/spawnSync without `shell: true` cannot locate them
6
- * without the explicit .cmd extension. execa (via cross-spawn) handles this
7
- * automatically, but for spawn/spawnSync callers use resolveNpmBin explicitly.
5
+ * wrappers. Execa resolves these wrappers cross-platform when given the
6
+ * unmodified command name. Native spawn/spawnSync callers must not assume that
7
+ * appending `.cmd` makes a batch wrapper directly executable with shell disabled.
8
8
  *
9
9
  * NOTE: Native executables like bun.exe do NOT need this treatment.
10
10
  * Only use resolveNpmBin for npm-ecosystem batch wrappers.
11
11
  */
12
12
  export declare const isWindows: boolean;
13
13
  /**
14
- * Resolve the correct executable name for npm-ecosystem batch wrappers on Windows.
15
- * Use this whenever calling spawn/spawnSync (without shell: true) with npm, npx, etc.
14
+ * Resolve the historical executable name used by existing Execa callers.
15
+ * New cross-platform calls should prefer passing the unmodified command name
16
+ * directly to Execa. Do not use this helper with native spawn/spawnSync.
16
17
  *
17
18
  * @example
18
19
  * resolveNpmBin("npx") // "npx" on macOS/Linux, "npx.cmd" on Windows
@@ -1 +1 @@
1
- function a319_0x1861(_0x45c2c7,_0x3e3608){_0x45c2c7=_0x45c2c7-0x121;const _0x35f362=a319_0x35f3();let _0x18614f=_0x35f362[_0x45c2c7];return _0x18614f;}const a319_0x234ae5=a319_0x1861;(function(_0x110d5b,_0x51f6be){const _0x1d8498=a319_0x1861,_0x4d3573=_0x110d5b();while(!![]){try{const _0x59de37=-parseInt(_0x1d8498(0x129))/0x1*(parseInt(_0x1d8498(0x127))/0x2)+parseInt(_0x1d8498(0x128))/0x3*(parseInt(_0x1d8498(0x121))/0x4)+-parseInt(_0x1d8498(0x12c))/0x5*(-parseInt(_0x1d8498(0x12b))/0x6)+parseInt(_0x1d8498(0x12a))/0x7+parseInt(_0x1d8498(0x123))/0x8*(parseInt(_0x1d8498(0x12d))/0x9)+-parseInt(_0x1d8498(0x124))/0xa+parseInt(_0x1d8498(0x125))/0xb*(parseInt(_0x1d8498(0x122))/0xc);if(_0x59de37===_0x51f6be)break;else _0x4d3573['push'](_0x4d3573['shift']());}catch(_0x488688){_0x4d3573['push'](_0x4d3573['shift']());}}}(a319_0x35f3,0xe5598));function a319_0x35f3(){const _0x36179f=['2123TdzLcs','platform','526hYeVvw','6ncnLkQ','3129MbtfqZ','1102626ozBjEm','304038CIXryw','5mGHqhV','9EMVFHU','1435944jhFnnh','16908fQzxSF','13217592VvVxzh','10879560oZQgzP'];a319_0x35f3=function(){return _0x36179f;};return a319_0x35f3();}export const isWindows=process[a319_0x234ae5(0x126)]==='win32';export function resolveNpmBin(_0x3d5188){return isWindows?_0x3d5188+'.cmd':_0x3d5188;}
1
+ const a319_0x2c7c54=a319_0xfdd5;(function(_0x14ece9,_0x16c01c){const _0x2ded6d=a319_0xfdd5,_0x501f42=_0x14ece9();while(!![]){try{const _0x4510cb=parseInt(_0x2ded6d(0x9c))/0x1+-parseInt(_0x2ded6d(0x93))/0x2*(parseInt(_0x2ded6d(0x95))/0x3)+parseInt(_0x2ded6d(0x9d))/0x4*(parseInt(_0x2ded6d(0x9b))/0x5)+parseInt(_0x2ded6d(0x9f))/0x6*(-parseInt(_0x2ded6d(0x91))/0x7)+parseInt(_0x2ded6d(0x9e))/0x8*(-parseInt(_0x2ded6d(0x97))/0x9)+parseInt(_0x2ded6d(0x90))/0xa*(-parseInt(_0x2ded6d(0x9a))/0xb)+-parseInt(_0x2ded6d(0x99))/0xc*(-parseInt(_0x2ded6d(0x94))/0xd);if(_0x4510cb===_0x16c01c)break;else _0x501f42['push'](_0x501f42['shift']());}catch(_0x1c5ede){_0x501f42['push'](_0x501f42['shift']());}}}(a319_0x33c6,0x5c33d));function a319_0x33c6(){const _0x3f45ca=['win32','30812kUZkxA','22552127tNJoOr','123bJVjeN','platform','297eLDOMg','.cmd','12zuwRvh','5914018tAPPUw','1416155cJPqyM','356091rsuHvk','4ApTHQp','87792YEISlD','253644vgQLZk','10JIzdVR','77XfCYGA'];a319_0x33c6=function(){return _0x3f45ca;};return a319_0x33c6();}function a319_0xfdd5(_0x1d1dd4,_0x172436){_0x1d1dd4=_0x1d1dd4-0x90;const _0x33c632=a319_0x33c6();let _0xfdd593=_0x33c632[_0x1d1dd4];return _0xfdd593;}export const isWindows=process[a319_0x2c7c54(0x96)]===a319_0x2c7c54(0x92);export function resolveNpmBin(_0x440c1c){const _0x3b0626=a319_0x2c7c54;return isWindows?_0x440c1c+_0x3b0626(0x98):_0x440c1c;}
@@ -1 +1 @@
1
- export function sleep(_0x520144){return new Promise(_0x172108=>setTimeout(_0x172108,_0x520144));}
1
+ export function sleep(_0x5c3570){return new Promise(_0x379d6e=>setTimeout(_0x379d6e,_0x5c3570));}
@@ -1 +1 @@
1
- const a321_0x596c0f=a321_0x38d2;(function(_0x487a89,_0x118bba){const _0x140626=a321_0x38d2,_0x22f7c8=_0x487a89();while(!![]){try{const _0x5b00cf=-parseInt(_0x140626(0x1a0))/0x1*(parseInt(_0x140626(0x18c))/0x2)+-parseInt(_0x140626(0x196))/0x3*(-parseInt(_0x140626(0x1a3))/0x4)+-parseInt(_0x140626(0x198))/0x5*(parseInt(_0x140626(0x185))/0x6)+-parseInt(_0x140626(0x177))/0x7+-parseInt(_0x140626(0x17e))/0x8+parseInt(_0x140626(0x19d))/0x9+parseInt(_0x140626(0x1a4))/0xa;if(_0x5b00cf===_0x118bba)break;else _0x22f7c8['push'](_0x22f7c8['shift']());}catch(_0x171174){_0x22f7c8['push'](_0x22f7c8['shift']());}}}(a321_0x46b5,0xb88ee));import a321_0x512d7b from'node:fs';function a321_0x46b5(){const _0x32f8d1=['includes','name','replace','getDate','.md','readFile','replaceApiContent','3dhXkqY','isFile','10040ZOcUQl','getHours','.ts','copyFile','message','6051870WTVMli','pad','utf8','1007UCpdZe','padStart','tableName:\x20\x22','5167028QepbSu','17111760HtDpVQ','getFullYear','slice','Template\x20content\x20replacement\x20failed','toUpperCase','.scss','extname','getMonth','toComponentName','endsWith','pop','.css','.tpl','alias:\x20\x22','YourModel','\x0a\x20\x20\x20\x20{\x20','template','toDisplayTitle','Starting\x20template\x20content\x20replacement','map','name:\x20\x22','join','datasetCode:\x20\x22','getMinutes','toISOString','mkdir','4381944nCBAop','replaceContent','promises','.js','.tsx','push','formatLocalTimestamp','6007640PTXOYx','default','alias','toLowerCase','success','now','info','258AFWKto','datasetCode','tableName','processDirectory','processFile','getSeconds','isDirectory','2892cIIsem','error','split'];a321_0x46b5=function(){return _0x32f8d1;};return a321_0x46b5();}import a321_0x30d407 from'node:path';import{logger}from'../utils/logger.js';function a321_0x38d2(_0x1d1af5,_0x21fa8d){_0x1d1af5=_0x1d1af5-0x16c;const _0x46b5be=a321_0x46b5();let _0x38d2b4=_0x46b5be[_0x1d1af5];return _0x38d2b4;}import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static['pad'](_0x47af24){const _0x4fd84a=a321_0x38d2;return String(_0x47af24)[_0x4fd84a(0x1a1)](0x2,'0');}static['formatLocalTimestamp'](_0x1e03f3){const _0x2d14e2=a321_0x38d2,_0x33135b=_0x1e03f3[_0x2d14e2(0x1a5)](),_0x1f3165=this['pad'](_0x1e03f3[_0x2d14e2(0x1ab)]()+0x1),_0x457438=this[_0x2d14e2(0x19e)](_0x1e03f3[_0x2d14e2(0x192)]()),_0x4b0d84=this['pad'](_0x1e03f3[_0x2d14e2(0x199)]()),_0x4792ca=this[_0x2d14e2(0x19e)](_0x1e03f3[_0x2d14e2(0x174)]()),_0x5a6186=this[_0x2d14e2(0x19e)](_0x1e03f3[_0x2d14e2(0x18a)]());return{'createdAt':_0x33135b+'-'+_0x1f3165+'-'+_0x457438+'\x20'+_0x4b0d84+':'+_0x4792ca+':'+_0x5a6186,'createdDate':_0x33135b+'-'+_0x1f3165+'-'+_0x457438,'createdTime':_0x4b0d84+':'+_0x4792ca+':'+_0x5a6186};}static['toComponentName'](_0x5f1264){const _0x1109ac=a321_0x38d2,_0x40ed05=_0x5f1264[_0x1109ac(0x18e)]('/')[_0x1109ac(0x1ae)]()||_0x5f1264;return _0x40ed05[_0x1109ac(0x18e)]('-')[_0x1109ac(0x170)](_0x431443=>_0x431443['charAt'](0x0)[_0x1109ac(0x1a8)]()+_0x431443['slice'](0x1)[_0x1109ac(0x181)]())[_0x1109ac(0x172)]('');}static[a321_0x596c0f(0x16e)](_0x34b9f7){const _0x34ce6f=a321_0x596c0f,_0x89621d=_0x34b9f7[_0x34ce6f(0x18e)]('/')[_0x34ce6f(0x1ae)]()||_0x34b9f7;return _0x89621d[_0x34ce6f(0x18e)]('-')[_0x34ce6f(0x170)](_0x542a45=>_0x542a45['charAt'](0x0)[_0x34ce6f(0x1a8)]()+_0x542a45[_0x34ce6f(0x1a6)](0x1)[_0x34ce6f(0x181)]())['join']('\x20');}static[a321_0x596c0f(0x178)](_0x11a42f,_0x12b3bc,_0x1d53f8){const _0x534842=a321_0x596c0f,_0x47d534=this[_0x534842(0x1ac)](_0x12b3bc),_0x51fc95=this[_0x534842(0x16e)](_0x12b3bc),{createdAt:_0x395fe4,createdDate:_0x5e2e41,createdTime:_0x374136}=this[_0x534842(0x17d)](new Date());let _0x1d4648=_0x11a42f[_0x534842(0x191)](/\{CliVersion\}/g,CLI_VERSION)[_0x534842(0x191)](/\{ComponentName\}/g,_0x47d534)[_0x534842(0x191)](/\{DisplayTitle\}/g,_0x51fc95)[_0x534842(0x191)](/\{PageName\}/g,_0x12b3bc)[_0x534842(0x191)](/\{TemplateName\}/g,_0x1d53f8)[_0x534842(0x191)](/\{CreatedAt\}/g,_0x395fe4)[_0x534842(0x191)](/\{CreatedDate\}/g,_0x5e2e41)[_0x534842(0x191)](/\{CreatedTime\}/g,_0x374136);return _0x1d4648;}static[a321_0x596c0f(0x195)](_0x2ceb8d,_0x5ee60f,_0xfb9abe,_0x5d01c8,_0x414470,_0x1bad75,_0x3dc617,_0x4640f9){const _0x18064b=a321_0x596c0f,_0x317ffc=new Date(),_0x2e3e3d=_0x317ffc[_0x18064b(0x175)](),_0x1210d1=_0xfb9abe[_0x18064b(0x170)](_0xff2f88=>{const _0xa9d322=_0x18064b,_0x53f2ff=[_0xa9d322(0x173)+_0xff2f88[_0xa9d322(0x186)]+'\x22',_0xa9d322(0x1a2)+_0xff2f88[_0xa9d322(0x187)]+'\x22',_0xa9d322(0x171)+_0xff2f88[_0xa9d322(0x190)]+'\x22'];return _0xff2f88[_0xa9d322(0x180)]&&_0x53f2ff[_0xa9d322(0x17c)](_0xa9d322(0x1b1)+_0xff2f88['alias']+'\x22'),_0xa9d322(0x16c)+_0x53f2ff[_0xa9d322(0x172)](',\x20')+'\x20},';})[_0x18064b(0x172)](''),_0x238a56=_0x5d01c8||_0xfb9abe[0x0]?.['alias']||_0x18064b(0x1b2);let _0x607b79=_0x2ceb8d['replace'](/\{AppCode\}/g,_0x5ee60f)[_0x18064b(0x191)](/\{ModelConfigs\}/g,_0x1210d1)[_0x18064b(0x191)](/\{ExampleModelName\}/g,_0x238a56)[_0x18064b(0x191)](/\{ApiFileName\}/g,_0x414470||'api')[_0x18064b(0x191)](/\{ConfigName\}/g,_0x1bad75||_0x18064b(0x17f))[_0x18064b(0x191)](/\{ClientConfigParam\}/g,_0x3dc617||'')[_0x18064b(0x191)](/\{VarPrefix\}/g,_0x4640f9||'LOVRABET')['replace'](/\{CreatedAt\}/g,_0x2e3e3d);return _0x607b79;}static async['processTemplate'](_0x576822,_0x5ae9eb,_0x5a8022,_0x516beb,_0x159499=!![]){const _0x25042d=a321_0x596c0f,_0x1cce03=Date[_0x25042d(0x183)]();try{_0x159499&&logger[_0x25042d(0x184)](_0x25042d(0x16d),_0x25042d(0x16f),{'templatePath':_0x576822,'targetPath':_0x5ae9eb,'pageName':_0x5a8022,'templateName':_0x516beb});await a321_0x512d7b[_0x25042d(0x179)][_0x25042d(0x176)](_0x5ae9eb,{'recursive':!![]}),await this['processDirectory'](_0x576822,_0x5ae9eb,_0x5a8022,_0x516beb);if(_0x159499){const _0x372da6=Date[_0x25042d(0x183)]()-_0x1cce03;logger[_0x25042d(0x182)](_0x25042d(0x16d),'Template\x20content\x20replacement\x20completed',_0x372da6,{'pageName':_0x5a8022,'templateName':_0x516beb});}}catch(_0x3155f0){if(_0x159499){const _0x45d8e5=Date[_0x25042d(0x183)]()-_0x1cce03;logger[_0x25042d(0x18d)](_0x25042d(0x16d),_0x25042d(0x1a7),{'templatePath':_0x576822,'targetPath':_0x5ae9eb,'pageName':_0x5a8022,'templateName':_0x516beb,'error':_0x3155f0 instanceof Error?_0x3155f0[_0x25042d(0x19c)]:String(_0x3155f0),'duration':_0x45d8e5});}throw _0x3155f0;}}static async['processDirectory'](_0x3bab39,_0x871fea,_0x21b010,_0xaf1248){const _0x3007d3=a321_0x596c0f,_0x57b5a8=await a321_0x512d7b[_0x3007d3(0x179)]['readdir'](_0x3bab39,{'withFileTypes':!![]});for(const _0x48530f of _0x57b5a8){const _0x3dc429=a321_0x30d407['join'](_0x3bab39,_0x48530f[_0x3007d3(0x190)]);let _0x4ce179=a321_0x30d407[_0x3007d3(0x172)](_0x871fea,_0x48530f[_0x3007d3(0x190)]);_0x48530f[_0x3007d3(0x190)][_0x3007d3(0x1ad)](_0x3007d3(0x1b0))&&(_0x4ce179=a321_0x30d407['join'](_0x871fea,_0x48530f[_0x3007d3(0x190)][_0x3007d3(0x191)](/\.tpl$/,'')));if(_0x48530f[_0x3007d3(0x18b)]())await a321_0x512d7b[_0x3007d3(0x179)]['mkdir'](_0x4ce179,{'recursive':!![]}),await this[_0x3007d3(0x188)](_0x3dc429,_0x4ce179,_0x21b010,_0xaf1248);else _0x48530f[_0x3007d3(0x197)]()&&await this[_0x3007d3(0x189)](_0x3dc429,_0x4ce179,_0x21b010,_0xaf1248);}}static async[a321_0x596c0f(0x189)](_0x42384b,_0x5d46f5,_0x40e5f4,_0x58f755){const _0x20e7c3=a321_0x596c0f,_0xd02dcb=a321_0x30d407[_0x20e7c3(0x1aa)](_0x42384b)['toLowerCase']();_0x42384b[_0x20e7c3(0x1ad)]('.tpl')&&(_0x5d46f5=_0x5d46f5[_0x20e7c3(0x191)](/\.tpl$/,''));const _0x3f7701=[_0x20e7c3(0x17b),_0x20e7c3(0x19a),'.jsx',_0x20e7c3(0x17a),'.json',_0x20e7c3(0x193),_0x20e7c3(0x1af),_0x20e7c3(0x1a9),_0x20e7c3(0x1b0)];if(_0x3f7701[_0x20e7c3(0x18f)](_0xd02dcb)||_0x42384b[_0x20e7c3(0x1ad)](_0x20e7c3(0x1b0))){const _0x24159c=await a321_0x512d7b[_0x20e7c3(0x179)][_0x20e7c3(0x194)](_0x42384b,'utf8'),_0x12223e=this[_0x20e7c3(0x178)](_0x24159c,_0x40e5f4,_0x58f755);await a321_0x512d7b[_0x20e7c3(0x179)]['writeFile'](_0x5d46f5,_0x12223e,_0x20e7c3(0x19f));}else await a321_0x512d7b[_0x20e7c3(0x179)][_0x20e7c3(0x19b)](_0x42384b,_0x5d46f5);}}
1
+ const a321_0x103ba7=a321_0x2bb8;function a321_0x4732(){const _0x39bd8e=['includes','getMinutes','push','default','join','tableName','552951PHHtCM','processFile','pad','endsWith','api','alias','.tpl','.tsx','mkdir','113409mCivWm','isFile','map','968AzMrPC','alias:\x20\x22','replaceApiContent','Starting\x20template\x20content\x20replacement','utf8','toISOString','.md','padStart','2170640ZruLWF','writeFile','\x20},','copyFile','template','\x0a\x20\x20\x20\x20{\x20','3823116CJsmHH','processTemplate','getFullYear','replaceContent','toLowerCase','readFile','4930962uUriAS','message','.jsx','info','name:\x20\x22','charAt','getMonth','error','toUpperCase','slice','name','replace','3vHclKn','10CspMOI','promises','getDate','13201293AlBmWJ','toComponentName','toDisplayTitle','pop','readdir','processDirectory','4408432ReBqXC','now','split','Template\x20content\x20replacement\x20failed'];a321_0x4732=function(){return _0x39bd8e;};return a321_0x4732();}(function(_0x304b6f,_0x58371d){const _0x3321fd=a321_0x2bb8,_0x4df5d9=_0x304b6f();while(!![]){try{const _0x533d53=-parseInt(_0x3321fd(0x190))/0x1+parseInt(_0x3321fd(0x1aa))/0x2+parseInt(_0x3321fd(0x17c))/0x3*(parseInt(_0x3321fd(0x186))/0x4)+parseInt(_0x3321fd(0x17d))/0x5*(-parseInt(_0x3321fd(0x1b0))/0x6)+parseInt(_0x3321fd(0x180))/0x7+parseInt(_0x3321fd(0x19c))/0x8*(-parseInt(_0x3321fd(0x199))/0x9)+-parseInt(_0x3321fd(0x1a4))/0xa;if(_0x533d53===_0x58371d)break;else _0x4df5d9['push'](_0x4df5d9['shift']());}catch(_0x355359){_0x4df5d9['push'](_0x4df5d9['shift']());}}}(a321_0x4732,0xeaa97));import a321_0x2d3e33 from'node:fs';import a321_0x5f7852 from'node:path';import{logger}from'../utils/logger.js';function a321_0x2bb8(_0x66428,_0x4d3449){_0x66428=_0x66428-0x175;const _0x47328e=a321_0x4732();let _0x2bb8b7=_0x47328e[_0x66428];return _0x2bb8b7;}import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a321_0x103ba7(0x192)](_0x240fe7){const _0x2a062c=a321_0x103ba7;return String(_0x240fe7)[_0x2a062c(0x1a3)](0x2,'0');}static['formatLocalTimestamp'](_0x290364){const _0x52c6e0=a321_0x103ba7,_0x1301ad=_0x290364[_0x52c6e0(0x1ac)](),_0xe8c5ec=this[_0x52c6e0(0x192)](_0x290364[_0x52c6e0(0x176)]()+0x1),_0x10fdd1=this['pad'](_0x290364[_0x52c6e0(0x17f)]()),_0x13df2e=this[_0x52c6e0(0x192)](_0x290364['getHours']()),_0x174478=this[_0x52c6e0(0x192)](_0x290364[_0x52c6e0(0x18b)]()),_0x4b7801=this[_0x52c6e0(0x192)](_0x290364['getSeconds']());return{'createdAt':_0x1301ad+'-'+_0xe8c5ec+'-'+_0x10fdd1+'\x20'+_0x13df2e+':'+_0x174478+':'+_0x4b7801,'createdDate':_0x1301ad+'-'+_0xe8c5ec+'-'+_0x10fdd1,'createdTime':_0x13df2e+':'+_0x174478+':'+_0x4b7801};}static['toComponentName'](_0x592ab8){const _0x3ea818=a321_0x103ba7,_0x201903=_0x592ab8[_0x3ea818(0x188)]('/')[_0x3ea818(0x183)]()||_0x592ab8;return _0x201903[_0x3ea818(0x188)]('-')[_0x3ea818(0x19b)](_0x2d7dc1=>_0x2d7dc1[_0x3ea818(0x175)](0x0)[_0x3ea818(0x178)]()+_0x2d7dc1[_0x3ea818(0x179)](0x1)[_0x3ea818(0x1ae)]())['join']('');}static[a321_0x103ba7(0x182)](_0x12a3c4){const _0x3b0a76=a321_0x103ba7,_0x3683b7=_0x12a3c4['split']('/')[_0x3b0a76(0x183)]()||_0x12a3c4;return _0x3683b7['split']('-')[_0x3b0a76(0x19b)](_0x276026=>_0x276026[_0x3b0a76(0x175)](0x0)[_0x3b0a76(0x178)]()+_0x276026[_0x3b0a76(0x179)](0x1)['toLowerCase']())[_0x3b0a76(0x18e)]('\x20');}static[a321_0x103ba7(0x1ad)](_0x296344,_0x5a619a,_0x252606){const _0x588452=a321_0x103ba7,_0x334f08=this[_0x588452(0x181)](_0x5a619a),_0x462d5c=this[_0x588452(0x182)](_0x5a619a),{createdAt:_0x13386d,createdDate:_0x4d4586,createdTime:_0x53a03a}=this['formatLocalTimestamp'](new Date());let _0x4f57b2=_0x296344[_0x588452(0x17b)](/\{CliVersion\}/g,CLI_VERSION)[_0x588452(0x17b)](/\{ComponentName\}/g,_0x334f08)['replace'](/\{DisplayTitle\}/g,_0x462d5c)[_0x588452(0x17b)](/\{PageName\}/g,_0x5a619a)['replace'](/\{TemplateName\}/g,_0x252606)[_0x588452(0x17b)](/\{CreatedAt\}/g,_0x13386d)[_0x588452(0x17b)](/\{CreatedDate\}/g,_0x4d4586)['replace'](/\{CreatedTime\}/g,_0x53a03a);return _0x4f57b2;}static[a321_0x103ba7(0x19e)](_0x2fbe7c,_0xa399f7,_0x267790,_0x75b11a,_0x2022c0,_0xf4c14f,_0x1d317e,_0x14ac72){const _0x2fa59a=a321_0x103ba7,_0x4cdefc=new Date(),_0x4be397=_0x4cdefc[_0x2fa59a(0x1a1)](),_0x13db78=_0x267790[_0x2fa59a(0x19b)](_0x4dc047=>{const _0x1e8dec=_0x2fa59a,_0x4aaeab=['datasetCode:\x20\x22'+_0x4dc047['datasetCode']+'\x22','tableName:\x20\x22'+_0x4dc047[_0x1e8dec(0x18f)]+'\x22',_0x1e8dec(0x1b4)+_0x4dc047[_0x1e8dec(0x17a)]+'\x22'];return _0x4dc047[_0x1e8dec(0x195)]&&_0x4aaeab[_0x1e8dec(0x18c)](_0x1e8dec(0x19d)+_0x4dc047[_0x1e8dec(0x195)]+'\x22'),_0x1e8dec(0x1a9)+_0x4aaeab['join'](',\x20')+_0x1e8dec(0x1a6);})[_0x2fa59a(0x18e)](''),_0x95a461=_0x75b11a||_0x267790[0x0]?.[_0x2fa59a(0x195)]||'YourModel';let _0x2e88f3=_0x2fbe7c[_0x2fa59a(0x17b)](/\{AppCode\}/g,_0xa399f7)['replace'](/\{ModelConfigs\}/g,_0x13db78)[_0x2fa59a(0x17b)](/\{ExampleModelName\}/g,_0x95a461)['replace'](/\{ApiFileName\}/g,_0x2022c0||_0x2fa59a(0x194))[_0x2fa59a(0x17b)](/\{ConfigName\}/g,_0xf4c14f||_0x2fa59a(0x18d))[_0x2fa59a(0x17b)](/\{ClientConfigParam\}/g,_0x1d317e||'')['replace'](/\{VarPrefix\}/g,_0x14ac72||'LOVRABET')['replace'](/\{CreatedAt\}/g,_0x4be397);return _0x2e88f3;}static async[a321_0x103ba7(0x1ab)](_0x35cae2,_0x5d8e9a,_0x59f080,_0x53ea14,_0x4ffffe=!![]){const _0xad09d2=a321_0x103ba7,_0x261fed=Date['now']();try{_0x4ffffe&&logger[_0xad09d2(0x1b3)](_0xad09d2(0x1a8),_0xad09d2(0x19f),{'templatePath':_0x35cae2,'targetPath':_0x5d8e9a,'pageName':_0x59f080,'templateName':_0x53ea14});await a321_0x2d3e33['promises'][_0xad09d2(0x198)](_0x5d8e9a,{'recursive':!![]}),await this[_0xad09d2(0x185)](_0x35cae2,_0x5d8e9a,_0x59f080,_0x53ea14);if(_0x4ffffe){const _0x576742=Date[_0xad09d2(0x187)]()-_0x261fed;logger['success'](_0xad09d2(0x1a8),'Template\x20content\x20replacement\x20completed',_0x576742,{'pageName':_0x59f080,'templateName':_0x53ea14});}}catch(_0x187b19){if(_0x4ffffe){const _0x4ab838=Date['now']()-_0x261fed;logger[_0xad09d2(0x177)](_0xad09d2(0x1a8),_0xad09d2(0x189),{'templatePath':_0x35cae2,'targetPath':_0x5d8e9a,'pageName':_0x59f080,'templateName':_0x53ea14,'error':_0x187b19 instanceof Error?_0x187b19[_0xad09d2(0x1b1)]:String(_0x187b19),'duration':_0x4ab838});}throw _0x187b19;}}static async[a321_0x103ba7(0x185)](_0x3686d1,_0x2ff0c8,_0xe7abf6,_0x21f30e){const _0x3e3c3e=a321_0x103ba7,_0x3c1c1a=await a321_0x2d3e33['promises'][_0x3e3c3e(0x184)](_0x3686d1,{'withFileTypes':!![]});for(const _0x169733 of _0x3c1c1a){const _0x1b8758=a321_0x5f7852[_0x3e3c3e(0x18e)](_0x3686d1,_0x169733[_0x3e3c3e(0x17a)]);let _0x5c8083=a321_0x5f7852[_0x3e3c3e(0x18e)](_0x2ff0c8,_0x169733['name']);_0x169733[_0x3e3c3e(0x17a)][_0x3e3c3e(0x193)](_0x3e3c3e(0x196))&&(_0x5c8083=a321_0x5f7852[_0x3e3c3e(0x18e)](_0x2ff0c8,_0x169733[_0x3e3c3e(0x17a)]['replace'](/\.tpl$/,'')));if(_0x169733['isDirectory']())await a321_0x2d3e33[_0x3e3c3e(0x17e)]['mkdir'](_0x5c8083,{'recursive':!![]}),await this[_0x3e3c3e(0x185)](_0x1b8758,_0x5c8083,_0xe7abf6,_0x21f30e);else _0x169733[_0x3e3c3e(0x19a)]()&&await this[_0x3e3c3e(0x191)](_0x1b8758,_0x5c8083,_0xe7abf6,_0x21f30e);}}static async[a321_0x103ba7(0x191)](_0x33c31f,_0x3c13b2,_0x36b710,_0x12061f){const _0x592315=a321_0x103ba7,_0x5781f1=a321_0x5f7852['extname'](_0x33c31f)[_0x592315(0x1ae)]();_0x33c31f[_0x592315(0x193)](_0x592315(0x196))&&(_0x3c13b2=_0x3c13b2[_0x592315(0x17b)](/\.tpl$/,''));const _0x5e7900=[_0x592315(0x197),'.ts',_0x592315(0x1b2),'.js','.json',_0x592315(0x1a2),'.css','.scss',_0x592315(0x196)];if(_0x5e7900[_0x592315(0x18a)](_0x5781f1)||_0x33c31f[_0x592315(0x193)](_0x592315(0x196))){const _0x346659=await a321_0x2d3e33['promises'][_0x592315(0x1af)](_0x33c31f,_0x592315(0x1a0)),_0x10e5d0=this[_0x592315(0x1ad)](_0x346659,_0x36b710,_0x12061f);await a321_0x2d3e33['promises'][_0x592315(0x1a5)](_0x3c13b2,_0x10e5d0,_0x592315(0x1a0));}else await a321_0x2d3e33[_0x592315(0x17e)][_0x592315(0x1a7)](_0x33c31f,_0x3c13b2);}}
@@ -1 +1 @@
1
- (function(_0x4b139f,_0x1783ab){const _0x30f7a4=a322_0x1774,_0x591570=_0x4b139f();while(!![]){try{const _0xdf70be=-parseInt(_0x30f7a4(0x170))/0x1+parseInt(_0x30f7a4(0x179))/0x2*(-parseInt(_0x30f7a4(0x175))/0x3)+-parseInt(_0x30f7a4(0x177))/0x4*(-parseInt(_0x30f7a4(0x180))/0x5)+parseInt(_0x30f7a4(0x172))/0x6+-parseInt(_0x30f7a4(0x16e))/0x7*(-parseInt(_0x30f7a4(0x167))/0x8)+parseInt(_0x30f7a4(0x178))/0x9+parseInt(_0x30f7a4(0x17e))/0xa*(-parseInt(_0x30f7a4(0x164))/0xb);if(_0xdf70be===_0x1783ab)break;else _0x591570['push'](_0x591570['shift']());}catch(_0xa4dce3){_0x591570['push'](_0x591570['shift']());}}}(a322_0x26ba,0x2a8b1));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a322_0x59bc4e from'semver';function a322_0x1774(_0x12286e,_0x1cc5d1){_0x12286e=_0x12286e-0x161;const _0x26ba6c=a322_0x26ba();let _0x17740e=_0x26ba6c[_0x12286e];return _0x17740e;}import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';function a322_0x26ba(){const _0x2aad62=['10484grCqhU','982206sqKnpg','40LgvZqq','lastNotifiedAt','object','stringify','gte','20bwTbLo','latest','140gmmldC','yes','https://www.npmjs.com/package/','rabetbase-cli','valid','1034099CbruEz',',\x20run:\x20','toLowerCase','5016FnlkUi','number','lastNotifiedVersion','trim','update-check.json','utf8','\x20update','3633MttCfe','true','125552HgIuIm','now','1459512KnhIvR','.cache','parse','39504JwWZlH','checkedAt'];a322_0x26ba=function(){return _0x2aad62;};return a322_0x26ba();}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 _0x4f0a4d=a322_0x1774,_0x24f445=process.env.RABETBASE_NO_UPDATE_NOTICE?.['trim']()[_0x4f0a4d(0x166)]();return _0x24f445==='1'||_0x24f445===_0x4f0a4d(0x16f)||_0x24f445===_0x4f0a4d(0x181);}function cacheRoot(){const _0x26e338=a322_0x1774;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x26e338(0x173));}export function getUpdateNoticeCachePath(){const _0x67618f=a322_0x1774;return join(cacheRoot(),_0x67618f(0x162),_0x67618f(0x16b));}async function readUpdateNoticeCache(){const _0x132c08=a322_0x1774;try{const _0xeaddc2=await readFile(getUpdateNoticeCachePath(),_0x132c08(0x16c)),_0x5e1ec5=JSON[_0x132c08(0x174)](_0xeaddc2);if(!_0x5e1ec5||typeof _0x5e1ec5!==_0x132c08(0x17b))return{};return _0x5e1ec5;}catch{return{};}}async function writeUpdateNoticeCache(_0x29b828){const _0x2df3bf=a322_0x1774;try{const _0xe8ed0a=getUpdateNoticeCachePath();await mkdir(dirname(_0xe8ed0a),{'recursive':!![]}),await writeFile(_0xe8ed0a,JSON[_0x2df3bf(0x17c)](_0x29b828,null,0x2)+'\x0a',_0x2df3bf(0x16c));}catch{}}function isFreshCheck(_0x568580,_0x309a14){const _0x1b72c7=a322_0x1774;return typeof _0x568580[_0x1b72c7(0x176)]===_0x1b72c7(0x168)&&_0x309a14-_0x568580[_0x1b72c7(0x176)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x4e4a7a,_0x3d1b68,_0x54f8cf){const _0xeb8525=a322_0x1774;return _0x4e4a7a[_0xeb8525(0x169)]===_0x3d1b68&&typeof _0x4e4a7a[_0xeb8525(0x17a)]===_0xeb8525(0x168)&&_0x54f8cf-_0x4e4a7a[_0xeb8525(0x17a)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x31e363){const _0x1676d9=a322_0x1774;return _0x1676d9(0x161)+NPM_PACKAGE_NAME+'/v/'+_0x31e363;}export async function resolveLatestUpdateNotice(){const _0x438880=a322_0x1774;if(isUpdateNoticeDisabled())return null;try{const _0x154bce=Date[_0x438880(0x171)](),_0x3fcd78=getCliVersion(),_0x2be4ee=await readUpdateNoticeCache();let _0x3c9b8a=isFreshCheck(_0x2be4ee,_0x154bce)?_0x2be4ee[_0x438880(0x17f)]?.[_0x438880(0x16a)]():undefined;if(!_0x3c9b8a&&!isFreshCheck(_0x2be4ee,_0x154bce)){const _0x505f70=await getCliVersionPolicy();_0x3c9b8a=_0x505f70?.['stableVersion']?.[_0x438880(0x16a)]()||undefined,await writeUpdateNoticeCache({..._0x2be4ee,'checkedAt':_0x154bce,'latest':_0x3c9b8a,'failed':!_0x3c9b8a});}if(!_0x3c9b8a||!a322_0x59bc4e[_0x438880(0x163)](_0x3fcd78)||!a322_0x59bc4e['valid'](_0x3c9b8a))return null;if(a322_0x59bc4e[_0x438880(0x17d)](_0x3fcd78,_0x3c9b8a))return null;if(isRecentlyNotified(_0x2be4ee,_0x3c9b8a,_0x154bce))return null;const _0x172cb4=CLI_BIN_NAME+_0x438880(0x16d);return await writeUpdateNoticeCache({..._0x2be4ee,'checkedAt':isFreshCheck(_0x2be4ee,_0x154bce)?_0x2be4ee[_0x438880(0x176)]:_0x154bce,'latest':_0x3c9b8a,'failed':![],'lastNotifiedVersion':_0x3c9b8a,'lastNotifiedAt':_0x154bce}),{'command':_0x172cb4,'current':_0x3fcd78,'latest':_0x3c9b8a,'url':buildNpmVersionUrl(_0x3c9b8a),'message':CLI_BIN_NAME+'\x20'+_0x3c9b8a+'\x20available,\x20current\x20'+_0x3fcd78+_0x438880(0x165)+_0x172cb4};}catch{return null;}}
1
+ function a322_0x177b(){const _0x2b5a9b=['stableVersion','3967250RDZSQe','7110770dQmSia','.cache','/v/','checkedAt','834292zsamyL','lastNotifiedVersion','https://www.npmjs.com/package/','trim','gte','toLowerCase',',\x20run:\x20','valid','8WoJiiM','2280645SgOQHz','object','\x20update','parse','yes','\x20available,\x20current\x20','number','update-check.json','true','utf8','lastNotifiedAt','rabetbase-cli','116WcQuvD','latest','194796HRdPbO','stringify','102445QYkBZz','3219SOtRtD','138UqWmGX'];a322_0x177b=function(){return _0x2b5a9b;};return a322_0x177b();}(function(_0xa051e2,_0x2a8ea8){const _0x22a128=a322_0x3200,_0x2988e3=_0xa051e2();while(!![]){try{const _0x4ba41c=-parseInt(_0x22a128(0x198))/0x1+parseInt(_0x22a128(0x1a3))/0x2+-parseInt(_0x22a128(0x19b))/0x3*(-parseInt(_0x22a128(0x196))/0x4)+parseInt(_0x22a128(0x19a))/0x5*(parseInt(_0x22a128(0x19c))/0x6)+parseInt(_0x22a128(0x19e))/0x7+parseInt(_0x22a128(0x1ab))/0x8*(-parseInt(_0x22a128(0x1ac))/0x9)+-parseInt(_0x22a128(0x19f))/0xa;if(_0x4ba41c===_0x2a8ea8)break;else _0x2988e3['push'](_0x2988e3['shift']());}catch(_0x5e1b5c){_0x2988e3['push'](_0x2988e3['shift']());}}}(a322_0x177b,0x4fd46));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a322_0x3297e4 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';function a322_0x3200(_0x250c5f,_0x515626){_0x250c5f=_0x250c5f-0x190;const _0x177b41=a322_0x177b();let _0x320059=_0x177b41[_0x250c5f];return _0x320059;}const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x3d8a91=a322_0x3200,_0x427cf3=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x3d8a91(0x1a6)]()[_0x3d8a91(0x1a8)]();return _0x427cf3==='1'||_0x427cf3===_0x3d8a91(0x192)||_0x427cf3===_0x3d8a91(0x1b0);}function cacheRoot(){const _0x3882f1=a322_0x3200;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x3882f1(0x1a0));}export function getUpdateNoticeCachePath(){const _0x4e99cf=a322_0x3200;return join(cacheRoot(),_0x4e99cf(0x195),_0x4e99cf(0x191));}async function readUpdateNoticeCache(){const _0x2d9e98=a322_0x3200;try{const _0x8826b8=await readFile(getUpdateNoticeCachePath(),_0x2d9e98(0x193)),_0x5d11e6=JSON[_0x2d9e98(0x1af)](_0x8826b8);if(!_0x5d11e6||typeof _0x5d11e6!==_0x2d9e98(0x1ad))return{};return _0x5d11e6;}catch{return{};}}async function writeUpdateNoticeCache(_0x3227af){const _0x580b8e=a322_0x3200;try{const _0x1b67ae=getUpdateNoticeCachePath();await mkdir(dirname(_0x1b67ae),{'recursive':!![]}),await writeFile(_0x1b67ae,JSON[_0x580b8e(0x199)](_0x3227af,null,0x2)+'\x0a','utf8');}catch{}}function isFreshCheck(_0x16f26b,_0x485917){const _0x4b182e=a322_0x3200;return typeof _0x16f26b[_0x4b182e(0x1a2)]===_0x4b182e(0x190)&&_0x485917-_0x16f26b[_0x4b182e(0x1a2)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x1be939,_0x11cafd,_0xade769){const _0x3e8226=a322_0x3200;return _0x1be939[_0x3e8226(0x1a4)]===_0x11cafd&&typeof _0x1be939['lastNotifiedAt']===_0x3e8226(0x190)&&_0xade769-_0x1be939[_0x3e8226(0x194)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x5ad7d9){const _0x5e4241=a322_0x3200;return _0x5e4241(0x1a5)+NPM_PACKAGE_NAME+_0x5e4241(0x1a1)+_0x5ad7d9;}export async function resolveLatestUpdateNotice(){const _0x4bea4f=a322_0x3200;if(isUpdateNoticeDisabled())return null;try{const _0x1c206a=Date['now'](),_0x5bd573=getCliVersion(),_0x32e640=await readUpdateNoticeCache();let _0x10c6fc=isFreshCheck(_0x32e640,_0x1c206a)?_0x32e640[_0x4bea4f(0x197)]?.[_0x4bea4f(0x1a6)]():undefined;if(!_0x10c6fc&&!isFreshCheck(_0x32e640,_0x1c206a)){const _0x20fa0b=await getCliVersionPolicy();_0x10c6fc=_0x20fa0b?.[_0x4bea4f(0x19d)]?.[_0x4bea4f(0x1a6)]()||undefined,await writeUpdateNoticeCache({..._0x32e640,'checkedAt':_0x1c206a,'latest':_0x10c6fc,'failed':!_0x10c6fc});}if(!_0x10c6fc||!a322_0x3297e4[_0x4bea4f(0x1aa)](_0x5bd573)||!a322_0x3297e4[_0x4bea4f(0x1aa)](_0x10c6fc))return null;if(a322_0x3297e4[_0x4bea4f(0x1a7)](_0x5bd573,_0x10c6fc))return null;if(isRecentlyNotified(_0x32e640,_0x10c6fc,_0x1c206a))return null;const _0x3ad579=CLI_BIN_NAME+_0x4bea4f(0x1ae);return await writeUpdateNoticeCache({..._0x32e640,'checkedAt':isFreshCheck(_0x32e640,_0x1c206a)?_0x32e640[_0x4bea4f(0x1a2)]:_0x1c206a,'latest':_0x10c6fc,'failed':![],'lastNotifiedVersion':_0x10c6fc,'lastNotifiedAt':_0x1c206a}),{'command':_0x3ad579,'current':_0x5bd573,'latest':_0x10c6fc,'url':buildNpmVersionUrl(_0x10c6fc),'message':CLI_BIN_NAME+'\x20'+_0x10c6fc+_0x4bea4f(0x1b1)+_0x5bd573+_0x4bea4f(0x1a9)+_0x3ad579};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x302517,_0x25114a){var _0x3d27a3=a323_0x375b,_0x2f731c=_0x302517();while(!![]){try{var _0x22577c=parseInt(_0x3d27a3(0x188))/0x1*(parseInt(_0x3d27a3(0x18b))/0x2)+-parseInt(_0x3d27a3(0x192))/0x3+parseInt(_0x3d27a3(0x190))/0x4+parseInt(_0x3d27a3(0x18c))/0x5*(parseInt(_0x3d27a3(0x18d))/0x6)+-parseInt(_0x3d27a3(0x18f))/0x7*(parseInt(_0x3d27a3(0x191))/0x8)+-parseInt(_0x3d27a3(0x189))/0x9*(-parseInt(_0x3d27a3(0x18a))/0xa)+parseInt(_0x3d27a3(0x18e))/0xb;if(_0x22577c===_0x25114a)break;else _0x2f731c['push'](_0x2f731c['shift']());}catch(_0x3ad065){_0x2f731c['push'](_0x2f731c['shift']());}}}(a323_0x4ec0,0x80358));function a323_0x4ec0(){var _0x5468d8=['1841HxDpYn','2443444vTkCLv','25016VAWpEe','618567afzbzz','7TXNeki','2315583Wmbumb','10jKFyWU','67406coHpqu','40DNCEdO','152076mtjJgK','2715867bpsElS'];a323_0x4ec0=function(){return _0x5468d8;};return a323_0x4ec0();}import{VERSION}from'../generated/build-info.js';function a323_0x375b(_0x3ccf5e,_0x16c171){_0x3ccf5e=_0x3ccf5e-0x188;var _0x4ec031=a323_0x4ec0();var _0x375bb4=_0x4ec031[_0x3ccf5e];return _0x375bb4;}export function getCliVersion(){return VERSION;}
1
+ function a323_0x203e(){var _0x10eab5=['931300zbSQoL','1VJFlAk','10YFGPql','9939xYMKyD','13089840xiwrZj','1144248VkTHRd','761480ayWfRE','244rCNpWL','117CqIbED','38357077EsQNbA','1479288wleaHQ'];a323_0x203e=function(){return _0x10eab5;};return a323_0x203e();}(function(_0xcd3b48,_0x329a39){var _0xfad155=a323_0x6bd3,_0x299e96=_0xcd3b48();while(!![]){try{var _0x3b73df=parseInt(_0xfad155(0xbc))/0x1*(-parseInt(_0xfad155(0xbb))/0x2)+parseInt(_0xfad155(0xbe))/0x3*(parseInt(_0xfad155(0xc2))/0x4)+-parseInt(_0xfad155(0xbd))/0x5*(-parseInt(_0xfad155(0xba))/0x6)+-parseInt(_0xfad155(0xc0))/0x7+-parseInt(_0xfad155(0xbf))/0x8+parseInt(_0xfad155(0xb8))/0x9*(-parseInt(_0xfad155(0xc1))/0xa)+parseInt(_0xfad155(0xb9))/0xb;if(_0x3b73df===_0x329a39)break;else _0x299e96['push'](_0x299e96['shift']());}catch(_0x43eec5){_0x299e96['push'](_0x299e96['shift']());}}}(a323_0x203e,0xe24d0));import{VERSION}from'../generated/build-info.js';function a323_0x6bd3(_0x5786b7,_0x30365a){_0x5786b7=_0x5786b7-0xb8;var _0x203efd=a323_0x203e();var _0x6bd352=_0x203efd[_0x5786b7];return _0x6bd352;}export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- (function(_0x5e5adc,_0x5d8e46){var _0x50a60d=a324_0x230e,_0x5bd948=_0x5e5adc();while(!![]){try{var _0x1720a2=-parseInt(_0x50a60d(0x1b6))/0x1*(-parseInt(_0x50a60d(0x1b7))/0x2)+parseInt(_0x50a60d(0x1b4))/0x3*(parseInt(_0x50a60d(0x1b1))/0x4)+parseInt(_0x50a60d(0x1b0))/0x5+-parseInt(_0x50a60d(0x1b2))/0x6+-parseInt(_0x50a60d(0x1b3))/0x7+-parseInt(_0x50a60d(0x1af))/0x8+-parseInt(_0x50a60d(0x1b5))/0x9;if(_0x1720a2===_0x5d8e46)break;else _0x5bd948['push'](_0x5bd948['shift']());}catch(_0x2ba4f6){_0x5bd948['push'](_0x5bd948['shift']());}}}(a324_0x15f1,0xa7406));function a324_0x230e(_0x7412e0,_0x1bfc52){_0x7412e0=_0x7412e0-0x1af;var _0x15f11d=a324_0x15f1();var _0x230ed4=_0x15f11d[_0x7412e0];return _0x230ed4;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a324_0x15f1(){var _0x144f88=['7144792pzLwoD','4266045uTsHao','1753676KKjASw','1747764LlLaNz','1489068OXidRm','3kyXewu','2620647fYdqhg','540867bSNcXZ','4SIeViF'];a324_0x15f1=function(){return _0x144f88;};return a324_0x15f1();}export async function withActiveCookie(_0x131887,_0x2065aa){setActiveCookie(_0x131887);try{return await _0x2065aa();}finally{clearActiveCookie();}}
1
+ (function(_0x37881a,_0x26aa76){var _0x1c9542=a324_0x3490,_0x413b46=_0x37881a();while(!![]){try{var _0x561f81=-parseInt(_0x1c9542(0xe6))/0x1+-parseInt(_0x1c9542(0xdc))/0x2+parseInt(_0x1c9542(0xe1))/0x3*(parseInt(_0x1c9542(0xde))/0x4)+-parseInt(_0x1c9542(0xe3))/0x5*(-parseInt(_0x1c9542(0xdf))/0x6)+-parseInt(_0x1c9542(0xe4))/0x7+-parseInt(_0x1c9542(0xe2))/0x8*(parseInt(_0x1c9542(0xe5))/0x9)+-parseInt(_0x1c9542(0xdd))/0xa*(-parseInt(_0x1c9542(0xe0))/0xb);if(_0x561f81===_0x26aa76)break;else _0x413b46['push'](_0x413b46['shift']());}catch(_0x5ead09){_0x413b46['push'](_0x413b46['shift']());}}}(a324_0x4aeb,0xbba88));function a324_0x3490(_0x52c217,_0x87995a){_0x52c217=_0x52c217-0xdc;var _0x4aeb94=a324_0x4aeb();var _0x3490d9=_0x4aeb94[_0x52c217];return _0x3490d9;}function a324_0x4aeb(){var _0x23a355=['3015728xBWWOo','96QFiifx','11yyPlnY','6fqkGGQ','584984CRgfXW','13055yhKyPd','6570396kywsza','81HhJAyC','463043uowYkO','282934lVMFaI','14202530ktcqtf'];a324_0x4aeb=function(){return _0x23a355;};return a324_0x4aeb();}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x2f4738,_0x134fc7){setActiveCookie(_0x2f4738);try{return await _0x134fc7();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- function a325_0x2919(_0x128299,_0x334d44){_0x128299=_0x128299-0xe2;var _0xd965e=a325_0xd965();var _0x29192a=_0xd965e[_0x128299];return _0x29192a;}function a325_0xd965(){var _0x5f1ab1=['19374jlHxVO','1349000bJZSjf','5370fvzExw','97706vINqWr','537468NCQLfT','3573qHVXEZ','2aFqtda','205084FRUMhz','stderr','14BFbbcX','182008tUYgRM'];a325_0xd965=function(){return _0x5f1ab1;};return a325_0xd965();}(function(_0x51c7cd,_0x5ac9a0){var _0x4e9702=a325_0x2919,_0x31b0b4=_0x51c7cd();while(!![]){try{var _0x45b34d=-parseInt(_0x4e9702(0xe8))/0x1*(parseInt(_0x4e9702(0xe5))/0x2)+parseInt(_0x4e9702(0xe2))/0x3+-parseInt(_0x4e9702(0xe9))/0x4+parseInt(_0x4e9702(0xe3))/0x5+-parseInt(_0x4e9702(0xe6))/0x6*(parseInt(_0x4e9702(0xeb))/0x7)+-parseInt(_0x4e9702(0xec))/0x8+parseInt(_0x4e9702(0xe7))/0x9*(parseInt(_0x4e9702(0xe4))/0xa);if(_0x45b34d===_0x5ac9a0)break;else _0x31b0b4['push'](_0x31b0b4['shift']());}catch(_0x37aabe){_0x31b0b4['push'](_0x31b0b4['shift']());}}}(a325_0xd965,0x21d43));export function writeCliSideChannelLine(_0x38fe56){var _0x6c0291=a325_0x2919;process[_0x6c0291(0xea)]['write'](_0x38fe56+'\x0a');}
1
+ function a325_0x441d(_0x2688f3,_0x1ca942){_0x2688f3=_0x2688f3-0x83;var _0x332806=a325_0x3328();var _0x441d3e=_0x332806[_0x2688f3];return _0x441d3e;}(function(_0x3d9418,_0x1fc52e){var _0x472c60=a325_0x441d,_0x396e71=_0x3d9418();while(!![]){try{var _0xcbf45e=-parseInt(_0x472c60(0x8c))/0x1*(-parseInt(_0x472c60(0x88))/0x2)+parseInt(_0x472c60(0x8a))/0x3+parseInt(_0x472c60(0x84))/0x4*(-parseInt(_0x472c60(0x83))/0x5)+parseInt(_0x472c60(0x87))/0x6*(-parseInt(_0x472c60(0x8d))/0x7)+-parseInt(_0x472c60(0x85))/0x8+parseInt(_0x472c60(0x8b))/0x9+parseInt(_0x472c60(0x86))/0xa;if(_0xcbf45e===_0x1fc52e)break;else _0x396e71['push'](_0x396e71['shift']());}catch(_0x4d3978){_0x396e71['push'](_0x396e71['shift']());}}}(a325_0x3328,0xae253));export function writeCliSideChannelLine(_0x2d655d){var _0x299ae0=a325_0x441d;process['stderr'][_0x299ae0(0x89)](_0x2d655d+'\x0a');}function a325_0x3328(){var _0x27208f=['410415vREjsM','2238082QQLOAy','5KRgEOc','5267736eQoRIq','7373296oNerZK','18192170XRQxIH','12YUvPNW','6RUNcyr','write','1454295JMBpLw','505080sXaXCg'];a325_0x3328=function(){return _0x27208f;};return a325_0x3328();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.5.2-beta.4",
3
+ "version": "2.5.2-beta.5",
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.4
3
+ version: 2.5.2-beta.5
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.4",
6
- "skillVersion": "2.5.2-beta.4",
5
+ "packageVersion": "2.5.2-beta.5",
6
+ "skillVersion": "2.5.2-beta.5",
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": "dffe4df9136a202fd8cb263d8c4c6e4cb4f0f50b18b59e8745eb2fc282a50f58"
143
+ "digest": "291e93b8ad32502a5278e0d094cbf257c5b19fbf395f997bfdc54fe5dc3c2084"
144
144
  }