@lovrabet/rabetbase-cli 2.4.4-beta.1 → 2.4.4

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 (299) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/index.js +1 -1
  20. package/lib/commands/app/list.js +1 -1
  21. package/lib/commands/app/members-list.js +1 -1
  22. package/lib/commands/app/remote-directory.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app-config/delete.js +1 -1
  25. package/lib/commands/app-config/get.js +1 -1
  26. package/lib/commands/app-config/index.js +1 -1
  27. package/lib/commands/app-config/list.js +1 -1
  28. package/lib/commands/app-config/set.js +1 -1
  29. package/lib/commands/app-config/shared.js +1 -1
  30. package/lib/commands/auth/index.js +1 -1
  31. package/lib/commands/bff/create.js +1 -1
  32. package/lib/commands/bff/delete.js +1 -1
  33. package/lib/commands/bff/detail.js +1 -1
  34. package/lib/commands/bff/index.js +1 -1
  35. package/lib/commands/bff/list.js +1 -1
  36. package/lib/commands/bff/pull.js +1 -1
  37. package/lib/commands/bff/push.js +1 -1
  38. package/lib/commands/bff/status.js +1 -1
  39. package/lib/commands/cli-skill/index.js +1 -1
  40. package/lib/commands/cli-update.js +1 -1
  41. package/lib/commands/codegen/index.js +1 -1
  42. package/lib/commands/codegen/sdk.js +1 -1
  43. package/lib/commands/codegen/sql.js +1 -1
  44. package/lib/commands/common/app-registry.js +1 -1
  45. package/lib/commands/common/app-selector.js +1 -1
  46. package/lib/commands/common/async-task.js +1 -1
  47. package/lib/commands/common/dry-run.js +1 -1
  48. package/lib/commands/common/flags.js +1 -1
  49. package/lib/commands/common/local-file.js +1 -1
  50. package/lib/commands/common/validate.js +1 -1
  51. package/lib/commands/config/get.js +1 -1
  52. package/lib/commands/config/index.js +1 -1
  53. package/lib/commands/config/list.js +1 -1
  54. package/lib/commands/config/set.js +1 -1
  55. package/lib/commands/config/shared.js +1 -1
  56. package/lib/commands/data/filter.js +1 -1
  57. package/lib/commands/data/getOne.js +1 -1
  58. package/lib/commands/data/index.js +1 -1
  59. package/lib/commands/data/shared.js +1 -1
  60. package/lib/commands/dataset/business-group-update.js +1 -1
  61. package/lib/commands/dataset/capability.js +1 -1
  62. package/lib/commands/dataset/delete.js +1 -1
  63. package/lib/commands/dataset/detail.js +1 -1
  64. package/lib/commands/dataset/extend-update.js +1 -1
  65. package/lib/commands/dataset/field-update.js +1 -1
  66. package/lib/commands/dataset/generate.js +1 -1
  67. package/lib/commands/dataset/index.js +1 -1
  68. package/lib/commands/dataset/list.js +1 -1
  69. package/lib/commands/dataset/operations.js +1 -1
  70. package/lib/commands/dataset/relation-audit.js +1 -1
  71. package/lib/commands/dataset/relation-create.js +1 -1
  72. package/lib/commands/dataset/relation-delete.js +1 -1
  73. package/lib/commands/dataset/relation-shared.js +1 -1
  74. package/lib/commands/dataset/relation-update.js +1 -1
  75. package/lib/commands/dataset/relations.js +1 -1
  76. package/lib/commands/dataset/rename.js +1 -1
  77. package/lib/commands/dataset/restore.js +1 -1
  78. package/lib/commands/db/analysis-batching.js +1 -1
  79. package/lib/commands/db/analyze-batch-plan.js +1 -1
  80. package/lib/commands/db/analyze-cancel.js +1 -1
  81. package/lib/commands/db/analyze-start.js +1 -1
  82. package/lib/commands/db/analyze-status.js +1 -1
  83. package/lib/commands/db/create.js +1 -1
  84. package/lib/commands/db/delete.js +1 -1
  85. package/lib/commands/db/detail.js +1 -1
  86. package/lib/commands/db/diff-refresh-start.js +1 -1
  87. package/lib/commands/db/diff-refresh-status.js +1 -1
  88. package/lib/commands/db/diff.js +1 -1
  89. package/lib/commands/db/index.js +1 -1
  90. package/lib/commands/db/list.js +1 -1
  91. package/lib/commands/db/shared.js +1 -1
  92. package/lib/commands/db/tables.js +1 -1
  93. package/lib/commands/db/test.js +1 -1
  94. package/lib/commands/db/update.js +1 -1
  95. package/lib/commands/doctor.js +1 -1
  96. package/lib/commands/file/index.js +1 -1
  97. package/lib/commands/init/index.js +1 -1
  98. package/lib/commands/issue/index.js +1 -1
  99. package/lib/commands/issue/nudge.js +1 -1
  100. package/lib/commands/issue/report.js +1 -1
  101. package/lib/commands/issue/shared.js +1 -1
  102. package/lib/commands/kb/create.js +1 -1
  103. package/lib/commands/kb/delete.js +1 -1
  104. package/lib/commands/kb/detail.js +1 -1
  105. package/lib/commands/kb/index.js +1 -1
  106. package/lib/commands/kb/list.js +1 -1
  107. package/lib/commands/kb/shared.js +1 -1
  108. package/lib/commands/kb/update.js +1 -1
  109. package/lib/commands/logs/index.js +1 -1
  110. package/lib/commands/menu/asset-update.js +1 -1
  111. package/lib/commands/menu/delete.js +1 -1
  112. package/lib/commands/menu/external-link-create.js +1 -1
  113. package/lib/commands/menu/external-link-update.js +1 -1
  114. package/lib/commands/menu/group-create.js +1 -1
  115. package/lib/commands/menu/group-update.js +1 -1
  116. package/lib/commands/menu/index.js +1 -1
  117. package/lib/commands/menu/list.js +1 -1
  118. package/lib/commands/menu/move.js +1 -1
  119. package/lib/commands/menu/regroup-start.js +1 -1
  120. package/lib/commands/menu/rename.js +1 -1
  121. package/lib/commands/menu/shared/compare-table.js +1 -1
  122. package/lib/commands/menu/shared/delete-plan.js +1 -1
  123. package/lib/commands/menu/shared/facts.js +1 -1
  124. package/lib/commands/menu/shared/index.js +1 -1
  125. package/lib/commands/menu/shared/inquirer.js +1 -1
  126. package/lib/commands/menu/shared/local-pages.js +1 -1
  127. package/lib/commands/menu/shared/logic.js +1 -1
  128. package/lib/commands/menu/shared/mutations.js +1 -1
  129. package/lib/commands/menu/shared/service.js +1 -1
  130. package/lib/commands/menu/shared/sync-core.js +1 -1
  131. package/lib/commands/menu/shared/update-core.js +1 -1
  132. package/lib/commands/menu/shared/valid-url.js +1 -1
  133. package/lib/commands/menu/sync.js +1 -1
  134. package/lib/commands/notification/config-create.js +1 -1
  135. package/lib/commands/notification/config-delete.js +1 -1
  136. package/lib/commands/notification/config-list.js +1 -1
  137. package/lib/commands/notification/config-update.js +1 -1
  138. package/lib/commands/notification/index.js +1 -1
  139. package/lib/commands/notification/shared.js +1 -1
  140. package/lib/commands/ocr/index.js +1 -1
  141. package/lib/commands/page/generate-start.js +1 -1
  142. package/lib/commands/page/generate-status.js +1 -1
  143. package/lib/commands/page/index.js +1 -1
  144. package/lib/commands/page/pull.js +1 -1
  145. package/lib/commands/page/push.js +1 -1
  146. package/lib/commands/page/react/create.js +1 -1
  147. package/lib/commands/page/react/detail.js +1 -1
  148. package/lib/commands/page/react/list.js +1 -1
  149. package/lib/commands/page/react/publish.js +1 -1
  150. package/lib/commands/page/react/shared.js +1 -1
  151. package/lib/commands/page/react/syntax.js +1 -1
  152. package/lib/commands/page/react/template.js +1 -1
  153. package/lib/commands/page/react/update.js +1 -1
  154. package/lib/commands/page/relation-audit.js +1 -1
  155. package/lib/commands/page/restore.js +1 -1
  156. package/lib/commands/page/shared.js +1 -1
  157. package/lib/commands/page/standard-page-status.js +1 -1
  158. package/lib/commands/page/sync.js +1 -1
  159. package/lib/commands/permit/index.js +1 -1
  160. package/lib/commands/permit/page-get.js +1 -1
  161. package/lib/commands/permit/page-set.js +1 -1
  162. package/lib/commands/permit/role-apis-set.js +1 -1
  163. package/lib/commands/permit/role-menus-set.js +1 -1
  164. package/lib/commands/permit/role-menus.js +1 -1
  165. package/lib/commands/permit/shared.js +1 -1
  166. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  167. package/lib/commands/project/create/format-elapsed.js +1 -1
  168. package/lib/commands/project/create/main.js +1 -1
  169. package/lib/commands/project/create/materialize-project-template.js +1 -1
  170. package/lib/commands/project/create/project-name.js +1 -1
  171. package/lib/commands/project/create/project-template-archive.js +1 -1
  172. package/lib/commands/project/create/project-template-path.js +1 -1
  173. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  174. package/lib/commands/project/create/use-format-code.js +1 -1
  175. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  176. package/lib/commands/project/index.js +1 -1
  177. package/lib/commands/project/upgrade.js +1 -1
  178. package/lib/commands/registry.js +1 -1
  179. package/lib/commands/role/create.js +1 -1
  180. package/lib/commands/role/delete.js +1 -1
  181. package/lib/commands/role/detail.js +1 -1
  182. package/lib/commands/role/index.js +1 -1
  183. package/lib/commands/role/list.js +1 -1
  184. package/lib/commands/role/shared.js +1 -1
  185. package/lib/commands/role/update.js +1 -1
  186. package/lib/commands/role/user-add.js +1 -1
  187. package/lib/commands/role/user-remove.js +1 -1
  188. package/lib/commands/role/user-resolve.js +1 -1
  189. package/lib/commands/run/index.js +1 -1
  190. package/lib/commands/schema.js +1 -1
  191. package/lib/commands/sql/create.js +1 -1
  192. package/lib/commands/sql/delete.js +1 -1
  193. package/lib/commands/sql/detail.js +1 -1
  194. package/lib/commands/sql/exec.js +1 -1
  195. package/lib/commands/sql/index.js +1 -1
  196. package/lib/commands/sql/list.js +1 -1
  197. package/lib/commands/sql/pull.js +1 -1
  198. package/lib/commands/sql/push.js +1 -1
  199. package/lib/commands/sql/shared.js +1 -1
  200. package/lib/commands/sql/status.js +1 -1
  201. package/lib/commands/sql/validate.js +1 -1
  202. package/lib/commands/task/index.js +1 -1
  203. package/lib/commands/task/status.js +1 -1
  204. package/lib/commands/tenant/index.js +1 -1
  205. package/lib/commands/tenant/members-list.js +1 -1
  206. package/lib/commands/tenant/shared.js +1 -1
  207. package/lib/commands/user-account/dingding-sandbox-bind.js +1 -1
  208. package/lib/commands/user-account/index.js +1 -1
  209. package/lib/commands/workspace/add.js +1 -1
  210. package/lib/commands/workspace/index.js +1 -1
  211. package/lib/commands/workspace/remove.js +1 -1
  212. package/lib/config/schema.js +1 -1
  213. package/lib/constant/cdn.js +1 -1
  214. package/lib/constant/cli.js +1 -1
  215. package/lib/constant/defaults.js +1 -1
  216. package/lib/constant/domain.js +1 -1
  217. package/lib/constant/env.js +1 -1
  218. package/lib/constant/output.js +1 -1
  219. package/lib/constant/paths.js +1 -1
  220. package/lib/constant/risk.js +1 -1
  221. package/lib/context/app-resolver.js +1 -1
  222. package/lib/context/auth-resolver.js +1 -1
  223. package/lib/context/config-loader.js +1 -1
  224. package/lib/context.js +1 -1
  225. package/lib/core/alias-resolver.js +1 -1
  226. package/lib/core/api-client.js +1 -1
  227. package/lib/core/bff/config.js +1 -1
  228. package/lib/core/bff/file-system.js +1 -1
  229. package/lib/core/bff/hash.js +1 -1
  230. package/lib/core/bff/lock.js +1 -1
  231. package/lib/core/bff/utils.js +1 -1
  232. package/lib/core/db-resolver.js +1 -1
  233. package/lib/core/page/file-system.js +1 -1
  234. package/lib/core/page/hash.js +1 -1
  235. package/lib/core/page/lock.js +1 -1
  236. package/lib/core/sql-index-auditor.js +1 -1
  237. package/lib/core/sql-sync/config.js +1 -1
  238. package/lib/core/sql-sync/file-system.js +1 -1
  239. package/lib/core/sql-sync/hash.js +1 -1
  240. package/lib/core/sql-sync/lock.js +1 -1
  241. package/lib/core/sql-sync/utils.js +1 -1
  242. package/lib/core/sql-validator.js +1 -1
  243. package/lib/errors.js +1 -1
  244. package/lib/framework/build-all-flags.js +1 -1
  245. package/lib/framework/error-output.js +1 -1
  246. package/lib/framework/explicit-yes.js +1 -1
  247. package/lib/framework/flags.js +1 -1
  248. package/lib/framework/help.js +1 -1
  249. package/lib/framework/index.js +1 -1
  250. package/lib/framework/output.js +1 -1
  251. package/lib/framework/response.js +1 -1
  252. package/lib/framework/runner-alias.js +1 -1
  253. package/lib/framework/runner.js +1 -1
  254. package/lib/framework/schema-export.js +1 -1
  255. package/lib/framework/types.js +1 -1
  256. package/lib/generated/build-info.d.ts +4 -4
  257. package/lib/generated/build-info.js +1 -1
  258. package/lib/help.js +1 -1
  259. package/lib/postinstall.js +1 -1
  260. package/lib/runtime/confirmation.js +1 -1
  261. package/lib/runtime/event.js +1 -1
  262. package/lib/runtime/index.js +1 -1
  263. package/lib/runtime/queue.js +1 -1
  264. package/lib/runtime/resolve.js +1 -1
  265. package/lib/skills/builtin-skill.js +1 -1
  266. package/lib/skills/main.js +1 -1
  267. package/lib/skills/npx-skills-add.js +1 -1
  268. package/lib/skills/skill-presence.js +1 -1
  269. package/lib/telemetry/cli-command-trace.js +1 -1
  270. package/lib/telemetry/cli-help-trace.js +1 -1
  271. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  272. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  273. package/lib/telemetry/send-cli-trace-log.js +1 -1
  274. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  275. package/lib/utils/ai_config.js +1 -1
  276. package/lib/utils/apply-jq-filter.js +1 -1
  277. package/lib/utils/cdn-config.js +1 -1
  278. package/lib/utils/check-sdk-version.js +1 -1
  279. package/lib/utils/cli-version-check.js +1 -1
  280. package/lib/utils/cli-version-policy.js +1 -1
  281. package/lib/utils/config.js +1 -1
  282. package/lib/utils/entity-with-id.js +1 -1
  283. package/lib/utils/file-utils.js +1 -1
  284. package/lib/utils/guides-cdn.js +1 -1
  285. package/lib/utils/http-client.js +1 -1
  286. package/lib/utils/is-non-interactive.js +1 -1
  287. package/lib/utils/logger.js +1 -1
  288. package/lib/utils/params.js +1 -1
  289. package/lib/utils/platform.js +1 -1
  290. package/lib/utils/rules-cdn.js +1 -1
  291. package/lib/utils/sleep.js +1 -1
  292. package/lib/utils/template-replacer.js +1 -1
  293. package/lib/utils/update-notice.js +1 -1
  294. package/lib/utils/version.js +1 -1
  295. package/lib/utils/with-active-cookie.js +1 -1
  296. package/lib/utils/write-cli-side-channel.js +1 -1
  297. package/package.json +1 -1
  298. package/skills/rabetbase/SKILL.md +1 -1
  299. package/skills/rabetbase.manifest.json +3 -3
@@ -1 +1 @@
1
- (function(_0x55f4e4,_0x237b97){const _0x2f538a=a297_0x31ee,_0xa1305d=_0x55f4e4();while(!![]){try{const _0xdfec90=-parseInt(_0x2f538a(0xb9))/0x1+-parseInt(_0x2f538a(0xca))/0x2*(parseInt(_0x2f538a(0xbc))/0x3)+parseInt(_0x2f538a(0xc0))/0x4+parseInt(_0x2f538a(0xc8))/0x5*(parseInt(_0x2f538a(0xc6))/0x6)+parseInt(_0x2f538a(0xba))/0x7*(parseInt(_0x2f538a(0xc5))/0x8)+parseInt(_0x2f538a(0xbe))/0x9*(parseInt(_0x2f538a(0xc3))/0xa)+-parseInt(_0x2f538a(0xb6))/0xb;if(_0xdfec90===_0x237b97)break;else _0xa1305d['push'](_0xa1305d['shift']());}catch(_0x10c107){_0xa1305d['push'](_0xa1305d['shift']());}}}(a297_0x307e,0x9d434));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a297_0x464c4f from'semver';function a297_0x31ee(_0x235c32,_0x2eaea3){_0x235c32=_0x235c32-0xb0;const _0x307ebd=a297_0x307e();let _0x31ee88=_0x307ebd[_0x235c32];return _0x31ee88;}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 a297_0x307e(){const _0x9e0263=['true','1010OYFSoy','\x20update','298424TKWQdv','209298xCXxiz','utf8','125CoCsZD','rabetbase-cli','61012yneovT','https://www.npmjs.com/package/','number','now','latest','valid','lastNotifiedAt',',\x20run:\x20','checkedAt','6674228PHkDXI','.cache','/v/','527293jRVRae','49qwTwRw','yes','126BsCgKv','gte','65655IUqkqr','trim','4757800nbaAtY','toLowerCase'];a297_0x307e=function(){return _0x9e0263;};return a297_0x307e();}function isUpdateNoticeDisabled(){const _0x327aac=a297_0x31ee,_0x157dd8=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x327aac(0xbf)]()[_0x327aac(0xc1)]();return _0x157dd8==='1'||_0x157dd8===_0x327aac(0xc2)||_0x157dd8===_0x327aac(0xbb);}function cacheRoot(){const _0x4ce45a=a297_0x31ee;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x4ce45a(0xb7));}export function getUpdateNoticeCachePath(){const _0x22b48c=a297_0x31ee;return join(cacheRoot(),_0x22b48c(0xc9),'update-check.json');}async function readUpdateNoticeCache(){try{const _0x53210f=await readFile(getUpdateNoticeCachePath(),'utf8'),_0xc47d54=JSON['parse'](_0x53210f);if(!_0xc47d54||typeof _0xc47d54!=='object')return{};return _0xc47d54;}catch{return{};}}async function writeUpdateNoticeCache(_0x302d83){const _0x4192bd=a297_0x31ee;try{const _0x2660b3=getUpdateNoticeCachePath();await mkdir(dirname(_0x2660b3),{'recursive':!![]}),await writeFile(_0x2660b3,JSON['stringify'](_0x302d83,null,0x2)+'\x0a',_0x4192bd(0xc7));}catch{}}function isFreshCheck(_0x239d08,_0x13eb02){const _0x23f0a6=a297_0x31ee;return typeof _0x239d08[_0x23f0a6(0xb5)]===_0x23f0a6(0xcc)&&_0x13eb02-_0x239d08[_0x23f0a6(0xb5)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x1504d6,_0xe29254,_0x3a5c84){const _0x156f34=a297_0x31ee;return _0x1504d6['lastNotifiedVersion']===_0xe29254&&typeof _0x1504d6[_0x156f34(0xb3)]===_0x156f34(0xcc)&&_0x3a5c84-_0x1504d6[_0x156f34(0xb3)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x2ac449){const _0x82ddea=a297_0x31ee;return _0x82ddea(0xcb)+NPM_PACKAGE_NAME+_0x82ddea(0xb8)+_0x2ac449;}export async function resolveLatestUpdateNotice(){const _0x164d1d=a297_0x31ee;if(isUpdateNoticeDisabled())return null;try{const _0x27c8a6=Date[_0x164d1d(0xb0)](),_0x5cddcf=getCliVersion(),_0x2c1415=await readUpdateNoticeCache();let _0x40c3f0=isFreshCheck(_0x2c1415,_0x27c8a6)?_0x2c1415[_0x164d1d(0xb1)]?.['trim']():undefined;if(!_0x40c3f0&&!isFreshCheck(_0x2c1415,_0x27c8a6)){const _0x4f0883=await getCliVersionPolicy();_0x40c3f0=_0x4f0883?.['stableVersion']?.[_0x164d1d(0xbf)]()||undefined,await writeUpdateNoticeCache({..._0x2c1415,'checkedAt':_0x27c8a6,'latest':_0x40c3f0,'failed':!_0x40c3f0});}if(!_0x40c3f0||!a297_0x464c4f[_0x164d1d(0xb2)](_0x5cddcf)||!a297_0x464c4f['valid'](_0x40c3f0))return null;if(a297_0x464c4f[_0x164d1d(0xbd)](_0x5cddcf,_0x40c3f0))return null;if(isRecentlyNotified(_0x2c1415,_0x40c3f0,_0x27c8a6))return null;const _0x515a23=CLI_BIN_NAME+_0x164d1d(0xc4);return await writeUpdateNoticeCache({..._0x2c1415,'checkedAt':isFreshCheck(_0x2c1415,_0x27c8a6)?_0x2c1415[_0x164d1d(0xb5)]:_0x27c8a6,'latest':_0x40c3f0,'failed':![],'lastNotifiedVersion':_0x40c3f0,'lastNotifiedAt':_0x27c8a6}),{'command':_0x515a23,'current':_0x5cddcf,'latest':_0x40c3f0,'url':buildNpmVersionUrl(_0x40c3f0),'message':CLI_BIN_NAME+'\x20'+_0x40c3f0+'\x20available,\x20current\x20'+_0x5cddcf+_0x164d1d(0xb4)+_0x515a23};}catch{return null;}}
1
+ function a297_0x5ca6(_0x3138b9,_0x4caa0c){_0x3138b9=_0x3138b9-0x173;const _0x519eab=a297_0x519e();let _0x5ca623=_0x519eab[_0x3138b9];return _0x5ca623;}(function(_0xcb97e3,_0xf52a06){const _0x77de4d=a297_0x5ca6,_0x151f38=_0xcb97e3();while(!![]){try{const _0x3bd0ac=parseInt(_0x77de4d(0x187))/0x1+-parseInt(_0x77de4d(0x190))/0x2*(parseInt(_0x77de4d(0x18b))/0x3)+-parseInt(_0x77de4d(0x179))/0x4*(parseInt(_0x77de4d(0x17a))/0x5)+-parseInt(_0x77de4d(0x18f))/0x6*(-parseInt(_0x77de4d(0x18d))/0x7)+-parseInt(_0x77de4d(0x186))/0x8*(-parseInt(_0x77de4d(0x17b))/0x9)+-parseInt(_0x77de4d(0x180))/0xa*(-parseInt(_0x77de4d(0x176))/0xb)+parseInt(_0x77de4d(0x183))/0xc*(-parseInt(_0x77de4d(0x182))/0xd);if(_0x3bd0ac===_0xf52a06)break;else _0x151f38['push'](_0x151f38['shift']());}catch(_0x126123){_0x151f38['push'](_0x151f38['shift']());}}}(a297_0x519e,0xb2a1c));function a297_0x519e(){const _0x112bb7=['https://www.npmjs.com/package/','true','number','4829TDckTi','valid','object','92xXTFJN','116485lajiAu','18cvNjzd','now','checkedAt','update-check.json','rabetbase-cli','28680LDSFjY','stableVersion','922493XYRRsn','156XQJrTX','yes','toLowerCase','2361616eQIVRT','1096515zOKxhu','latest','trim',',\x20run:\x20','12whITgI','lastNotifiedVersion','480039YiQDaP','parse','30zhZTYW','549428PmzcOT','lastNotifiedAt','\x20available,\x20current\x20','stringify','utf8','/v/'];a297_0x519e=function(){return _0x112bb7;};return a297_0x519e();}import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a297_0x48fda4 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 _0x519ebd=a297_0x5ca6,_0x8583ca=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x519ebd(0x189)]()[_0x519ebd(0x185)]();return _0x8583ca==='1'||_0x8583ca===_0x519ebd(0x174)||_0x8583ca===_0x519ebd(0x184);}function cacheRoot(){return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),'.cache');}export function getUpdateNoticeCachePath(){const _0xd4d537=a297_0x5ca6;return join(cacheRoot(),_0xd4d537(0x17f),_0xd4d537(0x17e));}async function readUpdateNoticeCache(){const _0x93ec0a=a297_0x5ca6;try{const _0x199f2f=await readFile(getUpdateNoticeCachePath(),_0x93ec0a(0x194)),_0x4afe4d=JSON[_0x93ec0a(0x18e)](_0x199f2f);if(!_0x4afe4d||typeof _0x4afe4d!==_0x93ec0a(0x178))return{};return _0x4afe4d;}catch{return{};}}async function writeUpdateNoticeCache(_0x2d54ca){const _0x377d17=a297_0x5ca6;try{const _0x2a6adb=getUpdateNoticeCachePath();await mkdir(dirname(_0x2a6adb),{'recursive':!![]}),await writeFile(_0x2a6adb,JSON[_0x377d17(0x193)](_0x2d54ca,null,0x2)+'\x0a',_0x377d17(0x194));}catch{}}function isFreshCheck(_0x113b3b,_0x3cc282){const _0x1ffb93=a297_0x5ca6;return typeof _0x113b3b[_0x1ffb93(0x17d)]===_0x1ffb93(0x175)&&_0x3cc282-_0x113b3b[_0x1ffb93(0x17d)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x25b82b,_0x55ceef,_0x26bc9d){const _0x2909d7=a297_0x5ca6;return _0x25b82b[_0x2909d7(0x18c)]===_0x55ceef&&typeof _0x25b82b[_0x2909d7(0x191)]===_0x2909d7(0x175)&&_0x26bc9d-_0x25b82b[_0x2909d7(0x191)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x5e6ffe){const _0x1854a7=a297_0x5ca6;return _0x1854a7(0x173)+NPM_PACKAGE_NAME+_0x1854a7(0x195)+_0x5e6ffe;}export async function resolveLatestUpdateNotice(){const _0x9ad8e7=a297_0x5ca6;if(isUpdateNoticeDisabled())return null;try{const _0x5b6ab2=Date[_0x9ad8e7(0x17c)](),_0x42ec44=getCliVersion(),_0x38b28f=await readUpdateNoticeCache();let _0x5ce99a=isFreshCheck(_0x38b28f,_0x5b6ab2)?_0x38b28f[_0x9ad8e7(0x188)]?.[_0x9ad8e7(0x189)]():undefined;if(!_0x5ce99a&&!isFreshCheck(_0x38b28f,_0x5b6ab2)){const _0x482418=await getCliVersionPolicy();_0x5ce99a=_0x482418?.[_0x9ad8e7(0x181)]?.[_0x9ad8e7(0x189)]()||undefined,await writeUpdateNoticeCache({..._0x38b28f,'checkedAt':_0x5b6ab2,'latest':_0x5ce99a,'failed':!_0x5ce99a});}if(!_0x5ce99a||!a297_0x48fda4[_0x9ad8e7(0x177)](_0x42ec44)||!a297_0x48fda4[_0x9ad8e7(0x177)](_0x5ce99a))return null;if(a297_0x48fda4['gte'](_0x42ec44,_0x5ce99a))return null;if(isRecentlyNotified(_0x38b28f,_0x5ce99a,_0x5b6ab2))return null;const _0x142a4c=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x38b28f,'checkedAt':isFreshCheck(_0x38b28f,_0x5b6ab2)?_0x38b28f[_0x9ad8e7(0x17d)]:_0x5b6ab2,'latest':_0x5ce99a,'failed':![],'lastNotifiedVersion':_0x5ce99a,'lastNotifiedAt':_0x5b6ab2}),{'command':_0x142a4c,'current':_0x42ec44,'latest':_0x5ce99a,'url':buildNpmVersionUrl(_0x5ce99a),'message':CLI_BIN_NAME+'\x20'+_0x5ce99a+_0x9ad8e7(0x192)+_0x42ec44+_0x9ad8e7(0x18a)+_0x142a4c};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x40344a,_0x464c08){var _0x430e0b=a298_0x6462,_0x460e89=_0x40344a();while(!![]){try{var _0x34f0d3=-parseInt(_0x430e0b(0x119))/0x1+-parseInt(_0x430e0b(0x117))/0x2+parseInt(_0x430e0b(0x115))/0x3+parseInt(_0x430e0b(0x11a))/0x4*(parseInt(_0x430e0b(0x11d))/0x5)+-parseInt(_0x430e0b(0x11c))/0x6+parseInt(_0x430e0b(0x11b))/0x7+parseInt(_0x430e0b(0x118))/0x8*(parseInt(_0x430e0b(0x116))/0x9);if(_0x34f0d3===_0x464c08)break;else _0x460e89['push'](_0x460e89['shift']());}catch(_0x5a2dd4){_0x460e89['push'](_0x460e89['shift']());}}}(a298_0x76ff,0x59177));function a298_0x76ff(){var _0x3981be=['284841rKypoj','1375498ySGORj','248dTFqwW','559819qVcJzY','4320qIXWrG','1462286kJCCNX','4020912ffhfDb','2140RmvzsB','1891146KYFBhC'];a298_0x76ff=function(){return _0x3981be;};return a298_0x76ff();}function a298_0x6462(_0x4204b1,_0x372f75){_0x4204b1=_0x4204b1-0x115;var _0x76ff68=a298_0x76ff();var _0x64621a=_0x76ff68[_0x4204b1];return _0x64621a;}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
1
+ function a298_0x50b3(_0x3b7b86,_0x2424ff){_0x3b7b86=_0x3b7b86-0x94;var _0x55c761=a298_0x55c7();var _0x50b32d=_0x55c761[_0x3b7b86];return _0x50b32d;}(function(_0x15df15,_0x246201){var _0x990b14=a298_0x50b3,_0x451865=_0x15df15();while(!![]){try{var _0x4ed8c8=-parseInt(_0x990b14(0x97))/0x1+parseInt(_0x990b14(0x9b))/0x2+parseInt(_0x990b14(0x9a))/0x3+parseInt(_0x990b14(0x94))/0x4+-parseInt(_0x990b14(0x95))/0x5+parseInt(_0x990b14(0x98))/0x6*(parseInt(_0x990b14(0x96))/0x7)+parseInt(_0x990b14(0x99))/0x8;if(_0x4ed8c8===_0x246201)break;else _0x451865['push'](_0x451865['shift']());}catch(_0x954daf){_0x451865['push'](_0x451865['shift']());}}}(a298_0x55c7,0xd8497));import{VERSION}from'../generated/build-info.js';function a298_0x55c7(){var _0xaa5e3d=['1810938blaYZA','664836zXLNmn','1725684BRxNpf','3750170VAZrjL','7fRhdkc','592296VmhRZt','4374522MOwblL','1053352ljMCTg'];a298_0x55c7=function(){return _0xaa5e3d;};return a298_0x55c7();}export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- function a299_0xc5af(){var _0x3f22ce=['175EJQRdJ','3931992VDZmvR','8SlbLWD','6330pSaygF','736348DWvwYf','372VrCCVW','3749466YiumPu','3976otfzvv','33502390nBynMW','15972588GSYmDm'];a299_0xc5af=function(){return _0x3f22ce;};return a299_0xc5af();}(function(_0x35e855,_0x357211){var _0x7ae038=a299_0x1666,_0x41f9ac=_0x35e855();while(!![]){try{var _0x31bcb6=parseInt(_0x7ae038(0x1c7))/0x1+-parseInt(_0x7ae038(0x1c0))/0x2*(-parseInt(_0x7ae038(0x1be))/0x3)+parseInt(_0x7ae038(0x1c4))/0x4+-parseInt(_0x7ae038(0x1c3))/0x5*(parseInt(_0x7ae038(0x1c6))/0x6)+-parseInt(_0x7ae038(0x1bf))/0x7*(-parseInt(_0x7ae038(0x1c5))/0x8)+parseInt(_0x7ae038(0x1c2))/0x9+-parseInt(_0x7ae038(0x1c1))/0xa;if(_0x31bcb6===_0x357211)break;else _0x41f9ac['push'](_0x41f9ac['shift']());}catch(_0x4c0c2d){_0x41f9ac['push'](_0x41f9ac['shift']());}}}(a299_0xc5af,0xd90e8));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a299_0x1666(_0x47916a,_0x580f71){_0x47916a=_0x47916a-0x1be;var _0xc5af23=a299_0xc5af();var _0x1666e5=_0xc5af23[_0x47916a];return _0x1666e5;}export async function withActiveCookie(_0x149b35,_0x40c14d){setActiveCookie(_0x149b35);try{return await _0x40c14d();}finally{clearActiveCookie();}}
1
+ (function(_0x299776,_0x2b50ab){var _0x46bbf2=a299_0x1642,_0x4f2c8a=_0x299776();while(!![]){try{var _0x317665=parseInt(_0x46bbf2(0xea))/0x1+parseInt(_0x46bbf2(0xf0))/0x2+-parseInt(_0x46bbf2(0xed))/0x3*(parseInt(_0x46bbf2(0xef))/0x4)+parseInt(_0x46bbf2(0xee))/0x5+parseInt(_0x46bbf2(0xe9))/0x6+parseInt(_0x46bbf2(0xf1))/0x7+parseInt(_0x46bbf2(0xeb))/0x8*(-parseInt(_0x46bbf2(0xec))/0x9);if(_0x317665===_0x2b50ab)break;else _0x4f2c8a['push'](_0x4f2c8a['shift']());}catch(_0x4c8043){_0x4f2c8a['push'](_0x4f2c8a['shift']());}}}(a299_0x9efd,0xd3847));function a299_0x1642(_0x56bbe9,_0x103afe){_0x56bbe9=_0x56bbe9-0xe9;var _0x9efd36=a299_0x9efd();var _0x1642d9=_0x9efd36[_0x56bbe9];return _0x1642d9;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x157e49,_0x38760b){setActiveCookie(_0x157e49);try{return await _0x38760b();}finally{clearActiveCookie();}}function a299_0x9efd(){var _0x39ac97=['341128jDkzTq','819cGbyJU','2011821wDWRPm','4380720IaHuCg','4MFupJA','3364112KFXleB','6747937kqpblV','6038328McvctF','888734IVJChs'];a299_0x9efd=function(){return _0x39ac97;};return a299_0x9efd();}
@@ -1 +1 @@
1
- function a300_0x4468(_0x4af830,_0x50570e){_0x4af830=_0x4af830-0x96;var _0x532b32=a300_0x532b();var _0x4468e4=_0x532b32[_0x4af830];return _0x4468e4;}(function(_0x2fca0d,_0x2140dd){var _0x478c1b=a300_0x4468,_0x3a912d=_0x2fca0d();while(!![]){try{var _0x7f0868=-parseInt(_0x478c1b(0x9c))/0x1+parseInt(_0x478c1b(0x9b))/0x2*(parseInt(_0x478c1b(0xa0))/0x3)+parseInt(_0x478c1b(0x9f))/0x4*(-parseInt(_0x478c1b(0x9e))/0x5)+parseInt(_0x478c1b(0x9a))/0x6*(parseInt(_0x478c1b(0x97))/0x7)+parseInt(_0x478c1b(0x99))/0x8+-parseInt(_0x478c1b(0xa1))/0x9*(parseInt(_0x478c1b(0xa2))/0xa)+parseInt(_0x478c1b(0x98))/0xb*(parseInt(_0x478c1b(0x9d))/0xc);if(_0x7f0868===_0x2140dd)break;else _0x3a912d['push'](_0x3a912d['shift']());}catch(_0x438ec7){_0x3a912d['push'](_0x3a912d['shift']());}}}(a300_0x532b,0x695b8));export function writeCliSideChannelLine(_0x511455){var _0x1bf2db=a300_0x4468;process[_0x1bf2db(0x96)]['write'](_0x511455+'\x0a');}function a300_0x532b(){var _0x11eb86=['20NFYtPe','stderr','7CHlcND','165kTmkDK','3825544mlCKgP','2964138MhULIV','4USOucc','800515ntnzCs','1075584qtGTKm','205dHfyIe','44508gGXUfo','87768mCcaHc','3091239xhNpoz'];a300_0x532b=function(){return _0x11eb86;};return a300_0x532b();}
1
+ function a300_0x3e24(_0x1b1bfc,_0x4183e2){_0x1b1bfc=_0x1b1bfc-0x1ba;var _0x43799e=a300_0x4379();var _0x3e245b=_0x43799e[_0x1b1bfc];return _0x3e245b;}(function(_0x36c898,_0x4a4ba7){var _0x2e3bf5=a300_0x3e24,_0x43b8b5=_0x36c898();while(!![]){try{var _0xda82ce=-parseInt(_0x2e3bf5(0x1c0))/0x1*(parseInt(_0x2e3bf5(0x1ba))/0x2)+parseInt(_0x2e3bf5(0x1bf))/0x3+-parseInt(_0x2e3bf5(0x1c2))/0x4+parseInt(_0x2e3bf5(0x1c1))/0x5+parseInt(_0x2e3bf5(0x1bb))/0x6*(-parseInt(_0x2e3bf5(0x1bd))/0x7)+-parseInt(_0x2e3bf5(0x1be))/0x8+parseInt(_0x2e3bf5(0x1c3))/0x9*(parseInt(_0x2e3bf5(0x1bc))/0xa);if(_0xda82ce===_0x4a4ba7)break;else _0x43b8b5['push'](_0x43b8b5['shift']());}catch(_0xee0844){_0x43b8b5['push'](_0x43b8b5['shift']());}}}(a300_0x4379,0xea9d2));export function writeCliSideChannelLine(_0xda8c1c){process['stderr']['write'](_0xda8c1c+'\x0a');}function a300_0x4379(){var _0x4a9b8=['2370342zYtdHf','1nkUfqO','1670050eZMoZG','1306928kJzBCh','667971rcudWI','1281910NyhHpz','65388MhyipS','370VLFkBO','1057MxaeIe','2367712CtVpIN'];a300_0x4379=function(){return _0x4a9b8;};return a300_0x4379();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.4.4-beta.1",
3
+ "version": "2.4.4",
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": [
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rabetbase
3
- version: 2.4.4-beta.1
3
+ version: 2.4.4
4
4
  description: "Lovrabet 开发工作流 CLI — 通过 rabetbase 命令管理数据集、数据库连接(dblink)、智能列表页(Smart List Page)、React 自定义页面(JSX 页面)、SQL 查询、BFF 脚本、通知配置、菜单事实读取与同步、应用文件、OCR 识别、代码生成,以及平台问题上报。触发词:数据集、数据表、dataset relation-audit、dataset delete、dataset restore、废弃数据集、恢复数据集、dataset rename、dataset field-update、dataset extend-update、dataset business-group-update、businessGroup、字段对象更新、doType、options、智能列表页、Smart List Page、React 自定义页面、JSX 页面、page react-create、page react-list、page react-detail、page react-update、page react-publish、page generate-start、page generate-status、page relation-audit、page sync、page pull、page push、page restore、恢复已删除页面、dblink、数据库连接、schema 分析、db list、db detail、db test、db tables、db diff、db diff --view all、db diff-refresh-start、db diff-refresh-status、db analyze-batch-plan、db analyze-start、analyze-cancel、analyze-status、traceId、自定义 SQL、sql.execute、bff.execute、BF 消息通知、BFF 消息通知、Backend Function 消息通知、notification config-list、EMAIL configCode、通知配置、notification.send、get_dataset_detail、validate_sql_content、save_or_update_custom_sql、@lovrabet/sdk、lovrabet 开发、rabetbase、filter、codegen、init、appcode、app list、app members-list、tenant members-list、应用人员列表、租户人员列表、workspace、workspace init、workspace use、workspace add、workspace remove、多应用、默认应用、menu list、menu external-link-create、menu external-link-update、menu rename、菜单改名、外链菜单创建、外链 URL 更新、菜单异常审计、菜单手动删除清单、menu sync、menu asset-update、菜单资源更新、menu move、菜单移动、角色、用户组、权限、role、permit、role list、role create、role user-add、role user-remove、user-resolve、销售组、加入开发者、page-set、page-get、row-roles、SELF、ALL、行级权限、role-menus-set、role-apis-set、菜单权限、API 权限、DEV、CUSTOM、project create、project upgrade、schema、jq、compress、file upload、file query-url、ocr recognize、文件上传、OCR 识别、发票识别、图片识别、长期链接、issue report、平台问题、platform issue、问题上报、user-account dingding-sandbox-bind、钉钉沙箱账号绑定。"
5
5
  metadata:
6
6
  requires:
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "name": "rabetbase",
4
4
  "packageName": "@lovrabet/rabetbase-cli",
5
- "packageVersion": "2.4.4-beta.1",
6
- "skillVersion": "2.4.4-beta.1",
5
+ "packageVersion": "2.4.4",
6
+ "skillVersion": "2.4.4",
7
7
  "files": [
8
8
  "SKILL.md",
9
9
  "guides/backend-function.md",
@@ -133,5 +133,5 @@
133
133
  "references/rabetbase-user-account.md",
134
134
  "references/rabetbase-workspace.md"
135
135
  ],
136
- "digest": "6169fd253d752d93e8f6528a2a2068e146360bbf8916bfe0434e6a8ee67b049a"
136
+ "digest": "0fa179d9f806b51f8345de375831234c44fb7c70f50bb7cadebe0cf70fd6d89d"
137
137
  }