v0.8.0

mufeedvh/code2promptv0.8.0May 10, 2026by Aymericr

AI Summary

The first public npm release of the MCP package, bringing community-driven improvements and a significant overhaul of the stair system, renderer, and material library.

Key Highlights

  • First public npm release of `@pascal-app/mcp`
  • 19 MCP tools for scene querying and mutation
  • Item catalog schema with source and draft fields
  • Material library with typed target-set constants
  • Overhauled stair system renderer

New Features

  • MCP package with stdio and HTTP transports
  • MCP CLI binary with flags
  • SqliteSceneStore backed by SQLite
  • Item catalog schema updates
  • Grid events with faceIndex and object fields
  • Stair system improvements
  • First-person controls with BVH collider improvements
  • Guide system updates
  • Scan system improvements
  • Shared elevation styles

Full Release Notes

## 🌍 Pascal Editor v0.8.0 — Community Sync & MCP on npm

This release brings our community-driven improvements into the open-source packages, and marks the **first public npm release of `@pascal-app/mcp`** — the Model Context Protocol server for Pascal.

### 📦 New Package: `@pascal-app/mcp`

`@pascal-app/mcp` is now available on npm!

```
npm install @pascal-app/mcp
```

The MCP server exposes the Pascal scene graph to AI hosts (Claude Desktop, Cursor, and any MCP-compatible client) via the [Model Context Protocol](https://modelcontextprotocol.io). It ships with:

- **19 MCP tools** — scene querying, mutation, undo/redo, export, validation, and vision
- **4 MCP resources** — current scene, summary, item catalog, and level constraints
- **3 MCP prompts** — `from_brief`, `iterate_on_feedback`, `renovation_from_photos`
- **stdio and Streamable HTTP transports**
- **`pascal-mcp` CLI binary** with `--stdio`, `--http`, and `--scene` flags
- **Local `SqliteSceneStore`** backed by built-in SQLite (Bun/Node), shared across MCP and the editor via `PASCAL_DATA_DIR` / `PASCAL_DB_PATH`

### ✨ Changes

- **Item catalog schema** — items now carry `source` (`library` | `community` | `mine`) and `isDraft` fields, enabling the editor's Library / Community / Mine filter panel
- **Grid events** — `GridEvent` gains `faceIndex` and `object` fields for more precise hit-testing
- **Material library** — typed target-set constants (`WALL_TARGETS`, `STAIR_TARGETS`, etc.) for the material paint mode
- **Stair system** — overhauled renderer with improved geometry and material handling
- **First-person controls** — BVH collider improvements and more reliable character movement
- **Guide system** — updated snapping and measurement guides
- **Scan system** — improved point-cloud handling
- **Shared elevation styles** — new `styles/elevation.css` usable across apps
- **Build** — hoisted platform-specific optional native packages at the root; TypeScript import type cleanup throughout

### 🐛 Fixes

- CSG geometry disposal in wall generation (memory leak fix)
- Stair opening sync stability
- Wall curve and mitering edge cases
- Space detection improvements

### 📦 Packages

| Package | Version |
|---|---|
| `@pascal-app/core` | `0.8.0` |
| `@pascal-app/viewer` | `0.8.0` |
| `@pascal-app/editor` | `0.8.0` |
| `@pascal-app/mcp` | `0.2.0` ← first public release |