Skip to content

Conversation

@jonaslagoni
Copy link
Contributor

@jonaslagoni jonaslagoni commented Jan 26, 2026

Note

Modernizes the CLI UX, error handling, and generator outputs.

  • Logging/CLI UX: New Logger with levels, colors, spinners, and JSON mode; shared BaseCommand adds flags (-v, -q, --silent, --json, --no-color, --debug). generate, init, and telemetry adopt spinners, verbose/debug output, and JSON results.
  • Structured errors: Introduces CodegenError with many specific creators; replaces generic throws across parsers, generators, and renderer for clearer, colorized messages.
  • Generator results: Generators and renderer now return GenerationResult/GeneratorResult, tracking filesWritten and timings; TypeScript generators (payloads/parameters/headers/types/channels/client/models) propagate file tracking.
  • Parsing/validation: AsyncAPI/OpenAPI/JSON Schema loaders emit detailed errors and verbose logs; config processing logs downgraded (debug/verbose) and error creators used.
  • Tests: Add comprehensive unit tests for logging, errors, renderer, and JSON Schema parser; update expectations for new error messages.
  • Deps: Add picocolors.

Written by Cursor Bugbot for commit ac447e1. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Jan 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
the-codegen-project Ready Ready Preview, Comment Jan 27, 2026 7:14pm
the-codegen-project-mcp Ready Ready Preview, Comment Jan 27, 2026 7:14pm

@netlify
Copy link

netlify bot commented Jan 26, 2026

Deploy Preview for the-codegen-project canceled.

Name Link
🔨 Latest commit ac447e1
🔍 Latest deploy log https://app.netlify.com/projects/the-codegen-project/deploys/69790e56c15d9f0008486352

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@jonaslagoni jonaslagoni merged commit d6cefa7 into main Jan 27, 2026
22 checks passed
@jonaslagoni jonaslagoni deleted the improve_usability branch January 27, 2026 19:37
@jonaslagoni
Copy link
Contributor Author

🎉 This PR is included in version 0.64.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants