Rasengan v1.2.2 - Error overlay, LLM support & agent skills
posted on June 01, 2026Rasengan v1.2.2 is now available on npm.
We are excited to announce the release of Rasengan.js v1.2.2 π
This version focuses on developer experience and AI-assisted development, introducing:
What's new in Rasengan v1.2.2?
Error Overlay System
Rasengan v1.2.2 introduces a completely redesigned error handling experience with a developer-friendly overlay that catches errors from every source:
- React rendering errors β Caught by a class-based
ErrorBoundaryFallbackcomponent wrapping your application tree - Route loader errors β Every route is automatically wrapped with an error boundary that feeds into the overlay
- Global unhandled errors and rejections β
window.onerrorandwindow.onunhandledrejectionare registered and captured - Vite HMR errors β Errors during hot module replacement are displayed in the overlay
- SSR errors β Server-side rendering errors are serialized into
window.__RASENGAN_SSR_ERROR__and forwarded to the client overlay after hydration
Developer-first features
The overlay is dark-themed and designed for rapid debugging:
- Error navigation β When multiple errors occur, you can paginate through them with previous/next controls
- Source code preview β The overlay fetches source context from the Vite dev server via
?rawand displays a code snippet around the error location - Component stack β Shows the React component stack alongside the native JavaScript stack trace
- Minimizable β Click the minimize button to collapse the overlay into a small FAB (floating action button) that shows the error count
Production safety
In production, the overlay is replaced by a minimal, user-friendly fallback message, ensuring your users never see debugging internals.
LLM Support Files
Rasengan v1.2.2 adds first-class support for AI-powered development by introducing:
-
llms.txtβ A comprehensive LLM-readable documentation file atdocs/public/llms.txtthat covers the entire framework: routing, rendering modes, configuration, packages, API reference, and quick-start guides. This file follows the llms.txt standard, making the entire Rasengan documentation available to coding agents and LLMs in a single, structured document. -
AGENTS.mdβ A detailed AI agent codebase guide at the monorepo root that provides complete context about the project structure, architecture, data flow, conventions, and key types. This file is auto-loaded by compatible coding agents when working with Rasengan.js projects.
These files enable AI coding assistants to understand your Rasengan.js project deeply, leading to more accurate code generation and contextual assistance.
Agent Skills
Rasengan v1.2.2 introduces Agent Skills β specialized, installable packages that teach AI coding agents how to work with specific parts of the framework. These skills are available from the dedicated agent-skills repository.
The following skills are available:
Install all skills
npx skills add rasengan-dev/agent-skills --all
Install individual skills
npx skills add rasengan-dev/agent-skills@rasengan-<skill-name> -g -y
These skills are automatically loaded by compatible coding agents when you open a Rasengan.js project, providing context-aware code generation, explanations, and best practices tailored to the framework.
As always, feedback and contributions are welcome.
Rasengan.js v1.2.2 β making development smoother with better error handling and smarter AI assistance.
Happy building π
Upgrade now and have fun Ninja!