@lovrabet/rabetbase-cli 2.3.7-beta.4 → 2.3.8-beta.1

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 (245) 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/notification/config-list.js +1 -1
  115. package/lib/commands/notification/index.js +1 -1
  116. package/lib/commands/page/generate-start.js +1 -1
  117. package/lib/commands/page/generate-status.js +1 -1
  118. package/lib/commands/page/index.js +1 -1
  119. package/lib/commands/page/pull.js +1 -1
  120. package/lib/commands/page/push.js +1 -1
  121. package/lib/commands/page/relation-audit.js +1 -1
  122. package/lib/commands/page/shared.js +1 -1
  123. package/lib/commands/page/standard-page-status.js +1 -1
  124. package/lib/commands/page/sync.js +1 -1
  125. package/lib/commands/permit/index.js +1 -1
  126. package/lib/commands/permit/page-get.js +1 -1
  127. package/lib/commands/permit/page-set.js +1 -1
  128. package/lib/commands/permit/role-apis-set.js +1 -1
  129. package/lib/commands/permit/role-menus-set.js +1 -1
  130. package/lib/commands/permit/role-menus.js +1 -1
  131. package/lib/commands/permit/shared.js +1 -1
  132. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  133. package/lib/commands/project/create/format-elapsed.js +1 -1
  134. package/lib/commands/project/create/main.js +1 -1
  135. package/lib/commands/project/create/non-interactive.js +1 -1
  136. package/lib/commands/project/create/project-template-path.js +1 -1
  137. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  138. package/lib/commands/project/create/use-format-code.js +1 -1
  139. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  140. package/lib/commands/project/index.js +1 -1
  141. package/lib/commands/project/init.js +1 -1
  142. package/lib/commands/project/upgrade.js +1 -1
  143. package/lib/commands/registry.js +1 -1
  144. package/lib/commands/role/create.js +1 -1
  145. package/lib/commands/role/delete.js +1 -1
  146. package/lib/commands/role/detail.js +1 -1
  147. package/lib/commands/role/index.js +1 -1
  148. package/lib/commands/role/list.js +1 -1
  149. package/lib/commands/role/shared.js +1 -1
  150. package/lib/commands/role/update.js +1 -1
  151. package/lib/commands/role/user-add.js +1 -1
  152. package/lib/commands/role/user-remove.js +1 -1
  153. package/lib/commands/role/user-resolve.js +1 -1
  154. package/lib/commands/run/index.js +1 -1
  155. package/lib/commands/schema.js +1 -1
  156. package/lib/commands/sql/create.js +1 -1
  157. package/lib/commands/sql/delete.js +1 -1
  158. package/lib/commands/sql/detail.js +1 -1
  159. package/lib/commands/sql/exec.js +1 -1
  160. package/lib/commands/sql/index.js +1 -1
  161. package/lib/commands/sql/list.js +1 -1
  162. package/lib/commands/sql/pull.js +1 -1
  163. package/lib/commands/sql/push.js +1 -1
  164. package/lib/commands/sql/save.js +1 -1
  165. package/lib/commands/sql/shared.js +1 -1
  166. package/lib/commands/sql/status.js +1 -1
  167. package/lib/commands/sql/validate.js +1 -1
  168. package/lib/commands/workspace/add.js +1 -1
  169. package/lib/commands/workspace/index.js +1 -1
  170. package/lib/commands/workspace/remove.js +1 -1
  171. package/lib/config/schema.js +1 -1
  172. package/lib/constant/cdn.js +1 -1
  173. package/lib/constant/cli.js +1 -1
  174. package/lib/constant/defaults.js +1 -1
  175. package/lib/constant/domain.js +1 -1
  176. package/lib/constant/env.js +1 -1
  177. package/lib/constant/output.js +1 -1
  178. package/lib/constant/paths.js +1 -1
  179. package/lib/constant/risk.js +1 -1
  180. package/lib/context/app-resolver.js +1 -1
  181. package/lib/context/auth-resolver.js +1 -1
  182. package/lib/context/config-loader.js +1 -1
  183. package/lib/context.js +1 -1
  184. package/lib/core/alias-resolver.js +1 -1
  185. package/lib/core/api-client.js +1 -1
  186. package/lib/core/bff/config.js +1 -1
  187. package/lib/core/bff/file-system.js +1 -1
  188. package/lib/core/bff/hash.js +1 -1
  189. package/lib/core/bff/lock.js +1 -1
  190. package/lib/core/bff/utils.js +1 -1
  191. package/lib/core/db-resolver.js +1 -1
  192. package/lib/core/page/file-system.js +1 -1
  193. package/lib/core/page/hash.js +1 -1
  194. package/lib/core/page/lock.js +1 -1
  195. package/lib/core/sql-sync/config.js +1 -1
  196. package/lib/core/sql-sync/file-system.js +1 -1
  197. package/lib/core/sql-sync/hash.js +1 -1
  198. package/lib/core/sql-sync/lock.js +1 -1
  199. package/lib/core/sql-sync/utils.js +1 -1
  200. package/lib/core/sql-validator.js +1 -1
  201. package/lib/errors.js +1 -1
  202. package/lib/framework/build-all-flags.js +1 -1
  203. package/lib/framework/flags.js +1 -1
  204. package/lib/framework/help.js +1 -1
  205. package/lib/framework/index.js +1 -1
  206. package/lib/framework/output.js +1 -1
  207. package/lib/framework/response.js +1 -1
  208. package/lib/framework/runner-alias.js +1 -1
  209. package/lib/framework/runner.js +1 -1
  210. package/lib/framework/schema-export.js +1 -1
  211. package/lib/framework/types.js +1 -1
  212. package/lib/generated/build-info.js +1 -1
  213. package/lib/help.js +1 -1
  214. package/lib/skills/main.js +1 -1
  215. package/lib/skills/npx-skills-add.js +1 -1
  216. package/lib/telemetry/cli-command-trace.js +1 -1
  217. package/lib/telemetry/cli-help-trace.js +1 -1
  218. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  219. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  220. package/lib/telemetry/send-cli-trace-log.js +1 -1
  221. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  222. package/lib/utils/ai_config.js +1 -1
  223. package/lib/utils/apply-jq-filter.js +1 -1
  224. package/lib/utils/cdn-config.js +1 -1
  225. package/lib/utils/check-sdk-version.js +1 -1
  226. package/lib/utils/cli-version-check.js +1 -1
  227. package/lib/utils/cli-version-policy.js +1 -1
  228. package/lib/utils/config.js +1 -1
  229. package/lib/utils/copy-directory.js +1 -1
  230. package/lib/utils/entity-with-id.js +1 -1
  231. package/lib/utils/file-utils.js +1 -1
  232. package/lib/utils/guides-cdn.js +1 -1
  233. package/lib/utils/http-client.js +1 -1
  234. package/lib/utils/is-non-interactive.js +1 -1
  235. package/lib/utils/logger.js +1 -1
  236. package/lib/utils/params.js +1 -1
  237. package/lib/utils/platform.js +1 -1
  238. package/lib/utils/rules-cdn.js +1 -1
  239. package/lib/utils/sleep.js +1 -1
  240. package/lib/utils/template-replacer.js +1 -1
  241. package/lib/utils/update-notice.js +1 -1
  242. package/lib/utils/version.js +1 -1
  243. package/lib/utils/with-active-cookie.js +1 -1
  244. package/lib/utils/write-cli-side-channel.js +1 -1
  245. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x2c2c15,_0x4f01c9){const _0x172358=a245_0x131f,_0x5d3c4c=_0x2c2c15();while(!![]){try{const _0x4438ce=-parseInt(_0x172358(0x154))/0x1+-parseInt(_0x172358(0x143))/0x2*(parseInt(_0x172358(0x149))/0x3)+parseInt(_0x172358(0x155))/0x4*(parseInt(_0x172358(0x140))/0x5)+parseInt(_0x172358(0x13e))/0x6+-parseInt(_0x172358(0x13f))/0x7*(-parseInt(_0x172358(0x141))/0x8)+-parseInt(_0x172358(0x147))/0x9+parseInt(_0x172358(0x146))/0xa;if(_0x4438ce===_0x4f01c9)break;else _0x5d3c4c['push'](_0x5d3c4c['shift']());}catch(_0x4dfd65){_0x5d3c4c['push'](_0x5d3c4c['shift']());}}}(a245_0x39a6,0x1ec62));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a245_0x5906fe from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a245_0x131f(_0x5614e8,_0x1e8418){_0x5614e8=_0x5614e8-0x13c;const _0x39a699=a245_0x39a6();let _0x131fea=_0x39a699[_0x5614e8];return _0x131fea;}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 _0x499994=a245_0x131f,_0x78dd14=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x499994(0x144)]()[_0x499994(0x142)]();return _0x78dd14==='1'||_0x78dd14==='true'||_0x78dd14===_0x499994(0x14b);}function cacheRoot(){const _0x5aa6f0=a245_0x131f;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x5aa6f0(0x14f));}export function getUpdateNoticeCachePath(){const _0x119078=a245_0x131f;return join(cacheRoot(),_0x119078(0x14a),'update-check.json');}async function readUpdateNoticeCache(){const _0x39d301=a245_0x131f;try{const _0x3b3241=await readFile(getUpdateNoticeCachePath(),_0x39d301(0x14d)),_0xf19533=JSON[_0x39d301(0x148)](_0x3b3241);if(!_0xf19533||typeof _0xf19533!=='object')return{};return _0xf19533;}catch{return{};}}async function writeUpdateNoticeCache(_0x5aa6b0){const _0x54e299=a245_0x131f;try{const _0x1eeaef=getUpdateNoticeCachePath();await mkdir(dirname(_0x1eeaef),{'recursive':!![]}),await writeFile(_0x1eeaef,JSON['stringify'](_0x5aa6b0,null,0x2)+'\x0a',_0x54e299(0x14d));}catch{}}function isFreshCheck(_0x3e3e0c,_0x2f6b35){const _0x54d733=a245_0x131f;return typeof _0x3e3e0c[_0x54d733(0x14e)]===_0x54d733(0x150)&&_0x2f6b35-_0x3e3e0c['checkedAt']<UPDATE_CHECK_TTL_MS;}function a245_0x39a6(){const _0x50dc92=['\x20available,\x20current\x20','utf8','checkedAt','.cache','number','valid','lastNotifiedAt',',\x20run:\x20','251365hWEhON','660tQfmLw','gte','stableVersion','lastNotifiedVersion','984144jAVrWS','203ZvSmtH','3135vzFYAl','3448flxIpB','toLowerCase','14DsgOAq','trim','\x20update','2286110mYIoEl','661824CJijVE','parse','24702UXXdZZ','rabetbase-cli','yes'];a245_0x39a6=function(){return _0x50dc92;};return a245_0x39a6();}function isRecentlyNotified(_0x111cfd,_0x2ab3a3,_0x49496e){const _0x4affea=a245_0x131f;return _0x111cfd[_0x4affea(0x13d)]===_0x2ab3a3&&typeof _0x111cfd[_0x4affea(0x152)]===_0x4affea(0x150)&&_0x49496e-_0x111cfd['lastNotifiedAt']<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0xcac819){return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+'/v/'+_0xcac819;}export async function resolveLatestUpdateNotice(){const _0x293d37=a245_0x131f;if(isUpdateNoticeDisabled())return null;try{const _0x7e18c8=Date['now'](),_0x46fee1=getCliVersion(),_0x10f75b=await readUpdateNoticeCache();let _0x10e3dd=isFreshCheck(_0x10f75b,_0x7e18c8)?_0x10f75b['latest']?.[_0x293d37(0x144)]():undefined;if(!_0x10e3dd&&!isFreshCheck(_0x10f75b,_0x7e18c8)){const _0x3a0e3b=await getCliVersionPolicy();_0x10e3dd=_0x3a0e3b?.[_0x293d37(0x13c)]?.[_0x293d37(0x144)]()||undefined,await writeUpdateNoticeCache({..._0x10f75b,'checkedAt':_0x7e18c8,'latest':_0x10e3dd,'failed':!_0x10e3dd});}if(!_0x10e3dd||!a245_0x5906fe[_0x293d37(0x151)](_0x46fee1)||!a245_0x5906fe[_0x293d37(0x151)](_0x10e3dd))return null;if(a245_0x5906fe[_0x293d37(0x156)](_0x46fee1,_0x10e3dd))return null;if(isRecentlyNotified(_0x10f75b,_0x10e3dd,_0x7e18c8))return null;const _0x1fd754=CLI_BIN_NAME+_0x293d37(0x145);return await writeUpdateNoticeCache({..._0x10f75b,'checkedAt':isFreshCheck(_0x10f75b,_0x7e18c8)?_0x10f75b[_0x293d37(0x14e)]:_0x7e18c8,'latest':_0x10e3dd,'failed':![],'lastNotifiedVersion':_0x10e3dd,'lastNotifiedAt':_0x7e18c8}),{'command':_0x1fd754,'current':_0x46fee1,'latest':_0x10e3dd,'url':buildNpmVersionUrl(_0x10e3dd),'message':CLI_BIN_NAME+'\x20'+_0x10e3dd+_0x293d37(0x14c)+_0x46fee1+_0x293d37(0x153)+_0x1fd754};}catch{return null;}}
1
+ (function(_0xbc21c0,_0x24377b){const _0xf5f328=a245_0x5caf,_0xcbbeec=_0xbc21c0();while(!![]){try{const _0x51597e=-parseInt(_0xf5f328(0x19e))/0x1+parseInt(_0xf5f328(0x190))/0x2*(-parseInt(_0xf5f328(0x196))/0x3)+-parseInt(_0xf5f328(0x1a0))/0x4*(parseInt(_0xf5f328(0x19f))/0x5)+parseInt(_0xf5f328(0x1a4))/0x6+-parseInt(_0xf5f328(0x1a3))/0x7*(-parseInt(_0xf5f328(0x195))/0x8)+-parseInt(_0xf5f328(0x18f))/0x9*(-parseInt(_0xf5f328(0x19c))/0xa)+-parseInt(_0xf5f328(0x1a1))/0xb;if(_0x51597e===_0x24377b)break;else _0xcbbeec['push'](_0xcbbeec['shift']());}catch(_0x359c80){_0xcbbeec['push'](_0xcbbeec['shift']());}}}(a245_0x3429,0xf0770));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a245_0x59c78f from'semver';function a245_0x5caf(_0x17363e,_0x1bd4e3){_0x17363e=_0x17363e-0x187;const _0x34299c=a245_0x3429();let _0x5caf54=_0x34299c[_0x17363e];return _0x5caf54;}import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';function a245_0x3429(){const _0x3a5bff=['stringify','number','.cache','12422056MnsZNq','259113JRhIPI','lastNotifiedAt','object','gte','toLowerCase','true','10190Itvirp','\x20update','1067687qyiKbR','2299475mzZziL','4shalPQ','6591464hbYtZM','rabetbase-cli','7liXJnX','1966782qGSVyF','\x20available,\x20current\x20',',\x20run:\x20','https://www.npmjs.com/package/','trim','yes','/v/','checkedAt','parse','update-check.json','stableVersion','utf8','11637eWCRtZ','2CgkuSx','valid'];a245_0x3429=function(){return _0x3a5bff;};return a245_0x3429();}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 _0x44cd3b=a245_0x5caf,_0x159d4b=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x44cd3b(0x187)]()[_0x44cd3b(0x19a)]();return _0x159d4b==='1'||_0x159d4b===_0x44cd3b(0x19b)||_0x159d4b===_0x44cd3b(0x188);}function cacheRoot(){const _0x362a5d=a245_0x5caf;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x362a5d(0x194));}export function getUpdateNoticeCachePath(){const _0x1ca915=a245_0x5caf;return join(cacheRoot(),_0x1ca915(0x1a2),_0x1ca915(0x18c));}async function readUpdateNoticeCache(){const _0x235178=a245_0x5caf;try{const _0x26555a=await readFile(getUpdateNoticeCachePath(),_0x235178(0x18e)),_0x242816=JSON[_0x235178(0x18b)](_0x26555a);if(!_0x242816||typeof _0x242816!==_0x235178(0x198))return{};return _0x242816;}catch{return{};}}async function writeUpdateNoticeCache(_0x59591f){const _0x549542=a245_0x5caf;try{const _0x3e3cbd=getUpdateNoticeCachePath();await mkdir(dirname(_0x3e3cbd),{'recursive':!![]}),await writeFile(_0x3e3cbd,JSON[_0x549542(0x192)](_0x59591f,null,0x2)+'\x0a',_0x549542(0x18e));}catch{}}function isFreshCheck(_0x4a3c75,_0x2ed7cc){const _0x47d275=a245_0x5caf;return typeof _0x4a3c75[_0x47d275(0x18a)]==='number'&&_0x2ed7cc-_0x4a3c75[_0x47d275(0x18a)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x582912,_0x215def,_0x811ca1){const _0x364c2a=a245_0x5caf;return _0x582912['lastNotifiedVersion']===_0x215def&&typeof _0x582912[_0x364c2a(0x197)]===_0x364c2a(0x193)&&_0x811ca1-_0x582912[_0x364c2a(0x197)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x323c6c){const _0x5f23cb=a245_0x5caf;return _0x5f23cb(0x1a7)+NPM_PACKAGE_NAME+_0x5f23cb(0x189)+_0x323c6c;}export async function resolveLatestUpdateNotice(){const _0x48230c=a245_0x5caf;if(isUpdateNoticeDisabled())return null;try{const _0x483f0c=Date['now'](),_0x4363b9=getCliVersion(),_0x47120c=await readUpdateNoticeCache();let _0x451180=isFreshCheck(_0x47120c,_0x483f0c)?_0x47120c['latest']?.[_0x48230c(0x187)]():undefined;if(!_0x451180&&!isFreshCheck(_0x47120c,_0x483f0c)){const _0x433a78=await getCliVersionPolicy();_0x451180=_0x433a78?.[_0x48230c(0x18d)]?.[_0x48230c(0x187)]()||undefined,await writeUpdateNoticeCache({..._0x47120c,'checkedAt':_0x483f0c,'latest':_0x451180,'failed':!_0x451180});}if(!_0x451180||!a245_0x59c78f[_0x48230c(0x191)](_0x4363b9)||!a245_0x59c78f[_0x48230c(0x191)](_0x451180))return null;if(a245_0x59c78f[_0x48230c(0x199)](_0x4363b9,_0x451180))return null;if(isRecentlyNotified(_0x47120c,_0x451180,_0x483f0c))return null;const _0x3c0875=CLI_BIN_NAME+_0x48230c(0x19d);return await writeUpdateNoticeCache({..._0x47120c,'checkedAt':isFreshCheck(_0x47120c,_0x483f0c)?_0x47120c[_0x48230c(0x18a)]:_0x483f0c,'latest':_0x451180,'failed':![],'lastNotifiedVersion':_0x451180,'lastNotifiedAt':_0x483f0c}),{'command':_0x3c0875,'current':_0x4363b9,'latest':_0x451180,'url':buildNpmVersionUrl(_0x451180),'message':CLI_BIN_NAME+'\x20'+_0x451180+_0x48230c(0x1a5)+_0x4363b9+_0x48230c(0x1a6)+_0x3c0875};}catch{return null;}}
@@ -1 +1 @@
1
- function a246_0x11ab(_0x3eadf6,_0x2eacf2){_0x3eadf6=_0x3eadf6-0x7c;var _0x1ca375=a246_0x1ca3();var _0x11ab21=_0x1ca375[_0x3eadf6];return _0x11ab21;}(function(_0x47a986,_0x2e6186){var _0x1ea4cf=a246_0x11ab,_0x2357ad=_0x47a986();while(!![]){try{var _0x445c32=-parseInt(_0x1ea4cf(0x85))/0x1*(-parseInt(_0x1ea4cf(0x87))/0x2)+parseInt(_0x1ea4cf(0x7e))/0x3*(parseInt(_0x1ea4cf(0x83))/0x4)+parseInt(_0x1ea4cf(0x88))/0x5*(parseInt(_0x1ea4cf(0x82))/0x6)+parseInt(_0x1ea4cf(0x7d))/0x7+-parseInt(_0x1ea4cf(0x7f))/0x8*(-parseInt(_0x1ea4cf(0x7c))/0x9)+-parseInt(_0x1ea4cf(0x80))/0xa*(-parseInt(_0x1ea4cf(0x86))/0xb)+parseInt(_0x1ea4cf(0x84))/0xc*(-parseInt(_0x1ea4cf(0x81))/0xd);if(_0x445c32===_0x2e6186)break;else _0x2357ad['push'](_0x2357ad['shift']());}catch(_0xc07e5f){_0x2357ad['push'](_0x2357ad['shift']());}}}(a246_0x1ca3,0xb30fc));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a246_0x1ca3(){var _0x1da7a9=['338igVrHY','1671263bJbFnc','5812kCboHN','445435XoCqeE','1557lQrIeZ','1382157YBRmvC','3mwkagY','43184QOSsgl','10ecDKRQ','390bgvgWH','42uKBFGd','490124GVSYjV','911268pzyiiM'];a246_0x1ca3=function(){return _0x1da7a9;};return a246_0x1ca3();}
1
+ (function(_0x4c7c9e,_0x2b69ba){var _0x42a9c5=a246_0x1bd4,_0x35cede=_0x4c7c9e();while(!![]){try{var _0x1958c8=-parseInt(_0x42a9c5(0xbb))/0x1*(parseInt(_0x42a9c5(0xb9))/0x2)+-parseInt(_0x42a9c5(0xb6))/0x3+parseInt(_0x42a9c5(0xbe))/0x4+-parseInt(_0x42a9c5(0xb5))/0x5+-parseInt(_0x42a9c5(0xbd))/0x6*(parseInt(_0x42a9c5(0xba))/0x7)+parseInt(_0x42a9c5(0xb7))/0x8+-parseInt(_0x42a9c5(0xb8))/0x9*(-parseInt(_0x42a9c5(0xbc))/0xa);if(_0x1958c8===_0x2b69ba)break;else _0x35cede['push'](_0x35cede['shift']());}catch(_0x4d59b6){_0x35cede['push'](_0x35cede['shift']());}}}(a246_0x2075,0xbb08e));function a246_0x2075(){var _0x126175=['2gTSvtT','7217weTOjN','1000969MpoQcn','4810RmpsmT','4908KaSkEa','5690428rOUoRY','181560vmWUKj','2431653uKDNGK','11552072fdnDvC','11052oqAvzo'];a246_0x2075=function(){return _0x126175;};return a246_0x2075();}import{VERSION}from'../generated/build-info.js';function a246_0x1bd4(_0x2ef05a,_0x1f36a8){_0x2ef05a=_0x2ef05a-0xb5;var _0x2075f1=a246_0x2075();var _0x1bd42a=_0x2075f1[_0x2ef05a];return _0x1bd42a;}export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- function a247_0x120c(_0x3847c9,_0x461cbc){_0x3847c9=_0x3847c9-0x1b5;var _0x4eafbf=a247_0x4eaf();var _0x120cf4=_0x4eafbf[_0x3847c9];return _0x120cf4;}(function(_0x2817aa,_0x1e1ddf){var _0x4fdc14=a247_0x120c,_0x434774=_0x2817aa();while(!![]){try{var _0x586ee9=parseInt(_0x4fdc14(0x1bb))/0x1*(parseInt(_0x4fdc14(0x1bc))/0x2)+-parseInt(_0x4fdc14(0x1bf))/0x3*(-parseInt(_0x4fdc14(0x1b9))/0x4)+parseInt(_0x4fdc14(0x1b5))/0x5*(parseInt(_0x4fdc14(0x1c0))/0x6)+parseInt(_0x4fdc14(0x1bd))/0x7*(parseInt(_0x4fdc14(0x1b7))/0x8)+parseInt(_0x4fdc14(0x1b8))/0x9*(parseInt(_0x4fdc14(0x1ba))/0xa)+parseInt(_0x4fdc14(0x1be))/0xb+-parseInt(_0x4fdc14(0x1b6))/0xc;if(_0x586ee9===_0x1e1ddf)break;else _0x434774['push'](_0x434774['shift']());}catch(_0x42e2e3){_0x434774['push'](_0x434774['shift']());}}}(a247_0x4eaf,0x3aab3));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a247_0x4eaf(){var _0x5c3a2b=['12025848zlwoyd','45512oUNNXd','173556qqYGNJ','5004kTSPrC','190BeXKYB','39TqoBBE','13236GaZZrG','182cdcTaU','2015904ONMCEk','495plywfc','48222hlCWJG','50JSOtjT'];a247_0x4eaf=function(){return _0x5c3a2b;};return a247_0x4eaf();}export async function withActiveCookie(_0x2ded43,_0x372a3e){setActiveCookie(_0x2ded43);try{return await _0x372a3e();}finally{clearActiveCookie();}}
1
+ (function(_0x2c69a2,_0x159dd6){var _0x24281c=a247_0x5781,_0x30943f=_0x2c69a2();while(!![]){try{var _0x1a3593=-parseInt(_0x24281c(0x129))/0x1*(-parseInt(_0x24281c(0x12c))/0x2)+-parseInt(_0x24281c(0x127))/0x3*(parseInt(_0x24281c(0x128))/0x4)+parseInt(_0x24281c(0x124))/0x5*(-parseInt(_0x24281c(0x126))/0x6)+-parseInt(_0x24281c(0x12b))/0x7+parseInt(_0x24281c(0x12d))/0x8*(-parseInt(_0x24281c(0x123))/0x9)+-parseInt(_0x24281c(0x12a))/0xa+parseInt(_0x24281c(0x122))/0xb*(parseInt(_0x24281c(0x125))/0xc);if(_0x1a3593===_0x159dd6)break;else _0x30943f['push'](_0x30943f['shift']());}catch(_0x59258a){_0x30943f['push'](_0x30943f['shift']());}}}(a247_0x262d,0xe1027));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a247_0x5781(_0x117e43,_0x4180d6){_0x117e43=_0x117e43-0x122;var _0x262d4c=a247_0x262d();var _0x578154=_0x262d4c[_0x117e43];return _0x578154;}function a247_0x262d(){var _0x4ba20b=['30344ZOIMbC','90299tXaSiH','2007vHHsIn','321780BxGNsf','5724qdZKXJ','138dxJrWf','49299jGfjMx','292HXuAvO','15715SDqNMi','4519700IEVfUw','5545701CUgfwl','226rMwXji'];a247_0x262d=function(){return _0x4ba20b;};return a247_0x262d();}export async function withActiveCookie(_0x495673,_0x385512){setActiveCookie(_0x495673);try{return await _0x385512();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- function a248_0xe269(){var _0x4ee217=['7278324nXelwP','240734bfYXVt','15966vJMXgj','758884vJhhGI','1169KrBAmt','11tJTvEz','940rYovVL','1053882TARsof','496EeeGlx','1VSaYTv','write','5kOfDaX','stderr','1416258tVYGqz'];a248_0xe269=function(){return _0x4ee217;};return a248_0xe269();}function a248_0x343c(_0x34ddbe,_0xc04eed){_0x34ddbe=_0x34ddbe-0x11a;var _0xe26984=a248_0xe269();var _0x343cac=_0xe26984[_0x34ddbe];return _0x343cac;}(function(_0x2ddd28,_0x15077f){var _0x391d0d=a248_0x343c,_0x19d17b=_0x2ddd28();while(!![]){try{var _0x4cf1a6=-parseInt(_0x391d0d(0x127))/0x1*(parseInt(_0x391d0d(0x11f))/0x2)+parseInt(_0x391d0d(0x125))/0x3+parseInt(_0x391d0d(0x121))/0x4*(parseInt(_0x391d0d(0x11b))/0x5)+parseInt(_0x391d0d(0x11d))/0x6+parseInt(_0x391d0d(0x122))/0x7*(-parseInt(_0x391d0d(0x126))/0x8)+parseInt(_0x391d0d(0x120))/0x9*(parseInt(_0x391d0d(0x124))/0xa)+parseInt(_0x391d0d(0x123))/0xb*(-parseInt(_0x391d0d(0x11e))/0xc);if(_0x4cf1a6===_0x15077f)break;else _0x19d17b['push'](_0x19d17b['shift']());}catch(_0xe404c3){_0x19d17b['push'](_0x19d17b['shift']());}}}(a248_0xe269,0x326e6));export function writeCliSideChannelLine(_0x4e7e11){var _0x5a6dd0=a248_0x343c;process[_0x5a6dd0(0x11c)][_0x5a6dd0(0x11a)](_0x4e7e11+'\x0a');}
1
+ function a248_0x410d(){var _0x206b3f=['187tGHNCL','8OojbAD','346305xqoRyj','2aXVgGT','540239DBvRiU','2530QnAUSs','803312BYbusb','stderr','319068NkdIDk','6MxJlaZ','3SCulDv','3195qXeYcn','1901003GwubTo','write','968485SNyKFb','56GCCRti'];a248_0x410d=function(){return _0x206b3f;};return a248_0x410d();}function a248_0x2817(_0x5641ff,_0x31d0cf){_0x5641ff=_0x5641ff-0x1e9;var _0x410d5e=a248_0x410d();var _0x2817f9=_0x410d5e[_0x5641ff];return _0x2817f9;}(function(_0x5c085f,_0x4d1b22){var _0x2af105=a248_0x2817,_0x587abc=_0x5c085f();while(!![]){try{var _0x6f8ab=-parseInt(_0x2af105(0x1ed))/0x1*(-parseInt(_0x2af105(0x1ec))/0x2)+parseInt(_0x2af105(0x1f3))/0x3*(parseInt(_0x2af105(0x1ef))/0x4)+parseInt(_0x2af105(0x1eb))/0x5*(-parseInt(_0x2af105(0x1f2))/0x6)+parseInt(_0x2af105(0x1f7))/0x7*(-parseInt(_0x2af105(0x1ea))/0x8)+-parseInt(_0x2af105(0x1f4))/0x9*(parseInt(_0x2af105(0x1ee))/0xa)+-parseInt(_0x2af105(0x1e9))/0xb*(-parseInt(_0x2af105(0x1f1))/0xc)+-parseInt(_0x2af105(0x1f5))/0xd*(parseInt(_0x2af105(0x1f8))/0xe);if(_0x6f8ab===_0x4d1b22)break;else _0x587abc['push'](_0x587abc['shift']());}catch(_0x369aa8){_0x587abc['push'](_0x587abc['shift']());}}}(a248_0x410d,0x4bdc5));export function writeCliSideChannelLine(_0x120eaa){var _0x9d1323=a248_0x2817;process[_0x9d1323(0x1f0)][_0x9d1323(0x1f6)](_0x120eaa+'\x0a');}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.7-beta.4",
3
+ "version": "2.3.8-beta.1",
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": [