@selvajs/compute 2.1.0 → 2.2.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 (44) hide show
  1. package/dist/chunk-4UOOVSGL.cjs +4 -0
  2. package/dist/{chunk-BTH6J34X.cjs.map → chunk-4UOOVSGL.cjs.map} +1 -1
  3. package/dist/{chunk-NFPYFIYS.cjs → chunk-5JXKIKSD.cjs} +3 -3
  4. package/dist/{chunk-NFPYFIYS.cjs.map → chunk-5JXKIKSD.cjs.map} +1 -1
  5. package/dist/{chunk-6L56B3Q3.js → chunk-6TJKWARC.js} +2 -2
  6. package/dist/chunk-6TJKWARC.js.map +1 -0
  7. package/dist/chunk-AXAMGKTJ.js +4 -0
  8. package/dist/chunk-AXAMGKTJ.js.map +1 -0
  9. package/dist/{chunk-HG24GZ3A.cjs → chunk-PWNJ3ZLS.cjs} +2 -2
  10. package/dist/{chunk-HG24GZ3A.cjs.map → chunk-PWNJ3ZLS.cjs.map} +1 -1
  11. package/dist/{chunk-UQ7TD57L.js → chunk-WJ2WV4TU.js} +2 -2
  12. package/dist/core.cjs +1 -1
  13. package/dist/core.d.cts +3 -3
  14. package/dist/core.d.ts +3 -3
  15. package/dist/core.js +1 -1
  16. package/dist/grasshopper.cjs +1 -1
  17. package/dist/grasshopper.d.cts +9 -8
  18. package/dist/grasshopper.d.ts +9 -8
  19. package/dist/grasshopper.js +1 -1
  20. package/dist/{handle-files-D-_fiXu4.d.cts → handle-files-VUQET1YU.d.cts} +162 -4
  21. package/dist/{handle-files-D-_fiXu4.d.ts → handle-files-VUQET1YU.d.ts} +162 -4
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.d.cts +3 -3
  24. package/dist/index.d.ts +3 -3
  25. package/dist/index.js +1 -1
  26. package/dist/{types-jPuWWtnU.d.ts → types-CIsBR_xd.d.ts} +1 -1
  27. package/dist/{types-D1SkNje_.d.cts → types-ChF690kY.d.cts} +4 -3
  28. package/dist/{types-D1SkNje_.d.ts → types-ChF690kY.d.ts} +4 -3
  29. package/dist/{types-BuRCHPlb.d.cts → types-DqSisB8v.d.cts} +1 -1
  30. package/dist/visualization-BOBO73UZ.cjs +2 -0
  31. package/dist/{visualization-6ZLI4ANV.cjs.map → visualization-BOBO73UZ.cjs.map} +1 -1
  32. package/dist/{visualization-42QQ22YF.js → visualization-WUFY6TTQ.js} +2 -2
  33. package/dist/visualization.cjs +1 -1
  34. package/dist/visualization.d.cts +3 -3
  35. package/dist/visualization.d.ts +3 -3
  36. package/dist/visualization.js +1 -1
  37. package/package.json +2 -1
  38. package/dist/chunk-6L56B3Q3.js.map +0 -1
  39. package/dist/chunk-BTH6J34X.cjs +0 -4
  40. package/dist/chunk-H2FJSNMM.js +0 -4
  41. package/dist/chunk-H2FJSNMM.js.map +0 -1
  42. package/dist/visualization-6ZLI4ANV.cjs +0 -2
  43. /package/dist/{chunk-UQ7TD57L.js.map → chunk-WJ2WV4TU.js.map} +0 -0
  44. /package/dist/{visualization-42QQ22YF.js.map → visualization-WUFY6TTQ.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Logger, camelcaseKeys, enableDebugLogging, fetchRhinoCompute, getLogger, setLogger, toCamelCase } from './core.cjs';
2
- export { C as ComputeServerStats, E as ErrorCode, a as ErrorCodes, F as FileBaseInfo, b as FileData, P as ProcessedFile, R as RhinoComputeError, d as downloadFileData, e as extractFilesFromComputeResponse } from './handle-files-D-_fiXu4.cjs';
3
- export { C as ComputeConfig, R as RetryPolicy, a as RhinoModelUnit, S as ServerTiming } from './types-D1SkNje_.cjs';
2
+ export { C as ComputeServerStats, E as ErrorCode, a as ErrorCodes, F as FileBaseInfo, b as FileData, P as ProcessedFile, R as RhinoComputeError, d as downloadFileData, e as extractFilesFromComputeResponse } from './handle-files-VUQET1YU.cjs';
3
+ export { C as ComputeConfig, R as RetryPolicy, a as RhinoModelUnit, S as ServerTiming } from './types-ChF690kY.cjs';
4
4
  export { CacheOptions, DataTreeValue, GetValuesOptions, GetValuesResult, GrasshopperClient, GrasshopperResponseProcessor, ParsedContext, SchedulerMode, SolveContext, SolveExecutor, SolveOptions, SolveResult, SolveScheduler, SolveSchedulerOptions, TreeBuilder, fetchDefinitionIO, fetchParsedDefinitionIO, hashSolveInput, processInput, processInputs, solveGrasshopperDefinition } from './grasshopper.cjs';
5
- export { B as BooleanInputType, D as DataItem, a as DataTree, b as DataTreeDefault, c as DataTreePath, d as DefaultValue, F as FileInputType, G as GeometryInputType, e as GrasshopperComputeConfig, f as GrasshopperComputeResponse, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, i as GrasshopperRequestSchema, I as InnerTreeData, j as InputParam, k as InputParamSchema, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-BuRCHPlb.cjs';
5
+ export { B as BooleanInputType, D as DataItem, a as DataTree, b as DataTreeDefault, c as DataTreePath, d as DefaultValue, F as FileInputType, G as GeometryInputType, e as GrasshopperComputeConfig, f as GrasshopperComputeResponse, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, i as GrasshopperRequestSchema, I as InnerTreeData, j as InputParam, k as InputParamSchema, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-DqSisB8v.cjs';
6
6
  import 'three';
7
7
  import 'rhino3dm';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { Logger, camelcaseKeys, enableDebugLogging, fetchRhinoCompute, getLogger, setLogger, toCamelCase } from './core.js';
2
- export { C as ComputeServerStats, E as ErrorCode, a as ErrorCodes, F as FileBaseInfo, b as FileData, P as ProcessedFile, R as RhinoComputeError, d as downloadFileData, e as extractFilesFromComputeResponse } from './handle-files-D-_fiXu4.js';
3
- export { C as ComputeConfig, R as RetryPolicy, a as RhinoModelUnit, S as ServerTiming } from './types-D1SkNje_.js';
2
+ export { C as ComputeServerStats, E as ErrorCode, a as ErrorCodes, F as FileBaseInfo, b as FileData, P as ProcessedFile, R as RhinoComputeError, d as downloadFileData, e as extractFilesFromComputeResponse } from './handle-files-VUQET1YU.js';
3
+ export { C as ComputeConfig, R as RetryPolicy, a as RhinoModelUnit, S as ServerTiming } from './types-ChF690kY.js';
4
4
  export { CacheOptions, DataTreeValue, GetValuesOptions, GetValuesResult, GrasshopperClient, GrasshopperResponseProcessor, ParsedContext, SchedulerMode, SolveContext, SolveExecutor, SolveOptions, SolveResult, SolveScheduler, SolveSchedulerOptions, TreeBuilder, fetchDefinitionIO, fetchParsedDefinitionIO, hashSolveInput, processInput, processInputs, solveGrasshopperDefinition } from './grasshopper.js';
5
- export { B as BooleanInputType, D as DataItem, a as DataTree, b as DataTreeDefault, c as DataTreePath, d as DefaultValue, F as FileInputType, G as GeometryInputType, e as GrasshopperComputeConfig, f as GrasshopperComputeResponse, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, i as GrasshopperRequestSchema, I as InnerTreeData, j as InputParam, k as InputParamSchema, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-jPuWWtnU.js';
5
+ export { B as BooleanInputType, D as DataItem, a as DataTree, b as DataTreeDefault, c as DataTreePath, d as DefaultValue, F as FileInputType, G as GeometryInputType, e as GrasshopperComputeConfig, f as GrasshopperComputeResponse, g as GrasshopperParsedIO, h as GrasshopperParsedIORaw, i as GrasshopperRequestSchema, I as InnerTreeData, j as InputParam, k as InputParamSchema, N as NumericInputType, O as OutputParamSchema, l as OutputType, T as TextInputType, V as ValueListInputType } from './types-CIsBR_xd.js';
6
6
  import 'three';
7
7
  import 'rhino3dm';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{a as d,b as g,c as h,d as i,e as j,f as k,g as l,h as n,i as q,j as s}from"./chunk-6L56B3Q3.js";import{c as o,d as r,e,f,g as m,h as p,j as t,k as x,l as a,q as b,r as c}from"./chunk-H2FJSNMM.js";export{t as ComputeServerStats,o as ErrorCodes,i as GrasshopperClient,j as GrasshopperResponseProcessor,r as RhinoComputeError,h as SolveScheduler,s as TreeBuilder,a as camelcaseKeys,c as downloadFileData,m as enableDebugLogging,b as extractFilesFromComputeResponse,n as fetchDefinitionIO,q as fetchParsedDefinitionIO,p as fetchRhinoCompute,e as getLogger,g as hashSolveInput,k as processInput,l as processInputs,f as setLogger,d as solveGrasshopperDefinition,x as toCamelCase};
1
+ import{a as d,b as g,c as h,d as i,e as j,f as k,g as l,h as n,i as q,j as s}from"./chunk-6TJKWARC.js";import{c as o,d as r,e,f,g as m,h as p,j as t,k as x,l as a,q as b,r as c}from"./chunk-AXAMGKTJ.js";export{t as ComputeServerStats,o as ErrorCodes,i as GrasshopperClient,j as GrasshopperResponseProcessor,r as RhinoComputeError,h as SolveScheduler,s as TreeBuilder,a as camelcaseKeys,c as downloadFileData,m as enableDebugLogging,b as extractFilesFromComputeResponse,n as fetchDefinitionIO,q as fetchParsedDefinitionIO,p as fetchRhinoCompute,e as getLogger,g as hashSolveInput,k as processInput,l as processInputs,f as setLogger,d as solveGrasshopperDefinition,x as toCamelCase};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { C as ComputeConfig, a as RhinoModelUnit } from './types-D1SkNje_.js';
1
+ import { C as ComputeConfig, a as RhinoModelUnit } from './types-ChF690kY.js';
2
2
  import { RhinoModule } from 'rhino3dm';
3
3
 
4
4
  /**
@@ -24,9 +24,10 @@ interface ComputeConfig {
24
24
  *
25
25
  * This should point at the `rhino.compute` front (the reverse proxy), not a
26
26
  * bare `compute.geometry` child process. `ComputeServerStats` relies on the
27
- * proxy-only endpoints `/healthcheck` and `/activechildren`; targeting a
28
- * bare `compute.geometry` would make `isServerOnline()` 404 even though
29
- * `/grasshopper` would still solve.
27
+ * proxy liveness root `/` and proxy-only endpoints like `/activechildren`,
28
+ * `/idlespan`, and the child-lifecycle controls; targeting a bare
29
+ * `compute.geometry` would make those 404 even though `/grasshopper` would
30
+ * still solve.
30
31
  */
31
32
  serverUrl: string;
32
33
  /** Optional API key for authenticating with the server (RhinoComputeKey) */
@@ -24,9 +24,10 @@ interface ComputeConfig {
24
24
  *
25
25
  * This should point at the `rhino.compute` front (the reverse proxy), not a
26
26
  * bare `compute.geometry` child process. `ComputeServerStats` relies on the
27
- * proxy-only endpoints `/healthcheck` and `/activechildren`; targeting a
28
- * bare `compute.geometry` would make `isServerOnline()` 404 even though
29
- * `/grasshopper` would still solve.
27
+ * proxy liveness root `/` and proxy-only endpoints like `/activechildren`,
28
+ * `/idlespan`, and the child-lifecycle controls; targeting a bare
29
+ * `compute.geometry` would make those 404 even though `/grasshopper` would
30
+ * still solve.
30
31
  */
31
32
  serverUrl: string;
32
33
  /** Optional API key for authenticating with the server (RhinoComputeKey) */
@@ -1,4 +1,4 @@
1
- import { C as ComputeConfig, a as RhinoModelUnit } from './types-D1SkNje_.cjs';
1
+ import { C as ComputeConfig, a as RhinoModelUnit } from './types-ChF690kY.cjs';
2
2
  import { RhinoModule } from 'rhino3dm';
3
3
 
4
4
  /**
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5JXKIKSDcjs = require('./chunk-5JXKIKSD.cjs');require('./chunk-4UOOVSGL.cjs');exports.BINARY_MESH_MAGIC = _chunk5JXKIKSDcjs.s; exports.BINARY_MESH_VERSION = _chunk5JXKIKSDcjs.t; exports.EDGE_USERDATA_KIND = _chunk5JXKIKSDcjs.h; exports.FLAG_FLOAT32 = _chunk5JXKIKSDcjs.u; exports.Materials = _chunk5JXKIKSDcjs.q; exports.SCALE_FACTORS = _chunk5JXKIKSDcjs.z; exports.addEdges = _chunk5JXKIKSDcjs.i; exports.applyOffset = _chunk5JXKIKSDcjs.c; exports.computeCombinedBoundingBox = _chunk5JXKIKSDcjs.d; exports.createCameraController = _chunk5JXKIKSDcjs.e; exports.createGrid = _chunk5JXKIKSDcjs.f; exports.createLabelLayer = _chunk5JXKIKSDcjs.m; exports.createMeasureTool = _chunk5JXKIKSDcjs.o; exports.createRenderPipeline = _chunk5JXKIKSDcjs.l; exports.createViewGizmo = _chunk5JXKIKSDcjs.g; exports.getThreeMeshesFromComputeResponse = _chunk5JXKIKSDcjs.A; exports.initThree = _chunk5JXKIKSDcjs.p; exports.isEdgeOverlay = _chunk5JXKIKSDcjs.j; exports.parseBinaryMeshBatch = _chunk5JXKIKSDcjs.v; exports.parseColor = _chunk5JXKIKSDcjs.b; exports.parseDisplayItems = _chunk5JXKIKSDcjs.r; exports.parseMeshBatch = _chunk5JXKIKSDcjs.w; exports.parseMeshBatchBlob = _chunk5JXKIKSDcjs.y; exports.parseMeshBatchObject = _chunk5JXKIKSDcjs.x; exports.removeEdges = _chunk5JXKIKSDcjs.k; exports.snapToVertex = _chunk5JXKIKSDcjs.n; exports.updateScene = _chunk5JXKIKSDcjs.a;
2
+ //# sourceMappingURL=visualization-BOBO73UZ.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/selva-compute/selva-compute/dist/visualization-6ZLI4ANV.cjs"],"names":[],"mappings":"AAAA,iIAA8N,gCAA6B,owCAA+kB","file":"/home/runner/work/selva-compute/selva-compute/dist/visualization-6ZLI4ANV.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/selva-compute/selva-compute/dist/visualization-BOBO73UZ.cjs"],"names":[],"mappings":"AAAA,iIAA8N,gCAA6B,owCAA+kB","file":"/home/runner/work/selva-compute/selva-compute/dist/visualization-BOBO73UZ.cjs"}
@@ -1,2 +1,2 @@
1
- import{A as u,a as e,b as r,c as o,d as t,e as a,f as s,g as p,h as i,i as n,j as m,k as l,l as f,m as y,n as d,o as h,p as x,q as C,r as g,s as M,t as c,u as B,v as j,w as E,x as D,y as O,z as b}from"./chunk-UQ7TD57L.js";import"./chunk-H2FJSNMM.js";export{M as BINARY_MESH_MAGIC,c as BINARY_MESH_VERSION,i as EDGE_USERDATA_KIND,B as FLAG_FLOAT32,C as Materials,b as SCALE_FACTORS,n as addEdges,o as applyOffset,t as computeCombinedBoundingBox,a as createCameraController,s as createGrid,y as createLabelLayer,h as createMeasureTool,f as createRenderPipeline,p as createViewGizmo,u as getThreeMeshesFromComputeResponse,x as initThree,m as isEdgeOverlay,j as parseBinaryMeshBatch,r as parseColor,g as parseDisplayItems,E as parseMeshBatch,O as parseMeshBatchBlob,D as parseMeshBatchObject,l as removeEdges,d as snapToVertex,e as updateScene};
2
- //# sourceMappingURL=visualization-42QQ22YF.js.map
1
+ import{A as u,a as e,b as r,c as o,d as t,e as a,f as s,g as p,h as i,i as n,j as m,k as l,l as f,m as y,n as d,o as h,p as x,q as C,r as g,s as M,t as c,u as B,v as j,w as E,x as D,y as O,z as b}from"./chunk-WJ2WV4TU.js";import"./chunk-AXAMGKTJ.js";export{M as BINARY_MESH_MAGIC,c as BINARY_MESH_VERSION,i as EDGE_USERDATA_KIND,B as FLAG_FLOAT32,C as Materials,b as SCALE_FACTORS,n as addEdges,o as applyOffset,t as computeCombinedBoundingBox,a as createCameraController,s as createGrid,y as createLabelLayer,h as createMeasureTool,f as createRenderPipeline,p as createViewGizmo,u as getThreeMeshesFromComputeResponse,x as initThree,m as isEdgeOverlay,j as parseBinaryMeshBatch,r as parseColor,g as parseDisplayItems,E as parseMeshBatch,O as parseMeshBatchBlob,D as parseMeshBatchObject,l as removeEdges,d as snapToVertex,e as updateScene};
2
+ //# sourceMappingURL=visualization-WUFY6TTQ.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNFPYFIYScjs = require('./chunk-NFPYFIYS.cjs');require('./chunk-BTH6J34X.cjs');exports.EDGE_USERDATA_KIND = _chunkNFPYFIYScjs.h; exports.Materials = _chunkNFPYFIYScjs.q; exports.SCALE_FACTORS = _chunkNFPYFIYScjs.z; exports.addEdges = _chunkNFPYFIYScjs.i; exports.applyOffset = _chunkNFPYFIYScjs.c; exports.computeCombinedBoundingBox = _chunkNFPYFIYScjs.d; exports.createCameraController = _chunkNFPYFIYScjs.e; exports.createGrid = _chunkNFPYFIYScjs.f; exports.createLabelLayer = _chunkNFPYFIYScjs.m; exports.createMeasureTool = _chunkNFPYFIYScjs.o; exports.createRenderPipeline = _chunkNFPYFIYScjs.l; exports.createViewGizmo = _chunkNFPYFIYScjs.g; exports.getThreeMeshesFromComputeResponse = _chunkNFPYFIYScjs.A; exports.initThree = _chunkNFPYFIYScjs.p; exports.isEdgeOverlay = _chunkNFPYFIYScjs.j; exports.parseColor = _chunkNFPYFIYScjs.b; exports.parseDisplayItems = _chunkNFPYFIYScjs.r; exports.parseMeshBatchBlob = _chunkNFPYFIYScjs.y; exports.parseMeshBatchObject = _chunkNFPYFIYScjs.x; exports.removeEdges = _chunkNFPYFIYScjs.k; exports.snapToVertex = _chunkNFPYFIYScjs.n; exports.updateScene = _chunkNFPYFIYScjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5JXKIKSDcjs = require('./chunk-5JXKIKSD.cjs');require('./chunk-4UOOVSGL.cjs');exports.EDGE_USERDATA_KIND = _chunk5JXKIKSDcjs.h; exports.Materials = _chunk5JXKIKSDcjs.q; exports.SCALE_FACTORS = _chunk5JXKIKSDcjs.z; exports.addEdges = _chunk5JXKIKSDcjs.i; exports.applyOffset = _chunk5JXKIKSDcjs.c; exports.computeCombinedBoundingBox = _chunk5JXKIKSDcjs.d; exports.createCameraController = _chunk5JXKIKSDcjs.e; exports.createGrid = _chunk5JXKIKSDcjs.f; exports.createLabelLayer = _chunk5JXKIKSDcjs.m; exports.createMeasureTool = _chunk5JXKIKSDcjs.o; exports.createRenderPipeline = _chunk5JXKIKSDcjs.l; exports.createViewGizmo = _chunk5JXKIKSDcjs.g; exports.getThreeMeshesFromComputeResponse = _chunk5JXKIKSDcjs.A; exports.initThree = _chunk5JXKIKSDcjs.p; exports.isEdgeOverlay = _chunk5JXKIKSDcjs.j; exports.parseColor = _chunk5JXKIKSDcjs.b; exports.parseDisplayItems = _chunk5JXKIKSDcjs.r; exports.parseMeshBatchBlob = _chunk5JXKIKSDcjs.y; exports.parseMeshBatchObject = _chunk5JXKIKSDcjs.x; exports.removeEdges = _chunk5JXKIKSDcjs.k; exports.snapToVertex = _chunk5JXKIKSDcjs.n; exports.updateScene = _chunk5JXKIKSDcjs.a;
2
2
  //# sourceMappingURL=visualization.cjs.map
@@ -2,10 +2,10 @@ import * as THREE from 'three';
2
2
  import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
3
3
  import { CSS2DObject } from 'three/addons/renderers/CSS2DRenderer.js';
4
4
  import { LineSegments2 } from 'three/addons/lines/LineSegments2.js';
5
- import { f as GrasshopperComputeResponse, M as MeshExtractionOptions, m as MeshBatchParsingOptions, n as DisplayBatch, o as DisplayItem } from './types-BuRCHPlb.cjs';
6
- export { p as DisplayCurve, q as DisplayIdentity, r as DisplayItemBase, s as DisplayPoint, t as DisplayPosition, u as MeshBatch } from './types-BuRCHPlb.cjs';
5
+ import { f as GrasshopperComputeResponse, M as MeshExtractionOptions, m as MeshBatchParsingOptions, n as DisplayBatch, o as DisplayItem } from './types-DqSisB8v.cjs';
6
+ export { p as DisplayCurve, q as DisplayIdentity, r as DisplayItemBase, s as DisplayPoint, t as DisplayPosition, u as MeshBatch } from './types-DqSisB8v.cjs';
7
7
  import { RhinoModule } from 'rhino3dm';
8
- import './types-D1SkNje_.cjs';
8
+ import './types-ChF690kY.cjs';
9
9
 
10
10
  type CameraConfig = {
11
11
  position?: THREE.Vector3;
@@ -2,10 +2,10 @@ import * as THREE from 'three';
2
2
  import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
3
3
  import { CSS2DObject } from 'three/addons/renderers/CSS2DRenderer.js';
4
4
  import { LineSegments2 } from 'three/addons/lines/LineSegments2.js';
5
- import { f as GrasshopperComputeResponse, M as MeshExtractionOptions, m as MeshBatchParsingOptions, n as DisplayBatch, o as DisplayItem } from './types-jPuWWtnU.js';
6
- export { p as DisplayCurve, q as DisplayIdentity, r as DisplayItemBase, s as DisplayPoint, t as DisplayPosition, u as MeshBatch } from './types-jPuWWtnU.js';
5
+ import { f as GrasshopperComputeResponse, M as MeshExtractionOptions, m as MeshBatchParsingOptions, n as DisplayBatch, o as DisplayItem } from './types-CIsBR_xd.js';
6
+ export { p as DisplayCurve, q as DisplayIdentity, r as DisplayItemBase, s as DisplayPoint, t as DisplayPosition, u as MeshBatch } from './types-CIsBR_xd.js';
7
7
  import { RhinoModule } from 'rhino3dm';
8
- import './types-D1SkNje_.js';
8
+ import './types-ChF690kY.js';
9
9
 
10
10
  type CameraConfig = {
11
11
  position?: THREE.Vector3;
@@ -1,2 +1,2 @@
1
- import{A as j,a as e,b as r,c as t,d as o,e as i,f as a,g as s,h as p,i as n,j as l,k as f,l as m,m as y,n as u,o as d,p as x,q as C,r as g,x as h,y as c,z as v}from"./chunk-UQ7TD57L.js";import"./chunk-H2FJSNMM.js";export{p as EDGE_USERDATA_KIND,C as Materials,v as SCALE_FACTORS,n as addEdges,t as applyOffset,o as computeCombinedBoundingBox,i as createCameraController,a as createGrid,y as createLabelLayer,d as createMeasureTool,m as createRenderPipeline,s as createViewGizmo,j as getThreeMeshesFromComputeResponse,x as initThree,l as isEdgeOverlay,r as parseColor,g as parseDisplayItems,c as parseMeshBatchBlob,h as parseMeshBatchObject,f as removeEdges,u as snapToVertex,e as updateScene};
1
+ import{A as j,a as e,b as r,c as t,d as o,e as i,f as a,g as s,h as p,i as n,j as l,k as f,l as m,m as y,n as u,o as d,p as x,q as C,r as g,x as h,y as c,z as v}from"./chunk-WJ2WV4TU.js";import"./chunk-AXAMGKTJ.js";export{p as EDGE_USERDATA_KIND,C as Materials,v as SCALE_FACTORS,n as addEdges,t as applyOffset,o as computeCombinedBoundingBox,i as createCameraController,a as createGrid,y as createLabelLayer,d as createMeasureTool,m as createRenderPipeline,s as createViewGizmo,j as getThreeMeshesFromComputeResponse,x as initThree,l as isEdgeOverlay,r as parseColor,g as parseDisplayItems,c as parseMeshBatchBlob,h as parseMeshBatchObject,f as removeEdges,u as snapToVertex,e as updateScene};
2
2
  //# sourceMappingURL=visualization.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selvajs/compute",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "TypeScript library for Rhino Compute Server - Grasshopper and RhinoCommon",
5
5
  "author": "VektorNode",
6
6
  "license": "MIT",
@@ -124,6 +124,7 @@
124
124
  "contract:check": "node scripts/fetch-server-contract.mjs --check",
125
125
  "test:seams": "vitest run tests/contract",
126
126
  "test:seams:live": "RUN_LIVE_CONTRACT=1 vitest run tests/contract/server-contract.live.test.ts",
127
+ "test:stats:live": "vitest run tests/contract/compute-server-stats.live.test.ts",
127
128
  "type-check": "tsc --noEmit",
128
129
  "build-docs": "typedoc",
129
130
  "release": "changeset publish"