@artemiskit/cli 0.1.6 → 0.1.8

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 (44) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/index.js +2653 -4832
  3. package/dist/src/__tests__/helpers/index.d.ts +6 -0
  4. package/dist/src/__tests__/helpers/index.d.ts.map +1 -0
  5. package/dist/src/__tests__/helpers/mock-adapter.d.ts +87 -0
  6. package/dist/src/__tests__/helpers/mock-adapter.d.ts.map +1 -0
  7. package/dist/src/__tests__/helpers/test-utils.d.ts +47 -0
  8. package/dist/src/__tests__/helpers/test-utils.d.ts.map +1 -0
  9. package/dist/src/cli.d.ts.map +1 -1
  10. package/dist/src/commands/compare.d.ts.map +1 -1
  11. package/dist/src/commands/history.d.ts.map +1 -1
  12. package/dist/src/commands/init.d.ts.map +1 -1
  13. package/dist/src/commands/redteam.d.ts.map +1 -1
  14. package/dist/src/commands/report.d.ts.map +1 -1
  15. package/dist/src/commands/run.d.ts.map +1 -1
  16. package/dist/src/ui/errors.d.ts.map +1 -1
  17. package/dist/src/ui/panels.d.ts.map +1 -1
  18. package/dist/src/ui/progress.d.ts.map +1 -1
  19. package/dist/src/ui/utils.d.ts.map +1 -1
  20. package/dist/src/utils/update-checker.d.ts +31 -0
  21. package/dist/src/utils/update-checker.d.ts.map +1 -0
  22. package/package.json +6 -6
  23. package/src/__tests__/helpers/mock-adapter.ts +22 -4
  24. package/src/__tests__/helpers/test-utils.ts +3 -3
  25. package/src/__tests__/integration/compare-command.test.ts +7 -7
  26. package/src/__tests__/integration/config.test.ts +2 -2
  27. package/src/__tests__/integration/history-command.test.ts +2 -2
  28. package/src/__tests__/integration/init-command.test.ts +3 -3
  29. package/src/__tests__/integration/report-command.test.ts +2 -2
  30. package/src/__tests__/integration/ui.test.ts +6 -6
  31. package/src/cli.ts +22 -1
  32. package/src/commands/compare.ts +2 -4
  33. package/src/commands/history.ts +2 -2
  34. package/src/commands/init.ts +52 -12
  35. package/src/commands/redteam.ts +6 -6
  36. package/src/commands/report.ts +3 -3
  37. package/src/commands/run.ts +4 -4
  38. package/src/commands/stress.ts +4 -4
  39. package/src/ui/errors.ts +1 -1
  40. package/src/ui/live-status.ts +1 -1
  41. package/src/ui/panels.ts +2 -2
  42. package/src/ui/progress.ts +1 -1
  43. package/src/ui/utils.ts +4 -3
  44. package/src/utils/update-checker.ts +121 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @artemiskit/cli
2
2
 
3
+ ## 0.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 27d7645: ### Fixed
8
+
9
+ - Replaced `pino` logger with `consola` to fix Bun bundler compatibility issues. Some users experienced `ModuleNotFound: thread-stream/lib/worker.js` errors during installation due to pino's dynamic worker thread resolution that Bun's bundler cannot statically analyze.
10
+
11
+ ### Changed
12
+
13
+ - Logger implementation now uses `consola` internally. The public `Logger` class API remains unchanged - no code changes required for consumers.
14
+
15
+ ### Removed
16
+
17
+ - Removed `pino` and `pino-pretty` dependencies from `@artemiskit/core`.
18
+
19
+ - Updated dependencies [27d7645]
20
+ - @artemiskit/core@0.1.6
21
+ - @artemiskit/adapter-openai@0.1.6
22
+ - @artemiskit/adapter-vercel-ai@0.1.6
23
+ - @artemiskit/redteam@0.1.6
24
+ - @artemiskit/reports@0.1.6
25
+
26
+ ## 0.1.7
27
+
28
+ ### Patch Changes
29
+
30
+ - @artemiskit/cli\*\* (patch)
31
+
32
+ Enhanced CLI user experience and added comprehensive integration tests
33
+
34
+ **UI Enhancements:**
35
+
36
+ - Fixed table border alignment in compare and history commands (ANSI color codes no longer affect column widths)
37
+ - Added progress bars, error display panels, and summary boxes
38
+ - Added box-drawing tables with Unicode characters for structured output
39
+ - Added TTY detection for graceful fallback in non-TTY/CI environments
40
+
41
+ **Testing:**
42
+
43
+ - Added 60+ integration tests for CLI commands (init, history, compare, report)
44
+ - Added test helpers including mock LLM adapter and test utilities
45
+ - Achieved 80%+ source file test coverage (155 total tests passing)
46
+
47
+ **Documentation:**
48
+
49
+ - Updated ROADMAP.md to mark v0.1.x as complete
50
+ - Fixed docs to use correct YAML config format
51
+
3
52
  ## 0.1.6
4
53
 
5
54
  ### Patch Changes