@lovrabet/rabetbase-cli 2.0.7 → 2.0.9

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 (137) 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/logout.js +1 -1
  11. package/lib/cli-flags.js +1 -1
  12. package/lib/cli.js +1 -1
  13. package/lib/commands/api/doc.js +1 -1
  14. package/lib/commands/api/index.js +1 -1
  15. package/lib/commands/api/list.js +1 -1
  16. package/lib/commands/api/pull.js +1 -1
  17. package/lib/commands/api/shared.js +1 -1
  18. package/lib/commands/app/add.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/remote.js +1 -1
  22. package/lib/commands/app/remove.js +1 -1
  23. package/lib/commands/app/shared.js +1 -1
  24. package/lib/commands/app/use.js +1 -1
  25. package/lib/commands/auth/index.js +1 -1
  26. package/lib/commands/bff/delete.js +1 -1
  27. package/lib/commands/bff/detail.js +1 -1
  28. package/lib/commands/bff/index.js +1 -1
  29. package/lib/commands/bff/list.js +1 -1
  30. package/lib/commands/bff/new.js +1 -1
  31. package/lib/commands/bff/pull.js +1 -1
  32. package/lib/commands/bff/push.js +1 -1
  33. package/lib/commands/bff/status.js +1 -1
  34. package/lib/commands/cli-update.js +1 -1
  35. package/lib/commands/codegen/index.js +1 -1
  36. package/lib/commands/codegen/sdk.js +1 -1
  37. package/lib/commands/codegen/sql.js +1 -1
  38. package/lib/commands/common/app-selector.js +1 -1
  39. package/lib/commands/common/flags.js +1 -1
  40. package/lib/commands/common/validate.js +1 -1
  41. package/lib/commands/config/get.js +1 -1
  42. package/lib/commands/config/index.js +1 -1
  43. package/lib/commands/config/list.js +1 -1
  44. package/lib/commands/config/set.js +1 -1
  45. package/lib/commands/config/shared.js +1 -1
  46. package/lib/commands/dataset/detail.js +1 -1
  47. package/lib/commands/dataset/index.js +1 -1
  48. package/lib/commands/dataset/links.js +1 -1
  49. package/lib/commands/dataset/list.js +1 -1
  50. package/lib/commands/dataset/operations.js +1 -1
  51. package/lib/commands/doctor.js +1 -1
  52. package/lib/commands/init/index.js +1 -1
  53. package/lib/commands/logs/index.js +1 -1
  54. package/lib/commands/menu/index.js +1 -1
  55. package/lib/commands/menu/shared/compare-table.js +1 -1
  56. package/lib/commands/menu/shared/index.js +1 -1
  57. package/lib/commands/menu/shared/inquirer.js +1 -1
  58. package/lib/commands/menu/shared/local-pages.js +1 -1
  59. package/lib/commands/menu/shared/logic.js +1 -1
  60. package/lib/commands/menu/shared/service.js +1 -1
  61. package/lib/commands/menu/shared/sync-core.js +1 -1
  62. package/lib/commands/menu/shared/update-core.js +1 -1
  63. package/lib/commands/menu/shared/valid-url.js +1 -1
  64. package/lib/commands/menu/sync.js +1 -1
  65. package/lib/commands/menu/update.js +1 -1
  66. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  67. package/lib/commands/project/create/format-elapsed.js +1 -1
  68. package/lib/commands/project/create/main.js +1 -1
  69. package/lib/commands/project/create/non-interactive.js +1 -1
  70. package/lib/commands/project/create/project-template-path.js +1 -1
  71. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  72. package/lib/commands/project/create/use-format-code.js +1 -1
  73. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  74. package/lib/commands/project/index.js +1 -1
  75. package/lib/commands/project/init.js +1 -1
  76. package/lib/commands/project/upgrade.js +1 -1
  77. package/lib/commands/registry.js +1 -1
  78. package/lib/commands/run/index.js +1 -1
  79. package/lib/commands/schema.js +1 -0
  80. package/lib/commands/skill/index.js +1 -1
  81. package/lib/commands/sql/detail.js +1 -1
  82. package/lib/commands/sql/exec.js +1 -1
  83. package/lib/commands/sql/index.js +1 -1
  84. package/lib/commands/sql/list.js +1 -1
  85. package/lib/commands/sql/save.js +1 -1
  86. package/lib/commands/sql/validate.js +1 -1
  87. package/lib/constant/cli.js +1 -1
  88. package/lib/constant/domain.js +1 -1
  89. package/lib/constant/env.js +1 -1
  90. package/lib/context.js +1 -1
  91. package/lib/core/alias-resolver.js +1 -1
  92. package/lib/core/api-client.js +1 -1
  93. package/lib/core/bff/config.js +1 -1
  94. package/lib/core/bff/file-system.js +1 -1
  95. package/lib/core/bff/hash.js +1 -1
  96. package/lib/core/bff/lock.js +1 -1
  97. package/lib/core/bff/utils.js +1 -1
  98. package/lib/core/db-resolver.js +1 -1
  99. package/lib/core/sql-validator.js +1 -1
  100. package/lib/errors.js +1 -1
  101. package/lib/framework/build-all-flags.js +1 -0
  102. package/lib/framework/flags.js +1 -1
  103. package/lib/framework/help.js +1 -1
  104. package/lib/framework/index.js +1 -1
  105. package/lib/framework/output.js +1 -1
  106. package/lib/framework/response.js +1 -1
  107. package/lib/framework/runner.js +1 -1
  108. package/lib/framework/schema-export.js +1 -0
  109. package/lib/framework/types.js +1 -1
  110. package/lib/generated/build-info.js +1 -1
  111. package/lib/help.js +1 -1
  112. package/lib/skills/main.js +1 -1
  113. package/lib/skills/npx-skills-add.js +1 -1
  114. package/lib/telemetry/cli-command-trace.js +1 -1
  115. package/lib/telemetry/cli-help-trace.js +1 -1
  116. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  117. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  118. package/lib/telemetry/send-cli-trace-log.js +1 -1
  119. package/lib/utils/ai_config.js +1 -1
  120. package/lib/utils/apply-jq-filter.js +1 -0
  121. package/lib/utils/cdn-config.js +1 -1
  122. package/lib/utils/check-sdk-version.js +1 -1
  123. package/lib/utils/cli-version-check.js +1 -1
  124. package/lib/utils/config.js +1 -1
  125. package/lib/utils/copy-directory.js +1 -1
  126. package/lib/utils/file-utils.js +1 -1
  127. package/lib/utils/guides-cdn.js +1 -1
  128. package/lib/utils/http-client.js +1 -1
  129. package/lib/utils/is-non-interactive.js +1 -1
  130. package/lib/utils/logger.js +1 -1
  131. package/lib/utils/platform.js +1 -1
  132. package/lib/utils/rules-cdn.js +1 -1
  133. package/lib/utils/sleep.js +1 -1
  134. package/lib/utils/template-replacer.js +1 -1
  135. package/lib/utils/version.js +1 -1
  136. package/lib/utils/with-active-cookie.js +1 -1
  137. package/package.json +7 -4
@@ -1 +1 @@
1
- (function(_0x59044c,_0xe6aeb0){var _0x5b985f=a133_0x2a1d,_0x3abb5b=_0x59044c();while(!![]){try{var _0x4a2242=parseInt(_0x5b985f(0xa9))/0x1*(parseInt(_0x5b985f(0xa2))/0x2)+parseInt(_0x5b985f(0xa8))/0x3+parseInt(_0x5b985f(0xa6))/0x4+parseInt(_0x5b985f(0xaa))/0x5*(-parseInt(_0x5b985f(0xa1))/0x6)+parseInt(_0x5b985f(0xa5))/0x7+parseInt(_0x5b985f(0xa7))/0x8*(-parseInt(_0x5b985f(0xa3))/0x9)+-parseInt(_0x5b985f(0xab))/0xa*(-parseInt(_0x5b985f(0xa4))/0xb);if(_0x4a2242===_0xe6aeb0)break;else _0x3abb5b['push'](_0x3abb5b['shift']());}catch(_0x12279c){_0x3abb5b['push'](_0x3abb5b['shift']());}}}(a133_0x16c9,0x30dd0));function a133_0x16c9(){var _0x4237b8=['192358HJwEDS','3289329VGIubH','10219oCwdCC','2533006OqxiNH','1574368blUFFK','8XCVHTy','238725GfxyoC','1JOvmYp','30710KuenYg','230uUzINU','378HYLwQI'];a133_0x16c9=function(){return _0x4237b8;};return a133_0x16c9();}function a133_0x2a1d(_0x51fd9b,_0xfe01bb){_0x51fd9b=_0x51fd9b-0xa1;var _0x16c9b2=a133_0x16c9();var _0x2a1d7e=_0x16c9b2[_0x51fd9b];return _0x2a1d7e;}import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
1
+ (function(_0x4bea68,_0x23cc1){var _0x1fa492=a137_0x2679,_0x166ed0=_0x4bea68();while(!![]){try{var _0xb14a70=parseInt(_0x1fa492(0x15d))/0x1*(-parseInt(_0x1fa492(0x161))/0x2)+-parseInt(_0x1fa492(0x15c))/0x3+parseInt(_0x1fa492(0x162))/0x4*(parseInt(_0x1fa492(0x15e))/0x5)+-parseInt(_0x1fa492(0x158))/0x6+-parseInt(_0x1fa492(0x160))/0x7*(parseInt(_0x1fa492(0x159))/0x8)+parseInt(_0x1fa492(0x15b))/0x9*(parseInt(_0x1fa492(0x15f))/0xa)+parseInt(_0x1fa492(0x15a))/0xb;if(_0xb14a70===_0x23cc1)break;else _0x166ed0['push'](_0x166ed0['shift']());}catch(_0x595879){_0x166ed0['push'](_0x166ed0['shift']());}}}(a137_0x17b4,0xb587b));function a137_0x17b4(){var _0x564fbf=['3418096bJihDc','69936uKDEyp','768432kvSMFU','18866144PqFFYp','9620307CeNnUv','431580YTvjmu','1394732kJTKbZ','5TGxIkx','10hMWDzI','98uOlZHS','2nLlCTA'];a137_0x17b4=function(){return _0x564fbf;};return a137_0x17b4();}import{VERSION}from'../generated/build-info.js';function a137_0x2679(_0xd703a2,_0x4d3c85){_0xd703a2=_0xd703a2-0x158;var _0x17b4bf=a137_0x17b4();var _0x267983=_0x17b4bf[_0xd703a2];return _0x267983;}export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- function a134_0x5627(){var _0x28dca9=['110139XRNxcM','1669997RKKzGM','10ODVZKu','457301ApitGb','12pxNfDj','3568OvfCGV','23409mTFtSc','2134562eHKzCp','23189630tSHddy','807642FAaTvn'];a134_0x5627=function(){return _0x28dca9;};return a134_0x5627();}(function(_0x4684f2,_0x1a688b){var _0x2a9b9a=a134_0x1aae,_0x42f370=_0x4684f2();while(!![]){try{var _0x3dfb4e=parseInt(_0x2a9b9a(0x14b))/0x1+-parseInt(_0x2a9b9a(0x14f))/0x2+parseInt(_0x2a9b9a(0x148))/0x3*(parseInt(_0x2a9b9a(0x14c))/0x4)+parseInt(_0x2a9b9a(0x14a))/0x5*(-parseInt(_0x2a9b9a(0x147))/0x6)+parseInt(_0x2a9b9a(0x149))/0x7+parseInt(_0x2a9b9a(0x14d))/0x8*(-parseInt(_0x2a9b9a(0x14e))/0x9)+parseInt(_0x2a9b9a(0x150))/0xa;if(_0x3dfb4e===_0x1a688b)break;else _0x42f370['push'](_0x42f370['shift']());}catch(_0x4764d9){_0x42f370['push'](_0x42f370['shift']());}}}(a134_0x5627,0x996d1));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a134_0x1aae(_0xfe496b,_0x5760a2){_0xfe496b=_0xfe496b-0x147;var _0x5627a2=a134_0x5627();var _0x1aae64=_0x5627a2[_0xfe496b];return _0x1aae64;}export async function withActiveCookie(_0x4b4079,_0xf8d1f9){setActiveCookie(_0x4b4079);try{return await _0xf8d1f9();}finally{clearActiveCookie();}}
1
+ function a138_0x3517(){var _0xe55649=['431248GTVmRD','5582bChgDR','5131504dDnNHQ','2678480KNiEOA','126dcBGiw','3454158gyPRWQ','3mPUtGs','421rAGSmG','7HKCrdA','3192BfedEO','2883740EiKSgN','15037amTxxF'];a138_0x3517=function(){return _0xe55649;};return a138_0x3517();}(function(_0x3fd770,_0x122c64){var _0x3355df=a138_0x14c3,_0x10355b=_0x3fd770();while(!![]){try{var _0xea5d2a=parseInt(_0x3355df(0x177))/0x1*(-parseInt(_0x3355df(0x17d))/0x2)+-parseInt(_0x3355df(0x176))/0x3*(-parseInt(_0x3355df(0x17e))/0x4)+parseInt(_0x3355df(0x17a))/0x5+-parseInt(_0x3355df(0x175))/0x6*(parseInt(_0x3355df(0x178))/0x7)+parseInt(_0x3355df(0x17c))/0x8*(parseInt(_0x3355df(0x180))/0x9)+parseInt(_0x3355df(0x17f))/0xa+parseInt(_0x3355df(0x17b))/0xb*(-parseInt(_0x3355df(0x179))/0xc);if(_0xea5d2a===_0x122c64)break;else _0x10355b['push'](_0x10355b['shift']());}catch(_0x41c819){_0x10355b['push'](_0x10355b['shift']());}}}(a138_0x3517,0xbb756));function a138_0x14c3(_0xf1d0e5,_0x52a84f){_0xf1d0e5=_0xf1d0e5-0x175;var _0x35173a=a138_0x3517();var _0x14c34e=_0x35173a[_0xf1d0e5];return _0x14c34e;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x54469d,_0x3d8743){setActiveCookie(_0x54469d);try{return await _0x3d8743();}finally{clearActiveCookie();}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.0.7",
3
+ "version": "2.0.9",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,9 +17,9 @@
17
17
  },
18
18
  "scripts": {
19
19
  "prebuild": "node scripts/generate-build-info.js",
20
- "build": "rm -rf lib && tsc && javascript-obfuscator lib --output lib",
20
+ "build": "rm -rf lib && tsc && tsc-alias && javascript-obfuscator lib --output lib",
21
21
  "prebuild:dev": "node scripts/generate-build-info.js",
22
- "build:dev": "rm -rf lib && tsc",
22
+ "build:dev": "rm -rf lib && tsc && tsc-alias",
23
23
  "start": "tsc --watch",
24
24
  "sync-template": "node scripts/sync-template.js",
25
25
  "beta-release": "sh scripts/update-beta-version.sh && bun run build && git push && git push origin --tag && bun publish --tag beta",
@@ -30,6 +30,7 @@
30
30
  "test:ui": "vitest --ui",
31
31
  "test:watch": "vitest --watch",
32
32
  "test:unit": "vitest run test/unit",
33
+ "test:app": "vitest run test/unit/commands/app-shared.test.ts test/unit/commands/app-add.test.ts test/unit/commands/app-remove.test.ts test/unit/commands/app-use.test.ts test/unit/commands/app-list.test.ts test/unit/commands/app-remote.test.ts",
33
34
  "test:integration": "vitest run test/integration",
34
35
  "test:e2e": "vitest run test/e2e",
35
36
  "test:e2e:daily": "RABETBASE_E2E_DAILY=1 vitest run test/e2e/daily-app-smoke.test.ts",
@@ -57,6 +58,7 @@
57
58
  "execa": "^9.6.0",
58
59
  "listr": "^0.14.3",
59
60
  "meow": "^13.2.0",
61
+ "node-jq": "^6.3.1",
60
62
  "ora": "^9.3.0",
61
63
  "prettier": "^3.6.2",
62
64
  "semver": "^7.7.3",
@@ -70,7 +72,8 @@
70
72
  "@vitest/ui": "^3.2.4",
71
73
  "c8": "^10.1.3",
72
74
  "javascript-obfuscator": "^5.4.1",
75
+ "tsc-alias": "^1.8.10",
73
76
  "typescript": "latest",
74
77
  "vitest": "^3.2.4"
75
78
  }
76
- }
79
+ }