@snaptrude/plugin-core 0.11.0-rc.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/AGENTS.md +4 -0
  2. package/CHANGELOG.md +176 -14
  3. package/api-manifest.json +872 -49
  4. package/dist/api/analysis/daylight.d.ts +5 -5
  5. package/dist/api/analysis/solar.d.ts +2 -2
  6. package/dist/api/core/camera/index.d.ts +447 -0
  7. package/dist/api/core/camera/index.d.ts.map +1 -1
  8. package/dist/api/core/geom/create/index.d.ts +942 -101
  9. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  10. package/dist/api/core/geom/query/brep.d.ts +59 -2
  11. package/dist/api/core/geom/query/brep.d.ts.map +1 -1
  12. package/dist/api/core/geom/query/curve.d.ts +59 -35
  13. package/dist/api/core/geom/query/curve.d.ts.map +1 -1
  14. package/dist/api/core/geom/query/edge.d.ts +2 -2
  15. package/dist/api/core/geom/query/face.d.ts +105 -0
  16. package/dist/api/core/geom/query/face.d.ts.map +1 -1
  17. package/dist/api/core/geom/update/contour.d.ts +10 -2
  18. package/dist/api/core/geom/update/contour.d.ts.map +1 -1
  19. package/dist/api/core/geom/update/curve.d.ts +5 -5
  20. package/dist/api/core/geom/update/profile.d.ts +3 -1
  21. package/dist/api/core/geom/update/profile.d.ts.map +1 -1
  22. package/dist/api/core/handles/index.d.ts +4 -2
  23. package/dist/api/core/handles/index.d.ts.map +1 -1
  24. package/dist/api/core/index.d.ts +4 -4
  25. package/dist/api/core/index.d.ts.map +1 -1
  26. package/dist/api/core/io/import/index.d.ts +3 -1
  27. package/dist/api/core/io/import/index.d.ts.map +1 -1
  28. package/dist/api/core/layers.d.ts +377 -255
  29. package/dist/api/core/layers.d.ts.map +1 -1
  30. package/dist/api/core/mode/index.d.ts +19 -7
  31. package/dist/api/core/mode/index.d.ts.map +1 -1
  32. package/dist/api/core/proposals/index.d.ts +4 -3
  33. package/dist/api/core/proposals/index.d.ts.map +1 -1
  34. package/dist/api/core/storeys/index.d.ts +17 -2
  35. package/dist/api/core/storeys/index.d.ts.map +1 -1
  36. package/dist/api/core/storeys/layers.d.ts +408 -0
  37. package/dist/api/core/storeys/layers.d.ts.map +1 -0
  38. package/dist/api/core/tags.d.ts +84 -3
  39. package/dist/api/core/tags.d.ts.map +1 -1
  40. package/dist/api/core/zoom/index.d.ts +13 -0
  41. package/dist/api/core/zoom/index.d.ts.map +1 -1
  42. package/dist/api/design/bim.d.ts +299 -0
  43. package/dist/api/design/bim.d.ts.map +1 -0
  44. package/dist/api/design/boolean/index.d.ts +2 -0
  45. package/dist/api/design/boolean/index.d.ts.map +1 -1
  46. package/dist/api/design/catalog.d.ts +320 -0
  47. package/dist/api/design/catalog.d.ts.map +1 -0
  48. package/dist/api/design/create/bulk-items.d.ts +269 -0
  49. package/dist/api/design/create/bulk-items.d.ts.map +1 -0
  50. package/dist/api/design/create/grids.d.ts +132 -0
  51. package/dist/api/design/create/grids.d.ts.map +1 -0
  52. package/dist/api/design/create/index.d.ts +753 -102
  53. package/dist/api/design/create/index.d.ts.map +1 -1
  54. package/dist/api/design/create/opening-fields.d.ts +38 -0
  55. package/dist/api/design/create/opening-fields.d.ts.map +1 -0
  56. package/dist/api/design/delete/index.d.ts +7 -20
  57. package/dist/api/design/delete/index.d.ts.map +1 -1
  58. package/dist/api/design/dimensions.d.ts +427 -0
  59. package/dist/api/design/dimensions.d.ts.map +1 -0
  60. package/dist/api/design/doors/index.d.ts +24 -23
  61. package/dist/api/design/doors/index.d.ts.map +1 -1
  62. package/dist/api/design/family.d.ts +1446 -0
  63. package/dist/api/design/family.d.ts.map +1 -0
  64. package/dist/api/design/grids.d.ts +237 -0
  65. package/dist/api/design/grids.d.ts.map +1 -0
  66. package/dist/api/design/index.d.ts +30 -0
  67. package/dist/api/design/index.d.ts.map +1 -1
  68. package/dist/api/design/networks.d.ts +1703 -0
  69. package/dist/api/design/networks.d.ts.map +1 -0
  70. package/dist/api/design/query/geometry/index.d.ts +33 -5
  71. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  72. package/dist/api/design/query/grids.d.ts +287 -0
  73. package/dist/api/design/query/grids.d.ts.map +1 -0
  74. package/dist/api/design/query/index.d.ts +143 -36
  75. package/dist/api/design/query/index.d.ts.map +1 -1
  76. package/dist/api/design/query/spaces.d.ts +5 -66
  77. package/dist/api/design/query/spaces.d.ts.map +1 -1
  78. package/dist/api/design/selection/index.d.ts +12 -12
  79. package/dist/api/design/types/index.d.ts +40 -24
  80. package/dist/api/design/types/index.d.ts.map +1 -1
  81. package/dist/api/design/update/index.d.ts +412 -8
  82. package/dist/api/design/update/index.d.ts.map +1 -1
  83. package/dist/api/design/windows/index.d.ts +8 -8
  84. package/dist/api/design/windows/index.d.ts.map +1 -1
  85. package/dist/api/entity/buildableEnvelope.d.ts +84 -2
  86. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  87. package/dist/api/entity/referenceLine.d.ts +13 -1
  88. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  89. package/dist/api/entity/space.d.ts +12 -15
  90. package/dist/api/entity/space.d.ts.map +1 -1
  91. package/dist/api/entity/story.d.ts +4 -4
  92. package/dist/api/presentation/aiInspiration.d.ts +24 -24
  93. package/dist/api/presentation/annotate.d.ts +38 -22
  94. package/dist/api/presentation/annotate.d.ts.map +1 -1
  95. package/dist/api/presentation/camera.d.ts +265 -0
  96. package/dist/api/presentation/camera.d.ts.map +1 -0
  97. package/dist/api/presentation/drawingContract.d.ts +32 -0
  98. package/dist/api/presentation/drawingContract.d.ts.map +1 -0
  99. package/dist/api/presentation/drawings.d.ts +3523 -0
  100. package/dist/api/presentation/drawings.d.ts.map +1 -0
  101. package/dist/api/presentation/export.d.ts +23 -5
  102. package/dist/api/presentation/export.d.ts.map +1 -1
  103. package/dist/api/presentation/graphics.d.ts +419 -0
  104. package/dist/api/presentation/graphics.d.ts.map +1 -0
  105. package/dist/api/presentation/index.d.ts +66 -12
  106. package/dist/api/presentation/index.d.ts.map +1 -1
  107. package/dist/api/presentation/placedViews.d.ts +117 -51
  108. package/dist/api/presentation/placedViews.d.ts.map +1 -1
  109. package/dist/api/presentation/sections.d.ts +461 -0
  110. package/dist/api/presentation/sections.d.ts.map +1 -0
  111. package/dist/api/presentation/shapes.d.ts +2 -2
  112. package/dist/api/presentation/sheets.d.ts +175 -37
  113. package/dist/api/presentation/sheets.d.ts.map +1 -1
  114. package/dist/api/presentation/standards.d.ts +590 -0
  115. package/dist/api/presentation/standards.d.ts.map +1 -0
  116. package/dist/api/presentation/viewPresets.d.ts +222 -0
  117. package/dist/api/presentation/viewPresets.d.ts.map +1 -0
  118. package/dist/api/presentation/views.d.ts +144 -9
  119. package/dist/api/presentation/views.d.ts.map +1 -1
  120. package/dist/api/presentation/walkthroughs.d.ts +1350 -0
  121. package/dist/api/presentation/walkthroughs.d.ts.map +1 -0
  122. package/dist/api/program/departments.d.ts +58 -2
  123. package/dist/api/program/departments.d.ts.map +1 -1
  124. package/dist/api/program/index.d.ts +16 -6
  125. package/dist/api/program/index.d.ts.map +1 -1
  126. package/dist/api/program/labels.d.ts +355 -0
  127. package/dist/api/program/labels.d.ts.map +1 -0
  128. package/dist/api/program/metadata.d.ts +328 -0
  129. package/dist/api/program/metadata.d.ts.map +1 -0
  130. package/dist/api/program/site.d.ts +4 -4
  131. package/dist/api/program/spreadsheet.d.ts +267 -4
  132. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  133. package/dist/api/workspace/index.d.ts +49 -2
  134. package/dist/api/workspace/index.d.ts.map +1 -1
  135. package/dist/errors/codes.d.ts +5 -8
  136. package/dist/errors/codes.d.ts.map +1 -1
  137. package/dist/handles.d.ts +32 -3
  138. package/dist/handles.d.ts.map +1 -1
  139. package/dist/index.cjs +6534 -2865
  140. package/dist/index.cjs.map +1 -1
  141. package/dist/index.d.ts +2 -0
  142. package/dist/index.d.ts.map +1 -1
  143. package/dist/index.js +6118 -2857
  144. package/dist/index.js.map +1 -1
  145. package/dist/massParameters.d.ts +287 -0
  146. package/dist/massParameters.d.ts.map +1 -0
  147. package/dist/massParameters.ops.d.ts +138 -0
  148. package/dist/massParameters.ops.d.ts.map +1 -0
  149. package/package.json +2 -1
  150. package/scripts/check-dist-fresh.mjs +22 -0
  151. package/scripts/generate-manifest.mjs +5 -0
  152. package/scripts/generate-manifest.test.mjs +14 -3
  153. package/src/api/core/camera/index.ts +429 -1
  154. package/src/api/core/geom/create/index.ts +1037 -102
  155. package/src/api/core/geom/query/brep.ts +60 -2
  156. package/src/api/core/geom/query/curve.ts +26 -2
  157. package/src/api/core/geom/query/edge.ts +2 -2
  158. package/src/api/core/geom/query/face.ts +109 -4
  159. package/src/api/core/geom/update/contour.ts +10 -2
  160. package/src/api/core/geom/update/profile.ts +2 -0
  161. package/src/api/core/handles/index.ts +3 -2
  162. package/src/api/core/index.ts +4 -4
  163. package/src/api/core/io/import/index.ts +11 -3
  164. package/src/api/core/layers.ts +380 -173
  165. package/src/api/core/mode/index.ts +19 -7
  166. package/src/api/core/proposals/index.ts +4 -3
  167. package/src/api/core/storeys/index.ts +19 -2
  168. package/src/api/core/storeys/layers.ts +339 -0
  169. package/src/api/core/tags.ts +76 -0
  170. package/src/api/core/zoom/index.ts +13 -0
  171. package/src/api/design/bim.ts +210 -0
  172. package/src/api/design/boolean/index.ts +2 -0
  173. package/src/api/design/catalog.ts +203 -0
  174. package/src/api/design/create/bulk-items.ts +294 -0
  175. package/src/api/design/create/grids.ts +137 -0
  176. package/src/api/design/create/index.ts +824 -141
  177. package/src/api/design/create/opening-fields.ts +40 -0
  178. package/src/api/design/delete/index.ts +6 -20
  179. package/src/api/design/dimensions.ts +453 -0
  180. package/src/api/design/doors/index.ts +64 -41
  181. package/src/api/design/family.ts +1342 -0
  182. package/src/api/design/grids.ts +237 -0
  183. package/src/api/design/index.ts +49 -4
  184. package/src/api/design/networks.ts +607 -0
  185. package/src/api/design/query/geometry/index.ts +35 -4
  186. package/src/api/design/query/grids.ts +197 -0
  187. package/src/api/design/query/index.ts +105 -5
  188. package/src/api/design/query/spaces.ts +0 -68
  189. package/src/api/design/types/index.ts +31 -24
  190. package/src/api/design/update/index.ts +398 -4
  191. package/src/api/design/windows/index.ts +40 -22
  192. package/src/api/entity/buildableEnvelope.ts +77 -2
  193. package/src/api/entity/referenceLine.ts +25 -12
  194. package/src/api/entity/space.ts +0 -2
  195. package/src/api/presentation/annotate.ts +90 -58
  196. package/src/api/presentation/camera.ts +289 -0
  197. package/src/api/presentation/drawingContract.ts +70 -0
  198. package/src/api/presentation/drawings.ts +1179 -0
  199. package/src/api/presentation/export.ts +32 -6
  200. package/src/api/presentation/graphics.ts +324 -0
  201. package/src/api/presentation/index.ts +73 -14
  202. package/src/api/presentation/placedViews.ts +120 -57
  203. package/src/api/presentation/sections.ts +420 -0
  204. package/src/api/presentation/sheets.ts +182 -37
  205. package/src/api/presentation/standards.ts +445 -0
  206. package/src/api/presentation/viewPresets.ts +241 -0
  207. package/src/api/presentation/views.ts +81 -10
  208. package/src/api/presentation/walkthroughs.ts +1201 -0
  209. package/src/api/program/departments.ts +54 -2
  210. package/src/api/program/index.ts +16 -6
  211. package/src/api/program/labels.ts +332 -0
  212. package/src/api/program/metadata.ts +364 -0
  213. package/src/api/program/spreadsheet.ts +282 -0
  214. package/src/api/workspace/index.ts +51 -2
  215. package/src/errors/codes.ts +9 -30
  216. package/src/handles.ts +42 -3
  217. package/src/index.ts +2 -0
  218. package/src/massParameters.ops.ts +246 -0
  219. package/src/massParameters.ts +427 -0
  220. package/test/drawingContract.test.mjs +288 -0
  221. package/test/errors.test.mjs +1 -4
  222. package/test/massParameters.test.mjs +952 -0
  223. package/test/paperPensContract.test.mjs +75 -0
  224. package/test/presentationViewSettings.test.mjs +85 -0
  225. package/api-manifest.full.json +0 -6928
  226. package/snaptrude-plugin-core-0.11.0.tgz +0 -0
@@ -145,6 +145,37 @@ export declare abstract class PluginCoreTagsApi {
145
145
  * ```
146
146
  */
147
147
  abstract listForComponent(componentId: ComponentHandle): PluginApiReturn<PluginCoreTagsGetTagsForComponentResult>;
148
+ /**
149
+ * List the tags carried by many components in one call.
150
+ *
151
+ * The plural of {@linkcode PluginCoreTagsApi.listForComponent}: pass
152
+ * `componentIds` to read specific components (unknown ids are skipped), or
153
+ * omit it to read **every** taggable component (Mass/Floor space) in the
154
+ * project. Each entry carries the component id and its tags — one per tagged
155
+ * category, with the tag's `color` — so a plugin can color every space by a
156
+ * chosen category's tag in a single round-trip.
157
+ *
158
+ * @param componentIds - Optional `Component.id`s to read; omit for all spaces.
159
+ * @returns A {@linkcode PluginCoreTagsListForComponentsResult} with a
160
+ * `components` array, one entry per component (in input order when
161
+ * `componentIds` is given).
162
+ *
163
+ * @performance One round-trip for any number of components — use this instead of a `listForComponent` loop.
164
+ *
165
+ * @examplePrompt Get the tags of every space with their colors
166
+ * @examplePrompt List the tags on all rooms so I can color them by Occupancy
167
+ * @examplePrompt Which tag does each selected space carry?
168
+ *
169
+ * # Example
170
+ * ```ts
171
+ * const { components } = await snaptrude.core.tags.listForComponents()
172
+ * for (const c of components) {
173
+ * const occupancy = c.tags.find((t) => t.categoryName === "Occupancy")
174
+ * if (occupancy) paint(c.componentId, occupancy.color)
175
+ * }
176
+ * ```
177
+ */
178
+ abstract listForComponents(componentIds?: ComponentHandle[]): PluginApiReturn<PluginCoreTagsListForComponentsResult>;
148
179
  /**
149
180
  * List the components carrying a given tag or category.
150
181
  *
@@ -427,8 +458,8 @@ export declare const PluginCoreAssignOutcome: z.ZodObject<{
427
458
  id: z.ZodString;
428
459
  reason: z.ZodEnum<{
429
460
  locked: "locked";
430
- "not-taggable": "not-taggable";
431
461
  "not-found": "not-found";
462
+ "not-taggable": "not-taggable";
432
463
  }>;
433
464
  }, z.core.$strip>>;
434
465
  }, z.core.$strip>;
@@ -546,6 +577,56 @@ export declare const PluginCoreTagsGetTagsForComponentResult: z.ZodObject<{
546
577
  }, z.core.$strip>>;
547
578
  }, z.core.$strip>;
548
579
  export type PluginCoreTagsGetTagsForComponentResult = z.infer<typeof PluginCoreTagsGetTagsForComponentResult>;
580
+ /**
581
+ * Arguments for {@linkcode PluginCoreTagsApi.listForComponents}.
582
+ *
583
+ * | Property | Type | Description |
584
+ * |---|---|---|
585
+ * | `componentIds` | `ComponentHandle[]?` | Components to read; omit for every taggable component |
586
+ */
587
+ export declare const PluginCoreTagsListForComponentsArgs: z.ZodObject<{
588
+ componentIds: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>>;
589
+ }, z.core.$strip>;
590
+ export type PluginCoreTagsListForComponentsArgs = z.infer<typeof PluginCoreTagsListForComponentsArgs>;
591
+ /**
592
+ * One component's tags, for {@linkcode PluginCoreTagsApi.listForComponents}.
593
+ *
594
+ * | Property | Type | Description |
595
+ * |---|---|---|
596
+ * | `componentId` | `ComponentHandle` | The component's id |
597
+ * | `tags` | {@linkcode PluginCoreComponentTag}`[]` | Its tags, one per tagged category (empty when none) |
598
+ */
599
+ export declare const PluginCoreComponentTags: z.ZodObject<{
600
+ componentId: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
601
+ tags: z.ZodArray<z.ZodObject<{
602
+ categoryId: z.ZodString;
603
+ categoryName: z.ZodString;
604
+ tagId: z.ZodString;
605
+ tagName: z.ZodString;
606
+ color: z.ZodString;
607
+ }, z.core.$strip>>;
608
+ }, z.core.$strip>;
609
+ export type PluginCoreComponentTags = z.infer<typeof PluginCoreComponentTags>;
610
+ /**
611
+ * Result of {@linkcode PluginCoreTagsApi.listForComponents}.
612
+ *
613
+ * | Property | Type | Description |
614
+ * |---|---|---|
615
+ * | `components` | {@linkcode PluginCoreComponentTags}`[]` | One entry per component |
616
+ */
617
+ export declare const PluginCoreTagsListForComponentsResult: z.ZodObject<{
618
+ components: z.ZodArray<z.ZodObject<{
619
+ componentId: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
620
+ tags: z.ZodArray<z.ZodObject<{
621
+ categoryId: z.ZodString;
622
+ categoryName: z.ZodString;
623
+ tagId: z.ZodString;
624
+ tagName: z.ZodString;
625
+ color: z.ZodString;
626
+ }, z.core.$strip>>;
627
+ }, z.core.$strip>>;
628
+ }, z.core.$strip>;
629
+ export type PluginCoreTagsListForComponentsResult = z.infer<typeof PluginCoreTagsListForComponentsResult>;
549
630
  /**
550
631
  * Arguments for {@linkcode PluginCoreTagsApi.listComponents}. Provide exactly one
551
632
  * of `tagId`, `categoryId`. `untagged` is valid only with `categoryId`.
@@ -740,8 +821,8 @@ export declare const PluginCoreTagsAssignResult: z.ZodObject<{
740
821
  id: z.ZodString;
741
822
  reason: z.ZodEnum<{
742
823
  locked: "locked";
743
- "not-taggable": "not-taggable";
744
824
  "not-found": "not-found";
825
+ "not-taggable": "not-taggable";
745
826
  }>;
746
827
  }, z.core.$strip>>;
747
828
  categoryId: z.ZodString;
@@ -770,8 +851,8 @@ export declare const PluginCoreTagsUnassignResult: z.ZodObject<{
770
851
  id: z.ZodString;
771
852
  reason: z.ZodEnum<{
772
853
  locked: "locked";
773
- "not-taggable": "not-taggable";
774
854
  "not-found": "not-found";
855
+ "not-taggable": "not-taggable";
775
856
  }>;
776
857
  }, z.core.$strip>>;
777
858
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/api/core/tags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,8BAAsB,iBAAiB;;IAGrC;;;;;;;;;;;;;;;;OAgBG;aACa,cAAc,IAAI,eAAe,CAAC,kCAAkC,CAAC;IAErF;;;;;;;;;;;;;;;;OAgBG;aACa,WAAW,CACzB,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA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ginApiReturn } from "../../../types";
4
4
  *
5
5
  * Frame the viewport camera onto scene geometry — mirrors the canvas zoom menu
6
6
  * ("Zoom extents" / "Zoom to selection"). Accessed via `snaptrude.core.zoom`.
7
+ *
8
+ * While Present mode is open these calls set the Design frame a view saved in
9
+ * Present (`presentation.views.create`) is taken from; they never move the
10
+ * Present sheet canvas. To pan, zoom or screenshot the Present canvas, use
11
+ * {@linkcode PluginPresentationCameraApi} (`presentation.camera`).
7
12
  */
8
13
  export declare abstract class PluginZoomApi {
9
14
  constructor();
10
15
  /**
11
16
  * Zoom (fit) the camera to all geometry in the scene — the "zoom extents" action.
12
17
  *
18
+ * While Present is open this sets the Design frame a view saved in Present
19
+ * is taken from; it never moves the Present sheet canvas; use
20
+ * `presentation.camera` for that.
21
+ *
13
22
  * @returns `true` once the camera has been framed to the scene.
14
23
  *
15
24
  * @examplePrompt Zoom out so I can see the whole model
@@ -29,6 +38,10 @@ export declare abstract class PluginZoomApi {
29
38
  /**
30
39
  * Zoom (fit) the camera to the current selection.
31
40
  *
41
+ * While Present is open this sets the Design frame a view saved in Present
42
+ * is taken from; it never moves the Present sheet canvas; use
43
+ * `presentation.camera` for that.
44
+ *
32
45
  * @returns `true` if there was a selection to frame; `false` if nothing is
33
46
  * selected (no-op).
34
47
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/core/zoom/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD;;;;;GAKG;AACH,8BAAsB,aAAa;;IAGjC;;;;;;;;;;;;;;;;;OAiBG;aACa,OAAO,IAAI,eAAe,CAAC,OAAO,CAAC;IAEnD;;;;;;;;;;;;;;;;;OAiBG;aACa,SAAS,IAAI,eAAe,CAAC,OAAO,CAAC;CACtD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/core/zoom/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAEhD;;;;;;;;;;GAUG;AACH,8BAAsB,aAAa;;IAGjC;;;;;;;;;;;;;;;;;;;;;OAqBG;aACa,OAAO,IAAI,eAAe,CAAC,OAAO,CAAC;IAEnD;;;;;;;;;;;;;;;;;;;;;OAqBG;aACa,SAAS,IAAI,eAAe,CAAC,OAAO,CAAC;CACtD"}
@@ -0,0 +1,299 @@
1
+ import * as z from "zod";
2
+ import { ComponentHandle } from "../../handles";
3
+ import type { PluginApiReturn } from "../../types";
4
+ /** Read scope. Omit spaces to inspect the active proposal's sketch spaces. */
5
+ export declare const PluginBimContextArgs: z.ZodObject<{
6
+ spaces: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>>;
7
+ }, z.core.$strict>;
8
+ export type PluginBimContextArgs = z.infer<typeof PluginBimContextArgs>;
9
+ /** Directed graph edge. Side A lies along world-up × curve-direction; side B is opposite.
10
+ * Region IDs are snapshot identifiers, not component handles. Null means no adjacent region.
11
+ */
12
+ export declare const PluginBimEdge: z.ZodObject<{
13
+ id: z.ZodString;
14
+ startNodeId: z.ZodNullable<z.ZodString>;
15
+ endNodeId: z.ZodNullable<z.ZodString>;
16
+ startMm: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
17
+ endMm: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
18
+ lengthMm: z.ZodNumber;
19
+ heightMm: z.ZodNumber;
20
+ sideA: z.ZodNullable<z.ZodString>;
21
+ sideB: z.ZodNullable<z.ZodString>;
22
+ wall: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
23
+ supported: z.ZodBoolean;
24
+ }, z.core.$strip>;
25
+ export type PluginBimEdge = z.infer<typeof PluginBimEdge>;
26
+ /** Construction context is detached. Revision covers geometry, room metadata and construction state. */
27
+ export declare const PluginBimContext: z.ZodObject<{
28
+ revision: z.ZodString;
29
+ proposalId: z.ZodString;
30
+ units: z.ZodLiteral<"mm">;
31
+ spaces: z.ZodArray<z.ZodObject<{
32
+ component: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
33
+ label: z.ZodString;
34
+ storey: z.ZodNumber;
35
+ eligible: z.ZodBoolean;
36
+ reason: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strip>>;
38
+ regions: z.ZodArray<z.ZodObject<{
39
+ id: z.ZodString;
40
+ spaces: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
41
+ }, z.core.$strip>>;
42
+ nodes: z.ZodArray<z.ZodObject<{
43
+ id: z.ZodString;
44
+ positionMm: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
45
+ }, z.core.$strip>>;
46
+ edges: z.ZodArray<z.ZodObject<{
47
+ id: z.ZodString;
48
+ startNodeId: z.ZodNullable<z.ZodString>;
49
+ endNodeId: z.ZodNullable<z.ZodString>;
50
+ startMm: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
51
+ endMm: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
52
+ lengthMm: z.ZodNumber;
53
+ heightMm: z.ZodNumber;
54
+ sideA: z.ZodNullable<z.ZodString>;
55
+ sideB: z.ZodNullable<z.ZodString>;
56
+ wall: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
57
+ supported: z.ZodBoolean;
58
+ }, z.core.$strip>>;
59
+ }, z.core.$strip>;
60
+ export type PluginBimContext = z.infer<typeof PluginBimContext>;
61
+ /** Plan-local key selects either an existing construction or a new project-only native recipe.
62
+ * Bundles use the native DSL's SU/unit-expression rules; values overrides use mm/degrees.
63
+ */
64
+ export declare const PluginBimConstruction: z.ZodUnion<readonly [z.ZodObject<{
65
+ key: z.ZodString;
66
+ reference: z.ZodUnion<readonly [z.ZodObject<{
67
+ id: z.ZodString;
68
+ version: z.ZodNumber;
69
+ }, z.core.$strict>, z.ZodString]>;
70
+ }, z.core.$strict>, z.ZodObject<{
71
+ key: z.ZodString;
72
+ bundle: z.ZodObject<{
73
+ root: z.ZodRecord<z.ZodString, z.ZodUnknown>;
74
+ deps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
75
+ network: z.ZodOptional<z.ZodObject<{
76
+ schemaVersion: z.ZodLiteral<1>;
77
+ role: z.ZodEnum<{
78
+ pipe: "pipe";
79
+ duct: "duct";
80
+ wire: "wire";
81
+ cable: "cable";
82
+ conduit: "conduit";
83
+ cableDuct: "cableDuct";
84
+ cableTray: "cableTray";
85
+ connector: "connector";
86
+ equipment: "equipment";
87
+ }>;
88
+ lengthParameter: z.ZodOptional<z.ZodString>;
89
+ ports: z.ZodArray<z.ZodObject<{
90
+ id: z.ZodString;
91
+ position: z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString], null>;
92
+ direction: z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString], null>;
93
+ size: z.ZodString;
94
+ height: z.ZodOptional<z.ZodString>;
95
+ widthDirection: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString], null>>;
96
+ systems: z.ZodArray<z.ZodString>;
97
+ }, z.core.$strict>>;
98
+ }, z.core.$strict>>;
99
+ }, z.core.$strip>;
100
+ }, z.core.$strict>]>;
101
+ export type PluginBimConstruction = z.infer<typeof PluginBimConstruction>;
102
+ /** Every unwalled edge in the selected scope needs exactly one assignment.
103
+ * The first authored layer faces sideA unless reversed. Alignment sets the initial core-centre offset.
104
+ * Later parameter edits preserve the offset and reject invalid core alignment.
105
+ */
106
+ export declare const PluginBimWallAssignment: z.ZodObject<{
107
+ edgeId: z.ZodString;
108
+ construction: z.ZodString;
109
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
110
+ reversed: z.ZodBoolean;
111
+ alignment: z.ZodLiteral<"coreCentre">;
112
+ }, z.core.$strict>;
113
+ export type PluginBimWallAssignment = z.infer<typeof PluginBimWallAssignment>;
114
+ export declare const PluginBimPrepareArgs: z.ZodObject<{
115
+ revision: z.ZodString;
116
+ spaces: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
117
+ constructions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
118
+ key: z.ZodString;
119
+ reference: z.ZodUnion<readonly [z.ZodObject<{
120
+ id: z.ZodString;
121
+ version: z.ZodNumber;
122
+ }, z.core.$strict>, z.ZodString]>;
123
+ }, z.core.$strict>, z.ZodObject<{
124
+ key: z.ZodString;
125
+ bundle: z.ZodObject<{
126
+ root: z.ZodRecord<z.ZodString, z.ZodUnknown>;
127
+ deps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
128
+ network: z.ZodOptional<z.ZodObject<{
129
+ schemaVersion: z.ZodLiteral<1>;
130
+ role: z.ZodEnum<{
131
+ pipe: "pipe";
132
+ duct: "duct";
133
+ wire: "wire";
134
+ cable: "cable";
135
+ conduit: "conduit";
136
+ cableDuct: "cableDuct";
137
+ cableTray: "cableTray";
138
+ connector: "connector";
139
+ equipment: "equipment";
140
+ }>;
141
+ lengthParameter: z.ZodOptional<z.ZodString>;
142
+ ports: z.ZodArray<z.ZodObject<{
143
+ id: z.ZodString;
144
+ position: z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString], null>;
145
+ direction: z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString], null>;
146
+ size: z.ZodString;
147
+ height: z.ZodOptional<z.ZodString>;
148
+ widthDirection: z.ZodOptional<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString], null>>;
149
+ systems: z.ZodArray<z.ZodString>;
150
+ }, z.core.$strict>>;
151
+ }, z.core.$strict>>;
152
+ }, z.core.$strip>;
153
+ }, z.core.$strict>]>>;
154
+ walls: z.ZodArray<z.ZodObject<{
155
+ edgeId: z.ZodString;
156
+ construction: z.ZodString;
157
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
158
+ reversed: z.ZodBoolean;
159
+ alignment: z.ZodLiteral<"coreCentre">;
160
+ }, z.core.$strict>>;
161
+ }, z.core.$strict>;
162
+ export type PluginBimPrepareArgs = z.infer<typeof PluginBimPrepareArgs>;
163
+ /** Expected recipe/plan failures are diagnostics. No scene or library change occurs during prepare. */
164
+ export declare const PluginBimPreparation: z.ZodObject<{
165
+ ok: z.ZodBoolean;
166
+ preparationId: z.ZodOptional<z.ZodString>;
167
+ diagnostics: z.ZodArray<z.ZodObject<{
168
+ path: z.ZodString;
169
+ message: z.ZodString;
170
+ }, z.core.$strip>>;
171
+ }, z.core.$strip>;
172
+ export type PluginBimPreparation = z.infer<typeof PluginBimPreparation>;
173
+ export declare const PluginBimCreateArgs: z.ZodObject<{
174
+ preparationId: z.ZodString;
175
+ }, z.core.$strict>;
176
+ /** Source IDs identify removed sketch spaces, not live handles. Successful storeys share one undo step.
177
+ * Failed storeys remain spaces. Cancellation rolls back the whole conversion. Persistence is queued
178
+ * through normal model commands; this result is not a durable server-save acknowledgement.
179
+ */
180
+ export declare const PluginBimResult: z.ZodObject<{
181
+ status: z.ZodEnum<{
182
+ created: "created";
183
+ cancelled: "cancelled";
184
+ partial: "partial";
185
+ unchanged: "unchanged";
186
+ }>;
187
+ convertedSpaceIds: z.ZodArray<z.ZodString>;
188
+ created: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
189
+ kept: z.ZodArray<z.ZodObject<{
190
+ space: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
191
+ reason: z.ZodString;
192
+ }, z.core.$strip>>;
193
+ }, z.core.$strip>;
194
+ export type PluginBimResult = z.infer<typeof PluginBimResult>;
195
+ /** Plan-local vertex. Attach to a context node or to a fraction of a directed straight edge.
196
+ * New positions use world mm, Y-up. Attachments resolve on graph axes, not visible wall faces.
197
+ */
198
+ export declare const PluginBimUpdateNode: z.ZodUnion<readonly [z.ZodObject<{
199
+ id: z.ZodString;
200
+ positionMm: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
201
+ }, z.core.$strict>, z.ZodObject<{
202
+ id: z.ZodString;
203
+ attach: z.ZodObject<{
204
+ nodeId: z.ZodString;
205
+ }, z.core.$strict>;
206
+ }, z.core.$strict>, z.ZodObject<{
207
+ id: z.ZodString;
208
+ attach: z.ZodObject<{
209
+ edgeId: z.ZodString;
210
+ t: z.ZodNumber;
211
+ }, z.core.$strict>;
212
+ }, z.core.$strict>]>;
213
+ export type PluginBimUpdateNode = z.infer<typeof PluginBimUpdateNode>;
214
+ /** Additive partition graph, not replacement or raw PG2 CRUD. Endpoints reference plan-local nodes.
215
+ * Each free node must meet at least two planned walls; an open end requires an explicit attachment.
216
+ * Heights and positions use mm. All recipes, endpoints and revisions resolve before any mutation.
217
+ */
218
+ export declare const PluginBimUpdateGraph: z.ZodObject<{
219
+ revision: z.ZodString;
220
+ proposalId: z.ZodString;
221
+ nodes: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
222
+ id: z.ZodString;
223
+ positionMm: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
224
+ }, z.core.$strict>, z.ZodObject<{
225
+ id: z.ZodString;
226
+ attach: z.ZodObject<{
227
+ nodeId: z.ZodString;
228
+ }, z.core.$strict>;
229
+ }, z.core.$strict>, z.ZodObject<{
230
+ id: z.ZodString;
231
+ attach: z.ZodObject<{
232
+ edgeId: z.ZodString;
233
+ t: z.ZodNumber;
234
+ }, z.core.$strict>;
235
+ }, z.core.$strict>]>>;
236
+ walls: z.ZodArray<z.ZodObject<{
237
+ id: z.ZodString;
238
+ start: z.ZodString;
239
+ end: z.ZodString;
240
+ family: z.ZodUnion<readonly [z.ZodObject<{
241
+ id: z.ZodString;
242
+ version: z.ZodNumber;
243
+ }, z.core.$strict>, z.ZodString]>;
244
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodBoolean]>>>;
245
+ heightMm: z.ZodNumber;
246
+ reversed: z.ZodBoolean;
247
+ alignment: z.ZodLiteral<"coreCentre">;
248
+ }, z.core.$strict>>;
249
+ }, z.core.$strict>;
250
+ export type PluginBimUpdateGraph = z.infer<typeof PluginBimUpdateGraph>;
251
+ /** One native transaction. Regions are the final active-proposal regions, not predicted contours.
252
+ * Commands queue persistence; success is not a durable server-save acknowledgement.
253
+ */
254
+ export declare const PluginBimUpdateResult: z.ZodObject<{
255
+ created: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
256
+ updated: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
257
+ removed: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
258
+ walls: z.ZodArray<z.ZodObject<{
259
+ id: z.ZodString;
260
+ components: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
261
+ }, z.core.$strip>>;
262
+ regions: z.ZodArray<z.ZodObject<{
263
+ id: z.ZodString;
264
+ floor: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>>;
265
+ }, z.core.$strip>>;
266
+ }, z.core.$strip>;
267
+ export type PluginBimUpdateResult = z.infer<typeof PluginBimUpdateResult>;
268
+ /** Agent-driven BIM construction and partition updates through native PG2 topology. */
269
+ export declare abstract class PluginDesignBimApi {
270
+ /** Read room adjacency and native conversion eligibility in the active proposal.
271
+ * @param options Optional explicit spaces; filters edges but keeps adjacent room metadata.
272
+ * @returns Rooms, directed boundaries in mm, eligibility and revision.
273
+ * @examplePrompt Inspect the rooms on each side of these sketch wall boundaries
274
+ */
275
+ abstract getContext(options?: PluginBimContextArgs): PluginApiReturn<PluginBimContext>;
276
+ /** Stage a complete wall-construction assignment. A new prepare replaces this plugin's prior plan.
277
+ * @param plan Exact context revision, selected spaces, constructions and edge assignments.
278
+ * @returns Diagnostics or an opaque preparation ID, scoped to the caller and current project.
279
+ * @examplePrompt Validate wall layer assignments before converting sketch rooms to BIM
280
+ */
281
+ abstract prepare(plan: PluginBimPrepareArgs): PluginApiReturn<PluginBimPreparation>;
282
+ /** Execute native Sketch-to-BIM. Revalidates scope, catalogue access and construction before mutation.
283
+ * Uses native progress/cancel controls and worker cancellation. Floors/roofs retain project defaults.
284
+ * @param preparationId ID returned by prepare. Consumed once; stale or foreign IDs throw PRECONDITION_FAILED.
285
+ * @returns Created component handles and explicit converted/kept outcomes, including partial success.
286
+ * @examplePrompt Convert these sketch rooms to BIM with wall layers chosen for each room boundary
287
+ */
288
+ abstract create(preparationId: string): PluginApiReturn<PluginBimResult>;
289
+ /** Add a partition graph with explicit connectivity and chosen wall families in one undo step.
290
+ * Validation is part of this call. PG2 splits intersections and generates floors with native lineage.
291
+ * Does not move/delete existing edges, infer face snapping, or change catalogue definitions.
292
+ * @param graphJson JSON-encoded PluginBimUpdateGraph from the latest getContext revision.
293
+ * @returns Created/updated/removed components, wall mappings and resulting regions. Invalid or stale
294
+ * plans throw before mutation; failed construction rolls back. Read context after an unknown result.
295
+ * @examplePrompt Add bathroom partitions attached to these existing graph boundaries
296
+ */
297
+ abstract update(graphJson: string): PluginApiReturn<PluginBimUpdateResult>;
298
+ }
299
+ //# sourceMappingURL=bim.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bim.d.ts","sourceRoot":"","sources":["../../../src/api/design/bim.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAYlD,8EAA8E;AAC9E,eAAO,MAAM,oBAAoB;;kB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,CAAC,CAAA;AAE7D;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;oBAW9B,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuBtB,CAAA;AACX,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAMhC,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,uFAAuF;AACvF,8BAAsB,kBAAkB;IACtC;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CACjB,OAAO,CAAC,EAAE,oBAAoB,GAC7B,eAAe,CAAC,gBAAgB,CAAC;IAEpC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,CACd,IAAI,EAAE,oBAAoB,GACzB,eAAe,CAAC,oBAAoB,CAAC;IAExC;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,MAAM,GAAG,eAAe,CAAC,eAAe,CAAC;IAExE;;;;;;;OAOG;IACH,QAAQ,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,eAAe,CAAC,qBAAqB,CAAC;CAC3E"}
@@ -53,6 +53,8 @@ export declare abstract class PluginDesignBooleanApi {
53
53
  * boolean (CSG) subtraction that carves the tools' volume out of the target and
54
54
  * commits the remainder as a single undoable step.
55
55
  *
56
+ * Masses only. Slabs, floors and roofs take holes through `design.create.void`.
57
+ *
56
58
  * ORDER-SENSITIVE: the host seeds `[target, ...tools]`; index 0 is the arg brep,
57
59
  * the rest are tool breps. `deleted` includes the target AND every tool;
58
60
  * `created` is the remainder mass(es).
@@ -1 +1 @@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