@lovrabet/rabetbase-cli 2.3.4-beta.1 → 2.3.4-beta.2

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 (219) hide show
  1. package/README.md +99 -560
  2. package/lib/api/api-doc.js +1 -1
  3. package/lib/api/fetch-model-list.js +1 -1
  4. package/lib/api/generate-api-file.js +1 -1
  5. package/lib/auth/auth-server-ui.js +1 -1
  6. package/lib/auth/auth-server.js +1 -1
  7. package/lib/auth/constant.js +1 -1
  8. package/lib/auth/get-cookie.js +1 -1
  9. package/lib/auth/get-session-user.js +1 -1
  10. package/lib/auth/is-session-valid.js +1 -1
  11. package/lib/auth/login-success-html.js +1 -1
  12. package/lib/auth/logout.js +1 -1
  13. package/lib/cli-flags.js +1 -1
  14. package/lib/cli.js +1 -1
  15. package/lib/commands/api/generate.js +1 -1
  16. package/lib/commands/api/index.js +1 -1
  17. package/lib/commands/api/list.js +1 -1
  18. package/lib/commands/api/pull.js +1 -1
  19. package/lib/commands/api/shared.js +1 -1
  20. package/lib/commands/app/add.js +1 -1
  21. package/lib/commands/app/discover.js +1 -1
  22. package/lib/commands/app/index.js +1 -1
  23. package/lib/commands/app/list.js +1 -1
  24. package/lib/commands/app/remove.js +1 -1
  25. package/lib/commands/app/shared.js +1 -1
  26. package/lib/commands/app-config/delete.js +1 -1
  27. package/lib/commands/app-config/get.js +1 -1
  28. package/lib/commands/app-config/index.js +1 -1
  29. package/lib/commands/app-config/list.js +1 -1
  30. package/lib/commands/app-config/set.js +1 -1
  31. package/lib/commands/app-config/shared.js +1 -1
  32. package/lib/commands/auth/index.js +1 -1
  33. package/lib/commands/bff/create.js +1 -1
  34. package/lib/commands/bff/delete.js +1 -1
  35. package/lib/commands/bff/detail.js +1 -1
  36. package/lib/commands/bff/index.js +1 -1
  37. package/lib/commands/bff/list.js +1 -1
  38. package/lib/commands/bff/pull.js +1 -1
  39. package/lib/commands/bff/push.js +1 -1
  40. package/lib/commands/bff/status.js +1 -1
  41. package/lib/commands/cli-skill/index.js +1 -1
  42. package/lib/commands/cli-update.js +1 -1
  43. package/lib/commands/codegen/index.js +1 -1
  44. package/lib/commands/codegen/sdk.js +1 -1
  45. package/lib/commands/codegen/sql.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/flags.js +1 -1
  48. package/lib/commands/common/validate.js +1 -1
  49. package/lib/commands/config/get.js +1 -1
  50. package/lib/commands/config/index.js +1 -1
  51. package/lib/commands/config/list.js +1 -1
  52. package/lib/commands/config/set.js +1 -1
  53. package/lib/commands/config/shared.js +1 -1
  54. package/lib/commands/data/filter.js +1 -1
  55. package/lib/commands/data/getOne.js +1 -1
  56. package/lib/commands/data/index.js +1 -1
  57. package/lib/commands/data/shared.js +1 -1
  58. package/lib/commands/dataset/business-group-update.js +1 -1
  59. package/lib/commands/dataset/capability.js +1 -1
  60. package/lib/commands/dataset/delete.js +1 -1
  61. package/lib/commands/dataset/detail.js +1 -1
  62. package/lib/commands/dataset/extend-update.js +1 -1
  63. package/lib/commands/dataset/field-update.js +1 -1
  64. package/lib/commands/dataset/generate.js +1 -1
  65. package/lib/commands/dataset/index.js +1 -1
  66. package/lib/commands/dataset/list.js +1 -1
  67. package/lib/commands/dataset/operations.js +1 -1
  68. package/lib/commands/dataset/relation-audit.js +1 -1
  69. package/lib/commands/dataset/relation-create.js +1 -1
  70. package/lib/commands/dataset/relation-delete.js +1 -1
  71. package/lib/commands/dataset/relation-shared.js +1 -1
  72. package/lib/commands/dataset/relation-update.js +1 -1
  73. package/lib/commands/dataset/relations.js +1 -1
  74. package/lib/commands/dataset/rename.js +1 -1
  75. package/lib/commands/dataset/restore.js +1 -1
  76. package/lib/commands/db/analyze-cancel.js +1 -1
  77. package/lib/commands/db/analyze-start.js +1 -1
  78. package/lib/commands/db/analyze-status.js +1 -1
  79. package/lib/commands/db/create.js +1 -1
  80. package/lib/commands/db/delete.js +1 -1
  81. package/lib/commands/db/detail.js +1 -1
  82. package/lib/commands/db/diff.js +1 -1
  83. package/lib/commands/db/index.js +1 -1
  84. package/lib/commands/db/list.js +1 -1
  85. package/lib/commands/db/shared.js +1 -1
  86. package/lib/commands/db/tables.js +1 -1
  87. package/lib/commands/db/test.js +1 -1
  88. package/lib/commands/db/update.js +1 -1
  89. package/lib/commands/doctor.js +1 -1
  90. package/lib/commands/init/index.js +1 -1
  91. package/lib/commands/issue/index.js +1 -1
  92. package/lib/commands/issue/nudge.js +1 -1
  93. package/lib/commands/issue/report.js +1 -1
  94. package/lib/commands/issue/shared.js +1 -1
  95. package/lib/commands/logs/index.js +1 -1
  96. package/lib/commands/menu/index.js +1 -1
  97. package/lib/commands/menu/list.js +1 -1
  98. package/lib/commands/menu/shared/compare-table.js +1 -1
  99. package/lib/commands/menu/shared/index.js +1 -1
  100. package/lib/commands/menu/shared/inquirer.js +1 -1
  101. package/lib/commands/menu/shared/local-pages.js +1 -1
  102. package/lib/commands/menu/shared/logic.js +1 -1
  103. package/lib/commands/menu/shared/service.js +1 -1
  104. package/lib/commands/menu/shared/sync-core.js +1 -1
  105. package/lib/commands/menu/shared/update-core.js +1 -1
  106. package/lib/commands/menu/shared/valid-url.js +1 -1
  107. package/lib/commands/menu/sync.js +1 -1
  108. package/lib/commands/menu/update.js +1 -1
  109. package/lib/commands/page/generate-start.js +1 -1
  110. package/lib/commands/page/generate-status.js +1 -1
  111. package/lib/commands/page/index.js +1 -1
  112. package/lib/commands/page/pull.js +1 -1
  113. package/lib/commands/page/push.js +1 -1
  114. package/lib/commands/page/relation-audit.js +1 -1
  115. package/lib/commands/page/shared.js +1 -1
  116. package/lib/commands/page/standard-page-status.js +1 -1
  117. package/lib/commands/page/sync.js +1 -1
  118. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  119. package/lib/commands/project/create/format-elapsed.js +1 -1
  120. package/lib/commands/project/create/main.js +1 -1
  121. package/lib/commands/project/create/non-interactive.js +1 -1
  122. package/lib/commands/project/create/project-template-path.js +1 -1
  123. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  124. package/lib/commands/project/create/use-format-code.js +1 -1
  125. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  126. package/lib/commands/project/index.js +1 -1
  127. package/lib/commands/project/init.js +1 -1
  128. package/lib/commands/project/upgrade.js +1 -1
  129. package/lib/commands/registry.js +1 -1
  130. package/lib/commands/run/index.js +1 -1
  131. package/lib/commands/schema.js +1 -1
  132. package/lib/commands/sql/create.js +1 -1
  133. package/lib/commands/sql/delete.js +1 -1
  134. package/lib/commands/sql/detail.js +1 -1
  135. package/lib/commands/sql/exec.js +1 -1
  136. package/lib/commands/sql/index.js +1 -1
  137. package/lib/commands/sql/list.js +1 -1
  138. package/lib/commands/sql/pull.js +1 -1
  139. package/lib/commands/sql/push.js +1 -1
  140. package/lib/commands/sql/save.js +1 -1
  141. package/lib/commands/sql/shared.js +1 -1
  142. package/lib/commands/sql/status.js +1 -1
  143. package/lib/commands/sql/validate.js +1 -1
  144. package/lib/commands/workspace/index.js +1 -1
  145. package/lib/config/schema.js +1 -1
  146. package/lib/constant/cdn.js +1 -1
  147. package/lib/constant/cli.js +1 -1
  148. package/lib/constant/defaults.js +1 -1
  149. package/lib/constant/domain.js +1 -1
  150. package/lib/constant/env.js +1 -1
  151. package/lib/constant/output.js +1 -1
  152. package/lib/constant/paths.js +1 -1
  153. package/lib/constant/risk.js +1 -1
  154. package/lib/context/app-resolver.js +1 -1
  155. package/lib/context/auth-resolver.js +1 -1
  156. package/lib/context/config-loader.js +1 -1
  157. package/lib/context.js +1 -1
  158. package/lib/core/alias-resolver.js +1 -1
  159. package/lib/core/api-client.js +1 -1
  160. package/lib/core/bff/config.js +1 -1
  161. package/lib/core/bff/file-system.js +1 -1
  162. package/lib/core/bff/hash.js +1 -1
  163. package/lib/core/bff/lock.js +1 -1
  164. package/lib/core/bff/utils.js +1 -1
  165. package/lib/core/db-resolver.js +1 -1
  166. package/lib/core/page/file-system.js +1 -1
  167. package/lib/core/page/hash.js +1 -1
  168. package/lib/core/page/lock.js +1 -1
  169. package/lib/core/sql-sync/config.js +1 -1
  170. package/lib/core/sql-sync/file-system.js +1 -1
  171. package/lib/core/sql-sync/hash.js +1 -1
  172. package/lib/core/sql-sync/lock.js +1 -1
  173. package/lib/core/sql-sync/utils.js +1 -1
  174. package/lib/core/sql-validator.js +1 -1
  175. package/lib/errors.js +1 -1
  176. package/lib/framework/build-all-flags.js +1 -1
  177. package/lib/framework/flags.js +1 -1
  178. package/lib/framework/help.js +1 -1
  179. package/lib/framework/index.js +1 -1
  180. package/lib/framework/output.js +1 -1
  181. package/lib/framework/response.js +1 -1
  182. package/lib/framework/runner-alias.js +1 -1
  183. package/lib/framework/runner.js +1 -1
  184. package/lib/framework/schema-export.js +1 -1
  185. package/lib/framework/types.js +1 -1
  186. package/lib/generated/build-info.js +1 -1
  187. package/lib/help.js +1 -1
  188. package/lib/skills/main.js +1 -1
  189. package/lib/skills/npx-skills-add.js +1 -1
  190. package/lib/telemetry/cli-command-trace.js +1 -1
  191. package/lib/telemetry/cli-help-trace.js +1 -1
  192. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  193. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  194. package/lib/telemetry/send-cli-trace-log.js +1 -1
  195. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  196. package/lib/utils/ai_config.js +1 -1
  197. package/lib/utils/apply-jq-filter.js +1 -1
  198. package/lib/utils/cdn-config.js +1 -1
  199. package/lib/utils/check-sdk-version.js +1 -1
  200. package/lib/utils/cli-version-check.js +1 -1
  201. package/lib/utils/cli-version-policy.js +1 -1
  202. package/lib/utils/config.js +1 -1
  203. package/lib/utils/copy-directory.js +1 -1
  204. package/lib/utils/entity-with-id.js +1 -1
  205. package/lib/utils/file-utils.js +1 -1
  206. package/lib/utils/guides-cdn.js +1 -1
  207. package/lib/utils/http-client.js +1 -1
  208. package/lib/utils/is-non-interactive.js +1 -1
  209. package/lib/utils/logger.js +1 -1
  210. package/lib/utils/params.js +1 -1
  211. package/lib/utils/platform.js +1 -1
  212. package/lib/utils/rules-cdn.js +1 -1
  213. package/lib/utils/sleep.js +1 -1
  214. package/lib/utils/template-replacer.js +1 -1
  215. package/lib/utils/update-notice.js +1 -1
  216. package/lib/utils/version.js +1 -1
  217. package/lib/utils/with-active-cookie.js +1 -1
  218. package/lib/utils/write-cli-side-channel.js +1 -1
  219. package/package.json +18 -2
@@ -1 +1 @@
1
- (function(_0x9108ce,_0x30d63a){const _0x1c6b3c=a218_0x1eb3,_0x598487=_0x9108ce();while(!![]){try{const _0x579e5b=parseInt(_0x1c6b3c(0xa6))/0x1+parseInt(_0x1c6b3c(0xaa))/0x2*(parseInt(_0x1c6b3c(0xa8))/0x3)+-parseInt(_0x1c6b3c(0xbe))/0x4*(parseInt(_0x1c6b3c(0xa0))/0x5)+-parseInt(_0x1c6b3c(0xb2))/0x6+parseInt(_0x1c6b3c(0xac))/0x7*(-parseInt(_0x1c6b3c(0xb0))/0x8)+parseInt(_0x1c6b3c(0xbf))/0x9+-parseInt(_0x1c6b3c(0xbc))/0xa*(-parseInt(_0x1c6b3c(0xae))/0xb);if(_0x579e5b===_0x30d63a)break;else _0x598487['push'](_0x598487['shift']());}catch(_0x5a5f6c){_0x598487['push'](_0x598487['shift']());}}}(a218_0x4d83,0x2a26b));function a218_0x1eb3(_0x1139a9,_0x4749aa){_0x1139a9=_0x1139a9-0xa0;const _0x4d83b4=a218_0x4d83();let _0x1eb3d0=_0x4d83b4[_0x1139a9];return _0x1eb3d0;}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a218_0x3507e6 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 _0x361626=a218_0x1eb3,_0x6e9d65=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x361626(0xa4)]()[_0x361626(0xb1)]();return _0x6e9d65==='1'||_0x6e9d65===_0x361626(0xbd)||_0x6e9d65===_0x361626(0xaf);}function a218_0x4d83(){const _0x283ea9=['2420594IDXFLV','yes','1380152hCrBIt','toLowerCase','656700udlLmB','https://www.npmjs.com/package/','utf8','number','now','lastNotifiedAt','lastNotifiedVersion','checkedAt','object','gte','20kYmQDi','true','7060ubczTr','1370403VSesvo','365ffVbar','valid','\x20update','latest','trim','parse','153190NWJmzT','update-check.json','453bcaKjJ',',\x20run:\x20','138CdVnfg','stringify','14FIZGKQ','\x20available,\x20current\x20'];a218_0x4d83=function(){return _0x283ea9;};return a218_0x4d83();}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x489f28=a218_0x1eb3;return join(cacheRoot(),'rabetbase-cli',_0x489f28(0xa7));}async function readUpdateNoticeCache(){const _0x3357c4=a218_0x1eb3;try{const _0x203daa=await readFile(getUpdateNoticeCachePath(),_0x3357c4(0xb4)),_0x4131e5=JSON[_0x3357c4(0xa5)](_0x203daa);if(!_0x4131e5||typeof _0x4131e5!==_0x3357c4(0xba))return{};return _0x4131e5;}catch{return{};}}async function writeUpdateNoticeCache(_0x3b73eb){const _0x925396=a218_0x1eb3;try{const _0x439e45=getUpdateNoticeCachePath();await mkdir(dirname(_0x439e45),{'recursive':!![]}),await writeFile(_0x439e45,JSON[_0x925396(0xab)](_0x3b73eb,null,0x2)+'\x0a',_0x925396(0xb4));}catch{}}function isFreshCheck(_0x3a6720,_0x3e9fa1){const _0x2c0ce3=a218_0x1eb3;return typeof _0x3a6720[_0x2c0ce3(0xb9)]===_0x2c0ce3(0xb5)&&_0x3e9fa1-_0x3a6720[_0x2c0ce3(0xb9)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x2907c6,_0x1bcc39,_0x1b9bde){const _0x4359cc=a218_0x1eb3;return _0x2907c6[_0x4359cc(0xb8)]===_0x1bcc39&&typeof _0x2907c6[_0x4359cc(0xb7)]==='number'&&_0x1b9bde-_0x2907c6[_0x4359cc(0xb7)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x3bb671){const _0x300e41=a218_0x1eb3;return _0x300e41(0xb3)+NPM_PACKAGE_NAME+'/v/'+_0x3bb671;}export async function resolveLatestUpdateNotice(){const _0x53d788=a218_0x1eb3;if(isUpdateNoticeDisabled())return null;try{const _0x8c1a8d=Date[_0x53d788(0xb6)](),_0x5cfa3a=getCliVersion(),_0x14a4b6=await readUpdateNoticeCache();let _0x4acb66=isFreshCheck(_0x14a4b6,_0x8c1a8d)?_0x14a4b6[_0x53d788(0xa3)]?.[_0x53d788(0xa4)]():undefined;if(!_0x4acb66&&!isFreshCheck(_0x14a4b6,_0x8c1a8d)){const _0x173b77=await getCliVersionPolicy();_0x4acb66=_0x173b77?.['stableVersion']?.[_0x53d788(0xa4)]()||undefined,await writeUpdateNoticeCache({..._0x14a4b6,'checkedAt':_0x8c1a8d,'latest':_0x4acb66,'failed':!_0x4acb66});}if(!_0x4acb66||!a218_0x3507e6['valid'](_0x5cfa3a)||!a218_0x3507e6[_0x53d788(0xa1)](_0x4acb66))return null;if(a218_0x3507e6[_0x53d788(0xbb)](_0x5cfa3a,_0x4acb66))return null;if(isRecentlyNotified(_0x14a4b6,_0x4acb66,_0x8c1a8d))return null;const _0x4b1297=CLI_BIN_NAME+_0x53d788(0xa2);return await writeUpdateNoticeCache({..._0x14a4b6,'checkedAt':isFreshCheck(_0x14a4b6,_0x8c1a8d)?_0x14a4b6[_0x53d788(0xb9)]:_0x8c1a8d,'latest':_0x4acb66,'failed':![],'lastNotifiedVersion':_0x4acb66,'lastNotifiedAt':_0x8c1a8d}),{'command':_0x4b1297,'current':_0x5cfa3a,'latest':_0x4acb66,'url':buildNpmVersionUrl(_0x4acb66),'message':CLI_BIN_NAME+'\x20'+_0x4acb66+_0x53d788(0xad)+_0x5cfa3a+_0x53d788(0xa9)+_0x4b1297};}catch{return null;}}
1
+ (function(_0x440729,_0x1d9aa6){const _0x553108=a218_0x5382,_0x26a299=_0x440729();while(!![]){try{const _0x5c8247=parseInt(_0x553108(0x190))/0x1*(parseInt(_0x553108(0x196))/0x2)+parseInt(_0x553108(0x191))/0x3+-parseInt(_0x553108(0x197))/0x4*(-parseInt(_0x553108(0x184))/0x5)+-parseInt(_0x553108(0x199))/0x6*(-parseInt(_0x553108(0x189))/0x7)+-parseInt(_0x553108(0x193))/0x8+parseInt(_0x553108(0x187))/0x9+-parseInt(_0x553108(0x18a))/0xa;if(_0x5c8247===_0x1d9aa6)break;else _0x26a299['push'](_0x26a299['shift']());}catch(_0x523fbf){_0x26a299['push'](_0x26a299['shift']());}}}(a218_0x2ddc,0xa7716));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';function a218_0x5382(_0x3a61d2,_0x62c804){_0x3a61d2=_0x3a61d2-0x183;const _0x2ddcd0=a218_0x2ddc();let _0x53820e=_0x2ddcd0[_0x3a61d2];return _0x53820e;}import{dirname,join}from'node:path';import a218_0x4d26a8 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 _0x58f5cd=a218_0x5382,_0x4e9c35=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x58f5cd(0x185)]()[_0x58f5cd(0x188)]();return _0x4e9c35==='1'||_0x4e9c35===_0x58f5cd(0x195)||_0x4e9c35==='yes';}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0x3bab26=a218_0x5382;return join(cacheRoot(),_0x3bab26(0x19c),_0x3bab26(0x194));}async function readUpdateNoticeCache(){const _0x287607=a218_0x5382;try{const _0x41a486=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x1f28ba=JSON[_0x287607(0x18d)](_0x41a486);if(!_0x1f28ba||typeof _0x1f28ba!=='object')return{};return _0x1f28ba;}catch{return{};}}async function writeUpdateNoticeCache(_0x6b4876){const _0x4bf89a=a218_0x5382;try{const _0x159192=getUpdateNoticeCachePath();await mkdir(dirname(_0x159192),{'recursive':!![]}),await writeFile(_0x159192,JSON[_0x4bf89a(0x183)](_0x6b4876,null,0x2)+'\x0a',_0x4bf89a(0x19e));}catch{}}function a218_0x2ddc(){const _0x5ed4b3=['true','4NhrJuB','1779964OooLMs','checkedAt','15174ohQfGO',',\x20run:\x20','stableVersion','rabetbase-cli','valid','utf8','stringify','15LHXzsD','trim','/v/','9032175TmtVou','toLowerCase','3143hZteue','47558770egzMxI','lastNotifiedAt','\x20update','parse','gte','number','391928jLATbu','4074399MpgQYB','lastNotifiedVersion','1394680xSvvxY','update-check.json'];a218_0x2ddc=function(){return _0x5ed4b3;};return a218_0x2ddc();}function isFreshCheck(_0x2401bb,_0x249800){const _0x4c0d80=a218_0x5382;return typeof _0x2401bb['checkedAt']===_0x4c0d80(0x18f)&&_0x249800-_0x2401bb[_0x4c0d80(0x198)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x175220,_0x1723a6,_0x27b231){const _0xcfbe7f=a218_0x5382;return _0x175220[_0xcfbe7f(0x192)]===_0x1723a6&&typeof _0x175220[_0xcfbe7f(0x18b)]===_0xcfbe7f(0x18f)&&_0x27b231-_0x175220[_0xcfbe7f(0x18b)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x5f4cbb){const _0xd54d03=a218_0x5382;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0xd54d03(0x186)+_0x5f4cbb;}export async function resolveLatestUpdateNotice(){const _0x396b96=a218_0x5382;if(isUpdateNoticeDisabled())return null;try{const _0x51604d=Date['now'](),_0xa4116e=getCliVersion(),_0x2ad1d8=await readUpdateNoticeCache();let _0x31d99b=isFreshCheck(_0x2ad1d8,_0x51604d)?_0x2ad1d8['latest']?.[_0x396b96(0x185)]():undefined;if(!_0x31d99b&&!isFreshCheck(_0x2ad1d8,_0x51604d)){const _0x2bfd1a=await getCliVersionPolicy();_0x31d99b=_0x2bfd1a?.[_0x396b96(0x19b)]?.[_0x396b96(0x185)]()||undefined,await writeUpdateNoticeCache({..._0x2ad1d8,'checkedAt':_0x51604d,'latest':_0x31d99b,'failed':!_0x31d99b});}if(!_0x31d99b||!a218_0x4d26a8[_0x396b96(0x19d)](_0xa4116e)||!a218_0x4d26a8[_0x396b96(0x19d)](_0x31d99b))return null;if(a218_0x4d26a8[_0x396b96(0x18e)](_0xa4116e,_0x31d99b))return null;if(isRecentlyNotified(_0x2ad1d8,_0x31d99b,_0x51604d))return null;const _0x252266=CLI_BIN_NAME+_0x396b96(0x18c);return await writeUpdateNoticeCache({..._0x2ad1d8,'checkedAt':isFreshCheck(_0x2ad1d8,_0x51604d)?_0x2ad1d8[_0x396b96(0x198)]:_0x51604d,'latest':_0x31d99b,'failed':![],'lastNotifiedVersion':_0x31d99b,'lastNotifiedAt':_0x51604d}),{'command':_0x252266,'current':_0xa4116e,'latest':_0x31d99b,'url':buildNpmVersionUrl(_0x31d99b),'message':CLI_BIN_NAME+'\x20'+_0x31d99b+'\x20available,\x20current\x20'+_0xa4116e+_0x396b96(0x19a)+_0x252266};}catch{return null;}}
@@ -1 +1 @@
1
- function a219_0x1cf6(_0x4ac229,_0x2ae777){_0x4ac229=_0x4ac229-0x1c6;var _0x454385=a219_0x4543();var _0x1cf6bf=_0x454385[_0x4ac229];return _0x1cf6bf;}(function(_0x2d6ec8,_0x32ae45){var _0x2ab961=a219_0x1cf6,_0x19d443=_0x2d6ec8();while(!![]){try{var _0x1b2788=parseInt(_0x2ab961(0x1c6))/0x1+parseInt(_0x2ab961(0x1c7))/0x2+parseInt(_0x2ab961(0x1cb))/0x3+parseInt(_0x2ab961(0x1c9))/0x4+parseInt(_0x2ab961(0x1cd))/0x5*(parseInt(_0x2ab961(0x1cc))/0x6)+-parseInt(_0x2ab961(0x1c8))/0x7+-parseInt(_0x2ab961(0x1ca))/0x8;if(_0x1b2788===_0x32ae45)break;else _0x19d443['push'](_0x19d443['shift']());}catch(_0x22c33a){_0x19d443['push'](_0x19d443['shift']());}}}(a219_0x4543,0x79864));function a219_0x4543(){var _0x242bae=['4633510gthLxQ','877410ECogYK','1117178tKnYXj','2455474CVwqJG','1522928LfaBxB','16680368roVZOp','570477OziNYp','6OAGRLb'];a219_0x4543=function(){return _0x242bae;};return a219_0x4543();}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
1
+ function a219_0x2137(){var _0x4750da=['2AJCIIg','35CaVsDr','1103550nZPTZR','8518780nksUOH','291236vIwOaE','9dhpCWQ','2473341kslMUE','5292888ltqcdW','4209140pAlhPN','1835700fPcXEk'];a219_0x2137=function(){return _0x4750da;};return a219_0x2137();}(function(_0x46fa58,_0xf4d8c1){var _0x413dec=a219_0x19e9,_0x12925b=_0x46fa58();while(!![]){try{var _0x54dbae=-parseInt(_0x413dec(0x1a0))/0x1+-parseInt(_0x413dec(0x19c))/0x2*(parseInt(_0x413dec(0x1a2))/0x3)+-parseInt(_0x413dec(0x1a4))/0x4+parseInt(_0x413dec(0x19f))/0x5+parseInt(_0x413dec(0x19e))/0x6*(parseInt(_0x413dec(0x19d))/0x7)+parseInt(_0x413dec(0x1a3))/0x8*(parseInt(_0x413dec(0x1a1))/0x9)+-parseInt(_0x413dec(0x19b))/0xa;if(_0x54dbae===_0xf4d8c1)break;else _0x12925b['push'](_0x12925b['shift']());}catch(_0x58b633){_0x12925b['push'](_0x12925b['shift']());}}}(a219_0x2137,0xe3e4e));function a219_0x19e9(_0x434f35,_0x35b30e){_0x434f35=_0x434f35-0x19b;var _0x2137c1=a219_0x2137();var _0x19e9b2=_0x2137c1[_0x434f35];return _0x19e9b2;}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- function a220_0x5e45(){var _0x22d4fc=['4JNpehd','1394343ujhDfe','4bxLMWi','1205757gCatLF','5703882IrrSVU','5589600moqmCR','2590553wvPjGl','48wmYuvp','4560900GjRTXU','405094BnLpQs'];a220_0x5e45=function(){return _0x22d4fc;};return a220_0x5e45();}(function(_0x79ea85,_0x364eb7){var _0x53e8ef=a220_0x4512,_0x415306=_0x79ea85();while(!![]){try{var _0x4bfe48=-parseInt(_0x53e8ef(0x1d6))/0x1*(-parseInt(_0x53e8ef(0x1cf))/0x2)+-parseInt(_0x53e8ef(0x1ce))/0x3*(parseInt(_0x53e8ef(0x1cd))/0x4)+parseInt(_0x53e8ef(0x1d5))/0x5+parseInt(_0x53e8ef(0x1d1))/0x6+-parseInt(_0x53e8ef(0x1d3))/0x7+parseInt(_0x53e8ef(0x1d4))/0x8*(-parseInt(_0x53e8ef(0x1d0))/0x9)+-parseInt(_0x53e8ef(0x1d2))/0xa;if(_0x4bfe48===_0x364eb7)break;else _0x415306['push'](_0x415306['shift']());}catch(_0x547bab){_0x415306['push'](_0x415306['shift']());}}}(a220_0x5e45,0x740dd));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a220_0x4512(_0x2d232d,_0x4a9038){_0x2d232d=_0x2d232d-0x1cd;var _0x5e45c4=a220_0x5e45();var _0x451249=_0x5e45c4[_0x2d232d];return _0x451249;}export async function withActiveCookie(_0x194107,_0x4dd4df){setActiveCookie(_0x194107);try{return await _0x4dd4df();}finally{clearActiveCookie();}}
1
+ (function(_0xd6b780,_0x4dfed7){var _0x2092ae=a220_0x5efd,_0x1657eb=_0xd6b780();while(!![]){try{var _0x44508b=-parseInt(_0x2092ae(0x6f))/0x1+parseInt(_0x2092ae(0x78))/0x2+-parseInt(_0x2092ae(0x76))/0x3+parseInt(_0x2092ae(0x70))/0x4*(parseInt(_0x2092ae(0x72))/0x5)+parseInt(_0x2092ae(0x73))/0x6*(parseInt(_0x2092ae(0x74))/0x7)+parseInt(_0x2092ae(0x77))/0x8*(parseInt(_0x2092ae(0x75))/0x9)+-parseInt(_0x2092ae(0x79))/0xa*(-parseInt(_0x2092ae(0x71))/0xb);if(_0x44508b===_0x4dfed7)break;else _0x1657eb['push'](_0x1657eb['shift']());}catch(_0x2fcfe6){_0x1657eb['push'](_0x1657eb['shift']());}}}(a220_0x2b5f,0xa8a71));function a220_0x5efd(_0x413b06,_0x1f0144){_0x413b06=_0x413b06-0x6f;var _0x2b5fd7=a220_0x2b5f();var _0x5efdec=_0x2b5fd7[_0x413b06];return _0x5efdec;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a220_0x2b5f(){var _0x135a05=['690075TnXcFe','678UJmBHc','7784AnimeB','171lkQUYr','3572133wZdxQI','472Zrknwl','2119928svMTMd','10EVPaLI','976982HSVIKW','28rQnEYy','7762128GXYQTA'];a220_0x2b5f=function(){return _0x135a05;};return a220_0x2b5f();}export async function withActiveCookie(_0x5cd230,_0x50da63){setActiveCookie(_0x5cd230);try{return await _0x50da63();}finally{clearActiveCookie();}}
@@ -1 +1 @@
1
- (function(_0x2d3caf,_0x5ee7f3){var _0x5d3d39=a221_0x5cb1,_0x3c8200=_0x2d3caf();while(!![]){try{var _0x3870e9=-parseInt(_0x5d3d39(0x124))/0x1+-parseInt(_0x5d3d39(0x123))/0x2*(-parseInt(_0x5d3d39(0x126))/0x3)+-parseInt(_0x5d3d39(0x127))/0x4+-parseInt(_0x5d3d39(0x122))/0x5+parseInt(_0x5d3d39(0x129))/0x6*(-parseInt(_0x5d3d39(0x125))/0x7)+-parseInt(_0x5d3d39(0x121))/0x8*(parseInt(_0x5d3d39(0x12b))/0x9)+parseInt(_0x5d3d39(0x128))/0xa;if(_0x3870e9===_0x5ee7f3)break;else _0x3c8200['push'](_0x3c8200['shift']());}catch(_0x332c5c){_0x3c8200['push'](_0x3c8200['shift']());}}}(a221_0x2552,0x7893c));function a221_0x5cb1(_0x230994,_0x33e38f){_0x230994=_0x230994-0x121;var _0x255236=a221_0x2552();var _0x5cb1ab=_0x255236[_0x230994];return _0x5cb1ab;}function a221_0x2552(){var _0x4c9f5b=['973DMTIbq','51hgiSPr','574504xWpcjr','18564970AbdrCz','4776TgLzAM','write','1869111ckgbzK','8tfcmMp','2999770ECbQrX','32686ooSqpt','578541LPFGKQ'];a221_0x2552=function(){return _0x4c9f5b;};return a221_0x2552();}export function writeCliSideChannelLine(_0x1ff809){var _0x5301f7=a221_0x5cb1;process['stderr'][_0x5301f7(0x12a)](_0x1ff809+'\x0a');}
1
+ function a221_0x4a58(_0x5a02aa,_0xa4c4fe){_0x5a02aa=_0x5a02aa-0x1f0;var _0x286ab0=a221_0x286a();var _0x4a5823=_0x286ab0[_0x5a02aa];return _0x4a5823;}function a221_0x286a(){var _0x5594ca=['550646HLxbBj','6444120cRXCKs','22435rxEWgH','13848bWjESL','1407805Czummc','132170HJIvSG','4lMEANj','1928JrfxMb','13453ELTFvX','288ERYuOP','1cqoZmA','2809506ydgvrG'];a221_0x286a=function(){return _0x5594ca;};return a221_0x286a();}(function(_0x1b9b6d,_0xeeb90b){var _0xdf892e=a221_0x4a58,_0x1d6873=_0x1b9b6d();while(!![]){try{var _0x2caf8e=parseInt(_0xdf892e(0x1f0))/0x1*(parseInt(_0xdf892e(0x1f2))/0x2)+parseInt(_0xdf892e(0x1f1))/0x3*(-parseInt(_0xdf892e(0x1f8))/0x4)+-parseInt(_0xdf892e(0x1f6))/0x5+-parseInt(_0xdf892e(0x1f3))/0x6+parseInt(_0xdf892e(0x1f4))/0x7*(parseInt(_0xdf892e(0x1f9))/0x8)+parseInt(_0xdf892e(0x1fb))/0x9*(parseInt(_0xdf892e(0x1f7))/0xa)+parseInt(_0xdf892e(0x1fa))/0xb*(parseInt(_0xdf892e(0x1f5))/0xc);if(_0x2caf8e===_0xeeb90b)break;else _0x1d6873['push'](_0x1d6873['shift']());}catch(_0x572b38){_0x1d6873['push'](_0x1d6873['shift']());}}}(a221_0x286a,0x9006b));export function writeCliSideChannelLine(_0x24a80f){process['stderr']['write'](_0x24a80f+'\x0a');}
package/package.json CHANGED
@@ -1,7 +1,21 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.4-beta.1",
3
+ "version": "2.3.4-beta.2",
4
+ "description": "Developer CLI for Lovrabet apps, datasets, pages, SQL, BFF, database connections, skills, and AI agent workflows.",
4
5
  "license": "SEE LICENSE IN LICENSE",
6
+ "keywords": [
7
+ "lovrabet",
8
+ "rabetbase",
9
+ "cli",
10
+ "developer-tools",
11
+ "ai-agent",
12
+ "agent-tools",
13
+ "dataset",
14
+ "bff",
15
+ "sql",
16
+ "low-code"
17
+ ],
18
+ "homepage": "https://open.lovrabet.com/",
5
19
  "repository": {
6
20
  "type": "git",
7
21
  "url": "git@codeup.aliyun.com:yuntoo/open/rabetbase-cli.git"
@@ -52,7 +66,9 @@
52
66
  "files": [
53
67
  "lib",
54
68
  "templates",
55
- "sidecar"
69
+ "sidecar",
70
+ "README.md",
71
+ "LICENSE"
56
72
  ],
57
73
  "dependencies": {
58
74
  "@inquirer/prompts": "^8.3.2",