@snaptrude/plugin-core 0.0.0-dev-20260708130115 → 0.0.0-dev-20260827135706

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 (261) hide show
  1. package/CHANGELOG.md +152 -1
  2. package/api-manifest.json +3620 -276
  3. package/dist/api/analysis/daylight.d.ts +603 -0
  4. package/dist/api/analysis/daylight.d.ts.map +1 -0
  5. package/dist/api/analysis/heatmaps.d.ts +658 -0
  6. package/dist/api/analysis/heatmaps.d.ts.map +1 -0
  7. package/dist/api/analysis/illuminance.d.ts +145 -0
  8. package/dist/api/analysis/illuminance.d.ts.map +1 -0
  9. package/dist/api/analysis/index.d.ts +59 -0
  10. package/dist/api/analysis/index.d.ts.map +1 -0
  11. package/dist/api/analysis/shadows.d.ts +165 -0
  12. package/dist/api/analysis/shadows.d.ts.map +1 -0
  13. package/dist/api/analysis/solar.d.ts +249 -0
  14. package/dist/api/analysis/solar.d.ts.map +1 -0
  15. package/dist/api/analysis/sunlightHours.d.ts +208 -0
  16. package/dist/api/analysis/sunlightHours.d.ts.map +1 -0
  17. package/dist/api/analysis/sunpath.d.ts +80 -0
  18. package/dist/api/analysis/sunpath.d.ts.map +1 -0
  19. package/dist/api/analysis/weather.d.ts +193 -0
  20. package/dist/api/analysis/weather.d.ts.map +1 -0
  21. package/dist/api/core/camera/index.d.ts +261 -0
  22. package/dist/api/core/camera/index.d.ts.map +1 -0
  23. package/dist/api/core/comment/index.d.ts +105 -2
  24. package/dist/api/core/comment/index.d.ts.map +1 -1
  25. package/dist/api/core/geom/create/index.d.ts +840 -14
  26. package/dist/api/core/geom/create/index.d.ts.map +1 -1
  27. package/dist/api/core/geom/delete/index.d.ts +8 -2
  28. package/dist/api/core/geom/delete/index.d.ts.map +1 -1
  29. package/dist/api/core/geom/query/arc.d.ts +5 -5
  30. package/dist/api/core/geom/query/brep.d.ts +130 -18
  31. package/dist/api/core/geom/query/brep.d.ts.map +1 -1
  32. package/dist/api/core/geom/query/circle.d.ts +18 -18
  33. package/dist/api/core/geom/query/contour.d.ts +20 -20
  34. package/dist/api/core/geom/query/curve.d.ts +49 -49
  35. package/dist/api/core/geom/query/edge.d.ts +5 -5
  36. package/dist/api/core/geom/query/face.d.ts +16 -16
  37. package/dist/api/core/geom/query/halfedge.d.ts +8 -8
  38. package/dist/api/core/geom/query/profile.d.ts +19 -19
  39. package/dist/api/core/geom/query/vertex.d.ts +8 -8
  40. package/dist/api/core/geom/update/contour.d.ts +14 -14
  41. package/dist/api/core/geom/update/curve.d.ts +7 -7
  42. package/dist/api/core/geom/update/profile.d.ts +16 -16
  43. package/dist/api/core/handles/index.d.ts +210 -0
  44. package/dist/api/core/handles/index.d.ts.map +1 -0
  45. package/dist/api/core/index.d.ts +34 -0
  46. package/dist/api/core/index.d.ts.map +1 -1
  47. package/dist/api/core/io/export/index.d.ts +134 -0
  48. package/dist/api/core/io/export/index.d.ts.map +1 -0
  49. package/dist/api/core/io/import/index.d.ts +453 -0
  50. package/dist/api/core/io/import/index.d.ts.map +1 -0
  51. package/dist/api/core/io/index.d.ts +40 -0
  52. package/dist/api/core/io/index.d.ts.map +1 -0
  53. package/dist/api/core/io/job/index.d.ts +139 -0
  54. package/dist/api/core/io/job/index.d.ts.map +1 -0
  55. package/dist/api/core/io/query/index.d.ts +74 -0
  56. package/dist/api/core/io/query/index.d.ts.map +1 -0
  57. package/dist/api/core/io/terrain/index.d.ts +341 -0
  58. package/dist/api/core/io/terrain/index.d.ts.map +1 -0
  59. package/dist/api/core/io/underlay/index.d.ts +805 -0
  60. package/dist/api/core/io/underlay/index.d.ts.map +1 -0
  61. package/dist/api/core/layers.d.ts +7 -7
  62. package/dist/api/core/mode/index.d.ts +99 -0
  63. package/dist/api/core/mode/index.d.ts.map +1 -0
  64. package/dist/api/core/project/index.d.ts +68 -1
  65. package/dist/api/core/project/index.d.ts.map +1 -1
  66. package/dist/api/core/proposals/index.d.ts +531 -0
  67. package/dist/api/core/proposals/index.d.ts.map +1 -0
  68. package/dist/api/core/storeys/index.d.ts +265 -0
  69. package/dist/api/core/storeys/index.d.ts.map +1 -0
  70. package/dist/api/core/tags.d.ts +24 -0
  71. package/dist/api/core/tags.d.ts.map +1 -1
  72. package/dist/api/core/user.d.ts +44 -0
  73. package/dist/api/core/user.d.ts.map +1 -0
  74. package/dist/api/core/zoom/index.d.ts +4 -0
  75. package/dist/api/core/zoom/index.d.ts.map +1 -1
  76. package/dist/api/design/boolean/index.d.ts +4 -4
  77. package/dist/api/design/create/index.d.ts +568 -45
  78. package/dist/api/design/create/index.d.ts.map +1 -1
  79. package/dist/api/design/delete/index.d.ts +3 -0
  80. package/dist/api/design/delete/index.d.ts.map +1 -1
  81. package/dist/api/design/doors/index.d.ts +195 -0
  82. package/dist/api/design/doors/index.d.ts.map +1 -1
  83. package/dist/api/design/edit/index.d.ts +1 -1
  84. package/dist/api/design/erase/index.d.ts +2 -2
  85. package/dist/api/design/family.d.ts +349 -0
  86. package/dist/api/design/family.d.ts.map +1 -0
  87. package/dist/api/design/furniture/index.d.ts +181 -8
  88. package/dist/api/design/furniture/index.d.ts.map +1 -1
  89. package/dist/api/design/index.d.ts +98 -0
  90. package/dist/api/design/index.d.ts.map +1 -1
  91. package/dist/api/design/lock.d.ts +26 -0
  92. package/dist/api/design/lock.d.ts.map +1 -1
  93. package/dist/api/design/materials/index.d.ts +270 -16
  94. package/dist/api/design/materials/index.d.ts.map +1 -1
  95. package/dist/api/design/query/geometry/index.d.ts +112 -0
  96. package/dist/api/design/query/geometry/index.d.ts.map +1 -1
  97. package/dist/api/design/query/index.d.ts +282 -11
  98. package/dist/api/design/query/index.d.ts.map +1 -1
  99. package/dist/api/design/query/referenceLines.d.ts +45 -0
  100. package/dist/api/design/query/referenceLines.d.ts.map +1 -0
  101. package/dist/api/design/query/spaces.d.ts +181 -8
  102. package/dist/api/design/query/spaces.d.ts.map +1 -1
  103. package/dist/api/design/selection/index.d.ts +144 -0
  104. package/dist/api/design/selection/index.d.ts.map +1 -1
  105. package/dist/api/design/transform/index.d.ts +172 -10
  106. package/dist/api/design/transform/index.d.ts.map +1 -1
  107. package/dist/api/design/types/index.d.ts +181 -0
  108. package/dist/api/design/types/index.d.ts.map +1 -0
  109. package/dist/api/design/update/index.d.ts +553 -2
  110. package/dist/api/design/update/index.d.ts.map +1 -1
  111. package/dist/api/design/visibility.d.ts +126 -0
  112. package/dist/api/design/visibility.d.ts.map +1 -0
  113. package/dist/api/design/windows/index.d.ts +113 -2
  114. package/dist/api/design/windows/index.d.ts.map +1 -1
  115. package/dist/api/entity/buildableEnvelope.d.ts +4 -0
  116. package/dist/api/entity/buildableEnvelope.d.ts.map +1 -1
  117. package/dist/api/entity/referenceLine.d.ts +10 -2
  118. package/dist/api/entity/referenceLine.d.ts.map +1 -1
  119. package/dist/api/entity/space.d.ts +21 -21
  120. package/dist/api/entity/story.d.ts +242 -15
  121. package/dist/api/entity/story.d.ts.map +1 -1
  122. package/dist/api/index.d.ts +10 -0
  123. package/dist/api/index.d.ts.map +1 -1
  124. package/dist/api/presentation/aiInspiration.d.ts +25 -25
  125. package/dist/api/presentation/annotate.d.ts +467 -0
  126. package/dist/api/presentation/annotate.d.ts.map +1 -0
  127. package/dist/api/presentation/diagrams.d.ts +111 -8
  128. package/dist/api/presentation/diagrams.d.ts.map +1 -1
  129. package/dist/api/presentation/export.d.ts +108 -0
  130. package/dist/api/presentation/export.d.ts.map +1 -0
  131. package/dist/api/presentation/import.d.ts +55 -4
  132. package/dist/api/presentation/import.d.ts.map +1 -1
  133. package/dist/api/presentation/index.d.ts +58 -1
  134. package/dist/api/presentation/index.d.ts.map +1 -1
  135. package/dist/api/presentation/placedViews.d.ts +1139 -0
  136. package/dist/api/presentation/placedViews.d.ts.map +1 -0
  137. package/dist/api/presentation/shapes.d.ts +481 -0
  138. package/dist/api/presentation/shapes.d.ts.map +1 -0
  139. package/dist/api/presentation/sheets.d.ts +452 -13
  140. package/dist/api/presentation/sheets.d.ts.map +1 -1
  141. package/dist/api/presentation/slideshow.d.ts +125 -0
  142. package/dist/api/presentation/slideshow.d.ts.map +1 -0
  143. package/dist/api/presentation/tables.d.ts +81 -0
  144. package/dist/api/presentation/tables.d.ts.map +1 -0
  145. package/dist/api/presentation/views.d.ts +367 -7
  146. package/dist/api/presentation/views.d.ts.map +1 -1
  147. package/dist/api/program/areas.d.ts +102 -12
  148. package/dist/api/program/areas.d.ts.map +1 -1
  149. package/dist/api/program/cores.d.ts +3 -99
  150. package/dist/api/program/cores.d.ts.map +1 -1
  151. package/dist/api/program/index.d.ts +7 -15
  152. package/dist/api/program/index.d.ts.map +1 -1
  153. package/dist/api/program/layout.d.ts +346 -11
  154. package/dist/api/program/layout.d.ts.map +1 -1
  155. package/dist/api/program/site.d.ts +469 -13
  156. package/dist/api/program/site.d.ts.map +1 -1
  157. package/dist/api/program/spreadsheet.d.ts +365 -41
  158. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  159. package/dist/api/workspace/index.d.ts +505 -0
  160. package/dist/api/workspace/index.d.ts.map +1 -0
  161. package/dist/errors/codes.d.ts +34 -0
  162. package/dist/errors/codes.d.ts.map +1 -0
  163. package/dist/errors/envelope.d.ts +56 -0
  164. package/dist/errors/envelope.d.ts.map +1 -0
  165. package/dist/errors/index.d.ts +6 -0
  166. package/dist/errors/index.d.ts.map +1 -0
  167. package/dist/errors/plugin-error.d.ts +69 -0
  168. package/dist/errors/plugin-error.d.ts.map +1 -0
  169. package/dist/handles.d.ts +97 -25
  170. package/dist/handles.d.ts.map +1 -1
  171. package/dist/host-utils.d.ts +4 -0
  172. package/dist/host-utils.d.ts.map +1 -1
  173. package/dist/index.cjs +4582 -1422
  174. package/dist/index.cjs.map +1 -1
  175. package/dist/index.d.ts +1 -0
  176. package/dist/index.d.ts.map +1 -1
  177. package/dist/index.js +4171 -1411
  178. package/dist/index.js.map +1 -1
  179. package/package.json +4 -2
  180. package/scripts/generate-manifest.mjs +45 -0
  181. package/scripts/generate-manifest.test.mjs +103 -4
  182. package/src/api/analysis/daylight.ts +470 -0
  183. package/src/api/analysis/heatmaps.ts +683 -0
  184. package/src/api/analysis/illuminance.ts +155 -0
  185. package/src/api/analysis/index.ts +61 -0
  186. package/src/api/analysis/shadows.ts +183 -0
  187. package/src/api/analysis/solar.ts +237 -0
  188. package/src/api/analysis/sunlightHours.ts +211 -0
  189. package/src/api/analysis/sunpath.ts +83 -0
  190. package/src/api/analysis/weather.ts +179 -0
  191. package/src/api/core/camera/index.ts +268 -0
  192. package/src/api/core/comment/index.ts +120 -2
  193. package/src/api/core/geom/create/index.ts +912 -1
  194. package/src/api/core/geom/delete/index.ts +6 -0
  195. package/src/api/core/geom/query/brep.ts +119 -0
  196. package/src/api/core/handles/index.ts +233 -0
  197. package/src/api/core/index.ts +34 -0
  198. package/src/api/core/io/export/index.ts +126 -0
  199. package/src/api/core/io/import/index.ts +496 -0
  200. package/src/api/core/io/index.ts +42 -0
  201. package/src/api/core/io/job/index.ts +140 -0
  202. package/src/api/core/io/query/index.ts +71 -0
  203. package/src/api/core/io/terrain/index.ts +360 -0
  204. package/src/api/core/io/underlay/index.ts +705 -0
  205. package/src/api/core/mode/index.ts +96 -0
  206. package/src/api/core/project/index.ts +62 -1
  207. package/src/api/core/proposals/index.ts +569 -0
  208. package/src/api/core/storeys/index.ts +294 -0
  209. package/src/api/core/tags.ts +27 -0
  210. package/src/api/core/user.ts +46 -0
  211. package/src/api/core/zoom/index.ts +4 -0
  212. package/src/api/design/create/index.ts +670 -30
  213. package/src/api/design/delete/index.ts +3 -0
  214. package/src/api/design/doors/index.ts +208 -0
  215. package/src/api/design/erase/index.ts +1 -1
  216. package/src/api/design/family.ts +388 -0
  217. package/src/api/design/furniture/index.ts +197 -8
  218. package/src/api/design/index.ts +102 -0
  219. package/src/api/design/lock.ts +27 -0
  220. package/src/api/design/materials/index.ts +334 -27
  221. package/src/api/design/query/geometry/index.ts +125 -3
  222. package/src/api/design/query/index.ts +217 -7
  223. package/src/api/design/query/referenceLines.ts +52 -0
  224. package/src/api/design/query/spaces.ts +143 -0
  225. package/src/api/design/selection/index.ts +129 -0
  226. package/src/api/design/transform/index.ts +170 -9
  227. package/src/api/design/types/index.ts +156 -0
  228. package/src/api/design/update/index.ts +631 -3
  229. package/src/api/design/visibility.ts +143 -0
  230. package/src/api/design/windows/index.ts +128 -2
  231. package/src/api/entity/buildableEnvelope.ts +4 -0
  232. package/src/api/entity/referenceLine.ts +8 -0
  233. package/src/api/entity/story.ts +259 -15
  234. package/src/api/index.ts +10 -0
  235. package/src/api/presentation/annotate.ts +385 -0
  236. package/src/api/presentation/diagrams.ts +118 -8
  237. package/src/api/presentation/export.ts +108 -0
  238. package/src/api/presentation/import.ts +51 -4
  239. package/src/api/presentation/index.ts +66 -1
  240. package/src/api/presentation/placedViews.ts +1120 -0
  241. package/src/api/presentation/shapes.ts +274 -0
  242. package/src/api/presentation/sheets.ts +400 -13
  243. package/src/api/presentation/slideshow.ts +134 -0
  244. package/src/api/presentation/tables.ts +84 -0
  245. package/src/api/presentation/views.ts +376 -8
  246. package/src/api/program/areas.ts +88 -15
  247. package/src/api/program/cores.ts +3 -91
  248. package/src/api/program/index.ts +7 -15
  249. package/src/api/program/layout.ts +365 -11
  250. package/src/api/program/site.ts +435 -13
  251. package/src/api/program/spreadsheet.ts +376 -35
  252. package/src/api/workspace/index.ts +563 -0
  253. package/src/errors/codes.ts +136 -0
  254. package/src/errors/envelope.ts +75 -0
  255. package/src/errors/index.ts +21 -0
  256. package/src/errors/plugin-error.ts +134 -0
  257. package/src/handles.ts +123 -13
  258. package/src/host-utils.ts +4 -0
  259. package/src/index.ts +1 -0
  260. package/test/errors.test.mjs +184 -0
  261. package/tsconfig.json +7 -2
@@ -0,0 +1,531 @@
1
+ import * as z from "zod";
2
+ import { PluginApiReturn } from "../../../types";
3
+ import { ComponentHandle } from "../../../handles";
4
+ /**
5
+ * Proposals — read and edit the project's design options ("proposals").
6
+ *
7
+ * A **proposal** is a design option: one of several variants of the same
8
+ * project. Each proposal owns a set of buckets (a bucket == a drawing layer),
9
+ * and switching the active proposal shows/hides the buckets it owns. Proposals
10
+ * are **infrastructure**, not design — they own the buckets/layers geometry
11
+ * lives in — so they sit under `core`, not `design` (constitution §2A).
12
+ *
13
+ * Reads return plain records and never throw for a missing proposal (`get` and
14
+ * `getActive` return `null`, `list` / `listForComponent` return an empty list,
15
+ * `isActive` returns `false`). Ids are stable public strings.
16
+ *
17
+ * On legacy / no-proposal projects the scoping predicates degrade gracefully:
18
+ * `getActive` returns `null` and the reads return empty.
19
+ *
20
+ * Proposal writes are **not undoable** — create / rename / setActive / delete
21
+ * persist directly and bypass the undo stack; a `core.history.undo` will not
22
+ * reverse them. Each proposal keeps its own isolated undo stack for the
23
+ * geometry edits made inside it.
24
+ *
25
+ * Accessed via `snaptrude.core.proposals`.
26
+ */
27
+ export declare abstract class PluginCoreProposalsApi {
28
+ constructor();
29
+ /**
30
+ * List the design options (proposals) in the active project.
31
+ *
32
+ * @returns A {@linkcode PluginCoreProposalsListResult} with a `proposals`
33
+ * array (empty on a legacy / no-proposal project).
34
+ *
35
+ * @examplePrompt List all the design options in this project
36
+ * @examplePrompt How many proposals does this project have?
37
+ * @examplePrompt Show every design variant with its name
38
+ *
39
+ * # Example
40
+ * ```ts
41
+ * const { proposals } = await snaptrude.core.proposals.list()
42
+ * for (const p of proposals) console.log(p.id, p.name, p.isActive)
43
+ * ```
44
+ */
45
+ abstract list(): PluginApiReturn<PluginCoreProposalsListResult>;
46
+ /**
47
+ * Get a single proposal by id.
48
+ *
49
+ * @param proposalId - The id of the proposal to read.
50
+ * @returns The matching {@linkcode PluginCoreProposalRef}, or `null` if no
51
+ * proposal has that id.
52
+ *
53
+ * @examplePrompt Get the proposal with id prop_1
54
+ * @examplePrompt Look up a single design option by its id
55
+ * @examplePrompt Which buckets belong to proposal prop_2?
56
+ *
57
+ * # Example
58
+ * ```ts
59
+ * const proposal = await snaptrude.core.proposals.get("prop_1")
60
+ * if (proposal) console.log(proposal.name, proposal.bucketIds)
61
+ * ```
62
+ */
63
+ abstract get(proposalId: string): PluginApiReturn<PluginCoreProposalsGetResult>;
64
+ /**
65
+ * Get the active proposal.
66
+ *
67
+ * The active proposal is the design option currently shown and edited.
68
+ * Honors a present-mode capture override: while a present-mode capture is in
69
+ * flight this returns the captured proposal, not the redux-active one. Paired
70
+ * with {@linkcode PluginCoreProposalsApi.setActive}.
71
+ *
72
+ * @returns The active {@linkcode PluginCoreProposalRef}, or `null` on a legacy
73
+ * / no-proposal project where nothing is active.
74
+ *
75
+ * @examplePrompt Which design option is active?
76
+ * @examplePrompt Get the current proposal
77
+ * @examplePrompt What proposal am I working in?
78
+ *
79
+ * # Example
80
+ * ```ts
81
+ * const active = await snaptrude.core.proposals.getActive()
82
+ * if (active) console.log(active.id, active.name)
83
+ * ```
84
+ */
85
+ abstract getActive(): PluginApiReturn<PluginCoreProposalsGetActiveResult>;
86
+ /**
87
+ * List the proposals a component belongs to.
88
+ *
89
+ * Returns **every** proposal whose buckets include the component — a bucket
90
+ * can be shared across proposals, so a component may appear in more than one.
91
+ *
92
+ * @param component - The component to look up.
93
+ * @returns A {@linkcode PluginCoreProposalsListForComponentResult} with a
94
+ * `proposals` array (empty when the component is out of scope or the project
95
+ * has no proposals).
96
+ *
97
+ * @examplePrompt Which design options is this component part of?
98
+ * @examplePrompt List the proposals that contain this wall
99
+ * @examplePrompt Is this element shared across multiple design variants?
100
+ *
101
+ * # Example
102
+ * ```ts
103
+ * const { proposals } = await snaptrude.core.proposals.listForComponent(wall)
104
+ * console.log(`shared across ${proposals.length} proposals`)
105
+ * ```
106
+ */
107
+ abstract listForComponent(component: ComponentHandle): PluginApiReturn<PluginCoreProposalsListForComponentResult>;
108
+ /**
109
+ * Test whether a proposal is the active one.
110
+ *
111
+ * @param proposalId - The id of the proposal to test.
112
+ * @returns `true` if it is the active proposal, otherwise `false` (including
113
+ * when no proposal has that id).
114
+ *
115
+ * @examplePrompt Is proposal prop_2 the active one?
116
+ * @examplePrompt Check whether this design option is currently shown
117
+ * @examplePrompt Am I working in proposal prop_1?
118
+ *
119
+ * # Example
120
+ * ```ts
121
+ * if (await snaptrude.core.proposals.isActive("prop_1")) {
122
+ * console.log("prop_1 is active")
123
+ * }
124
+ * ```
125
+ */
126
+ abstract isActive(proposalId: string): PluginApiReturn<boolean>;
127
+ /**
128
+ * Create a new design option (proposal) — blank, or configured from a base
129
+ * proposal (the New Proposal modal's two paths).
130
+ *
131
+ * **Pro-gated** (creating proposals requires a Pro plan, matching the UI) and
132
+ * **not undoable**. The name is capped at 24 characters.
133
+ *
134
+ * **Blank** (no `options`) — creates a bare proposal with a single empty
135
+ * default bucket; it does **not** carry forward the current proposal's
136
+ * layers, views, or targets, and the active proposal does **not** change.
137
+ *
138
+ * **Configured** (`options.baseProposalId`) — the modal's Configure path:
139
+ * carries the base proposal's buckets (layers) forward per `options.layers`,
140
+ * where each entry names a bucket of the base proposal and an action —
141
+ * `"share"` (the new proposal references the same live bucket) or
142
+ * `"duplicate"` (an independent copy of the bucket and its contents).
143
+ * Buckets not listed are left behind. Omitting `layers` carries **every**
144
+ * base bucket forward as a `"duplicate"` (the modal's default). The base
145
+ * proposal's views and area targets are copied either way, and the new
146
+ * proposal becomes the **active** one (implicit switch — blocked with
147
+ * `PROPOSAL_SWITCH_BLOCKED` while an in-canvas agent run is in flight, like
148
+ * {@linkcode PluginCoreProposalsApi.setActive}).
149
+ *
150
+ * @param name - Display name of the new proposal (capped at 24 chars).
151
+ * @param options - Optional configure path: `baseProposalId` (the proposal to
152
+ * carry forward from) and `layers` (per-bucket `"share"` / `"duplicate"`
153
+ * actions; omitted buckets are excluded, omitted `layers` duplicates all).
154
+ * @returns The new proposal's id (read the full record back with
155
+ * {@linkcode PluginCoreProposalsApi.get}).
156
+ * @throws If the caller is not on a Pro plan, the name is empty/duplicate,
157
+ * `layers` is passed without `baseProposalId`, the base proposal or a
158
+ * listed bucket does not exist / does not belong to the base proposal, or
159
+ * (configured only) `PROPOSAL_SWITCH_BLOCKED` while a canvas-agent run is
160
+ * in flight.
161
+ *
162
+ * @examplePrompt Create a design option called Scheme B
163
+ * @examplePrompt Add a new proposal named Option 2
164
+ * @examplePrompt Duplicate the current proposal as Scheme C
165
+ * @examplePrompt Create a design option based on Proposal 1 that shares its site layer
166
+ *
167
+ * # Example
168
+ * ```ts
169
+ * // blank design option
170
+ * const { id } = await snaptrude.core.proposals.create("Scheme B")
171
+ *
172
+ * // configured from the active proposal: duplicate every layer
173
+ * const base = await snaptrude.core.proposals.getActive()
174
+ * if (base) {
175
+ * const { id: dup } = await snaptrude.core.proposals.create("Scheme C", {
176
+ * baseProposalId: base.id,
177
+ * })
178
+ * // …or share one layer and leave the rest behind
179
+ * const { id: shared } = await snaptrude.core.proposals.create("Scheme D", {
180
+ * baseProposalId: base.id,
181
+ * layers: [{ bucketId: base.defaultBucketId, action: "share" }],
182
+ * })
183
+ * }
184
+ * ```
185
+ */
186
+ abstract create(name: string, options?: {
187
+ baseProposalId: string;
188
+ layers?: {
189
+ bucketId: string;
190
+ action: "share" | "duplicate";
191
+ }[];
192
+ }): PluginApiReturn<PluginCoreProposalsCreateResult>;
193
+ /**
194
+ * Rename a proposal.
195
+ *
196
+ * **Not undoable.** The name is capped at 24 characters.
197
+ *
198
+ * @param proposalId - The id of the proposal to rename.
199
+ * @param name - The new display name (capped at 24 chars).
200
+ * @returns The updated {@linkcode PluginCoreProposalRef}.
201
+ * @throws If no proposal has the given id, or the name is empty / duplicates
202
+ * another proposal.
203
+ *
204
+ * @examplePrompt Rename proposal prop_1 to Final Scheme
205
+ * @examplePrompt Change the name of this design option
206
+ * @examplePrompt Call proposal prop_2 "Option A"
207
+ *
208
+ * # Example
209
+ * ```ts
210
+ * const proposal = await snaptrude.core.proposals.rename("prop_1", "Final Scheme")
211
+ * ```
212
+ */
213
+ abstract rename(proposalId: string, name: string): PluginApiReturn<PluginCoreProposalsRenameResult>;
214
+ /**
215
+ * Switch the active proposal.
216
+ *
217
+ * A **heavy scene switch** and **not undoable**. Switching clears the current
218
+ * selection, resets AI / streaming state, cancels proposal-scoped operations,
219
+ * retoggles bucket visibility to the new proposal's owned set, restores its
220
+ * per-proposal site/FSI settings, and realigns the views panel. After the
221
+ * switch, **writes** are guarded to the new active proposal (edits targeting
222
+ * components outside it are rejected), but **list reads are NOT
223
+ * proposal-filtered** — `design.query.list*` and similar reads stay
224
+ * project-wide; filter their results via
225
+ * {@linkcode PluginCoreProposalsApi.listForComponent} if you need
226
+ * proposal-scoped sets.
227
+ *
228
+ * **Blocked while an in-canvas agent run is in flight** — throws
229
+ * `PROPOSAL_SWITCH_BLOCKED` if a canvas-agent run is active (matching the UI's
230
+ * hard block), because a switch would cancel the in-flight run.
231
+ *
232
+ * @param proposalId - The id of the proposal to activate.
233
+ * @returns The id of the now-active proposal.
234
+ * @throws `PROPOSAL_SWITCH_BLOCKED` while a canvas-agent run is in flight; or
235
+ * if no proposal has the given id.
236
+ *
237
+ * @examplePrompt Switch to proposal prop_2
238
+ * @examplePrompt Make Scheme B the active design option
239
+ * @examplePrompt Show me the other proposal
240
+ *
241
+ * # Example
242
+ * ```ts
243
+ * await snaptrude.core.proposals.setActive("prop_2")
244
+ * ```
245
+ */
246
+ abstract setActive(proposalId: string): PluginApiReturn<PluginCoreProposalsSetActiveResult>;
247
+ /**
248
+ * Delete a proposal.
249
+ *
250
+ * **DANGEROUS AND IRREVERSIBLE — not undoable.** You must choose **exactly
251
+ * one** explicit disposition (mirroring the product's delete dialog):
252
+ *
253
+ * - `{ deleteObjects: true }` — delete the proposal AND **permanently
254
+ * destroy the geometry** in its exclusive buckets. Buckets shared with
255
+ * other proposals are never destroyed.
256
+ * - `{ targetProposalId }` — transfer **all** of this proposal's buckets to
257
+ * another proposal first (keeping the geometry alive), then delete the
258
+ * emptied proposal — "merge and remove". The target must be a
259
+ * **different** proposal.
260
+ *
261
+ * A bare `delete(proposalId)` is **rejected**: there is no safe default —
262
+ * without a disposition the engine would drop the proposal's bucket records
263
+ * while leaving their components orphaned. Passing both dispositions at once
264
+ * is also rejected as ambiguous.
265
+ *
266
+ * It is **server-validated**: the backend refuses the delete (throws) if a
267
+ * collaborator is active in that proposal, and the check times out after
268
+ * ~10s. The project's **last remaining proposal cannot be deleted**. If the
269
+ * proposal is active, the host switches away first.
270
+ *
271
+ * @param proposalId - The id of the proposal to delete.
272
+ * @param options - Exactly one disposition: `{ deleteObjects: true }`
273
+ * (destroy exclusive-bucket geometry) or `{ targetProposalId }` (transfer
274
+ * buckets to that proposal, then delete).
275
+ * @returns Confirmation that the proposal was deleted.
276
+ * @throws If no disposition (or both) is given, `targetProposalId` equals
277
+ * `proposalId`, no proposal has the given id, it is the only proposal, a
278
+ * collaborator lock refuses the delete, or the server validation times out.
279
+ *
280
+ * @examplePrompt Delete proposal prop_2 and everything in it
281
+ * @examplePrompt Remove this design option and destroy its geometry
282
+ * @examplePrompt Merge prop_2's layers into prop_1 and delete prop_2
283
+ *
284
+ * # Example
285
+ * ```ts
286
+ * // destroy the proposal and its exclusive geometry
287
+ * await snaptrude.core.proposals.delete("prop_2", { deleteObjects: true })
288
+ * // …or keep the geometry by transferring its buckets to prop_1 first
289
+ * await snaptrude.core.proposals.delete("prop_2", { targetProposalId: "prop_1" })
290
+ * ```
291
+ */
292
+ abstract delete(proposalId: string, options: {
293
+ deleteObjects: true;
294
+ targetProposalId?: never;
295
+ } | {
296
+ deleteObjects?: false;
297
+ targetProposalId: string;
298
+ }): PluginApiReturn<PluginCoreProposalsDeleteResult>;
299
+ }
300
+ /**
301
+ * A design option (proposal) in the active project.
302
+ *
303
+ * | Property | Type | Description |
304
+ * |---|---|---|
305
+ * | `id` | `string` | Stable public proposal id (e.g. `"prop_1"`) |
306
+ * | `name` | `string` | Display name (≤ 24 chars) |
307
+ * | `isActive` | `boolean` | Whether this is the active proposal |
308
+ * | `defaultBucketId` | `string` | Id of the proposal's default bucket (cannot be unshared) |
309
+ * | `bucketIds` | `string[]` | Ids of every bucket (layer) the proposal owns |
310
+ * | `createdAt` | `string` | ISO creation timestamp |
311
+ * | `createdBy` | `string` | User id of the creator |
312
+ */
313
+ export declare const PluginCoreProposalRef: z.ZodObject<{
314
+ id: z.ZodString;
315
+ name: z.ZodString;
316
+ isActive: z.ZodBoolean;
317
+ defaultBucketId: z.ZodString;
318
+ bucketIds: z.ZodArray<z.ZodString>;
319
+ createdAt: z.ZodString;
320
+ createdBy: z.ZodString;
321
+ }, z.core.$strip>;
322
+ export type PluginCoreProposalRef = z.infer<typeof PluginCoreProposalRef>;
323
+ /**
324
+ * Result of {@linkcode PluginCoreProposalsApi.list}.
325
+ *
326
+ * | Property | Type | Description |
327
+ * |---|---|---|
328
+ * | `proposals` | {@linkcode PluginCoreProposalRef}`[]` | Every proposal in the active project |
329
+ */
330
+ export declare const PluginCoreProposalsListResult: z.ZodObject<{
331
+ proposals: z.ZodArray<z.ZodObject<{
332
+ id: z.ZodString;
333
+ name: z.ZodString;
334
+ isActive: z.ZodBoolean;
335
+ defaultBucketId: z.ZodString;
336
+ bucketIds: z.ZodArray<z.ZodString>;
337
+ createdAt: z.ZodString;
338
+ createdBy: z.ZodString;
339
+ }, z.core.$strip>>;
340
+ }, z.core.$strip>;
341
+ export type PluginCoreProposalsListResult = z.infer<typeof PluginCoreProposalsListResult>;
342
+ /**
343
+ * Arguments for {@linkcode PluginCoreProposalsApi.get} /
344
+ * {@linkcode PluginCoreProposalsApi.isActive}.
345
+ *
346
+ * | Property | Type | Description |
347
+ * |---|---|---|
348
+ * | `proposalId` | `string` | The id of the proposal |
349
+ */
350
+ export declare const PluginCoreProposalsGetArgs: z.ZodObject<{
351
+ proposalId: z.ZodString;
352
+ }, z.core.$strip>;
353
+ export type PluginCoreProposalsGetArgs = z.infer<typeof PluginCoreProposalsGetArgs>;
354
+ /**
355
+ * Result of {@linkcode PluginCoreProposalsApi.get} — the proposal, or `null`
356
+ * when no proposal has the given id.
357
+ */
358
+ export declare const PluginCoreProposalsGetResult: z.ZodNullable<z.ZodObject<{
359
+ id: z.ZodString;
360
+ name: z.ZodString;
361
+ isActive: z.ZodBoolean;
362
+ defaultBucketId: z.ZodString;
363
+ bucketIds: z.ZodArray<z.ZodString>;
364
+ createdAt: z.ZodString;
365
+ createdBy: z.ZodString;
366
+ }, z.core.$strip>>;
367
+ export type PluginCoreProposalsGetResult = z.infer<typeof PluginCoreProposalsGetResult>;
368
+ /**
369
+ * Result of {@linkcode PluginCoreProposalsApi.getActive} — the active proposal,
370
+ * or `null` when nothing is active (legacy / no-proposal project).
371
+ */
372
+ export declare const PluginCoreProposalsGetActiveResult: z.ZodNullable<z.ZodObject<{
373
+ id: z.ZodString;
374
+ name: z.ZodString;
375
+ isActive: z.ZodBoolean;
376
+ defaultBucketId: z.ZodString;
377
+ bucketIds: z.ZodArray<z.ZodString>;
378
+ createdAt: z.ZodString;
379
+ createdBy: z.ZodString;
380
+ }, z.core.$strip>>;
381
+ export type PluginCoreProposalsGetActiveResult = z.infer<typeof PluginCoreProposalsGetActiveResult>;
382
+ /**
383
+ * Arguments for {@linkcode PluginCoreProposalsApi.listForComponent}.
384
+ *
385
+ * | Property | Type | Description |
386
+ * |---|---|---|
387
+ * | `component` | {@linkcode ComponentHandle} | The component to look up |
388
+ */
389
+ export declare const PluginCoreProposalsListForComponentArgs: z.ZodObject<{
390
+ component: z.ZodPipe<z.ZodString, z.ZodTransform<ComponentHandle, string>>;
391
+ }, z.core.$strip>;
392
+ export type PluginCoreProposalsListForComponentArgs = z.infer<typeof PluginCoreProposalsListForComponentArgs>;
393
+ /**
394
+ * Result of {@linkcode PluginCoreProposalsApi.listForComponent} — the proposals
395
+ * the component belongs to (empty when out of scope or none). Same shape as
396
+ * {@linkcode PluginCoreProposalsListResult}.
397
+ */
398
+ export declare const PluginCoreProposalsListForComponentResult: z.ZodObject<{
399
+ proposals: z.ZodArray<z.ZodObject<{
400
+ id: z.ZodString;
401
+ name: z.ZodString;
402
+ isActive: z.ZodBoolean;
403
+ defaultBucketId: z.ZodString;
404
+ bucketIds: z.ZodArray<z.ZodString>;
405
+ createdAt: z.ZodString;
406
+ createdBy: z.ZodString;
407
+ }, z.core.$strip>>;
408
+ }, z.core.$strip>;
409
+ export type PluginCoreProposalsListForComponentResult = z.infer<typeof PluginCoreProposalsListForComponentResult>;
410
+ /**
411
+ * Arguments for {@linkcode PluginCoreProposalsApi.isActive}. Alias of
412
+ * {@linkcode PluginCoreProposalsGetArgs}.
413
+ */
414
+ export declare const PluginCoreProposalsIsActiveArgs: z.ZodObject<{
415
+ proposalId: z.ZodString;
416
+ }, z.core.$strip>;
417
+ export type PluginCoreProposalsIsActiveArgs = z.infer<typeof PluginCoreProposalsIsActiveArgs>;
418
+ /**
419
+ * Arguments for {@linkcode PluginCoreProposalsApi.create}. A bare `name` makes
420
+ * a blank proposal; `baseProposalId` switches to the configured (carry-forward)
421
+ * path. `layers` requires `baseProposalId` — each entry names a bucket of the
422
+ * base proposal; omitted buckets are excluded, and omitting `layers` entirely
423
+ * duplicates every base bucket.
424
+ *
425
+ * | Property | Type | Description |
426
+ * |---|---|---|
427
+ * | `name` | `string` | Display name of the new proposal (capped at 24 chars) |
428
+ * | `baseProposalId` | `string \| undefined` | Proposal to carry forward from (configured path) |
429
+ * | `layers` | `{ bucketId: string; action: "share" \| "duplicate" }[] \| undefined` | Per-bucket carry-forward actions (requires `baseProposalId`) |
430
+ */
431
+ export declare const PluginCoreProposalsCreateArgs: z.ZodObject<{
432
+ name: z.ZodString;
433
+ baseProposalId: z.ZodOptional<z.ZodString>;
434
+ layers: z.ZodOptional<z.ZodArray<z.ZodObject<{
435
+ bucketId: z.ZodString;
436
+ action: z.ZodEnum<{
437
+ share: "share";
438
+ duplicate: "duplicate";
439
+ }>;
440
+ }, z.core.$strip>>>;
441
+ }, z.core.$strip>;
442
+ export type PluginCoreProposalsCreateArgs = z.infer<typeof PluginCoreProposalsCreateArgs>;
443
+ /**
444
+ * Result of {@linkcode PluginCoreProposalsApi.create} — the id of the new
445
+ * proposal.
446
+ *
447
+ * | Property | Type | Description |
448
+ * |---|---|---|
449
+ * | `id` | `string` | The id of the newly created proposal |
450
+ */
451
+ export declare const PluginCoreProposalsCreateResult: z.ZodObject<{
452
+ id: z.ZodString;
453
+ }, z.core.$strip>;
454
+ export type PluginCoreProposalsCreateResult = z.infer<typeof PluginCoreProposalsCreateResult>;
455
+ /**
456
+ * Arguments for {@linkcode PluginCoreProposalsApi.rename}.
457
+ *
458
+ * | Property | Type | Description |
459
+ * |---|---|---|
460
+ * | `proposalId` | `string` | The id of the proposal to rename |
461
+ * | `name` | `string` | The new display name (capped at 24 chars) |
462
+ */
463
+ export declare const PluginCoreProposalsRenameArgs: z.ZodObject<{
464
+ proposalId: z.ZodString;
465
+ name: z.ZodString;
466
+ }, z.core.$strip>;
467
+ export type PluginCoreProposalsRenameArgs = z.infer<typeof PluginCoreProposalsRenameArgs>;
468
+ /** Result of {@linkcode PluginCoreProposalsApi.rename} — the updated record. */
469
+ export declare const PluginCoreProposalsRenameResult: z.ZodObject<{
470
+ id: z.ZodString;
471
+ name: z.ZodString;
472
+ isActive: z.ZodBoolean;
473
+ defaultBucketId: z.ZodString;
474
+ bucketIds: z.ZodArray<z.ZodString>;
475
+ createdAt: z.ZodString;
476
+ createdBy: z.ZodString;
477
+ }, z.core.$strip>;
478
+ export type PluginCoreProposalsRenameResult = z.infer<typeof PluginCoreProposalsRenameResult>;
479
+ /**
480
+ * Arguments for {@linkcode PluginCoreProposalsApi.setActive}.
481
+ *
482
+ * | Property | Type | Description |
483
+ * |---|---|---|
484
+ * | `proposalId` | `string` | The id of the proposal to activate |
485
+ */
486
+ export declare const PluginCoreProposalsSetActiveArgs: z.ZodObject<{
487
+ proposalId: z.ZodString;
488
+ }, z.core.$strip>;
489
+ export type PluginCoreProposalsSetActiveArgs = z.infer<typeof PluginCoreProposalsSetActiveArgs>;
490
+ /**
491
+ * Result of {@linkcode PluginCoreProposalsApi.setActive} — the now-active
492
+ * proposal's id.
493
+ *
494
+ * | Property | Type | Description |
495
+ * |---|---|---|
496
+ * | `id` | `string` | The id of the now-active proposal |
497
+ */
498
+ export declare const PluginCoreProposalsSetActiveResult: z.ZodObject<{
499
+ id: z.ZodString;
500
+ }, z.core.$strip>;
501
+ export type PluginCoreProposalsSetActiveResult = z.infer<typeof PluginCoreProposalsSetActiveResult>;
502
+ /**
503
+ * Arguments for {@linkcode PluginCoreProposalsApi.delete}. Exactly one
504
+ * disposition is required: `deleteObjects: true` XOR `targetProposalId` (a
505
+ * **different** proposal). A bare delete with neither is rejected.
506
+ *
507
+ * | Property | Type | Description |
508
+ * |---|---|---|
509
+ * | `proposalId` | `string` | The id of the proposal to delete |
510
+ * | `deleteObjects` | `true \| undefined` | Destroy the geometry in exclusive buckets (mutually exclusive with `targetProposalId`) |
511
+ * | `targetProposalId` | `string \| undefined` | Transfer this proposal's buckets here before deleting (must differ from `proposalId`) |
512
+ */
513
+ export declare const PluginCoreProposalsDeleteArgs: z.ZodObject<{
514
+ proposalId: z.ZodString;
515
+ deleteObjects: z.ZodOptional<z.ZodBoolean>;
516
+ targetProposalId: z.ZodOptional<z.ZodString>;
517
+ }, z.core.$strip>;
518
+ export type PluginCoreProposalsDeleteArgs = z.infer<typeof PluginCoreProposalsDeleteArgs>;
519
+ /**
520
+ * Result of {@linkcode PluginCoreProposalsApi.delete} — confirmation that the
521
+ * proposal was deleted.
522
+ *
523
+ * | Property | Type | Description |
524
+ * |---|---|---|
525
+ * | `deleted` | `true` | Always `true` on success |
526
+ */
527
+ export declare const PluginCoreProposalsDeleteResult: z.ZodObject<{
528
+ deleted: z.ZodLiteral<true>;
529
+ }, z.core.$strip>;
530
+ export type PluginCoreProposalsDeleteResult = z.infer<typeof PluginCoreProposalsDeleteResult>;
531
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/core/proposals/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AACxB,OAAO,EAAE,eA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