@camstack/ui-library 1.2.63 → 1.2.64

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.
@@ -76,6 +76,17 @@ export type CellState = {
76
76
  * "→ label" badge on the cell.
77
77
  */
78
78
  readonly jumpTo?: string;
79
+ /**
80
+ * This model is a CLUSTER-wide choice, not a per-(node,device) one — the
81
+ * step writes into a shared vector index, where two encoders make
82
+ * similarity scores meaningless.
83
+ *
84
+ * The cell must SAY so. Rendering a cluster value in a per-node matrix
85
+ * with no marking invites the operator to change it expecting a per-node
86
+ * effect, and to read a neighbouring node's identical value as a
87
+ * coincidence rather than as the same single row.
88
+ */
89
+ readonly clusterWide?: boolean;
79
90
  } | {
80
91
  readonly kind: 'disabled';
81
92
  readonly overridden?: boolean;
package/dist/index.cjs CHANGED
@@ -44198,6 +44198,11 @@ function renderCellContent(state) {
44198
44198
  className: "font-mono text-foreground truncate",
44199
44199
  children: state.modelId
44200
44200
  }),
44201
+ state.clusterWide === true && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
44202
+ className: "ml-auto shrink-0 text-[8px] font-semibold uppercase text-primary",
44203
+ title: "One value for the whole cluster — this step writes into a shared vector index",
44204
+ children: "cluster"
44205
+ }),
44201
44206
  state.jumpTo !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
44202
44207
  className: "ml-auto shrink-0 text-[8px] font-semibold text-sky-500",
44203
44208
  title: `runs on ${state.jumpTo}`,
package/dist/index.js CHANGED
@@ -44174,6 +44174,11 @@ function renderCellContent(state) {
44174
44174
  className: "font-mono text-foreground truncate",
44175
44175
  children: state.modelId
44176
44176
  }),
44177
+ state.clusterWide === true && /* @__PURE__ */ jsx("span", {
44178
+ className: "ml-auto shrink-0 text-[8px] font-semibold uppercase text-primary",
44179
+ title: "One value for the whole cluster — this step writes into a shared vector index",
44180
+ children: "cluster"
44181
+ }),
44177
44182
  state.jumpTo !== void 0 && /* @__PURE__ */ jsxs("span", {
44178
44183
  className: "ml-auto shrink-0 text-[8px] font-semibold text-sky-500",
44179
44184
  title: `runs on ${state.jumpTo}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/ui-library",
3
- "version": "1.2.63",
3
+ "version": "1.2.64",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",