Skip to content

v1.2.1 — Source-Data Reading & Seamless Chat Port Isolation

Choose a tag to compare

@Quincy987 Quincy987 released this 20 Jul 20:17
· 287 commits to development since this release

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 counts
  • layers <id> — DWG layer names with object counts
  • curves <id> <layer> [--bbox] [--closed] [--page] — actual coordinates in mm; --closed chains segments into footprint loops paste-ready for /floor
  • pointclouds — loaded .rcp/.rcs instances with bbox (mm)
  • pcprobe <id> <x> <y> [r] — height histogram + robust ground estimate at a point
  • pcline <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 by build.ps1) — plain dotnet build/dotnet test compile 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).