Repository navigation
v1.2.1 — Source-Data Reading & Seamless Chat Port Isolation
Two features in one release: the AI can now read your imported source data (DWG vectors + point-cloud ground levels) instead of guessing from screenshots, and multi-instance chat no longer breaks when running several Revit windows.
Added
Source-data reading (DWG + point clouds)
Six new read-only commands:
imports— list CAD imports/links with bbox (mm) + curve/layer countslayers <id>— DWG layer names with object countscurves <id> <layer> [--bbox] [--closed] [--page]— actual coordinates in mm;--closedchains segments into footprint loops paste-ready for/floorpointclouds— loaded.rcp/.rcsinstances with bbox (mm)pcprobe <id> <x> <y> [r]— height histogram + robust ground estimate at a pointpcline <id> <x1> <y1> <x2> <y2> [step]— ground profile along a line
Ground estimation picks the lowest dense band of points and averages only its bottom 200mm — parked cars, trees, bins, and facades rising from the street don't skew it. pcline rejects per-station spikes and interpolates occluded stations (flagged interp).
Seamless chat across multiple Revit instances
- Per-port prompt files — a second Revit instance no longer poisons the first one's chat by overwriting the shared system-prompt file (fixes connection-refused chat after opening/closing a second window)
- Self-healing port directive — resumed chat sessions ignore dead ports remembered from earlier history
- Pre-flight health check — a down server yields one plain-language error instead of minutes of failed curl attempts
- Server discovery files — each instance publishes
%LOCALAPPDATA%\VibeModel\servers\<port>.json({port, pid, startedUtc}) so external clients find fallback ports instead of assuming 18884
Build
- Add-in deployment is now opt-in (
-p:Deploy=true, passed bybuild.ps1) — plaindotnet build/dotnet testcompile only, so builds never fight Revit over a locked DLL or overwrite the installed add-in
Tests
Headless suite grown to 107 tests (was 61): curve chaining, point-cloud ground analysis, arg parsing, port isolation, discovery JSON.
Install: download the source below and run install.ps1 (see README).