@aleph-alpha/lib-mcp 2.2.0 → 3.0.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.
@@ -103,6 +103,44 @@
103
103
  ],
104
104
  "_autoGenerated": true
105
105
  },
106
+ "CkDropZoneOverlay": {
107
+ "description": "Full-window drag-and-drop overlay. Listens for file drags anywhere on the page, reveals a teleported overlay, validates dropped files against `accept`, `maxFileSizeBytes` and `maxFiles`, and emits the accepted files. Purely presentational and self-contained: it owns its own drag state and has no knowledge of the host app. All limits and copy are configurable, and rejection handling can be delegated to the consumer via the `rejected` event.",
108
+ "category": "Form Inputs",
109
+ "useCases": [
110
+ "page-level file attachment",
111
+ "drag-and-drop upload",
112
+ "chat composer"
113
+ ],
114
+ "keywords": [
115
+ "drag and drop",
116
+ "drop zone",
117
+ "file upload",
118
+ "overlay",
119
+ "attachments",
120
+ "drop",
121
+ "zone"
122
+ ],
123
+ "related": [
124
+ "CkFileItemsList",
125
+ "CkPromptInput"
126
+ ],
127
+ "props": [
128
+ "accept",
129
+ "maxFileSizeBytes",
130
+ "maxFiles",
131
+ "disabled",
132
+ "heading",
133
+ "hint",
134
+ "ariaLabel",
135
+ "showErrors",
136
+ "errorTimeoutMs"
137
+ ],
138
+ "examples": [
139
+ "Default",
140
+ "SingleFile"
141
+ ],
142
+ "_autoGenerated": true
143
+ },
106
144
  "CkFeedbackButton": {
107
145
  "description": "Binary thumbs up / thumbs down feedback control for assistant messages. Fully prop-driven: the host application owns the selection and lock state and decides when (or if) to persist it to a backend. Labels default to those provided by `useChatKitLabels` (which can be translated via `provideChatKitLabels`). The `ariaLabel*` props override the injected labels on a per-instance basis when set.",
108
146
  "category": "Feedback",
@@ -149,7 +187,7 @@
149
187
  "_autoGenerated": true
150
188
  },
151
189
  "CkFeedbackDialog": {
152
- "description": "Modal dialog for collecting qualitative feedback on an assistant response. Opened after a binary thumbs-up / thumbs-down click (see `CkFeedbackButton`), it lets the user pick a single reason code and add an optional free-text comment, then submit both alongside the original sentiment. One reason per submission: the backend (feedback-kit) stores a single `reason` enum per response, so the dialog is single-select by design. Fully prop-driven: the host application owns `open`, the list of reasons to show (fetched from `GET /feedback/config`), the response text to display, and the submission handler. The component only manages transient form state (the selected reason and free-text value) until the user submits or cancels. capture a free-text comment, drive a two-step rating flow rating, comment CkConversation, UiDialog, UiToggleGroup",
190
+ "description": "Modal dialog for collecting qualitative feedback on an assistant response. Opened after a binary thumbs-up / thumbs-down click (see `CkFeedbackButton`), it lets the user pick one or more reason codes and add an optional free-text comment, then submit them alongside the original sentiment. Multiple reasons per submission: the backend (feedback-kit) stores a list of reason codes per response (each becomes its own categorical score), so the chips are multi-select. Fully prop-driven: the host application owns `open`, the list of reasons to show (fetched from `GET /feedback/config`), the response text to display, and the submission handler. The component only manages transient form state (the selected reasons and free-text value) until the user submits or cancels. capture a free-text comment, drive a two-step rating flow rating, comment CkConversation, UiDialog, UiToggleGroup",
153
191
  "category": "Feedback",
154
192
  "useCases": [
155
193
  "collect qualitative feedback",
@@ -191,6 +229,7 @@
191
229
  "Negative",
192
230
  "NoResponseColumn",
193
231
  "Submitting",
232
+ "LongResponse",
194
233
  "WithFeedbackButton"
195
234
  ],
196
235
  "_autoGenerated": true
@@ -224,6 +263,7 @@
224
263
  "isRemovable",
225
264
  "removeLabel",
226
265
  "disabled",
266
+ "showStatus",
227
267
  "triggerLabel",
228
268
  "triggerAriaLabel",
229
269
  "listLabel",
@@ -232,6 +272,7 @@
232
272
  "examples": [
233
273
  "Inline",
234
274
  "Collapsed",
275
+ "UploadStatus",
235
276
  "Removable",
236
277
  "CustomItem",
237
278
  "Clickable",
@@ -365,52 +406,53 @@
365
406
  ],
366
407
  "_autoGenerated": true
367
408
  },
368
- "CkPromptActionButton": {
369
- "description": "Icon-only call-to-action button styled for the chat prompt area (brand color). Typically used as the \"send\" button inside a prompt input toolbar, but works for any primary prompt-level action.",
409
+ "CkModelSelector": {
410
+ "description": "Compact dropdown for choosing the active model, sized to sit inline in a prompt field next to the send button. Controlled component: pass the available `models` and the `selectedModelId`, and react to `update:selectedModelId` (so it works with `v-model:selected-model-id`). Purely presentational — fetching the list and persisting the choice are the consumer's responsibility.",
370
411
  "category": "Actions",
371
412
  "useCases": [
372
- "send message button",
373
- "submit prompt",
374
- "primary chat action",
375
- "loading send button",
376
- "disabled send button"
413
+ "select model",
414
+ "choose LLM",
415
+ "model picker in prompt field",
416
+ "switch model mid-conversation"
377
417
  ],
378
418
  "keywords": [
419
+ "model",
420
+ "selector",
421
+ "picker",
422
+ "dropdown",
423
+ "llm",
379
424
  "prompt",
380
- "send",
381
- "action",
382
- "button",
383
- "icon",
384
- "submit",
385
- "loading",
386
- "brand"
425
+ "choose",
426
+ "switch"
387
427
  ],
388
428
  "related": [
389
429
  "CkPromptInput",
390
- "CkInput",
391
- "CkMessageActionButton"
430
+ "CkPromptSendButton"
392
431
  ],
393
432
  "props": [
394
- "ariaLabel",
433
+ "models",
434
+ "selectedModelId",
395
435
  "disabled",
396
- "loading",
397
- "type"
436
+ "side",
437
+ "align",
438
+ "sideOffset"
398
439
  ],
399
440
  "examples": [
400
441
  "Default",
401
- "Disabled",
402
- "Loading"
442
+ "Placeholder",
443
+ "Disabled"
403
444
  ],
404
445
  "_autoGenerated": true
405
446
  },
406
447
  "CkPromptInput": {
407
- "description": "Low-level prompt input: a single auto-growing textarea with left/right toolbar slots, a footer slot, and keyboard submission (Enter to submit, Shift+Enter for newline). Use when you need full control over the prompt layout; for a turnkey chat input use `CkInput` instead.",
448
+ "description": "Low-level prompt input: an auto-growing textarea (1–6 lines, then internal scroll) with `toolbar-top` / `toolbar-left` / `toolbar-right` / `footer` slots and keyboard submission (Enter to submit, Shift+Enter for newline). The form layout adapts between a compact single-row variant (large 3xl radius) and a stacked multi-row variant (2xl radius) automatically — driven by content height and whether `toolbar-top` is filled. Use when you need full control over the prompt layout; for a turnkey chat input use `CkInput` instead.",
408
449
  "category": "Form Inputs",
409
450
  "useCases": [
410
451
  "raw chat prompt textarea",
411
452
  "custom prompt toolbar",
412
- "auto-growing textarea",
413
- "compose box",
453
+ "auto-growing compose box",
454
+ "file-attachment chip row",
455
+ "multi-line chat input",
414
456
  "keyboard submit"
415
457
  ],
416
458
  "keywords": [
@@ -418,27 +460,37 @@
418
460
  "input",
419
461
  "textarea",
420
462
  "chat",
421
- "auto-grow",
422
463
  "compose",
423
464
  "submit",
424
- "v-model"
465
+ "v-model",
466
+ "auto-grow",
467
+ "multi-line",
468
+ "toolbar"
425
469
  ],
426
470
  "related": [
427
471
  "CkInput",
428
- "CkPromptActionButton",
429
- "CkPromptInputDisclaimer"
472
+ "CkPromptSendButton",
473
+ "CkPromptStopButton",
474
+ "CkPromptMenuButton",
475
+ "CkPromptInputDisclaimer",
476
+ "CkFileItemsList"
430
477
  ],
431
478
  "props": [
432
479
  "modelValue",
433
480
  "placeholder",
434
481
  "disabled",
435
- "maxHeight",
436
482
  "ariaLabel"
437
483
  ],
438
484
  "examples": [
439
485
  "Default",
440
486
  "WithToolbarSlots",
441
487
  "WithFooterSlot",
488
+ "WithFooterControls",
489
+ "WithToolbarTopSlot",
490
+ "WithUploadAndModelSelection",
491
+ "WithMultiLineContent",
492
+ "WithCollapsedFileChips",
493
+ "WithUploadAndModelSelectionStreaming",
442
494
  "Disabled"
443
495
  ],
444
496
  "_autoGenerated": true
@@ -475,8 +527,85 @@
475
527
  ],
476
528
  "_autoGenerated": true
477
529
  },
530
+ "CkPromptMenuButton": {
531
+ "description": "Icon-only menu trigger styled for the chat prompt area (ghost variant, pill-shaped). Sits in `CkPromptInput`'s `toolbar-left` slot as the entry point to a dropdown of prompt actions — attach files, attach folders, toggle tools, switch length, etc. Defaults to a `plus` icon when the slot is empty; pass any icon to override.",
532
+ "category": "Actions",
533
+ "useCases": [
534
+ "open prompt menu",
535
+ "attach files",
536
+ "add resources",
537
+ "toggle tools",
538
+ "prompt input toolbar"
539
+ ],
540
+ "keywords": [
541
+ "prompt",
542
+ "menu",
543
+ "plus",
544
+ "add",
545
+ "button",
546
+ "icon",
547
+ "ghost",
548
+ "dropdown trigger",
549
+ "tools"
550
+ ],
551
+ "related": [
552
+ "CkPromptInput",
553
+ "CkPromptSendButton",
554
+ "CkPromptStopButton",
555
+ "CkDropZoneOverlay",
556
+ "CkFileItemsList"
557
+ ],
558
+ "props": [
559
+ "ariaLabel",
560
+ "disabled",
561
+ "type"
562
+ ],
563
+ "examples": [
564
+ "Default",
565
+ "Disabled"
566
+ ],
567
+ "_autoGenerated": true
568
+ },
569
+ "CkPromptSendButton": {
570
+ "description": "Icon-only send button styled for the chat prompt area (brand color, pill shape). Sits in `CkPromptInput`'s `toolbar-right` slot as the submit trigger. Shows a spinner via `loading` while the previous request is in flight; pair with `CkPromptStopButton` to expose an abort control.",
571
+ "category": "Actions",
572
+ "useCases": [
573
+ "send message button",
574
+ "submit prompt",
575
+ "primary chat send action",
576
+ "loading send button",
577
+ "disabled send button"
578
+ ],
579
+ "keywords": [
580
+ "prompt",
581
+ "send",
582
+ "submit",
583
+ "button",
584
+ "icon",
585
+ "loading",
586
+ "brand"
587
+ ],
588
+ "related": [
589
+ "CkPromptInput",
590
+ "CkPromptStopButton",
591
+ "CkInput",
592
+ "CkSendIcon"
593
+ ],
594
+ "props": [
595
+ "ariaLabel",
596
+ "disabled",
597
+ "loading",
598
+ "type"
599
+ ],
600
+ "examples": [
601
+ "Default",
602
+ "Disabled",
603
+ "Loading"
604
+ ],
605
+ "_autoGenerated": true
606
+ },
478
607
  "CkPromptStopButton": {
479
- "description": "Icon-only button used to stop an in-flight assistant generation. Shares the brand styling of `CkPromptActionButton` but is intended to replace it in the prompt toolbar while a response is streaming.",
608
+ "description": "Icon-only button used to stop an in-flight assistant generation. Visually de-emphasized counterpart to `CkPromptSendButton` — uses UiButton's `secondary` variant (muted background) per Figma spec, so the user's eye doesn't read it as a primary call-to-action. Swap it in for `CkPromptSendButton` in the prompt toolbar while a response is streaming.",
480
609
  "category": "Actions",
481
610
  "useCases": [
482
611
  "stop assistant generation",
@@ -489,15 +618,17 @@
489
618
  "cancel",
490
619
  "abort",
491
620
  "prompt",
492
- "action",
493
621
  "button",
494
622
  "icon",
495
- "streaming"
623
+ "streaming",
624
+ "secondary"
496
625
  ],
497
626
  "related": [
498
- "CkPromptActionButton",
627
+ "CkPromptSendButton",
628
+ "CkPromptMenuButton",
499
629
  "CkPromptInput",
500
- "CkInput"
630
+ "CkInput",
631
+ "CkStopIcon"
501
632
  ],
502
633
  "props": [
503
634
  "ariaLabel",
@@ -510,34 +641,38 @@
510
641
  "_autoGenerated": true
511
642
  },
512
643
  "CkUserMessage": {
513
- "description": "Bubble layout for a single user turn in a conversation. Renders the message text on the right side with a tokenized background and max-width; supports a default slot for custom inline content.",
644
+ "description": "Layout for a single user turn in a conversation. Renders the message text right-aligned in the muted on-surface color with a max-width; supports a default slot for custom inline content. When `collapsedLines` is set, long messages are clamped with a fade and a \"Show more\" / \"Show less\" toggle.",
514
645
  "category": "Messages",
515
646
  "useCases": [
516
- "render user message bubble",
647
+ "render user message",
517
648
  "conversation turn from user",
518
649
  "chat input preview",
519
- "right-aligned message"
650
+ "right-aligned message",
651
+ "collapsible long message"
520
652
  ],
521
653
  "keywords": [
522
654
  "user",
523
655
  "message",
524
- "bubble",
525
656
  "chat",
526
657
  "conversation",
527
- "turn"
658
+ "turn",
659
+ "collapse",
660
+ "show more"
528
661
  ],
529
662
  "related": [
530
663
  "CkAgentMessage",
531
664
  "CkConversation"
532
665
  ],
533
666
  "props": [
534
- "message"
667
+ "message",
668
+ "collapsedLines"
535
669
  ],
536
670
  "examples": [
537
671
  "Default",
538
672
  "LongMessage",
539
673
  "MultilineMessage",
540
- "WithSlotContent"
674
+ "WithSlotContent",
675
+ "Collapsible"
541
676
  ],
542
677
  "_autoGenerated": true
543
678
  },
@@ -622,18 +757,24 @@
622
757
  "hrefResolver",
623
758
  "activeId",
624
759
  "showAction",
625
- "showActionOnHover"
760
+ "showActionOnHover",
761
+ "timeFormatter",
762
+ "collapsedLimit",
763
+ "maxHeight"
626
764
  ],
627
765
  "examples": [
628
766
  "Default",
629
767
  "WithoutActions",
630
768
  "RouterLinkIntegration",
631
- "WithCustomItem"
769
+ "WithCustomItem",
770
+ "WithoutTime",
771
+ "CollapsedWithShowAll",
772
+ "NoCollapse"
632
773
  ],
633
774
  "_autoGenerated": true
634
775
  },
635
776
  "CkInput": {
636
- "description": "Drop-in chat input: combines `CkPromptInput`, a `CkPromptActionButton` send button, and a `CkPromptInputDisclaimer`. Supports `v-model`, loading and disabled states, and slots to customize the toolbar and footer.",
777
+ "description": "Drop-in chat input: combines `CkPromptInput`, a `CkPromptSendButton` send button, and a `CkPromptInputDisclaimer`. Supports `v-model`, loading and disabled states, and slots to customize the toolbar and footer.",
637
778
  "category": "Form Inputs",
638
779
  "useCases": [
639
780
  "chat compose input",
@@ -655,7 +796,7 @@
655
796
  ],
656
797
  "related": [
657
798
  "CkPromptInput",
658
- "CkPromptActionButton",
799
+ "CkPromptSendButton",
659
800
  "CkPromptInputDisclaimer",
660
801
  "CkConversation"
661
802
  ],
@@ -664,7 +805,6 @@
664
805
  "placeholder",
665
806
  "disabled",
666
807
  "loading",
667
- "maxHeight",
668
808
  "ariaLabel",
669
809
  "stopAriaLabel",
670
810
  "disclaimer"
@@ -91,7 +91,7 @@
91
91
  "_autoGenerated": true
92
92
  },
93
93
  "UiAutocomplete": {
94
- "description": "Beta: Filterable select input for choosing one or many options. This component is currently beta. Its API and behavior may still change before it is considered stable.",
94
+ "description": "Filterable select input for choosing one or many options.",
95
95
  "category": "Form Inputs",
96
96
  "useCases": [
97
97
  "autocomplete",
@@ -105,8 +105,7 @@
105
105
  "select",
106
106
  "search",
107
107
  "filter",
108
- "multi-select",
109
- "beta"
108
+ "multi-select"
110
109
  ],
111
110
  "related": [
112
111
  "UiSelect",
@@ -238,22 +237,20 @@
238
237
  ],
239
238
  "examples": [
240
239
  "Default",
240
+ "DesignNotes",
241
+ "Accessibility",
241
242
  "Outline",
242
243
  "Secondary",
243
244
  "Ghost",
244
245
  "Destructive",
245
246
  "Link",
246
247
  "Sizes",
247
- "WithStartIcon",
248
- "WithEndIcon",
249
- "WithBothIcons",
248
+ "IconUsage",
250
249
  "Loading",
251
250
  "LoadingWithBothIcons",
252
- "WithIconSlot",
253
251
  "AsChild",
254
252
  "AllVariants",
255
253
  "DisabledHoverBleed",
256
- "IconSizes",
257
254
  "AllVariantsAndSizes"
258
255
  ],
259
256
  "_autoGenerated": true
@@ -382,6 +379,8 @@
382
379
  "props": [],
383
380
  "examples": [
384
381
  "Default",
382
+ "DesignNotes",
383
+ "Accessibility",
385
384
  "WithDescription",
386
385
  "Disabled",
387
386
  "Card"
@@ -645,6 +644,8 @@
645
644
  ],
646
645
  "examples": [
647
646
  "Default",
647
+ "DesignNotes",
648
+ "Accessibility",
648
649
  "DescriptionWithCheckbox",
649
650
  "WithLabelInfo",
650
651
  "WithError",
@@ -905,6 +906,8 @@
905
906
  ],
906
907
  "examples": [
907
908
  "Basic",
909
+ "DesignNotes",
910
+ "Accessibility",
908
911
  "Variants",
909
912
  "Sizes",
910
913
  "CustomSlots",
@@ -1281,7 +1284,6 @@
1281
1284
  "WithDisabledItems",
1282
1285
  "WithIcons",
1283
1286
  "Disabled",
1284
- "Sizes",
1285
1287
  "Multiple",
1286
1288
  "MultipleWithDefaultValue",
1287
1289
  "WithDefaultValue"