@snaptrude/plugin-core 0.7.1 → 0.8.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 (130) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/api-manifest.full.json +6442 -0
  3. package/api-manifest.json +2029 -128
  4. package/dist/api/core/camera/index.d.ts +208 -0
  5. package/dist/api/core/camera/index.d.ts.map +1 -0
  6. package/dist/api/core/comment/index.d.ts +105 -2
  7. package/dist/api/core/comment/index.d.ts.map +1 -1
  8. package/dist/api/core/geom/create/index.d.ts +13 -13
  9. package/dist/api/core/geom/delete/index.d.ts +8 -2
  10. package/dist/api/core/geom/delete/index.d.ts.map +1 -1
  11. package/dist/api/core/geom/query/arc.d.ts +5 -5
  12. package/dist/api/core/geom/query/brep.d.ts +18 -18
  13. package/dist/api/core/geom/query/circle.d.ts +18 -18
  14. package/dist/api/core/geom/query/contour.d.ts +20 -20
  15. package/dist/api/core/geom/query/curve.d.ts +49 -49
  16. package/dist/api/core/geom/query/edge.d.ts +5 -5
  17. package/dist/api/core/geom/query/face.d.ts +16 -16
  18. package/dist/api/core/geom/query/halfedge.d.ts +8 -8
  19. package/dist/api/core/geom/query/profile.d.ts +19 -19
  20. package/dist/api/core/geom/query/vertex.d.ts +8 -8
  21. package/dist/api/core/geom/update/contour.d.ts +14 -14
  22. package/dist/api/core/geom/update/curve.d.ts +7 -7
  23. package/dist/api/core/geom/update/profile.d.ts +16 -16
  24. package/dist/api/core/handles/index.d.ts +210 -0
  25. package/dist/api/core/handles/index.d.ts.map +1 -0
  26. package/dist/api/core/index.d.ts +15 -0
  27. package/dist/api/core/index.d.ts.map +1 -1
  28. package/dist/api/core/io/export/index.d.ts +132 -0
  29. package/dist/api/core/io/export/index.d.ts.map +1 -0
  30. package/dist/api/core/io/import/index.d.ts +1 -1
  31. package/dist/api/core/io/index.d.ts +5 -0
  32. package/dist/api/core/io/index.d.ts.map +1 -1
  33. package/dist/api/core/layers.d.ts +7 -7
  34. package/dist/api/core/proposals/index.d.ts +65 -9
  35. package/dist/api/core/proposals/index.d.ts.map +1 -1
  36. package/dist/api/core/user.d.ts +44 -0
  37. package/dist/api/core/user.d.ts.map +1 -0
  38. package/dist/api/design/boolean/index.d.ts +4 -4
  39. package/dist/api/design/create/index.d.ts +139 -44
  40. package/dist/api/design/create/index.d.ts.map +1 -1
  41. package/dist/api/design/doors/index.d.ts +36 -0
  42. package/dist/api/design/doors/index.d.ts.map +1 -1
  43. package/dist/api/design/edit/index.d.ts +1 -1
  44. package/dist/api/design/erase/index.d.ts +2 -2
  45. package/dist/api/design/furniture/index.d.ts +114 -3
  46. package/dist/api/design/furniture/index.d.ts.map +1 -1
  47. package/dist/api/design/index.d.ts +10 -0
  48. package/dist/api/design/index.d.ts.map +1 -1
  49. package/dist/api/design/materials/index.d.ts +111 -14
  50. package/dist/api/design/materials/index.d.ts.map +1 -1
  51. package/dist/api/design/query/index.d.ts +31 -1
  52. package/dist/api/design/query/index.d.ts.map +1 -1
  53. package/dist/api/design/query/spaces.d.ts +5 -5
  54. package/dist/api/design/transform/index.d.ts +83 -14
  55. package/dist/api/design/transform/index.d.ts.map +1 -1
  56. package/dist/api/design/types/index.d.ts +181 -0
  57. package/dist/api/design/types/index.d.ts.map +1 -0
  58. package/dist/api/design/update/index.d.ts +335 -2
  59. package/dist/api/design/update/index.d.ts.map +1 -1
  60. package/dist/api/design/visibility.d.ts +98 -0
  61. package/dist/api/design/visibility.d.ts.map +1 -0
  62. package/dist/api/entity/referenceLine.d.ts +2 -2
  63. package/dist/api/entity/space.d.ts +19 -19
  64. package/dist/api/entity/story.d.ts +128 -15
  65. package/dist/api/entity/story.d.ts.map +1 -1
  66. package/dist/api/presentation/annotate.d.ts +448 -0
  67. package/dist/api/presentation/annotate.d.ts.map +1 -0
  68. package/dist/api/presentation/diagrams.d.ts +49 -8
  69. package/dist/api/presentation/diagrams.d.ts.map +1 -1
  70. package/dist/api/presentation/export.d.ts +104 -0
  71. package/dist/api/presentation/export.d.ts.map +1 -0
  72. package/dist/api/presentation/index.d.ts +38 -0
  73. package/dist/api/presentation/index.d.ts.map +1 -1
  74. package/dist/api/presentation/sheets.d.ts +410 -13
  75. package/dist/api/presentation/sheets.d.ts.map +1 -1
  76. package/dist/api/presentation/views.d.ts +165 -10
  77. package/dist/api/presentation/views.d.ts.map +1 -1
  78. package/dist/api/program/areas.d.ts +63 -3
  79. package/dist/api/program/areas.d.ts.map +1 -1
  80. package/dist/api/program/cores.d.ts +3 -99
  81. package/dist/api/program/cores.d.ts.map +1 -1
  82. package/dist/api/program/index.d.ts +2 -2
  83. package/dist/api/program/index.d.ts.map +1 -1
  84. package/dist/api/program/layout.d.ts +172 -12
  85. package/dist/api/program/layout.d.ts.map +1 -1
  86. package/dist/api/program/site.d.ts +11 -8
  87. package/dist/api/program/site.d.ts.map +1 -1
  88. package/dist/api/program/spreadsheet.d.ts +105 -13
  89. package/dist/api/program/spreadsheet.d.ts.map +1 -1
  90. package/dist/handles.d.ts +64 -25
  91. package/dist/handles.d.ts.map +1 -1
  92. package/dist/index.cjs +2316 -1644
  93. package/dist/index.cjs.map +1 -1
  94. package/dist/index.js +2224 -1639
  95. package/dist/index.js.map +1 -1
  96. package/package.json +1 -1
  97. package/src/api/core/camera/index.ts +212 -0
  98. package/src/api/core/comment/index.ts +120 -2
  99. package/src/api/core/geom/delete/index.ts +6 -0
  100. package/src/api/core/handles/index.ts +233 -0
  101. package/src/api/core/index.ts +15 -0
  102. package/src/api/core/io/export/index.ts +124 -0
  103. package/src/api/core/io/index.ts +5 -0
  104. package/src/api/core/proposals/index.ts +71 -11
  105. package/src/api/core/user.ts +46 -0
  106. package/src/api/design/create/index.ts +166 -36
  107. package/src/api/design/doors/index.ts +40 -0
  108. package/src/api/design/furniture/index.ts +127 -3
  109. package/src/api/design/index.ts +10 -0
  110. package/src/api/design/materials/index.ts +157 -30
  111. package/src/api/design/query/index.ts +33 -7
  112. package/src/api/design/transform/index.ts +89 -12
  113. package/src/api/design/types/index.ts +156 -0
  114. package/src/api/design/update/index.ts +402 -6
  115. package/src/api/design/visibility.ts +109 -0
  116. package/src/api/entity/story.ts +141 -15
  117. package/src/api/presentation/annotate.ts +360 -0
  118. package/src/api/presentation/diagrams.ts +53 -8
  119. package/src/api/presentation/export.ts +104 -0
  120. package/src/api/presentation/index.ts +46 -0
  121. package/src/api/presentation/sheets.ts +346 -13
  122. package/src/api/presentation/views.ts +164 -12
  123. package/src/api/program/areas.ts +57 -6
  124. package/src/api/program/cores.ts +3 -91
  125. package/src/api/program/index.ts +2 -2
  126. package/src/api/program/layout.ts +182 -12
  127. package/src/api/program/site.ts +11 -8
  128. package/src/api/program/spreadsheet.ts +125 -29
  129. package/src/handles.ts +77 -13
  130. package/tsconfig.json +7 -2
package/dist/handles.d.ts CHANGED
@@ -1,22 +1,57 @@
1
1
  import * as z from "zod";
2
+ import type { ArenaKind } from "./api/core/handles";
2
3
  /**
3
4
  * An opaque, kind-tagged reference to a host-side object that crosses the RPC
4
5
  * boundary by IDENTITY rather than by value. See `PLUGIN_API_EXPOSURE_HLD.md` §9.
5
6
  *
6
- * The phantom `__handle` brand makes a `Handle<"profile">` incompatible with a
7
- * `Handle<"mass">` at compile time. At runtime a handle is just a string of the
8
- * form `"<kind>_<token>"` (e.g. `"profile_k3f9a2x"`), so it is structured-clone
9
- * safe and engine-free plugin-core never imports the engine type it points at.
7
+ * A handle is a small CLASS instance wrapping the wire id. The phantom
8
+ * `__handle` brand makes a `Handle<"profile">` incompatible with a
9
+ * `Handle<"vec3">` at compile time. On the wire the id string is all that
10
+ * travels: the client SDK unwraps `Handle` arguments to `.id` before the RPC
11
+ * call, and the host tags returned handles as `{ __h: "<id>" }` (via
12
+ * {@linkcode Handle.toJSON}) for the client to re-wrap.
13
+ *
14
+ * Plugin-side lifecycle: the client SDK interns one live instance per id and
15
+ * registers it with a FinalizationRegistry — dropping every reference to a
16
+ * handle eventually releases its host registry entry. Deterministic release is
17
+ * still preferred: `core.handles.release/releaseAll` or scopes.
18
+ *
19
+ * Crossing non-RPC boundaries (popup UI postMessage, persistence, logging):
20
+ * send {@linkcode Handle.id} — structured clone strips the class prototype.
10
21
  */
11
- export type Handle<K extends string> = string & {
22
+ export declare class Handle<K extends string> {
23
+ readonly id: string;
24
+ /** Phantom brand — keeps `Handle<"vec3">` ≠ `Handle<"mass">` at compile time. */
12
25
  readonly __handle: K;
13
- };
26
+ constructor(id: string);
27
+ /** Wire tag — the host's result serialization (JSON round-trip) calls this. */
28
+ toJSON(): {
29
+ __h: string;
30
+ };
31
+ /** Template-string / logging form stays the bare id. */
32
+ toString(): string;
33
+ /** Identity comparison by id — safe across re-wraps. */
34
+ equals(other: Handle<string>): boolean;
35
+ /**
36
+ * Explicit-resource-management hook (`await using`). A no-op here; the
37
+ * plugin-client runtime installs the real enqueue-release behavior on the
38
+ * interned instance.
39
+ */
40
+ [Symbol.asyncDispose](): Promise<void>;
41
+ }
42
+ /** Union of all releasable (arena-backed) handle kinds. */
43
+ export type AnyArenaHandle = Handle<ArenaKind>;
14
44
  /**
15
45
  * A scene-entity handle. Backed by the host `Component.id` and resolved live via
16
46
  * the host scene index (StructureCollection) — never stored in the resource
17
47
  * registry. Stable across undo/redo and persistable across sessions (§9.2).
48
+ * Entity handles remain raw branded STRINGS (not {@linkcode Handle} instances):
49
+ * they have no arena entry, no lifecycle, and are equality-matched against
50
+ * plain ids embedded in result records.
18
51
  */
19
- export type EntityId<K extends string = string> = Handle<K>;
52
+ export type EntityId<K extends string = string> = string & {
53
+ readonly __handle: K;
54
+ };
20
55
  /** Resource handle: a host-resident, session-ephemeral geometry object (§9.2). */
21
56
  export type ProfileHandle = Handle<"profile">;
22
57
  /** Resource handle: a host-resident contour (outer profile + hole profiles). */
@@ -108,14 +143,18 @@ export type BBoxComponents = {
108
143
  };
109
144
  /**
110
145
  * Build a Zod schema validating a handle of the given `kind` at the trust
111
- * boundary. It checks only the `"<kind>_"` prefix shape; existence, kind, and
112
- * ownership are enforced host-side by the HandleRegistry (§9.7). Keeping it to
113
- * the prefix is engine-free and avoids an existence oracle.
146
+ * boundary and emitting a {@linkcode Handle} instance for impl code. Inbound
147
+ * forms accepted:
148
+ * - the bare id string (the wire form the client unwraps args to ids)
149
+ * - a live `Handle` instance (host-internal re-parse, direct host callers)
150
+ * - `{ __h: string }` (the tagged result form, echoed back as an arg)
151
+ * - `{ id: string }` (a Handle stripped by structured clone at the popup-UI boundary)
152
+ * Shape checking stays prefix-only; existence, kind, and ownership are enforced
153
+ * host-side by the HandleRegistry (§9.7) — no existence oracle.
114
154
  */
115
- export declare const handleSchema: <K extends string>(kind: K) => z.ZodPipe<z.ZodString, z.ZodTransform<Handle<K>, string>>;
116
- export declare const ProfileHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"profile">, string>>;
117
- export declare const ContourHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"contour">, string>>;
118
- export declare const MassHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"mass">, string>>;
155
+ export declare const handleSchema: <K extends string>(kind: K) => z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<K>, string>>;
156
+ export declare const ProfileHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"profile">, string>>;
157
+ export declare const ContourHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"contour">, string>>;
119
158
  /**
120
159
  * Entity handles are raw `Component.id` strings (no `"<kind>_"` prefix) — validated
121
160
  * only as a non-empty string, resolved live via the scene index host-side.
@@ -134,17 +173,17 @@ export declare const MaterialHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Mater
134
173
  export declare const UnderlayHandle: z.ZodPipe<z.ZodString, z.ZodTransform<UnderlayHandle, string>>;
135
174
  export declare const TerrainHandle: z.ZodPipe<z.ZodString, z.ZodTransform<TerrainHandle, string>>;
136
175
  export declare const ImportJobHandle: z.ZodPipe<z.ZodString, z.ZodTransform<ImportJobHandle, string>>;
137
- export declare const Vec3Handle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"vec3">, string>>;
138
- export declare const QuatHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"quat">, string>>;
139
- export declare const LineHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"line">, string>>;
140
- export declare const ArcHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"arc">, string>>;
141
- export declare const CurveHandle: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"line">, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"arc">, string>>]>;
142
- export declare const CircleHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"circle">, string>>;
143
- export declare const BrepHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"brep">, string>>;
144
- export declare const FaceHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"face">, string>>;
145
- export declare const EdgeHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"edge">, string>>;
146
- export declare const HalfEdgeHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"halfedge">, string>>;
147
- export declare const VertexHandle: z.ZodPipe<z.ZodString, z.ZodTransform<Handle<"vertex">, string>>;
176
+ export declare const Vec3Handle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"vec3">, string>>;
177
+ export declare const QuatHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"quat">, string>>;
178
+ export declare const LineHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"line">, string>>;
179
+ export declare const ArcHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"arc">, string>>;
180
+ export declare const CurveHandle: z.ZodUnion<readonly [z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"line">, string>>, z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"arc">, string>>]>;
181
+ export declare const CircleHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"circle">, string>>;
182
+ export declare const BrepHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"brep">, string>>;
183
+ export declare const FaceHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"face">, string>>;
184
+ export declare const EdgeHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"edge">, string>>;
185
+ export declare const HalfEdgeHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"halfedge">, string>>;
186
+ export declare const VertexHandle: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodString>, z.ZodTransform<Handle<"vertex">, string>>;
148
187
  export declare const Vec3Components: z.ZodObject<{
149
188
  x: z.ZodNumber;
150
189
  y: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"handles.d.ts","sourceRoot":"","sources":["../src/handles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAExB;;;;;;;;GAQG;AACH,MAAM,MAAM,MAAM,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAA;CAAE,CAAA;AAExE;;;;GAIG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,MAAM,CA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