@lovrabet/rabetbase-cli 2.3.4-beta.1 → 2.3.4-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 (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(_0x415c64,_0x3cdd79){const _0x1f0397=a218_0x2577,_0x3a635e=_0x415c64();while(!![]){try{const _0x82cf4e=parseInt(_0x1f0397(0x174))/0x1*(-parseInt(_0x1f0397(0x17e))/0x2)+parseInt(_0x1f0397(0x171))/0x3+parseInt(_0x1f0397(0x16a))/0x4*(-parseInt(_0x1f0397(0x16d))/0x5)+-parseInt(_0x1f0397(0x177))/0x6*(-parseInt(_0x1f0397(0x16b))/0x7)+parseInt(_0x1f0397(0x172))/0x8+parseInt(_0x1f0397(0x186))/0x9*(parseInt(_0x1f0397(0x189))/0xa)+-parseInt(_0x1f0397(0x17c))/0xb*(parseInt(_0x1f0397(0x180))/0xc);if(_0x82cf4e===_0x3cdd79)break;else _0x3a635e['push'](_0x3a635e['shift']());}catch(_0x5d7a45){_0x3a635e['push'](_0x3a635e['shift']());}}}(a218_0x44a4,0x4ffdf));function a218_0x2577(_0x5cd961,_0x51c035){_0x5cd961=_0x5cd961-0x169;const _0x44a4aa=a218_0x44a4();let _0x257703=_0x44a4aa[_0x5cd961];return _0x257703;}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a218_0x378afa 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 a218_0x44a4(){const _0xcd007e=['486DTMSTe','now','.cache','68230KYRrNa','stableVersion','8yDbBBU','35LfCWpV','valid','165075sQRPuM','gte','\x20available,\x20current\x20','latest','1947495aVHlAS','1093128wWvYkz','/v/','37pIOfFa','utf8','update-check.json','194946wdJOmF','stringify','https://www.npmjs.com/package/','checkedAt','number','2445388bPgkSg','\x20update','25860YcrsOR','rabetbase-cli','24CuULyU','object','lastNotifiedAt','trim','parse','lastNotifiedVersion'];a218_0x44a4=function(){return _0xcd007e;};return a218_0x44a4();}function isUpdateNoticeDisabled(){const _0x4f0e3c=a218_0x2577,_0x215961=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x4f0e3c(0x183)]()['toLowerCase']();return _0x215961==='1'||_0x215961==='true'||_0x215961==='yes';}function cacheRoot(){const _0x412af5=a218_0x2577;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x412af5(0x188));}export function getUpdateNoticeCachePath(){const _0x31b583=a218_0x2577;return join(cacheRoot(),_0x31b583(0x17f),_0x31b583(0x176));}async function readUpdateNoticeCache(){const _0x2e8dbd=a218_0x2577;try{const _0x3a5476=await readFile(getUpdateNoticeCachePath(),_0x2e8dbd(0x175)),_0x21f294=JSON[_0x2e8dbd(0x184)](_0x3a5476);if(!_0x21f294||typeof _0x21f294!==_0x2e8dbd(0x181))return{};return _0x21f294;}catch{return{};}}async function writeUpdateNoticeCache(_0x20b5b8){const _0x4ce5f8=a218_0x2577;try{const _0x420160=getUpdateNoticeCachePath();await mkdir(dirname(_0x420160),{'recursive':!![]}),await writeFile(_0x420160,JSON[_0x4ce5f8(0x178)](_0x20b5b8,null,0x2)+'\x0a',_0x4ce5f8(0x175));}catch{}}function isFreshCheck(_0x3aca4e,_0x53f71c){const _0x286e1f=a218_0x2577;return typeof _0x3aca4e[_0x286e1f(0x17a)]===_0x286e1f(0x17b)&&_0x53f71c-_0x3aca4e[_0x286e1f(0x17a)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x269201,_0x5562b5,_0xec1fdd){const _0x49f1f3=a218_0x2577;return _0x269201[_0x49f1f3(0x185)]===_0x5562b5&&typeof _0x269201['lastNotifiedAt']==='number'&&_0xec1fdd-_0x269201[_0x49f1f3(0x182)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x431104){const _0x16de55=a218_0x2577;return _0x16de55(0x179)+NPM_PACKAGE_NAME+_0x16de55(0x173)+_0x431104;}export async function resolveLatestUpdateNotice(){const _0x54e4cc=a218_0x2577;if(isUpdateNoticeDisabled())return null;try{const _0x4543f2=Date[_0x54e4cc(0x187)](),_0x17db3a=getCliVersion(),_0x5ba155=await readUpdateNoticeCache();let _0x314f48=isFreshCheck(_0x5ba155,_0x4543f2)?_0x5ba155[_0x54e4cc(0x170)]?.[_0x54e4cc(0x183)]():undefined;if(!_0x314f48&&!isFreshCheck(_0x5ba155,_0x4543f2)){const _0x2dbae2=await getCliVersionPolicy();_0x314f48=_0x2dbae2?.[_0x54e4cc(0x169)]?.[_0x54e4cc(0x183)]()||undefined,await writeUpdateNoticeCache({..._0x5ba155,'checkedAt':_0x4543f2,'latest':_0x314f48,'failed':!_0x314f48});}if(!_0x314f48||!a218_0x378afa['valid'](_0x17db3a)||!a218_0x378afa[_0x54e4cc(0x16c)](_0x314f48))return null;if(a218_0x378afa[_0x54e4cc(0x16e)](_0x17db3a,_0x314f48))return null;if(isRecentlyNotified(_0x5ba155,_0x314f48,_0x4543f2))return null;const _0xbaf3fd=CLI_BIN_NAME+_0x54e4cc(0x17d);return await writeUpdateNoticeCache({..._0x5ba155,'checkedAt':isFreshCheck(_0x5ba155,_0x4543f2)?_0x5ba155[_0x54e4cc(0x17a)]:_0x4543f2,'latest':_0x314f48,'failed':![],'lastNotifiedVersion':_0x314f48,'lastNotifiedAt':_0x4543f2}),{'command':_0xbaf3fd,'current':_0x17db3a,'latest':_0x314f48,'url':buildNpmVersionUrl(_0x314f48),'message':CLI_BIN_NAME+'\x20'+_0x314f48+_0x54e4cc(0x16f)+_0x17db3a+',\x20run:\x20'+_0xbaf3fd};}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(_0x5c4ccf,_0xa3fa76){var _0x30da0b=a219_0x53a8,_0x2447c1=_0x5c4ccf();while(!![]){try{var _0x998536=parseInt(_0x30da0b(0x117))/0x1+parseInt(_0x30da0b(0x118))/0x2*(-parseInt(_0x30da0b(0x11e))/0x3)+parseInt(_0x30da0b(0x120))/0x4*(parseInt(_0x30da0b(0x119))/0x5)+parseInt(_0x30da0b(0x116))/0x6*(-parseInt(_0x30da0b(0x11b))/0x7)+parseInt(_0x30da0b(0x11c))/0x8+-parseInt(_0x30da0b(0x11f))/0x9+parseInt(_0x30da0b(0x11d))/0xa*(parseInt(_0x30da0b(0x11a))/0xb);if(_0x998536===_0xa3fa76)break;else _0x2447c1['push'](_0x2447c1['shift']());}catch(_0x4b3123){_0x2447c1['push'](_0x2447c1['shift']());}}}(a219_0x30f5,0xe15b4));function a219_0x53a8(_0x57ef48,_0x30fe9c){_0x57ef48=_0x57ef48-0x116;var _0x30f526=a219_0x30f5();var _0x53a896=_0x30f526[_0x57ef48];return _0x53a896;}import{VERSION}from'../generated/build-info.js';function a219_0x30f5(){var _0x5e342f=['111SuyxVM','6818238NenDkx','55336FGVNLm','2581704EltQMG','1162322BqOPwh','6584ZmbAkK','75aCGTFQ','3982GzypGV','7yHxRNJ','3587264hgvAvT','11450kbhqCz'];a219_0x30f5=function(){return _0x5e342f;};return a219_0x30f5();}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 a220_0xb3c5(){var _0x2a205e=['3723475TKShev','2903616rBIOGn','225212DoHYMd','30kMzywL','4VoBXxY','1018056zUsoFr','1086518RbUxqf','175703TyEBdm','8UIdxZM','5RjIKEU','2317818YMECAx'];a220_0xb3c5=function(){return _0x2a205e;};return a220_0xb3c5();}(function(_0x504226,_0x300eaa){var _0x1942fc=a220_0x2026,_0x20827d=_0x504226();while(!![]){try{var _0x262593=parseInt(_0x1942fc(0x10d))/0x1+parseInt(_0x1942fc(0x106))/0x2+-parseInt(_0x1942fc(0x105))/0x3*(parseInt(_0x1942fc(0x104))/0x4)+-parseInt(_0x1942fc(0x109))/0x5*(parseInt(_0x1942fc(0x10a))/0x6)+-parseInt(_0x1942fc(0x10b))/0x7*(-parseInt(_0x1942fc(0x108))/0x8)+-parseInt(_0x1942fc(0x10c))/0x9+parseInt(_0x1942fc(0x103))/0xa*(parseInt(_0x1942fc(0x107))/0xb);if(_0x262593===_0x300eaa)break;else _0x20827d['push'](_0x20827d['shift']());}catch(_0x1e03d9){_0x20827d['push'](_0x20827d['shift']());}}}(a220_0xb3c5,0x49404));function a220_0x2026(_0x14d75b,_0x3fbff5){_0x14d75b=_0x14d75b-0x103;var _0xb3c561=a220_0xb3c5();var _0x2026ad=_0xb3c561[_0x14d75b];return _0x2026ad;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x5e6069,_0x3b98ab){setActiveCookie(_0x5e6069);try{return await _0x3b98ab();}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(_0x32f9b9,_0x42a17b){var _0x3140db=a221_0x3544,_0x59c0d4=_0x32f9b9();while(!![]){try{var _0x2c9f60=parseInt(_0x3140db(0x14d))/0x1*(-parseInt(_0x3140db(0x14c))/0x2)+-parseInt(_0x3140db(0x145))/0x3+-parseInt(_0x3140db(0x14f))/0x4+parseInt(_0x3140db(0x14a))/0x5+parseInt(_0x3140db(0x146))/0x6*(parseInt(_0x3140db(0x14b))/0x7)+parseInt(_0x3140db(0x14e))/0x8*(parseInt(_0x3140db(0x144))/0x9)+-parseInt(_0x3140db(0x143))/0xa*(-parseInt(_0x3140db(0x149))/0xb);if(_0x2c9f60===_0x42a17b)break;else _0x59c0d4['push'](_0x59c0d4['shift']());}catch(_0x51b683){_0x59c0d4['push'](_0x59c0d4['shift']());}}}(a221_0x52ed,0x50967));function a221_0x3544(_0x2346ea,_0x342895){_0x2346ea=_0x2346ea-0x143;var _0x52ed7c=a221_0x52ed();var _0x3544c6=_0x52ed7c[_0x2346ea];return _0x3544c6;}function a221_0x52ed(){var _0x33a40e=['3143XlAtbp','846834hhhMxX','1nXXVEk','179472UzinPu','2406256bRHyPF','40fRzZtj','261JkwBWv','1060881UHGijL','8358UhZvYe','stderr','write','898557xEGGpb','529520tnTqES'];a221_0x52ed=function(){return _0x33a40e;};return a221_0x52ed();}export function writeCliSideChannelLine(_0x2f9a30){var _0x4601e0=a221_0x3544;process[_0x4601e0(0x147)][_0x4601e0(0x148)](_0x2f9a30+'\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.3",
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",