Add atomic Revit assignment-plan command and route

- external-object.apply-assignment-plan creates planned circuits (BMK,
  default protection), external-only rows and quantity changes with all
  object links in one revision; the history-only revert removes only
  unchanged created structure.
- POST /external-model/objects/assignment-plan validates strictly with
  zod, re-checks rows with the shared planning rules and requires explicit
  confirmation of planning conflicts and socket-limit overruns.
- The compact object list carries the socket limit and socket device types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Julian Appel 2026-10-30 21:28:56 +01:00
parent d4c44001e1
commit fd45a1caeb
15 changed files with 1598 additions and 15 deletions

View file

@ -76,6 +76,8 @@ const commandTypeLabels: Record<string, string> = {
"external-object.unassign-and-delete-created-row":
"Externes Objekt aus erzeugter Gerätezeile gelöst",
"external-object.update-row-assignment": "Externe Objektzuordnung geändert",
"external-object.apply-assignment-plan": "Revit-Objekte zugeordnet",
"external-object.revert-assignment-plan": "Revit-Zuordnung zurückgenommen",
"estimate-balance.insert": "Grobe Leistungsbilanz angelegt",
"estimate-balance.update": "Grobe Leistungsbilanz bearbeitet",
"estimate-balance.delete": "Grobe Leistungsbilanz entfernt",