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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/index.js +1 -1
  21. package/lib/commands/app/list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app-config/delete.js +1 -1
  26. package/lib/commands/app-config/get.js +1 -1
  27. package/lib/commands/app-config/index.js +1 -1
  28. package/lib/commands/app-config/list.js +1 -1
  29. package/lib/commands/app-config/set.js +1 -1
  30. package/lib/commands/app-config/shared.js +1 -1
  31. package/lib/commands/auth/index.js +1 -1
  32. package/lib/commands/bff/create.js +1 -1
  33. package/lib/commands/bff/delete.js +1 -1
  34. package/lib/commands/bff/detail.js +1 -1
  35. package/lib/commands/bff/index.js +1 -1
  36. package/lib/commands/bff/list.js +1 -1
  37. package/lib/commands/bff/pull.js +1 -1
  38. package/lib/commands/bff/push.js +1 -1
  39. package/lib/commands/bff/status.js +1 -1
  40. package/lib/commands/cli-skill/index.js +1 -1
  41. package/lib/commands/cli-update.js +1 -1
  42. package/lib/commands/codegen/index.js +1 -1
  43. package/lib/commands/codegen/sdk.js +1 -1
  44. package/lib/commands/codegen/sql.js +1 -1
  45. package/lib/commands/common/app-registry.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/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/logs/index.js +1 -1
  101. package/lib/commands/menu/index.js +1 -1
  102. package/lib/commands/menu/list.js +1 -1
  103. package/lib/commands/menu/shared/compare-table.js +1 -1
  104. package/lib/commands/menu/shared/index.js +1 -1
  105. package/lib/commands/menu/shared/inquirer.js +1 -1
  106. package/lib/commands/menu/shared/local-pages.js +1 -1
  107. package/lib/commands/menu/shared/logic.js +1 -1
  108. package/lib/commands/menu/shared/service.js +1 -1
  109. package/lib/commands/menu/shared/sync-core.js +1 -1
  110. package/lib/commands/menu/shared/update-core.js +1 -1
  111. package/lib/commands/menu/shared/valid-url.js +1 -1
  112. package/lib/commands/menu/sync.js +1 -1
  113. package/lib/commands/menu/update.js +1 -1
  114. package/lib/commands/page/generate-start.js +1 -1
  115. package/lib/commands/page/generate-status.js +1 -1
  116. package/lib/commands/page/index.js +1 -1
  117. package/lib/commands/page/pull.js +1 -1
  118. package/lib/commands/page/push.js +1 -1
  119. package/lib/commands/page/relation-audit.js +1 -1
  120. package/lib/commands/page/shared.js +1 -1
  121. package/lib/commands/page/standard-page-status.js +1 -1
  122. package/lib/commands/page/sync.js +1 -1
  123. package/lib/commands/permit/index.js +1 -1
  124. package/lib/commands/permit/page-get.js +1 -1
  125. package/lib/commands/permit/page-set.js +1 -1
  126. package/lib/commands/permit/role-apis-set.js +1 -1
  127. package/lib/commands/permit/role-menus-set.js +1 -1
  128. package/lib/commands/permit/role-menus.js +1 -1
  129. package/lib/commands/permit/shared.js +1 -1
  130. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  131. package/lib/commands/project/create/format-elapsed.js +1 -1
  132. package/lib/commands/project/create/main.js +1 -1
  133. package/lib/commands/project/create/non-interactive.js +1 -1
  134. package/lib/commands/project/create/project-template-path.js +1 -1
  135. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  136. package/lib/commands/project/create/use-format-code.js +1 -1
  137. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  138. package/lib/commands/project/index.js +1 -1
  139. package/lib/commands/project/init.js +1 -1
  140. package/lib/commands/project/upgrade.js +1 -1
  141. package/lib/commands/registry.js +1 -1
  142. package/lib/commands/role/create.js +1 -1
  143. package/lib/commands/role/delete.js +1 -1
  144. package/lib/commands/role/detail.js +1 -1
  145. package/lib/commands/role/index.js +1 -1
  146. package/lib/commands/role/list.js +1 -1
  147. package/lib/commands/role/shared.js +1 -1
  148. package/lib/commands/role/update.js +1 -1
  149. package/lib/commands/role/user-add.js +1 -1
  150. package/lib/commands/role/user-remove.js +1 -1
  151. package/lib/commands/role/user-resolve.js +1 -1
  152. package/lib/commands/run/index.js +1 -1
  153. package/lib/commands/schema.js +1 -1
  154. package/lib/commands/sql/create.js +1 -1
  155. package/lib/commands/sql/delete.js +1 -1
  156. package/lib/commands/sql/detail.js +1 -1
  157. package/lib/commands/sql/exec.js +1 -1
  158. package/lib/commands/sql/index.js +1 -1
  159. package/lib/commands/sql/list.js +1 -1
  160. package/lib/commands/sql/pull.js +1 -1
  161. package/lib/commands/sql/push.js +1 -1
  162. package/lib/commands/sql/save.js +1 -1
  163. package/lib/commands/sql/shared.js +1 -1
  164. package/lib/commands/sql/status.js +1 -1
  165. package/lib/commands/sql/validate.js +1 -1
  166. package/lib/commands/workspace/add.js +1 -1
  167. package/lib/commands/workspace/index.js +1 -1
  168. package/lib/commands/workspace/remove.js +1 -1
  169. package/lib/config/schema.js +1 -1
  170. package/lib/constant/cdn.js +1 -1
  171. package/lib/constant/cli.js +1 -1
  172. package/lib/constant/defaults.js +1 -1
  173. package/lib/constant/domain.js +1 -1
  174. package/lib/constant/env.js +1 -1
  175. package/lib/constant/output.js +1 -1
  176. package/lib/constant/paths.js +1 -1
  177. package/lib/constant/risk.js +1 -1
  178. package/lib/context/app-resolver.js +1 -1
  179. package/lib/context/auth-resolver.js +1 -1
  180. package/lib/context/config-loader.js +1 -1
  181. package/lib/context.js +1 -1
  182. package/lib/core/alias-resolver.js +1 -1
  183. package/lib/core/api-client.js +1 -1
  184. package/lib/core/bff/config.js +1 -1
  185. package/lib/core/bff/file-system.js +1 -1
  186. package/lib/core/bff/hash.js +1 -1
  187. package/lib/core/bff/lock.js +1 -1
  188. package/lib/core/bff/utils.js +1 -1
  189. package/lib/core/db-resolver.js +1 -1
  190. package/lib/core/page/file-system.js +1 -1
  191. package/lib/core/page/hash.js +1 -1
  192. package/lib/core/page/lock.js +1 -1
  193. package/lib/core/sql-sync/config.js +1 -1
  194. package/lib/core/sql-sync/file-system.js +1 -1
  195. package/lib/core/sql-sync/hash.js +1 -1
  196. package/lib/core/sql-sync/lock.js +1 -1
  197. package/lib/core/sql-sync/utils.js +1 -1
  198. package/lib/core/sql-validator.js +1 -1
  199. package/lib/errors.js +1 -1
  200. package/lib/framework/build-all-flags.js +1 -1
  201. package/lib/framework/flags.js +1 -1
  202. package/lib/framework/help.js +1 -1
  203. package/lib/framework/index.js +1 -1
  204. package/lib/framework/output.js +1 -1
  205. package/lib/framework/response.js +1 -1
  206. package/lib/framework/runner-alias.js +1 -1
  207. package/lib/framework/runner.js +1 -1
  208. package/lib/framework/schema-export.js +1 -1
  209. package/lib/framework/types.js +1 -1
  210. package/lib/generated/build-info.js +1 -1
  211. package/lib/help.js +1 -1
  212. package/lib/skills/main.js +1 -1
  213. package/lib/skills/npx-skills-add.js +1 -1
  214. package/lib/telemetry/cli-command-trace.js +1 -1
  215. package/lib/telemetry/cli-help-trace.js +1 -1
  216. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  217. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  218. package/lib/telemetry/send-cli-trace-log.js +1 -1
  219. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  220. package/lib/utils/ai_config.js +1 -1
  221. package/lib/utils/apply-jq-filter.js +1 -1
  222. package/lib/utils/cdn-config.js +1 -1
  223. package/lib/utils/check-sdk-version.js +1 -1
  224. package/lib/utils/cli-version-check.js +1 -1
  225. package/lib/utils/cli-version-policy.js +1 -1
  226. package/lib/utils/config.js +1 -1
  227. package/lib/utils/copy-directory.js +1 -1
  228. package/lib/utils/entity-with-id.js +1 -1
  229. package/lib/utils/file-utils.js +1 -1
  230. package/lib/utils/guides-cdn.js +1 -1
  231. package/lib/utils/http-client.js +1 -1
  232. package/lib/utils/is-non-interactive.js +1 -1
  233. package/lib/utils/logger.js +1 -1
  234. package/lib/utils/params.js +1 -1
  235. package/lib/utils/platform.js +1 -1
  236. package/lib/utils/rules-cdn.js +1 -1
  237. package/lib/utils/sleep.js +1 -1
  238. package/lib/utils/template-replacer.js +1 -1
  239. package/lib/utils/update-notice.js +1 -1
  240. package/lib/utils/version.js +1 -1
  241. package/lib/utils/with-active-cookie.js +1 -1
  242. package/lib/utils/write-cli-side-channel.js +1 -1
  243. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x2c5a20,_0x456778){const _0x130cb2=a243_0x5828,_0x444855=_0x2c5a20();while(!![]){try{const _0x4435a4=-parseInt(_0x130cb2(0xc3))/0x1+-parseInt(_0x130cb2(0xce))/0x2+-parseInt(_0x130cb2(0xc4))/0x3+parseInt(_0x130cb2(0xd9))/0x4*(-parseInt(_0x130cb2(0xcd))/0x5)+-parseInt(_0x130cb2(0xe0))/0x6+parseInt(_0x130cb2(0xc7))/0x7*(-parseInt(_0x130cb2(0xda))/0x8)+parseInt(_0x130cb2(0xdc))/0x9*(parseInt(_0x130cb2(0xca))/0xa);if(_0x4435a4===_0x456778)break;else _0x444855['push'](_0x444855['shift']());}catch(_0x2b6472){_0x444855['push'](_0x444855['shift']());}}}(a243_0x53db,0xb8eb7));function a243_0x53db(){const _0x27b2a1=['/v/','161CZLTzZ','number','yes','10bVMtex','\x20update','valid','10vmJPFl','1094552CWROOj','rabetbase-cli','\x20available,\x20current\x20','trim','utf8','gte','toLowerCase','latest',',\x20run:\x20','parse','now','2720316iUTggH','465384vAuAHb','lastNotifiedVersion','44108343koAqVA','checkedAt','https://www.npmjs.com/package/','true','1504512mnjcOl','stringify','175899roCIPs','1414296mrJfKH','lastNotifiedAt'];a243_0x53db=function(){return _0x27b2a1;};return a243_0x53db();}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';function a243_0x5828(_0x3396b8,_0x4fa772){_0x3396b8=_0x3396b8-0xc2;const _0x53db78=a243_0x53db();let _0x58285e=_0x53db78[_0x3396b8];return _0x58285e;}import a243_0x87b274 from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0xda8374=a243_0x5828,_0x4d7974=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0xda8374(0xd1)]()[_0xda8374(0xd4)]();return _0x4d7974==='1'||_0x4d7974===_0xda8374(0xdf)||_0x4d7974===_0xda8374(0xc9);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x26905a=a243_0x5828;return join(cacheRoot(),_0x26905a(0xcf),'update-check.json');}async function readUpdateNoticeCache(){const _0x411fed=a243_0x5828;try{const _0x44b989=await readFile(getUpdateNoticeCachePath(),_0x411fed(0xd2)),_0x4ea12f=JSON[_0x411fed(0xd7)](_0x44b989);if(!_0x4ea12f||typeof _0x4ea12f!=='object')return{};return _0x4ea12f;}catch{return{};}}async function writeUpdateNoticeCache(_0x2d0c1a){const _0x303f6d=a243_0x5828;try{const _0x4f933e=getUpdateNoticeCachePath();await mkdir(dirname(_0x4f933e),{'recursive':!![]}),await writeFile(_0x4f933e,JSON[_0x303f6d(0xc2)](_0x2d0c1a,null,0x2)+'\x0a',_0x303f6d(0xd2));}catch{}}function isFreshCheck(_0x1f530b,_0x1b39e8){const _0x5b744b=a243_0x5828;return typeof _0x1f530b[_0x5b744b(0xdd)]===_0x5b744b(0xc8)&&_0x1b39e8-_0x1f530b[_0x5b744b(0xdd)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x4a235c,_0x286796,_0x48211b){const _0x399efa=a243_0x5828;return _0x4a235c[_0x399efa(0xdb)]===_0x286796&&typeof _0x4a235c[_0x399efa(0xc5)]==='number'&&_0x48211b-_0x4a235c['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x3679ae){const _0x1c4626=a243_0x5828;return _0x1c4626(0xde)+NPM_PACKAGE_NAME+_0x1c4626(0xc6)+_0x3679ae;}export async function resolveLatestUpdateNotice(){const _0x5471b2=a243_0x5828;if(isUpdateNoticeDisabled())return null;try{const _0x5e915a=Date[_0x5471b2(0xd8)](),_0x52ee20=getCliVersion(),_0x5013ac=await readUpdateNoticeCache();let _0x53ce95=isFreshCheck(_0x5013ac,_0x5e915a)?_0x5013ac[_0x5471b2(0xd5)]?.[_0x5471b2(0xd1)]():undefined;if(!_0x53ce95&&!isFreshCheck(_0x5013ac,_0x5e915a)){const _0x1df7fe=await getCliVersionPolicy();_0x53ce95=_0x1df7fe?.['stableVersion']?.['trim']()||undefined,await writeUpdateNoticeCache({..._0x5013ac,'checkedAt':_0x5e915a,'latest':_0x53ce95,'failed':!_0x53ce95});}if(!_0x53ce95||!a243_0x87b274[_0x5471b2(0xcc)](_0x52ee20)||!a243_0x87b274['valid'](_0x53ce95))return null;if(a243_0x87b274[_0x5471b2(0xd3)](_0x52ee20,_0x53ce95))return null;if(isRecentlyNotified(_0x5013ac,_0x53ce95,_0x5e915a))return null;const _0x1f734e=CLI_BIN_NAME+_0x5471b2(0xcb);return await writeUpdateNoticeCache({..._0x5013ac,'checkedAt':isFreshCheck(_0x5013ac,_0x5e915a)?_0x5013ac['checkedAt']:_0x5e915a,'latest':_0x53ce95,'failed':![],'lastNotifiedVersion':_0x53ce95,'lastNotifiedAt':_0x5e915a}),{'command':_0x1f734e,'current':_0x52ee20,'latest':_0x53ce95,'url':buildNpmVersionUrl(_0x53ce95),'message':CLI_BIN_NAME+'\x20'+_0x53ce95+_0x5471b2(0xd0)+_0x52ee20+_0x5471b2(0xd6)+_0x1f734e};}catch{return null;}}
1
+ (function(_0x236e88,_0xa7d2f2){const _0x1506b8=a243_0x2cee,_0x1eb3a9=_0x236e88();while(!![]){try{const _0xd70099=-parseInt(_0x1506b8(0x1f3))/0x1+parseInt(_0x1506b8(0x1fa))/0x2*(parseInt(_0x1506b8(0x208))/0x3)+-parseInt(_0x1506b8(0x1ff))/0x4+parseInt(_0x1506b8(0x1f4))/0x5+-parseInt(_0x1506b8(0x202))/0x6*(-parseInt(_0x1506b8(0x1f7))/0x7)+-parseInt(_0x1506b8(0x1ef))/0x8*(-parseInt(_0x1506b8(0x1f9))/0x9)+parseInt(_0x1506b8(0x1f2))/0xa*(-parseInt(_0x1506b8(0x1f6))/0xb);if(_0xd70099===_0xa7d2f2)break;else _0x1eb3a9['push'](_0x1eb3a9['shift']());}catch(_0xbd9b87){_0x1eb3a9['push'](_0x1eb3a9['shift']());}}}(a243_0x2fa9,0x6d891));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a243_0x32bdfc from'semver';function a243_0x2cee(_0x15b743,_0x12ba72){_0x15b743=_0x15b743-0x1ee;const _0x2fa99e=a243_0x2fa9();let _0x2cee23=_0x2fa99e[_0x15b743];return _0x2cee23;}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 _0x554a7f=a243_0x2cee,_0x65e4ac=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x554a7f(0x1ee)]()['toLowerCase']();return _0x65e4ac==='1'||_0x65e4ac===_0x554a7f(0x206)||_0x65e4ac===_0x554a7f(0x1fb);}function cacheRoot(){const _0x4e783c=a243_0x2cee;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x4e783c(0x201));}export function getUpdateNoticeCachePath(){return join(cacheRoot(),'rabetbase-cli','update-check.json');}async function readUpdateNoticeCache(){const _0x15dd78=a243_0x2cee;try{const _0x25e323=await readFile(getUpdateNoticeCachePath(),_0x15dd78(0x1fe)),_0x189147=JSON['parse'](_0x25e323);if(!_0x189147||typeof _0x189147!==_0x15dd78(0x1fc))return{};return _0x189147;}catch{return{};}}async function writeUpdateNoticeCache(_0x107513){const _0x372d27=a243_0x2cee;try{const _0x122ce6=getUpdateNoticeCachePath();await mkdir(dirname(_0x122ce6),{'recursive':!![]}),await writeFile(_0x122ce6,JSON[_0x372d27(0x200)](_0x107513,null,0x2)+'\x0a',_0x372d27(0x1fe));}catch{}}function isFreshCheck(_0x7d6c0d,_0xa4f6d0){const _0xa6183e=a243_0x2cee;return typeof _0x7d6c0d[_0xa6183e(0x1f5)]===_0xa6183e(0x203)&&_0xa4f6d0-_0x7d6c0d[_0xa6183e(0x1f5)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x4aaa70,_0x1a2659,_0x5d0340){const _0xd28eb=a243_0x2cee;return _0x4aaa70['lastNotifiedVersion']===_0x1a2659&&typeof _0x4aaa70[_0xd28eb(0x1f0)]===_0xd28eb(0x203)&&_0x5d0340-_0x4aaa70['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x58817e){const _0x155e6e=a243_0x2cee;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0x155e6e(0x1f8)+_0x58817e;}export async function resolveLatestUpdateNotice(){const _0x257948=a243_0x2cee;if(isUpdateNoticeDisabled())return null;try{const _0x4cbcfa=Date[_0x257948(0x1fd)](),_0x1a8f32=getCliVersion(),_0x4b77b2=await readUpdateNoticeCache();let _0x4ecd0e=isFreshCheck(_0x4b77b2,_0x4cbcfa)?_0x4b77b2['latest']?.[_0x257948(0x1ee)]():undefined;if(!_0x4ecd0e&&!isFreshCheck(_0x4b77b2,_0x4cbcfa)){const _0x5eeb08=await getCliVersionPolicy();_0x4ecd0e=_0x5eeb08?.[_0x257948(0x1f1)]?.['trim']()||undefined,await writeUpdateNoticeCache({..._0x4b77b2,'checkedAt':_0x4cbcfa,'latest':_0x4ecd0e,'failed':!_0x4ecd0e});}if(!_0x4ecd0e||!a243_0x32bdfc[_0x257948(0x205)](_0x1a8f32)||!a243_0x32bdfc['valid'](_0x4ecd0e))return null;if(a243_0x32bdfc['gte'](_0x1a8f32,_0x4ecd0e))return null;if(isRecentlyNotified(_0x4b77b2,_0x4ecd0e,_0x4cbcfa))return null;const _0x333a88=CLI_BIN_NAME+_0x257948(0x204);return await writeUpdateNoticeCache({..._0x4b77b2,'checkedAt':isFreshCheck(_0x4b77b2,_0x4cbcfa)?_0x4b77b2[_0x257948(0x1f5)]:_0x4cbcfa,'latest':_0x4ecd0e,'failed':![],'lastNotifiedVersion':_0x4ecd0e,'lastNotifiedAt':_0x4cbcfa}),{'command':_0x333a88,'current':_0x1a8f32,'latest':_0x4ecd0e,'url':buildNpmVersionUrl(_0x4ecd0e),'message':CLI_BIN_NAME+'\x20'+_0x4ecd0e+'\x20available,\x20current\x20'+_0x1a8f32+_0x257948(0x207)+_0x333a88};}catch{return null;}}function a243_0x2fa9(){const _0x1b07b9=['1126508TxlgyK','stringify','.cache','10338BWaEyD','number','\x20update','valid','true',',\x20run:\x20','2919oZuXGH','trim','3744SetjyY','lastNotifiedAt','stableVersion','10DQayyX','529651EpGLWY','1920515rNhqpK','checkedAt','5585371BbgtiQ','1057lmBHAx','/v/','4689rLnGBg','1808oByDwz','yes','object','now','utf8'];a243_0x2fa9=function(){return _0x1b07b9;};return a243_0x2fa9();}
@@ -1 +1 @@
1
- (function(_0x53352d,_0x1e8dfb){var _0x3fd993=a244_0x1413,_0x4a14dc=_0x53352d();while(!![]){try{var _0x4ce091=-parseInt(_0x3fd993(0x96))/0x1*(parseInt(_0x3fd993(0x92))/0x2)+parseInt(_0x3fd993(0x9a))/0x3+parseInt(_0x3fd993(0x97))/0x4+parseInt(_0x3fd993(0x91))/0x5+-parseInt(_0x3fd993(0x98))/0x6+-parseInt(_0x3fd993(0x99))/0x7*(parseInt(_0x3fd993(0x95))/0x8)+-parseInt(_0x3fd993(0x94))/0x9*(-parseInt(_0x3fd993(0x93))/0xa);if(_0x4ce091===_0x1e8dfb)break;else _0x4a14dc['push'](_0x4a14dc['shift']());}catch(_0x5c29c1){_0x4a14dc['push'](_0x4a14dc['shift']());}}}(a244_0x22a2,0x787eb));function a244_0x1413(_0x108b24,_0x34a915){_0x108b24=_0x108b24-0x91;var _0x22a293=a244_0x22a2();var _0x141321=_0x22a293[_0x108b24];return _0x141321;}import{VERSION}from'../generated/build-info.js';function a244_0x22a2(){var _0x122e75=['2362356lkhyCZ','4792295cuimrA','156388UZmgvt','10UfKqFU','253683NDyHlT','8CWlZRI','8eFaclg','2060432tqFJOn','1963494bDhueH','5900006qgSmAw'];a244_0x22a2=function(){return _0x122e75;};return a244_0x22a2();}export function getCliVersion(){return VERSION;}
1
+ (function(_0x3cb534,_0x4ae191){var _0x594e41=a244_0x513f,_0x5e80af=_0x3cb534();while(!![]){try{var _0x4e22fa=parseInt(_0x594e41(0x135))/0x1+parseInt(_0x594e41(0x137))/0x2+parseInt(_0x594e41(0x12e))/0x3*(-parseInt(_0x594e41(0x134))/0x4)+-parseInt(_0x594e41(0x133))/0x5*(parseInt(_0x594e41(0x136))/0x6)+-parseInt(_0x594e41(0x131))/0x7+-parseInt(_0x594e41(0x132))/0x8+-parseInt(_0x594e41(0x130))/0x9*(-parseInt(_0x594e41(0x12f))/0xa);if(_0x4e22fa===_0x4ae191)break;else _0x5e80af['push'](_0x5e80af['shift']());}catch(_0x247953){_0x5e80af['push'](_0x5e80af['shift']());}}}(a244_0x3482,0xf1fec));import{VERSION}from'../generated/build-info.js';function a244_0x513f(_0x3ee667,_0xcbecfd){_0x3ee667=_0x3ee667-0x12e;var _0x34825c=a244_0x3482();var _0x513f0e=_0x34825c[_0x3ee667];return _0x513f0e;}export function getCliVersion(){return VERSION;}function a244_0x3482(){var _0x22d6e2=['889600eWHISh','5831382jWqOhO','311288XkfNtj','5961ZpnhJq','10LtyMfn','30447189wvZhlY','979356cLkScM','8714672fpFfXw','5PmnmzK','2488alnbbI'];a244_0x3482=function(){return _0x22d6e2;};return a244_0x3482();}
@@ -1 +1 @@
1
- function a245_0x3317(){var _0x60be6=['1122033QtMOHV','322566gDfXsm','713646UqOfpN','2208080QDSsUt','89306RkVnxA','919368lDNjlW','1170375JEFURp'];a245_0x3317=function(){return _0x60be6;};return a245_0x3317();}(function(_0x17ab67,_0x12f588){var _0x517a72=a245_0x56a0,_0x4f11df=_0x17ab67();while(!![]){try{var _0x3a03dc=parseInt(_0x517a72(0x185))/0x1+-parseInt(_0x517a72(0x183))/0x2+-parseInt(_0x517a72(0x181))/0x3+parseInt(_0x517a72(0x17f))/0x4+parseInt(_0x517a72(0x180))/0x5+parseInt(_0x517a72(0x182))/0x6+parseInt(_0x517a72(0x184))/0x7;if(_0x3a03dc===_0x12f588)break;else _0x4f11df['push'](_0x4f11df['shift']());}catch(_0x3946ab){_0x4f11df['push'](_0x4f11df['shift']());}}}(a245_0x3317,0x2ec66));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a245_0x56a0(_0x124250,_0x27f953){_0x124250=_0x124250-0x17f;var _0x3317cc=a245_0x3317();var _0x56a07a=_0x3317cc[_0x124250];return _0x56a07a;}export async function withActiveCookie(_0x538fe7,_0x4afdee){setActiveCookie(_0x538fe7);try{return await _0x4afdee();}finally{clearActiveCookie();}}
1
+ function a245_0xe015(){var _0x5def69=['5211620YedUhD','5uIcHKW','88paULxr','3525812GJzetz','77qWWgmS','2324724aljqcM','481581OYZOnj','2129dUyqBj','1244RGquSc','7OmasGG','2843157WYWEuf','3815778BIntTo'];a245_0xe015=function(){return _0x5def69;};return a245_0xe015();}(function(_0x41be2d,_0x14f6da){var _0x3a8fc0=a245_0xf7c7,_0x21a460=_0x41be2d();while(!![]){try{var _0x466ac4=parseInt(_0x3a8fc0(0x1c7))/0x1*(-parseInt(_0x3a8fc0(0x1c8))/0x2)+parseInt(_0x3a8fc0(0x1be))/0x3+parseInt(_0x3a8fc0(0x1c3))/0x4*(-parseInt(_0x3a8fc0(0x1c1))/0x5)+parseInt(_0x3a8fc0(0x1bf))/0x6*(parseInt(_0x3a8fc0(0x1bd))/0x7)+-parseInt(_0x3a8fc0(0x1c2))/0x8*(parseInt(_0x3a8fc0(0x1c6))/0x9)+parseInt(_0x3a8fc0(0x1c0))/0xa+parseInt(_0x3a8fc0(0x1c4))/0xb*(parseInt(_0x3a8fc0(0x1c5))/0xc);if(_0x466ac4===_0x14f6da)break;else _0x21a460['push'](_0x21a460['shift']());}catch(_0x135364){_0x21a460['push'](_0x21a460['shift']());}}}(a245_0xe015,0xa2c13));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a245_0xf7c7(_0x295d07,_0x23cb30){_0x295d07=_0x295d07-0x1bd;var _0xe0159b=a245_0xe015();var _0xf7c790=_0xe0159b[_0x295d07];return _0xf7c790;}export async function withActiveCookie(_0x51a7ed,_0x4b39dc){setActiveCookie(_0x51a7ed);try{return await _0x4b39dc();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- function a246_0x42a0(_0x3e1d84,_0x5a4558){_0x3e1d84=_0x3e1d84-0x18a;var _0x5018e0=a246_0x5018();var _0x42a015=_0x5018e0[_0x3e1d84];return _0x42a015;}(function(_0x3e7b1c,_0x45b5d8){var _0xd46e9b=a246_0x42a0,_0x39c995=_0x3e7b1c();while(!![]){try{var _0x53f6db=-parseInt(_0xd46e9b(0x191))/0x1+-parseInt(_0xd46e9b(0x18c))/0x2*(parseInt(_0xd46e9b(0x18d))/0x3)+-parseInt(_0xd46e9b(0x18f))/0x4+parseInt(_0xd46e9b(0x18b))/0x5+parseInt(_0xd46e9b(0x18e))/0x6+parseInt(_0xd46e9b(0x18a))/0x7+parseInt(_0xd46e9b(0x192))/0x8;if(_0x53f6db===_0x45b5d8)break;else _0x39c995['push'](_0x39c995['shift']());}catch(_0x154bf3){_0x39c995['push'](_0x39c995['shift']());}}}(a246_0x5018,0x1ff8c));function a246_0x5018(){var _0x1a6a7b=['26061POLltF','355405ayPiHF','2LidSKQ','461910EftcMk','1332240PHboCy','766808mLEarH','write','41146CrHotE','1767440ZqUQEh','stderr'];a246_0x5018=function(){return _0x1a6a7b;};return a246_0x5018();}export function writeCliSideChannelLine(_0x3354c0){var _0x2300f5=a246_0x42a0;process[_0x2300f5(0x193)][_0x2300f5(0x190)](_0x3354c0+'\x0a');}
1
+ function a246_0x1c44(_0x150c65,_0x360a3c){_0x150c65=_0x150c65-0xf0;var _0x324bae=a246_0x324b();var _0x1c4498=_0x324bae[_0x150c65];return _0x1c4498;}(function(_0x2328fd,_0x489321){var _0xe114d3=a246_0x1c44,_0x5634a1=_0x2328fd();while(!![]){try{var _0x28a6dd=-parseInt(_0xe114d3(0xfa))/0x1*(-parseInt(_0xe114d3(0xf0))/0x2)+-parseInt(_0xe114d3(0xf6))/0x3*(parseInt(_0xe114d3(0xfc))/0x4)+parseInt(_0xe114d3(0xf5))/0x5+parseInt(_0xe114d3(0xf3))/0x6+-parseInt(_0xe114d3(0xf9))/0x7*(parseInt(_0xe114d3(0xfd))/0x8)+parseInt(_0xe114d3(0xf8))/0x9*(-parseInt(_0xe114d3(0xfb))/0xa)+-parseInt(_0xe114d3(0xf1))/0xb*(parseInt(_0xe114d3(0xf7))/0xc);if(_0x28a6dd===_0x489321)break;else _0x5634a1['push'](_0x5634a1['shift']());}catch(_0x29202d){_0x5634a1['push'](_0x5634a1['shift']());}}}(a246_0x324b,0xb6d8c));export function writeCliSideChannelLine(_0x3d576a){var _0x3ec9a2=a246_0x1c44;process[_0x3ec9a2(0xf2)][_0x3ec9a2(0xf4)](_0x3d576a+'\x0a');}function a246_0x324b(){var _0x5351b4=['write','5255940Bxsxns','15FZIPPU','258708aLjSjw','18jYzyJg','1135029JdmQxb','1YLwiPQ','127660OziTTT','691772MUeLIM','8BDzCLx','1336844QDKkiX','209gkspQv','stderr','2948070RBhVSx'];a246_0x324b=function(){return _0x5351b4;};return a246_0x324b();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.7-beta.2",
3
+ "version": "2.3.7-beta.3",
4
4
  "description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, BFF, database connections, skills, and AI agent workflows.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "keywords": [