@kitnai/chat 0.7.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 +1626 -883
- package/dist/kitn-chat.es.js +36 -36
- package/dist/llms/llms-full.txt +303 -142
- 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 +356 -189
- package/frameworks/react/runtime.tsx +2 -2
- package/llms-full.txt +303 -142
- 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 -20
- 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 -22
- package/src/elements/chain-of-thought.tsx +3 -3
- package/src/elements/{kitn-chat-scope-picker.stories.tsx → chat-scope-picker.stories.tsx} +10 -19
- package/src/elements/chat-scope-picker.tsx +4 -4
- package/src/elements/{kitn-chat-workspace.stories.tsx → chat-workspace.stories.tsx} +15 -23
- package/src/elements/chat-workspace.tsx +2 -2
- package/src/elements/{kitn-chat.stories.tsx → chat.stories.tsx} +12 -20
- package/src/elements/chat.tsx +2 -2
- package/src/elements/{kitn-checkpoint.stories.tsx → checkpoint.stories.tsx} +11 -20
- package/src/elements/checkpoint.tsx +4 -4
- package/src/elements/{kitn-code-block.stories.tsx → code-block.stories.tsx} +10 -19
- 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 -19
- package/src/elements/context-meter.tsx +3 -3
- package/src/elements/{kitn-conversation-list.stories.tsx → conversation-list.stories.tsx} +12 -20
- package/src/elements/conversation-list.tsx +2 -2
- package/src/elements/css.ts +1 -1
- package/src/elements/define.tsx +10 -10
- package/src/elements/element-meta.json +1379 -733
- 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 -21
- package/src/elements/empty.tsx +3 -3
- package/src/elements/{kitn-feedback-bar.stories.tsx → feedback-bar.stories.tsx} +11 -20
- 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 -21
- 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 -19
- 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 -20
- package/src/elements/loader.tsx +3 -3
- package/src/elements/{kitn-markdown.stories.tsx → markdown.stories.tsx} +10 -19
- package/src/elements/markdown.tsx +3 -3
- package/src/elements/{kitn-message-skills.stories.tsx → message-skills.stories.tsx} +10 -19
- package/src/elements/message-skills.tsx +3 -3
- package/src/elements/{kitn-message.stories.tsx → message.stories.tsx} +12 -21
- package/src/elements/message.tsx +5 -5
- package/src/elements/{kitn-model-switcher.stories.tsx → model-switcher.stories.tsx} +10 -19
- package/src/elements/model-switcher.tsx +5 -5
- package/src/elements/{kitn-prompt-input.stories.tsx → prompt-input.stories.tsx} +14 -22
- package/src/elements/prompt-input.tsx +3 -3
- package/src/elements/{kitn-prompt-suggestions.stories.tsx → prompt-suggestions.stories.tsx} +13 -22
- package/src/elements/prompt-suggestions.tsx +4 -4
- package/src/elements/{kitn-reasoning.stories.tsx → reasoning.stories.tsx} +10 -19
- 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 -19
- package/src/elements/response-stream.tsx +4 -4
- package/src/elements/{kitn-source-list.stories.tsx → source-list.stories.tsx} +11 -20
- package/src/elements/{kitn-source.stories.tsx → source.stories.tsx} +12 -21
- 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 -19
- package/src/elements/text-shimmer.tsx +3 -3
- package/src/elements/{kitn-thinking-bar.stories.tsx → thinking-bar.stories.tsx} +11 -20
- package/src/elements/thinking-bar.tsx +5 -5
- package/src/elements/{kitn-tool.stories.tsx → tool.stories.tsx} +10 -19
- package/src/elements/tool.tsx +3 -3
- package/src/elements/{kitn-voice-input.stories.tsx → voice-input.stories.tsx} +10 -19
- 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 +32 -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
- package/src/stories/docs/element-spec.tsx +0 -86
|
@@ -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
|
{
|
|
@@ -131,8 +267,96 @@
|
|
|
131
267
|
{
|
|
132
268
|
"kind": "class",
|
|
133
269
|
"customElement": true,
|
|
134
|
-
"tagName": "
|
|
135
|
-
"name": "
|
|
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": []
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"kind": "class",
|
|
357
|
+
"customElement": true,
|
|
358
|
+
"tagName": "kc-chain-of-thought",
|
|
359
|
+
"name": "KcChainOfThoughtElement",
|
|
136
360
|
"description": "",
|
|
137
361
|
"members": [
|
|
138
362
|
{
|
|
@@ -160,8 +384,8 @@
|
|
|
160
384
|
{
|
|
161
385
|
"kind": "class",
|
|
162
386
|
"customElement": true,
|
|
163
|
-
"tagName": "
|
|
164
|
-
"name": "
|
|
387
|
+
"tagName": "kc-chat",
|
|
388
|
+
"name": "KcChatElement",
|
|
165
389
|
"description": "",
|
|
166
390
|
"members": [
|
|
167
391
|
{
|
|
@@ -512,35 +736,44 @@
|
|
|
512
736
|
{
|
|
513
737
|
"kind": "class",
|
|
514
738
|
"customElement": true,
|
|
515
|
-
"tagName": "
|
|
516
|
-
"name": "
|
|
739
|
+
"tagName": "kc-checkpoint",
|
|
740
|
+
"name": "KcCheckpointElement",
|
|
517
741
|
"description": "",
|
|
518
742
|
"members": [
|
|
519
743
|
{
|
|
520
744
|
"kind": "field",
|
|
521
|
-
"name": "
|
|
745
|
+
"name": "label",
|
|
522
746
|
"type": {
|
|
523
|
-
"text": "string
|
|
747
|
+
"text": "undefined | string"
|
|
524
748
|
},
|
|
525
|
-
"description": "
|
|
749
|
+
"description": "Optional text beside the icon.",
|
|
526
750
|
"privacy": "public"
|
|
527
751
|
},
|
|
528
752
|
{
|
|
529
753
|
"kind": "field",
|
|
530
|
-
"name": "
|
|
754
|
+
"name": "tooltip",
|
|
531
755
|
"type": {
|
|
532
|
-
"text": "string
|
|
756
|
+
"text": "undefined | string"
|
|
533
757
|
},
|
|
534
|
-
"description": "
|
|
758
|
+
"description": "Tooltip on hover.",
|
|
535
759
|
"privacy": "public"
|
|
536
760
|
},
|
|
537
761
|
{
|
|
538
762
|
"kind": "field",
|
|
539
|
-
"name": "
|
|
763
|
+
"name": "variant",
|
|
540
764
|
"type": {
|
|
541
|
-
"text": "undefined |
|
|
765
|
+
"text": "undefined | \"ghost\" | \"default\" | \"outline\""
|
|
542
766
|
},
|
|
543
|
-
"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).",
|
|
544
777
|
"privacy": "public"
|
|
545
778
|
}
|
|
546
779
|
],
|
|
@@ -553,21 +786,45 @@
|
|
|
553
786
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
554
787
|
},
|
|
555
788
|
{
|
|
556
|
-
"name": "
|
|
557
|
-
"fieldName": "
|
|
789
|
+
"name": "label",
|
|
790
|
+
"fieldName": "label",
|
|
558
791
|
"type": {
|
|
559
792
|
"text": "undefined | string"
|
|
560
793
|
},
|
|
561
|
-
"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)."
|
|
562
819
|
}
|
|
563
820
|
],
|
|
564
821
|
"events": [
|
|
565
822
|
{
|
|
566
|
-
"name": "
|
|
823
|
+
"name": "select",
|
|
567
824
|
"type": {
|
|
568
|
-
"text": "CustomEvent
|
|
825
|
+
"text": "CustomEvent"
|
|
569
826
|
},
|
|
570
|
-
"description": "
|
|
827
|
+
"description": "The checkpoint was clicked."
|
|
571
828
|
}
|
|
572
829
|
],
|
|
573
830
|
"cssProperties": []
|
|
@@ -575,242 +832,253 @@
|
|
|
575
832
|
{
|
|
576
833
|
"kind": "class",
|
|
577
834
|
"customElement": true,
|
|
578
|
-
"tagName": "
|
|
579
|
-
"name": "
|
|
835
|
+
"tagName": "kc-code-block",
|
|
836
|
+
"name": "KcCodeBlockElement",
|
|
580
837
|
"description": "",
|
|
581
838
|
"members": [
|
|
582
839
|
{
|
|
583
840
|
"kind": "field",
|
|
584
|
-
"name": "
|
|
841
|
+
"name": "code",
|
|
585
842
|
"type": {
|
|
586
|
-
"text": "
|
|
843
|
+
"text": "string"
|
|
587
844
|
},
|
|
588
|
-
"description": "
|
|
845
|
+
"description": "The source code to render.",
|
|
589
846
|
"privacy": "public"
|
|
590
847
|
},
|
|
591
848
|
{
|
|
592
849
|
"kind": "field",
|
|
593
|
-
"name": "
|
|
850
|
+
"name": "language",
|
|
594
851
|
"type": {
|
|
595
|
-
"text": "
|
|
852
|
+
"text": "undefined | string"
|
|
596
853
|
},
|
|
597
|
-
"description": "
|
|
854
|
+
"description": "Language grammar (e.g. `js`, `python`). Defaults to `tsx`.",
|
|
598
855
|
"privacy": "public"
|
|
599
856
|
},
|
|
600
857
|
{
|
|
601
858
|
"kind": "field",
|
|
602
|
-
"name": "
|
|
859
|
+
"name": "codeTheme",
|
|
603
860
|
"type": {
|
|
604
861
|
"text": "undefined | string"
|
|
605
862
|
},
|
|
606
|
-
"description": "
|
|
863
|
+
"description": "Shiki theme name.",
|
|
607
864
|
"privacy": "public"
|
|
608
865
|
},
|
|
609
866
|
{
|
|
610
867
|
"kind": "field",
|
|
611
|
-
"name": "
|
|
868
|
+
"name": "codeHighlight",
|
|
612
869
|
"type": {
|
|
613
|
-
"text": "
|
|
870
|
+
"text": "undefined | false | true"
|
|
614
871
|
},
|
|
615
|
-
"description": "
|
|
872
|
+
"description": "Disable syntax highlighting (renders plain text, no Shiki).",
|
|
616
873
|
"privacy": "public"
|
|
617
874
|
},
|
|
618
875
|
{
|
|
619
876
|
"kind": "field",
|
|
620
|
-
"name": "
|
|
877
|
+
"name": "proseSize",
|
|
621
878
|
"type": {
|
|
622
|
-
"text": "undefined |
|
|
879
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
623
880
|
},
|
|
624
|
-
"description": "",
|
|
881
|
+
"description": "Code text sizing.",
|
|
625
882
|
"privacy": "public"
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
"name": "placeholder",
|
|
630
|
-
"type": {
|
|
631
|
-
"text": "undefined | string"
|
|
632
|
-
},
|
|
633
|
-
"description": "",
|
|
634
|
-
"privacy": "public"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"kind": "field",
|
|
638
|
-
"name": "loading",
|
|
639
|
-
"type": {
|
|
640
|
-
"text": "undefined | false | true"
|
|
641
|
-
},
|
|
642
|
-
"description": "",
|
|
643
|
-
"privacy": "public"
|
|
644
|
-
},
|
|
883
|
+
}
|
|
884
|
+
],
|
|
885
|
+
"attributes": [
|
|
645
886
|
{
|
|
646
|
-
"
|
|
647
|
-
"name": "suggestions",
|
|
887
|
+
"name": "theme",
|
|
648
888
|
"type": {
|
|
649
|
-
"text": "
|
|
889
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
650
890
|
},
|
|
651
|
-
"description": ""
|
|
652
|
-
"privacy": "public"
|
|
891
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
653
892
|
},
|
|
654
893
|
{
|
|
655
|
-
"
|
|
656
|
-
"
|
|
894
|
+
"name": "code",
|
|
895
|
+
"fieldName": "code",
|
|
657
896
|
"type": {
|
|
658
|
-
"text": "
|
|
897
|
+
"text": "string"
|
|
659
898
|
},
|
|
660
|
-
"description": ""
|
|
661
|
-
"privacy": "public"
|
|
899
|
+
"description": "The source code to render."
|
|
662
900
|
},
|
|
663
901
|
{
|
|
664
|
-
"
|
|
665
|
-
"
|
|
902
|
+
"name": "language",
|
|
903
|
+
"fieldName": "language",
|
|
666
904
|
"type": {
|
|
667
|
-
"text": "undefined |
|
|
905
|
+
"text": "undefined | string"
|
|
668
906
|
},
|
|
669
|
-
"description": ""
|
|
670
|
-
"privacy": "public"
|
|
907
|
+
"description": "Language grammar (e.g. `js`, `python`). Defaults to `tsx`."
|
|
671
908
|
},
|
|
672
909
|
{
|
|
673
|
-
"
|
|
674
|
-
"
|
|
910
|
+
"name": "code-theme",
|
|
911
|
+
"fieldName": "codeTheme",
|
|
675
912
|
"type": {
|
|
676
913
|
"text": "undefined | string"
|
|
677
914
|
},
|
|
678
|
-
"description": ""
|
|
679
|
-
"privacy": "public"
|
|
915
|
+
"description": "Shiki theme name."
|
|
680
916
|
},
|
|
681
917
|
{
|
|
682
|
-
"
|
|
683
|
-
"
|
|
918
|
+
"name": "code-highlight",
|
|
919
|
+
"fieldName": "codeHighlight",
|
|
684
920
|
"type": {
|
|
685
921
|
"text": "undefined | false | true"
|
|
686
922
|
},
|
|
687
|
-
"description": ""
|
|
688
|
-
"privacy": "public"
|
|
923
|
+
"description": "Disable syntax highlighting (renders plain text, no Shiki)."
|
|
689
924
|
},
|
|
690
925
|
{
|
|
691
|
-
"
|
|
692
|
-
"
|
|
926
|
+
"name": "prose-size",
|
|
927
|
+
"fieldName": "proseSize",
|
|
693
928
|
"type": {
|
|
694
|
-
"text": "undefined |
|
|
929
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
695
930
|
},
|
|
696
|
-
"description": ""
|
|
697
|
-
|
|
698
|
-
|
|
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": [
|
|
699
948
|
{
|
|
700
949
|
"kind": "field",
|
|
701
|
-
"name": "
|
|
950
|
+
"name": "data",
|
|
702
951
|
"type": {
|
|
703
|
-
"text": "undefined |
|
|
952
|
+
"text": "undefined | Record<string, unknown>"
|
|
704
953
|
},
|
|
705
|
-
"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.",
|
|
706
955
|
"privacy": "public"
|
|
707
956
|
},
|
|
708
957
|
{
|
|
709
958
|
"kind": "field",
|
|
710
|
-
"name": "
|
|
959
|
+
"name": "cardId",
|
|
711
960
|
"type": {
|
|
712
961
|
"text": "undefined | string"
|
|
713
962
|
},
|
|
714
|
-
"description": "",
|
|
963
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`.",
|
|
715
964
|
"privacy": "public"
|
|
716
965
|
},
|
|
717
966
|
{
|
|
718
967
|
"kind": "field",
|
|
719
|
-
"name": "
|
|
968
|
+
"name": "heading",
|
|
720
969
|
"type": {
|
|
721
|
-
"text": "undefined |
|
|
970
|
+
"text": "undefined | string"
|
|
722
971
|
},
|
|
723
|
-
"description": "",
|
|
972
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`.",
|
|
724
973
|
"privacy": "public"
|
|
725
974
|
},
|
|
726
975
|
{
|
|
727
976
|
"kind": "field",
|
|
728
|
-
"name": "
|
|
977
|
+
"name": "autofocus",
|
|
729
978
|
"type": {
|
|
730
979
|
"text": "undefined | false | true"
|
|
731
980
|
},
|
|
732
|
-
"description": "",
|
|
981
|
+
"description": "Focus the default action on mount (off by default — no focus-stealing). Attribute: `autofocus`.",
|
|
733
982
|
"privacy": "public"
|
|
734
|
-
}
|
|
983
|
+
}
|
|
984
|
+
],
|
|
985
|
+
"attributes": [
|
|
735
986
|
{
|
|
736
|
-
"
|
|
737
|
-
"name": "search",
|
|
987
|
+
"name": "theme",
|
|
738
988
|
"type": {
|
|
739
|
-
"text": "
|
|
989
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
740
990
|
},
|
|
741
|
-
"description": ""
|
|
742
|
-
"privacy": "public"
|
|
991
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
743
992
|
},
|
|
744
993
|
{
|
|
745
|
-
"
|
|
746
|
-
"
|
|
994
|
+
"name": "card-id",
|
|
995
|
+
"fieldName": "cardId",
|
|
747
996
|
"type": {
|
|
748
|
-
"text": "undefined |
|
|
997
|
+
"text": "undefined | string"
|
|
749
998
|
},
|
|
750
|
-
"description": ""
|
|
751
|
-
"privacy": "public"
|
|
999
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`."
|
|
752
1000
|
},
|
|
753
1001
|
{
|
|
754
|
-
"
|
|
755
|
-
"
|
|
1002
|
+
"name": "heading",
|
|
1003
|
+
"fieldName": "heading",
|
|
756
1004
|
"type": {
|
|
757
|
-
"text": "undefined |
|
|
1005
|
+
"text": "undefined | string"
|
|
758
1006
|
},
|
|
759
|
-
"description": ""
|
|
760
|
-
"privacy": "public"
|
|
1007
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`."
|
|
761
1008
|
},
|
|
762
1009
|
{
|
|
763
|
-
"
|
|
764
|
-
"
|
|
1010
|
+
"name": "autofocus",
|
|
1011
|
+
"fieldName": "autofocus",
|
|
765
1012
|
"type": {
|
|
766
|
-
"text": "undefined |
|
|
1013
|
+
"text": "undefined | false | true"
|
|
767
1014
|
},
|
|
768
|
-
"description": ""
|
|
769
|
-
|
|
770
|
-
|
|
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": [
|
|
771
1028
|
{
|
|
772
1029
|
"kind": "field",
|
|
773
|
-
"name": "
|
|
1030
|
+
"name": "context",
|
|
774
1031
|
"type": {
|
|
775
|
-
"text": "undefined |
|
|
1032
|
+
"text": "undefined | { usedTokens: number; maxTokens: number; inputTokens?: undefined | number; outputTokens?: undefined | number; reasoningTokens?: undefined | number; cacheTokens?: undefined | number; estimatedCost?: undefined | number }"
|
|
776
1033
|
},
|
|
777
|
-
"description": "",
|
|
1034
|
+
"description": "Token-usage data. Set as a JS property.",
|
|
778
1035
|
"privacy": "public"
|
|
779
|
-
}
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"attributes": [
|
|
780
1039
|
{
|
|
781
|
-
"
|
|
782
|
-
"name": "sidebarWidth",
|
|
1040
|
+
"name": "theme",
|
|
783
1041
|
"type": {
|
|
784
|
-
"text": "
|
|
1042
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
785
1043
|
},
|
|
786
|
-
"description": "
|
|
787
|
-
|
|
788
|
-
|
|
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": [
|
|
789
1057
|
{
|
|
790
1058
|
"kind": "field",
|
|
791
|
-
"name": "
|
|
1059
|
+
"name": "groups",
|
|
792
1060
|
"type": {
|
|
793
|
-
"text": "undefined | number"
|
|
1061
|
+
"text": "{ id: string; userId?: undefined | string; teamId?: undefined | string; name: string; sortOrder: number; createdAt: string }[]"
|
|
794
1062
|
},
|
|
795
|
-
"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.",
|
|
796
1064
|
"privacy": "public"
|
|
797
1065
|
},
|
|
798
1066
|
{
|
|
799
1067
|
"kind": "field",
|
|
800
|
-
"name": "
|
|
1068
|
+
"name": "conversations",
|
|
801
1069
|
"type": {
|
|
802
|
-
"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 }[]"
|
|
803
1071
|
},
|
|
804
|
-
"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.",
|
|
805
1073
|
"privacy": "public"
|
|
806
1074
|
},
|
|
807
1075
|
{
|
|
808
1076
|
"kind": "field",
|
|
809
|
-
"name": "
|
|
1077
|
+
"name": "activeId",
|
|
810
1078
|
"type": {
|
|
811
|
-
"text": "undefined |
|
|
1079
|
+
"text": "undefined | string"
|
|
812
1080
|
},
|
|
813
|
-
"description": "
|
|
1081
|
+
"description": "The id of the currently-open conversation, highlighted in the list.",
|
|
814
1082
|
"privacy": "public"
|
|
815
1083
|
}
|
|
816
1084
|
],
|
|
@@ -828,222 +1096,259 @@
|
|
|
828
1096
|
"type": {
|
|
829
1097
|
"text": "undefined | string"
|
|
830
1098
|
},
|
|
831
|
-
"description": "
|
|
832
|
-
}
|
|
1099
|
+
"description": "The id of the currently-open conversation, highlighted in the list."
|
|
1100
|
+
}
|
|
1101
|
+
],
|
|
1102
|
+
"events": [
|
|
833
1103
|
{
|
|
834
|
-
"name": "
|
|
835
|
-
"fieldName": "value",
|
|
1104
|
+
"name": "newchat",
|
|
836
1105
|
"type": {
|
|
837
|
-
"text": "
|
|
1106
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
838
1107
|
},
|
|
839
|
-
"description": ""
|
|
1108
|
+
"description": "The \"New chat\" button was clicked."
|
|
840
1109
|
},
|
|
841
1110
|
{
|
|
842
|
-
"name": "
|
|
843
|
-
"fieldName": "placeholder",
|
|
1111
|
+
"name": "select",
|
|
844
1112
|
"type": {
|
|
845
|
-
"text": "
|
|
1113
|
+
"text": "CustomEvent<{ id: string }>"
|
|
846
1114
|
},
|
|
847
|
-
"description": ""
|
|
1115
|
+
"description": "A conversation was selected."
|
|
848
1116
|
},
|
|
849
1117
|
{
|
|
850
|
-
"name": "
|
|
851
|
-
"fieldName": "loading",
|
|
1118
|
+
"name": "togglesidebar",
|
|
852
1119
|
"type": {
|
|
853
|
-
"text": "
|
|
1120
|
+
"text": "CustomEvent<Record<string, never>>"
|
|
854
1121
|
},
|
|
855
|
-
"description": ""
|
|
1122
|
+
"description": "The sidebar toggle was clicked."
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"cssProperties": [
|
|
1126
|
+
{
|
|
1127
|
+
"name": "--color-sidebar"
|
|
856
1128
|
},
|
|
857
1129
|
{
|
|
858
|
-
"name": "
|
|
859
|
-
|
|
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": [
|
|
1141
|
+
{
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "cardId",
|
|
860
1144
|
"type": {
|
|
861
|
-
"text": "undefined |
|
|
1145
|
+
"text": "undefined | string"
|
|
862
1146
|
},
|
|
863
|
-
"description": ""
|
|
1147
|
+
"description": "Stable card id correlating every emitted event. Set as an attribute or property.",
|
|
1148
|
+
"privacy": "public"
|
|
864
1149
|
},
|
|
865
1150
|
{
|
|
866
|
-
"
|
|
867
|
-
"
|
|
1151
|
+
"kind": "field",
|
|
1152
|
+
"name": "data",
|
|
868
1153
|
"type": {
|
|
869
|
-
"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\" }"
|
|
870
1155
|
},
|
|
871
|
-
"description": ""
|
|
872
|
-
|
|
1156
|
+
"description": "The embed payload (provider + id/url + options). Set as a JS **property** (object).",
|
|
1157
|
+
"privacy": "public"
|
|
1158
|
+
}
|
|
1159
|
+
],
|
|
1160
|
+
"attributes": [
|
|
873
1161
|
{
|
|
874
|
-
"name": "
|
|
875
|
-
"fieldName": "codeTheme",
|
|
1162
|
+
"name": "theme",
|
|
876
1163
|
"type": {
|
|
877
|
-
"text": "
|
|
1164
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
878
1165
|
},
|
|
879
|
-
"description": ""
|
|
1166
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
880
1167
|
},
|
|
881
1168
|
{
|
|
882
|
-
"name": "
|
|
883
|
-
"fieldName": "
|
|
1169
|
+
"name": "card-id",
|
|
1170
|
+
"fieldName": "cardId",
|
|
884
1171
|
"type": {
|
|
885
|
-
"text": "undefined |
|
|
1172
|
+
"text": "undefined | string"
|
|
886
1173
|
},
|
|
887
|
-
"description": ""
|
|
888
|
-
}
|
|
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": [
|
|
889
1187
|
{
|
|
890
|
-
"
|
|
891
|
-
"
|
|
1188
|
+
"kind": "field",
|
|
1189
|
+
"name": "emptyTitle",
|
|
892
1190
|
"type": {
|
|
893
1191
|
"text": "undefined | string"
|
|
894
1192
|
},
|
|
895
|
-
"description": ""
|
|
1193
|
+
"description": "Title text. Attribute: `empty-title` (`title` is a global HTML attribute).",
|
|
1194
|
+
"privacy": "public"
|
|
896
1195
|
},
|
|
897
1196
|
{
|
|
898
|
-
"
|
|
899
|
-
"
|
|
1197
|
+
"kind": "field",
|
|
1198
|
+
"name": "description",
|
|
900
1199
|
"type": {
|
|
901
1200
|
"text": "undefined | string"
|
|
902
1201
|
},
|
|
903
|
-
"description": ""
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
"type": {
|
|
909
|
-
"text": "undefined | false | true"
|
|
910
|
-
},
|
|
911
|
-
"description": ""
|
|
912
|
-
},
|
|
913
|
-
{
|
|
914
|
-
"name": "search",
|
|
915
|
-
"fieldName": "search",
|
|
916
|
-
"type": {
|
|
917
|
-
"text": "undefined | false | true"
|
|
918
|
-
},
|
|
919
|
-
"description": ""
|
|
920
|
-
},
|
|
1202
|
+
"description": "Description text.",
|
|
1203
|
+
"privacy": "public"
|
|
1204
|
+
}
|
|
1205
|
+
],
|
|
1206
|
+
"attributes": [
|
|
921
1207
|
{
|
|
922
|
-
"name": "
|
|
923
|
-
"fieldName": "voice",
|
|
1208
|
+
"name": "theme",
|
|
924
1209
|
"type": {
|
|
925
|
-
"text": "
|
|
1210
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
926
1211
|
},
|
|
927
|
-
"description": ""
|
|
1212
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
928
1213
|
},
|
|
929
1214
|
{
|
|
930
|
-
"name": "
|
|
931
|
-
"fieldName": "
|
|
1215
|
+
"name": "empty-title",
|
|
1216
|
+
"fieldName": "emptyTitle",
|
|
932
1217
|
"type": {
|
|
933
|
-
"text": "undefined |
|
|
1218
|
+
"text": "undefined | string"
|
|
934
1219
|
},
|
|
935
|
-
"description": ""
|
|
1220
|
+
"description": "Title text. Attribute: `empty-title` (`title` is a global HTML attribute)."
|
|
936
1221
|
},
|
|
937
1222
|
{
|
|
938
|
-
"name": "
|
|
939
|
-
"fieldName": "
|
|
1223
|
+
"name": "description",
|
|
1224
|
+
"fieldName": "description",
|
|
940
1225
|
"type": {
|
|
941
|
-
"text": "undefined |
|
|
1226
|
+
"text": "undefined | string"
|
|
942
1227
|
},
|
|
943
|
-
"description": "
|
|
944
|
-
}
|
|
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": [
|
|
945
1241
|
{
|
|
946
|
-
"
|
|
947
|
-
"
|
|
1242
|
+
"kind": "field",
|
|
1243
|
+
"name": "barTitle",
|
|
948
1244
|
"type": {
|
|
949
|
-
"text": "undefined |
|
|
1245
|
+
"text": "undefined | string"
|
|
950
1246
|
},
|
|
951
|
-
"description": "
|
|
952
|
-
|
|
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": [
|
|
953
1252
|
{
|
|
954
|
-
"name": "
|
|
955
|
-
"fieldName": "sidebarMaxWidth",
|
|
1253
|
+
"name": "theme",
|
|
956
1254
|
"type": {
|
|
957
|
-
"text": "
|
|
1255
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
958
1256
|
},
|
|
959
|
-
"description": "
|
|
1257
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
960
1258
|
},
|
|
961
1259
|
{
|
|
962
|
-
"name": "
|
|
963
|
-
"fieldName": "
|
|
1260
|
+
"name": "bar-title",
|
|
1261
|
+
"fieldName": "barTitle",
|
|
964
1262
|
"type": {
|
|
965
|
-
"text": "undefined |
|
|
1263
|
+
"text": "undefined | string"
|
|
966
1264
|
},
|
|
967
|
-
"description": "
|
|
1265
|
+
"description": "The banner label (e.g. \"Was this helpful?\"). Attribute: `bar-title` (`title` is avoided — it's a global HTML attribute)."
|
|
968
1266
|
}
|
|
969
1267
|
],
|
|
970
1268
|
"events": [
|
|
971
1269
|
{
|
|
972
|
-
"name": "
|
|
973
|
-
"type": {
|
|
974
|
-
"text": "CustomEvent<{ id: string }>"
|
|
975
|
-
},
|
|
976
|
-
"description": "A conversation was selected in the sidebar."
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
"name": "messageaction",
|
|
980
|
-
"type": {
|
|
981
|
-
"text": "CustomEvent<{ messageId: string; action: \"copy\" | \"like\" | \"dislike\" | \"regenerate\" | \"edit\" }>"
|
|
982
|
-
},
|
|
983
|
-
"description": "An action button on a message was clicked."
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
"name": "modelchange",
|
|
1270
|
+
"name": "close",
|
|
987
1271
|
"type": {
|
|
988
|
-
"text": "CustomEvent
|
|
1272
|
+
"text": "CustomEvent"
|
|
989
1273
|
},
|
|
990
|
-
"description": "The
|
|
1274
|
+
"description": "The user dismissed the banner."
|
|
991
1275
|
},
|
|
992
1276
|
{
|
|
993
|
-
"name": "
|
|
1277
|
+
"name": "helpful",
|
|
994
1278
|
"type": {
|
|
995
|
-
"text": "CustomEvent
|
|
1279
|
+
"text": "CustomEvent"
|
|
996
1280
|
},
|
|
997
|
-
"description": "The
|
|
1281
|
+
"description": "The user clicked thumbs-up."
|
|
998
1282
|
},
|
|
999
1283
|
{
|
|
1000
|
-
"name": "
|
|
1284
|
+
"name": "nothelpful",
|
|
1001
1285
|
"type": {
|
|
1002
|
-
"text": "CustomEvent
|
|
1286
|
+
"text": "CustomEvent"
|
|
1003
1287
|
},
|
|
1004
|
-
"description": "The
|
|
1005
|
-
}
|
|
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": [
|
|
1006
1300
|
{
|
|
1007
|
-
"
|
|
1301
|
+
"kind": "field",
|
|
1302
|
+
"name": "files",
|
|
1008
1303
|
"type": {
|
|
1009
|
-
"text": "
|
|
1304
|
+
"text": "{ path: string; url?: undefined | string; code?: undefined | string; language?: undefined | string; type?: undefined | \"html\" | \"pdf\" | \"image\" | \"other\" }[]"
|
|
1010
1305
|
},
|
|
1011
|
-
"description": "The
|
|
1306
|
+
"description": "The files to render. Set as a JS property (array of `{ path, url?, code?, language?, type? }`).",
|
|
1307
|
+
"privacy": "public"
|
|
1012
1308
|
},
|
|
1013
1309
|
{
|
|
1014
|
-
"
|
|
1310
|
+
"kind": "field",
|
|
1311
|
+
"name": "activeFile",
|
|
1015
1312
|
"type": {
|
|
1016
|
-
"text": "
|
|
1313
|
+
"text": "undefined | string"
|
|
1017
1314
|
},
|
|
1018
|
-
"description": "
|
|
1315
|
+
"description": "Selected file path — highlighted in the tree.",
|
|
1316
|
+
"privacy": "public"
|
|
1019
1317
|
},
|
|
1020
1318
|
{
|
|
1021
|
-
"
|
|
1319
|
+
"kind": "field",
|
|
1320
|
+
"name": "defaultExpanded",
|
|
1022
1321
|
"type": {
|
|
1023
|
-
"text": "
|
|
1322
|
+
"text": "undefined | string[]"
|
|
1024
1323
|
},
|
|
1025
|
-
"description": "
|
|
1026
|
-
|
|
1324
|
+
"description": "Folder paths expanded initially. Omit to start with all folders open.",
|
|
1325
|
+
"privacy": "public"
|
|
1326
|
+
}
|
|
1327
|
+
],
|
|
1328
|
+
"attributes": [
|
|
1027
1329
|
{
|
|
1028
|
-
"name": "
|
|
1330
|
+
"name": "theme",
|
|
1029
1331
|
"type": {
|
|
1030
|
-
"text": "
|
|
1332
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
1031
1333
|
},
|
|
1032
|
-
"description": "
|
|
1334
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1033
1335
|
},
|
|
1034
1336
|
{
|
|
1035
|
-
"name": "
|
|
1337
|
+
"name": "active-file",
|
|
1338
|
+
"fieldName": "activeFile",
|
|
1036
1339
|
"type": {
|
|
1037
|
-
"text": "
|
|
1340
|
+
"text": "undefined | string"
|
|
1038
1341
|
},
|
|
1039
|
-
"description": "
|
|
1040
|
-
}
|
|
1342
|
+
"description": "Selected file path — highlighted in the tree."
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"events": [
|
|
1041
1346
|
{
|
|
1042
|
-
"name": "
|
|
1347
|
+
"name": "select",
|
|
1043
1348
|
"type": {
|
|
1044
|
-
"text": "CustomEvent<
|
|
1349
|
+
"text": "CustomEvent<{ path: string }>"
|
|
1045
1350
|
},
|
|
1046
|
-
"description": "
|
|
1351
|
+
"description": "Fired when a file is selected. `detail.path` = the file's path."
|
|
1047
1352
|
}
|
|
1048
1353
|
],
|
|
1049
1354
|
"cssProperties": []
|
|
@@ -1051,44 +1356,44 @@
|
|
|
1051
1356
|
{
|
|
1052
1357
|
"kind": "class",
|
|
1053
1358
|
"customElement": true,
|
|
1054
|
-
"tagName": "
|
|
1055
|
-
"name": "
|
|
1359
|
+
"tagName": "kc-file-upload",
|
|
1360
|
+
"name": "KcFileUploadElement",
|
|
1056
1361
|
"description": "",
|
|
1057
1362
|
"members": [
|
|
1058
1363
|
{
|
|
1059
1364
|
"kind": "field",
|
|
1060
|
-
"name": "
|
|
1365
|
+
"name": "multiple",
|
|
1061
1366
|
"type": {
|
|
1062
|
-
"text": "undefined |
|
|
1367
|
+
"text": "undefined | false | true"
|
|
1063
1368
|
},
|
|
1064
|
-
"description": "
|
|
1369
|
+
"description": "Allow selecting multiple files (default true).",
|
|
1065
1370
|
"privacy": "public"
|
|
1066
1371
|
},
|
|
1067
1372
|
{
|
|
1068
1373
|
"kind": "field",
|
|
1069
|
-
"name": "
|
|
1374
|
+
"name": "accept",
|
|
1070
1375
|
"type": {
|
|
1071
1376
|
"text": "undefined | string"
|
|
1072
1377
|
},
|
|
1073
|
-
"description": "
|
|
1378
|
+
"description": "`accept` attribute for the file picker (e.g. `image/*`).",
|
|
1074
1379
|
"privacy": "public"
|
|
1075
1380
|
},
|
|
1076
1381
|
{
|
|
1077
1382
|
"kind": "field",
|
|
1078
|
-
"name": "
|
|
1383
|
+
"name": "disabled",
|
|
1079
1384
|
"type": {
|
|
1080
|
-
"text": "undefined |
|
|
1385
|
+
"text": "undefined | false | true"
|
|
1081
1386
|
},
|
|
1082
|
-
"description": "
|
|
1387
|
+
"description": "Disable the dropzone — no clicking, no drag-and-drop.",
|
|
1083
1388
|
"privacy": "public"
|
|
1084
1389
|
},
|
|
1085
1390
|
{
|
|
1086
1391
|
"kind": "field",
|
|
1087
|
-
"name": "
|
|
1392
|
+
"name": "label",
|
|
1088
1393
|
"type": {
|
|
1089
|
-
"text": "undefined |
|
|
1394
|
+
"text": "undefined | string"
|
|
1090
1395
|
},
|
|
1091
|
-
"description": "
|
|
1396
|
+
"description": "Default dropzone label (overridable via the default slot).",
|
|
1092
1397
|
"privacy": "public"
|
|
1093
1398
|
}
|
|
1094
1399
|
],
|
|
@@ -1101,45 +1406,45 @@
|
|
|
1101
1406
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1102
1407
|
},
|
|
1103
1408
|
{
|
|
1104
|
-
"name": "
|
|
1105
|
-
"fieldName": "
|
|
1409
|
+
"name": "multiple",
|
|
1410
|
+
"fieldName": "multiple",
|
|
1106
1411
|
"type": {
|
|
1107
|
-
"text": "undefined |
|
|
1412
|
+
"text": "undefined | false | true"
|
|
1108
1413
|
},
|
|
1109
|
-
"description": "
|
|
1414
|
+
"description": "Allow selecting multiple files (default true)."
|
|
1110
1415
|
},
|
|
1111
1416
|
{
|
|
1112
|
-
"name": "
|
|
1113
|
-
"fieldName": "
|
|
1417
|
+
"name": "accept",
|
|
1418
|
+
"fieldName": "accept",
|
|
1114
1419
|
"type": {
|
|
1115
1420
|
"text": "undefined | string"
|
|
1116
1421
|
},
|
|
1117
|
-
"description": "
|
|
1422
|
+
"description": "`accept` attribute for the file picker (e.g. `image/*`)."
|
|
1118
1423
|
},
|
|
1119
1424
|
{
|
|
1120
|
-
"name": "
|
|
1121
|
-
"fieldName": "
|
|
1425
|
+
"name": "disabled",
|
|
1426
|
+
"fieldName": "disabled",
|
|
1122
1427
|
"type": {
|
|
1123
|
-
"text": "undefined |
|
|
1428
|
+
"text": "undefined | false | true"
|
|
1124
1429
|
},
|
|
1125
|
-
"description": "
|
|
1430
|
+
"description": "Disable the dropzone — no clicking, no drag-and-drop."
|
|
1126
1431
|
},
|
|
1127
1432
|
{
|
|
1128
|
-
"name": "
|
|
1129
|
-
"fieldName": "
|
|
1433
|
+
"name": "label",
|
|
1434
|
+
"fieldName": "label",
|
|
1130
1435
|
"type": {
|
|
1131
|
-
"text": "undefined |
|
|
1436
|
+
"text": "undefined | string"
|
|
1132
1437
|
},
|
|
1133
|
-
"description": "
|
|
1438
|
+
"description": "Default dropzone label (overridable via the default slot)."
|
|
1134
1439
|
}
|
|
1135
1440
|
],
|
|
1136
1441
|
"events": [
|
|
1137
1442
|
{
|
|
1138
|
-
"name": "
|
|
1443
|
+
"name": "filesadded",
|
|
1139
1444
|
"type": {
|
|
1140
|
-
"text": "CustomEvent"
|
|
1445
|
+
"text": "CustomEvent<{ files: File[] }>"
|
|
1141
1446
|
},
|
|
1142
|
-
"description": "
|
|
1447
|
+
"description": "Files were picked or dropped."
|
|
1143
1448
|
}
|
|
1144
1449
|
],
|
|
1145
1450
|
"cssProperties": []
|
|
@@ -1147,57 +1452,39 @@
|
|
|
1147
1452
|
{
|
|
1148
1453
|
"kind": "class",
|
|
1149
1454
|
"customElement": true,
|
|
1150
|
-
"tagName": "
|
|
1151
|
-
"name": "
|
|
1455
|
+
"tagName": "kc-form",
|
|
1456
|
+
"name": "KcFormElement",
|
|
1152
1457
|
"description": "",
|
|
1153
1458
|
"members": [
|
|
1154
1459
|
{
|
|
1155
1460
|
"kind": "field",
|
|
1156
|
-
"name": "
|
|
1461
|
+
"name": "data",
|
|
1157
1462
|
"type": {
|
|
1158
|
-
"text": "string"
|
|
1463
|
+
"text": "undefined | Record<string, unknown>"
|
|
1159
1464
|
},
|
|
1160
|
-
"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).",
|
|
1161
1466
|
"privacy": "public"
|
|
1162
1467
|
},
|
|
1163
1468
|
{
|
|
1164
1469
|
"kind": "field",
|
|
1165
|
-
"name": "
|
|
1470
|
+
"name": "cardId",
|
|
1166
1471
|
"type": {
|
|
1167
1472
|
"text": "undefined | string"
|
|
1168
1473
|
},
|
|
1169
|
-
"description": "
|
|
1474
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`.",
|
|
1170
1475
|
"privacy": "public"
|
|
1171
1476
|
},
|
|
1172
1477
|
{
|
|
1173
1478
|
"kind": "field",
|
|
1174
|
-
"name": "
|
|
1479
|
+
"name": "heading",
|
|
1175
1480
|
"type": {
|
|
1176
1481
|
"text": "undefined | string"
|
|
1177
1482
|
},
|
|
1178
|
-
"description": "
|
|
1483
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`.",
|
|
1179
1484
|
"privacy": "public"
|
|
1180
|
-
}
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
"name": "codeHighlight",
|
|
1184
|
-
"type": {
|
|
1185
|
-
"text": "undefined | false | true"
|
|
1186
|
-
},
|
|
1187
|
-
"description": "Disable syntax highlighting (renders plain text, no Shiki).",
|
|
1188
|
-
"privacy": "public"
|
|
1189
|
-
},
|
|
1190
|
-
{
|
|
1191
|
-
"kind": "field",
|
|
1192
|
-
"name": "proseSize",
|
|
1193
|
-
"type": {
|
|
1194
|
-
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1195
|
-
},
|
|
1196
|
-
"description": "Code text sizing.",
|
|
1197
|
-
"privacy": "public"
|
|
1198
|
-
}
|
|
1199
|
-
],
|
|
1200
|
-
"attributes": [
|
|
1485
|
+
}
|
|
1486
|
+
],
|
|
1487
|
+
"attributes": [
|
|
1201
1488
|
{
|
|
1202
1489
|
"name": "theme",
|
|
1203
1490
|
"type": {
|
|
@@ -1206,114 +1493,66 @@
|
|
|
1206
1493
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1207
1494
|
},
|
|
1208
1495
|
{
|
|
1209
|
-
"name": "
|
|
1210
|
-
"fieldName": "
|
|
1211
|
-
"type": {
|
|
1212
|
-
"text": "string"
|
|
1213
|
-
},
|
|
1214
|
-
"description": "The source code to render."
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
"name": "language",
|
|
1218
|
-
"fieldName": "language",
|
|
1496
|
+
"name": "card-id",
|
|
1497
|
+
"fieldName": "cardId",
|
|
1219
1498
|
"type": {
|
|
1220
1499
|
"text": "undefined | string"
|
|
1221
1500
|
},
|
|
1222
|
-
"description": "
|
|
1501
|
+
"description": "Stable card id correlating every emitted CardEvent. Attribute: `card-id`."
|
|
1223
1502
|
},
|
|
1224
1503
|
{
|
|
1225
|
-
"name": "
|
|
1226
|
-
"fieldName": "
|
|
1504
|
+
"name": "heading",
|
|
1505
|
+
"fieldName": "heading",
|
|
1227
1506
|
"type": {
|
|
1228
1507
|
"text": "undefined | string"
|
|
1229
1508
|
},
|
|
1230
|
-
"description": "
|
|
1231
|
-
},
|
|
1232
|
-
{
|
|
1233
|
-
"name": "code-highlight",
|
|
1234
|
-
"fieldName": "codeHighlight",
|
|
1235
|
-
"type": {
|
|
1236
|
-
"text": "undefined | false | true"
|
|
1237
|
-
},
|
|
1238
|
-
"description": "Disable syntax highlighting (renders plain text, no Shiki)."
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
"name": "prose-size",
|
|
1242
|
-
"fieldName": "proseSize",
|
|
1243
|
-
"type": {
|
|
1244
|
-
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1245
|
-
},
|
|
1246
|
-
"description": "Code text sizing."
|
|
1509
|
+
"description": "Heading rendered in the card chrome (= CardEnvelope.title). Attribute: `heading`."
|
|
1247
1510
|
}
|
|
1248
1511
|
],
|
|
1249
1512
|
"events": [],
|
|
1250
|
-
"cssProperties": [
|
|
1251
|
-
{
|
|
1252
|
-
"name": "--color-code-foreground"
|
|
1253
|
-
}
|
|
1254
|
-
]
|
|
1513
|
+
"cssProperties": []
|
|
1255
1514
|
},
|
|
1256
1515
|
{
|
|
1257
1516
|
"kind": "class",
|
|
1258
1517
|
"customElement": true,
|
|
1259
|
-
"tagName": "
|
|
1260
|
-
"name": "
|
|
1518
|
+
"tagName": "kc-image",
|
|
1519
|
+
"name": "KcImageElement",
|
|
1261
1520
|
"description": "",
|
|
1262
1521
|
"members": [
|
|
1263
1522
|
{
|
|
1264
1523
|
"kind": "field",
|
|
1265
|
-
"name": "
|
|
1524
|
+
"name": "base64",
|
|
1266
1525
|
"type": {
|
|
1267
|
-
"text": "undefined |
|
|
1526
|
+
"text": "undefined | string"
|
|
1268
1527
|
},
|
|
1269
|
-
"description": "
|
|
1528
|
+
"description": "Base64-encoded image data (pair with `media-type`).",
|
|
1270
1529
|
"privacy": "public"
|
|
1271
|
-
}
|
|
1272
|
-
],
|
|
1273
|
-
"attributes": [
|
|
1274
|
-
{
|
|
1275
|
-
"name": "theme",
|
|
1276
|
-
"type": {
|
|
1277
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1278
|
-
},
|
|
1279
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1280
|
-
}
|
|
1281
|
-
],
|
|
1282
|
-
"events": [],
|
|
1283
|
-
"cssProperties": []
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
"kind": "class",
|
|
1287
|
-
"customElement": true,
|
|
1288
|
-
"tagName": "kitn-conversation-list",
|
|
1289
|
-
"name": "KitnConversationListElement",
|
|
1290
|
-
"description": "",
|
|
1291
|
-
"members": [
|
|
1530
|
+
},
|
|
1292
1531
|
{
|
|
1293
1532
|
"kind": "field",
|
|
1294
|
-
"name": "
|
|
1533
|
+
"name": "bytes",
|
|
1295
1534
|
"type": {
|
|
1296
|
-
"text": "
|
|
1535
|
+
"text": "undefined | Uint8Array<ArrayBufferLike>"
|
|
1297
1536
|
},
|
|
1298
|
-
"description": "
|
|
1537
|
+
"description": "Raw image bytes (set as a JS property).",
|
|
1299
1538
|
"privacy": "public"
|
|
1300
1539
|
},
|
|
1301
1540
|
{
|
|
1302
1541
|
"kind": "field",
|
|
1303
|
-
"name": "
|
|
1542
|
+
"name": "alt",
|
|
1304
1543
|
"type": {
|
|
1305
|
-
"text": "
|
|
1544
|
+
"text": "undefined | string"
|
|
1306
1545
|
},
|
|
1307
|
-
"description": "
|
|
1546
|
+
"description": "Alt text.",
|
|
1308
1547
|
"privacy": "public"
|
|
1309
1548
|
},
|
|
1310
1549
|
{
|
|
1311
1550
|
"kind": "field",
|
|
1312
|
-
"name": "
|
|
1551
|
+
"name": "mediaType",
|
|
1313
1552
|
"type": {
|
|
1314
1553
|
"text": "undefined | string"
|
|
1315
1554
|
},
|
|
1316
|
-
"description": "
|
|
1555
|
+
"description": "MIME type (default `image/png`).",
|
|
1317
1556
|
"privacy": "public"
|
|
1318
1557
|
}
|
|
1319
1558
|
],
|
|
@@ -1326,69 +1565,56 @@
|
|
|
1326
1565
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1327
1566
|
},
|
|
1328
1567
|
{
|
|
1329
|
-
"name": "
|
|
1330
|
-
"fieldName": "
|
|
1568
|
+
"name": "base64",
|
|
1569
|
+
"fieldName": "base64",
|
|
1331
1570
|
"type": {
|
|
1332
1571
|
"text": "undefined | string"
|
|
1333
1572
|
},
|
|
1334
|
-
"description": "
|
|
1335
|
-
}
|
|
1336
|
-
],
|
|
1337
|
-
"events": [
|
|
1338
|
-
{
|
|
1339
|
-
"name": "newchat",
|
|
1340
|
-
"type": {
|
|
1341
|
-
"text": "CustomEvent<Record<string, never>>"
|
|
1342
|
-
},
|
|
1343
|
-
"description": "The \"New chat\" button was clicked."
|
|
1573
|
+
"description": "Base64-encoded image data (pair with `media-type`)."
|
|
1344
1574
|
},
|
|
1345
1575
|
{
|
|
1346
|
-
"name": "
|
|
1576
|
+
"name": "alt",
|
|
1577
|
+
"fieldName": "alt",
|
|
1347
1578
|
"type": {
|
|
1348
|
-
"text": "
|
|
1579
|
+
"text": "undefined | string"
|
|
1349
1580
|
},
|
|
1350
|
-
"description": "
|
|
1581
|
+
"description": "Alt text."
|
|
1351
1582
|
},
|
|
1352
1583
|
{
|
|
1353
|
-
"name": "
|
|
1584
|
+
"name": "media-type",
|
|
1585
|
+
"fieldName": "mediaType",
|
|
1354
1586
|
"type": {
|
|
1355
|
-
"text": "
|
|
1587
|
+
"text": "undefined | string"
|
|
1356
1588
|
},
|
|
1357
|
-
"description": "
|
|
1589
|
+
"description": "MIME type (default `image/png`)."
|
|
1358
1590
|
}
|
|
1359
1591
|
],
|
|
1360
|
-
"
|
|
1361
|
-
|
|
1362
|
-
"name": "--color-sidebar"
|
|
1363
|
-
},
|
|
1364
|
-
{
|
|
1365
|
-
"name": "--color-scrollbar-thumb"
|
|
1366
|
-
}
|
|
1367
|
-
]
|
|
1592
|
+
"events": [],
|
|
1593
|
+
"cssProperties": []
|
|
1368
1594
|
},
|
|
1369
1595
|
{
|
|
1370
1596
|
"kind": "class",
|
|
1371
1597
|
"customElement": true,
|
|
1372
|
-
"tagName": "
|
|
1373
|
-
"name": "
|
|
1598
|
+
"tagName": "kc-link-card",
|
|
1599
|
+
"name": "KcLinkCardElement",
|
|
1374
1600
|
"description": "",
|
|
1375
1601
|
"members": [
|
|
1376
1602
|
{
|
|
1377
1603
|
"kind": "field",
|
|
1378
|
-
"name": "
|
|
1604
|
+
"name": "cardId",
|
|
1379
1605
|
"type": {
|
|
1380
1606
|
"text": "undefined | string"
|
|
1381
1607
|
},
|
|
1382
|
-
"description": "
|
|
1608
|
+
"description": "Stable card id correlating every emitted event. Set as an attribute or property.",
|
|
1383
1609
|
"privacy": "public"
|
|
1384
1610
|
},
|
|
1385
1611
|
{
|
|
1386
1612
|
"kind": "field",
|
|
1387
|
-
"name": "
|
|
1613
|
+
"name": "data",
|
|
1388
1614
|
"type": {
|
|
1389
|
-
"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 }"
|
|
1390
1616
|
},
|
|
1391
|
-
"description": "
|
|
1617
|
+
"description": "The link payload (OG metadata). Set as a JS **property** (object).",
|
|
1392
1618
|
"privacy": "public"
|
|
1393
1619
|
}
|
|
1394
1620
|
],
|
|
@@ -1401,20 +1627,12 @@
|
|
|
1401
1627
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1402
1628
|
},
|
|
1403
1629
|
{
|
|
1404
|
-
"name": "
|
|
1405
|
-
"fieldName": "
|
|
1406
|
-
"type": {
|
|
1407
|
-
"text": "undefined | string"
|
|
1408
|
-
},
|
|
1409
|
-
"description": "Title text. Attribute: `empty-title` (`title` is a global HTML attribute)."
|
|
1410
|
-
},
|
|
1411
|
-
{
|
|
1412
|
-
"name": "description",
|
|
1413
|
-
"fieldName": "description",
|
|
1630
|
+
"name": "card-id",
|
|
1631
|
+
"fieldName": "cardId",
|
|
1414
1632
|
"type": {
|
|
1415
1633
|
"text": "undefined | string"
|
|
1416
1634
|
},
|
|
1417
|
-
"description": "
|
|
1635
|
+
"description": "Stable card id correlating every emitted event. Set as an attribute or property."
|
|
1418
1636
|
}
|
|
1419
1637
|
],
|
|
1420
1638
|
"events": [],
|
|
@@ -1423,17 +1641,35 @@
|
|
|
1423
1641
|
{
|
|
1424
1642
|
"kind": "class",
|
|
1425
1643
|
"customElement": true,
|
|
1426
|
-
"tagName": "
|
|
1427
|
-
"name": "
|
|
1644
|
+
"tagName": "kc-loader",
|
|
1645
|
+
"name": "KcLoaderElement",
|
|
1428
1646
|
"description": "",
|
|
1429
1647
|
"members": [
|
|
1430
1648
|
{
|
|
1431
1649
|
"kind": "field",
|
|
1432
|
-
"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",
|
|
1433
1669
|
"type": {
|
|
1434
1670
|
"text": "undefined | string"
|
|
1435
1671
|
},
|
|
1436
|
-
"description": "
|
|
1672
|
+
"description": "Label for the text-based variants.",
|
|
1437
1673
|
"privacy": "public"
|
|
1438
1674
|
}
|
|
1439
1675
|
],
|
|
@@ -1446,80 +1682,74 @@
|
|
|
1446
1682
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1447
1683
|
},
|
|
1448
1684
|
{
|
|
1449
|
-
"name": "
|
|
1450
|
-
"fieldName": "
|
|
1451
|
-
"type": {
|
|
1452
|
-
"text": "undefined | string"
|
|
1453
|
-
},
|
|
1454
|
-
"description": "The banner label (e.g. \"Was this helpful?\"). Attribute: `bar-title` (`title` is avoided — it's a global HTML attribute)."
|
|
1455
|
-
}
|
|
1456
|
-
],
|
|
1457
|
-
"events": [
|
|
1458
|
-
{
|
|
1459
|
-
"name": "close",
|
|
1685
|
+
"name": "variant",
|
|
1686
|
+
"fieldName": "variant",
|
|
1460
1687
|
"type": {
|
|
1461
|
-
"text": "
|
|
1688
|
+
"text": "undefined | \"circular\" | \"classic\" | \"pulse\" | \"pulse-dot\" | \"dots\" | \"typing\" | \"wave\" | \"bars\" | \"terminal\" | \"text-blink\" | \"text-shimmer\" | \"loading-dots\""
|
|
1462
1689
|
},
|
|
1463
|
-
"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'`."
|
|
1464
1691
|
},
|
|
1465
1692
|
{
|
|
1466
|
-
"name": "
|
|
1693
|
+
"name": "size",
|
|
1694
|
+
"fieldName": "size",
|
|
1467
1695
|
"type": {
|
|
1468
|
-
"text": "
|
|
1696
|
+
"text": "undefined | \"sm\" | \"lg\" | \"md\""
|
|
1469
1697
|
},
|
|
1470
|
-
"description": "
|
|
1698
|
+
"description": "Loader size: `'sm' | 'md' | 'lg'`. Defaults to `'md'`."
|
|
1471
1699
|
},
|
|
1472
1700
|
{
|
|
1473
|
-
"name": "
|
|
1701
|
+
"name": "text",
|
|
1702
|
+
"fieldName": "text",
|
|
1474
1703
|
"type": {
|
|
1475
|
-
"text": "
|
|
1704
|
+
"text": "undefined | string"
|
|
1476
1705
|
},
|
|
1477
|
-
"description": "
|
|
1706
|
+
"description": "Label for the text-based variants."
|
|
1478
1707
|
}
|
|
1479
1708
|
],
|
|
1709
|
+
"events": [],
|
|
1480
1710
|
"cssProperties": []
|
|
1481
1711
|
},
|
|
1482
1712
|
{
|
|
1483
1713
|
"kind": "class",
|
|
1484
1714
|
"customElement": true,
|
|
1485
|
-
"tagName": "
|
|
1486
|
-
"name": "
|
|
1715
|
+
"tagName": "kc-markdown",
|
|
1716
|
+
"name": "KcMarkdownElement",
|
|
1487
1717
|
"description": "",
|
|
1488
1718
|
"members": [
|
|
1489
1719
|
{
|
|
1490
1720
|
"kind": "field",
|
|
1491
|
-
"name": "
|
|
1721
|
+
"name": "content",
|
|
1492
1722
|
"type": {
|
|
1493
|
-
"text": "
|
|
1723
|
+
"text": "string"
|
|
1494
1724
|
},
|
|
1495
|
-
"description": "
|
|
1725
|
+
"description": "The markdown source to render.",
|
|
1496
1726
|
"privacy": "public"
|
|
1497
1727
|
},
|
|
1498
1728
|
{
|
|
1499
1729
|
"kind": "field",
|
|
1500
|
-
"name": "
|
|
1730
|
+
"name": "proseSize",
|
|
1501
1731
|
"type": {
|
|
1502
|
-
"text": "undefined |
|
|
1732
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1503
1733
|
},
|
|
1504
|
-
"description": "
|
|
1734
|
+
"description": "Text/markdown sizing.",
|
|
1505
1735
|
"privacy": "public"
|
|
1506
1736
|
},
|
|
1507
1737
|
{
|
|
1508
1738
|
"kind": "field",
|
|
1509
|
-
"name": "
|
|
1739
|
+
"name": "codeTheme",
|
|
1510
1740
|
"type": {
|
|
1511
|
-
"text": "undefined |
|
|
1741
|
+
"text": "undefined | string"
|
|
1512
1742
|
},
|
|
1513
|
-
"description": "
|
|
1743
|
+
"description": "Shiki theme for fenced code blocks.",
|
|
1514
1744
|
"privacy": "public"
|
|
1515
1745
|
},
|
|
1516
1746
|
{
|
|
1517
1747
|
"kind": "field",
|
|
1518
|
-
"name": "
|
|
1748
|
+
"name": "codeHighlight",
|
|
1519
1749
|
"type": {
|
|
1520
|
-
"text": "undefined |
|
|
1750
|
+
"text": "undefined | false | true"
|
|
1521
1751
|
},
|
|
1522
|
-
"description": "
|
|
1752
|
+
"description": "Disable syntax highlighting (no Shiki loads).",
|
|
1523
1753
|
"privacy": "public"
|
|
1524
1754
|
}
|
|
1525
1755
|
],
|
|
@@ -1532,275 +1762,28 @@
|
|
|
1532
1762
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1533
1763
|
},
|
|
1534
1764
|
{
|
|
1535
|
-
"name": "
|
|
1536
|
-
"fieldName": "
|
|
1765
|
+
"name": "content",
|
|
1766
|
+
"fieldName": "content",
|
|
1537
1767
|
"type": {
|
|
1538
|
-
"text": "
|
|
1768
|
+
"text": "string"
|
|
1539
1769
|
},
|
|
1540
|
-
"description": "
|
|
1770
|
+
"description": "The markdown source to render."
|
|
1541
1771
|
},
|
|
1542
1772
|
{
|
|
1543
|
-
"name": "
|
|
1544
|
-
"fieldName": "
|
|
1773
|
+
"name": "prose-size",
|
|
1774
|
+
"fieldName": "proseSize",
|
|
1545
1775
|
"type": {
|
|
1546
|
-
"text": "undefined |
|
|
1776
|
+
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1547
1777
|
},
|
|
1548
|
-
"description": "
|
|
1778
|
+
"description": "Text/markdown sizing."
|
|
1549
1779
|
},
|
|
1550
1780
|
{
|
|
1551
|
-
"name": "
|
|
1552
|
-
"fieldName": "
|
|
1781
|
+
"name": "code-theme",
|
|
1782
|
+
"fieldName": "codeTheme",
|
|
1553
1783
|
"type": {
|
|
1554
|
-
"text": "undefined |
|
|
1784
|
+
"text": "undefined | string"
|
|
1555
1785
|
},
|
|
1556
|
-
"description": "
|
|
1557
|
-
},
|
|
1558
|
-
{
|
|
1559
|
-
"name": "label",
|
|
1560
|
-
"fieldName": "label",
|
|
1561
|
-
"type": {
|
|
1562
|
-
"text": "undefined | string"
|
|
1563
|
-
},
|
|
1564
|
-
"description": "Default dropzone label (overridable via the default slot)."
|
|
1565
|
-
}
|
|
1566
|
-
],
|
|
1567
|
-
"events": [
|
|
1568
|
-
{
|
|
1569
|
-
"name": "filesadded",
|
|
1570
|
-
"type": {
|
|
1571
|
-
"text": "CustomEvent<{ files: File[] }>"
|
|
1572
|
-
},
|
|
1573
|
-
"description": "Files were picked or dropped."
|
|
1574
|
-
}
|
|
1575
|
-
],
|
|
1576
|
-
"cssProperties": []
|
|
1577
|
-
},
|
|
1578
|
-
{
|
|
1579
|
-
"kind": "class",
|
|
1580
|
-
"customElement": true,
|
|
1581
|
-
"tagName": "kitn-image",
|
|
1582
|
-
"name": "KitnImageElement",
|
|
1583
|
-
"description": "",
|
|
1584
|
-
"members": [
|
|
1585
|
-
{
|
|
1586
|
-
"kind": "field",
|
|
1587
|
-
"name": "base64",
|
|
1588
|
-
"type": {
|
|
1589
|
-
"text": "undefined | string"
|
|
1590
|
-
},
|
|
1591
|
-
"description": "Base64-encoded image data (pair with `media-type`).",
|
|
1592
|
-
"privacy": "public"
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "field",
|
|
1596
|
-
"name": "bytes",
|
|
1597
|
-
"type": {
|
|
1598
|
-
"text": "undefined | Uint8Array<ArrayBufferLike>"
|
|
1599
|
-
},
|
|
1600
|
-
"description": "Raw image bytes (set as a JS property).",
|
|
1601
|
-
"privacy": "public"
|
|
1602
|
-
},
|
|
1603
|
-
{
|
|
1604
|
-
"kind": "field",
|
|
1605
|
-
"name": "alt",
|
|
1606
|
-
"type": {
|
|
1607
|
-
"text": "undefined | string"
|
|
1608
|
-
},
|
|
1609
|
-
"description": "Alt text.",
|
|
1610
|
-
"privacy": "public"
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"kind": "field",
|
|
1614
|
-
"name": "mediaType",
|
|
1615
|
-
"type": {
|
|
1616
|
-
"text": "undefined | string"
|
|
1617
|
-
},
|
|
1618
|
-
"description": "MIME type (default `image/png`).",
|
|
1619
|
-
"privacy": "public"
|
|
1620
|
-
}
|
|
1621
|
-
],
|
|
1622
|
-
"attributes": [
|
|
1623
|
-
{
|
|
1624
|
-
"name": "theme",
|
|
1625
|
-
"type": {
|
|
1626
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1627
|
-
},
|
|
1628
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
"name": "base64",
|
|
1632
|
-
"fieldName": "base64",
|
|
1633
|
-
"type": {
|
|
1634
|
-
"text": "undefined | string"
|
|
1635
|
-
},
|
|
1636
|
-
"description": "Base64-encoded image data (pair with `media-type`)."
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
"name": "alt",
|
|
1640
|
-
"fieldName": "alt",
|
|
1641
|
-
"type": {
|
|
1642
|
-
"text": "undefined | string"
|
|
1643
|
-
},
|
|
1644
|
-
"description": "Alt text."
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
"name": "media-type",
|
|
1648
|
-
"fieldName": "mediaType",
|
|
1649
|
-
"type": {
|
|
1650
|
-
"text": "undefined | string"
|
|
1651
|
-
},
|
|
1652
|
-
"description": "MIME type (default `image/png`)."
|
|
1653
|
-
}
|
|
1654
|
-
],
|
|
1655
|
-
"events": [],
|
|
1656
|
-
"cssProperties": []
|
|
1657
|
-
},
|
|
1658
|
-
{
|
|
1659
|
-
"kind": "class",
|
|
1660
|
-
"customElement": true,
|
|
1661
|
-
"tagName": "kitn-loader",
|
|
1662
|
-
"name": "KitnLoaderElement",
|
|
1663
|
-
"description": "",
|
|
1664
|
-
"members": [
|
|
1665
|
-
{
|
|
1666
|
-
"kind": "field",
|
|
1667
|
-
"name": "variant",
|
|
1668
|
-
"type": {
|
|
1669
|
-
"text": "undefined | \"circular\" | \"classic\" | \"pulse\" | \"pulse-dot\" | \"dots\" | \"typing\" | \"wave\" | \"bars\" | \"terminal\" | \"text-blink\" | \"text-shimmer\" | \"loading-dots\""
|
|
1670
|
-
},
|
|
1671
|
-
"description": "The animation style: `'circular' | 'classic' | 'pulse' | 'pulse-dot' | 'dots' | 'typing' | 'wave' | 'bars' | 'terminal' | 'text-blink' | 'text-shimmer' | 'loading-dots'`. Defaults to `'circular'`.",
|
|
1672
|
-
"privacy": "public"
|
|
1673
|
-
},
|
|
1674
|
-
{
|
|
1675
|
-
"kind": "field",
|
|
1676
|
-
"name": "size",
|
|
1677
|
-
"type": {
|
|
1678
|
-
"text": "undefined | \"sm\" | \"lg\" | \"md\""
|
|
1679
|
-
},
|
|
1680
|
-
"description": "Loader size: `'sm' | 'md' | 'lg'`. Defaults to `'md'`.",
|
|
1681
|
-
"privacy": "public"
|
|
1682
|
-
},
|
|
1683
|
-
{
|
|
1684
|
-
"kind": "field",
|
|
1685
|
-
"name": "text",
|
|
1686
|
-
"type": {
|
|
1687
|
-
"text": "undefined | string"
|
|
1688
|
-
},
|
|
1689
|
-
"description": "Label for the text-based variants.",
|
|
1690
|
-
"privacy": "public"
|
|
1691
|
-
}
|
|
1692
|
-
],
|
|
1693
|
-
"attributes": [
|
|
1694
|
-
{
|
|
1695
|
-
"name": "theme",
|
|
1696
|
-
"type": {
|
|
1697
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1698
|
-
},
|
|
1699
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1700
|
-
},
|
|
1701
|
-
{
|
|
1702
|
-
"name": "variant",
|
|
1703
|
-
"fieldName": "variant",
|
|
1704
|
-
"type": {
|
|
1705
|
-
"text": "undefined | \"circular\" | \"classic\" | \"pulse\" | \"pulse-dot\" | \"dots\" | \"typing\" | \"wave\" | \"bars\" | \"terminal\" | \"text-blink\" | \"text-shimmer\" | \"loading-dots\""
|
|
1706
|
-
},
|
|
1707
|
-
"description": "The animation style: `'circular' | 'classic' | 'pulse' | 'pulse-dot' | 'dots' | 'typing' | 'wave' | 'bars' | 'terminal' | 'text-blink' | 'text-shimmer' | 'loading-dots'`. Defaults to `'circular'`."
|
|
1708
|
-
},
|
|
1709
|
-
{
|
|
1710
|
-
"name": "size",
|
|
1711
|
-
"fieldName": "size",
|
|
1712
|
-
"type": {
|
|
1713
|
-
"text": "undefined | \"sm\" | \"lg\" | \"md\""
|
|
1714
|
-
},
|
|
1715
|
-
"description": "Loader size: `'sm' | 'md' | 'lg'`. Defaults to `'md'`."
|
|
1716
|
-
},
|
|
1717
|
-
{
|
|
1718
|
-
"name": "text",
|
|
1719
|
-
"fieldName": "text",
|
|
1720
|
-
"type": {
|
|
1721
|
-
"text": "undefined | string"
|
|
1722
|
-
},
|
|
1723
|
-
"description": "Label for the text-based variants."
|
|
1724
|
-
}
|
|
1725
|
-
],
|
|
1726
|
-
"events": [],
|
|
1727
|
-
"cssProperties": []
|
|
1728
|
-
},
|
|
1729
|
-
{
|
|
1730
|
-
"kind": "class",
|
|
1731
|
-
"customElement": true,
|
|
1732
|
-
"tagName": "kitn-markdown",
|
|
1733
|
-
"name": "KitnMarkdownElement",
|
|
1734
|
-
"description": "",
|
|
1735
|
-
"members": [
|
|
1736
|
-
{
|
|
1737
|
-
"kind": "field",
|
|
1738
|
-
"name": "content",
|
|
1739
|
-
"type": {
|
|
1740
|
-
"text": "string"
|
|
1741
|
-
},
|
|
1742
|
-
"description": "The markdown source to render.",
|
|
1743
|
-
"privacy": "public"
|
|
1744
|
-
},
|
|
1745
|
-
{
|
|
1746
|
-
"kind": "field",
|
|
1747
|
-
"name": "proseSize",
|
|
1748
|
-
"type": {
|
|
1749
|
-
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1750
|
-
},
|
|
1751
|
-
"description": "Text/markdown sizing.",
|
|
1752
|
-
"privacy": "public"
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
"kind": "field",
|
|
1756
|
-
"name": "codeTheme",
|
|
1757
|
-
"type": {
|
|
1758
|
-
"text": "undefined | string"
|
|
1759
|
-
},
|
|
1760
|
-
"description": "Shiki theme for fenced code blocks.",
|
|
1761
|
-
"privacy": "public"
|
|
1762
|
-
},
|
|
1763
|
-
{
|
|
1764
|
-
"kind": "field",
|
|
1765
|
-
"name": "codeHighlight",
|
|
1766
|
-
"type": {
|
|
1767
|
-
"text": "undefined | false | true"
|
|
1768
|
-
},
|
|
1769
|
-
"description": "Disable syntax highlighting (no Shiki loads).",
|
|
1770
|
-
"privacy": "public"
|
|
1771
|
-
}
|
|
1772
|
-
],
|
|
1773
|
-
"attributes": [
|
|
1774
|
-
{
|
|
1775
|
-
"name": "theme",
|
|
1776
|
-
"type": {
|
|
1777
|
-
"text": "'light' | 'dark' | 'auto'"
|
|
1778
|
-
},
|
|
1779
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1780
|
-
},
|
|
1781
|
-
{
|
|
1782
|
-
"name": "content",
|
|
1783
|
-
"fieldName": "content",
|
|
1784
|
-
"type": {
|
|
1785
|
-
"text": "string"
|
|
1786
|
-
},
|
|
1787
|
-
"description": "The markdown source to render."
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"name": "prose-size",
|
|
1791
|
-
"fieldName": "proseSize",
|
|
1792
|
-
"type": {
|
|
1793
|
-
"text": "undefined | \"xs\" | \"sm\" | \"base\" | \"lg\""
|
|
1794
|
-
},
|
|
1795
|
-
"description": "Text/markdown sizing."
|
|
1796
|
-
},
|
|
1797
|
-
{
|
|
1798
|
-
"name": "code-theme",
|
|
1799
|
-
"fieldName": "codeTheme",
|
|
1800
|
-
"type": {
|
|
1801
|
-
"text": "undefined | string"
|
|
1802
|
-
},
|
|
1803
|
-
"description": "Shiki theme for fenced code blocks."
|
|
1786
|
+
"description": "Shiki theme for fenced code blocks."
|
|
1804
1787
|
},
|
|
1805
1788
|
{
|
|
1806
1789
|
"name": "code-highlight",
|
|
@@ -1817,8 +1800,8 @@
|
|
|
1817
1800
|
{
|
|
1818
1801
|
"kind": "class",
|
|
1819
1802
|
"customElement": true,
|
|
1820
|
-
"tagName": "
|
|
1821
|
-
"name": "
|
|
1803
|
+
"tagName": "kc-message",
|
|
1804
|
+
"name": "KcMessageElement",
|
|
1822
1805
|
"description": "",
|
|
1823
1806
|
"members": [
|
|
1824
1807
|
{
|
|
@@ -1956,55 +1939,26 @@
|
|
|
1956
1939
|
{
|
|
1957
1940
|
"kind": "class",
|
|
1958
1941
|
"customElement": true,
|
|
1959
|
-
"tagName": "
|
|
1960
|
-
"name": "
|
|
1942
|
+
"tagName": "kc-model-switcher",
|
|
1943
|
+
"name": "KcModelSwitcherElement",
|
|
1961
1944
|
"description": "",
|
|
1962
1945
|
"members": [
|
|
1963
1946
|
{
|
|
1964
1947
|
"kind": "field",
|
|
1965
|
-
"name": "
|
|
1948
|
+
"name": "models",
|
|
1966
1949
|
"type": {
|
|
1967
|
-
"text": "{ id: string; name: string }[]"
|
|
1950
|
+
"text": "{ id: string; name: string; provider?: undefined | string }[]"
|
|
1968
1951
|
},
|
|
1969
|
-
"description": "The
|
|
1970
|
-
"privacy": "public"
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
"
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
1980
|
-
}
|
|
1981
|
-
],
|
|
1982
|
-
"events": [],
|
|
1983
|
-
"cssProperties": []
|
|
1984
|
-
},
|
|
1985
|
-
{
|
|
1986
|
-
"kind": "class",
|
|
1987
|
-
"customElement": true,
|
|
1988
|
-
"tagName": "kitn-model-switcher",
|
|
1989
|
-
"name": "KitnModelSwitcherElement",
|
|
1990
|
-
"description": "",
|
|
1991
|
-
"members": [
|
|
1992
|
-
{
|
|
1993
|
-
"kind": "field",
|
|
1994
|
-
"name": "models",
|
|
1995
|
-
"type": {
|
|
1996
|
-
"text": "{ id: string; name: string; provider?: undefined | string }[]"
|
|
1997
|
-
},
|
|
1998
|
-
"description": "The selectable models. Set as a JS property (array).",
|
|
1999
|
-
"privacy": "public"
|
|
2000
|
-
},
|
|
2001
|
-
{
|
|
2002
|
-
"kind": "field",
|
|
2003
|
-
"name": "currentModel",
|
|
2004
|
-
"type": {
|
|
2005
|
-
"text": "undefined | string"
|
|
2006
|
-
},
|
|
2007
|
-
"description": "The currently-selected model id. Defaults to the first model.",
|
|
1952
|
+
"description": "The selectable models. Set as a JS property (array).",
|
|
1953
|
+
"privacy": "public"
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"kind": "field",
|
|
1957
|
+
"name": "currentModel",
|
|
1958
|
+
"type": {
|
|
1959
|
+
"text": "undefined | string"
|
|
1960
|
+
},
|
|
1961
|
+
"description": "The currently-selected model id. Defaults to the first model.",
|
|
2008
1962
|
"privacy": "public"
|
|
2009
1963
|
}
|
|
2010
1964
|
],
|
|
@@ -2039,8 +1993,8 @@
|
|
|
2039
1993
|
{
|
|
2040
1994
|
"kind": "class",
|
|
2041
1995
|
"customElement": true,
|
|
2042
|
-
"tagName": "
|
|
2043
|
-
"name": "
|
|
1996
|
+
"tagName": "kc-prompt-input",
|
|
1997
|
+
"name": "KcPromptInputElement",
|
|
2044
1998
|
"description": "",
|
|
2045
1999
|
"members": [
|
|
2046
2000
|
{
|
|
@@ -2274,53 +2228,53 @@
|
|
|
2274
2228
|
{
|
|
2275
2229
|
"kind": "class",
|
|
2276
2230
|
"customElement": true,
|
|
2277
|
-
"tagName": "
|
|
2278
|
-
"name": "
|
|
2231
|
+
"tagName": "kc-reasoning",
|
|
2232
|
+
"name": "KcReasoningElement",
|
|
2279
2233
|
"description": "",
|
|
2280
2234
|
"members": [
|
|
2281
2235
|
{
|
|
2282
2236
|
"kind": "field",
|
|
2283
|
-
"name": "
|
|
2237
|
+
"name": "text",
|
|
2284
2238
|
"type": {
|
|
2285
|
-
"text": "
|
|
2239
|
+
"text": "string"
|
|
2286
2240
|
},
|
|
2287
|
-
"description": "The
|
|
2241
|
+
"description": "The reasoning text to display.",
|
|
2288
2242
|
"privacy": "public"
|
|
2289
2243
|
},
|
|
2290
2244
|
{
|
|
2291
2245
|
"kind": "field",
|
|
2292
|
-
"name": "
|
|
2246
|
+
"name": "label",
|
|
2293
2247
|
"type": {
|
|
2294
|
-
"text": "undefined |
|
|
2248
|
+
"text": "undefined | string"
|
|
2295
2249
|
},
|
|
2296
|
-
"description": "
|
|
2250
|
+
"description": "Trigger label.",
|
|
2297
2251
|
"privacy": "public"
|
|
2298
2252
|
},
|
|
2299
2253
|
{
|
|
2300
2254
|
"kind": "field",
|
|
2301
|
-
"name": "
|
|
2255
|
+
"name": "open",
|
|
2302
2256
|
"type": {
|
|
2303
|
-
"text": "undefined |
|
|
2257
|
+
"text": "undefined | false | true"
|
|
2304
2258
|
},
|
|
2305
|
-
"description": "
|
|
2259
|
+
"description": "Controlled open state — set as a property (`el.open = true`). Omit for uncontrolled (the trigger toggles it).",
|
|
2306
2260
|
"privacy": "public"
|
|
2307
2261
|
},
|
|
2308
2262
|
{
|
|
2309
2263
|
"kind": "field",
|
|
2310
|
-
"name": "
|
|
2264
|
+
"name": "streaming",
|
|
2311
2265
|
"type": {
|
|
2312
2266
|
"text": "undefined | false | true"
|
|
2313
2267
|
},
|
|
2314
|
-
"description": "
|
|
2268
|
+
"description": "While true, auto-expands (and re-collapses when it flips false).",
|
|
2315
2269
|
"privacy": "public"
|
|
2316
2270
|
},
|
|
2317
2271
|
{
|
|
2318
2272
|
"kind": "field",
|
|
2319
|
-
"name": "
|
|
2273
|
+
"name": "markdown",
|
|
2320
2274
|
"type": {
|
|
2321
|
-
"text": "undefined |
|
|
2275
|
+
"text": "undefined | false | true"
|
|
2322
2276
|
},
|
|
2323
|
-
"description": "
|
|
2277
|
+
"description": "Render `text` as markdown.",
|
|
2324
2278
|
"privacy": "public"
|
|
2325
2279
|
}
|
|
2326
2280
|
],
|
|
@@ -2333,45 +2287,53 @@
|
|
|
2333
2287
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2334
2288
|
},
|
|
2335
2289
|
{
|
|
2336
|
-
"name": "
|
|
2337
|
-
"fieldName": "
|
|
2290
|
+
"name": "text",
|
|
2291
|
+
"fieldName": "text",
|
|
2338
2292
|
"type": {
|
|
2339
|
-
"text": "
|
|
2293
|
+
"text": "string"
|
|
2340
2294
|
},
|
|
2341
|
-
"description": "
|
|
2295
|
+
"description": "The reasoning text to display."
|
|
2342
2296
|
},
|
|
2343
2297
|
{
|
|
2344
|
-
"name": "
|
|
2345
|
-
"fieldName": "
|
|
2298
|
+
"name": "label",
|
|
2299
|
+
"fieldName": "label",
|
|
2346
2300
|
"type": {
|
|
2347
|
-
"text": "undefined |
|
|
2301
|
+
"text": "undefined | string"
|
|
2348
2302
|
},
|
|
2349
|
-
"description": "
|
|
2303
|
+
"description": "Trigger label."
|
|
2350
2304
|
},
|
|
2351
2305
|
{
|
|
2352
|
-
"name": "
|
|
2353
|
-
"fieldName": "
|
|
2306
|
+
"name": "open",
|
|
2307
|
+
"fieldName": "open",
|
|
2354
2308
|
"type": {
|
|
2355
2309
|
"text": "undefined | false | true"
|
|
2356
2310
|
},
|
|
2357
|
-
"description": "
|
|
2311
|
+
"description": "Controlled open state — set as a property (`el.open = true`). Omit for uncontrolled (the trigger toggles it)."
|
|
2358
2312
|
},
|
|
2359
2313
|
{
|
|
2360
|
-
"name": "
|
|
2361
|
-
"fieldName": "
|
|
2314
|
+
"name": "streaming",
|
|
2315
|
+
"fieldName": "streaming",
|
|
2362
2316
|
"type": {
|
|
2363
|
-
"text": "undefined |
|
|
2317
|
+
"text": "undefined | false | true"
|
|
2364
2318
|
},
|
|
2365
|
-
"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."
|
|
2366
2328
|
}
|
|
2367
2329
|
],
|
|
2368
2330
|
"events": [
|
|
2369
2331
|
{
|
|
2370
|
-
"name": "
|
|
2332
|
+
"name": "openchange",
|
|
2371
2333
|
"type": {
|
|
2372
|
-
"text": "CustomEvent<{
|
|
2334
|
+
"text": "CustomEvent<{ open: false | true }>"
|
|
2373
2335
|
},
|
|
2374
|
-
"description": "
|
|
2336
|
+
"description": "Open state changed (via the trigger or streaming auto-open)."
|
|
2375
2337
|
}
|
|
2376
2338
|
],
|
|
2377
2339
|
"cssProperties": []
|
|
@@ -2379,53 +2341,98 @@
|
|
|
2379
2341
|
{
|
|
2380
2342
|
"kind": "class",
|
|
2381
2343
|
"customElement": true,
|
|
2382
|
-
"tagName": "
|
|
2383
|
-
"name": "
|
|
2344
|
+
"tagName": "kc-resizable",
|
|
2345
|
+
"name": "KcResizableElement",
|
|
2384
2346
|
"description": "",
|
|
2385
2347
|
"members": [
|
|
2386
2348
|
{
|
|
2387
2349
|
"kind": "field",
|
|
2388
|
-
"name": "
|
|
2350
|
+
"name": "orientation",
|
|
2389
2351
|
"type": {
|
|
2390
|
-
"text": "
|
|
2352
|
+
"text": "undefined | \"horizontal\" | \"vertical\""
|
|
2391
2353
|
},
|
|
2392
|
-
"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.",
|
|
2393
2400
|
"privacy": "public"
|
|
2394
2401
|
},
|
|
2395
2402
|
{
|
|
2396
2403
|
"kind": "field",
|
|
2397
|
-
"name": "
|
|
2404
|
+
"name": "min",
|
|
2398
2405
|
"type": {
|
|
2399
2406
|
"text": "undefined | string"
|
|
2400
2407
|
},
|
|
2401
|
-
"description": "
|
|
2408
|
+
"description": "Minimum size during resize (px or %).",
|
|
2402
2409
|
"privacy": "public"
|
|
2403
2410
|
},
|
|
2404
2411
|
{
|
|
2405
2412
|
"kind": "field",
|
|
2406
|
-
"name": "
|
|
2413
|
+
"name": "max",
|
|
2407
2414
|
"type": {
|
|
2408
|
-
"text": "undefined |
|
|
2415
|
+
"text": "undefined | string"
|
|
2409
2416
|
},
|
|
2410
|
-
"description": "
|
|
2417
|
+
"description": "Maximum size during resize (px or %).",
|
|
2411
2418
|
"privacy": "public"
|
|
2412
2419
|
},
|
|
2413
2420
|
{
|
|
2414
2421
|
"kind": "field",
|
|
2415
|
-
"name": "
|
|
2422
|
+
"name": "locked",
|
|
2416
2423
|
"type": {
|
|
2417
2424
|
"text": "undefined | false | true"
|
|
2418
2425
|
},
|
|
2419
|
-
"description": "
|
|
2426
|
+
"description": "Fix this panel's size; adjacent dividers become non-draggable.",
|
|
2420
2427
|
"privacy": "public"
|
|
2421
2428
|
},
|
|
2422
2429
|
{
|
|
2423
2430
|
"kind": "field",
|
|
2424
|
-
"name": "
|
|
2431
|
+
"name": "hidden",
|
|
2425
2432
|
"type": {
|
|
2426
2433
|
"text": "undefined | false | true"
|
|
2427
2434
|
},
|
|
2428
|
-
"description": "
|
|
2435
|
+
"description": "Hide this panel; its divider is dropped and the rest reflow.",
|
|
2429
2436
|
"privacy": "public"
|
|
2430
2437
|
}
|
|
2431
2438
|
],
|
|
@@ -2438,53 +2445,53 @@
|
|
|
2438
2445
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2439
2446
|
},
|
|
2440
2447
|
{
|
|
2441
|
-
"name": "
|
|
2442
|
-
"fieldName": "
|
|
2448
|
+
"name": "size",
|
|
2449
|
+
"fieldName": "size",
|
|
2443
2450
|
"type": {
|
|
2444
|
-
"text": "string"
|
|
2451
|
+
"text": "undefined | string"
|
|
2445
2452
|
},
|
|
2446
|
-
"description": "
|
|
2453
|
+
"description": "Initial main-axis size: `\"280px\"` (fixed) or `\"25%\"`/`25` (percent). Omitted → flexible."
|
|
2447
2454
|
},
|
|
2448
2455
|
{
|
|
2449
|
-
"name": "
|
|
2450
|
-
"fieldName": "
|
|
2456
|
+
"name": "min",
|
|
2457
|
+
"fieldName": "min",
|
|
2451
2458
|
"type": {
|
|
2452
2459
|
"text": "undefined | string"
|
|
2453
2460
|
},
|
|
2454
|
-
"description": "
|
|
2461
|
+
"description": "Minimum size during resize (px or %)."
|
|
2455
2462
|
},
|
|
2456
2463
|
{
|
|
2457
|
-
"name": "
|
|
2458
|
-
"fieldName": "
|
|
2464
|
+
"name": "max",
|
|
2465
|
+
"fieldName": "max",
|
|
2459
2466
|
"type": {
|
|
2460
|
-
"text": "undefined |
|
|
2467
|
+
"text": "undefined | string"
|
|
2461
2468
|
},
|
|
2462
|
-
"description": "
|
|
2469
|
+
"description": "Maximum size during resize (px or %)."
|
|
2463
2470
|
},
|
|
2464
2471
|
{
|
|
2465
|
-
"name": "
|
|
2466
|
-
"fieldName": "
|
|
2472
|
+
"name": "locked",
|
|
2473
|
+
"fieldName": "locked",
|
|
2467
2474
|
"type": {
|
|
2468
2475
|
"text": "undefined | false | true"
|
|
2469
2476
|
},
|
|
2470
|
-
"description": "
|
|
2477
|
+
"description": "Fix this panel's size; adjacent dividers become non-draggable."
|
|
2471
2478
|
},
|
|
2472
2479
|
{
|
|
2473
|
-
"name": "
|
|
2474
|
-
"fieldName": "
|
|
2480
|
+
"name": "hidden",
|
|
2481
|
+
"fieldName": "hidden",
|
|
2475
2482
|
"type": {
|
|
2476
2483
|
"text": "undefined | false | true"
|
|
2477
2484
|
},
|
|
2478
|
-
"description": "
|
|
2485
|
+
"description": "Hide this panel; its divider is dropped and the rest reflow."
|
|
2479
2486
|
}
|
|
2480
2487
|
],
|
|
2481
2488
|
"events": [
|
|
2482
2489
|
{
|
|
2483
|
-
"name": "
|
|
2490
|
+
"name": "change",
|
|
2484
2491
|
"type": {
|
|
2485
|
-
"text": "CustomEvent<
|
|
2492
|
+
"text": "CustomEvent<unknown>"
|
|
2486
2493
|
},
|
|
2487
|
-
"description": "
|
|
2494
|
+
"description": ""
|
|
2488
2495
|
}
|
|
2489
2496
|
],
|
|
2490
2497
|
"cssProperties": []
|
|
@@ -2492,8 +2499,8 @@
|
|
|
2492
2499
|
{
|
|
2493
2500
|
"kind": "class",
|
|
2494
2501
|
"customElement": true,
|
|
2495
|
-
"tagName": "
|
|
2496
|
-
"name": "
|
|
2502
|
+
"tagName": "kc-response-stream",
|
|
2503
|
+
"name": "KcResponseStreamElement",
|
|
2497
2504
|
"description": "",
|
|
2498
2505
|
"members": [
|
|
2499
2506
|
{
|
|
@@ -2580,53 +2587,80 @@
|
|
|
2580
2587
|
{
|
|
2581
2588
|
"kind": "class",
|
|
2582
2589
|
"customElement": true,
|
|
2583
|
-
"tagName": "
|
|
2584
|
-
"name": "
|
|
2590
|
+
"tagName": "kc-scope-picker",
|
|
2591
|
+
"name": "KcScopePickerElement",
|
|
2585
2592
|
"description": "",
|
|
2586
2593
|
"members": [
|
|
2587
2594
|
{
|
|
2588
2595
|
"kind": "field",
|
|
2589
|
-
"name": "
|
|
2596
|
+
"name": "availableAuthors",
|
|
2590
2597
|
"type": {
|
|
2591
|
-
"text": "
|
|
2598
|
+
"text": "string[]"
|
|
2592
2599
|
},
|
|
2593
|
-
"description": "
|
|
2600
|
+
"description": "Authors to offer as scope filters. Set as a JS property.",
|
|
2594
2601
|
"privacy": "public"
|
|
2595
2602
|
},
|
|
2596
2603
|
{
|
|
2597
2604
|
"kind": "field",
|
|
2598
|
-
"name": "
|
|
2605
|
+
"name": "availableTags",
|
|
2599
2606
|
"type": {
|
|
2600
|
-
"text": "
|
|
2607
|
+
"text": "string[]"
|
|
2601
2608
|
},
|
|
2602
|
-
"description": "
|
|
2609
|
+
"description": "Tags to offer as scope filters. Set as a JS property.",
|
|
2603
2610
|
"privacy": "public"
|
|
2604
2611
|
},
|
|
2605
2612
|
{
|
|
2606
2613
|
"kind": "field",
|
|
2607
|
-
"name": "
|
|
2614
|
+
"name": "currentLabel",
|
|
2608
2615
|
"type": {
|
|
2609
2616
|
"text": "undefined | string"
|
|
2610
2617
|
},
|
|
2611
|
-
"description": "
|
|
2618
|
+
"description": "The label shown on the trigger for the active scope.",
|
|
2612
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)."
|
|
2613
2629
|
},
|
|
2614
2630
|
{
|
|
2615
|
-
"
|
|
2616
|
-
"
|
|
2631
|
+
"name": "current-label",
|
|
2632
|
+
"fieldName": "currentLabel",
|
|
2617
2633
|
"type": {
|
|
2618
2634
|
"text": "undefined | string"
|
|
2619
2635
|
},
|
|
2620
|
-
"description": "
|
|
2621
|
-
|
|
2622
|
-
|
|
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": [
|
|
2623
2657
|
{
|
|
2624
2658
|
"kind": "field",
|
|
2625
|
-
"name": "
|
|
2659
|
+
"name": "skills",
|
|
2626
2660
|
"type": {
|
|
2627
|
-
"text": "
|
|
2661
|
+
"text": "{ id: string; name: string }[]"
|
|
2628
2662
|
},
|
|
2629
|
-
"description": "
|
|
2663
|
+
"description": "The active skills to badge. Set as a JS property.",
|
|
2630
2664
|
"privacy": "public"
|
|
2631
2665
|
}
|
|
2632
2666
|
],
|
|
@@ -2637,22 +2671,87 @@
|
|
|
2637
2671
|
"text": "'light' | 'dark' | 'auto'"
|
|
2638
2672
|
},
|
|
2639
2673
|
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2640
|
-
}
|
|
2674
|
+
}
|
|
2675
|
+
],
|
|
2676
|
+
"events": [],
|
|
2677
|
+
"cssProperties": []
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"kind": "class",
|
|
2681
|
+
"customElement": true,
|
|
2682
|
+
"tagName": "kc-source",
|
|
2683
|
+
"name": "KcSourceElement",
|
|
2684
|
+
"description": "",
|
|
2685
|
+
"members": [
|
|
2641
2686
|
{
|
|
2687
|
+
"kind": "field",
|
|
2642
2688
|
"name": "href",
|
|
2643
|
-
"fieldName": "href",
|
|
2644
2689
|
"type": {
|
|
2645
2690
|
"text": "undefined | string"
|
|
2646
2691
|
},
|
|
2647
|
-
"description": "The URL this citation links to (the domain also seeds the default label/favicon)."
|
|
2692
|
+
"description": "The URL this citation links to (the domain also seeds the default label/favicon).",
|
|
2693
|
+
"privacy": "public"
|
|
2648
2694
|
},
|
|
2649
2695
|
{
|
|
2696
|
+
"kind": "field",
|
|
2650
2697
|
"name": "label",
|
|
2651
|
-
"fieldName": "label",
|
|
2652
2698
|
"type": {
|
|
2653
2699
|
"text": "undefined | string"
|
|
2654
2700
|
},
|
|
2655
|
-
"description": "Trigger label (defaults to the domain)."
|
|
2701
|
+
"description": "Trigger label (defaults to the domain).",
|
|
2702
|
+
"privacy": "public"
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
"kind": "field",
|
|
2706
|
+
"name": "headline",
|
|
2707
|
+
"type": {
|
|
2708
|
+
"text": "undefined | string"
|
|
2709
|
+
},
|
|
2710
|
+
"description": "Hover-card headline. Attribute: `headline` (`title` is avoided — it's a global HTML attribute that reflects in a CE constructor and breaks it).",
|
|
2711
|
+
"privacy": "public"
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
"kind": "field",
|
|
2715
|
+
"name": "description",
|
|
2716
|
+
"type": {
|
|
2717
|
+
"text": "undefined | string"
|
|
2718
|
+
},
|
|
2719
|
+
"description": "Hover-card body text describing the source.",
|
|
2720
|
+
"privacy": "public"
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
"kind": "field",
|
|
2724
|
+
"name": "showFavicon",
|
|
2725
|
+
"type": {
|
|
2726
|
+
"text": "undefined | false | true"
|
|
2727
|
+
},
|
|
2728
|
+
"description": "Show the source's favicon next to the trigger label.",
|
|
2729
|
+
"privacy": "public"
|
|
2730
|
+
}
|
|
2731
|
+
],
|
|
2732
|
+
"attributes": [
|
|
2733
|
+
{
|
|
2734
|
+
"name": "theme",
|
|
2735
|
+
"type": {
|
|
2736
|
+
"text": "'light' | 'dark' | 'auto'"
|
|
2737
|
+
},
|
|
2738
|
+
"description": "Color mode (auto follows prefers-color-scheme)."
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"name": "href",
|
|
2742
|
+
"fieldName": "href",
|
|
2743
|
+
"type": {
|
|
2744
|
+
"text": "undefined | string"
|
|
2745
|
+
},
|
|
2746
|
+
"description": "The URL this citation links to (the domain also seeds the default label/favicon)."
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"name": "label",
|
|
2750
|
+
"fieldName": "label",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "undefined | string"
|
|
2753
|
+
},
|
|
2754
|
+
"description": "Trigger label (defaults to the domain)."
|
|
2656
2755
|
},
|
|
2657
2756
|
{
|
|
2658
2757
|
"name": "headline",
|
|
@@ -2685,8 +2784,8 @@
|
|
|
2685
2784
|
{
|
|
2686
2785
|
"kind": "class",
|
|
2687
2786
|
"customElement": true,
|
|
2688
|
-
"tagName": "
|
|
2689
|
-
"name": "
|
|
2787
|
+
"tagName": "kc-sources",
|
|
2788
|
+
"name": "KcSourcesElement",
|
|
2690
2789
|
"description": "",
|
|
2691
2790
|
"members": [
|
|
2692
2791
|
{
|
|
@@ -2731,8 +2830,176 @@
|
|
|
2731
2830
|
{
|
|
2732
2831
|
"kind": "class",
|
|
2733
2832
|
"customElement": true,
|
|
2734
|
-
"tagName": "
|
|
2735
|
-
"name": "
|
|
2833
|
+
"tagName": "kc-suggestions",
|
|
2834
|
+
"name": "KcSuggestionsElement",
|
|
2835
|
+
"description": "",
|
|
2836
|
+
"members": [
|
|
2837
|
+
{
|
|
2838
|
+
"kind": "field",
|
|
2839
|
+
"name": "suggestions",
|
|
2840
|
+
"type": {
|
|
2841
|
+
"text": "(string | { label: string; value?: undefined | string })[]"
|
|
2842
|
+
},
|
|
2843
|
+
"description": "The suggestions. Strings, or `{ label, value }` when the displayed text and the emitted value differ. Set as a JS property.",
|
|
2844
|
+
"privacy": "public"
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"kind": "field",
|
|
2848
|
+
"name": "variant",
|
|
2849
|
+
"type": {
|
|
2850
|
+
"text": "undefined | \"ghost\" | \"default\" | \"outline\""
|
|
2851
|
+
},
|
|
2852
|
+
"description": "Chip style: `'outline'` (default), `'ghost'`, or `'default'` (filled).",
|
|
2853
|
+
"privacy": "public"
|
|
2854
|
+
},
|
|
2855
|
+
{
|
|
2856
|
+
"kind": "field",
|
|
2857
|
+
"name": "size",
|
|
2858
|
+
"type": {
|
|
2859
|
+
"text": "undefined | \"sm\" | \"lg\" | \"md\" | \"icon\" | \"icon-sm\""
|
|
2860
|
+
},
|
|
2861
|
+
"description": "Size preset for each chip. Defaults to the pill default (`'lg'`); pass `'sm'` for smaller pills (or `'md'`).",
|
|
2862
|
+
"privacy": "public"
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
"kind": "field",
|
|
2866
|
+
"name": "block",
|
|
2867
|
+
"type": {
|
|
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",
|
|
2736
3003
|
"description": "",
|
|
2737
3004
|
"members": [
|
|
2738
3005
|
{
|
|
@@ -2819,8 +3086,8 @@
|
|
|
2819
3086
|
{
|
|
2820
3087
|
"kind": "class",
|
|
2821
3088
|
"customElement": true,
|
|
2822
|
-
"tagName": "
|
|
2823
|
-
"name": "
|
|
3089
|
+
"tagName": "kc-thinking-bar",
|
|
3090
|
+
"name": "KcThinkingBarElement",
|
|
2824
3091
|
"description": "",
|
|
2825
3092
|
"members": [
|
|
2826
3093
|
{
|
|
@@ -2898,8 +3165,8 @@
|
|
|
2898
3165
|
{
|
|
2899
3166
|
"kind": "class",
|
|
2900
3167
|
"customElement": true,
|
|
2901
|
-
"tagName": "
|
|
2902
|
-
"name": "
|
|
3168
|
+
"tagName": "kc-tool",
|
|
3169
|
+
"name": "KcToolElement",
|
|
2903
3170
|
"description": "",
|
|
2904
3171
|
"members": [
|
|
2905
3172
|
{
|
|
@@ -2957,8 +3224,8 @@
|
|
|
2957
3224
|
{
|
|
2958
3225
|
"kind": "class",
|
|
2959
3226
|
"customElement": true,
|
|
2960
|
-
"tagName": "
|
|
2961
|
-
"name": "
|
|
3227
|
+
"tagName": "kc-voice-input",
|
|
3228
|
+
"name": "KcVoiceInputElement",
|
|
2962
3229
|
"description": "",
|
|
2963
3230
|
"members": [
|
|
2964
3231
|
{
|
|
@@ -3014,6 +3281,482 @@
|
|
|
3014
3281
|
}
|
|
3015
3282
|
],
|
|
3016
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": []
|
|
3017
3760
|
}
|
|
3018
3761
|
]
|
|
3019
3762
|
}
|