@visulima/cerebro 2.0.3 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/LICENSE.md +2375 -8
  3. package/README.md +279 -24
  4. package/dist/cli.d.ts +203 -0
  5. package/dist/commands/completion-command.d.ts +6 -6
  6. package/dist/commands/help-command.d.ts +6 -8
  7. package/dist/commands/help-command.js +1 -1
  8. package/dist/commands/readme-command.d.ts +6 -6
  9. package/dist/commands/version-command.d.ts +3 -6
  10. package/dist/constants.d.ts +29 -0
  11. package/dist/default-env.d.ts +7 -0
  12. package/dist/default-options.d.ts +3 -0
  13. package/dist/empty-toolbox.d.ts +15 -0
  14. package/dist/errors/cerebro-error.d.ts +10 -0
  15. package/dist/errors/command-not-found-error.d.ts +9 -0
  16. package/dist/errors/command-validation-error.d.ts +10 -0
  17. package/dist/errors/completion-error.d.ts +9 -0
  18. package/dist/errors/conflicting-options-error.d.ts +10 -0
  19. package/dist/errors/plugin-error.d.ts +9 -0
  20. package/dist/errors/update-notifier-error.d.ts +7 -0
  21. package/dist/index.d.ts +94 -50
  22. package/dist/index.js +1 -1
  23. package/dist/logger/create-pail-logger.d.ts +8 -5
  24. package/dist/logger/create-pail-logger.js +1 -1
  25. package/dist/packem_chunks/has-new-version.js +1 -1
  26. package/dist/packem_shared/{Cerebro-C23kXfEn.js → Cerebro-BqHqYEQJ.js} +3 -3
  27. package/dist/packem_shared/{help-command-C_CdZQSd.js → help-command-Ddt6rdio.js} +1 -1
  28. package/dist/plugin-manager.d.ts +53 -0
  29. package/dist/plugins/error-handler-plugin.d.ts +16 -10
  30. package/dist/plugins/runtime-version-check-plugin.d.ts +15 -10
  31. package/dist/plugins/update-notifier/cache.d.ts +11 -0
  32. package/dist/plugins/update-notifier/get-distribution-version.d.ts +2 -0
  33. package/dist/plugins/update-notifier/has-new-version.d.ts +14 -0
  34. package/dist/plugins/update-notifier/update-notifier-plugin.d.ts +9 -21
  35. package/dist/types/cli.d.ts +105 -0
  36. package/dist/types/command-line-usage.d.ts +37 -0
  37. package/dist/types/command.d.ts +136 -0
  38. package/dist/types/option-types.d.ts +83 -0
  39. package/dist/types/options.d.ts +4 -0
  40. package/dist/types/plugin.d.ts +53 -0
  41. package/dist/types/toolbox.d.ts +96 -0
  42. package/dist/util/arg-processing/get-boolean-values.d.ts +7 -0
  43. package/dist/util/arg-processing/get-parameter-option.d.ts +7 -0
  44. package/dist/util/arg-processing/map-option-type-label.d.ts +3 -0
  45. package/dist/util/arg-processing/option-is-boolean.d.ts +9 -0
  46. package/dist/util/arg-processing/remove-boolean-values.d.ts +9 -0
  47. package/dist/util/command-line-commands.d.ts +10 -0
  48. package/dist/util/command-line-usage/get-terminal-width.d.ts +7 -0
  49. package/dist/util/command-line-usage/index.d.ts +3 -0
  50. package/dist/util/command-line-usage/section/base-section.d.ts +8 -0
  51. package/dist/util/command-line-usage/section/content-section.d.ts +65 -0
  52. package/dist/util/command-line-usage/section/option-list-section.d.ts +44 -0
  53. package/dist/util/command-processing/command-processor.d.ts +37 -0
  54. package/dist/util/command-processing/command-validation.d.ts +17 -0
  55. package/dist/util/command-processing/nested-command-parser.d.ts +25 -0
  56. package/dist/util/command-processing/option-processor.d.ts +44 -0
  57. package/dist/util/data-processing/list-missing-arguments.d.ts +15 -0
  58. package/dist/util/data-processing/merge-arguments.d.ts +7 -0
  59. package/dist/util/general/find-alternatives.d.ts +8 -0
  60. package/dist/util/general/hide-bin.d.ts +2 -0
  61. package/dist/util/general/parse-raw-command.d.ts +7 -0
  62. package/dist/util/general/register-exception-handler.d.ts +9 -0
  63. package/dist/util/general/runtime-process.d.ts +65 -0
  64. package/dist/util/general/semver-gt.d.ts +2 -0
  65. package/dist/util/general/validate-input.d.ts +24 -0
  66. package/dist/util/process-env-variables.d.ts +9 -0
  67. package/dist/util/security.d.ts +58 -0
  68. package/dist/util/text-processing/template-format.d.ts +5 -0
  69. package/package.json +6 -6
  70. package/dist/packem_shared/index.d-BkzZomTF.d.ts +0 -65
  71. package/dist/packem_shared/plugin-manager-BjEuiNxv.d.ts +0 -147
package/CHANGELOG.md CHANGED
@@ -1,3 +1,42 @@
1
+ ## @visulima/cerebro [2.1.1](https://github.com/visulima/visulima/compare/@visulima/cerebro@2.1.0...@visulima/cerebro@2.1.1) (2025-11-12)
2
+
3
+ ### Bug Fixes
4
+
5
+ * **cerebro:** bump version to 2.1.0 ([86fbddd](https://github.com/visulima/visulima/commit/86fbddd56ac8ecf25f75266cb0e685b6c702263c))
6
+ * **cerebro:** enhance documentation ([390dc3d](https://github.com/visulima/visulima/commit/390dc3d0198c427c8f43f687ad6250667c5b2491))
7
+ * update package configurations and TypeScript definitions ([b59aa59](https://github.com/visulima/visulima/commit/b59aa59dac1508216b944f4b917fb4a7ab1f70a4))
8
+
9
+ ### Miscellaneous Chores
10
+
11
+ * update license files and clean up TypeScript definitions ([fe668cc](https://github.com/visulima/visulima/commit/fe668cc26de23591d4df54a0954455ebbe31b22d))
12
+
13
+
14
+ ### Dependencies
15
+
16
+ * **@visulima/colorize:** upgraded to 1.4.28
17
+ * **@visulima/tabular:** upgraded to 3.1.2
18
+ * **@visulima/boxen:** upgraded to 2.0.9
19
+ * **@visulima/command-line-args:** upgraded to 1.0.3
20
+ * **@visulima/error:** upgraded to 5.0.5
21
+ * **@visulima/find-cache-dir:** upgraded to 2.0.5
22
+ * **@visulima/pail:** upgraded to 3.2.1
23
+ * **@visulima/path:** upgraded to 2.0.4
24
+ * **@visulima/string:** upgraded to 2.0.5
25
+
26
+ ## @visulima/cerebro [2.1.0](https://github.com/visulima/visulima/compare/@visulima/cerebro@2.0.3...@visulima/cerebro@2.1.0) (2025-11-07)
27
+
28
+ ### Features
29
+
30
+ * **cli:** enhance logger validation in CLI constructor ([a327472](https://github.com/visulima/visulima/commit/a327472c6f9ff9ff87221aa0c8ead4c79749c0f7))
31
+
32
+ ### Miscellaneous Chores
33
+
34
+ * Add jsr file to all packages for release ([#565](https://github.com/visulima/visulima/issues/565)) ([ec91652](https://github.com/visulima/visulima/commit/ec91652b4e4112adf14ba152c1239a7703ba425a))
35
+
36
+ ### Code Refactoring
37
+
38
+ * **logger:** update createPailLogger to return PailServerType ([7c4208f](https://github.com/visulima/visulima/commit/7c4208ffcc68ed0c6bbeb457a5ff3411d31c203c))
39
+
1
40
  ## @visulima/cerebro [2.0.3](https://github.com/visulima/visulima/compare/@visulima/cerebro@2.0.2...@visulima/cerebro@2.0.3) (2025-11-07)
2
41
 
3
42
  ### Bug Fixes