Repository navigation
Add kitchen catalog, magnetic placement, and refined cabinet models - #1085
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- packages/mcp is main's again: no operationTools option on createPascalMcpServer and no dependency on @pascal-app/nodes. The kitchen tools' real-client test lives in the plugin and registers them as the docs say, through registerOperationTool; the agent guide and the pascal-3d skill leave plugin tools to the plugin's README. - The plugin's agent-tools contracts are tested zod-only and unit-aware. - Alt forces placement past a run's magnetic join too (E-004). - A cabinet insertion that fails part-way undoes the writes it recorded. - Clearance reads the level's obstacles in one pass per check, and only when a module has an opening; a check of a still cabinet copies nothing. - The kitchen catalog reads the scene only while a search or the command palette lists placed items; fillers are no longer listed as cabinets. - A free wall cabinet's height is the named WALL_CABINET_ELEVATION; the package description keeps its em dash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Pushed two commits on top of this branch:
MCP stays untouched.
Behaviour
Biome, skills validation, check-types, all package tests (MCP and CLI included) and the build pass locally on the merged result. The Alt and rollback fixes have no automated test, because the cabinet tool has no pointer-driven test harness. Worth a quick manual check: hold Alt near a run's end beside a wall. 🤖 Generated with Claude Code |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8ca989b. Configure here.
| wallConstraints: runWallConstraints(run, modules, nodes, { widthGrowth: module.width }), | ||
| fillerIds: new Set( | ||
| modules.filter((entry) => entry.moduleKind === 'corner-filler').map((entry) => entry.id), | ||
| ), |
There was a problem hiding this comment.
Wall fillers ignored during insertion
Medium Severity
planRunModuleInsertion only marks corner-filler ids as fillers, so new wall-filler modules are treated as ordinary cabinets. Add-beside and magnetic join can then keep or shove those strips instead of absorbing them, which reopens the wall gap or rejects a fit that should succeed.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 8ca989b. Configure here.
| 'applianceInterior', | ||
| ) | ||
| sprayHub.name = `${name}-spray-hub` | ||
| sprayHub.rotation.x = Math.PI / 2 |
There was a problem hiding this comment.
Dishwasher spray hub axis dropped
Low Severity
The dishwasher spray hub no longer sets rotation.x to lie along the spray arm. A default Y-up cylinder now reads as a vertical pin from the front, unlike the matching appliance hubs that still rotate PI / 2.
Reviewed by Cursor Bugbot for commit 8ca989b. Configure here.


What does this PR do?
Makes kitchen items discoverable through a searchable catalog with Add and Find-in-project actions, three-column cards, and isometric WebP thumbnails that show color on hover. Cabinet controls expose common settings first, with advanced construction options collapsed.
How to test
bun dev, open a project, and choose Build → Kitchen. Verify three-column cards, readable labels, gray thumbnails with color on hover, search, and Find-in-project selection.kitchen_finish_runapplies the same run changes andkitchen_check_clearancereturns the shared advisory notice.bun run check-types;bun run check(existing warnings remain);bun run skills:validate; andbunx turbo run test --filter=@pascal-app/nodes --filter=@pascal-app/editor --filter=@pascal-app/mcp --concurrency=1(8,385 passed, one skipped). Public agent entry points were also smoke-tested in plain Node, and the tool contracts were bundled for a browser target.Screenshots / screen recording
Not added yet.
Checklist
bun devbun checkto verify)mainbranchNote
Medium Risk
Changes cabinet scene graph (fillers, alignment, hosted-item guards) and adds agent/MCP operations; heavily tested but touches core placement and kitchen run logic.
Overview
Replaces the standalone editor’s single Modular Cabinet tile with a full Kitchen flow: searchable build tools, a dedicated
KitchenBrowsercatalog (KitchenCollection, preset placement viabeginKitchenPlacement), and Find in this project when searching. Command-palette commands register add/find kitchen actions viaKitchenCommandsinscene-loader.Adds run finishing and advisory clearance: new
wall-fillermoduleKind, align/fill planners (finishKitchenRun,fitCabinetWallFillers,alignCabinetRun), sharedcabinetPlacementNotice, and headlesskitchen_finish_run/kitchen_check_clearanceagent contracts plus MCP registration docs and integration tests.Editor UX/engine:
usePlacementNoticecan read ephemeral placement previews without inserting a draft;BuildToolTilegains a neutral active tone; action/segmented controls wrap long labels. Cabinet geometry is refined (panels, appliances, hoods, sinks, drawers, lower tessellation) with continuous toe-kicks, wall-filler solids, and neighbor placement/finishing covered by new tests.Reviewed by Cursor Bugbot for commit 8ca989b. Bugbot is set up for automated code reviews on this repo. Configure here.