Skip to content

Stable v1.0.6

Choose a tag to compare

@ZtaMDev ZtaMDev released this 24 Jan 23:59
· 3 commits to main since this release

v1.0.6

Added

  • Live Web Preview: Full-featured preview panel for HTML, React (TSX/JSX), and web projects with Vite-powered hot module replacement.
  • Micro-Console Panel: Tabbed console view separating Vite server logs from browser console output, providing clear visibility into both build errors and runtime logs.
  • Browser Console Capture: Client-side console.log, warn, and error statements are now captured and streamed to the Micro-Console in real-time.
  • Markdown Rendering: Files with .md extension now render with full syntax highlighting and GitHub-flavored styling.
  • Project Export System: Export projects as production-ready ZIP files with customizable package.json metadata and dependency management.
  • Project Import System: Import existing projects from ZIP files or folder uploads, with automatic structure preservation.
  • File Explorer: Full tree-view file browser with folder support, context menus, and drag-and-drop organization.
  • Professional Welcome Screen: Redesigned onboarding modal with feature showcase, keyboard shortcuts reference, and startup toggle.

Changed

  • Isolated Sandbox Environment: Execution and preview environments now use a dedicated tmp/isolated_env directory with shared node_modules, completely separate from the CLI installation.
  • Session Architecture: Implemented UUID-based session isolation for previews to prevent Windows file locking conflicts during multi-tab usage.
  • Execution Efficiency: Execution sessions now reuse a single static folder instead of creating new directories, improving disk usage.
  • Process Management: Enhanced process cleanup with guaranteed termination of Vite and Bun subprocesses on CLI exit (Ctrl+C).
  • Binary Path Resolution: All subprocess spawns now use absolute binary paths (process.execPath) to prevent PATH-related failures on Windows.
  • Welcome Screen Performance: Replaced Framer Motion animations with optimized CSS-only transitions for improved frame rates.
  • Compact UI: Reduced Welcome Screen dimensions and element sizes for a cleaner, less intrusive experience.

Fixed

  • ENOENT Spawn Errors: Resolved uv_spawn 'bun' failures by using the resolved executable path instead of relying on system PATH.
  • EBUSY Lock Errors: Eliminated Windows file locking errors during session cleanup by implementing resilient, non-blocking garbage collection.
  • Preview Synchronization: Fixed HMR sync to correctly target session-specific directories using the session ID.
  • Vite Config Generation: Corrected syntax error in dynamically generated vite.config.ts that prevented preview startup.
  • Startup Cleanup: CLI now performs aggressive garbage collection on startup to remove any orphaned session directories from previous runs.
  • Exit Cleanup: Guaranteed cleanup of all temporary directories (execute-session, preview-*) when the CLI is terminated.

Technical

  • Full Sandbox Isolation: Preview dependencies are now installed in an isolated node_modules completely separate from the CLI package.
  • Monaco Type Resolution: Enhanced type acquisition to search both isolated sandbox and CLI node_modules for IntelliSense.
  • Resilient GC: Implemented try-catch wrapped cleanup routines that gracefully handle locked files without blocking new sessions.
  • Port Discovery: Automatic port assignment using ephemeral ports for Vite instances to avoid conflicts.