@kitnai/chat 0.6.0 → 0.8.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.
- package/README.md +9 -9
- package/dist/custom-elements.json +1676 -881
- package/dist/kitn-chat.es.js +36 -36
- package/dist/llms/llms-full.txt +316 -155
- package/dist/llms/llms.txt +18 -18
- package/dist/schemas/card-envelope.schema.json +14 -0
- package/dist/schemas/card-event.schema.json +12 -0
- package/dist/schemas/confirm.schema.json +65 -0
- package/dist/schemas/embed.schema.json +65 -0
- package/dist/schemas/form.result.schema.json +7 -0
- package/dist/schemas/form.schema.json +33 -0
- package/dist/schemas/link.schema.json +56 -0
- package/dist/schemas/task-list.result.schema.json +16 -0
- package/dist/schemas/task-list.schema.json +78 -0
- package/dist/theme.tokens.css +65 -65
- package/dist/tsx-B8rCNbgL.js +1 -0
- package/dist/typescript-RycA9KXf.js +1 -0
- package/frameworks/react/index.tsx +382 -193
- package/frameworks/react/runtime.tsx +2 -2
- package/llms-full.txt +316 -155
- package/llms.txt +18 -18
- package/package.json +5 -2
- package/src/components/artifact.stories.tsx +138 -0
- package/src/components/artifact.tsx +581 -0
- package/src/components/attachments.stories.tsx +7 -8
- package/src/components/attachments.tsx +2 -2
- package/src/components/card.tsx +110 -0
- package/src/components/chain-of-thought.stories.tsx +7 -8
- package/src/components/chat-container.stories.tsx +7 -8
- package/src/components/chat-container.tsx +4 -0
- package/src/components/checkpoint.stories.tsx +7 -8
- package/src/components/code-block.stories.tsx +8 -9
- package/src/components/component-meta.json +3411 -0
- package/src/components/confirm-card.stories.tsx +74 -0
- package/src/components/confirm-card.tsx +299 -0
- package/src/components/context.stories.tsx +7 -8
- package/src/components/conversation-item.stories.tsx +7 -8
- package/src/components/conversation-item.tsx +2 -2
- package/src/components/conversation-list.stories.tsx +7 -8
- package/src/components/conversation-list.tsx +1 -1
- package/src/components/embed.tsx +196 -0
- package/src/components/empty.stories.tsx +8 -9
- package/src/components/feedback-bar.stories.tsx +7 -8
- package/src/components/file-tree.stories.tsx +73 -0
- package/src/components/file-tree.tsx +383 -0
- package/src/components/file-upload.stories.tsx +7 -8
- package/src/components/form-widgets.tsx +461 -0
- package/src/components/form.tsx +796 -0
- package/src/components/image.stories.tsx +7 -8
- package/src/components/link-card.tsx +194 -0
- package/src/components/loader.stories.tsx +7 -8
- package/src/components/markdown.stories.tsx +7 -8
- package/src/components/message-narrow.stories.tsx +12 -13
- package/src/components/message-skills.stories.tsx +16 -17
- package/src/components/message.stories.tsx +17 -18
- package/src/components/model-switcher.stories.tsx +7 -8
- package/src/components/prompt-input.stories.tsx +8 -9
- package/src/components/prompt-suggestion.stories.tsx +7 -8
- package/src/components/prompt-suggestion.tsx +3 -3
- package/src/components/reasoning.stories.tsx +7 -8
- package/src/components/scroll-button.stories.tsx +7 -8
- package/src/components/slash-command.stories.tsx +8 -9
- package/src/components/slash-command.tsx +2 -2
- package/src/components/source.stories.tsx +7 -8
- package/src/components/source.tsx +1 -1
- package/src/components/task-list-card.stories.tsx +78 -0
- package/src/components/task-list-card.tsx +388 -0
- package/src/components/text-shimmer.stories.tsx +7 -8
- package/src/components/thinking-bar.stories.tsx +7 -8
- package/src/components/tool.stories.tsx +7 -8
- package/src/components/tool.tsx +2 -2
- package/src/components/voice-input.stories.tsx +7 -8
- package/src/elements/artifact.stories.tsx +291 -0
- package/src/elements/artifact.tsx +72 -0
- package/src/elements/{kitn-attachments.stories.tsx → attachments.stories.tsx} +11 -11
- package/src/elements/attachments.tsx +4 -4
- package/src/elements/card.stories.tsx +118 -0
- package/src/elements/card.tsx +40 -0
- package/src/elements/catalog.stories.tsx +491 -0
- package/src/elements/{kitn-chain-of-thought.stories.tsx → chain-of-thought.stories.tsx} +13 -13
- package/src/elements/chain-of-thought.tsx +3 -3
- package/src/elements/{kitn-chat-scope-picker.stories.tsx → chat-scope-picker.stories.tsx} +10 -10
- package/src/elements/chat-scope-picker.tsx +4 -4
- package/src/elements/{kitn-chat-workspace.stories.tsx → chat-workspace.stories.tsx} +71 -29
- package/src/elements/chat-workspace.tsx +29 -3
- package/src/elements/{kitn-chat.stories.tsx → chat.stories.tsx} +61 -16
- package/src/elements/chat.tsx +23 -2
- package/src/elements/{kitn-checkpoint.stories.tsx → checkpoint.stories.tsx} +11 -11
- package/src/elements/checkpoint.tsx +4 -4
- package/src/elements/{kitn-code-block.stories.tsx → code-block.stories.tsx} +10 -10
- package/src/elements/code-block.tsx +3 -3
- package/src/elements/compiled.css +1 -1
- package/src/elements/composed-shell.stories.tsx +316 -0
- package/src/elements/confirm-card.stories.tsx +186 -0
- package/src/elements/confirm-card.tsx +45 -0
- package/src/elements/{kitn-context-meter.stories.tsx → context-meter.stories.tsx} +10 -10
- package/src/elements/context-meter.tsx +3 -3
- package/src/elements/{kitn-conversation-list.stories.tsx → conversation-list.stories.tsx} +35 -22
- package/src/elements/conversation-list.tsx +11 -2
- package/src/elements/css.ts +1 -1
- package/src/elements/define.tsx +10 -10
- package/src/elements/element-meta.json +2649 -0
- package/src/elements/element-types.d.ts +251 -125
- package/src/elements/embed.stories.tsx +197 -0
- package/src/elements/embed.tsx +35 -0
- package/src/elements/{kitn-empty.stories.tsx → empty.stories.tsx} +12 -12
- package/src/elements/empty.tsx +3 -3
- package/src/elements/{kitn-feedback-bar.stories.tsx → feedback-bar.stories.tsx} +11 -11
- package/src/elements/feedback-bar.tsx +4 -4
- package/src/elements/file-tree.stories.tsx +133 -0
- package/src/elements/file-tree.tsx +52 -0
- package/src/elements/{kitn-file-upload.stories.tsx → file-upload.stories.tsx} +12 -12
- package/src/elements/file-upload.tsx +4 -4
- package/src/elements/form.stories.tsx +204 -0
- package/src/elements/form.tsx +37 -0
- package/src/elements/{kitn-image.stories.tsx → image.stories.tsx} +10 -10
- package/src/elements/image.tsx +3 -3
- package/src/elements/link-card.stories.tsx +193 -0
- package/src/elements/link-card.tsx +34 -0
- package/src/elements/{kitn-loader.stories.tsx → loader.stories.tsx} +11 -11
- package/src/elements/loader.tsx +3 -3
- package/src/elements/{kitn-markdown.stories.tsx → markdown.stories.tsx} +10 -10
- package/src/elements/markdown.tsx +3 -3
- package/src/elements/{kitn-message-skills.stories.tsx → message-skills.stories.tsx} +10 -10
- package/src/elements/message-skills.tsx +3 -3
- package/src/elements/{kitn-message.stories.tsx → message.stories.tsx} +12 -12
- package/src/elements/message.tsx +5 -5
- package/src/elements/{kitn-model-switcher.stories.tsx → model-switcher.stories.tsx} +10 -10
- package/src/elements/model-switcher.tsx +5 -5
- package/src/elements/{kitn-prompt-input.stories.tsx → prompt-input.stories.tsx} +41 -19
- package/src/elements/prompt-input.tsx +5 -5
- package/src/elements/{kitn-prompt-suggestions.stories.tsx → prompt-suggestions.stories.tsx} +13 -13
- package/src/elements/prompt-suggestions.tsx +4 -4
- package/src/elements/{kitn-reasoning.stories.tsx → reasoning.stories.tsx} +10 -10
- package/src/elements/reasoning.tsx +4 -4
- package/src/elements/register.ts +11 -1
- package/src/elements/resizable.stories.tsx +200 -0
- package/src/elements/resizable.tsx +264 -0
- package/src/elements/{kitn-response-stream.stories.tsx → response-stream.stories.tsx} +10 -10
- package/src/elements/response-stream.tsx +4 -4
- package/src/elements/{kitn-source-list.stories.tsx → source-list.stories.tsx} +11 -11
- package/src/elements/{kitn-source.stories.tsx → source.stories.tsx} +12 -12
- package/src/elements/source.tsx +5 -5
- package/src/elements/styles.css +140 -1
- package/src/elements/task-list-card.stories.tsx +194 -0
- package/src/elements/task-list-card.tsx +40 -0
- package/src/elements/{kitn-text-shimmer.stories.tsx → text-shimmer.stories.tsx} +10 -10
- package/src/elements/text-shimmer.tsx +3 -3
- package/src/elements/{kitn-thinking-bar.stories.tsx → thinking-bar.stories.tsx} +11 -11
- package/src/elements/thinking-bar.tsx +5 -5
- package/src/elements/{kitn-tool.stories.tsx → tool.stories.tsx} +10 -10
- package/src/elements/tool.tsx +3 -3
- package/src/elements/{kitn-voice-input.stories.tsx → voice-input.stories.tsx} +10 -10
- package/src/elements/voice-input.tsx +4 -4
- package/src/index.ts +94 -2
- package/src/primitives/card-contract.ts +60 -0
- package/src/primitives/card-host.tsx +35 -0
- package/src/primitives/card-routing.ts +79 -0
- package/src/primitives/card-schemas/card-envelope.schema.json +14 -0
- package/src/primitives/card-schemas/card-event.schema.json +12 -0
- package/src/primitives/card-schemas/confirm.schema.json +65 -0
- package/src/primitives/card-schemas/embed.schema.json +65 -0
- package/src/primitives/card-schemas/form.result.schema.json +7 -0
- package/src/primitives/card-schemas/form.schema.json +33 -0
- package/src/primitives/card-schemas/link.schema.json +56 -0
- package/src/primitives/card-schemas/task-list.result.schema.json +16 -0
- package/src/primitives/card-schemas/task-list.schema.json +78 -0
- package/src/primitives/card-validate.ts +95 -0
- package/src/primitives/embed-providers.ts +254 -0
- package/src/primitives/highlighter.ts +4 -0
- package/src/primitives/link-preview.ts +87 -0
- package/src/primitives/pdf-preview.ts +121 -0
- package/src/stories/chat-panel-layout.stories.tsx +2 -1
- package/src/stories/chat-scene.tsx +22 -21
- package/src/stories/checkpoint-restore.stories.tsx +10 -10
- package/src/stories/conversation-with-reasoning.stories.tsx +4 -4
- package/src/stories/conversation-with-sources.stories.tsx +7 -7
- package/src/stories/docs/Accessibility.mdx +2 -2
- package/src/stories/docs/ForAIAgents.mdx +3 -3
- package/src/stories/docs/GettingStarted.mdx +2 -2
- package/src/stories/docs/Installation.mdx +2 -2
- package/src/stories/docs/Integrations.mdx +29 -29
- package/src/stories/docs/Introduction.mdx +3 -3
- package/src/stories/docs/Theming.mdx +2 -2
- package/src/stories/docs/element-controls.ts +60 -0
- package/src/stories/docs/theme-editor/theme-editor.tsx +1 -0
- package/src/stories/examples/ChoosingComponents.mdx +94 -0
- package/src/stories/examples/sample-data.ts +79 -0
- package/src/stories/message-actions.stories.tsx +13 -13
- package/src/stories/pattern-centered-conversation.stories.tsx +3 -3
- package/src/stories/pattern-docked-widget.stories.tsx +1 -1
- package/src/stories/pattern-empty-state.stories.tsx +3 -3
- package/src/stories/prompt-input-variants.stories.tsx +13 -13
- package/src/stories/streaming-response.stories.tsx +3 -3
- package/src/stories/typography.stories.tsx +4 -4
- package/src/ui/avatar.stories.tsx +7 -8
- package/src/ui/badge.stories.tsx +7 -8
- package/src/ui/button.stories.tsx +8 -9
- package/src/ui/button.tsx +1 -0
- package/src/ui/collapsible.stories.tsx +6 -7
- package/src/ui/dropdown.stories.tsx +6 -7
- package/src/ui/hover-card.stories.tsx +6 -7
- package/src/ui/resizable.stories.tsx +74 -9
- package/src/ui/resizable.tsx +351 -71
- package/src/ui/scroll-area.stories.tsx +6 -7
- package/src/ui/scroll-area.tsx +3 -1
- package/src/ui/separator.stories.tsx +7 -8
- package/src/ui/skeleton.stories.tsx +7 -8
- package/src/ui/textarea.stories.tsx +6 -7
- package/src/ui/tooltip.stories.tsx +8 -9
- package/theme.css +65 -65
|
@@ -9,8 +9,144 @@
|
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"customElement": true,
|
|
12
|
-
"tagName": "
|
|
13
|
-
"name": "
|
|
12
|
+
"tagName": "kc-artifact",
|
|
13
|
+
"name": "KcArtifactElement",
|
|
14
|
+
"description": "",
|
|
15
|
+
"members": [
|
|
16
|
+
{
|
|
17
|
+
"kind": "field",
|
|
18
|
+
"name": "src",
|
|
19
|
+
"type": {
|
|
20
|
+
"text": "undefined | string"
|
|
21
|
+
},
|
|
22
|
+
"description": "URL the preview iframe frames. Consumer-controlled.",
|
|
23
|
+
"privacy": "public"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"kind": "field",
|
|
27
|
+
"name": "files",
|
|
28
|
+
"type": {
|
|
29
|
+
"text": "{ path: string; url?: undefined | string; code?: undefined | string; language?: undefined | string; type?: undefined | \"html\" | \"pdf\" | \"image\" | \"other\" }[]"
|
|
30
|
+
},
|
|
31
|
+
"description": "Files for the Code tab tree + each file's preview `url`. Set as a JS property (array).",
|
|
32
|
+
"privacy": "public"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"kind": "field",
|
|
36
|
+
"name": "tab",
|
|
37
|
+
"type": {
|
|
38
|
+
"text": "undefined | \"preview\" | \"code\""
|
|
39
|
+
},
|
|
40
|
+
"description": "Active tab: `preview` (default) or `code`.",
|
|
41
|
+
"privacy": "public"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"kind": "field",
|
|
45
|
+
"name": "activeFile",
|
|
46
|
+
"type": {
|
|
47
|
+
"text": "undefined | string"
|
|
48
|
+
},
|
|
49
|
+
"description": "Selected file path — syncs the tree highlight, Code source, and preview.",
|
|
50
|
+
"privacy": "public"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"kind": "field",
|
|
54
|
+
"name": "sandbox",
|
|
55
|
+
"type": {
|
|
56
|
+
"text": "undefined | string"
|
|
57
|
+
},
|
|
58
|
+
"description": "iframe `sandbox` override. Secure default `allow-scripts allow-forms` (NOT `allow-same-origin`).",
|
|
59
|
+
"privacy": "public"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"kind": "field",
|
|
63
|
+
"name": "iframeTitle",
|
|
64
|
+
"type": {
|
|
65
|
+
"text": "undefined | string"
|
|
66
|
+
},
|
|
67
|
+
"description": "Accessible title for the preview iframe.",
|
|
68
|
+
"privacy": "public"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"attributes": [
|
|
72
|
+
{
|
|
73
|
+
"name": "theme",
|
|
74
|
+
"type": {
|
|
75
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
76
|
+
},
|
|
77
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "src",
|
|
81
|
+
"fieldName": "src",
|
|
82
|
+
"type": {
|
|
83
|
+
"text": "undefined | string"
|
|
84
|
+
},
|
|
85
|
+
"description": "URL the preview iframe frames. Consumer-controlled."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "tab",
|
|
89
|
+
"fieldName": "tab",
|
|
90
|
+
"type": {
|
|
91
|
+
"text": "undefined | \"preview\" | \"code\""
|
|
92
|
+
},
|
|
93
|
+
"description": "Active tab: `preview` (default) or `code`."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "active-file",
|
|
97
|
+
"fieldName": "activeFile",
|
|
98
|
+
"type": {
|
|
99
|
+
"text": "undefined | string"
|
|
100
|
+
},
|
|
101
|
+
"description": "Selected file path — syncs the tree highlight, Code source, and preview."
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "sandbox",
|
|
105
|
+
"fieldName": "sandbox",
|
|
106
|
+
"type": {
|
|
107
|
+
"text": "undefined | string"
|
|
108
|
+
},
|
|
109
|
+
"description": "iframe `sandbox` override. Secure default `allow-scripts allow-forms` (NOT `allow-same-origin`)."
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "iframe-title",
|
|
113
|
+
"fieldName": "iframeTitle",
|
|
114
|
+
"type": {
|
|
115
|
+
"text": "undefined | string"
|
|
116
|
+
},
|
|
117
|
+
"description": "Accessible title for the preview iframe."
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"events": [
|
|
121
|
+
{
|
|
122
|
+
"name": "fileselect",
|
|
123
|
+
"type": {
|
|
124
|
+
"text": "CustomEvent<{ path: string }>"
|
|
125
|
+
},
|
|
126
|
+
"description": "Fired when a file is selected. `detail.path`."
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "navigate",
|
|
130
|
+
"type": {
|
|
131
|
+
"text": "CustomEvent<{ url: string }>"
|
|
132
|
+
},
|
|
133
|
+
"description": "Fired when the preview navigates. `detail.url` = the new location."
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "tabchange",
|
|
137
|
+
"type": {
|
|
138
|
+
"text": "CustomEvent<{ tab: \"preview\" | \"code\" }>"
|
|
139
|
+
},
|
|
140
|
+
"description": "Fired when the Preview|Code tab changes. `detail.tab`."
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"cssProperties": []
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"kind": "class",
|
|
147
|
+
"customElement": true,
|
|
148
|
+
"tagName": "kc-attachments",
|
|
149
|
+
"name": "KcAttachmentsElement",
|
|
14
150
|
"description": "",
|
|
15
151
|
"members": [
|
|
16
152
|
{
|
|
@@ -125,13 +261,102 @@
|
|
|
125
261
|
},
|
|
126
262
|
"description": "A remove button was clicked."
|
|
127
263
|
}
|
|
128
|
-
]
|
|
264
|
+
],
|
|
265
|
+
"cssProperties": []
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"kind": "class",
|
|
269
|
+
"customElement": true,
|
|
270
|
+
"tagName": "kc-card",
|
|
271
|
+
"name": "KcCardElement",
|
|
272
|
+
"description": "",
|
|
273
|
+
"members": [
|
|
274
|
+
{
|
|
275
|
+
"kind": "field",
|
|
276
|
+
"name": "heading",
|
|
277
|
+
"type": {
|
|
278
|
+
"text": "undefined | string"
|
|
279
|
+
},
|
|
280
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`.",
|
|
281
|
+
"privacy": "public"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"kind": "field",
|
|
285
|
+
"name": "description",
|
|
286
|
+
"type": {
|
|
287
|
+
"text": "undefined | string"
|
|
288
|
+
},
|
|
289
|
+
"description": "Supporting text under the heading. Attribute: `description`.",
|
|
290
|
+
"privacy": "public"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "field",
|
|
294
|
+
"name": "errorMessage",
|
|
295
|
+
"type": {
|
|
296
|
+
"text": "undefined | string"
|
|
297
|
+
},
|
|
298
|
+
"description": "When set, the card renders its inline error state instead of the body. Attribute: `error-message`.",
|
|
299
|
+
"privacy": "public"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"kind": "field",
|
|
303
|
+
"name": "dense",
|
|
304
|
+
"type": {
|
|
305
|
+
"text": "undefined | false | true"
|
|
306
|
+
},
|
|
307
|
+
"description": "Compact spacing for dense lists. Attribute: `dense`.",
|
|
308
|
+
"privacy": "public"
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"attributes": [
|
|
312
|
+
{
|
|
313
|
+
"name": "theme",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
316
|
+
},
|
|
317
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "heading",
|
|
321
|
+
"fieldName": "heading",
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "undefined | string"
|
|
324
|
+
},
|
|
325
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`."
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "description",
|
|
329
|
+
"fieldName": "description",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "undefined | string"
|
|
332
|
+
},
|
|
333
|
+
"description": "Supporting text under the heading. Attribute: `description`."
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "error-message",
|
|
337
|
+
"fieldName": "errorMessage",
|
|
338
|
+
"type": {
|
|
339
|
+
"text": "undefined | string"
|
|
340
|
+
},
|
|
341
|
+
"description": "When set, the card renders its inline error state instead of the body. Attribute: `error-message`."
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "dense",
|
|
345
|
+
"fieldName": "dense",
|
|
346
|
+
"type": {
|
|
347
|
+
"text": "undefined | false | true"
|
|
348
|
+
},
|
|
349
|
+
"description": "Compact spacing for dense lists. Attribute: `dense`."
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
"events": [],
|
|
353
|
+
"cssProperties": []
|
|
129
354
|
},
|
|
130
355
|
{
|
|
131
356
|
"kind": "class",
|
|
132
357
|
"customElement": true,
|
|
133
|
-
"tagName": "
|
|
134
|
-
"name": "
|
|
358
|
+
"tagName": "kc-chain-of-thought",
|
|
359
|
+
"name": "KcChainOfThoughtElement",
|
|
135
360
|
"description": "",
|
|
136
361
|
"members": [
|
|
137
362
|
{
|
|
@@ -153,13 +378,14 @@
|
|
|
153
378
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
154
379
|
}
|
|
155
380
|
],
|
|
156
|
-
"events": []
|
|
381
|
+
"events": [],
|
|
382
|
+
"cssProperties": []
|
|
157
383
|
},
|
|
158
384
|
{
|
|
159
385
|
"kind": "class",
|
|
160
386
|
"customElement": true,
|
|
161
|
-
"tagName": "
|
|
162
|
-
"name": "
|
|
387
|
+
"tagName": "kc-chat",
|
|
388
|
+
"name": "KcChatElement",
|
|
163
389
|
"description": "",
|
|
164
390
|
"members": [
|
|
165
391
|
{
|
|
@@ -451,93 +677,103 @@
|
|
|
451
677
|
{
|
|
452
678
|
"name": "messageaction",
|
|
453
679
|
"type": {
|
|
454
|
-
"text": "CustomEvent<
|
|
680
|
+
"text": "CustomEvent<{ messageId: string; action: \"copy\" | \"like\" | \"dislike\" | \"regenerate\" | \"edit\" }>"
|
|
455
681
|
},
|
|
456
|
-
"description": ""
|
|
682
|
+
"description": "An action button on a message was clicked."
|
|
457
683
|
},
|
|
458
684
|
{
|
|
459
685
|
"name": "modelchange",
|
|
460
686
|
"type": {
|
|
461
|
-
"text": "CustomEvent<
|
|
687
|
+
"text": "CustomEvent<{ modelId: string }>"
|
|
462
688
|
},
|
|
463
|
-
"description": ""
|
|
689
|
+
"description": "The header model switcher changed."
|
|
464
690
|
},
|
|
465
691
|
{
|
|
466
692
|
"name": "search",
|
|
467
693
|
"type": {
|
|
468
|
-
"text": "CustomEvent<
|
|
694
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
469
695
|
},
|
|
470
|
-
"description": ""
|
|
696
|
+
"description": "The Search button was clicked."
|
|
471
697
|
},
|
|
472
698
|
{
|
|
473
699
|
"name": "slashselect",
|
|
474
700
|
"type": {
|
|
475
|
-
"text": "CustomEvent<
|
|
701
|
+
"text": "CustomEvent<{ command: { id: string; label: string; description?: undefined | string; category?: undefined | string } }>"
|
|
476
702
|
},
|
|
477
|
-
"description": ""
|
|
703
|
+
"description": "A slash command was chosen from the palette."
|
|
478
704
|
},
|
|
479
705
|
{
|
|
480
706
|
"name": "submit",
|
|
481
707
|
"type": {
|
|
482
|
-
"text": "CustomEvent<
|
|
708
|
+
"text": "CustomEvent<{ value: string; attachments: { id: string; type: \"file\" | \"source-document\"; filename?: undefined | string; mediaType?: undefined | string; url?: undefined | string; title?: undefined | string }[] }>"
|
|
483
709
|
},
|
|
484
|
-
"description": ""
|
|
710
|
+
"description": "User submitted a message."
|
|
485
711
|
},
|
|
486
712
|
{
|
|
487
713
|
"name": "suggestionclick",
|
|
488
714
|
"type": {
|
|
489
|
-
"text": "CustomEvent<
|
|
715
|
+
"text": "CustomEvent<{ value: string }>"
|
|
490
716
|
},
|
|
491
|
-
"description": ""
|
|
717
|
+
"description": "A suggestion chip was clicked (only in `suggestion-mode=\"fill\"`)."
|
|
492
718
|
},
|
|
493
719
|
{
|
|
494
720
|
"name": "valuechange",
|
|
495
721
|
"type": {
|
|
496
|
-
"text": "CustomEvent<
|
|
722
|
+
"text": "CustomEvent<{ value: string }>"
|
|
497
723
|
},
|
|
498
|
-
"description": ""
|
|
724
|
+
"description": "Fired on every input change."
|
|
499
725
|
},
|
|
500
726
|
{
|
|
501
727
|
"name": "voice",
|
|
502
728
|
"type": {
|
|
503
|
-
"text": "CustomEvent<
|
|
729
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
504
730
|
},
|
|
505
|
-
"description": ""
|
|
731
|
+
"description": "The Mic / voice button was clicked."
|
|
506
732
|
}
|
|
507
|
-
]
|
|
733
|
+
],
|
|
734
|
+
"cssProperties": []
|
|
508
735
|
},
|
|
509
736
|
{
|
|
510
737
|
"kind": "class",
|
|
511
738
|
"customElement": true,
|
|
512
|
-
"tagName": "
|
|
513
|
-
"name": "
|
|
739
|
+
"tagName": "kc-checkpoint",
|
|
740
|
+
"name": "KcCheckpointElement",
|
|
514
741
|
"description": "",
|
|
515
742
|
"members": [
|
|
516
743
|
{
|
|
517
744
|
"kind": "field",
|
|
518
|
-
"name": "
|
|
745
|
+
"name": "label",
|
|
519
746
|
"type": {
|
|
520
|
-
"text": "string
|
|
747
|
+
"text": "undefined | string"
|
|
521
748
|
},
|
|
522
|
-
"description": "
|
|
749
|
+
"description": "Optional text beside the icon.",
|
|
523
750
|
"privacy": "public"
|
|
524
751
|
},
|
|
525
752
|
{
|
|
526
753
|
"kind": "field",
|
|
527
|
-
"name": "
|
|
754
|
+
"name": "tooltip",
|
|
528
755
|
"type": {
|
|
529
|
-
"text": "string
|
|
756
|
+
"text": "undefined | string"
|
|
530
757
|
},
|
|
531
|
-
"description": "
|
|
758
|
+
"description": "Tooltip on hover.",
|
|
532
759
|
"privacy": "public"
|
|
533
760
|
},
|
|
534
761
|
{
|
|
535
762
|
"kind": "field",
|
|
536
|
-
"name": "
|
|
763
|
+
"name": "variant",
|
|
537
764
|
"type": {
|
|
538
|
-
"text": "undefined |
|
|
765
|
+
"text": "undefined | \"ghost\" | \"default\" | \"outline\""
|
|
539
766
|
},
|
|
540
|
-
"description": "
|
|
767
|
+
"description": "Visual button style.",
|
|
768
|
+
"privacy": "public"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"kind": "field",
|
|
772
|
+
"name": "size",
|
|
773
|
+
"type": {
|
|
774
|
+
"text": "undefined | \"sm\" | \"lg\" | \"md\" | \"icon\" | \"icon-sm\""
|
|
775
|
+
},
|
|
776
|
+
"description": "Button size (use an `icon*` size for an icon-only checkpoint).",
|
|
541
777
|
"privacy": "public"
|
|
542
778
|
}
|
|
543
779
|
],
|
|
@@ -550,263 +786,299 @@
|
|
|
550
786
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
551
787
|
},
|
|
552
788
|
{
|
|
553
|
-
"name": "
|
|
554
|
-
"fieldName": "
|
|
789
|
+
"name": "label",
|
|
790
|
+
"fieldName": "label",
|
|
555
791
|
"type": {
|
|
556
792
|
"text": "undefined | string"
|
|
557
793
|
},
|
|
558
|
-
"description": "
|
|
794
|
+
"description": "Optional text beside the icon."
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "tooltip",
|
|
798
|
+
"fieldName": "tooltip",
|
|
799
|
+
"type": {
|
|
800
|
+
"text": "undefined | string"
|
|
801
|
+
},
|
|
802
|
+
"description": "Tooltip on hover."
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"name": "variant",
|
|
806
|
+
"fieldName": "variant",
|
|
807
|
+
"type": {
|
|
808
|
+
"text": "undefined | \"ghost\" | \"default\" | \"outline\""
|
|
809
|
+
},
|
|
810
|
+
"description": "Visual button style."
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"name": "size",
|
|
814
|
+
"fieldName": "size",
|
|
815
|
+
"type": {
|
|
816
|
+
"text": "undefined | \"sm\" | \"lg\" | \"md\" | \"icon\" | \"icon-sm\""
|
|
817
|
+
},
|
|
818
|
+
"description": "Button size (use an `icon*` size for an icon-only checkpoint)."
|
|
559
819
|
}
|
|
560
820
|
],
|
|
561
821
|
"events": [
|
|
562
822
|
{
|
|
563
|
-
"name": "
|
|
823
|
+
"name": "select",
|
|
564
824
|
"type": {
|
|
565
|
-
"text": "CustomEvent
|
|
825
|
+
"text": "CustomEvent"
|
|
566
826
|
},
|
|
567
|
-
"description": "
|
|
827
|
+
"description": "The checkpoint was clicked."
|
|
568
828
|
}
|
|
569
|
-
]
|
|
829
|
+
],
|
|
830
|
+
"cssProperties": []
|
|
570
831
|
},
|
|
571
832
|
{
|
|
572
833
|
"kind": "class",
|
|
573
834
|
"customElement": true,
|
|
574
|
-
"tagName": "
|
|
575
|
-
"name": "
|
|
835
|
+
"tagName": "kc-code-block",
|
|
836
|
+
"name": "KcCodeBlockElement",
|
|
576
837
|
"description": "",
|
|
577
838
|
"members": [
|
|
578
839
|
{
|
|
579
840
|
"kind": "field",
|
|
580
|
-
"name": "
|
|
841
|
+
"name": "code",
|
|
581
842
|
"type": {
|
|
582
|
-
"text": "
|
|
583
|
-
},
|
|
584
|
-
"description": "Pre-bucketed conversation groups for the sidebar. Set as a JS property.",
|
|
585
|
-
"privacy": "public"
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
"kind": "field",
|
|
589
|
-
"name": "conversations",
|
|
590
|
-
"type": {
|
|
591
|
-
"text": "{ id: string; title: string; groupId?: undefined | string; scope: { type: \"document\" | \"collection\"; documentId?: undefined | string; filters?: undefined | { tags?: undefined | string[]; authors?: undefined | string[]; contentType?: undefined | \"transcript\" | \"markdown\"; dateRange?: undefined | { from: string; to: string } } }; messageCount: number; lastMessageAt: string; updatedAt: string }[]"
|
|
843
|
+
"text": "string"
|
|
592
844
|
},
|
|
593
|
-
"description": "
|
|
845
|
+
"description": "The source code to render.",
|
|
594
846
|
"privacy": "public"
|
|
595
847
|
},
|
|
596
848
|
{
|
|
597
849
|
"kind": "field",
|
|
598
|
-
"name": "
|
|
850
|
+
"name": "language",
|
|
599
851
|
"type": {
|
|
600
852
|
"text": "undefined | string"
|
|
601
853
|
},
|
|
602
|
-
"description": "
|
|
603
|
-
"privacy": "public"
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
"kind": "field",
|
|
607
|
-
"name": "messages",
|
|
608
|
-
"type": {
|
|
609
|
-
"text": "{ id: string; role: \"user\" | \"assistant\"; content: string; reasoning?: undefined | { text: string; label?: undefined | string }; tools?: undefined | { type: string; state: \"input-streaming\" | \"input-available\" | \"output-available\" | \"output-error\"; input?: undefined | Record<string, unknown>; output?: undefined | Record<string, unknown>; toolCallId?: undefined | string; errorText?: undefined | string }[]; attachments?: undefined | { id: string; type: \"file\" | \"source-document\"; filename?: undefined | string; mediaType?: undefined | string; url?: undefined | string; title?: undefined | string }[]; actions?: undefined | (\"copy\" | \"like\" | \"dislike\" | \"regenerate\" | \"edit\")[] }[]"
|
|
610
|
-
},
|
|
611
|
-
"description": "The active conversation's message thread, newest last. Set as a JS property.",
|
|
854
|
+
"description": "Language grammar (e.g. `js`, `python`). Defaults to `tsx`.",
|
|
612
855
|
"privacy": "public"
|
|
613
856
|
},
|
|
614
857
|
{
|
|
615
858
|
"kind": "field",
|
|
616
|
-
"name": "
|
|
859
|
+
"name": "codeTheme",
|
|
617
860
|
"type": {
|
|
618
861
|
"text": "undefined | string"
|
|
619
862
|
},
|
|
620
|
-
"description": "",
|
|
863
|
+
"description": "Shiki theme name.",
|
|
621
864
|
"privacy": "public"
|
|
622
865
|
},
|
|
623
866
|
{
|
|
624
867
|
"kind": "field",
|
|
625
|
-
"name": "
|
|
868
|
+
"name": "codeHighlight",
|
|
626
869
|
"type": {
|
|
627
|
-
"text": "undefined |
|
|
870
|
+
"text": "undefined | false | true"
|
|
628
871
|
},
|
|
629
|
-
"description": "",
|
|
872
|
+
"description": "Disable syntax highlighting (renders plain text, no Shiki).",
|
|
630
873
|
"privacy": "public"
|
|
631
874
|
},
|
|
632
875
|
{
|
|
633
876
|
"kind": "field",
|
|
634
|
-
"name": "
|
|
877
|
+
"name": "proseSize",
|
|
635
878
|
"type": {
|
|
636
|
-
"text": "undefined |
|
|
879
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
637
880
|
},
|
|
638
|
-
"description": "",
|
|
881
|
+
"description": "Code text sizing.",
|
|
639
882
|
"privacy": "public"
|
|
640
|
-
}
|
|
883
|
+
}
|
|
884
|
+
],
|
|
885
|
+
"attributes": [
|
|
641
886
|
{
|
|
642
|
-
"
|
|
643
|
-
"name": "suggestions",
|
|
887
|
+
"name": "theme",
|
|
644
888
|
"type": {
|
|
645
|
-
"text": "
|
|
889
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
646
890
|
},
|
|
647
|
-
"description": ""
|
|
648
|
-
"privacy": "public"
|
|
891
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
649
892
|
},
|
|
650
893
|
{
|
|
651
|
-
"
|
|
652
|
-
"
|
|
894
|
+
"name": "code",
|
|
895
|
+
"fieldName": "code",
|
|
653
896
|
"type": {
|
|
654
|
-
"text": "
|
|
897
|
+
"text": "string"
|
|
655
898
|
},
|
|
656
|
-
"description": ""
|
|
657
|
-
"privacy": "public"
|
|
899
|
+
"description": "The source code to render."
|
|
658
900
|
},
|
|
659
901
|
{
|
|
660
|
-
"
|
|
661
|
-
"
|
|
902
|
+
"name": "language",
|
|
903
|
+
"fieldName": "language",
|
|
662
904
|
"type": {
|
|
663
|
-
"text": "undefined |
|
|
905
|
+
"text": "undefined | string"
|
|
664
906
|
},
|
|
665
|
-
"description": ""
|
|
666
|
-
"privacy": "public"
|
|
907
|
+
"description": "Language grammar (e.g. `js`, `python`). Defaults to `tsx`."
|
|
667
908
|
},
|
|
668
909
|
{
|
|
669
|
-
"
|
|
670
|
-
"
|
|
910
|
+
"name": "code-theme",
|
|
911
|
+
"fieldName": "codeTheme",
|
|
671
912
|
"type": {
|
|
672
913
|
"text": "undefined | string"
|
|
673
914
|
},
|
|
674
|
-
"description": ""
|
|
675
|
-
"privacy": "public"
|
|
915
|
+
"description": "Shiki theme name."
|
|
676
916
|
},
|
|
677
917
|
{
|
|
678
|
-
"
|
|
679
|
-
"
|
|
918
|
+
"name": "code-highlight",
|
|
919
|
+
"fieldName": "codeHighlight",
|
|
680
920
|
"type": {
|
|
681
921
|
"text": "undefined | false | true"
|
|
682
922
|
},
|
|
683
|
-
"description": ""
|
|
684
|
-
"privacy": "public"
|
|
923
|
+
"description": "Disable syntax highlighting (renders plain text, no Shiki)."
|
|
685
924
|
},
|
|
686
925
|
{
|
|
687
|
-
"
|
|
688
|
-
"
|
|
926
|
+
"name": "prose-size",
|
|
927
|
+
"fieldName": "proseSize",
|
|
689
928
|
"type": {
|
|
690
|
-
"text": "undefined |
|
|
929
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
691
930
|
},
|
|
692
|
-
"description": ""
|
|
693
|
-
|
|
694
|
-
|
|
931
|
+
"description": "Code text sizing."
|
|
932
|
+
}
|
|
933
|
+
],
|
|
934
|
+
"events": [],
|
|
935
|
+
"cssProperties": [
|
|
936
|
+
{
|
|
937
|
+
"name": "--color-code-foreground"
|
|
938
|
+
}
|
|
939
|
+
]
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"kind": "class",
|
|
943
|
+
"customElement": true,
|
|
944
|
+
"tagName": "kc-confirm",
|
|
945
|
+
"name": "KcConfirmElement",
|
|
946
|
+
"description": "",
|
|
947
|
+
"members": [
|
|
695
948
|
{
|
|
696
949
|
"kind": "field",
|
|
697
|
-
"name": "
|
|
950
|
+
"name": "data",
|
|
698
951
|
"type": {
|
|
699
|
-
"text": "undefined |
|
|
952
|
+
"text": "undefined | Record<string, unknown>"
|
|
700
953
|
},
|
|
701
|
-
"description": "",
|
|
954
|
+
"description": "The confirm definition (the CardEnvelope.data). Set as a JS PROPERTY: `el.data = { body, tone, actions:[…] }`. Import `ConfirmCardData` from `@kitnai/chat` for the full shape.",
|
|
702
955
|
"privacy": "public"
|
|
703
956
|
},
|
|
704
957
|
{
|
|
705
958
|
"kind": "field",
|
|
706
|
-
"name": "
|
|
959
|
+
"name": "cardId",
|
|
707
960
|
"type": {
|
|
708
961
|
"text": "undefined | string"
|
|
709
962
|
},
|
|
710
|
-
"description": "",
|
|
963
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`.",
|
|
711
964
|
"privacy": "public"
|
|
712
965
|
},
|
|
713
966
|
{
|
|
714
967
|
"kind": "field",
|
|
715
|
-
"name": "
|
|
968
|
+
"name": "heading",
|
|
716
969
|
"type": {
|
|
717
|
-
"text": "undefined |
|
|
970
|
+
"text": "undefined | string"
|
|
718
971
|
},
|
|
719
|
-
"description": "",
|
|
972
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`.",
|
|
720
973
|
"privacy": "public"
|
|
721
974
|
},
|
|
722
975
|
{
|
|
723
976
|
"kind": "field",
|
|
724
|
-
"name": "
|
|
977
|
+
"name": "autofocus",
|
|
725
978
|
"type": {
|
|
726
979
|
"text": "undefined | false | true"
|
|
727
980
|
},
|
|
728
|
-
"description": "",
|
|
981
|
+
"description": "Focus the default action on mount (off by default — no focus-stealing). Attribute: `autofocus`.",
|
|
729
982
|
"privacy": "public"
|
|
730
|
-
}
|
|
983
|
+
}
|
|
984
|
+
],
|
|
985
|
+
"attributes": [
|
|
731
986
|
{
|
|
732
|
-
"
|
|
733
|
-
"name": "search",
|
|
987
|
+
"name": "theme",
|
|
734
988
|
"type": {
|
|
735
|
-
"text": "
|
|
989
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
736
990
|
},
|
|
737
|
-
"description": ""
|
|
738
|
-
"privacy": "public"
|
|
991
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
739
992
|
},
|
|
740
993
|
{
|
|
741
|
-
"
|
|
742
|
-
"
|
|
994
|
+
"name": "card-id",
|
|
995
|
+
"fieldName": "cardId",
|
|
743
996
|
"type": {
|
|
744
|
-
"text": "undefined |
|
|
997
|
+
"text": "undefined | string"
|
|
745
998
|
},
|
|
746
|
-
"description": ""
|
|
747
|
-
"privacy": "public"
|
|
999
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`."
|
|
748
1000
|
},
|
|
749
1001
|
{
|
|
750
|
-
"
|
|
751
|
-
"
|
|
1002
|
+
"name": "heading",
|
|
1003
|
+
"fieldName": "heading",
|
|
752
1004
|
"type": {
|
|
753
|
-
"text": "undefined |
|
|
1005
|
+
"text": "undefined | string"
|
|
754
1006
|
},
|
|
755
|
-
"description": ""
|
|
756
|
-
"privacy": "public"
|
|
1007
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`."
|
|
757
1008
|
},
|
|
758
1009
|
{
|
|
759
|
-
"
|
|
760
|
-
"
|
|
1010
|
+
"name": "autofocus",
|
|
1011
|
+
"fieldName": "autofocus",
|
|
761
1012
|
"type": {
|
|
762
|
-
"text": "undefined |
|
|
1013
|
+
"text": "undefined | false | true"
|
|
763
1014
|
},
|
|
764
|
-
"description": ""
|
|
765
|
-
|
|
766
|
-
|
|
1015
|
+
"description": "Focus the default action on mount (off by default — no focus-stealing). Attribute: `autofocus`."
|
|
1016
|
+
}
|
|
1017
|
+
],
|
|
1018
|
+
"events": [],
|
|
1019
|
+
"cssProperties": []
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"kind": "class",
|
|
1023
|
+
"customElement": true,
|
|
1024
|
+
"tagName": "kc-context",
|
|
1025
|
+
"name": "KcContextElement",
|
|
1026
|
+
"description": "",
|
|
1027
|
+
"members": [
|
|
767
1028
|
{
|
|
768
1029
|
"kind": "field",
|
|
769
|
-
"name": "
|
|
1030
|
+
"name": "context",
|
|
770
1031
|
"type": {
|
|
771
|
-
"text": "undefined |
|
|
1032
|
+
"text": "undefined | { usedTokens: number; maxTokens: number; inputTokens?: undefined | number; outputTokens?: undefined | number; reasoningTokens?: undefined | number; cacheTokens?: undefined | number; estimatedCost?: undefined | number }"
|
|
772
1033
|
},
|
|
773
|
-
"description": "",
|
|
1034
|
+
"description": "Token-usage data. Set as a JS property.",
|
|
774
1035
|
"privacy": "public"
|
|
775
|
-
}
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"attributes": [
|
|
776
1039
|
{
|
|
777
|
-
"
|
|
778
|
-
"name": "sidebarWidth",
|
|
1040
|
+
"name": "theme",
|
|
779
1041
|
"type": {
|
|
780
|
-
"text": "
|
|
1042
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
781
1043
|
},
|
|
782
|
-
"description": "
|
|
783
|
-
|
|
784
|
-
|
|
1044
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1045
|
+
}
|
|
1046
|
+
],
|
|
1047
|
+
"events": [],
|
|
1048
|
+
"cssProperties": []
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"kind": "class",
|
|
1052
|
+
"customElement": true,
|
|
1053
|
+
"tagName": "kc-conversations",
|
|
1054
|
+
"name": "KcConversationsElement",
|
|
1055
|
+
"description": "",
|
|
1056
|
+
"members": [
|
|
785
1057
|
{
|
|
786
1058
|
"kind": "field",
|
|
787
|
-
"name": "
|
|
1059
|
+
"name": "groups",
|
|
788
1060
|
"type": {
|
|
789
|
-
"text": "undefined | number"
|
|
1061
|
+
"text": "{ id: string; userId?: undefined | string; teamId?: undefined | string; name: string; sortOrder: number; createdAt: string }[]"
|
|
790
1062
|
},
|
|
791
|
-
"description": "
|
|
1063
|
+
"description": "Pre-bucketed conversation groups (e.g. \"Today\", \"Yesterday\"), each with its own conversations. Use this when you want to control the grouping/headers yourself; otherwise pass a flat `conversations` array. Set as a JS property.",
|
|
792
1064
|
"privacy": "public"
|
|
793
1065
|
},
|
|
794
1066
|
{
|
|
795
1067
|
"kind": "field",
|
|
796
|
-
"name": "
|
|
1068
|
+
"name": "conversations",
|
|
797
1069
|
"type": {
|
|
798
|
-
"text": "undefined | number"
|
|
1070
|
+
"text": "{ id: string; title: string; groupId?: undefined | string; scope: { type: \"document\" | \"collection\"; documentId?: undefined | string; filters?: undefined | { tags?: undefined | string[]; authors?: undefined | string[]; contentType?: undefined | \"transcript\" | \"markdown\"; dateRange?: undefined | { from: string; to: string } } }; messageCount: number; lastMessageAt: string; updatedAt: string }[]"
|
|
799
1071
|
},
|
|
800
|
-
"description": "
|
|
1072
|
+
"description": "A flat list of conversation summaries; the component buckets them by recency for you. Ignored when `groups` is provided. Set as a JS property.",
|
|
801
1073
|
"privacy": "public"
|
|
802
1074
|
},
|
|
803
1075
|
{
|
|
804
1076
|
"kind": "field",
|
|
805
|
-
"name": "
|
|
1077
|
+
"name": "activeId",
|
|
806
1078
|
"type": {
|
|
807
|
-
"text": "undefined |
|
|
1079
|
+
"text": "undefined | string"
|
|
808
1080
|
},
|
|
809
|
-
"description": "
|
|
1081
|
+
"description": "The id of the currently-open conversation, highlighted in the list.",
|
|
810
1082
|
"privacy": "public"
|
|
811
1083
|
}
|
|
812
1084
|
],
|
|
@@ -824,266 +1096,304 @@
|
|
|
824
1096
|
"type": {
|
|
825
1097
|
"text": "undefined | string"
|
|
826
1098
|
},
|
|
827
|
-
"description": "
|
|
828
|
-
}
|
|
1099
|
+
"description": "The id of the currently-open conversation, highlighted in the list."
|
|
1100
|
+
}
|
|
1101
|
+
],
|
|
1102
|
+
"events": [
|
|
829
1103
|
{
|
|
830
|
-
"name": "
|
|
831
|
-
"fieldName": "value",
|
|
1104
|
+
"name": "newchat",
|
|
832
1105
|
"type": {
|
|
833
|
-
"text": "
|
|
1106
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
834
1107
|
},
|
|
835
|
-
"description": ""
|
|
1108
|
+
"description": "The \"New chat\" button was clicked."
|
|
836
1109
|
},
|
|
837
1110
|
{
|
|
838
|
-
"name": "
|
|
839
|
-
"fieldName": "placeholder",
|
|
1111
|
+
"name": "select",
|
|
840
1112
|
"type": {
|
|
841
|
-
"text": "
|
|
1113
|
+
"text": "CustomEvent<{ id: string }>"
|
|
842
1114
|
},
|
|
843
|
-
"description": ""
|
|
1115
|
+
"description": "A conversation was selected."
|
|
844
1116
|
},
|
|
845
1117
|
{
|
|
846
|
-
"name": "
|
|
847
|
-
"fieldName": "loading",
|
|
1118
|
+
"name": "togglesidebar",
|
|
848
1119
|
"type": {
|
|
849
|
-
"text": "
|
|
1120
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
850
1121
|
},
|
|
851
|
-
"description": ""
|
|
852
|
-
}
|
|
1122
|
+
"description": "The sidebar toggle was clicked."
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"cssProperties": [
|
|
853
1126
|
{
|
|
854
|
-
"name": "
|
|
855
|
-
"fieldName": "suggestionMode",
|
|
856
|
-
"type": {
|
|
857
|
-
"text": "undefined | \"submit\" | \"fill\""
|
|
858
|
-
},
|
|
859
|
-
"description": ""
|
|
1127
|
+
"name": "--color-sidebar"
|
|
860
1128
|
},
|
|
861
1129
|
{
|
|
862
|
-
"name": "
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1130
|
+
"name": "--color-scrollbar-thumb"
|
|
1131
|
+
}
|
|
1132
|
+
]
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"kind": "class",
|
|
1136
|
+
"customElement": true,
|
|
1137
|
+
"tagName": "kc-embed",
|
|
1138
|
+
"name": "KcEmbedElement",
|
|
1139
|
+
"description": "",
|
|
1140
|
+
"members": [
|
|
869
1141
|
{
|
|
870
|
-
"
|
|
871
|
-
"
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "cardId",
|
|
872
1144
|
"type": {
|
|
873
1145
|
"text": "undefined | string"
|
|
874
1146
|
},
|
|
875
|
-
"description": ""
|
|
1147
|
+
"description": "Stable card id correlating every emitted event. Set as an attribute or property.",
|
|
1148
|
+
"privacy": "public"
|
|
876
1149
|
},
|
|
877
1150
|
{
|
|
878
|
-
"
|
|
879
|
-
"
|
|
1151
|
+
"kind": "field",
|
|
1152
|
+
"name": "data",
|
|
880
1153
|
"type": {
|
|
881
|
-
"text": "undefined |
|
|
1154
|
+
"text": "undefined | { provider: \"youtube\" | \"vimeo\" | \"generic\"; id?: undefined | string; url?: undefined | string; title?: undefined | string; poster?: undefined | string; start?: undefined | number; aspectRatio?: undefined | \"16:9\" | \"4:3\" | \"1:1\" | \"9:16\" }"
|
|
882
1155
|
},
|
|
883
|
-
"description": ""
|
|
884
|
-
|
|
1156
|
+
"description": "The embed payload (provider + id/url + options). Set as a JS **property** (object).",
|
|
1157
|
+
"privacy": "public"
|
|
1158
|
+
}
|
|
1159
|
+
],
|
|
1160
|
+
"attributes": [
|
|
885
1161
|
{
|
|
886
|
-
"name": "
|
|
887
|
-
"fieldName": "chatTitle",
|
|
1162
|
+
"name": "theme",
|
|
888
1163
|
"type": {
|
|
889
|
-
"text": "
|
|
1164
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
890
1165
|
},
|
|
891
|
-
"description": ""
|
|
1166
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
892
1167
|
},
|
|
893
1168
|
{
|
|
894
|
-
"name": "
|
|
895
|
-
"fieldName": "
|
|
1169
|
+
"name": "card-id",
|
|
1170
|
+
"fieldName": "cardId",
|
|
896
1171
|
"type": {
|
|
897
1172
|
"text": "undefined | string"
|
|
898
1173
|
},
|
|
899
|
-
"description": ""
|
|
900
|
-
}
|
|
1174
|
+
"description": "Stable card id correlating every emitted event. Set as an attribute or property."
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
"events": [],
|
|
1178
|
+
"cssProperties": []
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"kind": "class",
|
|
1182
|
+
"customElement": true,
|
|
1183
|
+
"tagName": "kc-empty",
|
|
1184
|
+
"name": "KcEmptyElement",
|
|
1185
|
+
"description": "",
|
|
1186
|
+
"members": [
|
|
901
1187
|
{
|
|
902
|
-
"
|
|
903
|
-
"
|
|
1188
|
+
"kind": "field",
|
|
1189
|
+
"name": "emptyTitle",
|
|
904
1190
|
"type": {
|
|
905
|
-
"text": "undefined |
|
|
1191
|
+
"text": "undefined | string"
|
|
906
1192
|
},
|
|
907
|
-
"description": ""
|
|
1193
|
+
"description": "Title text. Attribute: `empty-title` (`title` is a global HTML attribute).",
|
|
1194
|
+
"privacy": "public"
|
|
908
1195
|
},
|
|
909
1196
|
{
|
|
910
|
-
"
|
|
911
|
-
"
|
|
1197
|
+
"kind": "field",
|
|
1198
|
+
"name": "description",
|
|
912
1199
|
"type": {
|
|
913
|
-
"text": "undefined |
|
|
1200
|
+
"text": "undefined | string"
|
|
914
1201
|
},
|
|
915
|
-
"description": ""
|
|
916
|
-
|
|
1202
|
+
"description": "Description text.",
|
|
1203
|
+
"privacy": "public"
|
|
1204
|
+
}
|
|
1205
|
+
],
|
|
1206
|
+
"attributes": [
|
|
917
1207
|
{
|
|
918
|
-
"name": "
|
|
919
|
-
"fieldName": "voice",
|
|
1208
|
+
"name": "theme",
|
|
920
1209
|
"type": {
|
|
921
|
-
"text": "
|
|
1210
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
922
1211
|
},
|
|
923
|
-
"description": ""
|
|
1212
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
924
1213
|
},
|
|
925
1214
|
{
|
|
926
|
-
"name": "
|
|
927
|
-
"fieldName": "
|
|
1215
|
+
"name": "empty-title",
|
|
1216
|
+
"fieldName": "emptyTitle",
|
|
928
1217
|
"type": {
|
|
929
|
-
"text": "undefined |
|
|
1218
|
+
"text": "undefined | string"
|
|
930
1219
|
},
|
|
931
|
-
"description": ""
|
|
1220
|
+
"description": "Title text. Attribute: `empty-title` (`title` is a global HTML attribute)."
|
|
932
1221
|
},
|
|
933
1222
|
{
|
|
934
|
-
"name": "
|
|
935
|
-
"fieldName": "
|
|
1223
|
+
"name": "description",
|
|
1224
|
+
"fieldName": "description",
|
|
936
1225
|
"type": {
|
|
937
|
-
"text": "undefined |
|
|
1226
|
+
"text": "undefined | string"
|
|
938
1227
|
},
|
|
939
|
-
"description": "
|
|
940
|
-
}
|
|
1228
|
+
"description": "Description text."
|
|
1229
|
+
}
|
|
1230
|
+
],
|
|
1231
|
+
"events": [],
|
|
1232
|
+
"cssProperties": []
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"kind": "class",
|
|
1236
|
+
"customElement": true,
|
|
1237
|
+
"tagName": "kc-feedback-bar",
|
|
1238
|
+
"name": "KcFeedbackBarElement",
|
|
1239
|
+
"description": "",
|
|
1240
|
+
"members": [
|
|
941
1241
|
{
|
|
942
|
-
"
|
|
943
|
-
"
|
|
1242
|
+
"kind": "field",
|
|
1243
|
+
"name": "barTitle",
|
|
944
1244
|
"type": {
|
|
945
|
-
"text": "undefined |
|
|
1245
|
+
"text": "undefined | string"
|
|
946
1246
|
},
|
|
947
|
-
"description": "
|
|
948
|
-
|
|
1247
|
+
"description": "The banner label (e.g. \"Was this helpful?\"). Attribute: `bar-title` (`title` is avoided — it's a global HTML attribute).",
|
|
1248
|
+
"privacy": "public"
|
|
1249
|
+
}
|
|
1250
|
+
],
|
|
1251
|
+
"attributes": [
|
|
949
1252
|
{
|
|
950
|
-
"name": "
|
|
951
|
-
"fieldName": "sidebarMaxWidth",
|
|
1253
|
+
"name": "theme",
|
|
952
1254
|
"type": {
|
|
953
|
-
"text": "
|
|
1255
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
954
1256
|
},
|
|
955
|
-
"description": "
|
|
1257
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
956
1258
|
},
|
|
957
1259
|
{
|
|
958
|
-
"name": "
|
|
959
|
-
"fieldName": "
|
|
1260
|
+
"name": "bar-title",
|
|
1261
|
+
"fieldName": "barTitle",
|
|
960
1262
|
"type": {
|
|
961
|
-
"text": "undefined |
|
|
1263
|
+
"text": "undefined | string"
|
|
962
1264
|
},
|
|
963
|
-
"description": "
|
|
1265
|
+
"description": "The banner label (e.g. \"Was this helpful?\"). Attribute: `bar-title` (`title` is avoided — it's a global HTML attribute)."
|
|
964
1266
|
}
|
|
965
1267
|
],
|
|
966
1268
|
"events": [
|
|
967
1269
|
{
|
|
968
|
-
"name": "
|
|
969
|
-
"type": {
|
|
970
|
-
"text": "CustomEvent<unknown>"
|
|
971
|
-
},
|
|
972
|
-
"description": ""
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
"name": "messageaction",
|
|
976
|
-
"type": {
|
|
977
|
-
"text": "CustomEvent<unknown>"
|
|
978
|
-
},
|
|
979
|
-
"description": ""
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
"name": "modelchange",
|
|
1270
|
+
"name": "close",
|
|
983
1271
|
"type": {
|
|
984
|
-
"text": "CustomEvent
|
|
1272
|
+
"text": "CustomEvent"
|
|
985
1273
|
},
|
|
986
|
-
"description": ""
|
|
1274
|
+
"description": "The user dismissed the banner."
|
|
987
1275
|
},
|
|
988
1276
|
{
|
|
989
|
-
"name": "
|
|
1277
|
+
"name": "helpful",
|
|
990
1278
|
"type": {
|
|
991
|
-
"text": "CustomEvent
|
|
1279
|
+
"text": "CustomEvent"
|
|
992
1280
|
},
|
|
993
|
-
"description": ""
|
|
1281
|
+
"description": "The user clicked thumbs-up."
|
|
994
1282
|
},
|
|
995
1283
|
{
|
|
996
|
-
"name": "
|
|
1284
|
+
"name": "nothelpful",
|
|
997
1285
|
"type": {
|
|
998
|
-
"text": "CustomEvent
|
|
1286
|
+
"text": "CustomEvent"
|
|
999
1287
|
},
|
|
1000
|
-
"description": ""
|
|
1001
|
-
}
|
|
1288
|
+
"description": "The user clicked thumbs-down."
|
|
1289
|
+
}
|
|
1290
|
+
],
|
|
1291
|
+
"cssProperties": []
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
"kind": "class",
|
|
1295
|
+
"customElement": true,
|
|
1296
|
+
"tagName": "kc-file-tree",
|
|
1297
|
+
"name": "KcFileTreeElement",
|
|
1298
|
+
"description": "",
|
|
1299
|
+
"members": [
|
|
1002
1300
|
{
|
|
1003
|
-
"
|
|
1301
|
+
"kind": "field",
|
|
1302
|
+
"name": "files",
|
|
1004
1303
|
"type": {
|
|
1005
|
-
"text": "
|
|
1304
|
+
"text": "{ path: string; url?: undefined | string; code?: undefined | string; language?: undefined | string; type?: undefined | \"html\" | \"pdf\" | \"image\" | \"other\" }[]"
|
|
1006
1305
|
},
|
|
1007
|
-
"description": ""
|
|
1306
|
+
"description": "The files to render. Set as a JS property (array of `{ path, url?, code?, language?, type? }`).",
|
|
1307
|
+
"privacy": "public"
|
|
1008
1308
|
},
|
|
1009
1309
|
{
|
|
1010
|
-
"
|
|
1310
|
+
"kind": "field",
|
|
1311
|
+
"name": "activeFile",
|
|
1011
1312
|
"type": {
|
|
1012
|
-
"text": "
|
|
1313
|
+
"text": "undefined | string"
|
|
1013
1314
|
},
|
|
1014
|
-
"description": ""
|
|
1315
|
+
"description": "Selected file path — highlighted in the tree.",
|
|
1316
|
+
"privacy": "public"
|
|
1015
1317
|
},
|
|
1016
1318
|
{
|
|
1017
|
-
"
|
|
1319
|
+
"kind": "field",
|
|
1320
|
+
"name": "defaultExpanded",
|
|
1018
1321
|
"type": {
|
|
1019
|
-
"text": "
|
|
1322
|
+
"text": "undefined | string[]"
|
|
1020
1323
|
},
|
|
1021
|
-
"description": ""
|
|
1022
|
-
|
|
1324
|
+
"description": "Folder paths expanded initially. Omit to start with all folders open.",
|
|
1325
|
+
"privacy": "public"
|
|
1326
|
+
}
|
|
1327
|
+
],
|
|
1328
|
+
"attributes": [
|
|
1023
1329
|
{
|
|
1024
|
-
"name": "
|
|
1330
|
+
"name": "theme",
|
|
1025
1331
|
"type": {
|
|
1026
|
-
"text": "
|
|
1332
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
1027
1333
|
},
|
|
1028
|
-
"description": ""
|
|
1334
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1029
1335
|
},
|
|
1030
1336
|
{
|
|
1031
|
-
"name": "
|
|
1337
|
+
"name": "active-file",
|
|
1338
|
+
"fieldName": "activeFile",
|
|
1032
1339
|
"type": {
|
|
1033
|
-
"text": "
|
|
1340
|
+
"text": "undefined | string"
|
|
1034
1341
|
},
|
|
1035
|
-
"description": ""
|
|
1036
|
-
}
|
|
1342
|
+
"description": "Selected file path — highlighted in the tree."
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"events": [
|
|
1037
1346
|
{
|
|
1038
|
-
"name": "
|
|
1347
|
+
"name": "select",
|
|
1039
1348
|
"type": {
|
|
1040
|
-
"text": "CustomEvent<
|
|
1349
|
+
"text": "CustomEvent<{ path: string }>"
|
|
1041
1350
|
},
|
|
1042
|
-
"description": ""
|
|
1351
|
+
"description": "Fired when a file is selected. `detail.path` = the file's path."
|
|
1043
1352
|
}
|
|
1044
|
-
]
|
|
1353
|
+
],
|
|
1354
|
+
"cssProperties": []
|
|
1045
1355
|
},
|
|
1046
1356
|
{
|
|
1047
1357
|
"kind": "class",
|
|
1048
1358
|
"customElement": true,
|
|
1049
|
-
"tagName": "
|
|
1050
|
-
"name": "
|
|
1359
|
+
"tagName": "kc-file-upload",
|
|
1360
|
+
"name": "KcFileUploadElement",
|
|
1051
1361
|
"description": "",
|
|
1052
1362
|
"members": [
|
|
1053
1363
|
{
|
|
1054
1364
|
"kind": "field",
|
|
1055
|
-
"name": "
|
|
1365
|
+
"name": "multiple",
|
|
1056
1366
|
"type": {
|
|
1057
|
-
"text": "undefined |
|
|
1367
|
+
"text": "undefined | false | true"
|
|
1058
1368
|
},
|
|
1059
|
-
"description": "
|
|
1369
|
+
"description": "Allow selecting multiple files (default true).",
|
|
1060
1370
|
"privacy": "public"
|
|
1061
1371
|
},
|
|
1062
1372
|
{
|
|
1063
1373
|
"kind": "field",
|
|
1064
|
-
"name": "
|
|
1374
|
+
"name": "accept",
|
|
1065
1375
|
"type": {
|
|
1066
1376
|
"text": "undefined | string"
|
|
1067
1377
|
},
|
|
1068
|
-
"description": "
|
|
1378
|
+
"description": "`accept` attribute for the file picker (e.g. `image/*`).",
|
|
1069
1379
|
"privacy": "public"
|
|
1070
1380
|
},
|
|
1071
1381
|
{
|
|
1072
1382
|
"kind": "field",
|
|
1073
|
-
"name": "
|
|
1383
|
+
"name": "disabled",
|
|
1074
1384
|
"type": {
|
|
1075
|
-
"text": "undefined |
|
|
1385
|
+
"text": "undefined | false | true"
|
|
1076
1386
|
},
|
|
1077
|
-
"description": "
|
|
1387
|
+
"description": "Disable the dropzone — no clicking, no drag-and-drop.",
|
|
1078
1388
|
"privacy": "public"
|
|
1079
1389
|
},
|
|
1080
1390
|
{
|
|
1081
1391
|
"kind": "field",
|
|
1082
|
-
"name": "
|
|
1392
|
+
"name": "label",
|
|
1083
1393
|
"type": {
|
|
1084
|
-
"text": "undefined |
|
|
1394
|
+
"text": "undefined | string"
|
|
1085
1395
|
},
|
|
1086
|
-
"description": "
|
|
1396
|
+
"description": "Default dropzone label (overridable via the default slot).",
|
|
1087
1397
|
"privacy": "public"
|
|
1088
1398
|
}
|
|
1089
1399
|
],
|
|
@@ -1096,98 +1406,81 @@
|
|
|
1096
1406
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1097
1407
|
},
|
|
1098
1408
|
{
|
|
1099
|
-
"name": "
|
|
1100
|
-
"fieldName": "
|
|
1409
|
+
"name": "multiple",
|
|
1410
|
+
"fieldName": "multiple",
|
|
1101
1411
|
"type": {
|
|
1102
|
-
"text": "undefined |
|
|
1412
|
+
"text": "undefined | false | true"
|
|
1103
1413
|
},
|
|
1104
|
-
"description": "
|
|
1414
|
+
"description": "Allow selecting multiple files (default true)."
|
|
1105
1415
|
},
|
|
1106
1416
|
{
|
|
1107
|
-
"name": "
|
|
1108
|
-
"fieldName": "
|
|
1417
|
+
"name": "accept",
|
|
1418
|
+
"fieldName": "accept",
|
|
1109
1419
|
"type": {
|
|
1110
1420
|
"text": "undefined | string"
|
|
1111
1421
|
},
|
|
1112
|
-
"description": "
|
|
1422
|
+
"description": "`accept` attribute for the file picker (e.g. `image/*`)."
|
|
1113
1423
|
},
|
|
1114
1424
|
{
|
|
1115
|
-
"name": "
|
|
1116
|
-
"fieldName": "
|
|
1425
|
+
"name": "disabled",
|
|
1426
|
+
"fieldName": "disabled",
|
|
1117
1427
|
"type": {
|
|
1118
|
-
"text": "undefined |
|
|
1428
|
+
"text": "undefined | false | true"
|
|
1119
1429
|
},
|
|
1120
|
-
"description": "
|
|
1430
|
+
"description": "Disable the dropzone — no clicking, no drag-and-drop."
|
|
1121
1431
|
},
|
|
1122
1432
|
{
|
|
1123
|
-
"name": "
|
|
1124
|
-
"fieldName": "
|
|
1433
|
+
"name": "label",
|
|
1434
|
+
"fieldName": "label",
|
|
1125
1435
|
"type": {
|
|
1126
|
-
"text": "undefined |
|
|
1436
|
+
"text": "undefined | string"
|
|
1127
1437
|
},
|
|
1128
|
-
"description": "
|
|
1438
|
+
"description": "Default dropzone label (overridable via the default slot)."
|
|
1129
1439
|
}
|
|
1130
1440
|
],
|
|
1131
1441
|
"events": [
|
|
1132
1442
|
{
|
|
1133
|
-
"name": "
|
|
1443
|
+
"name": "filesadded",
|
|
1134
1444
|
"type": {
|
|
1135
|
-
"text": "CustomEvent"
|
|
1445
|
+
"text": "CustomEvent<{ files: File[] }>"
|
|
1136
1446
|
},
|
|
1137
|
-
"description": "
|
|
1447
|
+
"description": "Files were picked or dropped."
|
|
1138
1448
|
}
|
|
1139
|
-
]
|
|
1449
|
+
],
|
|
1450
|
+
"cssProperties": []
|
|
1140
1451
|
},
|
|
1141
1452
|
{
|
|
1142
1453
|
"kind": "class",
|
|
1143
1454
|
"customElement": true,
|
|
1144
|
-
"tagName": "
|
|
1145
|
-
"name": "
|
|
1455
|
+
"tagName": "kc-form",
|
|
1456
|
+
"name": "KcFormElement",
|
|
1146
1457
|
"description": "",
|
|
1147
1458
|
"members": [
|
|
1148
1459
|
{
|
|
1149
1460
|
"kind": "field",
|
|
1150
|
-
"name": "
|
|
1461
|
+
"name": "data",
|
|
1151
1462
|
"type": {
|
|
1152
|
-
"text": "string"
|
|
1463
|
+
"text": "undefined | Record<string, unknown>"
|
|
1153
1464
|
},
|
|
1154
|
-
"description": "The
|
|
1465
|
+
"description": "The form definition — a JSON Schema (`type:'object'`) + `x-kc-*` UI hints (the CardEnvelope.data). Set as a JS PROPERTY: `el.data = { type:'object', properties:{…} }`. Import the `FormDefinition` type from `@kitnai/chat` for the full shape (it is self-referential, so the element types it loosely).",
|
|
1155
1466
|
"privacy": "public"
|
|
1156
1467
|
},
|
|
1157
1468
|
{
|
|
1158
1469
|
"kind": "field",
|
|
1159
|
-
"name": "
|
|
1470
|
+
"name": "cardId",
|
|
1160
1471
|
"type": {
|
|
1161
1472
|
"text": "undefined | string"
|
|
1162
1473
|
},
|
|
1163
|
-
"description": "
|
|
1474
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`.",
|
|
1164
1475
|
"privacy": "public"
|
|
1165
1476
|
},
|
|
1166
1477
|
{
|
|
1167
1478
|
"kind": "field",
|
|
1168
|
-
"name": "
|
|
1479
|
+
"name": "heading",
|
|
1169
1480
|
"type": {
|
|
1170
1481
|
"text": "undefined | string"
|
|
1171
1482
|
},
|
|
1172
|
-
"description": "
|
|
1173
|
-
"privacy": "public"
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
"kind": "field",
|
|
1177
|
-
"name": "codeHighlight",
|
|
1178
|
-
"type": {
|
|
1179
|
-
"text": "undefined | false | true"
|
|
1180
|
-
},
|
|
1181
|
-
"description": "Disable syntax highlighting (renders plain text, no Shiki).",
|
|
1182
|
-
"privacy": "public"
|
|
1183
|
-
},
|
|
1184
|
-
{
|
|
1185
|
-
"kind": "field",
|
|
1186
|
-
"name": "proseSize",
|
|
1187
|
-
"type": {
|
|
1188
|
-
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1189
|
-
},
|
|
1190
|
-
"description": "Code text sizing.",
|
|
1483
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`.",
|
|
1191
1484
|
"privacy": "public"
|
|
1192
1485
|
}
|
|
1193
1486
|
],
|
|
@@ -1200,108 +1493,66 @@
|
|
|
1200
1493
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1201
1494
|
},
|
|
1202
1495
|
{
|
|
1203
|
-
"name": "
|
|
1204
|
-
"fieldName": "
|
|
1205
|
-
"type": {
|
|
1206
|
-
"text": "string"
|
|
1207
|
-
},
|
|
1208
|
-
"description": "The source code to render."
|
|
1209
|
-
},
|
|
1210
|
-
{
|
|
1211
|
-
"name": "language",
|
|
1212
|
-
"fieldName": "language",
|
|
1496
|
+
"name": "card-id",
|
|
1497
|
+
"fieldName": "cardId",
|
|
1213
1498
|
"type": {
|
|
1214
1499
|
"text": "undefined | string"
|
|
1215
1500
|
},
|
|
1216
|
-
"description": "
|
|
1501
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`."
|
|
1217
1502
|
},
|
|
1218
1503
|
{
|
|
1219
|
-
"name": "
|
|
1220
|
-
"fieldName": "
|
|
1504
|
+
"name": "heading",
|
|
1505
|
+
"fieldName": "heading",
|
|
1221
1506
|
"type": {
|
|
1222
1507
|
"text": "undefined | string"
|
|
1223
1508
|
},
|
|
1224
|
-
"description": "
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
"name": "code-highlight",
|
|
1228
|
-
"fieldName": "codeHighlight",
|
|
1229
|
-
"type": {
|
|
1230
|
-
"text": "undefined | false | true"
|
|
1231
|
-
},
|
|
1232
|
-
"description": "Disable syntax highlighting (renders plain text, no Shiki)."
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"name": "prose-size",
|
|
1236
|
-
"fieldName": "proseSize",
|
|
1237
|
-
"type": {
|
|
1238
|
-
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1239
|
-
},
|
|
1240
|
-
"description": "Code text sizing."
|
|
1509
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`."
|
|
1241
1510
|
}
|
|
1242
1511
|
],
|
|
1243
|
-
"events": []
|
|
1512
|
+
"events": [],
|
|
1513
|
+
"cssProperties": []
|
|
1244
1514
|
},
|
|
1245
1515
|
{
|
|
1246
1516
|
"kind": "class",
|
|
1247
1517
|
"customElement": true,
|
|
1248
|
-
"tagName": "
|
|
1249
|
-
"name": "
|
|
1518
|
+
"tagName": "kc-image",
|
|
1519
|
+
"name": "KcImageElement",
|
|
1250
1520
|
"description": "",
|
|
1251
1521
|
"members": [
|
|
1252
1522
|
{
|
|
1253
1523
|
"kind": "field",
|
|
1254
|
-
"name": "
|
|
1524
|
+
"name": "base64",
|
|
1255
1525
|
"type": {
|
|
1256
|
-
"text": "undefined |
|
|
1526
|
+
"text": "undefined | string"
|
|
1257
1527
|
},
|
|
1258
|
-
"description": "
|
|
1528
|
+
"description": "Base64-encoded image data (pair with `media-type`).",
|
|
1259
1529
|
"privacy": "public"
|
|
1260
|
-
}
|
|
1261
|
-
],
|
|
1262
|
-
"attributes": [
|
|
1263
|
-
{
|
|
1264
|
-
"name": "theme",
|
|
1265
|
-
"type": {
|
|
1266
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1267
|
-
},
|
|
1268
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1269
|
-
}
|
|
1270
|
-
],
|
|
1271
|
-
"events": []
|
|
1272
|
-
},
|
|
1273
|
-
{
|
|
1274
|
-
"kind": "class",
|
|
1275
|
-
"customElement": true,
|
|
1276
|
-
"tagName": "kitn-conversation-list",
|
|
1277
|
-
"name": "KitnConversationListElement",
|
|
1278
|
-
"description": "",
|
|
1279
|
-
"members": [
|
|
1530
|
+
},
|
|
1280
1531
|
{
|
|
1281
1532
|
"kind": "field",
|
|
1282
|
-
"name": "
|
|
1533
|
+
"name": "bytes",
|
|
1283
1534
|
"type": {
|
|
1284
|
-
"text": "
|
|
1535
|
+
"text": "undefined | Uint8Array<ArrayBufferLike>"
|
|
1285
1536
|
},
|
|
1286
|
-
"description": "
|
|
1537
|
+
"description": "Raw image bytes (set as a JS property).",
|
|
1287
1538
|
"privacy": "public"
|
|
1288
1539
|
},
|
|
1289
1540
|
{
|
|
1290
1541
|
"kind": "field",
|
|
1291
|
-
"name": "
|
|
1542
|
+
"name": "alt",
|
|
1292
1543
|
"type": {
|
|
1293
|
-
"text": "
|
|
1544
|
+
"text": "undefined | string"
|
|
1294
1545
|
},
|
|
1295
|
-
"description": "
|
|
1546
|
+
"description": "Alt text.",
|
|
1296
1547
|
"privacy": "public"
|
|
1297
1548
|
},
|
|
1298
1549
|
{
|
|
1299
1550
|
"kind": "field",
|
|
1300
|
-
"name": "
|
|
1551
|
+
"name": "mediaType",
|
|
1301
1552
|
"type": {
|
|
1302
1553
|
"text": "undefined | string"
|
|
1303
1554
|
},
|
|
1304
|
-
"description": "
|
|
1555
|
+
"description": "MIME type (default `image/png`).",
|
|
1305
1556
|
"privacy": "public"
|
|
1306
1557
|
}
|
|
1307
1558
|
],
|
|
@@ -1314,61 +1565,56 @@
|
|
|
1314
1565
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1315
1566
|
},
|
|
1316
1567
|
{
|
|
1317
|
-
"name": "
|
|
1318
|
-
"fieldName": "
|
|
1568
|
+
"name": "base64",
|
|
1569
|
+
"fieldName": "base64",
|
|
1319
1570
|
"type": {
|
|
1320
1571
|
"text": "undefined | string"
|
|
1321
1572
|
},
|
|
1322
|
-
"description": "
|
|
1323
|
-
}
|
|
1324
|
-
],
|
|
1325
|
-
"events": [
|
|
1326
|
-
{
|
|
1327
|
-
"name": "newchat",
|
|
1328
|
-
"type": {
|
|
1329
|
-
"text": "CustomEvent<unknown>"
|
|
1330
|
-
},
|
|
1331
|
-
"description": ""
|
|
1573
|
+
"description": "Base64-encoded image data (pair with `media-type`)."
|
|
1332
1574
|
},
|
|
1333
1575
|
{
|
|
1334
|
-
"name": "
|
|
1576
|
+
"name": "alt",
|
|
1577
|
+
"fieldName": "alt",
|
|
1335
1578
|
"type": {
|
|
1336
|
-
"text": "
|
|
1579
|
+
"text": "undefined | string"
|
|
1337
1580
|
},
|
|
1338
|
-
"description": ""
|
|
1581
|
+
"description": "Alt text."
|
|
1339
1582
|
},
|
|
1340
1583
|
{
|
|
1341
|
-
"name": "
|
|
1584
|
+
"name": "media-type",
|
|
1585
|
+
"fieldName": "mediaType",
|
|
1342
1586
|
"type": {
|
|
1343
|
-
"text": "
|
|
1587
|
+
"text": "undefined | string"
|
|
1344
1588
|
},
|
|
1345
|
-
"description": ""
|
|
1589
|
+
"description": "MIME type (default `image/png`)."
|
|
1346
1590
|
}
|
|
1347
|
-
]
|
|
1591
|
+
],
|
|
1592
|
+
"events": [],
|
|
1593
|
+
"cssProperties": []
|
|
1348
1594
|
},
|
|
1349
1595
|
{
|
|
1350
1596
|
"kind": "class",
|
|
1351
1597
|
"customElement": true,
|
|
1352
|
-
"tagName": "
|
|
1353
|
-
"name": "
|
|
1598
|
+
"tagName": "kc-link-card",
|
|
1599
|
+
"name": "KcLinkCardElement",
|
|
1354
1600
|
"description": "",
|
|
1355
1601
|
"members": [
|
|
1356
1602
|
{
|
|
1357
1603
|
"kind": "field",
|
|
1358
|
-
"name": "
|
|
1604
|
+
"name": "cardId",
|
|
1359
1605
|
"type": {
|
|
1360
1606
|
"text": "undefined | string"
|
|
1361
1607
|
},
|
|
1362
|
-
"description": "
|
|
1608
|
+
"description": "Stable card id correlating every emitted event. Set as an attribute or property.",
|
|
1363
1609
|
"privacy": "public"
|
|
1364
1610
|
},
|
|
1365
1611
|
{
|
|
1366
1612
|
"kind": "field",
|
|
1367
|
-
"name": "
|
|
1613
|
+
"name": "data",
|
|
1368
1614
|
"type": {
|
|
1369
|
-
"text": "undefined | string"
|
|
1615
|
+
"text": "undefined | { url: string; title?: undefined | string; description?: undefined | string; image?: undefined | string; imageAlt?: undefined | string; favicon?: undefined | string; domain?: undefined | string; siteName?: undefined | string }"
|
|
1370
1616
|
},
|
|
1371
|
-
"description": "
|
|
1617
|
+
"description": "The link payload (OG metadata). Set as a JS **property** (object).",
|
|
1372
1618
|
"privacy": "public"
|
|
1373
1619
|
}
|
|
1374
1620
|
],
|
|
@@ -1381,38 +1627,49 @@
|
|
|
1381
1627
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1382
1628
|
},
|
|
1383
1629
|
{
|
|
1384
|
-
"name": "
|
|
1385
|
-
"fieldName": "
|
|
1386
|
-
"type": {
|
|
1387
|
-
"text": "undefined | string"
|
|
1388
|
-
},
|
|
1389
|
-
"description": "Title text. Attribute: `empty-title` (`title` is a global HTML attribute)."
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
"name": "description",
|
|
1393
|
-
"fieldName": "description",
|
|
1630
|
+
"name": "card-id",
|
|
1631
|
+
"fieldName": "cardId",
|
|
1394
1632
|
"type": {
|
|
1395
1633
|
"text": "undefined | string"
|
|
1396
1634
|
},
|
|
1397
|
-
"description": "
|
|
1635
|
+
"description": "Stable card id correlating every emitted event. Set as an attribute or property."
|
|
1398
1636
|
}
|
|
1399
1637
|
],
|
|
1400
|
-
"events": []
|
|
1638
|
+
"events": [],
|
|
1639
|
+
"cssProperties": []
|
|
1401
1640
|
},
|
|
1402
1641
|
{
|
|
1403
1642
|
"kind": "class",
|
|
1404
1643
|
"customElement": true,
|
|
1405
|
-
"tagName": "
|
|
1406
|
-
"name": "
|
|
1644
|
+
"tagName": "kc-loader",
|
|
1645
|
+
"name": "KcLoaderElement",
|
|
1407
1646
|
"description": "",
|
|
1408
1647
|
"members": [
|
|
1409
1648
|
{
|
|
1410
1649
|
"kind": "field",
|
|
1411
|
-
"name": "
|
|
1650
|
+
"name": "variant",
|
|
1651
|
+
"type": {
|
|
1652
|
+
"text": "undefined | \"circular\" | \"classic\" | \"pulse\" | \"pulse-dot\" | \"dots\" | \"typing\" | \"wave\" | \"bars\" | \"terminal\" | \"text-blink\" | \"text-shimmer\" | \"loading-dots\""
|
|
1653
|
+
},
|
|
1654
|
+
"description": "The animation style: `'circular' | 'classic' | 'pulse' | 'pulse-dot' | 'dots' | 'typing' | 'wave' | 'bars' | 'terminal' | 'text-blink' | 'text-shimmer' | 'loading-dots'`. Defaults to `'circular'`.",
|
|
1655
|
+
"privacy": "public"
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"kind": "field",
|
|
1659
|
+
"name": "size",
|
|
1660
|
+
"type": {
|
|
1661
|
+
"text": "undefined | \"sm\" | \"lg\" | \"md\""
|
|
1662
|
+
},
|
|
1663
|
+
"description": "Loader size: `'sm' | 'md' | 'lg'`. Defaults to `'md'`.",
|
|
1664
|
+
"privacy": "public"
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"kind": "field",
|
|
1668
|
+
"name": "text",
|
|
1412
1669
|
"type": {
|
|
1413
1670
|
"text": "undefined | string"
|
|
1414
1671
|
},
|
|
1415
|
-
"description": "
|
|
1672
|
+
"description": "Label for the text-based variants.",
|
|
1416
1673
|
"privacy": "public"
|
|
1417
1674
|
}
|
|
1418
1675
|
],
|
|
@@ -1425,79 +1682,74 @@
|
|
|
1425
1682
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1426
1683
|
},
|
|
1427
1684
|
{
|
|
1428
|
-
"name": "
|
|
1429
|
-
"fieldName": "
|
|
1430
|
-
"type": {
|
|
1431
|
-
"text": "undefined | string"
|
|
1432
|
-
},
|
|
1433
|
-
"description": "The banner label (e.g. \"Was this helpful?\"). Attribute: `bar-title` (`title` is avoided — it's a global HTML attribute)."
|
|
1434
|
-
}
|
|
1435
|
-
],
|
|
1436
|
-
"events": [
|
|
1437
|
-
{
|
|
1438
|
-
"name": "close",
|
|
1685
|
+
"name": "variant",
|
|
1686
|
+
"fieldName": "variant",
|
|
1439
1687
|
"type": {
|
|
1440
|
-
"text": "
|
|
1688
|
+
"text": "undefined | \"circular\" | \"classic\" | \"pulse\" | \"pulse-dot\" | \"dots\" | \"typing\" | \"wave\" | \"bars\" | \"terminal\" | \"text-blink\" | \"text-shimmer\" | \"loading-dots\""
|
|
1441
1689
|
},
|
|
1442
|
-
"description": "The
|
|
1690
|
+
"description": "The animation style: `'circular' | 'classic' | 'pulse' | 'pulse-dot' | 'dots' | 'typing' | 'wave' | 'bars' | 'terminal' | 'text-blink' | 'text-shimmer' | 'loading-dots'`. Defaults to `'circular'`."
|
|
1443
1691
|
},
|
|
1444
1692
|
{
|
|
1445
|
-
"name": "
|
|
1693
|
+
"name": "size",
|
|
1694
|
+
"fieldName": "size",
|
|
1446
1695
|
"type": {
|
|
1447
|
-
"text": "
|
|
1696
|
+
"text": "undefined | \"sm\" | \"lg\" | \"md\""
|
|
1448
1697
|
},
|
|
1449
|
-
"description": "
|
|
1698
|
+
"description": "Loader size: `'sm' | 'md' | 'lg'`. Defaults to `'md'`."
|
|
1450
1699
|
},
|
|
1451
1700
|
{
|
|
1452
|
-
"name": "
|
|
1701
|
+
"name": "text",
|
|
1702
|
+
"fieldName": "text",
|
|
1453
1703
|
"type": {
|
|
1454
|
-
"text": "
|
|
1704
|
+
"text": "undefined | string"
|
|
1455
1705
|
},
|
|
1456
|
-
"description": "
|
|
1706
|
+
"description": "Label for the text-based variants."
|
|
1457
1707
|
}
|
|
1458
|
-
]
|
|
1708
|
+
],
|
|
1709
|
+
"events": [],
|
|
1710
|
+
"cssProperties": []
|
|
1459
1711
|
},
|
|
1460
1712
|
{
|
|
1461
1713
|
"kind": "class",
|
|
1462
1714
|
"customElement": true,
|
|
1463
|
-
"tagName": "
|
|
1464
|
-
"name": "
|
|
1715
|
+
"tagName": "kc-markdown",
|
|
1716
|
+
"name": "KcMarkdownElement",
|
|
1465
1717
|
"description": "",
|
|
1466
1718
|
"members": [
|
|
1467
1719
|
{
|
|
1468
1720
|
"kind": "field",
|
|
1469
|
-
"name": "
|
|
1721
|
+
"name": "content",
|
|
1470
1722
|
"type": {
|
|
1471
|
-
"text": "
|
|
1723
|
+
"text": "string"
|
|
1472
1724
|
},
|
|
1473
|
-
"description": "
|
|
1725
|
+
"description": "The markdown source to render.",
|
|
1474
1726
|
"privacy": "public"
|
|
1475
1727
|
},
|
|
1476
1728
|
{
|
|
1477
1729
|
"kind": "field",
|
|
1478
|
-
"name": "
|
|
1730
|
+
"name": "proseSize",
|
|
1479
1731
|
"type": {
|
|
1480
|
-
"text": "undefined |
|
|
1732
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1481
1733
|
},
|
|
1482
|
-
"description": "
|
|
1734
|
+
"description": "Text/markdown sizing.",
|
|
1483
1735
|
"privacy": "public"
|
|
1484
1736
|
},
|
|
1485
1737
|
{
|
|
1486
1738
|
"kind": "field",
|
|
1487
|
-
"name": "
|
|
1739
|
+
"name": "codeTheme",
|
|
1488
1740
|
"type": {
|
|
1489
|
-
"text": "undefined |
|
|
1741
|
+
"text": "undefined | string"
|
|
1490
1742
|
},
|
|
1491
|
-
"description": "
|
|
1743
|
+
"description": "Shiki theme for fenced code blocks.",
|
|
1492
1744
|
"privacy": "public"
|
|
1493
1745
|
},
|
|
1494
1746
|
{
|
|
1495
1747
|
"kind": "field",
|
|
1496
|
-
"name": "
|
|
1748
|
+
"name": "codeHighlight",
|
|
1497
1749
|
"type": {
|
|
1498
|
-
"text": "undefined |
|
|
1750
|
+
"text": "undefined | false | true"
|
|
1499
1751
|
},
|
|
1500
|
-
"description": "
|
|
1752
|
+
"description": "Disable syntax highlighting (no Shiki loads).",
|
|
1501
1753
|
"privacy": "public"
|
|
1502
1754
|
}
|
|
1503
1755
|
],
|
|
@@ -1510,289 +1762,46 @@
|
|
|
1510
1762
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1511
1763
|
},
|
|
1512
1764
|
{
|
|
1513
|
-
"name": "
|
|
1514
|
-
"fieldName": "
|
|
1765
|
+
"name": "content",
|
|
1766
|
+
"fieldName": "content",
|
|
1515
1767
|
"type": {
|
|
1516
|
-
"text": "
|
|
1768
|
+
"text": "string"
|
|
1517
1769
|
},
|
|
1518
|
-
"description": "
|
|
1770
|
+
"description": "The markdown source to render."
|
|
1519
1771
|
},
|
|
1520
1772
|
{
|
|
1521
|
-
"name": "
|
|
1522
|
-
"fieldName": "
|
|
1773
|
+
"name": "prose-size",
|
|
1774
|
+
"fieldName": "proseSize",
|
|
1523
1775
|
"type": {
|
|
1524
|
-
"text": "undefined |
|
|
1776
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1525
1777
|
},
|
|
1526
|
-
"description": "
|
|
1778
|
+
"description": "Text/markdown sizing."
|
|
1527
1779
|
},
|
|
1528
1780
|
{
|
|
1529
|
-
"name": "
|
|
1530
|
-
"fieldName": "
|
|
1781
|
+
"name": "code-theme",
|
|
1782
|
+
"fieldName": "codeTheme",
|
|
1531
1783
|
"type": {
|
|
1532
|
-
"text": "undefined |
|
|
1784
|
+
"text": "undefined | string"
|
|
1533
1785
|
},
|
|
1534
|
-
"description": "
|
|
1786
|
+
"description": "Shiki theme for fenced code blocks."
|
|
1535
1787
|
},
|
|
1536
1788
|
{
|
|
1537
|
-
"name": "
|
|
1538
|
-
"fieldName": "
|
|
1789
|
+
"name": "code-highlight",
|
|
1790
|
+
"fieldName": "codeHighlight",
|
|
1539
1791
|
"type": {
|
|
1540
|
-
"text": "undefined |
|
|
1792
|
+
"text": "undefined | false | true"
|
|
1541
1793
|
},
|
|
1542
|
-
"description": "
|
|
1794
|
+
"description": "Disable syntax highlighting (no Shiki loads)."
|
|
1543
1795
|
}
|
|
1544
1796
|
],
|
|
1545
|
-
"events": [
|
|
1546
|
-
|
|
1547
|
-
"name": "filesadded",
|
|
1548
|
-
"type": {
|
|
1549
|
-
"text": "CustomEvent<{ files: File[] }>"
|
|
1550
|
-
},
|
|
1551
|
-
"description": "Files were picked or dropped."
|
|
1552
|
-
}
|
|
1553
|
-
]
|
|
1797
|
+
"events": [],
|
|
1798
|
+
"cssProperties": []
|
|
1554
1799
|
},
|
|
1555
1800
|
{
|
|
1556
1801
|
"kind": "class",
|
|
1557
1802
|
"customElement": true,
|
|
1558
|
-
"tagName": "
|
|
1559
|
-
"name": "
|
|
1560
|
-
"description": "",
|
|
1561
|
-
"members": [
|
|
1562
|
-
{
|
|
1563
|
-
"kind": "field",
|
|
1564
|
-
"name": "base64",
|
|
1565
|
-
"type": {
|
|
1566
|
-
"text": "undefined | string"
|
|
1567
|
-
},
|
|
1568
|
-
"description": "Base64-encoded image data (pair with `media-type`).",
|
|
1569
|
-
"privacy": "public"
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
"kind": "field",
|
|
1573
|
-
"name": "bytes",
|
|
1574
|
-
"type": {
|
|
1575
|
-
"text": "undefined | Uint8Array<ArrayBufferLike>"
|
|
1576
|
-
},
|
|
1577
|
-
"description": "Raw image bytes (set as a JS property).",
|
|
1578
|
-
"privacy": "public"
|
|
1579
|
-
},
|
|
1580
|
-
{
|
|
1581
|
-
"kind": "field",
|
|
1582
|
-
"name": "alt",
|
|
1583
|
-
"type": {
|
|
1584
|
-
"text": "undefined | string"
|
|
1585
|
-
},
|
|
1586
|
-
"description": "Alt text.",
|
|
1587
|
-
"privacy": "public"
|
|
1588
|
-
},
|
|
1589
|
-
{
|
|
1590
|
-
"kind": "field",
|
|
1591
|
-
"name": "mediaType",
|
|
1592
|
-
"type": {
|
|
1593
|
-
"text": "undefined | string"
|
|
1594
|
-
},
|
|
1595
|
-
"description": "MIME type (default `image/png`).",
|
|
1596
|
-
"privacy": "public"
|
|
1597
|
-
}
|
|
1598
|
-
],
|
|
1599
|
-
"attributes": [
|
|
1600
|
-
{
|
|
1601
|
-
"name": "theme",
|
|
1602
|
-
"type": {
|
|
1603
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1604
|
-
},
|
|
1605
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1606
|
-
},
|
|
1607
|
-
{
|
|
1608
|
-
"name": "base64",
|
|
1609
|
-
"fieldName": "base64",
|
|
1610
|
-
"type": {
|
|
1611
|
-
"text": "undefined | string"
|
|
1612
|
-
},
|
|
1613
|
-
"description": "Base64-encoded image data (pair with `media-type`)."
|
|
1614
|
-
},
|
|
1615
|
-
{
|
|
1616
|
-
"name": "alt",
|
|
1617
|
-
"fieldName": "alt",
|
|
1618
|
-
"type": {
|
|
1619
|
-
"text": "undefined | string"
|
|
1620
|
-
},
|
|
1621
|
-
"description": "Alt text."
|
|
1622
|
-
},
|
|
1623
|
-
{
|
|
1624
|
-
"name": "media-type",
|
|
1625
|
-
"fieldName": "mediaType",
|
|
1626
|
-
"type": {
|
|
1627
|
-
"text": "undefined | string"
|
|
1628
|
-
},
|
|
1629
|
-
"description": "MIME type (default `image/png`)."
|
|
1630
|
-
}
|
|
1631
|
-
],
|
|
1632
|
-
"events": []
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"kind": "class",
|
|
1636
|
-
"customElement": true,
|
|
1637
|
-
"tagName": "kitn-loader",
|
|
1638
|
-
"name": "KitnLoaderElement",
|
|
1639
|
-
"description": "",
|
|
1640
|
-
"members": [
|
|
1641
|
-
{
|
|
1642
|
-
"kind": "field",
|
|
1643
|
-
"name": "variant",
|
|
1644
|
-
"type": {
|
|
1645
|
-
"text": "undefined | \"circular\" | \"classic\" | \"pulse\" | \"pulse-dot\" | \"dots\" | \"typing\" | \"wave\" | \"bars\" | \"terminal\" | \"text-blink\" | \"text-shimmer\" | \"loading-dots\""
|
|
1646
|
-
},
|
|
1647
|
-
"description": "The animation style: `'circular' | 'classic' | 'pulse' | 'pulse-dot' | 'dots' | 'typing' | 'wave' | 'bars' | 'terminal' | 'text-blink' | 'text-shimmer' | 'loading-dots'`. Defaults to `'circular'`.",
|
|
1648
|
-
"privacy": "public"
|
|
1649
|
-
},
|
|
1650
|
-
{
|
|
1651
|
-
"kind": "field",
|
|
1652
|
-
"name": "size",
|
|
1653
|
-
"type": {
|
|
1654
|
-
"text": "undefined | \"sm\" | \"lg\" | \"md\""
|
|
1655
|
-
},
|
|
1656
|
-
"description": "Loader size: `'sm' | 'md' | 'lg'`. Defaults to `'md'`.",
|
|
1657
|
-
"privacy": "public"
|
|
1658
|
-
},
|
|
1659
|
-
{
|
|
1660
|
-
"kind": "field",
|
|
1661
|
-
"name": "text",
|
|
1662
|
-
"type": {
|
|
1663
|
-
"text": "undefined | string"
|
|
1664
|
-
},
|
|
1665
|
-
"description": "Label for the text-based variants.",
|
|
1666
|
-
"privacy": "public"
|
|
1667
|
-
}
|
|
1668
|
-
],
|
|
1669
|
-
"attributes": [
|
|
1670
|
-
{
|
|
1671
|
-
"name": "theme",
|
|
1672
|
-
"type": {
|
|
1673
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1674
|
-
},
|
|
1675
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1676
|
-
},
|
|
1677
|
-
{
|
|
1678
|
-
"name": "variant",
|
|
1679
|
-
"fieldName": "variant",
|
|
1680
|
-
"type": {
|
|
1681
|
-
"text": "undefined | \"circular\" | \"classic\" | \"pulse\" | \"pulse-dot\" | \"dots\" | \"typing\" | \"wave\" | \"bars\" | \"terminal\" | \"text-blink\" | \"text-shimmer\" | \"loading-dots\""
|
|
1682
|
-
},
|
|
1683
|
-
"description": "The animation style: `'circular' | 'classic' | 'pulse' | 'pulse-dot' | 'dots' | 'typing' | 'wave' | 'bars' | 'terminal' | 'text-blink' | 'text-shimmer' | 'loading-dots'`. Defaults to `'circular'`."
|
|
1684
|
-
},
|
|
1685
|
-
{
|
|
1686
|
-
"name": "size",
|
|
1687
|
-
"fieldName": "size",
|
|
1688
|
-
"type": {
|
|
1689
|
-
"text": "undefined | \"sm\" | \"lg\" | \"md\""
|
|
1690
|
-
},
|
|
1691
|
-
"description": "Loader size: `'sm' | 'md' | 'lg'`. Defaults to `'md'`."
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"name": "text",
|
|
1695
|
-
"fieldName": "text",
|
|
1696
|
-
"type": {
|
|
1697
|
-
"text": "undefined | string"
|
|
1698
|
-
},
|
|
1699
|
-
"description": "Label for the text-based variants."
|
|
1700
|
-
}
|
|
1701
|
-
],
|
|
1702
|
-
"events": []
|
|
1703
|
-
},
|
|
1704
|
-
{
|
|
1705
|
-
"kind": "class",
|
|
1706
|
-
"customElement": true,
|
|
1707
|
-
"tagName": "kitn-markdown",
|
|
1708
|
-
"name": "KitnMarkdownElement",
|
|
1709
|
-
"description": "",
|
|
1710
|
-
"members": [
|
|
1711
|
-
{
|
|
1712
|
-
"kind": "field",
|
|
1713
|
-
"name": "content",
|
|
1714
|
-
"type": {
|
|
1715
|
-
"text": "string"
|
|
1716
|
-
},
|
|
1717
|
-
"description": "The markdown source to render.",
|
|
1718
|
-
"privacy": "public"
|
|
1719
|
-
},
|
|
1720
|
-
{
|
|
1721
|
-
"kind": "field",
|
|
1722
|
-
"name": "proseSize",
|
|
1723
|
-
"type": {
|
|
1724
|
-
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1725
|
-
},
|
|
1726
|
-
"description": "Text/markdown sizing.",
|
|
1727
|
-
"privacy": "public"
|
|
1728
|
-
},
|
|
1729
|
-
{
|
|
1730
|
-
"kind": "field",
|
|
1731
|
-
"name": "codeTheme",
|
|
1732
|
-
"type": {
|
|
1733
|
-
"text": "undefined | string"
|
|
1734
|
-
},
|
|
1735
|
-
"description": "Shiki theme for fenced code blocks.",
|
|
1736
|
-
"privacy": "public"
|
|
1737
|
-
},
|
|
1738
|
-
{
|
|
1739
|
-
"kind": "field",
|
|
1740
|
-
"name": "codeHighlight",
|
|
1741
|
-
"type": {
|
|
1742
|
-
"text": "undefined | false | true"
|
|
1743
|
-
},
|
|
1744
|
-
"description": "Disable syntax highlighting (no Shiki loads).",
|
|
1745
|
-
"privacy": "public"
|
|
1746
|
-
}
|
|
1747
|
-
],
|
|
1748
|
-
"attributes": [
|
|
1749
|
-
{
|
|
1750
|
-
"name": "theme",
|
|
1751
|
-
"type": {
|
|
1752
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1753
|
-
},
|
|
1754
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1755
|
-
},
|
|
1756
|
-
{
|
|
1757
|
-
"name": "content",
|
|
1758
|
-
"fieldName": "content",
|
|
1759
|
-
"type": {
|
|
1760
|
-
"text": "string"
|
|
1761
|
-
},
|
|
1762
|
-
"description": "The markdown source to render."
|
|
1763
|
-
},
|
|
1764
|
-
{
|
|
1765
|
-
"name": "prose-size",
|
|
1766
|
-
"fieldName": "proseSize",
|
|
1767
|
-
"type": {
|
|
1768
|
-
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1769
|
-
},
|
|
1770
|
-
"description": "Text/markdown sizing."
|
|
1771
|
-
},
|
|
1772
|
-
{
|
|
1773
|
-
"name": "code-theme",
|
|
1774
|
-
"fieldName": "codeTheme",
|
|
1775
|
-
"type": {
|
|
1776
|
-
"text": "undefined | string"
|
|
1777
|
-
},
|
|
1778
|
-
"description": "Shiki theme for fenced code blocks."
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"name": "code-highlight",
|
|
1782
|
-
"fieldName": "codeHighlight",
|
|
1783
|
-
"type": {
|
|
1784
|
-
"text": "undefined | false | true"
|
|
1785
|
-
},
|
|
1786
|
-
"description": "Disable syntax highlighting (no Shiki loads)."
|
|
1787
|
-
}
|
|
1788
|
-
],
|
|
1789
|
-
"events": []
|
|
1790
|
-
},
|
|
1791
|
-
{
|
|
1792
|
-
"kind": "class",
|
|
1793
|
-
"customElement": true,
|
|
1794
|
-
"tagName": "kitn-message",
|
|
1795
|
-
"name": "KitnMessageElement",
|
|
1803
|
+
"tagName": "kc-message",
|
|
1804
|
+
"name": "KcMessageElement",
|
|
1796
1805
|
"description": "",
|
|
1797
1806
|
"members": [
|
|
1798
1807
|
{
|
|
@@ -1924,41 +1933,14 @@
|
|
|
1924
1933
|
},
|
|
1925
1934
|
"description": "An action button was clicked."
|
|
1926
1935
|
}
|
|
1927
|
-
]
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"kind": "class",
|
|
1931
|
-
"customElement": true,
|
|
1932
|
-
"tagName": "kitn-message-skills",
|
|
1933
|
-
"name": "KitnMessageSkillsElement",
|
|
1934
|
-
"description": "",
|
|
1935
|
-
"members": [
|
|
1936
|
-
{
|
|
1937
|
-
"kind": "field",
|
|
1938
|
-
"name": "skills",
|
|
1939
|
-
"type": {
|
|
1940
|
-
"text": "{ id: string; name: string }[]"
|
|
1941
|
-
},
|
|
1942
|
-
"description": "The active skills to badge. Set as a JS property.",
|
|
1943
|
-
"privacy": "public"
|
|
1944
|
-
}
|
|
1945
|
-
],
|
|
1946
|
-
"attributes": [
|
|
1947
|
-
{
|
|
1948
|
-
"name": "theme",
|
|
1949
|
-
"type": {
|
|
1950
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1951
|
-
},
|
|
1952
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1953
|
-
}
|
|
1954
1936
|
],
|
|
1955
|
-
"
|
|
1937
|
+
"cssProperties": []
|
|
1956
1938
|
},
|
|
1957
1939
|
{
|
|
1958
1940
|
"kind": "class",
|
|
1959
1941
|
"customElement": true,
|
|
1960
|
-
"tagName": "
|
|
1961
|
-
"name": "
|
|
1942
|
+
"tagName": "kc-model-switcher",
|
|
1943
|
+
"name": "KcModelSwitcherElement",
|
|
1962
1944
|
"description": "",
|
|
1963
1945
|
"members": [
|
|
1964
1946
|
{
|
|
@@ -2005,13 +1987,14 @@
|
|
|
2005
1987
|
},
|
|
2006
1988
|
"description": "A model was selected."
|
|
2007
1989
|
}
|
|
2008
|
-
]
|
|
1990
|
+
],
|
|
1991
|
+
"cssProperties": []
|
|
2009
1992
|
},
|
|
2010
1993
|
{
|
|
2011
1994
|
"kind": "class",
|
|
2012
1995
|
"customElement": true,
|
|
2013
|
-
"tagName": "
|
|
2014
|
-
"name": "
|
|
1996
|
+
"tagName": "kc-prompt-input",
|
|
1997
|
+
"name": "KcPromptInputElement",
|
|
2015
1998
|
"description": "",
|
|
2016
1999
|
"members": [
|
|
2017
2000
|
{
|
|
@@ -2200,7 +2183,7 @@
|
|
|
2200
2183
|
{
|
|
2201
2184
|
"name": "search",
|
|
2202
2185
|
"type": {
|
|
2203
|
-
"text": "CustomEvent<
|
|
2186
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
2204
2187
|
},
|
|
2205
2188
|
"description": "The Search (Globe) toolbar button was clicked."
|
|
2206
2189
|
},
|
|
@@ -2235,62 +2218,63 @@
|
|
|
2235
2218
|
{
|
|
2236
2219
|
"name": "voice",
|
|
2237
2220
|
"type": {
|
|
2238
|
-
"text": "CustomEvent<
|
|
2221
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
2239
2222
|
},
|
|
2240
2223
|
"description": "The Voice (Mic) toolbar button was clicked."
|
|
2241
2224
|
}
|
|
2242
|
-
]
|
|
2225
|
+
],
|
|
2226
|
+
"cssProperties": []
|
|
2243
2227
|
},
|
|
2244
2228
|
{
|
|
2245
2229
|
"kind": "class",
|
|
2246
2230
|
"customElement": true,
|
|
2247
|
-
"tagName": "
|
|
2248
|
-
"name": "
|
|
2231
|
+
"tagName": "kc-reasoning",
|
|
2232
|
+
"name": "KcReasoningElement",
|
|
2249
2233
|
"description": "",
|
|
2250
2234
|
"members": [
|
|
2251
2235
|
{
|
|
2252
2236
|
"kind": "field",
|
|
2253
|
-
"name": "
|
|
2237
|
+
"name": "text",
|
|
2254
2238
|
"type": {
|
|
2255
|
-
"text": "
|
|
2239
|
+
"text": "string"
|
|
2256
2240
|
},
|
|
2257
|
-
"description": "The
|
|
2241
|
+
"description": "The reasoning text to display.",
|
|
2258
2242
|
"privacy": "public"
|
|
2259
2243
|
},
|
|
2260
2244
|
{
|
|
2261
2245
|
"kind": "field",
|
|
2262
|
-
"name": "
|
|
2246
|
+
"name": "label",
|
|
2263
2247
|
"type": {
|
|
2264
|
-
"text": "undefined |
|
|
2248
|
+
"text": "undefined | string"
|
|
2265
2249
|
},
|
|
2266
|
-
"description": "
|
|
2250
|
+
"description": "Trigger label.",
|
|
2267
2251
|
"privacy": "public"
|
|
2268
2252
|
},
|
|
2269
2253
|
{
|
|
2270
2254
|
"kind": "field",
|
|
2271
|
-
"name": "
|
|
2255
|
+
"name": "open",
|
|
2272
2256
|
"type": {
|
|
2273
|
-
"text": "undefined |
|
|
2257
|
+
"text": "undefined | false | true"
|
|
2274
2258
|
},
|
|
2275
|
-
"description": "
|
|
2259
|
+
"description": "Controlled open state — set as a property (`el.open = true`). Omit for uncontrolled (the trigger toggles it).",
|
|
2276
2260
|
"privacy": "public"
|
|
2277
2261
|
},
|
|
2278
2262
|
{
|
|
2279
2263
|
"kind": "field",
|
|
2280
|
-
"name": "
|
|
2264
|
+
"name": "streaming",
|
|
2281
2265
|
"type": {
|
|
2282
2266
|
"text": "undefined | false | true"
|
|
2283
2267
|
},
|
|
2284
|
-
"description": "
|
|
2268
|
+
"description": "While true, auto-expands (and re-collapses when it flips false).",
|
|
2285
2269
|
"privacy": "public"
|
|
2286
2270
|
},
|
|
2287
2271
|
{
|
|
2288
2272
|
"kind": "field",
|
|
2289
|
-
"name": "
|
|
2273
|
+
"name": "markdown",
|
|
2290
2274
|
"type": {
|
|
2291
|
-
"text": "undefined |
|
|
2275
|
+
"text": "undefined | false | true"
|
|
2292
2276
|
},
|
|
2293
|
-
"description": "
|
|
2277
|
+
"description": "Render `text` as markdown.",
|
|
2294
2278
|
"privacy": "public"
|
|
2295
2279
|
}
|
|
2296
2280
|
],
|
|
@@ -2303,98 +2287,152 @@
|
|
|
2303
2287
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2304
2288
|
},
|
|
2305
2289
|
{
|
|
2306
|
-
"name": "
|
|
2307
|
-
"fieldName": "
|
|
2290
|
+
"name": "text",
|
|
2291
|
+
"fieldName": "text",
|
|
2308
2292
|
"type": {
|
|
2309
|
-
"text": "
|
|
2293
|
+
"text": "string"
|
|
2310
2294
|
},
|
|
2311
|
-
"description": "
|
|
2295
|
+
"description": "The reasoning text to display."
|
|
2312
2296
|
},
|
|
2313
2297
|
{
|
|
2314
|
-
"name": "
|
|
2315
|
-
"fieldName": "
|
|
2298
|
+
"name": "label",
|
|
2299
|
+
"fieldName": "label",
|
|
2316
2300
|
"type": {
|
|
2317
|
-
"text": "undefined |
|
|
2301
|
+
"text": "undefined | string"
|
|
2318
2302
|
},
|
|
2319
|
-
"description": "
|
|
2303
|
+
"description": "Trigger label."
|
|
2320
2304
|
},
|
|
2321
2305
|
{
|
|
2322
|
-
"name": "
|
|
2323
|
-
"fieldName": "
|
|
2306
|
+
"name": "open",
|
|
2307
|
+
"fieldName": "open",
|
|
2324
2308
|
"type": {
|
|
2325
2309
|
"text": "undefined | false | true"
|
|
2326
2310
|
},
|
|
2327
|
-
"description": "
|
|
2311
|
+
"description": "Controlled open state — set as a property (`el.open = true`). Omit for uncontrolled (the trigger toggles it)."
|
|
2328
2312
|
},
|
|
2329
2313
|
{
|
|
2330
|
-
"name": "
|
|
2331
|
-
"fieldName": "
|
|
2314
|
+
"name": "streaming",
|
|
2315
|
+
"fieldName": "streaming",
|
|
2332
2316
|
"type": {
|
|
2333
|
-
"text": "undefined |
|
|
2317
|
+
"text": "undefined | false | true"
|
|
2334
2318
|
},
|
|
2335
|
-
"description": "
|
|
2319
|
+
"description": "While true, auto-expands (and re-collapses when it flips false)."
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"name": "markdown",
|
|
2323
|
+
"fieldName": "markdown",
|
|
2324
|
+
"type": {
|
|
2325
|
+
"text": "undefined | false | true"
|
|
2326
|
+
},
|
|
2327
|
+
"description": "Render `text` as markdown."
|
|
2336
2328
|
}
|
|
2337
2329
|
],
|
|
2338
2330
|
"events": [
|
|
2339
2331
|
{
|
|
2340
|
-
"name": "
|
|
2332
|
+
"name": "openchange",
|
|
2341
2333
|
"type": {
|
|
2342
|
-
"text": "CustomEvent<{
|
|
2334
|
+
"text": "CustomEvent<{ open: false | true }>"
|
|
2343
2335
|
},
|
|
2344
|
-
"description": "
|
|
2336
|
+
"description": "Open state changed (via the trigger or streaming auto-open)."
|
|
2345
2337
|
}
|
|
2346
|
-
]
|
|
2338
|
+
],
|
|
2339
|
+
"cssProperties": []
|
|
2347
2340
|
},
|
|
2348
2341
|
{
|
|
2349
2342
|
"kind": "class",
|
|
2350
2343
|
"customElement": true,
|
|
2351
|
-
"tagName": "
|
|
2352
|
-
"name": "
|
|
2344
|
+
"tagName": "kc-resizable",
|
|
2345
|
+
"name": "KcResizableElement",
|
|
2353
2346
|
"description": "",
|
|
2354
2347
|
"members": [
|
|
2355
2348
|
{
|
|
2356
2349
|
"kind": "field",
|
|
2357
|
-
"name": "
|
|
2350
|
+
"name": "orientation",
|
|
2358
2351
|
"type": {
|
|
2359
|
-
"text": "
|
|
2352
|
+
"text": "undefined | \"horizontal\" | \"vertical\""
|
|
2360
2353
|
},
|
|
2361
|
-
"description": "
|
|
2354
|
+
"description": "Layout axis: `horizontal` (row, default) or `vertical` (column).",
|
|
2355
|
+
"privacy": "public"
|
|
2356
|
+
}
|
|
2357
|
+
],
|
|
2358
|
+
"attributes": [
|
|
2359
|
+
{
|
|
2360
|
+
"name": "theme",
|
|
2361
|
+
"type": {
|
|
2362
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
2363
|
+
},
|
|
2364
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"name": "orientation",
|
|
2368
|
+
"fieldName": "orientation",
|
|
2369
|
+
"type": {
|
|
2370
|
+
"text": "undefined | \"horizontal\" | \"vertical\""
|
|
2371
|
+
},
|
|
2372
|
+
"description": "Layout axis: `horizontal` (row, default) or `vertical` (column)."
|
|
2373
|
+
}
|
|
2374
|
+
],
|
|
2375
|
+
"events": [
|
|
2376
|
+
{
|
|
2377
|
+
"name": "change",
|
|
2378
|
+
"type": {
|
|
2379
|
+
"text": "CustomEvent<{ sizes: number[] }>"
|
|
2380
|
+
},
|
|
2381
|
+
"description": "Fired on drag-end / keyboard resize / visibility change. `detail.sizes` = panel sizes in percent."
|
|
2382
|
+
}
|
|
2383
|
+
],
|
|
2384
|
+
"cssProperties": []
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"kind": "class",
|
|
2388
|
+
"customElement": true,
|
|
2389
|
+
"tagName": "kc-resizable-item",
|
|
2390
|
+
"name": "KcResizableItemElement",
|
|
2391
|
+
"description": "",
|
|
2392
|
+
"members": [
|
|
2393
|
+
{
|
|
2394
|
+
"kind": "field",
|
|
2395
|
+
"name": "size",
|
|
2396
|
+
"type": {
|
|
2397
|
+
"text": "undefined | string"
|
|
2398
|
+
},
|
|
2399
|
+
"description": "Initial main-axis size: `\"280px\"` (fixed) or `\"25%\"`/`25` (percent). Omitted → flexible.",
|
|
2362
2400
|
"privacy": "public"
|
|
2363
2401
|
},
|
|
2364
2402
|
{
|
|
2365
2403
|
"kind": "field",
|
|
2366
|
-
"name": "
|
|
2404
|
+
"name": "min",
|
|
2367
2405
|
"type": {
|
|
2368
2406
|
"text": "undefined | string"
|
|
2369
2407
|
},
|
|
2370
|
-
"description": "
|
|
2408
|
+
"description": "Minimum size during resize (px or %).",
|
|
2371
2409
|
"privacy": "public"
|
|
2372
2410
|
},
|
|
2373
2411
|
{
|
|
2374
2412
|
"kind": "field",
|
|
2375
|
-
"name": "
|
|
2413
|
+
"name": "max",
|
|
2376
2414
|
"type": {
|
|
2377
|
-
"text": "undefined |
|
|
2415
|
+
"text": "undefined | string"
|
|
2378
2416
|
},
|
|
2379
|
-
"description": "
|
|
2417
|
+
"description": "Maximum size during resize (px or %).",
|
|
2380
2418
|
"privacy": "public"
|
|
2381
2419
|
},
|
|
2382
2420
|
{
|
|
2383
2421
|
"kind": "field",
|
|
2384
|
-
"name": "
|
|
2422
|
+
"name": "locked",
|
|
2385
2423
|
"type": {
|
|
2386
2424
|
"text": "undefined | false | true"
|
|
2387
2425
|
},
|
|
2388
|
-
"description": "
|
|
2426
|
+
"description": "Fix this panel's size; adjacent dividers become non-draggable.",
|
|
2389
2427
|
"privacy": "public"
|
|
2390
2428
|
},
|
|
2391
2429
|
{
|
|
2392
2430
|
"kind": "field",
|
|
2393
|
-
"name": "
|
|
2431
|
+
"name": "hidden",
|
|
2394
2432
|
"type": {
|
|
2395
2433
|
"text": "undefined | false | true"
|
|
2396
2434
|
},
|
|
2397
|
-
"description": "
|
|
2435
|
+
"description": "Hide this panel; its divider is dropped and the rest reflow.",
|
|
2398
2436
|
"privacy": "public"
|
|
2399
2437
|
}
|
|
2400
2438
|
],
|
|
@@ -2407,61 +2445,62 @@
|
|
|
2407
2445
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2408
2446
|
},
|
|
2409
2447
|
{
|
|
2410
|
-
"name": "
|
|
2411
|
-
"fieldName": "
|
|
2448
|
+
"name": "size",
|
|
2449
|
+
"fieldName": "size",
|
|
2412
2450
|
"type": {
|
|
2413
|
-
"text": "string"
|
|
2451
|
+
"text": "undefined | string"
|
|
2414
2452
|
},
|
|
2415
|
-
"description": "
|
|
2453
|
+
"description": "Initial main-axis size: `\"280px\"` (fixed) or `\"25%\"`/`25` (percent). Omitted → flexible."
|
|
2416
2454
|
},
|
|
2417
2455
|
{
|
|
2418
|
-
"name": "
|
|
2419
|
-
"fieldName": "
|
|
2456
|
+
"name": "min",
|
|
2457
|
+
"fieldName": "min",
|
|
2420
2458
|
"type": {
|
|
2421
2459
|
"text": "undefined | string"
|
|
2422
2460
|
},
|
|
2423
|
-
"description": "
|
|
2461
|
+
"description": "Minimum size during resize (px or %)."
|
|
2424
2462
|
},
|
|
2425
2463
|
{
|
|
2426
|
-
"name": "
|
|
2427
|
-
"fieldName": "
|
|
2464
|
+
"name": "max",
|
|
2465
|
+
"fieldName": "max",
|
|
2428
2466
|
"type": {
|
|
2429
|
-
"text": "undefined |
|
|
2467
|
+
"text": "undefined | string"
|
|
2430
2468
|
},
|
|
2431
|
-
"description": "
|
|
2469
|
+
"description": "Maximum size during resize (px or %)."
|
|
2432
2470
|
},
|
|
2433
2471
|
{
|
|
2434
|
-
"name": "
|
|
2435
|
-
"fieldName": "
|
|
2472
|
+
"name": "locked",
|
|
2473
|
+
"fieldName": "locked",
|
|
2436
2474
|
"type": {
|
|
2437
2475
|
"text": "undefined | false | true"
|
|
2438
2476
|
},
|
|
2439
|
-
"description": "
|
|
2477
|
+
"description": "Fix this panel's size; adjacent dividers become non-draggable."
|
|
2440
2478
|
},
|
|
2441
2479
|
{
|
|
2442
|
-
"name": "
|
|
2443
|
-
"fieldName": "
|
|
2480
|
+
"name": "hidden",
|
|
2481
|
+
"fieldName": "hidden",
|
|
2444
2482
|
"type": {
|
|
2445
2483
|
"text": "undefined | false | true"
|
|
2446
2484
|
},
|
|
2447
|
-
"description": "
|
|
2485
|
+
"description": "Hide this panel; its divider is dropped and the rest reflow."
|
|
2448
2486
|
}
|
|
2449
2487
|
],
|
|
2450
2488
|
"events": [
|
|
2451
2489
|
{
|
|
2452
|
-
"name": "
|
|
2490
|
+
"name": "change",
|
|
2453
2491
|
"type": {
|
|
2454
|
-
"text": "CustomEvent<
|
|
2492
|
+
"text": "CustomEvent<unknown>"
|
|
2455
2493
|
},
|
|
2456
|
-
"description": "
|
|
2494
|
+
"description": ""
|
|
2457
2495
|
}
|
|
2458
|
-
]
|
|
2496
|
+
],
|
|
2497
|
+
"cssProperties": []
|
|
2459
2498
|
},
|
|
2460
2499
|
{
|
|
2461
2500
|
"kind": "class",
|
|
2462
2501
|
"customElement": true,
|
|
2463
|
-
"tagName": "
|
|
2464
|
-
"name": "
|
|
2502
|
+
"tagName": "kc-response-stream",
|
|
2503
|
+
"name": "KcResponseStreamElement",
|
|
2465
2504
|
"description": "",
|
|
2466
2505
|
"members": [
|
|
2467
2506
|
{
|
|
@@ -2542,13 +2581,106 @@
|
|
|
2542
2581
|
},
|
|
2543
2582
|
"description": "Streaming finished."
|
|
2544
2583
|
}
|
|
2545
|
-
]
|
|
2584
|
+
],
|
|
2585
|
+
"cssProperties": []
|
|
2586
|
+
},
|
|
2587
|
+
{
|
|
2588
|
+
"kind": "class",
|
|
2589
|
+
"customElement": true,
|
|
2590
|
+
"tagName": "kc-scope-picker",
|
|
2591
|
+
"name": "KcScopePickerElement",
|
|
2592
|
+
"description": "",
|
|
2593
|
+
"members": [
|
|
2594
|
+
{
|
|
2595
|
+
"kind": "field",
|
|
2596
|
+
"name": "availableAuthors",
|
|
2597
|
+
"type": {
|
|
2598
|
+
"text": "string[]"
|
|
2599
|
+
},
|
|
2600
|
+
"description": "Authors to offer as scope filters. Set as a JS property.",
|
|
2601
|
+
"privacy": "public"
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"kind": "field",
|
|
2605
|
+
"name": "availableTags",
|
|
2606
|
+
"type": {
|
|
2607
|
+
"text": "string[]"
|
|
2608
|
+
},
|
|
2609
|
+
"description": "Tags to offer as scope filters. Set as a JS property.",
|
|
2610
|
+
"privacy": "public"
|
|
2611
|
+
},
|
|
2612
|
+
{
|
|
2613
|
+
"kind": "field",
|
|
2614
|
+
"name": "currentLabel",
|
|
2615
|
+
"type": {
|
|
2616
|
+
"text": "undefined | string"
|
|
2617
|
+
},
|
|
2618
|
+
"description": "The label shown on the trigger for the active scope.",
|
|
2619
|
+
"privacy": "public"
|
|
2620
|
+
}
|
|
2621
|
+
],
|
|
2622
|
+
"attributes": [
|
|
2623
|
+
{
|
|
2624
|
+
"name": "theme",
|
|
2625
|
+
"type": {
|
|
2626
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
2627
|
+
},
|
|
2628
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
"name": "current-label",
|
|
2632
|
+
"fieldName": "currentLabel",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "undefined | string"
|
|
2635
|
+
},
|
|
2636
|
+
"description": "The label shown on the trigger for the active scope."
|
|
2637
|
+
}
|
|
2638
|
+
],
|
|
2639
|
+
"events": [
|
|
2640
|
+
{
|
|
2641
|
+
"name": "scopechange",
|
|
2642
|
+
"type": {
|
|
2643
|
+
"text": "CustomEvent<{ filters: undefined | { tags?: undefined | string[]; authors?: undefined | string[]; contentType?: undefined | \"transcript\" | \"markdown\"; dateRange?: undefined | { from: string; to: string } } }>"
|
|
2644
|
+
},
|
|
2645
|
+
"description": "A scope was chosen (`undefined` filters = \"All Content\")."
|
|
2646
|
+
}
|
|
2647
|
+
],
|
|
2648
|
+
"cssProperties": []
|
|
2649
|
+
},
|
|
2650
|
+
{
|
|
2651
|
+
"kind": "class",
|
|
2652
|
+
"customElement": true,
|
|
2653
|
+
"tagName": "kc-skills",
|
|
2654
|
+
"name": "KcSkillsElement",
|
|
2655
|
+
"description": "",
|
|
2656
|
+
"members": [
|
|
2657
|
+
{
|
|
2658
|
+
"kind": "field",
|
|
2659
|
+
"name": "skills",
|
|
2660
|
+
"type": {
|
|
2661
|
+
"text": "{ id: string; name: string }[]"
|
|
2662
|
+
},
|
|
2663
|
+
"description": "The active skills to badge. Set as a JS property.",
|
|
2664
|
+
"privacy": "public"
|
|
2665
|
+
}
|
|
2666
|
+
],
|
|
2667
|
+
"attributes": [
|
|
2668
|
+
{
|
|
2669
|
+
"name": "theme",
|
|
2670
|
+
"type": {
|
|
2671
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
2672
|
+
},
|
|
2673
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2674
|
+
}
|
|
2675
|
+
],
|
|
2676
|
+
"events": [],
|
|
2677
|
+
"cssProperties": []
|
|
2546
2678
|
},
|
|
2547
2679
|
{
|
|
2548
2680
|
"kind": "class",
|
|
2549
2681
|
"customElement": true,
|
|
2550
|
-
"tagName": "
|
|
2551
|
-
"name": "
|
|
2682
|
+
"tagName": "kc-source",
|
|
2683
|
+
"name": "KcSourceElement",
|
|
2552
2684
|
"description": "",
|
|
2553
2685
|
"members": [
|
|
2554
2686
|
{
|
|
@@ -2646,13 +2778,14 @@
|
|
|
2646
2778
|
"description": "Show the source's favicon next to the trigger label."
|
|
2647
2779
|
}
|
|
2648
2780
|
],
|
|
2649
|
-
"events": []
|
|
2781
|
+
"events": [],
|
|
2782
|
+
"cssProperties": []
|
|
2650
2783
|
},
|
|
2651
2784
|
{
|
|
2652
2785
|
"kind": "class",
|
|
2653
2786
|
"customElement": true,
|
|
2654
|
-
"tagName": "
|
|
2655
|
-
"name": "
|
|
2787
|
+
"tagName": "kc-sources",
|
|
2788
|
+
"name": "KcSourcesElement",
|
|
2656
2789
|
"description": "",
|
|
2657
2790
|
"members": [
|
|
2658
2791
|
{
|
|
@@ -2691,47 +2824,216 @@
|
|
|
2691
2824
|
"description": "Show favicons on all items (per-item `showFavicon` overrides)."
|
|
2692
2825
|
}
|
|
2693
2826
|
],
|
|
2694
|
-
"events": []
|
|
2827
|
+
"events": [],
|
|
2828
|
+
"cssProperties": []
|
|
2695
2829
|
},
|
|
2696
2830
|
{
|
|
2697
2831
|
"kind": "class",
|
|
2698
2832
|
"customElement": true,
|
|
2699
|
-
"tagName": "
|
|
2700
|
-
"name": "
|
|
2833
|
+
"tagName": "kc-suggestions",
|
|
2834
|
+
"name": "KcSuggestionsElement",
|
|
2701
2835
|
"description": "",
|
|
2702
2836
|
"members": [
|
|
2703
2837
|
{
|
|
2704
2838
|
"kind": "field",
|
|
2705
|
-
"name": "
|
|
2839
|
+
"name": "suggestions",
|
|
2706
2840
|
"type": {
|
|
2707
|
-
"text": "undefined | string"
|
|
2841
|
+
"text": "(string | { label: string; value?: undefined | string })[]"
|
|
2708
2842
|
},
|
|
2709
|
-
"description": "The text
|
|
2843
|
+
"description": "The suggestions. Strings, or `{ label, value }` when the displayed text and the emitted value differ. Set as a JS property.",
|
|
2710
2844
|
"privacy": "public"
|
|
2711
2845
|
},
|
|
2712
2846
|
{
|
|
2713
2847
|
"kind": "field",
|
|
2714
|
-
"name": "
|
|
2848
|
+
"name": "variant",
|
|
2715
2849
|
"type": {
|
|
2716
|
-
"text": "undefined |
|
|
2850
|
+
"text": "undefined | \"ghost\" | \"default\" | \"outline\""
|
|
2717
2851
|
},
|
|
2718
|
-
"description": "
|
|
2852
|
+
"description": "Chip style: `'outline'` (default), `'ghost'`, or `'default'` (filled).",
|
|
2719
2853
|
"privacy": "public"
|
|
2720
2854
|
},
|
|
2721
2855
|
{
|
|
2722
2856
|
"kind": "field",
|
|
2723
|
-
"name": "
|
|
2857
|
+
"name": "size",
|
|
2724
2858
|
"type": {
|
|
2725
|
-
"text": "undefined |
|
|
2859
|
+
"text": "undefined | \"sm\" | \"lg\" | \"md\" | \"icon\" | \"icon-sm\""
|
|
2726
2860
|
},
|
|
2727
|
-
"description": "
|
|
2861
|
+
"description": "Size preset for each chip. Defaults to the pill default (`'lg'`); pass `'sm'` for smaller pills (or `'md'`).",
|
|
2728
2862
|
"privacy": "public"
|
|
2729
2863
|
},
|
|
2730
2864
|
{
|
|
2731
2865
|
"kind": "field",
|
|
2732
|
-
"name": "
|
|
2866
|
+
"name": "block",
|
|
2733
2867
|
"type": {
|
|
2734
|
-
"text": "undefined |
|
|
2868
|
+
"text": "undefined | false | true"
|
|
2869
|
+
},
|
|
2870
|
+
"description": "Full-width left-aligned rows instead of pills.",
|
|
2871
|
+
"privacy": "public"
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"kind": "field",
|
|
2875
|
+
"name": "highlight",
|
|
2876
|
+
"type": {
|
|
2877
|
+
"text": "undefined | string"
|
|
2878
|
+
},
|
|
2879
|
+
"description": "Substring to highlight within each suggestion.",
|
|
2880
|
+
"privacy": "public"
|
|
2881
|
+
}
|
|
2882
|
+
],
|
|
2883
|
+
"attributes": [
|
|
2884
|
+
{
|
|
2885
|
+
"name": "theme",
|
|
2886
|
+
"type": {
|
|
2887
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
2888
|
+
},
|
|
2889
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2890
|
+
},
|
|
2891
|
+
{
|
|
2892
|
+
"name": "variant",
|
|
2893
|
+
"fieldName": "variant",
|
|
2894
|
+
"type": {
|
|
2895
|
+
"text": "undefined | \"ghost\" | \"default\" | \"outline\""
|
|
2896
|
+
},
|
|
2897
|
+
"description": "Chip style: `'outline'` (default), `'ghost'`, or `'default'` (filled)."
|
|
2898
|
+
},
|
|
2899
|
+
{
|
|
2900
|
+
"name": "size",
|
|
2901
|
+
"fieldName": "size",
|
|
2902
|
+
"type": {
|
|
2903
|
+
"text": "undefined | \"sm\" | \"lg\" | \"md\" | \"icon\" | \"icon-sm\""
|
|
2904
|
+
},
|
|
2905
|
+
"description": "Size preset for each chip. Defaults to the pill default (`'lg'`); pass `'sm'` for smaller pills (or `'md'`)."
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"name": "block",
|
|
2909
|
+
"fieldName": "block",
|
|
2910
|
+
"type": {
|
|
2911
|
+
"text": "undefined | false | true"
|
|
2912
|
+
},
|
|
2913
|
+
"description": "Full-width left-aligned rows instead of pills."
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"name": "highlight",
|
|
2917
|
+
"fieldName": "highlight",
|
|
2918
|
+
"type": {
|
|
2919
|
+
"text": "undefined | string"
|
|
2920
|
+
},
|
|
2921
|
+
"description": "Substring to highlight within each suggestion."
|
|
2922
|
+
}
|
|
2923
|
+
],
|
|
2924
|
+
"events": [
|
|
2925
|
+
{
|
|
2926
|
+
"name": "select",
|
|
2927
|
+
"type": {
|
|
2928
|
+
"text": "CustomEvent<{ value: string }>"
|
|
2929
|
+
},
|
|
2930
|
+
"description": "A suggestion was clicked."
|
|
2931
|
+
}
|
|
2932
|
+
],
|
|
2933
|
+
"cssProperties": []
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"kind": "class",
|
|
2937
|
+
"customElement": true,
|
|
2938
|
+
"tagName": "kc-task-list",
|
|
2939
|
+
"name": "KcTaskListElement",
|
|
2940
|
+
"description": "",
|
|
2941
|
+
"members": [
|
|
2942
|
+
{
|
|
2943
|
+
"kind": "field",
|
|
2944
|
+
"name": "data",
|
|
2945
|
+
"type": {
|
|
2946
|
+
"text": "undefined | Record<string, unknown>"
|
|
2947
|
+
},
|
|
2948
|
+
"description": "The task-list definition (the CardEnvelope.data). Set as a JS PROPERTY: `el.data = { tasks:[…], selectAll, confirmLabel, … }`. Import `TaskListCardData` from `@kitnai/chat` for the full shape.",
|
|
2949
|
+
"privacy": "public"
|
|
2950
|
+
},
|
|
2951
|
+
{
|
|
2952
|
+
"kind": "field",
|
|
2953
|
+
"name": "cardId",
|
|
2954
|
+
"type": {
|
|
2955
|
+
"text": "undefined | string"
|
|
2956
|
+
},
|
|
2957
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`.",
|
|
2958
|
+
"privacy": "public"
|
|
2959
|
+
},
|
|
2960
|
+
{
|
|
2961
|
+
"kind": "field",
|
|
2962
|
+
"name": "heading",
|
|
2963
|
+
"type": {
|
|
2964
|
+
"text": "undefined | string"
|
|
2965
|
+
},
|
|
2966
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`.",
|
|
2967
|
+
"privacy": "public"
|
|
2968
|
+
}
|
|
2969
|
+
],
|
|
2970
|
+
"attributes": [
|
|
2971
|
+
{
|
|
2972
|
+
"name": "theme",
|
|
2973
|
+
"type": {
|
|
2974
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
2975
|
+
},
|
|
2976
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"name": "card-id",
|
|
2980
|
+
"fieldName": "cardId",
|
|
2981
|
+
"type": {
|
|
2982
|
+
"text": "undefined | string"
|
|
2983
|
+
},
|
|
2984
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`."
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"name": "heading",
|
|
2988
|
+
"fieldName": "heading",
|
|
2989
|
+
"type": {
|
|
2990
|
+
"text": "undefined | string"
|
|
2991
|
+
},
|
|
2992
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`."
|
|
2993
|
+
}
|
|
2994
|
+
],
|
|
2995
|
+
"events": [],
|
|
2996
|
+
"cssProperties": []
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
"kind": "class",
|
|
3000
|
+
"customElement": true,
|
|
3001
|
+
"tagName": "kc-text-shimmer",
|
|
3002
|
+
"name": "KcTextShimmerElement",
|
|
3003
|
+
"description": "",
|
|
3004
|
+
"members": [
|
|
3005
|
+
{
|
|
3006
|
+
"kind": "field",
|
|
3007
|
+
"name": "text",
|
|
3008
|
+
"type": {
|
|
3009
|
+
"text": "undefined | string"
|
|
3010
|
+
},
|
|
3011
|
+
"description": "The text to shimmer.",
|
|
3012
|
+
"privacy": "public"
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
"kind": "field",
|
|
3016
|
+
"name": "as",
|
|
3017
|
+
"type": {
|
|
3018
|
+
"text": "undefined | string"
|
|
3019
|
+
},
|
|
3020
|
+
"description": "Element tag to render as (default `span`).",
|
|
3021
|
+
"privacy": "public"
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"kind": "field",
|
|
3025
|
+
"name": "duration",
|
|
3026
|
+
"type": {
|
|
3027
|
+
"text": "undefined | number"
|
|
3028
|
+
},
|
|
3029
|
+
"description": "Animation duration in seconds.",
|
|
3030
|
+
"privacy": "public"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"kind": "field",
|
|
3034
|
+
"name": "spread",
|
|
3035
|
+
"type": {
|
|
3036
|
+
"text": "undefined | number"
|
|
2735
3037
|
},
|
|
2736
3038
|
"description": "Gradient spread (5–45).",
|
|
2737
3039
|
"privacy": "public"
|
|
@@ -2778,13 +3080,14 @@
|
|
|
2778
3080
|
"description": "Gradient spread (5–45)."
|
|
2779
3081
|
}
|
|
2780
3082
|
],
|
|
2781
|
-
"events": []
|
|
3083
|
+
"events": [],
|
|
3084
|
+
"cssProperties": []
|
|
2782
3085
|
},
|
|
2783
3086
|
{
|
|
2784
3087
|
"kind": "class",
|
|
2785
3088
|
"customElement": true,
|
|
2786
|
-
"tagName": "
|
|
2787
|
-
"name": "
|
|
3089
|
+
"tagName": "kc-thinking-bar",
|
|
3090
|
+
"name": "KcThinkingBarElement",
|
|
2788
3091
|
"description": "",
|
|
2789
3092
|
"members": [
|
|
2790
3093
|
{
|
|
@@ -2856,13 +3159,14 @@
|
|
|
2856
3159
|
},
|
|
2857
3160
|
"description": "The \"stop / answer now\" affordance was clicked."
|
|
2858
3161
|
}
|
|
2859
|
-
]
|
|
3162
|
+
],
|
|
3163
|
+
"cssProperties": []
|
|
2860
3164
|
},
|
|
2861
3165
|
{
|
|
2862
3166
|
"kind": "class",
|
|
2863
3167
|
"customElement": true,
|
|
2864
|
-
"tagName": "
|
|
2865
|
-
"name": "
|
|
3168
|
+
"tagName": "kc-tool",
|
|
3169
|
+
"name": "KcToolElement",
|
|
2866
3170
|
"description": "",
|
|
2867
3171
|
"members": [
|
|
2868
3172
|
{
|
|
@@ -2901,13 +3205,27 @@
|
|
|
2901
3205
|
"description": "Start expanded."
|
|
2902
3206
|
}
|
|
2903
3207
|
],
|
|
2904
|
-
"events": []
|
|
3208
|
+
"events": [],
|
|
3209
|
+
"cssProperties": [
|
|
3210
|
+
{
|
|
3211
|
+
"name": "--color-tool-blue"
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"name": "--color-tool-amber"
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"name": "--color-tool-green"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"name": "--color-tool-red"
|
|
3221
|
+
}
|
|
3222
|
+
]
|
|
2905
3223
|
},
|
|
2906
3224
|
{
|
|
2907
3225
|
"kind": "class",
|
|
2908
3226
|
"customElement": true,
|
|
2909
|
-
"tagName": "
|
|
2910
|
-
"name": "
|
|
3227
|
+
"tagName": "kc-voice-input",
|
|
3228
|
+
"name": "KcVoiceInputElement",
|
|
2911
3229
|
"description": "",
|
|
2912
3230
|
"members": [
|
|
2913
3231
|
{
|
|
@@ -2961,7 +3279,484 @@
|
|
|
2961
3279
|
},
|
|
2962
3280
|
"description": "Transcription completed (the `transcribe` property resolved)."
|
|
2963
3281
|
}
|
|
2964
|
-
]
|
|
3282
|
+
],
|
|
3283
|
+
"cssProperties": []
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"kind": "class",
|
|
3287
|
+
"customElement": true,
|
|
3288
|
+
"tagName": "kc-workspace",
|
|
3289
|
+
"name": "KcWorkspaceElement",
|
|
3290
|
+
"description": "",
|
|
3291
|
+
"members": [
|
|
3292
|
+
{
|
|
3293
|
+
"kind": "field",
|
|
3294
|
+
"name": "groups",
|
|
3295
|
+
"type": {
|
|
3296
|
+
"text": "{ id: string; userId?: undefined | string; teamId?: undefined | string; name: string; sortOrder: number; createdAt: string }[]"
|
|
3297
|
+
},
|
|
3298
|
+
"description": "Pre-bucketed conversation groups for the sidebar. Set as a JS property.",
|
|
3299
|
+
"privacy": "public"
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"kind": "field",
|
|
3303
|
+
"name": "conversations",
|
|
3304
|
+
"type": {
|
|
3305
|
+
"text": "{ id: string; title: string; groupId?: undefined | string; scope: { type: \"document\" | \"collection\"; documentId?: undefined | string; filters?: undefined | { tags?: undefined | string[]; authors?: undefined | string[]; contentType?: undefined | \"transcript\" | \"markdown\"; dateRange?: undefined | { from: string; to: string } } }; messageCount: number; lastMessageAt: string; updatedAt: string }[]"
|
|
3306
|
+
},
|
|
3307
|
+
"description": "Flat conversation list (auto-bucketed if `groups` is empty). Set as a JS property.",
|
|
3308
|
+
"privacy": "public"
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
"kind": "field",
|
|
3312
|
+
"name": "activeId",
|
|
3313
|
+
"type": {
|
|
3314
|
+
"text": "undefined | string"
|
|
3315
|
+
},
|
|
3316
|
+
"description": "Id of the open conversation, highlighted in the sidebar.",
|
|
3317
|
+
"privacy": "public"
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"kind": "field",
|
|
3321
|
+
"name": "messages",
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "{ id: string; role: \"user\" | \"assistant\"; content: string; reasoning?: undefined | { text: string; label?: undefined | string }; tools?: undefined | { type: string; state: \"input-streaming\" | \"input-available\" | \"output-available\" | \"output-error\"; input?: undefined | Record<string, unknown>; output?: undefined | Record<string, unknown>; toolCallId?: undefined | string; errorText?: undefined | string }[]; attachments?: undefined | { id: string; type: \"file\" | \"source-document\"; filename?: undefined | string; mediaType?: undefined | string; url?: undefined | string; title?: undefined | string }[]; actions?: undefined | (\"copy\" | \"like\" | \"dislike\" | \"regenerate\" | \"edit\")[] }[]"
|
|
3324
|
+
},
|
|
3325
|
+
"description": "The active conversation's message thread, newest last. Set as a JS property.",
|
|
3326
|
+
"privacy": "public"
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
"kind": "field",
|
|
3330
|
+
"name": "value",
|
|
3331
|
+
"type": {
|
|
3332
|
+
"text": "undefined | string"
|
|
3333
|
+
},
|
|
3334
|
+
"description": "",
|
|
3335
|
+
"privacy": "public"
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"kind": "field",
|
|
3339
|
+
"name": "placeholder",
|
|
3340
|
+
"type": {
|
|
3341
|
+
"text": "undefined | string"
|
|
3342
|
+
},
|
|
3343
|
+
"description": "",
|
|
3344
|
+
"privacy": "public"
|
|
3345
|
+
},
|
|
3346
|
+
{
|
|
3347
|
+
"kind": "field",
|
|
3348
|
+
"name": "loading",
|
|
3349
|
+
"type": {
|
|
3350
|
+
"text": "undefined | false | true"
|
|
3351
|
+
},
|
|
3352
|
+
"description": "",
|
|
3353
|
+
"privacy": "public"
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
"kind": "field",
|
|
3357
|
+
"name": "suggestions",
|
|
3358
|
+
"type": {
|
|
3359
|
+
"text": "undefined | string[]"
|
|
3360
|
+
},
|
|
3361
|
+
"description": "",
|
|
3362
|
+
"privacy": "public"
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
"kind": "field",
|
|
3366
|
+
"name": "suggestionMode",
|
|
3367
|
+
"type": {
|
|
3368
|
+
"text": "undefined | \"submit\" | \"fill\""
|
|
3369
|
+
},
|
|
3370
|
+
"description": "",
|
|
3371
|
+
"privacy": "public"
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"kind": "field",
|
|
3375
|
+
"name": "proseSize",
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
3378
|
+
},
|
|
3379
|
+
"description": "",
|
|
3380
|
+
"privacy": "public"
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
"kind": "field",
|
|
3384
|
+
"name": "codeTheme",
|
|
3385
|
+
"type": {
|
|
3386
|
+
"text": "undefined | string"
|
|
3387
|
+
},
|
|
3388
|
+
"description": "",
|
|
3389
|
+
"privacy": "public"
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"kind": "field",
|
|
3393
|
+
"name": "codeHighlight",
|
|
3394
|
+
"type": {
|
|
3395
|
+
"text": "undefined | false | true"
|
|
3396
|
+
},
|
|
3397
|
+
"description": "",
|
|
3398
|
+
"privacy": "public"
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
"kind": "field",
|
|
3402
|
+
"name": "chatTitle",
|
|
3403
|
+
"type": {
|
|
3404
|
+
"text": "undefined | string"
|
|
3405
|
+
},
|
|
3406
|
+
"description": "",
|
|
3407
|
+
"privacy": "public"
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
"kind": "field",
|
|
3411
|
+
"name": "models",
|
|
3412
|
+
"type": {
|
|
3413
|
+
"text": "undefined | { id: string; name: string; provider?: undefined | string }[]"
|
|
3414
|
+
},
|
|
3415
|
+
"description": "",
|
|
3416
|
+
"privacy": "public"
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
"kind": "field",
|
|
3420
|
+
"name": "currentModel",
|
|
3421
|
+
"type": {
|
|
3422
|
+
"text": "undefined | string"
|
|
3423
|
+
},
|
|
3424
|
+
"description": "",
|
|
3425
|
+
"privacy": "public"
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"kind": "field",
|
|
3429
|
+
"name": "context",
|
|
3430
|
+
"type": {
|
|
3431
|
+
"text": "undefined | { usedTokens: number; maxTokens: number; inputTokens?: undefined | number; outputTokens?: undefined | number; estimatedCost?: undefined | number }"
|
|
3432
|
+
},
|
|
3433
|
+
"description": "",
|
|
3434
|
+
"privacy": "public"
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"kind": "field",
|
|
3438
|
+
"name": "scrollButton",
|
|
3439
|
+
"type": {
|
|
3440
|
+
"text": "undefined | false | true"
|
|
3441
|
+
},
|
|
3442
|
+
"description": "",
|
|
3443
|
+
"privacy": "public"
|
|
3444
|
+
},
|
|
3445
|
+
{
|
|
3446
|
+
"kind": "field",
|
|
3447
|
+
"name": "search",
|
|
3448
|
+
"type": {
|
|
3449
|
+
"text": "undefined | false | true"
|
|
3450
|
+
},
|
|
3451
|
+
"description": "",
|
|
3452
|
+
"privacy": "public"
|
|
3453
|
+
},
|
|
3454
|
+
{
|
|
3455
|
+
"kind": "field",
|
|
3456
|
+
"name": "voice",
|
|
3457
|
+
"type": {
|
|
3458
|
+
"text": "undefined | false | true"
|
|
3459
|
+
},
|
|
3460
|
+
"description": "",
|
|
3461
|
+
"privacy": "public"
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
"kind": "field",
|
|
3465
|
+
"name": "slashCommands",
|
|
3466
|
+
"type": {
|
|
3467
|
+
"text": "undefined | { id: string; label: string; description?: undefined | string; category?: undefined | string }[]"
|
|
3468
|
+
},
|
|
3469
|
+
"description": "",
|
|
3470
|
+
"privacy": "public"
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "field",
|
|
3474
|
+
"name": "slashActiveIds",
|
|
3475
|
+
"type": {
|
|
3476
|
+
"text": "undefined | string[]"
|
|
3477
|
+
},
|
|
3478
|
+
"description": "",
|
|
3479
|
+
"privacy": "public"
|
|
3480
|
+
},
|
|
3481
|
+
{
|
|
3482
|
+
"kind": "field",
|
|
3483
|
+
"name": "slashCompact",
|
|
3484
|
+
"type": {
|
|
3485
|
+
"text": "undefined | false | true"
|
|
3486
|
+
},
|
|
3487
|
+
"description": "",
|
|
3488
|
+
"privacy": "public"
|
|
3489
|
+
},
|
|
3490
|
+
{
|
|
3491
|
+
"kind": "field",
|
|
3492
|
+
"name": "sidebarWidth",
|
|
3493
|
+
"type": {
|
|
3494
|
+
"text": "undefined | number"
|
|
3495
|
+
},
|
|
3496
|
+
"description": "Sidebar default width as a percent of the workspace (default 22).",
|
|
3497
|
+
"privacy": "public"
|
|
3498
|
+
},
|
|
3499
|
+
{
|
|
3500
|
+
"kind": "field",
|
|
3501
|
+
"name": "sidebarMinWidth",
|
|
3502
|
+
"type": {
|
|
3503
|
+
"text": "undefined | number"
|
|
3504
|
+
},
|
|
3505
|
+
"description": "Sidebar min width in px (default 200).",
|
|
3506
|
+
"privacy": "public"
|
|
3507
|
+
},
|
|
3508
|
+
{
|
|
3509
|
+
"kind": "field",
|
|
3510
|
+
"name": "sidebarMaxWidth",
|
|
3511
|
+
"type": {
|
|
3512
|
+
"text": "undefined | number"
|
|
3513
|
+
},
|
|
3514
|
+
"description": "Sidebar max width in px (default 420).",
|
|
3515
|
+
"privacy": "public"
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"kind": "field",
|
|
3519
|
+
"name": "sidebarCollapsed",
|
|
3520
|
+
"type": {
|
|
3521
|
+
"text": "undefined | false | true"
|
|
3522
|
+
},
|
|
3523
|
+
"description": "Initial collapsed state of the sidebar (default false).",
|
|
3524
|
+
"privacy": "public"
|
|
3525
|
+
}
|
|
3526
|
+
],
|
|
3527
|
+
"attributes": [
|
|
3528
|
+
{
|
|
3529
|
+
"name": "theme",
|
|
3530
|
+
"type": {
|
|
3531
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
3532
|
+
},
|
|
3533
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
3534
|
+
},
|
|
3535
|
+
{
|
|
3536
|
+
"name": "active-id",
|
|
3537
|
+
"fieldName": "activeId",
|
|
3538
|
+
"type": {
|
|
3539
|
+
"text": "undefined | string"
|
|
3540
|
+
},
|
|
3541
|
+
"description": "Id of the open conversation, highlighted in the sidebar."
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
"name": "value",
|
|
3545
|
+
"fieldName": "value",
|
|
3546
|
+
"type": {
|
|
3547
|
+
"text": "undefined | string"
|
|
3548
|
+
},
|
|
3549
|
+
"description": ""
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
"name": "placeholder",
|
|
3553
|
+
"fieldName": "placeholder",
|
|
3554
|
+
"type": {
|
|
3555
|
+
"text": "undefined | string"
|
|
3556
|
+
},
|
|
3557
|
+
"description": ""
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"name": "loading",
|
|
3561
|
+
"fieldName": "loading",
|
|
3562
|
+
"type": {
|
|
3563
|
+
"text": "undefined | false | true"
|
|
3564
|
+
},
|
|
3565
|
+
"description": ""
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"name": "suggestion-mode",
|
|
3569
|
+
"fieldName": "suggestionMode",
|
|
3570
|
+
"type": {
|
|
3571
|
+
"text": "undefined | \"submit\" | \"fill\""
|
|
3572
|
+
},
|
|
3573
|
+
"description": ""
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"name": "prose-size",
|
|
3577
|
+
"fieldName": "proseSize",
|
|
3578
|
+
"type": {
|
|
3579
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
3580
|
+
},
|
|
3581
|
+
"description": ""
|
|
3582
|
+
},
|
|
3583
|
+
{
|
|
3584
|
+
"name": "code-theme",
|
|
3585
|
+
"fieldName": "codeTheme",
|
|
3586
|
+
"type": {
|
|
3587
|
+
"text": "undefined | string"
|
|
3588
|
+
},
|
|
3589
|
+
"description": ""
|
|
3590
|
+
},
|
|
3591
|
+
{
|
|
3592
|
+
"name": "code-highlight",
|
|
3593
|
+
"fieldName": "codeHighlight",
|
|
3594
|
+
"type": {
|
|
3595
|
+
"text": "undefined | false | true"
|
|
3596
|
+
},
|
|
3597
|
+
"description": ""
|
|
3598
|
+
},
|
|
3599
|
+
{
|
|
3600
|
+
"name": "chat-title",
|
|
3601
|
+
"fieldName": "chatTitle",
|
|
3602
|
+
"type": {
|
|
3603
|
+
"text": "undefined | string"
|
|
3604
|
+
},
|
|
3605
|
+
"description": ""
|
|
3606
|
+
},
|
|
3607
|
+
{
|
|
3608
|
+
"name": "current-model",
|
|
3609
|
+
"fieldName": "currentModel",
|
|
3610
|
+
"type": {
|
|
3611
|
+
"text": "undefined | string"
|
|
3612
|
+
},
|
|
3613
|
+
"description": ""
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
"name": "scroll-button",
|
|
3617
|
+
"fieldName": "scrollButton",
|
|
3618
|
+
"type": {
|
|
3619
|
+
"text": "undefined | false | true"
|
|
3620
|
+
},
|
|
3621
|
+
"description": ""
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
"name": "search",
|
|
3625
|
+
"fieldName": "search",
|
|
3626
|
+
"type": {
|
|
3627
|
+
"text": "undefined | false | true"
|
|
3628
|
+
},
|
|
3629
|
+
"description": ""
|
|
3630
|
+
},
|
|
3631
|
+
{
|
|
3632
|
+
"name": "voice",
|
|
3633
|
+
"fieldName": "voice",
|
|
3634
|
+
"type": {
|
|
3635
|
+
"text": "undefined | false | true"
|
|
3636
|
+
},
|
|
3637
|
+
"description": ""
|
|
3638
|
+
},
|
|
3639
|
+
{
|
|
3640
|
+
"name": "slash-compact",
|
|
3641
|
+
"fieldName": "slashCompact",
|
|
3642
|
+
"type": {
|
|
3643
|
+
"text": "undefined | false | true"
|
|
3644
|
+
},
|
|
3645
|
+
"description": ""
|
|
3646
|
+
},
|
|
3647
|
+
{
|
|
3648
|
+
"name": "sidebar-width",
|
|
3649
|
+
"fieldName": "sidebarWidth",
|
|
3650
|
+
"type": {
|
|
3651
|
+
"text": "undefined | number"
|
|
3652
|
+
},
|
|
3653
|
+
"description": "Sidebar default width as a percent of the workspace (default 22)."
|
|
3654
|
+
},
|
|
3655
|
+
{
|
|
3656
|
+
"name": "sidebar-min-width",
|
|
3657
|
+
"fieldName": "sidebarMinWidth",
|
|
3658
|
+
"type": {
|
|
3659
|
+
"text": "undefined | number"
|
|
3660
|
+
},
|
|
3661
|
+
"description": "Sidebar min width in px (default 200)."
|
|
3662
|
+
},
|
|
3663
|
+
{
|
|
3664
|
+
"name": "sidebar-max-width",
|
|
3665
|
+
"fieldName": "sidebarMaxWidth",
|
|
3666
|
+
"type": {
|
|
3667
|
+
"text": "undefined | number"
|
|
3668
|
+
},
|
|
3669
|
+
"description": "Sidebar max width in px (default 420)."
|
|
3670
|
+
},
|
|
3671
|
+
{
|
|
3672
|
+
"name": "sidebar-collapsed",
|
|
3673
|
+
"fieldName": "sidebarCollapsed",
|
|
3674
|
+
"type": {
|
|
3675
|
+
"text": "undefined | false | true"
|
|
3676
|
+
},
|
|
3677
|
+
"description": "Initial collapsed state of the sidebar (default false)."
|
|
3678
|
+
}
|
|
3679
|
+
],
|
|
3680
|
+
"events": [
|
|
3681
|
+
{
|
|
3682
|
+
"name": "conversationselect",
|
|
3683
|
+
"type": {
|
|
3684
|
+
"text": "CustomEvent<{ id: string }>"
|
|
3685
|
+
},
|
|
3686
|
+
"description": "A conversation was selected in the sidebar."
|
|
3687
|
+
},
|
|
3688
|
+
{
|
|
3689
|
+
"name": "messageaction",
|
|
3690
|
+
"type": {
|
|
3691
|
+
"text": "CustomEvent<{ messageId: string; action: \"copy\" | \"like\" | \"dislike\" | \"regenerate\" | \"edit\" }>"
|
|
3692
|
+
},
|
|
3693
|
+
"description": "An action button on a message was clicked."
|
|
3694
|
+
},
|
|
3695
|
+
{
|
|
3696
|
+
"name": "modelchange",
|
|
3697
|
+
"type": {
|
|
3698
|
+
"text": "CustomEvent<{ modelId: string }>"
|
|
3699
|
+
},
|
|
3700
|
+
"description": "The header model switcher changed."
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
"name": "newchat",
|
|
3704
|
+
"type": {
|
|
3705
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
3706
|
+
},
|
|
3707
|
+
"description": "The \"New chat\" button was clicked."
|
|
3708
|
+
},
|
|
3709
|
+
{
|
|
3710
|
+
"name": "search",
|
|
3711
|
+
"type": {
|
|
3712
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
3713
|
+
},
|
|
3714
|
+
"description": "The Search button was clicked."
|
|
3715
|
+
},
|
|
3716
|
+
{
|
|
3717
|
+
"name": "sidebartoggle",
|
|
3718
|
+
"type": {
|
|
3719
|
+
"text": "CustomEvent<{ collapsed: false | true }>"
|
|
3720
|
+
},
|
|
3721
|
+
"description": "The sidebar was collapsed or expanded."
|
|
3722
|
+
},
|
|
3723
|
+
{
|
|
3724
|
+
"name": "slashselect",
|
|
3725
|
+
"type": {
|
|
3726
|
+
"text": "CustomEvent<{ command: { id: string; label: string; description?: undefined | string; category?: undefined | string } }>"
|
|
3727
|
+
},
|
|
3728
|
+
"description": "A slash command was chosen from the palette."
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
"name": "submit",
|
|
3732
|
+
"type": {
|
|
3733
|
+
"text": "CustomEvent<{ value: string; attachments: { id: string; type: \"file\" | \"source-document\"; filename?: undefined | string; mediaType?: undefined | string; url?: undefined | string; title?: undefined | string }[] }>"
|
|
3734
|
+
},
|
|
3735
|
+
"description": "User submitted a message."
|
|
3736
|
+
},
|
|
3737
|
+
{
|
|
3738
|
+
"name": "suggestionclick",
|
|
3739
|
+
"type": {
|
|
3740
|
+
"text": "CustomEvent<{ value: string }>"
|
|
3741
|
+
},
|
|
3742
|
+
"description": "A suggestion chip was clicked (only in `suggestion-mode=\"fill\"`)."
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
"name": "valuechange",
|
|
3746
|
+
"type": {
|
|
3747
|
+
"text": "CustomEvent<{ value: string }>"
|
|
3748
|
+
},
|
|
3749
|
+
"description": "Fired on every input change."
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"name": "voice",
|
|
3753
|
+
"type": {
|
|
3754
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
3755
|
+
},
|
|
3756
|
+
"description": "The Mic / voice button was clicked."
|
|
3757
|
+
}
|
|
3758
|
+
],
|
|
3759
|
+
"cssProperties": []
|
|
2965
3760
|
}
|
|
2966
3761
|
]
|
|
2967
3762
|
}
|