@pinkaphant/kolmo 0.1.2 → 0.1.3

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 (129) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +16 -14
  3. package/bin/kolmo.mjs +19 -53
  4. package/dist/body/HeldItem.js +171 -0
  5. package/dist/body/KhrBody.js +179 -0
  6. package/dist/body/bodySi.d.ts +2 -2
  7. package/dist/body/bodySi.js +61 -0
  8. package/dist/body/index.js +4 -1
  9. package/dist/engine/index.d.ts +4 -4
  10. package/dist/engine/index.js +12 -3
  11. package/dist/engine/kolmoActor.d.ts +11 -4
  12. package/dist/engine/kolmoActor.js +197 -0
  13. package/dist/engine/kolmoInput.d.ts +12 -0
  14. package/dist/engine/kolmoInput.js +80 -0
  15. package/dist/engine/kolmoIsland.d.ts +3 -1
  16. package/dist/engine/kolmoIsland.js +311 -0
  17. package/dist/engine/kolmoLongDrive.js +223 -0
  18. package/dist/engine/kolmoRigs.js +59 -0
  19. package/dist/engine/kolmoStore.d.ts +53 -27
  20. package/dist/engine/kolmoStore.js +211 -0
  21. package/dist/engine/kolmoSurface.d.ts +1 -1
  22. package/dist/engine/kolmoSurface.js +182 -0
  23. package/dist/engine/kolmoVehicle.d.ts +2 -1
  24. package/dist/engine/kolmoVehicle.js +244 -0
  25. package/dist/engine/kolmoVehicleDriver.d.ts +30 -0
  26. package/dist/engine/kolmoVehicleDriver.js +38 -0
  27. package/dist/engine/kolmoWorld.d.ts +7 -15
  28. package/dist/engine/kolmoWorld.js +136 -0
  29. package/dist/engine/longDriveKit.d.ts +4 -2
  30. package/dist/engine/longDriveKit.js +254 -0
  31. package/dist/engine/mainlandMacroCell.d.ts +3 -7
  32. package/dist/engine/mainlandMacroCell.js +247 -0
  33. package/dist/engine/shiftedFixedBody.d.ts +13 -0
  34. package/dist/engine/shiftedFixedBody.js +64 -0
  35. package/dist/importer/ChopShopPanel.js +465 -0
  36. package/dist/importer/DomainWorkshopPanel.d.ts +9 -4
  37. package/dist/importer/DomainWorkshopPanel.js +385 -0
  38. package/dist/importer/GateHudBar.js +312 -0
  39. package/dist/importer/GlbImportGate.js +250 -0
  40. package/dist/importer/ImperativeVehicleRig.js +336 -0
  41. package/dist/importer/ImporterPlinthUikitTags.js +112 -0
  42. package/dist/importer/Step1CalibrationPlinth.js +275 -0
  43. package/dist/importer/Step2UniversalPad.js +244 -0
  44. package/dist/importer/VfxEmitterPool.js +91 -0
  45. package/dist/importer/chopShopActions.d.ts +22 -2
  46. package/dist/importer/chopShopActions.js +232 -0
  47. package/dist/importer/gateStore.d.ts +1 -1
  48. package/dist/importer/gateStore.js +92 -0
  49. package/dist/importer/glbNormalizer.js +133 -0
  50. package/dist/importer/importerWebMcp.d.ts +17 -6
  51. package/dist/importer/importerWebMcp.js +343 -0
  52. package/dist/importer/index.js +22 -3
  53. package/dist/importer/khrCompiler.d.ts +1 -1
  54. package/dist/importer/khrCompiler.js +434 -0
  55. package/dist/importer/launcherBake.js +51 -0
  56. package/dist/importer/meshIslands.d.ts +1 -1
  57. package/dist/importer/meshIslands.js +301 -0
  58. package/dist/importer/surfaceCutter.js +254 -0
  59. package/dist/importer/surfaceTopology.js +183 -0
  60. package/dist/importer/universalGateBake.js +162 -0
  61. package/dist/importer/usdToGlb.js +294 -0
  62. package/dist/importer/useChopShopController.d.ts +11 -2
  63. package/dist/importer/useChopShopController.js +364 -0
  64. package/dist/importer/vehiclePanelAnim.js +214 -0
  65. package/dist/importer/wheelAxlePairing.d.ts +1 -2
  66. package/dist/importer/wheelAxlePairing.js +102 -0
  67. package/dist/index.d.ts +1 -1
  68. package/dist/index.js +69 -13
  69. package/dist/junk/DestructibleTarget.js +154 -0
  70. package/dist/junk/KolmoJunk.js +65 -0
  71. package/dist/junk/ShardPieces.d.ts +6 -4
  72. package/dist/junk/ShardPieces.js +74 -0
  73. package/dist/junk/TargetDecals.js +51 -0
  74. package/dist/junk/bvhShatter.js +55 -0
  75. package/dist/junk/bvhTriCollector.js +78 -0
  76. package/dist/junk/index.js +11 -1
  77. package/dist/junk/junkGeometry.js +69 -0
  78. package/dist/junk/junkImportSanitize.js +54 -0
  79. package/dist/junk/junkImporter.js +95 -0
  80. package/dist/junk/junkLabelCanvas.js +67 -0
  81. package/dist/junk/junkLabels.js +35 -0
  82. package/dist/junk/targetHelpers.js +103 -0
  83. package/dist/junk/targetHitLogic.js +128 -0
  84. package/dist/junk/useTargetAssets.js +102 -0
  85. package/dist/physics/index.d.ts +26 -0
  86. package/dist/physics/index.js +84 -0
  87. package/dist/schema/kolmoSchema.d.ts +2 -1
  88. package/dist/schema/kolmoSchema.js +184 -0
  89. package/dist/shaders/celestialBackdrop.d.ts +1 -1
  90. package/dist/shaders/celestialBackdrop.js +344 -0
  91. package/dist/shaders/index.d.ts +0 -1
  92. package/dist/shaders/index.js +9 -1
  93. package/dist/shaders/plumeAndSparkle.js +271 -0
  94. package/dist/shaders/ps2GlslShared.d.ts +1 -1
  95. package/dist/shaders/ps2GlslShared.js +3 -0
  96. package/dist/shaders/ps2MaterialsTSL.js +65 -0
  97. package/dist/shaders/ps2MaterialsWebGL.js +40 -0
  98. package/dist/shaders/ps2RoadWebGL.js +101 -0
  99. package/dist/shaders/ps2TerrainWebGL.js +54 -0
  100. package/dist/shaders/ps2Textures.js +224 -0
  101. package/dist/shaders/retroPalettes.js +188 -0
  102. package/dist/shaders/retroShader.d.ts +31 -3
  103. package/dist/shaders/retroShader.js +249 -0
  104. package/dist/shaders/tsl.d.ts +1 -0
  105. package/dist/shaders/tsl.js +1 -0
  106. package/dist/vite/index.d.ts +15 -0
  107. package/dist/vite/index.js +90 -0
  108. package/dist/world/frontage.js +32 -0
  109. package/dist/world/index.d.ts +1 -1
  110. package/dist/world/index.js +11 -3
  111. package/dist/world/infiniteWorld2D.js +244 -0
  112. package/dist/world/island.js +201 -0
  113. package/dist/world/macroCellSchema.js +27 -0
  114. package/dist/world/macroKnightAStar.js +171 -0
  115. package/dist/world/random.js +33 -0
  116. package/dist/world/road.js +136 -0
  117. package/dist/world/roadRibbon.d.ts +6 -6
  118. package/dist/world/roadRibbon.js +161 -0
  119. package/dist/world/terrain.js +87 -0
  120. package/dist/world/worldTypes.js +111 -0
  121. package/package.json +32 -18
  122. package/dist/body-B7FTf67o.js +0 -362
  123. package/dist/engine-BeKvBM8d.js +0 -1745
  124. package/dist/importer-B2-S-N_e.js +0 -5113
  125. package/dist/junk-B4bC1zAl.js +0 -1049
  126. package/dist/kolmoSurface-DTnrFXH0.js +0 -558
  127. package/dist/shaders-GS71Ek1A.js +0 -1383
  128. package/dist/world-PRWPYrlx.js +0 -947
  129. package/dist/worldTypes-Z0KfdCd0.js +0 -226
@@ -0,0 +1,343 @@
1
+ import { inferKolmoSocketRole as e } from "../schema/kolmoSchema.js";
2
+ import { useGateStore as t } from "./gateStore.js";
3
+ import { useEffect as n, useRef as r } from "react";
4
+ import { VAULT_CATALOG as i, createAssetVault as a } from "@khr3/assets";
5
+ // src/importer/importerWebMcp.ts
6
+ function o() {
7
+ if (typeof navigator > "u") return null;
8
+ let e = navigator.modelContext;
9
+ return e && typeof e.registerTool == "function" ? e : null;
10
+ }
11
+ function s(e, t) {
12
+ let n = e.trim();
13
+ if (!n || /^(javascript|data|vbscript|file):/i.test(n)) throw Error(`Invalid importer model URL: "${e}"`);
14
+ return /^https?:\/\//i.test(n) || n.startsWith("/") ? n : t(n);
15
+ }
16
+ var c = /* @__PURE__ */ new Set([
17
+ "door",
18
+ "hood",
19
+ "trunk",
20
+ "fender",
21
+ "bumper",
22
+ "wheel"
23
+ ]);
24
+ function l(n) {
25
+ let r = a();
26
+ return [
27
+ {
28
+ name: "importer_state",
29
+ description: "Read current calibration bounds, SI scale, domain, step, wheel axles, and unlock status.",
30
+ inputSchema: {
31
+ type: "object",
32
+ properties: {}
33
+ },
34
+ annotations: { readOnlyHint: !0 },
35
+ execute: () => {
36
+ let e = n(), r = t.getState();
37
+ return {
38
+ assetName: e.assetName,
39
+ domain: r.domain,
40
+ step: r.step,
41
+ vehicleArchetype: r.vehicleArchetype,
42
+ targetMeters: e.targetMeters,
43
+ wheelCount: e.wheelCount,
44
+ choppedCount: e.choppedCount,
45
+ unlocked: e.unlocked,
46
+ calibration: r.calibration
47
+ };
48
+ }
49
+ },
50
+ {
51
+ name: "importer_capture_view",
52
+ description: "Capture current 3D calibration viewport PNG data URL.",
53
+ inputSchema: {
54
+ type: "object",
55
+ properties: {}
56
+ },
57
+ annotations: { readOnlyHint: !0 },
58
+ execute: () => {
59
+ let e = n().captureDataUrl?.() ?? null;
60
+ return {
61
+ ok: !!e,
62
+ mimeType: "image/png",
63
+ dataUrl: e
64
+ };
65
+ }
66
+ },
67
+ {
68
+ name: "importer_list_models",
69
+ description: "List available starter and R2 vault .glb models across cars, weapons, and city categories.",
70
+ inputSchema: {
71
+ type: "object",
72
+ properties: { prefix: { type: "string" } }
73
+ },
74
+ annotations: { readOnlyHint: !0 },
75
+ execute: async (e) => {
76
+ let t = typeof e.prefix == "string" ? e.prefix : "";
77
+ try {
78
+ return {
79
+ catalog: i,
80
+ liveVault: await r.listPrefix(t)
81
+ };
82
+ } catch {
83
+ return {
84
+ catalog: i,
85
+ liveVault: null
86
+ };
87
+ }
88
+ }
89
+ },
90
+ {
91
+ name: "importer_set_stage",
92
+ description: "Switch importer stage (1 = Chop & Calibrate, 2 = Live Drive / Seal Pad; requires Step 1 unlocked).",
93
+ inputSchema: {
94
+ type: "object",
95
+ properties: { step: {
96
+ type: "number",
97
+ enum: [1, 2]
98
+ } },
99
+ required: ["step"]
100
+ },
101
+ execute: (e) => {
102
+ let r = e.step === 2 ? 2 : 1;
103
+ return r === 2 && !n().unlocked ? {
104
+ ok: !1,
105
+ error: "Step 1 calibration requirements are not yet unlocked.",
106
+ step: 1
107
+ } : (t.getState().setField("step", r), {
108
+ ok: !0,
109
+ step: r
110
+ });
111
+ }
112
+ },
113
+ {
114
+ name: "importer_load",
115
+ description: "Load a .glb model by URL or vault key into the calibration bay.",
116
+ inputSchema: {
117
+ type: "object",
118
+ properties: {
119
+ url: { type: "string" },
120
+ name: { type: "string" }
121
+ },
122
+ required: ["url"]
123
+ },
124
+ execute: async (e) => {
125
+ let t = String(e.url ?? ""), i = s(t, (e) => r.url(e)), a = typeof e.name == "string" && e.name.trim() ? e.name.trim() : t.split("/").pop()?.replace(/\.glb$/i, "") || "asset";
126
+ return await n().loadStarterCar(i, a), {
127
+ ok: !0,
128
+ url: i,
129
+ label: a
130
+ };
131
+ }
132
+ },
133
+ {
134
+ name: "importer_orient",
135
+ description: "Rotate asset in exact 90-degree quarter-turns around X (0), Y (1), or Z (2).",
136
+ inputSchema: {
137
+ type: "object",
138
+ properties: { axis: {
139
+ type: "number",
140
+ enum: [
141
+ 0,
142
+ 1,
143
+ 2
144
+ ]
145
+ } },
146
+ required: ["axis"]
147
+ },
148
+ execute: (e) => {
149
+ let t = e.axis === 1 ? 1 : e.axis === 2 ? 2 : 0;
150
+ return n().bumpTurn(t), {
151
+ ok: !0,
152
+ axis: t
153
+ };
154
+ }
155
+ },
156
+ {
157
+ name: "importer_scale",
158
+ description: "Scale asset cleanly to exact SI target meters with [1,1,1] node scale and Y=0 contact.",
159
+ inputSchema: {
160
+ type: "object",
161
+ properties: { meters: { type: "number" } },
162
+ required: ["meters"]
163
+ },
164
+ execute: (e) => {
165
+ let t = Math.max(.05, Number(e.meters) || 1);
166
+ return n().setTargetMeters(t), {
167
+ ok: !0,
168
+ targetMeters: t
169
+ };
170
+ }
171
+ },
172
+ {
173
+ name: "importer_set_kind",
174
+ description: "Set asset domain (vehicle, c12, launcher, person, prop, junk) and optional vehicle archetype.",
175
+ inputSchema: {
176
+ type: "object",
177
+ properties: {
178
+ domain: {
179
+ type: "string",
180
+ enum: [
181
+ "vehicle",
182
+ "c12",
183
+ "launcher",
184
+ "person",
185
+ "prop",
186
+ "junk"
187
+ ]
188
+ },
189
+ archetype: {
190
+ type: "string",
191
+ enum: ["car", "starcraft"]
192
+ }
193
+ },
194
+ required: ["domain"]
195
+ },
196
+ execute: (e) => {
197
+ let t = e.domain || "vehicle", r = e.archetype === "starcraft" ? "starcraft" : "car";
198
+ return n().applyDomainDefaults(t, r, !1), {
199
+ ok: !0,
200
+ domain: t,
201
+ archetype: r
202
+ };
203
+ }
204
+ },
205
+ {
206
+ name: "importer_pop_wheels",
207
+ description: "Auto-detect and pair symmetric wheel islands into Ecctrl ShapeCastWheel axles.",
208
+ inputSchema: {
209
+ type: "object",
210
+ properties: {}
211
+ },
212
+ execute: () => (n().autoPopWheels(), { ok: !0 })
213
+ },
214
+ {
215
+ name: "importer_cut_part",
216
+ description: "Cut or tag an openable/hinged KHR vehicle part (door, hood, trunk, fender, bumper, wheel) by islandId, crease faceIndex, or loopPoints.",
217
+ inputSchema: {
218
+ type: "object",
219
+ properties: {
220
+ role: {
221
+ type: "string",
222
+ enum: [
223
+ "door",
224
+ "hood",
225
+ "trunk",
226
+ "fender",
227
+ "bumper",
228
+ "wheel"
229
+ ]
230
+ },
231
+ islandId: { type: "number" },
232
+ faceIndex: { type: "number" },
233
+ creaseDeg: { type: "number" },
234
+ mirrorX: { type: "boolean" },
235
+ loopPoints: {
236
+ type: "array",
237
+ items: {
238
+ type: "array",
239
+ items: { type: "number" },
240
+ minItems: 3,
241
+ maxItems: 3
242
+ }
243
+ }
244
+ },
245
+ required: ["role"]
246
+ },
247
+ execute: (e) => {
248
+ let t = n();
249
+ if (!t.cutPart) return {
250
+ ok: !1,
251
+ error: "Cut tool unavailable on current host."
252
+ };
253
+ let r = c.has(String(e.role)) ? e.role : "door", i = Array.isArray(e.loopPoints) ? e.loopPoints.filter((e) => Array.isArray(e) && e.length >= 3).map((e) => [
254
+ Number(e[0]) || 0,
255
+ Number(e[1]) || 0,
256
+ Number(e[2]) || 0
257
+ ]) : void 0;
258
+ return t.cutPart({
259
+ role: r,
260
+ ...typeof e.islandId == "number" ? { islandId: e.islandId } : {},
261
+ ...typeof e.faceIndex == "number" ? { faceIndex: e.faceIndex } : {},
262
+ ...typeof e.creaseDeg == "number" ? { creaseDeg: e.creaseDeg } : {},
263
+ ...typeof e.mirrorX == "boolean" ? { mirrorX: e.mirrorX } : {},
264
+ ...i && i.length >= 3 ? { loopPoints: i } : {}
265
+ });
266
+ }
267
+ },
268
+ {
269
+ name: "importer_set_points",
270
+ description: "Stamp an explicit IK / muzzle / grip / seat / contact / hinge socket point in local SI meters.",
271
+ inputSchema: {
272
+ type: "object",
273
+ properties: {
274
+ name: { type: "string" },
275
+ role: {
276
+ type: "string",
277
+ enum: [
278
+ "seat",
279
+ "exit",
280
+ "grip_primary",
281
+ "grip_secondary",
282
+ "optic",
283
+ "muzzle",
284
+ "eject",
285
+ "hinge",
286
+ "mount",
287
+ "contact"
288
+ ]
289
+ },
290
+ position: {
291
+ type: "array",
292
+ items: { type: "number" },
293
+ minItems: 3,
294
+ maxItems: 3
295
+ }
296
+ },
297
+ required: ["name", "position"]
298
+ },
299
+ execute: (t) => {
300
+ let r = String(t.name ?? "").trim();
301
+ if (!r || !Array.isArray(t.position) || t.position.length !== 3 || !t.position.every((e) => typeof e == "number" && Number.isFinite(e))) throw Error("importer_set_points requires a non-empty name and a 3-element finite numeric position array.");
302
+ let i = [
303
+ t.position[0],
304
+ t.position[1],
305
+ t.position[2]
306
+ ], a = e(r, t.role);
307
+ return n().addAnchorPoint(r, i, a), {
308
+ ok: !0,
309
+ name: r,
310
+ role: a,
311
+ position: i
312
+ };
313
+ }
314
+ },
315
+ {
316
+ name: "importer_export",
317
+ description: "Bake and export the KHR_physics_rigid_bodies .glb (or spawn straight into the active world).",
318
+ inputSchema: {
319
+ type: "object",
320
+ properties: { spawnInWorld: { type: "boolean" } }
321
+ },
322
+ execute: async (e) => (await n().sealAndExport(!!e.spawnInWorld), { ok: !0 })
323
+ }
324
+ ];
325
+ }
326
+ function u(e) {
327
+ return l(() => e);
328
+ }
329
+ function d(e, t = !0) {
330
+ let i = r(e);
331
+ i.current = e;
332
+ let a = o();
333
+ return n(() => {
334
+ if (!t || !a) return;
335
+ let e = new AbortController(), n = l(() => i.current);
336
+ for (let t of n) a.registerTool(t, { signal: e.signal });
337
+ return () => {
338
+ e.abort();
339
+ for (let e of n) a.unregisterTool?.(e.name);
340
+ };
341
+ }, [t, a]), !!(t && a);
342
+ }
343
+ export { u as buildImporterWebMcpTools, o as getNavigatorModelContext, d as useImporterWebMcp };
@@ -1,3 +1,22 @@
1
- import { a as e, i as t, o as n, s as r } from "../kolmoSurface-DTnrFXH0.js";
2
- import { $ as i, A as a, B as o, C as s, D as c, E as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, N as v, O as y, P as b, Q as x, R as S, S as C, T as w, U as T, V as E, W as D, X as O, Y as k, Z as ee, _ as A, a as j, b as M, c as N, d as P, et as F, f as I, g as L, h as R, i as z, j as B, k as V, l as H, m as U, n as W, nt as G, o as K, p as q, q as J, r as Y, s as X, t as Z, tt as Q, u as $, v as te, w as ne, x as re, y as ie, z as ae } from "../importer-B2-S-N_e.js";
3
- export { N as C12_TICK_M, D as CHOP_ROLES, v as ChopShopPanel, ne as DAMP_ZETA, V as DomainWorkshopPanel, w as FREQ_HZ, s as GateHudBar, Z as GlbImportGate, Z as ImporterWorkbench, X as ImperativeVehicleRig, te as Step1CalibrationPlinth, K as Step2UniversalPad, H as UNIFIED_ANCHOR_NAMES, j as VfxEmitterPool, B as bakeArticulatedLauncherGlb, W as bakeUniversalGateGlb, M as buildImporterWebMcpTools, _ as buildLauncherSceneFromPlan, t as buildPatchPreviewEmitters, u as buildSelectionOverlayGeometry, d as buildSurfaceTopology, b as compileKhrAssetGlb, $ as computeC12Metrics, e as computeChopPartHinge, Y as convertUsdToGlb, p as createFleet12GonWheelGroup, n as createVehiclePanelAnimator, P as defaultTargetMeters, I as detectSceneAnchors, a as enforceRetroPersonMaterials, k as extractMeshIslands, g as findMirrorIslandId, h as floodFillByCrease, l as gateTelemetry, J as getIslandTopology, re as getNavigatorModelContext, c as isGateStep1Unlocked, z as isUsdFileName, q as khrBoxToRapierHalfExtents, ie as makeStarterDomainScene, U as measureAssemblyCalibration, R as measureNormalizedSceneCalibration, i as measureSelection, m as mirrorTriangles, r as normalToMinusZQuaternion, O as normalizeSceneToSi, S as peelIslandSelection, ae as previewLoopPolyline, o as refineMeshAlongLoop, E as remapIslandIds, f as selectFacesByClick, T as selectFacesByLoop, ee as separateVehicleMeshes, x as sliceMeshTriangles, L as snapMetersToC12, F as suggestCarAxles, Q as suggestMotorcycleWheels, G as toggleIslandSelection, y as useGateStore, C as useImporterWebMcp, A as wrapSingleMeshWithPaperShellProxy };
1
+ import { buildPatchPreviewEmitters as e, computeChopPartHinge as t, createVehiclePanelAnimator as n, normalToMinusZQuaternion as r } from "./vehiclePanelAnim.js";
2
+ import { measureSelection as i, suggestCarAxles as a, toggleIslandSelection as o } from "./wheelAxlePairing.js";
3
+ import { GlbImportGate as s } from "./GlbImportGate.js";
4
+ import { CHOP_ROLES as c, buildSurfaceTopology as l, floodFillByCrease as u, getIslandTopology as d, mirrorTriangles as f } from "./surfaceTopology.js";
5
+ import { GateHudBar as p } from "./GateHudBar.js";
6
+ import { Step1CalibrationPlinth as m } from "./Step1CalibrationPlinth.js";
7
+ import { ImperativeVehicleRig as h } from "./ImperativeVehicleRig.js";
8
+ import { Step2UniversalPad as g } from "./Step2UniversalPad.js";
9
+ import { VfxEmitterPool as _ } from "./VfxEmitterPool.js";
10
+ import { DAMP_ZETA as v, FREQ_HZ as y, gateTelemetry as b, isGateStep1Unlocked as x, useGateStore as S } from "./gateStore.js";
11
+ import { C12_TICK_M as C, UNIFIED_ANCHOR_NAMES as w, computeC12Metrics as T, defaultTargetMeters as E, detectSceneAnchors as D, khrBoxToRapierHalfExtents as O, measureAssemblyCalibration as k, measureNormalizedSceneCalibration as ee, snapMetersToC12 as A, wrapSingleMeshWithPaperShellProxy as j } from "./glbNormalizer.js";
12
+ import { makeStarterDomainScene as M } from "./ImporterPlinthUikitTags.js";
13
+ import { bakeUniversalGateGlb as N } from "./universalGateBake.js";
14
+ import { bakeArticulatedLauncherGlb as P, buildLauncherSceneFromPlan as F } from "./launcherBake.js";
15
+ import { convertUsdToGlb as I, isUsdFileName as L } from "./usdToGlb.js";
16
+ import { ChopShopPanel as R } from "./ChopShopPanel.js";
17
+ import { DomainWorkshopPanel as z, enforceRetroPersonMaterials as B } from "./DomainWorkshopPanel.js";
18
+ import { buildImporterWebMcpTools as V, getNavigatorModelContext as H, useImporterWebMcp as U } from "./importerWebMcp.js";
19
+ import { buildSelectionOverlayGeometry as W, createFleet12GonWheelGroup as G, findMirrorIslandId as K, peelIslandSelection as q, previewLoopPolyline as J, refineMeshAlongLoop as Y, remapIslandIds as X, selectFacesByClick as Z, selectFacesByLoop as Q } from "./surfaceCutter.js";
20
+ import { extractMeshIslands as $, normalizeSceneToSi as te, separateVehicleMeshes as ne, sliceMeshTriangles as re } from "./meshIslands.js";
21
+ import { compileKhrAssetGlb as ie } from "./khrCompiler.js";
22
+ export { C as C12_TICK_M, c as CHOP_ROLES, R as ChopShopPanel, v as DAMP_ZETA, z as DomainWorkshopPanel, y as FREQ_HZ, p as GateHudBar, s as GlbImportGate, h as ImperativeVehicleRig, s as ImporterWorkbench, m as Step1CalibrationPlinth, g as Step2UniversalPad, w as UNIFIED_ANCHOR_NAMES, _ as VfxEmitterPool, P as bakeArticulatedLauncherGlb, N as bakeUniversalGateGlb, V as buildImporterWebMcpTools, F as buildLauncherSceneFromPlan, e as buildPatchPreviewEmitters, W as buildSelectionOverlayGeometry, l as buildSurfaceTopology, ie as compileKhrAssetGlb, T as computeC12Metrics, t as computeChopPartHinge, I as convertUsdToGlb, G as createFleet12GonWheelGroup, n as createVehiclePanelAnimator, E as defaultTargetMeters, D as detectSceneAnchors, B as enforceRetroPersonMaterials, $ as extractMeshIslands, K as findMirrorIslandId, u as floodFillByCrease, b as gateTelemetry, d as getIslandTopology, H as getNavigatorModelContext, x as isGateStep1Unlocked, L as isUsdFileName, O as khrBoxToRapierHalfExtents, M as makeStarterDomainScene, k as measureAssemblyCalibration, ee as measureNormalizedSceneCalibration, i as measureSelection, f as mirrorTriangles, r as normalToMinusZQuaternion, te as normalizeSceneToSi, q as peelIslandSelection, J as previewLoopPolyline, Y as refineMeshAlongLoop, X as remapIslandIds, Z as selectFacesByClick, Q as selectFacesByLoop, ne as separateVehicleMeshes, re as sliceMeshTriangles, A as snapMetersToC12, a as suggestCarAxles, o as toggleIslandSelection, S as useGateStore, U as useImporterWebMcp, j as wrapSingleMeshWithPaperShellProxy };
@@ -4,7 +4,7 @@ import { type ChopPartRole } from "./surfaceCutter.js";
4
4
  import { type MeshIsland, type WheelAxle } from "./meshIslands.js";
5
5
  import { buildPatchPreviewEmitters, computeChopPartHinge, createVehiclePanelAnimator, normalToMinusZQuaternion, type ChopHingeSpec, type VehiclePanelAnimator } from "./vehiclePanelAnim.js";
6
6
  export { buildPatchPreviewEmitters, computeChopPartHinge, createVehiclePanelAnimator, normalToMinusZQuaternion, type ChopHingeSpec, type VehiclePanelAnimator, };
7
- export type KolmoAssetArchetype = "car" | "motorcycle" | "starcraft" | "prop";
7
+ export type KolmoAssetArchetype = "car" | "starcraft" | "prop";
8
8
  export type CarDriveMode = "RWD" | "FWD" | "AWD";
9
9
  export type WheelVisualSource = "imported" | "fleet12";
10
10
  export interface KolmoCompileOptions {