@czi-sds/mcp 0.9.0 → 0.9.2

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.
@@ -15,7 +15,7 @@
15
15
  "barHeight": {
16
16
  "type": "number",
17
17
  "isRequired": false,
18
- "description": "Height of the bar in pixels",
18
+ "description": "Height of the bar in pixels (minimum 1px)",
19
19
  "defaultValue": 16
20
20
  },
21
21
  "data": {
@@ -26,24 +26,36 @@
26
26
  "maxAmount": {
27
27
  "type": "number",
28
28
  "isRequired": false,
29
- "description": "Maximum amount for the bar (used only in \"amount\" mode)\nIf not provided, defaults to sum of all values (no remaining segment)\nIf provided and sum < maxAmount, shows gray \"remaining\" segment"
29
+ "description": "Maximum amount for the bar (used only in \"cumulative\" mode)\nIf not provided, defaults to sum of all values (no remaining segment)\nIf provided and sum < maxAmount, shows gray \"remaining\" segment"
30
30
  },
31
31
  "mode": {
32
- "type": "\"percentage\" | \"amount\"",
32
+ "type": "\"proportional\" | \"cumulative\"",
33
33
  "isRequired": false,
34
- "description": "Chart mode - controls how segments are calculated\n- \"percentage\": Segments fill entire bar (100%), proportional to their values\n- \"amount\": Segments sized based on actual values relative to maxAmount",
34
+ "description": "Chart mode - controls how segments are calculated\n- \"proportional\": Segments fill entire bar (100%), proportional to their values\n- \"cumulative\": Segments sized based on actual values relative to maxAmount",
35
+ "defaultValue": "proportional"
36
+ },
37
+ "legendValueFormat": {
38
+ "type": "\"percentage\" | \"count\"",
39
+ "isRequired": false,
40
+ "description": "Format for legend values\n- \"percentage\": Shows percentage of the item in the bar chart (e.g., \"20%\")\n- \"count\": Shows the count from the data object with the unit defined by the unit prop",
35
41
  "defaultValue": "percentage"
36
42
  },
43
+ "selectionBehavior": {
44
+ "type": "\"dim\" | \"hide\"",
45
+ "isRequired": false,
46
+ "description": "Behavior to apply when items are selected\n- \"dim\": Non-selected segments become semi-transparent (20% opacity)\n- \"hide\": Non-selected segments are hidden from the bar chart",
47
+ "defaultValue": "dim"
48
+ },
37
49
  "remainingLabel": {
38
50
  "type": "string",
39
51
  "isRequired": false,
40
- "description": "Label for the remaining/unknown segment in amount mode",
52
+ "description": "Label for the remaining/unknown segment in cumulative mode",
41
53
  "defaultValue": "Remaining"
42
54
  },
43
55
  "remainingUnit": {
44
56
  "type": "string",
45
57
  "isRequired": false,
46
- "description": "Unit to display with the remaining segment value in amount mode\nIf not provided, uses the unit from the first data item (if available)"
58
+ "description": "Unit to display with the remaining segment value in cumulative mode\nIf not provided, uses the unit from the first data item (if available)"
47
59
  },
48
60
  "showLegend": {
49
61
  "type": "\"false\" | \"true\"",
@@ -65,7 +77,7 @@
65
77
  "unit": {
66
78
  "type": "string",
67
79
  "isRequired": false,
68
- "description": "Global unit to display with values in amount mode (e.g., \"GB\", \"datasets\", \"K\")\nIndividual data items can override this with their own unit property\nOnly shown when mode is \"amount\""
80
+ "description": "Global unit to display with values in cumulative mode (e.g., \"GB\", \"datasets\", \"K\")\nIndividual data items can override this with their own unit property\nOnly shown when mode is \"cumulative\""
69
81
  },
70
82
  "width": {
71
83
  "type": "\"string\" | \"number\"",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "fontFamily": {
3
- "sds-body": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
4
- "sds-caps": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
3
+ "sds-body": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
4
+ "sds-caps": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
5
5
  "sds-code": "\"IBM Plex Mono\", monospace",
6
- "sds-header": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
7
- "sds-link": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
8
- "sds-tabular": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif",
9
- "sds-title": "var(--font-inter),Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Helvetica,Arial,sans-serif"
6
+ "sds-header": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
7
+ "sds-link": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
8
+ "sds-tabular": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
9
+ "sds-title": "var(--font-inter), Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif"
10
10
  },
11
11
  "fontSize": {
12
12
  "sds-body-l-400-narrow": "16px",
@@ -2965,7 +2965,7 @@
2965
2965
  "sds-color-primitive-green-800": "#001f00",
2966
2966
  "sds-color-primitive-purple-100": "#efeafe",
2967
2967
  "sds-color-primitive-purple-200": "#e4dbfc",
2968
- "sds-color-primitive-purple-300": "#cbbaF8",
2968
+ "sds-color-primitive-purple-300": "#cbbaf8",
2969
2969
  "sds-color-primitive-purple-400": "#b296f2",
2970
2970
  "sds-color-primitive-purple-500": "#8b54e2",
2971
2971
  "sds-color-primitive-purple-600": "#6526b5",
@@ -3013,7 +3013,7 @@
3013
3013
  "sds-color-semantic-base-background-primary-dark": "#000000",
3014
3014
  "sds-color-semantic-base-background-primary-inverse": "#000000",
3015
3015
  "sds-color-semantic-base-background-secondary": "#ededed66",
3016
- "sds-color-semantic-base-background-secondary-on-dark": "#3b3b3b9E",
3016
+ "sds-color-semantic-base-background-secondary-on-dark": "#3b3b3b9e",
3017
3017
  "sds-color-semantic-base-background-secondary-inverse": "#3b3b3b",
3018
3018
  "sds-color-semantic-base-background-tertiary": "#ededed",
3019
3019
  "sds-color-semantic-base-border-on-fill": "#ffffff",
@@ -3144,4 +3144,4 @@
3144
3144
  "sds-xxs": "4px",
3145
3145
  "sds-xxxs": "2px"
3146
3146
  }
3147
- }
3147
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@czi-sds/mcp",
3
3
  "description": "The official MCP server for SDS",
4
- "version": "0.9.0",
4
+ "version": "0.9.2",
5
5
  "main": "dist/stdio.js",
6
6
  "files": [
7
7
  "dist",
@@ -62,5 +62,5 @@
62
62
  "tsx": "^4.20.3",
63
63
  "typescript": "^5.9.2"
64
64
  },
65
- "gitHead": "fa72953eeff3f593852e738fd5776c65425bb044"
65
+ "gitHead": "04a6feca080933c528a00558f9764ce602cd5ea7"
66
66
  }