@aleph-alpha/lib-mcp 1.7.0 → 2.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.
@@ -0,0 +1,546 @@
1
+ {
2
+ "CkAgentMessage": {
3
+ "description": "Layout for a single assistant (agent) turn in a conversation. Exposes `icon`, `header`, default content and `footer` slots for full control over each section while keeping consistent spacing and alignment.",
4
+ "category": "Messages",
5
+ "useCases": [
6
+ "render assistant reply",
7
+ "AI message layout",
8
+ "conversation turn",
9
+ "streaming message container"
10
+ ],
11
+ "keywords": [
12
+ "agent",
13
+ "assistant",
14
+ "message",
15
+ "bubble",
16
+ "reply",
17
+ "ai",
18
+ "conversation"
19
+ ],
20
+ "related": [
21
+ "CkUserMessage",
22
+ "CkConversation",
23
+ "CkMarkdownRenderer",
24
+ "CkCopyMessageActionButton"
25
+ ],
26
+ "props": [],
27
+ "examples": [
28
+ "Default",
29
+ "WithFooterActions",
30
+ "WithRichContent",
31
+ "WithCustomHeader",
32
+ "WithoutIcon"
33
+ ],
34
+ "_autoGenerated": true
35
+ },
36
+ "CkConversationLayout": {
37
+ "description": "Scroll-aware container that renders a list of messages with sticky-to-bottom behavior, a shrinking spacer so streaming agent replies don't jitter the viewport, and slots for rendering user/agent messages.",
38
+ "category": "Layout",
39
+ "useCases": [
40
+ "conversation scroll container",
41
+ "streaming chat layout",
42
+ "chat viewport with auto-scroll",
43
+ "follow-the-bottom chat list"
44
+ ],
45
+ "keywords": [
46
+ "conversation",
47
+ "layout",
48
+ "scroll",
49
+ "auto-scroll",
50
+ "streaming",
51
+ "chat",
52
+ "container"
53
+ ],
54
+ "related": [
55
+ "CkConversation",
56
+ "CkAgentMessage",
57
+ "CkUserMessage"
58
+ ],
59
+ "props": [
60
+ "messages"
61
+ ],
62
+ "examples": [
63
+ "Default",
64
+ "StreamingSimulation",
65
+ "Empty"
66
+ ],
67
+ "_autoGenerated": true
68
+ },
69
+ "CkCopyMessageActionButton": {
70
+ "description": "Copy-to-clipboard action button for chat messages. Shows a check icon and announces success for assistive technologies, then reverts after a delay.",
71
+ "category": "Actions",
72
+ "useCases": [
73
+ "copy assistant reply",
74
+ "copy message to clipboard",
75
+ "chat message action",
76
+ "feedback action on message footer"
77
+ ],
78
+ "keywords": [
79
+ "copy",
80
+ "clipboard",
81
+ "action",
82
+ "message",
83
+ "button",
84
+ "icon",
85
+ "feedback"
86
+ ],
87
+ "related": [
88
+ "CkMessageActionButton",
89
+ "CkAgentMessage",
90
+ "CkConversation"
91
+ ],
92
+ "props": [
93
+ "text",
94
+ "disabled",
95
+ "durationMs",
96
+ "ariaLabelCopy",
97
+ "ariaLabelCopied",
98
+ "writeToClipboard"
99
+ ],
100
+ "examples": [
101
+ "Default",
102
+ "Disabled"
103
+ ],
104
+ "_autoGenerated": true
105
+ },
106
+ "CkHistoryItem": {
107
+ "description": "A single chat history entry with title, optional meta line, active indicator, and a trailing action control (plain button or popover). Sidebar-agnostic: can be used anywhere, not only inside a sidebar.",
108
+ "category": "Actions",
109
+ "useCases": [
110
+ "chat history row",
111
+ "thread list entry",
112
+ "recent conversation item"
113
+ ],
114
+ "keywords": [
115
+ "chat",
116
+ "history",
117
+ "item",
118
+ "row",
119
+ "conversation",
120
+ "thread"
121
+ ],
122
+ "related": [
123
+ "CkHistoryWrapper"
124
+ ],
125
+ "props": [],
126
+ "examples": [
127
+ "Default",
128
+ "Active",
129
+ "AlwaysShowAction",
130
+ "NoMeta",
131
+ "WithActionPopover"
132
+ ],
133
+ "_autoGenerated": true
134
+ },
135
+ "CkHistoryWrapper": {
136
+ "description": "Vertical stack for chat history rows (`CkHistoryItem`). Sidebar-agnostic: can be used anywhere in the app, not only inside a sidebar.",
137
+ "category": "Layout",
138
+ "useCases": [
139
+ "chat history list",
140
+ "thread list container",
141
+ "recent conversations stack"
142
+ ],
143
+ "keywords": [
144
+ "chat",
145
+ "history",
146
+ "list",
147
+ "stack",
148
+ "container",
149
+ "wrapper"
150
+ ],
151
+ "related": [
152
+ "CkHistoryItem"
153
+ ],
154
+ "props": [
155
+ "withGap"
156
+ ],
157
+ "examples": [
158
+ "Default",
159
+ "WithoutGap"
160
+ ],
161
+ "_autoGenerated": true
162
+ },
163
+ "CkMarkdownRenderer": {
164
+ "description": "Renders a Markdown string as Vue VNodes with per-tag class overrides and an optional `code-block` slot. Use for assistant messages that contain prose, lists, tables, and code blocks.",
165
+ "category": "Data Display",
166
+ "useCases": [
167
+ "render assistant markdown reply",
168
+ "syntax-highlighted code blocks",
169
+ "GFM tables",
170
+ "chat message body"
171
+ ],
172
+ "keywords": [
173
+ "markdown",
174
+ "renderer",
175
+ "gfm",
176
+ "remark",
177
+ "code block",
178
+ "prose"
179
+ ],
180
+ "related": [
181
+ "CkAgentMessage",
182
+ "CkConversation"
183
+ ],
184
+ "props": [
185
+ "content",
186
+ "classes",
187
+ "plugins"
188
+ ],
189
+ "examples": [
190
+ "Default",
191
+ "WithCodeBlocks",
192
+ "WithCustomCodeBlockSlot",
193
+ "ComplexMarkdown",
194
+ "WithCustomClasses",
195
+ "GfmFeatures",
196
+ "WithCustomPlugin"
197
+ ],
198
+ "_autoGenerated": true
199
+ },
200
+ "CkMessageActionButton": {
201
+ "description": "Small icon-only action button used in the footer of chat messages. Acts as a ghost-styled wrapper around `UiButton` with consistent chat-kit tokens.",
202
+ "category": "Actions",
203
+ "useCases": [
204
+ "message footer action",
205
+ "like/dislike reaction",
206
+ "share button on reply",
207
+ "secondary message action"
208
+ ],
209
+ "keywords": [
210
+ "icon button",
211
+ "action",
212
+ "message",
213
+ "ghost",
214
+ "accessible",
215
+ "aria-label",
216
+ "button"
217
+ ],
218
+ "related": [
219
+ "CkCopyMessageActionButton",
220
+ "CkAgentMessage",
221
+ "CkConversation"
222
+ ],
223
+ "props": [
224
+ "ariaLabel",
225
+ "disabled"
226
+ ],
227
+ "examples": [
228
+ "Default"
229
+ ],
230
+ "_autoGenerated": true
231
+ },
232
+ "CkPromptActionButton": {
233
+ "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.",
234
+ "category": "Actions",
235
+ "useCases": [
236
+ "send message button",
237
+ "submit prompt",
238
+ "primary chat action",
239
+ "loading send button",
240
+ "disabled send button"
241
+ ],
242
+ "keywords": [
243
+ "prompt",
244
+ "send",
245
+ "action",
246
+ "button",
247
+ "icon",
248
+ "submit",
249
+ "loading",
250
+ "brand"
251
+ ],
252
+ "related": [
253
+ "CkPromptInput",
254
+ "CkInput",
255
+ "CkMessageActionButton"
256
+ ],
257
+ "props": [
258
+ "ariaLabel",
259
+ "disabled",
260
+ "loading",
261
+ "type"
262
+ ],
263
+ "examples": [
264
+ "Default",
265
+ "Disabled",
266
+ "Loading"
267
+ ],
268
+ "_autoGenerated": true
269
+ },
270
+ "CkPromptInput": {
271
+ "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.",
272
+ "category": "Form Inputs",
273
+ "useCases": [
274
+ "raw chat prompt textarea",
275
+ "custom prompt toolbar",
276
+ "auto-growing textarea",
277
+ "compose box",
278
+ "keyboard submit"
279
+ ],
280
+ "keywords": [
281
+ "prompt",
282
+ "input",
283
+ "textarea",
284
+ "chat",
285
+ "auto-grow",
286
+ "compose",
287
+ "submit",
288
+ "v-model"
289
+ ],
290
+ "related": [
291
+ "CkInput",
292
+ "CkPromptActionButton",
293
+ "CkPromptInputDisclaimer"
294
+ ],
295
+ "props": [
296
+ "modelValue",
297
+ "placeholder",
298
+ "disabled",
299
+ "maxHeight",
300
+ "ariaLabel"
301
+ ],
302
+ "examples": [
303
+ "Default",
304
+ "WithToolbarSlots",
305
+ "WithFooterSlot",
306
+ "Disabled"
307
+ ],
308
+ "_autoGenerated": true
309
+ },
310
+ "CkPromptInputDisclaimer": {
311
+ "description": "Small helper/disclaimer line typically rendered under a chat input (\"AI may produce incorrect answers\"). Renders nothing when there is no text and no default slot content, making it safe to always include.",
312
+ "category": "Feedback",
313
+ "useCases": [
314
+ "chat disclaimer",
315
+ "ai may make mistakes",
316
+ "prompt footnote",
317
+ "small help text under input"
318
+ ],
319
+ "keywords": [
320
+ "disclaimer",
321
+ "notice",
322
+ "footer",
323
+ "help text",
324
+ "ai",
325
+ "prompt",
326
+ "input"
327
+ ],
328
+ "related": [
329
+ "CkInput",
330
+ "CkPromptInput"
331
+ ],
332
+ "props": [
333
+ "text"
334
+ ],
335
+ "examples": [
336
+ "Default",
337
+ "WithSlot",
338
+ "Empty"
339
+ ],
340
+ "_autoGenerated": true
341
+ },
342
+ "CkPromptStopButton": {
343
+ "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.",
344
+ "category": "Actions",
345
+ "useCases": [
346
+ "stop assistant generation",
347
+ "cancel streaming reply",
348
+ "abort in-flight request",
349
+ "halt llm response"
350
+ ],
351
+ "keywords": [
352
+ "stop",
353
+ "cancel",
354
+ "abort",
355
+ "prompt",
356
+ "action",
357
+ "button",
358
+ "icon",
359
+ "streaming"
360
+ ],
361
+ "related": [
362
+ "CkPromptActionButton",
363
+ "CkPromptInput",
364
+ "CkInput"
365
+ ],
366
+ "props": [
367
+ "ariaLabel",
368
+ "disabled"
369
+ ],
370
+ "examples": [
371
+ "Default",
372
+ "Disabled"
373
+ ],
374
+ "_autoGenerated": true
375
+ },
376
+ "CkUserMessage": {
377
+ "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.",
378
+ "category": "Messages",
379
+ "useCases": [
380
+ "render user message bubble",
381
+ "conversation turn from user",
382
+ "chat input preview",
383
+ "right-aligned message"
384
+ ],
385
+ "keywords": [
386
+ "user",
387
+ "message",
388
+ "bubble",
389
+ "chat",
390
+ "conversation",
391
+ "turn"
392
+ ],
393
+ "related": [
394
+ "CkAgentMessage",
395
+ "CkConversation"
396
+ ],
397
+ "props": [
398
+ "message"
399
+ ],
400
+ "examples": [
401
+ "Default",
402
+ "LongMessage",
403
+ "MultilineMessage",
404
+ "WithSlotContent"
405
+ ],
406
+ "_autoGenerated": true
407
+ },
408
+ "CkConversation": {
409
+ "description": "High-level chat conversation: renders user and agent messages, Markdown for assistant replies, an avatar, copy-to-clipboard action, streaming viewport, and slots for overriding any part of the rendering. Use as the drop-in conversation surface for most chat-kit integrations.",
410
+ "category": "Messages",
411
+ "useCases": [
412
+ "complete chat conversation ui",
413
+ "streaming chat with markdown",
414
+ "assistant chat view",
415
+ "llm conversation component",
416
+ "drop-in chat surface"
417
+ ],
418
+ "keywords": [
419
+ "conversation",
420
+ "chat",
421
+ "messages",
422
+ "assistant",
423
+ "agent",
424
+ "user",
425
+ "markdown",
426
+ "streaming",
427
+ "avatar"
428
+ ],
429
+ "related": [
430
+ "CkConversationLayout",
431
+ "CkAgentMessage",
432
+ "CkUserMessage",
433
+ "CkMarkdownRenderer",
434
+ "CkCopyMessageActionButton",
435
+ "CkInput"
436
+ ],
437
+ "props": [
438
+ "messages",
439
+ "agentAvatarImage",
440
+ "agentAvatarFallback",
441
+ "agentLoadingImage",
442
+ "agentMarkdownClasses"
443
+ ],
444
+ "examples": [
445
+ "Default",
446
+ "WithIcon",
447
+ "WithCustomAvatarFallback",
448
+ "NoIcon",
449
+ "WithCustomIcon",
450
+ "WithFooterActions",
451
+ "WithCustomUserContent",
452
+ "WithCustomAgentContent",
453
+ "StreamingSimulation",
454
+ "WithCustomMarkdownClasses",
455
+ "WithCustomCodeBlock",
456
+ "Empty"
457
+ ],
458
+ "_autoGenerated": true
459
+ },
460
+ "CkHistory": {
461
+ "description": "Composed conversation history list. Renders each conversation as a real `<a href>` row so middle-click, cmd/ctrl-click, and right-click \"Copy link address\" all work natively. Plain left-clicks are intercepted via a RouterLink-style guard and exposed as a `select` event so consumers can call `router.push(...)` (or any other navigation primitive) themselves. Per-row \"Edit\" and \"Delete\" actions are rendered internally; consumers receive `edit` / `delete` events with the corresponding conversation. Use the `#item` scoped slot to fully replace the row rendering — for example to wrap each row in `<RouterLink>` for native vue-router integration. The slot scope exposes the resolved row data (`conversation`, `href`, `isActive`, `title`) plus `select` / `edit` / `delete` helpers that emit the same events as the default rendering.",
462
+ "category": "Messages",
463
+ "useCases": [
464
+ "conversation history list",
465
+ "recent chats sidebar entry",
466
+ "thread navigation",
467
+ "chat history pane"
468
+ ],
469
+ "keywords": [
470
+ "conversation",
471
+ "history",
472
+ "list",
473
+ "navigation",
474
+ "link",
475
+ "sidebar",
476
+ "threads",
477
+ "routerlink"
478
+ ],
479
+ "related": [
480
+ "CkHistoryWrapper",
481
+ "CkHistoryItem"
482
+ ],
483
+ "props": [
484
+ "conversations",
485
+ "hrefResolver",
486
+ "activeId",
487
+ "showAction",
488
+ "showActionOnHover"
489
+ ],
490
+ "examples": [
491
+ "Default",
492
+ "WithoutActions",
493
+ "RouterLinkIntegration",
494
+ "WithCustomItem"
495
+ ],
496
+ "_autoGenerated": true
497
+ },
498
+ "CkInput": {
499
+ "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.",
500
+ "category": "Form Inputs",
501
+ "useCases": [
502
+ "chat compose input",
503
+ "prompt box with send button",
504
+ "llm input with disclaimer",
505
+ "quick-start chat input",
506
+ "turnkey chat input"
507
+ ],
508
+ "keywords": [
509
+ "input",
510
+ "prompt",
511
+ "chat",
512
+ "send",
513
+ "compose",
514
+ "disclaimer",
515
+ "loading",
516
+ "v-model",
517
+ "textarea"
518
+ ],
519
+ "related": [
520
+ "CkPromptInput",
521
+ "CkPromptActionButton",
522
+ "CkPromptInputDisclaimer",
523
+ "CkConversation"
524
+ ],
525
+ "props": [
526
+ "modelValue",
527
+ "placeholder",
528
+ "disabled",
529
+ "loading",
530
+ "maxHeight",
531
+ "ariaLabel",
532
+ "stopAriaLabel",
533
+ "disclaimer"
534
+ ],
535
+ "examples": [
536
+ "Default",
537
+ "WithModeToggle",
538
+ "FullExample",
539
+ "Disabled",
540
+ "Loading",
541
+ "WithLongText",
542
+ "MobileWidth"
543
+ ],
544
+ "_autoGenerated": true
545
+ }
546
+ }
@@ -109,7 +109,7 @@
109
109
  "_autoGenerated": true
110
110
  },
111
111
  "UiBadge": {
112
- "description": "A small label for status, counts, or categories. Use for tags, notifications counts, status indicators, or labels.",
112
+ "description": "A small label for status, counts, or categories. Use for tags, notification counts, status indicators, or labels.",
113
113
  "category": "Feedback",
114
114
  "useCases": [
115
115
  "status label",
@@ -132,20 +132,27 @@
132
132
  ],
133
133
  "props": [
134
134
  "variant",
135
+ "size",
135
136
  "asChild",
136
137
  "startIcon",
137
- "endIcon"
138
+ "endIcon",
139
+ "disabled"
138
140
  ],
139
141
  "examples": [
140
142
  "Default",
141
143
  "Secondary",
142
- "Destructive",
143
144
  "Outline",
145
+ "Destructive",
146
+ "Success",
147
+ "Warning",
148
+ "Verified",
149
+ "Disabled",
144
150
  "WithStartIcon",
145
151
  "WithEndIcon",
146
152
  "WithBothIcons",
147
153
  "WithIconSlot",
148
- "Pill",
154
+ "Numbers",
155
+ "Sizes",
149
156
  "AllVariants"
150
157
  ],
151
158
  "_autoGenerated": true
@@ -169,7 +176,6 @@
169
176
  "interactive"
170
177
  ],
171
178
  "related": [
172
- "UiIconButton",
173
179
  "UiLink"
174
180
  ],
175
181
  "props": [
@@ -198,7 +204,9 @@
198
204
  "LoadingWithBothIcons",
199
205
  "WithIconSlot",
200
206
  "AsChild",
201
- "AllVariants"
207
+ "AllVariants",
208
+ "IconSizes",
209
+ "AllVariantsAndSizes"
202
210
  ],
203
211
  "_autoGenerated": true
204
212
  },
@@ -690,25 +698,13 @@
690
698
  "_autoGenerated": true
691
699
  },
692
700
  "UiIcon": {
693
- "description": "An icon component using Lucide icons. Use for visual indicators, button decorations, or standalone meaningful graphics.",
694
- "category": "Data Display",
695
- "useCases": [
696
- "visual indicator",
697
- "button icon",
698
- "status icon",
699
- "decorative graphic"
700
- ],
701
+ "description": "UiIcon component",
702
+ "category": "Uncategorized",
703
+ "useCases": [],
701
704
  "keywords": [
702
- "icon",
703
- "symbol",
704
- "graphic",
705
- "lucide",
706
- "svg"
707
- ],
708
- "related": [
709
- "UiIconButton",
710
- "UiButton"
705
+ "icon"
711
706
  ],
707
+ "related": [],
712
708
  "props": [
713
709
  "name",
714
710
  "size",
@@ -723,7 +719,7 @@
723
719
  "_autoGenerated": true
724
720
  },
725
721
  "UiIconButton": {
726
- "description": "A button that displays only an icon without text. Use for compact actions like close, edit, delete, or toolbar buttons.",
722
+ "description": "A button that displays only an icon without text. Use for compact actions like close, edit, delete, or toolbar buttons. It is being merged into `UiButton` — use `UiButton` with an icon-only child and an `aria-label` instead (e.g. `<UiButton size=\"icon-sm\" aria-label=\"Close\"><UiIcon name=\"x\" /></UiButton>`).",
727
723
  "category": "Actions",
728
724
  "useCases": [
729
725
  "close button",
@@ -769,14 +765,15 @@
769
765
  "_autoGenerated": true
770
766
  },
771
767
  "UiInput": {
772
- "description": "A text input field for single-line user input. Use for forms, search bars, and any text entry that fits on one line.",
768
+ "description": "A text input field for single-line user input. Use for forms, search bars, and any text entry that fits on one line. When `type=\"file\"`, the native `Choose File` button is hidden and replaced by a `UiButton` (with an upload icon) rendered inside the input. The selected file name (or count) is shown as the input value, and selected files are emitted via `update:files`.",
773
769
  "category": "Form Inputs",
774
770
  "useCases": [
775
771
  "text entry",
776
772
  "search field",
777
773
  "email input",
778
774
  "password field",
779
- "form field"
775
+ "form field",
776
+ "file upload"
780
777
  ],
781
778
  "keywords": [
782
779
  "input",
@@ -786,18 +783,25 @@
786
783
  "search",
787
784
  "email",
788
785
  "password",
789
- "textbox"
786
+ "textbox",
787
+ "file",
788
+ "upload"
790
789
  ],
791
790
  "related": [
792
791
  "UiTextarea",
793
792
  "UiSelect",
794
- "UiCheckbox"
793
+ "UiCheckbox",
794
+ "UiFileUploadBox"
795
795
  ],
796
796
  "props": [
797
797
  "name",
798
+ "type",
798
799
  "disabled",
799
800
  "placeholder",
800
- "required"
801
+ "required",
802
+ "accept",
803
+ "multiple",
804
+ "uploadButtonLabel"
801
805
  ],
802
806
  "examples": [
803
807
  "Default",
@@ -1191,6 +1195,8 @@
1191
1195
  "WithDisabledItems",
1192
1196
  "Disabled",
1193
1197
  "Sizes",
1198
+ "Multiple",
1199
+ "MultipleWithDefaultValue",
1194
1200
  "WithDefaultValue"
1195
1201
  ],
1196
1202
  "_autoGenerated": true