@aleph-alpha/lib-mcp 4.1.0 → 4.1.1

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.
@@ -175,6 +175,7 @@
175
175
  "examples": [
176
176
  "Default",
177
177
  "StreamingSimulation",
178
+ "ScrollToMessage",
178
179
  "Empty"
179
180
  ],
180
181
  "_autoGenerated": true
@@ -357,6 +358,7 @@
357
358
  "responseText",
358
359
  "reasons",
359
360
  "maxFreeTextLength",
361
+ "reasonRequired",
360
362
  "submitting",
361
363
  "disabled",
362
364
  "titlePositive",
@@ -373,6 +375,7 @@
373
375
  "Positive",
374
376
  "Negative",
375
377
  "NoResponseColumn",
378
+ "OptionalInput",
376
379
  "Submitting",
377
380
  "LongResponse",
378
381
  "WithFeedbackButton"
@@ -628,7 +631,8 @@
628
631
  "examples": [
629
632
  "Default",
630
633
  "Placeholder",
631
- "Disabled"
634
+ "Disabled",
635
+ "WithSublabels"
632
636
  ],
633
637
  "_autoGenerated": true
634
638
  },
@@ -934,6 +938,7 @@
934
938
  ],
935
939
  "examples": [
936
940
  "Default",
941
+ "SlotAnatomy",
937
942
  "WithIcon",
938
943
  "WithCustomAvatarFallback",
939
944
  "NoIcon",
@@ -944,7 +949,9 @@
944
949
  "WithCustomAgentContent",
945
950
  "StreamingSimulation",
946
951
  "WithCustomMarkdownClasses",
952
+ "DefaultCodeBlock",
947
953
  "WithCustomCodeBlock",
954
+ "ScrollToMessage",
948
955
  "Empty"
949
956
  ],
950
957
  "_autoGenerated": true
@@ -980,7 +987,8 @@
980
987
  "showActionOnHover",
981
988
  "timeFormatter",
982
989
  "collapsedLimit",
983
- "maxHeight"
990
+ "maxHeight",
991
+ "contentClass"
984
992
  ],
985
993
  "examples": [
986
994
  "Default",
@@ -116,10 +116,17 @@
116
116
  "examples": [
117
117
  "Default",
118
118
  "Multiple",
119
+ "States",
119
120
  "WithSlots",
120
121
  "WithBadges",
121
122
  "WithCheckboxes",
122
- "WithExternalItems"
123
+ "WithExternalItems",
124
+ "Accessibility",
125
+ "FilterAndSelect",
126
+ "KeyboardNavigation",
127
+ "ScreenReader",
128
+ "ZoomMagnification",
129
+ "MobileBreakpoint"
123
130
  ],
124
131
  "_autoGenerated": true
125
132
  },
@@ -260,6 +267,46 @@
260
267
  ],
261
268
  "_autoGenerated": true
262
269
  },
270
+ "UiButtonGroup": {
271
+ "description": "Visually joins a set of related actions (and inputs) into a single, connected control. Renders a `role=\"group\"` container and merges the borders and radii of its children so they read as one unit.",
272
+ "category": "Actions",
273
+ "useCases": [
274
+ "toolbar",
275
+ "segmented actions",
276
+ "split button",
277
+ "input with buttons",
278
+ "pagination controls"
279
+ ],
280
+ "keywords": [
281
+ "button group",
282
+ "group",
283
+ "toolbar",
284
+ "segmented",
285
+ "joined",
286
+ "split button",
287
+ "button"
288
+ ],
289
+ "related": [
290
+ "UiButton",
291
+ "UiInput"
292
+ ],
293
+ "props": [
294
+ "orientation"
295
+ ],
296
+ "examples": [
297
+ "Default",
298
+ "Vertical",
299
+ "WithInput",
300
+ "Variants",
301
+ "Sizes",
302
+ "Accessibility",
303
+ "KeyboardNavigation",
304
+ "ScreenReader",
305
+ "ZoomMagnification",
306
+ "MobileBreakpoint"
307
+ ],
308
+ "_autoGenerated": true
309
+ },
263
310
  "UiCalendar": {
264
311
  "description": "A date picker calendar for selecting single or multiple dates. Use for booking forms, event scheduling, or any date selection needs.",
265
312
  "category": "Form Inputs",
@@ -388,7 +435,13 @@
388
435
  "Accessibility",
389
436
  "WithDescription",
390
437
  "Disabled",
391
- "Card"
438
+ "WithField",
439
+ "Indeterminate",
440
+ "ToggleBehavior",
441
+ "KeyboardNavigation",
442
+ "ScreenReader",
443
+ "ZoomMagnification",
444
+ "MobileBreakpoint"
392
445
  ],
393
446
  "_autoGenerated": true
394
447
  },
@@ -671,7 +724,11 @@
671
724
  "ResponsiveProfileForm",
672
725
  "PaymentMethodForm",
673
726
  "ProfileSettingsForm",
674
- "PersonalInformationForm"
727
+ "PersonalInformationForm",
728
+ "DescriptionCheckboxInteraction",
729
+ "KeyboardNavigation",
730
+ "FormKeyboardFlow",
731
+ "MobileBreakpoint"
675
732
  ],
676
733
  "_autoGenerated": true
677
734
  },
@@ -870,7 +927,12 @@
870
927
  "WithLabel",
871
928
  "Disabled",
872
929
  "WithButton",
873
- "File"
930
+ "File",
931
+ "TextEntry",
932
+ "FileUpload",
933
+ "DesignNotes",
934
+ "Accessibility",
935
+ "MobileBreakpoint"
874
936
  ],
875
937
  "_autoGenerated": true
876
938
  },
@@ -922,7 +984,10 @@
922
984
  "Media",
923
985
  "Group",
924
986
  "AsLink",
925
- "AllVariants"
987
+ "KeyboardNavigation",
988
+ "ListSemantics",
989
+ "AllVariants",
990
+ "MobileBreakpoint"
926
991
  ],
927
992
  "_autoGenerated": true
928
993
  },
@@ -1164,7 +1229,14 @@
1164
1229
  "Default",
1165
1230
  "Disabled",
1166
1231
  "HorizontalOrientation",
1167
- "AsChild"
1232
+ "AsChild",
1233
+ "WithField",
1234
+ "Accessibility",
1235
+ "SelectionBehavior",
1236
+ "KeyboardNavigation",
1237
+ "ScreenReader",
1238
+ "ZoomMagnification",
1239
+ "MobileBreakpoint"
1168
1240
  ],
1169
1241
  "_autoGenerated": true
1170
1242
  },
@@ -1289,9 +1361,16 @@
1289
1361
  "WithDisabledItems",
1290
1362
  "WithIcons",
1291
1363
  "Disabled",
1364
+ "States",
1292
1365
  "Multiple",
1293
1366
  "MultipleWithDefaultValue",
1294
- "WithDefaultValue"
1367
+ "WithDefaultValue",
1368
+ "Accessibility",
1369
+ "OpenSelectClose",
1370
+ "KeyboardNavigation",
1371
+ "ScreenReader",
1372
+ "ZoomMagnification",
1373
+ "MobileBreakpoint"
1295
1374
  ],
1296
1375
  "_autoGenerated": true
1297
1376
  },
@@ -1870,7 +1949,13 @@
1870
1949
  "WithRowActions",
1871
1950
  "WithCellFormatting",
1872
1951
  "WithRowClick",
1873
- "WithFilterMenu"
1952
+ "WithFilterMenu",
1953
+ "Accessibility",
1954
+ "KeyboardNavigation",
1955
+ "RowSelectionInteraction",
1956
+ "ScreenReader",
1957
+ "ZoomMagnification",
1958
+ "MobileBreakpoint"
1874
1959
  ],
1875
1960
  "_autoGenerated": true
1876
1961
  },
@@ -2018,12 +2103,20 @@
2018
2103
  ],
2019
2104
  "examples": [
2020
2105
  "ShowModes",
2106
+ "Examples",
2021
2107
  "IconOnlyWithTooltip",
2022
2108
  "ButtonWithText",
2023
2109
  "Orientation",
2024
2110
  "ItemTypes",
2025
2111
  "AllStates",
2026
- "Composable"
2112
+ "Composable",
2113
+ "Accessibility",
2114
+ "FocusTriggerKeyboard",
2115
+ "HoverTriggerKeyboard",
2116
+ "ClickTriggerKeyboard",
2117
+ "ToolbarKeyboard",
2118
+ "ZoomMagnification",
2119
+ "MobileBreakpoint"
2027
2120
  ],
2028
2121
  "_autoGenerated": true
2029
2122
  },
package/dist/cli.js CHANGED
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ try {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ } catch (e) {
12
+ throw mod = 0, e;
13
+ }
10
14
  };
11
15
  var __export = (target, all) => {
12
16
  for (var name in all)
@@ -10779,7 +10783,7 @@ ZodNaN.create = (params) => {
10779
10783
  ...processCreateParams(params)
10780
10784
  });
10781
10785
  };
10782
- var BRAND = Symbol("zod_brand");
10786
+ var BRAND = /* @__PURE__ */ Symbol("zod_brand");
10783
10787
  var ZodBranded = class extends ZodType {
10784
10788
  _parse(input) {
10785
10789
  const { ctx } = this._processInputParams(input);
@@ -11039,7 +11043,6 @@ function $constructor(name, initializer3, params) {
11039
11043
  Object.defineProperty(_, "name", { value: name });
11040
11044
  return _;
11041
11045
  }
11042
- var $brand = Symbol("zod_brand");
11043
11046
  var $ZodAsyncError = class extends Error {
11044
11047
  constructor() {
11045
11048
  super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
@@ -13543,8 +13546,6 @@ function en_default2() {
13543
13546
  }
13544
13547
 
13545
13548
  // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js
13546
- var $output = Symbol("ZodOutput");
13547
- var $input = Symbol("ZodInput");
13548
13549
  var $ZodRegistry = class {
13549
13550
  constructor() {
13550
13551
  this._map = /* @__PURE__ */ new Map();
@@ -17207,7 +17208,7 @@ function isTerminal(status) {
17207
17208
  }
17208
17209
 
17209
17210
  // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js
17210
- var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
17211
+ var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
17211
17212
  var defaultOptions = {
17212
17213
  name: void 0,
17213
17214
  $refStrategy: "root",
@@ -20177,7 +20178,7 @@ var Server = class extends Protocol {
20177
20178
  };
20178
20179
 
20179
20180
  // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
20180
- var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
20181
+ var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
20181
20182
  function isCompletable(schema) {
20182
20183
  return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
20183
20184
  }
package/dist/server.js CHANGED
@@ -5,7 +5,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __commonJS = (cb, mod) => function __require() {
8
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
8
+ try {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ } catch (e) {
11
+ throw mod = 0, e;
12
+ }
9
13
  };
10
14
  var __export = (target, all) => {
11
15
  for (var name in all)
@@ -10625,7 +10629,7 @@ ZodNaN.create = (params) => {
10625
10629
  ...processCreateParams(params)
10626
10630
  });
10627
10631
  };
10628
- var BRAND = Symbol("zod_brand");
10632
+ var BRAND = /* @__PURE__ */ Symbol("zod_brand");
10629
10633
  var ZodBranded = class extends ZodType {
10630
10634
  _parse(input) {
10631
10635
  const { ctx } = this._processInputParams(input);
@@ -10885,7 +10889,6 @@ function $constructor(name, initializer3, params) {
10885
10889
  Object.defineProperty(_, "name", { value: name });
10886
10890
  return _;
10887
10891
  }
10888
- var $brand = Symbol("zod_brand");
10889
10892
  var $ZodAsyncError = class extends Error {
10890
10893
  constructor() {
10891
10894
  super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
@@ -13389,8 +13392,6 @@ function en_default2() {
13389
13392
  }
13390
13393
 
13391
13394
  // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js
13392
- var $output = Symbol("ZodOutput");
13393
- var $input = Symbol("ZodInput");
13394
13395
  var $ZodRegistry = class {
13395
13396
  constructor() {
13396
13397
  this._map = /* @__PURE__ */ new Map();
@@ -17053,7 +17054,7 @@ function isTerminal(status) {
17053
17054
  }
17054
17055
 
17055
17056
  // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js
17056
- var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
17057
+ var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
17057
17058
  var defaultOptions = {
17058
17059
  name: void 0,
17059
17060
  $refStrategy: "root",
@@ -20023,7 +20024,7 @@ var Server = class extends Protocol {
20023
20024
  };
20024
20025
 
20025
20026
  // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
20026
- var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
20027
+ var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
20027
20028
  function isCompletable(schema) {
20028
20029
  return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
20029
20030
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleph-alpha/lib-mcp",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/server.js",
@@ -30,19 +30,20 @@
30
30
  "zod": "^3.24.0"
31
31
  },
32
32
  "devDependencies": {
33
- "esbuild": "^0.24.0",
33
+ "esbuild": "^0.28.1",
34
34
  "typescript": "^5.2.2",
35
35
  "vitest": "^3.2.6",
36
- "@aleph-alpha/tsconfig-frontend": "0.7.0"
36
+ "@aleph-alpha/tsconfig-frontend": "0.7.2"
37
37
  },
38
38
  "peerDependencies": {
39
- "@aleph-alpha/ui-library": "5.4.0",
40
- "@aleph-alpha/chat-kit": "5.3.0"
39
+ "@aleph-alpha/ui-library": "~5.3.0",
40
+ "@aleph-alpha/chat-kit": "~5.4.0"
41
41
  },
42
42
  "homepage": "https://docs.aleph-alpha.com",
43
43
  "scripts": {
44
44
  "build": "node scripts/build.cjs",
45
45
  "generate:component-meta": "pnpm build && node dist/scripts/generate-component-meta.js",
46
- "test": "vitest --run"
46
+ "test": "vitest --run",
47
+ "typecheck": "tsc --noEmit"
47
48
  }
48
49
  }