@jax-data-science/sci-image-visualizer 0.2.2 → 0.2.4

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.
@@ -4,10 +4,11 @@ import * as i0 from "@angular/core";
4
4
  /**
5
5
  * Default in-library {@link ICellSegmenter} backed by cellpose-js (WebGPU/WASM
6
6
  * ONNX) — so the toolbar's automatic **Cellpose** tool works out of the box in
7
- * any app, with no host wiring (jit-ui#90). `cellpose-js` is a peer dependency
8
- * and is **lazy-imported** on first use, so apps that never run Cellpose pay
9
- * nothing for it. A host can still override the {@link CELL_SEGMENTER} token to
10
- * supply a different implementation.
7
+ * any app, with no host wiring (jit-ui#90). `cellpose-js` is a regular
8
+ * dependency — installed automatically, like `napari-js` — but it is
9
+ * **lazy-imported** on first use, so apps that never run Cellpose pay nothing
10
+ * for it in the bundle. A host can still override the {@link CELL_SEGMENTER}
11
+ * token to supply a different implementation.
11
12
  *
12
13
  * Owns a single shared {@link Cellpose} instance (one model load, one WebGPU
13
14
  * session, one worker). {@link getModel} exposes that instance so a host's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jax-data-science/sci-image-visualizer",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Browser-based scientific image visualization for Angular — gigapixel whole-slide (OpenSeadragon), 2D/3D (Plotly) and WebGPU (napari-js) rendering, with region/annotation editing and in-browser SAM segmentation.",
5
5
  "keywords": [
6
6
  "angular",
@@ -34,6 +34,7 @@
34
34
  "access": "public"
35
35
  },
36
36
  "dependencies": {
37
+ "cellpose-js": "^0.4.1",
37
38
  "fast-png": "^6.4.0",
38
39
  "napari-js": "^0.11.0",
39
40
  "openseadragon": "^6.0.2",
@@ -47,7 +48,6 @@
47
48
  "@angular/forms": "^17.3.0",
48
49
  "@angular/router": "^17.3.0",
49
50
  "buffer": "^5.7.1",
50
- "cellpose-js": "^0.3.0",
51
51
  "file-saver": "^2.0.5",
52
52
  "image-js": "^0.35.6",
53
53
  "onnxruntime-web": "~1.26.0",