@lovrabet/rabetbase-cli 2.3.16-beta.6 → 2.3.16-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 (279) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/index.js +1 -1
  20. package/lib/commands/app/list.js +1 -1
  21. package/lib/commands/app/members-list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app-config/delete.js +1 -1
  25. package/lib/commands/app-config/get.js +1 -1
  26. package/lib/commands/app-config/index.js +1 -1
  27. package/lib/commands/app-config/list.js +1 -1
  28. package/lib/commands/app-config/set.js +1 -1
  29. package/lib/commands/app-config/shared.js +1 -1
  30. package/lib/commands/auth/index.js +1 -1
  31. package/lib/commands/bff/create.js +1 -1
  32. package/lib/commands/bff/delete.js +1 -1
  33. package/lib/commands/bff/detail.js +1 -1
  34. package/lib/commands/bff/index.js +1 -1
  35. package/lib/commands/bff/list.js +1 -1
  36. package/lib/commands/bff/pull.js +1 -1
  37. package/lib/commands/bff/push.js +1 -1
  38. package/lib/commands/bff/status.js +1 -1
  39. package/lib/commands/cli-skill/index.js +1 -1
  40. package/lib/commands/cli-update.js +1 -1
  41. package/lib/commands/codegen/index.js +1 -1
  42. package/lib/commands/codegen/sdk.js +1 -1
  43. package/lib/commands/codegen/sql.js +1 -1
  44. package/lib/commands/common/app-registry.js +1 -1
  45. package/lib/commands/common/app-selector.js +1 -1
  46. package/lib/commands/common/async-task.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/local-file.js +1 -1
  50. package/lib/commands/common/validate.js +1 -1
  51. package/lib/commands/config/get.js +1 -1
  52. package/lib/commands/config/index.js +1 -1
  53. package/lib/commands/config/list.js +1 -1
  54. package/lib/commands/config/set.js +1 -1
  55. package/lib/commands/config/shared.js +1 -1
  56. package/lib/commands/data/filter.js +1 -1
  57. package/lib/commands/data/getOne.js +1 -1
  58. package/lib/commands/data/index.js +1 -1
  59. package/lib/commands/data/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.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-update.js +1 -1
  66. package/lib/commands/dataset/generate.js +1 -1
  67. package/lib/commands/dataset/index.js +1 -1
  68. package/lib/commands/dataset/list.js +1 -1
  69. package/lib/commands/dataset/operations.js +1 -1
  70. package/lib/commands/dataset/relation-audit.js +1 -1
  71. package/lib/commands/dataset/relation-create.js +1 -1
  72. package/lib/commands/dataset/relation-delete.js +1 -1
  73. package/lib/commands/dataset/relation-shared.js +1 -1
  74. package/lib/commands/dataset/relation-update.js +1 -1
  75. package/lib/commands/dataset/relations.js +1 -1
  76. package/lib/commands/dataset/rename.js +1 -1
  77. package/lib/commands/dataset/restore.js +1 -1
  78. package/lib/commands/db/analysis-batching.js +1 -1
  79. package/lib/commands/db/analyze-batch-plan.js +1 -1
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff.js +1 -1
  87. package/lib/commands/db/index.js +1 -1
  88. package/lib/commands/db/list.js +1 -1
  89. package/lib/commands/db/shared.js +1 -1
  90. package/lib/commands/db/tables.js +1 -1
  91. package/lib/commands/db/test.js +1 -1
  92. package/lib/commands/db/update.js +1 -1
  93. package/lib/commands/doctor.js +1 -1
  94. package/lib/commands/file/index.js +1 -1
  95. package/lib/commands/init/index.js +1 -1
  96. package/lib/commands/issue/index.js +1 -1
  97. package/lib/commands/issue/nudge.js +1 -1
  98. package/lib/commands/issue/report.js +1 -1
  99. package/lib/commands/issue/shared.js +1 -1
  100. package/lib/commands/kb/create.js +1 -1
  101. package/lib/commands/kb/delete.js +1 -1
  102. package/lib/commands/kb/detail.js +1 -1
  103. package/lib/commands/kb/index.js +1 -1
  104. package/lib/commands/kb/list.js +1 -1
  105. package/lib/commands/kb/shared.js +1 -1
  106. package/lib/commands/kb/update.js +1 -1
  107. package/lib/commands/logs/index.js +1 -1
  108. package/lib/commands/menu/asset-update.js +1 -1
  109. package/lib/commands/menu/delete.js +1 -1
  110. package/lib/commands/menu/external-link-create.js +1 -1
  111. package/lib/commands/menu/external-link-update.js +1 -1
  112. package/lib/commands/menu/group-create.js +1 -1
  113. package/lib/commands/menu/group-update.js +1 -1
  114. package/lib/commands/menu/index.js +1 -1
  115. package/lib/commands/menu/list.js +1 -1
  116. package/lib/commands/menu/move.js +1 -1
  117. package/lib/commands/menu/regroup-start.js +1 -1
  118. package/lib/commands/menu/rename.js +1 -1
  119. package/lib/commands/menu/shared/compare-table.js +1 -1
  120. package/lib/commands/menu/shared/delete-plan.js +1 -1
  121. package/lib/commands/menu/shared/facts.js +1 -1
  122. package/lib/commands/menu/shared/index.js +1 -1
  123. package/lib/commands/menu/shared/inquirer.js +1 -1
  124. package/lib/commands/menu/shared/local-pages.js +1 -1
  125. package/lib/commands/menu/shared/logic.js +1 -1
  126. package/lib/commands/menu/shared/mutations.js +1 -1
  127. package/lib/commands/menu/shared/service.js +1 -1
  128. package/lib/commands/menu/shared/sync-core.js +1 -1
  129. package/lib/commands/menu/shared/update-core.js +1 -1
  130. package/lib/commands/menu/shared/valid-url.js +1 -1
  131. package/lib/commands/menu/sync.js +1 -1
  132. package/lib/commands/notification/config-list.js +1 -1
  133. package/lib/commands/notification/index.js +1 -1
  134. package/lib/commands/ocr/index.js +1 -1
  135. package/lib/commands/page/generate-start.js +1 -1
  136. package/lib/commands/page/generate-status.js +1 -1
  137. package/lib/commands/page/index.js +1 -1
  138. package/lib/commands/page/pull.js +1 -1
  139. package/lib/commands/page/push.js +1 -1
  140. package/lib/commands/page/relation-audit.js +1 -1
  141. package/lib/commands/page/restore.js +1 -1
  142. package/lib/commands/page/shared.js +1 -1
  143. package/lib/commands/page/standard-page-status.js +1 -1
  144. package/lib/commands/page/sync.js +1 -1
  145. package/lib/commands/permit/index.js +1 -1
  146. package/lib/commands/permit/page-get.js +1 -1
  147. package/lib/commands/permit/page-set.js +1 -1
  148. package/lib/commands/permit/role-apis-set.js +1 -1
  149. package/lib/commands/permit/role-menus-set.js +1 -1
  150. package/lib/commands/permit/role-menus.js +1 -1
  151. package/lib/commands/permit/shared.js +1 -1
  152. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  153. package/lib/commands/project/create/format-elapsed.js +1 -1
  154. package/lib/commands/project/create/main.js +1 -1
  155. package/lib/commands/project/create/non-interactive.js +1 -1
  156. package/lib/commands/project/create/project-template-path.js +1 -1
  157. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  158. package/lib/commands/project/create/use-format-code.js +1 -1
  159. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  160. package/lib/commands/project/index.js +1 -1
  161. package/lib/commands/project/upgrade.js +1 -1
  162. package/lib/commands/registry.js +1 -1
  163. package/lib/commands/role/create.js +1 -1
  164. package/lib/commands/role/delete.js +1 -1
  165. package/lib/commands/role/detail.js +1 -1
  166. package/lib/commands/role/index.js +1 -1
  167. package/lib/commands/role/list.js +1 -1
  168. package/lib/commands/role/shared.js +1 -1
  169. package/lib/commands/role/update.js +1 -1
  170. package/lib/commands/role/user-add.js +1 -1
  171. package/lib/commands/role/user-remove.js +1 -1
  172. package/lib/commands/role/user-resolve.js +1 -1
  173. package/lib/commands/run/index.js +1 -1
  174. package/lib/commands/schema.js +1 -1
  175. package/lib/commands/sql/create.js +1 -1
  176. package/lib/commands/sql/delete.js +1 -1
  177. package/lib/commands/sql/detail.js +1 -1
  178. package/lib/commands/sql/exec.js +1 -1
  179. package/lib/commands/sql/index.js +1 -1
  180. package/lib/commands/sql/list.js +1 -1
  181. package/lib/commands/sql/pull.js +1 -1
  182. package/lib/commands/sql/push.js +1 -1
  183. package/lib/commands/sql/shared.js +1 -1
  184. package/lib/commands/sql/status.js +1 -1
  185. package/lib/commands/sql/validate.js +1 -1
  186. package/lib/commands/task/index.js +1 -1
  187. package/lib/commands/task/status.js +1 -1
  188. package/lib/commands/tenant/index.js +1 -1
  189. package/lib/commands/tenant/members-list.js +1 -1
  190. package/lib/commands/tenant/shared.js +1 -1
  191. package/lib/commands/workspace/add.js +1 -1
  192. package/lib/commands/workspace/index.js +1 -1
  193. package/lib/commands/workspace/remove.js +1 -1
  194. package/lib/config/schema.js +1 -1
  195. package/lib/constant/cdn.js +1 -1
  196. package/lib/constant/cli.js +1 -1
  197. package/lib/constant/defaults.js +1 -1
  198. package/lib/constant/domain.js +1 -1
  199. package/lib/constant/env.js +1 -1
  200. package/lib/constant/output.js +1 -1
  201. package/lib/constant/paths.js +1 -1
  202. package/lib/constant/risk.js +1 -1
  203. package/lib/context/app-resolver.js +1 -1
  204. package/lib/context/auth-resolver.js +1 -1
  205. package/lib/context/config-loader.js +1 -1
  206. package/lib/context.d.ts +1 -1
  207. package/lib/context.js +1 -1
  208. package/lib/core/alias-resolver.js +1 -1
  209. package/lib/core/api-client.js +1 -1
  210. package/lib/core/bff/config.js +1 -1
  211. package/lib/core/bff/file-system.js +1 -1
  212. package/lib/core/bff/hash.js +1 -1
  213. package/lib/core/bff/lock.js +1 -1
  214. package/lib/core/bff/utils.js +1 -1
  215. package/lib/core/db-resolver.js +1 -1
  216. package/lib/core/page/file-system.js +1 -1
  217. package/lib/core/page/hash.js +1 -1
  218. package/lib/core/page/lock.js +1 -1
  219. package/lib/core/sql-index-auditor.js +1 -1
  220. package/lib/core/sql-sync/config.js +1 -1
  221. package/lib/core/sql-sync/file-system.js +1 -1
  222. package/lib/core/sql-sync/hash.js +1 -1
  223. package/lib/core/sql-sync/lock.js +1 -1
  224. package/lib/core/sql-sync/utils.js +1 -1
  225. package/lib/core/sql-validator.js +1 -1
  226. package/lib/errors.js +1 -1
  227. package/lib/framework/build-all-flags.js +1 -1
  228. package/lib/framework/error-output.js +1 -1
  229. package/lib/framework/explicit-yes.js +1 -1
  230. package/lib/framework/flags.js +1 -1
  231. package/lib/framework/help.js +1 -1
  232. package/lib/framework/index.js +1 -1
  233. package/lib/framework/output.js +1 -1
  234. package/lib/framework/response.js +1 -1
  235. package/lib/framework/runner-alias.js +1 -1
  236. package/lib/framework/runner.js +1 -1
  237. package/lib/framework/schema-export.js +1 -1
  238. package/lib/framework/types.js +1 -1
  239. package/lib/generated/build-info.d.ts +4 -4
  240. package/lib/generated/build-info.js +1 -1
  241. package/lib/help.js +1 -1
  242. package/lib/runtime/confirmation.js +1 -1
  243. package/lib/runtime/event.js +1 -1
  244. package/lib/runtime/index.js +1 -1
  245. package/lib/runtime/queue.js +1 -1
  246. package/lib/runtime/resolve.js +1 -1
  247. package/lib/skills/main.js +1 -1
  248. package/lib/skills/npx-skills-add.js +1 -1
  249. package/lib/skills/skill-presence.js +1 -1
  250. package/lib/telemetry/cli-command-trace.js +1 -1
  251. package/lib/telemetry/cli-help-trace.js +1 -1
  252. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  253. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  254. package/lib/telemetry/send-cli-trace-log.js +1 -1
  255. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  256. package/lib/utils/ai_config.js +1 -1
  257. package/lib/utils/apply-jq-filter.js +1 -1
  258. package/lib/utils/cdn-config.js +1 -1
  259. package/lib/utils/check-sdk-version.js +1 -1
  260. package/lib/utils/cli-version-check.js +1 -1
  261. package/lib/utils/cli-version-policy.js +1 -1
  262. package/lib/utils/config.js +1 -1
  263. package/lib/utils/copy-directory.js +1 -1
  264. package/lib/utils/entity-with-id.js +1 -1
  265. package/lib/utils/file-utils.js +1 -1
  266. package/lib/utils/guides-cdn.js +1 -1
  267. package/lib/utils/http-client.js +1 -1
  268. package/lib/utils/is-non-interactive.js +1 -1
  269. package/lib/utils/logger.js +1 -1
  270. package/lib/utils/params.js +1 -1
  271. package/lib/utils/platform.js +1 -1
  272. package/lib/utils/rules-cdn.js +1 -1
  273. package/lib/utils/sleep.js +1 -1
  274. package/lib/utils/template-replacer.js +1 -1
  275. package/lib/utils/update-notice.js +1 -1
  276. package/lib/utils/version.js +1 -1
  277. package/lib/utils/with-active-cookie.js +1 -1
  278. package/lib/utils/write-cli-side-channel.js +1 -1
  279. package/package.json +1 -1
@@ -1 +1 @@
1
- const a275_0x2879b9=a275_0x504f;(function(_0x41a98f,_0x17833f){const _0x2b4220=a275_0x504f,_0x295320=_0x41a98f();while(!![]){try{const _0x33cb91=parseInt(_0x2b4220(0x1a6))/0x1+parseInt(_0x2b4220(0x1a5))/0x2*(-parseInt(_0x2b4220(0x19d))/0x3)+-parseInt(_0x2b4220(0x1a9))/0x4*(-parseInt(_0x2b4220(0x197))/0x5)+parseInt(_0x2b4220(0x199))/0x6*(-parseInt(_0x2b4220(0x1a3))/0x7)+-parseInt(_0x2b4220(0x1a7))/0x8+parseInt(_0x2b4220(0x19f))/0x9*(parseInt(_0x2b4220(0x198))/0xa)+parseInt(_0x2b4220(0x1ac))/0xb;if(_0x33cb91===_0x17833f)break;else _0x295320['push'](_0x295320['shift']());}catch(_0x11deae){_0x295320['push'](_0x295320['shift']());}}}(a275_0x204b,0xb7f16));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';import{getTemplateBaseUrl}from'../utils/config.js';import{appendUpdateTime}from'../utils/guides-cdn.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function a275_0x204b(){const _0x507123=['content','1412426eOPqzX','611272RmcntN','6284080aVAglr','本地模板文件不存在:\x20','329512yVkBWL','utf-8','CDN\x20返回数据格式错误','24314048GiMLTT','status','lastUpdated','json','statusText','35rMJSWi','5780LXFVjc','18YqAAjv','/rules/rules.json','.cursor/rules','lovrabet_rules.mdc','3WgpkVA','application/json','2610OapaxR','../../templates/rules/lovrabet_rules.mdc.tpl','CDN\x20请求失败:\x20','agents.md','3081757dFucOU'];a275_0x204b=function(){return _0x507123;};return a275_0x204b();}function getRulesCdnUrl(){const _0x13b402=a275_0x504f,_0x3f6ca2=getTemplateBaseUrl();return _0x3f6ca2+_0x13b402(0x19a);}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a275_0x2879b9(0x1a0));export async function fetchRulesFromCDN(){const _0x41c78f=a275_0x2879b9,_0x11b797=getRulesCdnUrl(),_0x1ee7b0=await fetch(_0x11b797,{'headers':{'Accept':_0x41c78f(0x19e)}});if(!_0x1ee7b0['ok'])throw new Error(_0x41c78f(0x1a1)+_0x1ee7b0[_0x41c78f(0x193)]+'\x20'+_0x1ee7b0[_0x41c78f(0x196)]);const _0x43f008=await _0x1ee7b0[_0x41c78f(0x195)]();if(!_0x43f008[_0x41c78f(0x1a4)]||typeof _0x43f008[_0x41c78f(0x1a4)]!=='string')throw new Error(_0x41c78f(0x1ab));return _0x43f008;}export async function getRulesContent(){try{const _0x1357fa=await fetchRulesFromCDN();return _0x1357fa['content'];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x2efedf=a275_0x2879b9;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x2efedf(0x1aa));throw new Error(_0x2efedf(0x1a8)+LOCAL_TEMPLATE_PATH);}function a275_0x504f(_0x522ea4,_0x3a6cd7){_0x522ea4=_0x522ea4-0x193;const _0x204b91=a275_0x204b();let _0x504ff0=_0x204b91[_0x522ea4];return _0x504ff0;}export async function writeRulesFile(_0x45c38f){const _0x147b05=a275_0x2879b9,_0x4cdd60=await fetchRulesFromCDN()['catch'](()=>null);let _0x2286a9;_0x4cdd60?(_0x2286a9=_0x4cdd60['content'],_0x4cdd60['lastUpdated']&&(_0x2286a9=appendUpdateTime(_0x2286a9,_0x4cdd60[_0x147b05(0x194)]))):_0x2286a9=readLocalTemplate();const _0x31bda7=dirname(_0x45c38f);!existsSync(_0x31bda7)&&mkdirSync(_0x31bda7,{'recursive':!![]}),writeFileSync(_0x45c38f,_0x2286a9,_0x147b05(0x1aa));}export async function copyRulesToCursor(_0xf77b34){const _0x5a8377=a275_0x2879b9,_0x394074=join(_0xf77b34,_0x5a8377(0x19b)),_0x24e07b=join(_0x394074,_0x5a8377(0x19c));if(existsSync(_0x24e07b))return![];return await writeRulesFile(_0x24e07b),!![];}export async function copyRulesToAgentsMd(_0x549591){const _0x565456=a275_0x2879b9,_0x436521=join(_0x549591,_0x565456(0x1a2));if(existsSync(_0x436521))return![];return await writeRulesFile(_0x436521),!![];}
1
+ const a275_0x34bfad=a275_0x17b7;(function(_0x19e5d1,_0x335770){const _0xb94586=a275_0x17b7,_0x4d22d3=_0x19e5d1();while(!![]){try{const _0x41c3a9=parseInt(_0xb94586(0x11b))/0x1+-parseInt(_0xb94586(0x10e))/0x2+-parseInt(_0xb94586(0x119))/0x3+parseInt(_0xb94586(0x115))/0x4+parseInt(_0xb94586(0x112))/0x5*(parseInt(_0xb94586(0x116))/0x6)+-parseInt(_0xb94586(0x10f))/0x7+parseInt(_0xb94586(0x122))/0x8*(parseInt(_0xb94586(0x121))/0x9);if(_0x41c3a9===_0x335770)break;else _0x4d22d3['push'](_0x4d22d3['shift']());}catch(_0x2c61c8){_0x4d22d3['push'](_0x4d22d3['shift']());}}}(a275_0xc4cd,0x7289c));import{existsSync,mkdirSync,readFileSync,writeFileSync}from'node:fs';import{dirname,join,resolve}from'node:path';import{fileURLToPath}from'node:url';function a275_0xc4cd(){const _0x3c04ac=['../../templates/rules/lovrabet_rules.mdc.tpl','211146FNVYza','json','status','utf-8','本地模板文件不存在:\x20','lastUpdated','1250829VkyUSc','24dcfygn','application/json','lovrabet_rules.mdc','catch','CDN\x20返回数据格式错误','1164828ALqimx','922320vyctYC','.cursor/rules','agents.md','111405zskwpI','CDN\x20请求失败:\x20','content','1519676GuaoQp','234UCQGaW','string','statusText','2080935egsxOw'];a275_0xc4cd=function(){return _0x3c04ac;};return a275_0xc4cd();}import{getTemplateBaseUrl}from'../utils/config.js';function a275_0x17b7(_0x303e42,_0xed8c11){_0x303e42=_0x303e42-0x10a;const _0xc4cdfd=a275_0xc4cd();let _0x17b744=_0xc4cdfd[_0x303e42];return _0x17b744;}import{appendUpdateTime}from'../utils/guides-cdn.js';const __filename=fileURLToPath(import.meta.url),__dirname=dirname(__filename);function getRulesCdnUrl(){const _0x1addfa=getTemplateBaseUrl();return _0x1addfa+'/rules/rules.json';}const LOCAL_TEMPLATE_PATH=resolve(__dirname,a275_0x34bfad(0x11a));export async function fetchRulesFromCDN(){const _0x390ec9=a275_0x34bfad,_0x215fe5=getRulesCdnUrl(),_0x58b56b=await fetch(_0x215fe5,{'headers':{'Accept':_0x390ec9(0x10a)}});if(!_0x58b56b['ok'])throw new Error(_0x390ec9(0x113)+_0x58b56b[_0x390ec9(0x11d)]+'\x20'+_0x58b56b[_0x390ec9(0x118)]);const _0x3bbe77=await _0x58b56b[_0x390ec9(0x11c)]();if(!_0x3bbe77[_0x390ec9(0x114)]||typeof _0x3bbe77[_0x390ec9(0x114)]!==_0x390ec9(0x117))throw new Error(_0x390ec9(0x10d));return _0x3bbe77;}export async function getRulesContent(){const _0x8d6efa=a275_0x34bfad;try{const _0x22fcce=await fetchRulesFromCDN();return _0x22fcce[_0x8d6efa(0x114)];}catch{return readLocalTemplate();}}export function readLocalTemplate(){const _0x577a5e=a275_0x34bfad;if(existsSync(LOCAL_TEMPLATE_PATH))return readFileSync(LOCAL_TEMPLATE_PATH,_0x577a5e(0x11e));throw new Error(_0x577a5e(0x11f)+LOCAL_TEMPLATE_PATH);}export async function writeRulesFile(_0x5da690){const _0x548e14=a275_0x34bfad,_0x3bc5ed=await fetchRulesFromCDN()[_0x548e14(0x10c)](()=>null);let _0x59c537;_0x3bc5ed?(_0x59c537=_0x3bc5ed[_0x548e14(0x114)],_0x3bc5ed[_0x548e14(0x120)]&&(_0x59c537=appendUpdateTime(_0x59c537,_0x3bc5ed[_0x548e14(0x120)]))):_0x59c537=readLocalTemplate();const _0x281bd2=dirname(_0x5da690);!existsSync(_0x281bd2)&&mkdirSync(_0x281bd2,{'recursive':!![]}),writeFileSync(_0x5da690,_0x59c537,_0x548e14(0x11e));}export async function copyRulesToCursor(_0x5964c6){const _0x35b9ed=a275_0x34bfad,_0x54fa2e=join(_0x5964c6,_0x35b9ed(0x110)),_0x1e8c7f=join(_0x54fa2e,_0x35b9ed(0x10b));if(existsSync(_0x1e8c7f))return![];return await writeRulesFile(_0x1e8c7f),!![];}export async function copyRulesToAgentsMd(_0x3a0101){const _0x2e34f9=a275_0x34bfad,_0x2563ca=join(_0x3a0101,_0x2e34f9(0x111));if(existsSync(_0x2563ca))return![];return await writeRulesFile(_0x2563ca),!![];}
@@ -1 +1 @@
1
- export function sleep(_0x2d09ec){return new Promise(_0x3f0707=>setTimeout(_0x3f0707,_0x2d09ec));}
1
+ export function sleep(_0x4bc48b){return new Promise(_0x145cb1=>setTimeout(_0x145cb1,_0x4bc48b));}
@@ -1 +1 @@
1
- const a277_0x1432da=a277_0x5b7c;function a277_0x5b7c(_0x191fcd,_0x343bda){_0x191fcd=_0x191fcd-0x1ea;const _0x396841=a277_0x3968();let _0x5b7c60=_0x396841[_0x191fcd];return _0x5b7c60;}(function(_0x4de870,_0xb69c8a){const _0x2f2acd=a277_0x5b7c,_0x4edc62=_0x4de870();while(!![]){try{const _0x1484d8=parseInt(_0x2f2acd(0x218))/0x1+parseInt(_0x2f2acd(0x211))/0x2*(-parseInt(_0x2f2acd(0x21f))/0x3)+parseInt(_0x2f2acd(0x1ff))/0x4+parseInt(_0x2f2acd(0x207))/0x5+parseInt(_0x2f2acd(0x22b))/0x6*(-parseInt(_0x2f2acd(0x219))/0x7)+parseInt(_0x2f2acd(0x215))/0x8+-parseInt(_0x2f2acd(0x205))/0x9*(parseInt(_0x2f2acd(0x221))/0xa);if(_0x1484d8===_0xb69c8a)break;else _0x4edc62['push'](_0x4edc62['shift']());}catch(_0x433013){_0x4edc62['push'](_0x4edc62['shift']());}}}(a277_0x3968,0x9a0a5));import a277_0x452336 from'node:fs';import a277_0x16c240 from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a277_0x1432da(0x20b)](_0x5201ca){return String(_0x5201ca)['padStart'](0x2,'0');}static[a277_0x1432da(0x1f1)](_0x43709a){const _0x56ed87=a277_0x1432da,_0xaddbda=_0x43709a['getFullYear'](),_0x2f56d8=this['pad'](_0x43709a[_0x56ed87(0x203)]()+0x1),_0x558376=this[_0x56ed87(0x20b)](_0x43709a[_0x56ed87(0x22c)]()),_0x111e87=this['pad'](_0x43709a['getHours']()),_0x33c296=this['pad'](_0x43709a[_0x56ed87(0x21b)]()),_0x5210f2=this[_0x56ed87(0x20b)](_0x43709a['getSeconds']());return{'createdAt':_0xaddbda+'-'+_0x2f56d8+'-'+_0x558376+'\x20'+_0x111e87+':'+_0x33c296+':'+_0x5210f2,'createdDate':_0xaddbda+'-'+_0x2f56d8+'-'+_0x558376,'createdTime':_0x111e87+':'+_0x33c296+':'+_0x5210f2};}static[a277_0x1432da(0x20a)](_0x8cad80){const _0x463877=a277_0x1432da,_0x46a54c=_0x8cad80['split']('/')['pop']()||_0x8cad80;return _0x46a54c['split']('-')['map'](_0x2e258d=>_0x2e258d['charAt'](0x0)[_0x463877(0x204)]()+_0x2e258d[_0x463877(0x202)](0x1)[_0x463877(0x209)]())['join']('');}static[a277_0x1432da(0x225)](_0x29d2ae){const _0x4c6ef2=a277_0x1432da,_0x1030c8=_0x29d2ae[_0x4c6ef2(0x216)]('/')[_0x4c6ef2(0x1fa)]()||_0x29d2ae;return _0x1030c8[_0x4c6ef2(0x216)]('-')['map'](_0x17150f=>_0x17150f[_0x4c6ef2(0x1fb)](0x0)[_0x4c6ef2(0x204)]()+_0x17150f['slice'](0x1)[_0x4c6ef2(0x209)]())['join']('\x20');}static[a277_0x1432da(0x20c)](_0x588209,_0x16699c,_0x4fb199){const _0x296088=a277_0x1432da,_0x42ef13=this[_0x296088(0x20a)](_0x16699c),_0x2f7ba3=this[_0x296088(0x225)](_0x16699c),{createdAt:_0x5cb052,createdDate:_0x599d7d,createdTime:_0x2f399b}=this[_0x296088(0x1f1)](new Date());let _0x3d1a44=_0x588209['replace'](/\{CliVersion\}/g,CLI_VERSION)['replace'](/\{ComponentName\}/g,_0x42ef13)[_0x296088(0x1f5)](/\{DisplayTitle\}/g,_0x2f7ba3)[_0x296088(0x1f5)](/\{PageName\}/g,_0x16699c)[_0x296088(0x1f5)](/\{TemplateName\}/g,_0x4fb199)[_0x296088(0x1f5)](/\{CreatedAt\}/g,_0x5cb052)[_0x296088(0x1f5)](/\{CreatedDate\}/g,_0x599d7d)[_0x296088(0x1f5)](/\{CreatedTime\}/g,_0x2f399b);return _0x3d1a44;}static[a277_0x1432da(0x212)](_0x3c3864,_0x688cb9,_0x5373ee,_0x13a85b,_0x48c635,_0xbccf0e,_0x495bdf,_0x3dfa63){const _0x2e4c7c=a277_0x1432da,_0x51afda=new Date(),_0xe12ff8=_0x51afda[_0x2e4c7c(0x1f7)](),_0x185956=_0x5373ee[_0x2e4c7c(0x1ea)](_0x44e2a8=>{const _0x157a19=_0x2e4c7c,_0x2343c0=[_0x157a19(0x1fd)+_0x44e2a8[_0x157a19(0x22a)]+'\x22','tableName:\x20\x22'+_0x44e2a8['tableName']+'\x22','name:\x20\x22'+_0x44e2a8['name']+'\x22'];return _0x44e2a8[_0x157a19(0x21c)]&&_0x2343c0[_0x157a19(0x228)](_0x157a19(0x21a)+_0x44e2a8[_0x157a19(0x21c)]+'\x22'),_0x157a19(0x1eb)+_0x2343c0['join'](',\x20')+_0x157a19(0x229);})[_0x2e4c7c(0x20d)](''),_0x297205=_0x13a85b||_0x5373ee[0x0]?.[_0x2e4c7c(0x21c)]||_0x2e4c7c(0x1f3);let _0x5244fb=_0x3c3864['replace'](/\{AppCode\}/g,_0x688cb9)['replace'](/\{ModelConfigs\}/g,_0x185956)[_0x2e4c7c(0x1f5)](/\{ExampleModelName\}/g,_0x297205)['replace'](/\{ApiFileName\}/g,_0x48c635||_0x2e4c7c(0x1f9))['replace'](/\{ConfigName\}/g,_0xbccf0e||_0x2e4c7c(0x213))[_0x2e4c7c(0x1f5)](/\{ClientConfigParam\}/g,_0x495bdf||'')['replace'](/\{VarPrefix\}/g,_0x3dfa63||_0x2e4c7c(0x1f4))['replace'](/\{CreatedAt\}/g,_0xe12ff8);return _0x5244fb;}static async[a277_0x1432da(0x1fc)](_0x147771,_0x10b2c3,_0x1567f7,_0x3918d2,_0x30b34f=!![]){const _0x237f1c=a277_0x1432da,_0x58fbfb=Date[_0x237f1c(0x223)]();try{_0x30b34f&&logger['info'](_0x237f1c(0x226),_0x237f1c(0x1ed),{'templatePath':_0x147771,'targetPath':_0x10b2c3,'pageName':_0x1567f7,'templateName':_0x3918d2});await a277_0x452336['promises']['mkdir'](_0x10b2c3,{'recursive':!![]}),await this[_0x237f1c(0x217)](_0x147771,_0x10b2c3,_0x1567f7,_0x3918d2);if(_0x30b34f){const _0x38d3f5=Date[_0x237f1c(0x223)]()-_0x58fbfb;logger[_0x237f1c(0x200)]('template',_0x237f1c(0x222),_0x38d3f5,{'pageName':_0x1567f7,'templateName':_0x3918d2});}}catch(_0x4d0707){if(_0x30b34f){const _0x19a125=Date['now']()-_0x58fbfb;logger[_0x237f1c(0x1fe)](_0x237f1c(0x226),_0x237f1c(0x224),{'templatePath':_0x147771,'targetPath':_0x10b2c3,'pageName':_0x1567f7,'templateName':_0x3918d2,'error':_0x4d0707 instanceof Error?_0x4d0707['message']:String(_0x4d0707),'duration':_0x19a125});}throw _0x4d0707;}}static async['processDirectory'](_0x274496,_0x531f8e,_0x3c09cd,_0x30cb1c){const _0x1d40db=a277_0x1432da,_0x3cefed=await a277_0x452336[_0x1d40db(0x206)][_0x1d40db(0x1ec)](_0x274496,{'withFileTypes':!![]});for(const _0x539f12 of _0x3cefed){const _0x17349b=a277_0x16c240['join'](_0x274496,_0x539f12[_0x1d40db(0x20e)]);let _0x2c95ab=a277_0x16c240[_0x1d40db(0x20d)](_0x531f8e,_0x539f12[_0x1d40db(0x20e)]);_0x539f12[_0x1d40db(0x20e)][_0x1d40db(0x220)]('.tpl')&&(_0x2c95ab=a277_0x16c240[_0x1d40db(0x20d)](_0x531f8e,_0x539f12[_0x1d40db(0x20e)][_0x1d40db(0x1f5)](/\.tpl$/,'')));if(_0x539f12[_0x1d40db(0x1ee)]())await a277_0x452336['promises'][_0x1d40db(0x20f)](_0x2c95ab,{'recursive':!![]}),await this[_0x1d40db(0x217)](_0x17349b,_0x2c95ab,_0x3c09cd,_0x30cb1c);else _0x539f12[_0x1d40db(0x227)]()&&await this['processFile'](_0x17349b,_0x2c95ab,_0x3c09cd,_0x30cb1c);}}static async['processFile'](_0x3212bd,_0x1fece1,_0x3375bf,_0x19de82){const _0x5656b3=a277_0x1432da,_0x2187d9=a277_0x16c240[_0x5656b3(0x21d)](_0x3212bd)[_0x5656b3(0x209)]();_0x3212bd['endsWith'](_0x5656b3(0x1ef))&&(_0x1fece1=_0x1fece1[_0x5656b3(0x1f5)](/\.tpl$/,''));const _0x5d7134=[_0x5656b3(0x210),_0x5656b3(0x1f6),_0x5656b3(0x1f0),_0x5656b3(0x208),'.json',_0x5656b3(0x1f8),'.css',_0x5656b3(0x21e),'.tpl'];if(_0x5d7134[_0x5656b3(0x201)](_0x2187d9)||_0x3212bd['endsWith'](_0x5656b3(0x1ef))){const _0x2f6b58=await a277_0x452336[_0x5656b3(0x206)]['readFile'](_0x3212bd,_0x5656b3(0x214)),_0x2f36f5=this[_0x5656b3(0x20c)](_0x2f6b58,_0x3375bf,_0x19de82);await a277_0x452336[_0x5656b3(0x206)]['writeFile'](_0x1fece1,_0x2f36f5,'utf8');}else await a277_0x452336[_0x5656b3(0x206)][_0x5656b3(0x1f2)](_0x3212bd,_0x1fece1);}}function a277_0x3968(){const _0x359668=['charAt','processTemplate','datasetCode:\x20\x22','error','2378372lbYrib','success','includes','slice','getMonth','toUpperCase','155187VrrSzJ','promises','931915iwKxng','.js','toLowerCase','toComponentName','pad','replaceContent','join','name','mkdir','.tsx','26MjlWzV','replaceApiContent','default','utf8','9976592gulFYr','split','processDirectory','660348NfUUWR','6009689oSoHUr','alias:\x20\x22','getMinutes','alias','extname','.scss','113529YBAIDv','endsWith','410suapMi','模板内容替换完成','now','模板内容替换失败','toDisplayTitle','template','isFile','push','\x20},','datasetCode','6dLvIWs','getDate','map','\x0a\x20\x20\x20\x20{\x20','readdir','开始处理模板内容替换','isDirectory','.tpl','.jsx','formatLocalTimestamp','copyFile','YourModel','LOVRABET','replace','.ts','toISOString','.md','api','pop'];a277_0x3968=function(){return _0x359668;};return a277_0x3968();}
1
+ function a277_0x45e6(_0xd686a8,_0x5e3dd8){_0xd686a8=_0xd686a8-0x132;const _0x1525cc=a277_0x1525();let _0x45e684=_0x1525cc[_0xd686a8];return _0x45e684;}function a277_0x1525(){const _0xb32085=['split','模板内容替换失败','replace','copyFile','isDirectory','LOVRABET','map','success','.tpl','processFile','readFile','api','开始处理模板内容替换','getMinutes','\x20},','replaceContent','name:\x20\x22','263244IlhmlW','now','345232olQmXS','info','8839910ZMIMtF','formatLocalTimestamp','toComponentName','utf8','33330176gzQICL','getHours','.js','.jsx','alias:\x20\x22','.json','9YSeMqf','.scss','YourModel','模板内容替换完成','name','415jDWvgH','toUpperCase','58524VciEoP','toDisplayTitle','push','replaceApiContent','includes','error','join','.tsx','template','21qrvfIn','slice','getFullYear','pad','processTemplate','toISOString','tableName','.css','getSeconds','8ooAArz','padStart','pop','readdir','6040006rCtjkO','toLowerCase','.md','alias','promises','\x0a\x20\x20\x20\x20{\x20','endsWith','114132dmYbOR','datasetCode:\x20\x22','processDirectory','tableName:\x20\x22','mkdir','charAt','extname','message'];a277_0x1525=function(){return _0xb32085;};return a277_0x1525();}const a277_0x45b823=a277_0x45e6;(function(_0x132fbb,_0x509303){const _0xeefffd=a277_0x45e6,_0x3daad4=_0x132fbb();while(!![]){try{const _0x4ed210=parseInt(_0xeefffd(0x136))/0x1*(parseInt(_0xeefffd(0x141))/0x2)+parseInt(_0xeefffd(0x178))/0x3*(parseInt(_0xeefffd(0x15a))/0x4)+-parseInt(_0xeefffd(0x16d))/0x5*(-parseInt(_0xeefffd(0x16f))/0x6)+parseInt(_0xeefffd(0x13a))/0x7+parseInt(_0xeefffd(0x15c))/0x8*(parseInt(_0xeefffd(0x168))/0x9)+parseInt(_0xeefffd(0x15e))/0xa+-parseInt(_0xeefffd(0x162))/0xb;if(_0x4ed210===_0x509303)break;else _0x3daad4['push'](_0x3daad4['shift']());}catch(_0x2750d5){_0x3daad4['push'](_0x3daad4['shift']());}}}(a277_0x1525,0x76d76));import a277_0x247214 from'node:fs';import a277_0x5d7d97 from'node:path';import{logger}from'../utils/logger.js';import{getCliVersion}from'../utils/version.js';const CLI_VERSION=getCliVersion();export class TemplateReplacer{static[a277_0x45b823(0x17b)](_0x477cfc){const _0x51077a=a277_0x45b823;return String(_0x477cfc)[_0x51077a(0x137)](0x2,'0');}static[a277_0x45b823(0x15f)](_0x18e835){const _0x1328ed=a277_0x45b823,_0xae02b0=_0x18e835[_0x1328ed(0x17a)](),_0x303b05=this['pad'](_0x18e835['getMonth']()+0x1),_0x59a822=this[_0x1328ed(0x17b)](_0x18e835['getDate']()),_0x30e497=this[_0x1328ed(0x17b)](_0x18e835[_0x1328ed(0x163)]()),_0x3aae79=this[_0x1328ed(0x17b)](_0x18e835[_0x1328ed(0x156)]()),_0x57f2bc=this[_0x1328ed(0x17b)](_0x18e835[_0x1328ed(0x135)]());return{'createdAt':_0xae02b0+'-'+_0x303b05+'-'+_0x59a822+'\x20'+_0x30e497+':'+_0x3aae79+':'+_0x57f2bc,'createdDate':_0xae02b0+'-'+_0x303b05+'-'+_0x59a822,'createdTime':_0x30e497+':'+_0x3aae79+':'+_0x57f2bc};}static[a277_0x45b823(0x160)](_0x20d4ad){const _0x5d8a07=a277_0x45b823,_0x5c4e59=_0x20d4ad[_0x5d8a07(0x149)]('/')['pop']()||_0x20d4ad;return _0x5c4e59[_0x5d8a07(0x149)]('-')[_0x5d8a07(0x14f)](_0x451645=>_0x451645[_0x5d8a07(0x146)](0x0)[_0x5d8a07(0x16e)]()+_0x451645[_0x5d8a07(0x179)](0x1)[_0x5d8a07(0x13b)]())[_0x5d8a07(0x175)]('');}static[a277_0x45b823(0x170)](_0x4c03d1){const _0x511ea2=a277_0x45b823,_0x16417a=_0x4c03d1[_0x511ea2(0x149)]('/')[_0x511ea2(0x138)]()||_0x4c03d1;return _0x16417a[_0x511ea2(0x149)]('-')[_0x511ea2(0x14f)](_0x519737=>_0x519737[_0x511ea2(0x146)](0x0)[_0x511ea2(0x16e)]()+_0x519737[_0x511ea2(0x179)](0x1)[_0x511ea2(0x13b)]())[_0x511ea2(0x175)]('\x20');}static[a277_0x45b823(0x158)](_0x111b12,_0x533657,_0x5bbd89){const _0x5ac30d=a277_0x45b823,_0x261bc0=this['toComponentName'](_0x533657),_0x178b3c=this[_0x5ac30d(0x170)](_0x533657),{createdAt:_0x2a51c1,createdDate:_0x149dc5,createdTime:_0x2581eb}=this[_0x5ac30d(0x15f)](new Date());let _0xee05ac=_0x111b12['replace'](/\{CliVersion\}/g,CLI_VERSION)[_0x5ac30d(0x14b)](/\{ComponentName\}/g,_0x261bc0)[_0x5ac30d(0x14b)](/\{DisplayTitle\}/g,_0x178b3c)['replace'](/\{PageName\}/g,_0x533657)[_0x5ac30d(0x14b)](/\{TemplateName\}/g,_0x5bbd89)[_0x5ac30d(0x14b)](/\{CreatedAt\}/g,_0x2a51c1)[_0x5ac30d(0x14b)](/\{CreatedDate\}/g,_0x149dc5)[_0x5ac30d(0x14b)](/\{CreatedTime\}/g,_0x2581eb);return _0xee05ac;}static[a277_0x45b823(0x172)](_0x46ca48,_0xf6795f,_0x157187,_0xff2f40,_0xd22b12,_0x2b6dab,_0x8184c7,_0x4dbb93){const _0x493aff=a277_0x45b823,_0xe9018c=new Date(),_0x5ab71a=_0xe9018c[_0x493aff(0x132)](),_0xa49430=_0x157187[_0x493aff(0x14f)](_0x4af915=>{const _0x33c059=_0x493aff,_0x1cfe26=[_0x33c059(0x142)+_0x4af915['datasetCode']+'\x22',_0x33c059(0x144)+_0x4af915[_0x33c059(0x133)]+'\x22',_0x33c059(0x159)+_0x4af915[_0x33c059(0x16c)]+'\x22'];return _0x4af915[_0x33c059(0x13d)]&&_0x1cfe26[_0x33c059(0x171)](_0x33c059(0x166)+_0x4af915[_0x33c059(0x13d)]+'\x22'),_0x33c059(0x13f)+_0x1cfe26[_0x33c059(0x175)](',\x20')+_0x33c059(0x157);})['join'](''),_0xe9da54=_0xff2f40||_0x157187[0x0]?.[_0x493aff(0x13d)]||_0x493aff(0x16a);let _0x109635=_0x46ca48['replace'](/\{AppCode\}/g,_0xf6795f)[_0x493aff(0x14b)](/\{ModelConfigs\}/g,_0xa49430)['replace'](/\{ExampleModelName\}/g,_0xe9da54)[_0x493aff(0x14b)](/\{ApiFileName\}/g,_0xd22b12||_0x493aff(0x154))[_0x493aff(0x14b)](/\{ConfigName\}/g,_0x2b6dab||'default')['replace'](/\{ClientConfigParam\}/g,_0x8184c7||'')[_0x493aff(0x14b)](/\{VarPrefix\}/g,_0x4dbb93||_0x493aff(0x14e))['replace'](/\{CreatedAt\}/g,_0x5ab71a);return _0x109635;}static async[a277_0x45b823(0x17c)](_0x29b920,_0x5cc8cb,_0x4f3db6,_0xf33036,_0x33e595=!![]){const _0x32ffaa=a277_0x45b823,_0x4b3f84=Date[_0x32ffaa(0x15b)]();try{_0x33e595&&logger[_0x32ffaa(0x15d)](_0x32ffaa(0x177),_0x32ffaa(0x155),{'templatePath':_0x29b920,'targetPath':_0x5cc8cb,'pageName':_0x4f3db6,'templateName':_0xf33036});await a277_0x247214['promises'][_0x32ffaa(0x145)](_0x5cc8cb,{'recursive':!![]}),await this[_0x32ffaa(0x143)](_0x29b920,_0x5cc8cb,_0x4f3db6,_0xf33036);if(_0x33e595){const _0x5f08fb=Date[_0x32ffaa(0x15b)]()-_0x4b3f84;logger[_0x32ffaa(0x150)](_0x32ffaa(0x177),_0x32ffaa(0x16b),_0x5f08fb,{'pageName':_0x4f3db6,'templateName':_0xf33036});}}catch(_0x20fa24){if(_0x33e595){const _0x11b697=Date[_0x32ffaa(0x15b)]()-_0x4b3f84;logger[_0x32ffaa(0x174)]('template',_0x32ffaa(0x14a),{'templatePath':_0x29b920,'targetPath':_0x5cc8cb,'pageName':_0x4f3db6,'templateName':_0xf33036,'error':_0x20fa24 instanceof Error?_0x20fa24[_0x32ffaa(0x148)]:String(_0x20fa24),'duration':_0x11b697});}throw _0x20fa24;}}static async[a277_0x45b823(0x143)](_0x19a126,_0x1096af,_0x528340,_0x5d428a){const _0x44da5d=a277_0x45b823,_0x10c7bb=await a277_0x247214['promises'][_0x44da5d(0x139)](_0x19a126,{'withFileTypes':!![]});for(const _0x60eb99 of _0x10c7bb){const _0x170ec7=a277_0x5d7d97[_0x44da5d(0x175)](_0x19a126,_0x60eb99[_0x44da5d(0x16c)]);let _0xa19969=a277_0x5d7d97[_0x44da5d(0x175)](_0x1096af,_0x60eb99[_0x44da5d(0x16c)]);_0x60eb99[_0x44da5d(0x16c)][_0x44da5d(0x140)](_0x44da5d(0x151))&&(_0xa19969=a277_0x5d7d97[_0x44da5d(0x175)](_0x1096af,_0x60eb99[_0x44da5d(0x16c)]['replace'](/\.tpl$/,'')));if(_0x60eb99[_0x44da5d(0x14d)]())await a277_0x247214[_0x44da5d(0x13e)][_0x44da5d(0x145)](_0xa19969,{'recursive':!![]}),await this[_0x44da5d(0x143)](_0x170ec7,_0xa19969,_0x528340,_0x5d428a);else _0x60eb99['isFile']()&&await this[_0x44da5d(0x152)](_0x170ec7,_0xa19969,_0x528340,_0x5d428a);}}static async[a277_0x45b823(0x152)](_0x4ea256,_0x4524d4,_0x5f1cfc,_0xa411f0){const _0x26f67c=a277_0x45b823,_0xceb207=a277_0x5d7d97[_0x26f67c(0x147)](_0x4ea256)['toLowerCase']();_0x4ea256[_0x26f67c(0x140)](_0x26f67c(0x151))&&(_0x4524d4=_0x4524d4[_0x26f67c(0x14b)](/\.tpl$/,''));const _0x336e1b=[_0x26f67c(0x176),'.ts',_0x26f67c(0x165),_0x26f67c(0x164),_0x26f67c(0x167),_0x26f67c(0x13c),_0x26f67c(0x134),_0x26f67c(0x169),_0x26f67c(0x151)];if(_0x336e1b[_0x26f67c(0x173)](_0xceb207)||_0x4ea256[_0x26f67c(0x140)](_0x26f67c(0x151))){const _0x465750=await a277_0x247214[_0x26f67c(0x13e)][_0x26f67c(0x153)](_0x4ea256,'utf8'),_0x66e175=this['replaceContent'](_0x465750,_0x5f1cfc,_0xa411f0);await a277_0x247214[_0x26f67c(0x13e)]['writeFile'](_0x4524d4,_0x66e175,_0x26f67c(0x161));}else await a277_0x247214[_0x26f67c(0x13e)][_0x26f67c(0x14c)](_0x4ea256,_0x4524d4);}}
@@ -1 +1 @@
1
- (function(_0x463f73,_0x5693bb){const _0x1d30e2=a278_0x4184,_0x59d9e5=_0x463f73();while(!![]){try{const _0xf5ebbc=-parseInt(_0x1d30e2(0x187))/0x1*(-parseInt(_0x1d30e2(0x181))/0x2)+parseInt(_0x1d30e2(0x180))/0x3+-parseInt(_0x1d30e2(0x17f))/0x4*(parseInt(_0x1d30e2(0x17e))/0x5)+parseInt(_0x1d30e2(0x17d))/0x6*(parseInt(_0x1d30e2(0x17b))/0x7)+-parseInt(_0x1d30e2(0x184))/0x8*(-parseInt(_0x1d30e2(0x17a))/0x9)+parseInt(_0x1d30e2(0x183))/0xa*(parseInt(_0x1d30e2(0x172))/0xb)+-parseInt(_0x1d30e2(0x185))/0xc;if(_0xf5ebbc===_0x5693bb)break;else _0x59d9e5['push'](_0x59d9e5['shift']());}catch(_0x4e67c8){_0x59d9e5['push'](_0x59d9e5['shift']());}}}(a278_0x1c28,0x3f4f0));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a278_0x2610f7 from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';function a278_0x1c28(){const _0x65222e=['parse','246hEuykq','179885tKwpYD','36siHwuZ','1278003IUliie','282rJitCk','/v/','3081450sdIbKB','631976VfAYaH','12396036bTzZrQ','latest','2985dpNuoe','stableVersion','checkedAt',',\x20run:\x20','lastNotifiedAt','now','lastNotifiedVersion','toLowerCase','gte','trim','utf8','number','https://www.npmjs.com/package/','valid','11KJwhjF','.cache','\x20available,\x20current\x20','stringify','rabetbase-cli','\x20update','object','yes','45Whinij','11284oIYnqA'];a278_0x1c28=function(){return _0x65222e;};return a278_0x1c28();}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 _0x204a9c=a278_0x4184,_0x4b9b45=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x204a9c(0x190)]()[_0x204a9c(0x18e)]();return _0x4b9b45==='1'||_0x4b9b45==='true'||_0x4b9b45===_0x204a9c(0x179);}function cacheRoot(){const _0x552c7b=a278_0x4184;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x552c7b(0x173));}export function getUpdateNoticeCachePath(){const _0x237de9=a278_0x4184;return join(cacheRoot(),_0x237de9(0x176),'update-check.json');}function a278_0x4184(_0x5c54a8,_0x58d218){_0x5c54a8=_0x5c54a8-0x172;const _0x1c28c0=a278_0x1c28();let _0x41846e=_0x1c28c0[_0x5c54a8];return _0x41846e;}async function readUpdateNoticeCache(){const _0xeae0cb=a278_0x4184;try{const _0x23a956=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x1eb93f=JSON[_0xeae0cb(0x17c)](_0x23a956);if(!_0x1eb93f||typeof _0x1eb93f!==_0xeae0cb(0x178))return{};return _0x1eb93f;}catch{return{};}}async function writeUpdateNoticeCache(_0x15e06f){const _0x2a4883=a278_0x4184;try{const _0x18d4da=getUpdateNoticeCachePath();await mkdir(dirname(_0x18d4da),{'recursive':!![]}),await writeFile(_0x18d4da,JSON[_0x2a4883(0x175)](_0x15e06f,null,0x2)+'\x0a',_0x2a4883(0x191));}catch{}}function isFreshCheck(_0xf5f437,_0x3443cb){const _0x3c51d5=a278_0x4184;return typeof _0xf5f437[_0x3c51d5(0x189)]===_0x3c51d5(0x192)&&_0x3443cb-_0xf5f437[_0x3c51d5(0x189)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x11c9f9,_0x521f0f,_0x44c751){const _0x5b8fa7=a278_0x4184;return _0x11c9f9[_0x5b8fa7(0x18d)]===_0x521f0f&&typeof _0x11c9f9[_0x5b8fa7(0x18b)]===_0x5b8fa7(0x192)&&_0x44c751-_0x11c9f9[_0x5b8fa7(0x18b)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0xd23650){const _0x329d8b=a278_0x4184;return _0x329d8b(0x193)+NPM_PACKAGE_NAME+_0x329d8b(0x182)+_0xd23650;}export async function resolveLatestUpdateNotice(){const _0x11ea78=a278_0x4184;if(isUpdateNoticeDisabled())return null;try{const _0x2b421a=Date[_0x11ea78(0x18c)](),_0x1c3f55=getCliVersion(),_0x1035c8=await readUpdateNoticeCache();let _0x6cf51c=isFreshCheck(_0x1035c8,_0x2b421a)?_0x1035c8[_0x11ea78(0x186)]?.[_0x11ea78(0x190)]():undefined;if(!_0x6cf51c&&!isFreshCheck(_0x1035c8,_0x2b421a)){const _0x10ec98=await getCliVersionPolicy();_0x6cf51c=_0x10ec98?.[_0x11ea78(0x188)]?.[_0x11ea78(0x190)]()||undefined,await writeUpdateNoticeCache({..._0x1035c8,'checkedAt':_0x2b421a,'latest':_0x6cf51c,'failed':!_0x6cf51c});}if(!_0x6cf51c||!a278_0x2610f7['valid'](_0x1c3f55)||!a278_0x2610f7[_0x11ea78(0x194)](_0x6cf51c))return null;if(a278_0x2610f7[_0x11ea78(0x18f)](_0x1c3f55,_0x6cf51c))return null;if(isRecentlyNotified(_0x1035c8,_0x6cf51c,_0x2b421a))return null;const _0x4a86f5=CLI_BIN_NAME+_0x11ea78(0x177);return await writeUpdateNoticeCache({..._0x1035c8,'checkedAt':isFreshCheck(_0x1035c8,_0x2b421a)?_0x1035c8[_0x11ea78(0x189)]:_0x2b421a,'latest':_0x6cf51c,'failed':![],'lastNotifiedVersion':_0x6cf51c,'lastNotifiedAt':_0x2b421a}),{'command':_0x4a86f5,'current':_0x1c3f55,'latest':_0x6cf51c,'url':buildNpmVersionUrl(_0x6cf51c),'message':CLI_BIN_NAME+'\x20'+_0x6cf51c+_0x11ea78(0x174)+_0x1c3f55+_0x11ea78(0x18a)+_0x4a86f5};}catch{return null;}}
1
+ (function(_0x32eba1,_0x726ce8){const _0x23c862=a278_0x4a0b,_0x3d192e=_0x32eba1();while(!![]){try{const _0x354d97=-parseInt(_0x23c862(0x16a))/0x1*(-parseInt(_0x23c862(0x153))/0x2)+parseInt(_0x23c862(0x170))/0x3*(parseInt(_0x23c862(0x164))/0x4)+parseInt(_0x23c862(0x15b))/0x5+-parseInt(_0x23c862(0x15c))/0x6*(-parseInt(_0x23c862(0x168))/0x7)+-parseInt(_0x23c862(0x154))/0x8*(parseInt(_0x23c862(0x159))/0x9)+-parseInt(_0x23c862(0x163))/0xa+-parseInt(_0x23c862(0x160))/0xb;if(_0x354d97===_0x726ce8)break;else _0x3d192e['push'](_0x3d192e['shift']());}catch(_0x587989){_0x3d192e['push'](_0x3d192e['shift']());}}}(a278_0x113a,0xb9c05));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';function a278_0x113a(){const _0x2c76ae=['\x20available,\x20current\x20','trim','parse','21WCtwVB','rabetbase-cli','2szNzfC','2064784ooArBX','true','/v/','yes','valid','9zIzjRL','lastNotifiedAt','2030505paEVyJ','182292pXqmPm','number','checkedAt','latest','4116112NumptF','now','stableVersion','7668640pWujFX','443012CkgIRD','\x20update',',\x20run:\x20','object','140uhOafv','utf8','370979EjuRKA','https://www.npmjs.com/package/','stringify'];a278_0x113a=function(){return _0x2c76ae;};return a278_0x113a();}import a278_0x1f3fdc from'semver';function a278_0x4a0b(_0x1996fa,_0x5b4574){_0x1996fa=_0x1996fa-0x153;const _0x113a40=a278_0x113a();let _0x4a0ba5=_0x113a40[_0x1996fa];return _0x4a0ba5;}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 _0x242bf0=a278_0x4a0b,_0x3970b7=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x242bf0(0x16e)]()['toLowerCase']();return _0x3970b7==='1'||_0x3970b7===_0x242bf0(0x155)||_0x3970b7===_0x242bf0(0x157);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x4fb862=a278_0x4a0b;return join(cacheRoot(),_0x4fb862(0x171),'update-check.json');}async function readUpdateNoticeCache(){const _0x148b1b=a278_0x4a0b;try{const _0x241a87=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x2f383d=JSON[_0x148b1b(0x16f)](_0x241a87);if(!_0x2f383d||typeof _0x2f383d!==_0x148b1b(0x167))return{};return _0x2f383d;}catch{return{};}}async function writeUpdateNoticeCache(_0x2aa303){const _0x5e58df=a278_0x4a0b;try{const _0x40bccf=getUpdateNoticeCachePath();await mkdir(dirname(_0x40bccf),{'recursive':!![]}),await writeFile(_0x40bccf,JSON[_0x5e58df(0x16c)](_0x2aa303,null,0x2)+'\x0a',_0x5e58df(0x169));}catch{}}function isFreshCheck(_0x905803,_0x475a50){const _0x22884a=a278_0x4a0b;return typeof _0x905803[_0x22884a(0x15e)]==='number'&&_0x475a50-_0x905803[_0x22884a(0x15e)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x13284f,_0x55f281,_0x19e504){const _0x28ede3=a278_0x4a0b;return _0x13284f['lastNotifiedVersion']===_0x55f281&&typeof _0x13284f[_0x28ede3(0x15a)]===_0x28ede3(0x15d)&&_0x19e504-_0x13284f[_0x28ede3(0x15a)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x405644){const _0x3a64f6=a278_0x4a0b;return _0x3a64f6(0x16b)+NPM_PACKAGE_NAME+_0x3a64f6(0x156)+_0x405644;}export async function resolveLatestUpdateNotice(){const _0x149486=a278_0x4a0b;if(isUpdateNoticeDisabled())return null;try{const _0x2cbf73=Date[_0x149486(0x161)](),_0x596445=getCliVersion(),_0x13c39a=await readUpdateNoticeCache();let _0x3c134d=isFreshCheck(_0x13c39a,_0x2cbf73)?_0x13c39a[_0x149486(0x15f)]?.[_0x149486(0x16e)]():undefined;if(!_0x3c134d&&!isFreshCheck(_0x13c39a,_0x2cbf73)){const _0x146565=await getCliVersionPolicy();_0x3c134d=_0x146565?.[_0x149486(0x162)]?.[_0x149486(0x16e)]()||undefined,await writeUpdateNoticeCache({..._0x13c39a,'checkedAt':_0x2cbf73,'latest':_0x3c134d,'failed':!_0x3c134d});}if(!_0x3c134d||!a278_0x1f3fdc[_0x149486(0x158)](_0x596445)||!a278_0x1f3fdc['valid'](_0x3c134d))return null;if(a278_0x1f3fdc['gte'](_0x596445,_0x3c134d))return null;if(isRecentlyNotified(_0x13c39a,_0x3c134d,_0x2cbf73))return null;const _0x4cd93e=CLI_BIN_NAME+_0x149486(0x165);return await writeUpdateNoticeCache({..._0x13c39a,'checkedAt':isFreshCheck(_0x13c39a,_0x2cbf73)?_0x13c39a[_0x149486(0x15e)]:_0x2cbf73,'latest':_0x3c134d,'failed':![],'lastNotifiedVersion':_0x3c134d,'lastNotifiedAt':_0x2cbf73}),{'command':_0x4cd93e,'current':_0x596445,'latest':_0x3c134d,'url':buildNpmVersionUrl(_0x3c134d),'message':CLI_BIN_NAME+'\x20'+_0x3c134d+_0x149486(0x16d)+_0x596445+_0x149486(0x166)+_0x4cd93e};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x6c89dc,_0x1aa84f){var _0x506c20=a279_0x5b38,_0x320b76=_0x6c89dc();while(!![]){try{var _0x4201fd=parseInt(_0x506c20(0xb2))/0x1+parseInt(_0x506c20(0xb1))/0x2+parseInt(_0x506c20(0xb6))/0x3*(parseInt(_0x506c20(0xb3))/0x4)+parseInt(_0x506c20(0xb4))/0x5+-parseInt(_0x506c20(0xb5))/0x6*(parseInt(_0x506c20(0xb8))/0x7)+-parseInt(_0x506c20(0xb9))/0x8*(parseInt(_0x506c20(0xba))/0x9)+-parseInt(_0x506c20(0xb7))/0xa;if(_0x4201fd===_0x1aa84f)break;else _0x320b76['push'](_0x320b76['shift']());}catch(_0xd8caad){_0x320b76['push'](_0x320b76['shift']());}}}(a279_0x1f57,0x9360b));import{VERSION}from'../generated/build-info.js';function a279_0x1f57(){var _0x2833cd=['472SgXxtt','105327LkCYBU','10282dxEgni','807300lUBPCn','4nSVsOX','201945OaWAcF','12boCKos','2058159UmFGtx','831890prCjOQ','565453VIaNTl'];a279_0x1f57=function(){return _0x2833cd;};return a279_0x1f57();}function a279_0x5b38(_0x568e6c,_0x35b202){_0x568e6c=_0x568e6c-0xb1;var _0x1f57b9=a279_0x1f57();var _0x5b384c=_0x1f57b9[_0x568e6c];return _0x5b384c;}export function getCliVersion(){return VERSION;}
1
+ function a279_0xab98(_0x145201,_0x1616ef){_0x145201=_0x145201-0x13e;var _0x2e5c34=a279_0x2e5c();var _0xab9815=_0x2e5c34[_0x145201];return _0xab9815;}(function(_0x20dcec,_0x1f0163){var _0x3ff93e=a279_0xab98,_0x1f266a=_0x20dcec();while(!![]){try{var _0x458f8b=parseInt(_0x3ff93e(0x147))/0x1+parseInt(_0x3ff93e(0x146))/0x2+-parseInt(_0x3ff93e(0x13e))/0x3*(parseInt(_0x3ff93e(0x13f))/0x4)+parseInt(_0x3ff93e(0x141))/0x5*(parseInt(_0x3ff93e(0x145))/0x6)+-parseInt(_0x3ff93e(0x144))/0x7*(parseInt(_0x3ff93e(0x142))/0x8)+parseInt(_0x3ff93e(0x143))/0x9+parseInt(_0x3ff93e(0x140))/0xa;if(_0x458f8b===_0x1f0163)break;else _0x1f266a['push'](_0x1f266a['shift']());}catch(_0x2d3e1c){_0x1f266a['push'](_0x1f266a['shift']());}}}(a279_0x2e5c,0x1b472));function a279_0x2e5c(){var _0x4d48d5=['6RDgRVL','12186hMWDfZ','59187jpglOU','4287ExKXTW','588TptTJv','514140jTBQTG','680440wDZSns','8fWDXpv','1876590dDLQYF','976493JzZgsi'];a279_0x2e5c=function(){return _0x4d48d5;};return a279_0x2e5c();}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- function a280_0x2376(_0x2199c4,_0x576ba6){_0x2199c4=_0x2199c4-0x109;var _0x311436=a280_0x3114();var _0x23764a=_0x311436[_0x2199c4];return _0x23764a;}(function(_0x390084,_0x3a7bfe){var _0x1f7c27=a280_0x2376,_0x355aff=_0x390084();while(!![]){try{var _0x797553=-parseInt(_0x1f7c27(0x10e))/0x1*(parseInt(_0x1f7c27(0x113))/0x2)+-parseInt(_0x1f7c27(0x10a))/0x3*(-parseInt(_0x1f7c27(0x10b))/0x4)+parseInt(_0x1f7c27(0x112))/0x5*(-parseInt(_0x1f7c27(0x10f))/0x6)+parseInt(_0x1f7c27(0x10d))/0x7*(parseInt(_0x1f7c27(0x109))/0x8)+parseInt(_0x1f7c27(0x111))/0x9+-parseInt(_0x1f7c27(0x10c))/0xa+parseInt(_0x1f7c27(0x110))/0xb;if(_0x797553===_0x3a7bfe)break;else _0x355aff['push'](_0x355aff['shift']());}catch(_0x4302a6){_0x355aff['push'](_0x355aff['shift']());}}}(a280_0x3114,0x8f9b6));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a280_0x3114(){var _0x4ecb05=['16xbEIsL','3622490lZOFdp','239575ZwZZnM','1fyiiac','618wFoBst','16845048iIEurE','1625526hRjAdr','33695CHpEpI','2300278OjsSLO','8ZAmAYQ','786384OpJrZF'];a280_0x3114=function(){return _0x4ecb05;};return a280_0x3114();}export async function withActiveCookie(_0x21481a,_0x533238){setActiveCookie(_0x21481a);try{return await _0x533238();}finally{clearActiveCookie();}}
1
+ (function(_0xc04bb8,_0x389385){var _0x2e0a40=a280_0x1df5,_0x538277=_0xc04bb8();while(!![]){try{var _0x1fa506=parseInt(_0x2e0a40(0x109))/0x1+parseInt(_0x2e0a40(0x107))/0x2*(-parseInt(_0x2e0a40(0x106))/0x3)+-parseInt(_0x2e0a40(0x102))/0x4*(parseInt(_0x2e0a40(0x104))/0x5)+parseInt(_0x2e0a40(0x10a))/0x6+-parseInt(_0x2e0a40(0x108))/0x7+-parseInt(_0x2e0a40(0x103))/0x8*(-parseInt(_0x2e0a40(0x100))/0x9)+parseInt(_0x2e0a40(0x101))/0xa*(-parseInt(_0x2e0a40(0x105))/0xb);if(_0x1fa506===_0x389385)break;else _0x538277['push'](_0x538277['shift']());}catch(_0x43d326){_0x538277['push'](_0x538277['shift']());}}}(a280_0x3492,0x41496));function a280_0x3492(){var _0xd81efa=['22BBDOkL','341442usrJSH','2XXXFld','1139138RBfgOC','166726ggDOzC','2809434OElDBe','279kemElu','501460gxnkzW','628612UdIdAk','124064UHbrBY','15cIdCsg'];a280_0x3492=function(){return _0xd81efa;};return a280_0x3492();}function a280_0x1df5(_0x9da9e,_0x33fbbc){_0x9da9e=_0x9da9e-0x100;var _0x34924c=a280_0x3492();var _0x1df555=_0x34924c[_0x9da9e];return _0x1df555;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x338b94,_0x2b695d){setActiveCookie(_0x338b94);try{return await _0x2b695d();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- (function(_0x2eb671,_0x463285){var _0x9ea3f4=a281_0x21f8,_0x53eadb=_0x2eb671();while(!![]){try{var _0x2430e0=-parseInt(_0x9ea3f4(0x12c))/0x1*(parseInt(_0x9ea3f4(0x130))/0x2)+-parseInt(_0x9ea3f4(0x12a))/0x3*(-parseInt(_0x9ea3f4(0x12b))/0x4)+-parseInt(_0x9ea3f4(0x126))/0x5*(parseInt(_0x9ea3f4(0x129))/0x6)+parseInt(_0x9ea3f4(0x12e))/0x7+-parseInt(_0x9ea3f4(0x127))/0x8*(parseInt(_0x9ea3f4(0x12d))/0x9)+-parseInt(_0x9ea3f4(0x124))/0xa*(-parseInt(_0x9ea3f4(0x128))/0xb)+parseInt(_0x9ea3f4(0x12f))/0xc;if(_0x2430e0===_0x463285)break;else _0x53eadb['push'](_0x53eadb['shift']());}catch(_0x4f0c8d){_0x53eadb['push'](_0x53eadb['shift']());}}}(a281_0x36e3,0xb1950));function a281_0x36e3(){var _0x1bcbd4=['4572281qpTEun','3887772UgtJmn','4JMqPRr','stderr','920OuSOJN','write','100dnCFDo','206904SpbPOm','134398WNTxTQ','84924iKfPnT','2481nbmioe','1516BwotiQ','16729JifPzo','477KwACtB'];a281_0x36e3=function(){return _0x1bcbd4;};return a281_0x36e3();}function a281_0x21f8(_0x22f68b,_0x167e52){_0x22f68b=_0x22f68b-0x124;var _0x36e30d=a281_0x36e3();var _0x21f824=_0x36e30d[_0x22f68b];return _0x21f824;}export function writeCliSideChannelLine(_0x51ce49){var _0x366a34=a281_0x21f8;process[_0x366a34(0x131)][_0x366a34(0x125)](_0x51ce49+'\x0a');}
1
+ function a281_0x52d9(_0x489afc,_0x38169b){_0x489afc=_0x489afc-0x1f2;var _0x171379=a281_0x1713();var _0x52d9f7=_0x171379[_0x489afc];return _0x52d9f7;}function a281_0x1713(){var _0x5ac27f=['11054414UVrGnO','220625DqcHed','2QgXakU','458289hUyqXZ','4hhCxuN','17159450LSrJcE','6qDgmqH','4790432KfPkta','1082266ktURrA','stderr','1167069dPcoFp','250IaVetd'];a281_0x1713=function(){return _0x5ac27f;};return a281_0x1713();}(function(_0x219ba9,_0x1536c7){var _0x223a09=a281_0x52d9,_0x3eeb4a=_0x219ba9();while(!![]){try{var _0x5a2235=parseInt(_0x223a09(0x1f4))/0x1*(parseInt(_0x223a09(0x1fa))/0x2)+parseInt(_0x223a09(0x1f6))/0x3*(parseInt(_0x223a09(0x1fc))/0x4)+parseInt(_0x223a09(0x1f9))/0x5+parseInt(_0x223a09(0x1f2))/0x6*(parseInt(_0x223a09(0x1f8))/0x7)+parseInt(_0x223a09(0x1f3))/0x8+-parseInt(_0x223a09(0x1fb))/0x9*(parseInt(_0x223a09(0x1f7))/0xa)+-parseInt(_0x223a09(0x1fd))/0xb;if(_0x5a2235===_0x1536c7)break;else _0x3eeb4a['push'](_0x3eeb4a['shift']());}catch(_0x566687){_0x3eeb4a['push'](_0x3eeb4a['shift']());}}}(a281_0x1713,0xd211d));export function writeCliSideChannelLine(_0x4efc09){var _0x1c33c1=a281_0x52d9;process[_0x1c33c1(0x1f5)]['write'](_0x4efc09+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.16-beta.6",
3
+ "version": "2.3.16-beta.7",
4
4
  "description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, BFF, database connections, skills, and AI agent workflows.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "keywords": [