@collective-intelligence/ai 0.0.0-stage → 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/AGENTS.md +52 -0
- package/README.md +462 -2
- package/dist/api/access-check.d.ts +18 -0
- package/dist/api/answer-sources.d.ts +48 -0
- package/dist/api/attachments-api.d.ts +187 -0
- package/dist/api/catalog-api.d.ts +408 -0
- package/dist/api/chat-api.d.ts +2401 -0
- package/dist/api/chat-surface-api.d.ts +4186 -0
- package/dist/api/compaction.d.ts +52 -0
- package/dist/api/conversations.d.ts +107 -0
- package/dist/api/errors.d.ts +117 -0
- package/dist/api/feedback-api.d.ts +185 -0
- package/dist/api/files.d.ts +22 -0
- package/dist/api/ids.d.ts +33 -0
- package/dist/api/index.d.ts +21 -0
- package/dist/api/intents-api.d.ts +65 -0
- package/dist/api/place-context.d.ts +34 -0
- package/dist/api/projects-api.d.ts +718 -0
- package/dist/api/speech-api.d.ts +345 -0
- package/dist/api/transcript.d.ts +260 -0
- package/dist/api/turns.d.ts +196 -0
- package/dist/api.d.ts +21 -0
- package/dist/api.js +1 -0
- package/dist/domain/access.d.ts +29 -0
- package/dist/domain/context-trail.d.ts +65 -0
- package/dist/domain/data-parts.d.ts +247 -0
- package/dist/domain/errors.d.ts +28 -0
- package/dist/domain/index.d.ts +14 -0
- package/dist/domain/intents.d.ts +101 -0
- package/dist/domain/message.d.ts +173 -0
- package/dist/domain/place.d.ts +17 -0
- package/dist/domain/runtime-value.d.ts +16 -0
- package/dist/domain-50vzrrp9.js +2 -0
- package/dist/domain-5fpd4fte.js +1 -0
- package/dist/domain-9wzbv87n.js +2 -0
- package/dist/domain-g97xs965.js +2 -0
- package/dist/domain-hk3yw2m7.js +1 -0
- package/dist/domain-qyts6dgz.js +0 -0
- package/dist/domain-s07s1ry1.js +2 -0
- package/dist/domain.d.ts +14 -0
- package/dist/domain.js +1 -0
- package/dist/headless/access/access-store.d.ts +28 -0
- package/dist/headless/access/visibility.d.ts +24 -0
- package/dist/headless/blocked-state.d.ts +21 -0
- package/dist/headless/chat-registry.d.ts +63 -0
- package/dist/headless/chat-session-provider.d.ts +109 -0
- package/dist/headless/chat-surface.d.ts +4210 -0
- package/dist/headless/host-ports.d.ts +146 -0
- package/dist/headless/index.d.ts +33 -0
- package/dist/headless/intents/card-ends.d.ts +22 -0
- package/dist/headless/intents/intent-call.d.ts +28 -0
- package/dist/headless/intents/intents-provider.d.ts +108 -0
- package/dist/headless/intents/page-registry.d.ts +129 -0
- package/dist/headless/intents/use-intent-dispatch.d.ts +60 -0
- package/dist/headless/intents/use-intents.d.ts +11 -0
- package/dist/headless/intents/use-returned-intent-handle.d.ts +11 -0
- package/dist/headless/launch/chat-launch.d.ts +42 -0
- package/dist/headless/launch/launch-target.d.ts +25 -0
- package/dist/headless/launch/submit.d.ts +29 -0
- package/dist/headless/run-state.d.ts +16 -0
- package/dist/headless/sent-files.d.ts +20 -0
- package/dist/headless/server-started-turn-follow.proof.d.ts +26 -0
- package/dist/headless/session-machine.d.ts +745 -0
- package/dist/headless/trail/buffer.d.ts +48 -0
- package/dist/headless/trail/json-ld.d.ts +10 -0
- package/dist/headless/trail/switches.d.ts +10 -0
- package/dist/headless/trail/trail-provider.d.ts +53 -0
- package/dist/headless/transcript-messages.d.ts +26 -0
- package/dist/headless.d.ts +33 -0
- package/dist/headless.js +2 -0
- package/dist/transport/chat-client.d.ts +25 -0
- package/dist/transport/chat-transport.d.ts +57 -0
- package/dist/transport/index.d.ts +6 -0
- package/dist/transport/simulated-chat-transport.d.ts +39 -0
- package/dist/transport.d.ts +6 -0
- package/dist/transport.js +1 -0
- package/dist/views/assistant-sidebar/assistant-sidebar.d.ts +15 -0
- package/dist/views/assistant-sidebar/layout.d.ts +47 -0
- package/dist/views/assistant-sidebar/toggle.d.ts +14 -0
- package/dist/views/assistant-sidebar/use-shortcut.d.ts +11 -0
- package/dist/views/blocked/chat-blocked-state.d.ts +15 -0
- package/dist/views/chat-operations.d.ts +46 -0
- package/dist/views/chat-root.d.ts +14 -0
- package/dist/views/chat.d.ts +51 -0
- package/dist/views/composer/capability-picker.d.ts +77 -0
- package/dist/views/composer/capability-pickers.d.ts +24 -0
- package/dist/views/composer/chat-composer.d.ts +15 -0
- package/dist/views/composer/composer-picks.d.ts +31 -0
- package/dist/views/composer/composer-trail.d.ts +21 -0
- package/dist/views/composer/draft-attachments.d.ts +36 -0
- package/dist/views/composer/queued-messages.d.ts +9 -0
- package/dist/views/composer/send-menu.d.ts +11 -0
- package/dist/views/composer/slash-suggestions.d.ts +37 -0
- package/dist/views/composer/trail-chips.d.ts +15 -0
- package/dist/views/composer/voice-input/microphone.d.ts +14 -0
- package/dist/views/composer/voice-input/remote-transcription.d.ts +12 -0
- package/dist/views/composer/voice-input/use-voice-input.d.ts +30 -0
- package/dist/views/composer/voice-input/voice-input.d.ts +15 -0
- package/dist/views/dock/chat-dock.d.ts +57 -0
- package/dist/views/dock/dock-session.d.ts +22 -0
- package/dist/views/header/chat-header.d.ts +10 -0
- package/dist/views/header/compaction-controls.d.ts +17 -0
- package/dist/views/header/memory-switch.d.ts +16 -0
- package/dist/views/index.d.ts +58 -0
- package/dist/views/intents/form-fields.d.ts +38 -0
- package/dist/views/intents/intent-card.d.ts +61 -0
- package/dist/views/intents/intent-form.d.ts +23 -0
- package/dist/views/intents/intent-notices.d.ts +39 -0
- package/dist/views/intents/intent-trigger.d.ts +46 -0
- package/dist/views/intents/labels.d.ts +23 -0
- package/dist/views/labels/en.d.ts +3 -0
- package/dist/views/labels/index.d.ts +13 -0
- package/dist/views/labels/it.d.ts +3 -0
- package/dist/views/labels/types.d.ts +7 -0
- package/dist/views/launch/chat-launch-button.d.ts +21 -0
- package/dist/views/parts/answer-feedback.d.ts +26 -0
- package/dist/views/parts/evidence-part.d.ts +8 -0
- package/dist/views/parts/file-part.d.ts +8 -0
- package/dist/views/parts/image-generation-part.d.ts +9 -0
- package/dist/views/parts/image-generation.d.ts +84 -0
- package/dist/views/parts/intent-card-part.d.ts +8 -0
- package/dist/views/parts/memory-evidence-part.d.ts +7 -0
- package/dist/views/parts/message-parts.d.ts +21 -0
- package/dist/views/parts/question-part.d.ts +8 -0
- package/dist/views/parts/read-aloud.d.ts +23 -0
- package/dist/views/parts/reasoning-part.d.ts +8 -0
- package/dist/views/parts/steering-message-part.d.ts +7 -0
- package/dist/views/parts/text-part.d.ts +4 -0
- package/dist/views/parts/tool-part.d.ts +11 -0
- package/dist/views/parts/types.d.ts +103 -0
- package/dist/views/parts/use-read-aloud.d.ts +13 -0
- package/dist/views/run-trace/message-run.d.ts +17 -0
- package/dist/views/run-trace/run-stream.d.ts +128 -0
- package/dist/views/run-trace/run-trace-parts.d.ts +26 -0
- package/dist/views/run-trace/run-trace.d.ts +31 -0
- package/dist/views/sidebar/conversation-dialogs.d.ts +38 -0
- package/dist/views/sidebar/conversation-row.d.ts +23 -0
- package/dist/views/sidebar/conversation-sidebar.d.ts +10 -0
- package/dist/views/sidebar/date-groups.d.ts +12 -0
- package/dist/views/sidebar/history-filter.d.ts +57 -0
- package/dist/views/sidebar/projects/project-dialogs.d.ts +40 -0
- package/dist/views/sidebar/projects/project-files.d.ts +16 -0
- package/dist/views/sidebar/projects/project-groups.d.ts +19 -0
- package/dist/views/sidebar/projects/project-view.d.ts +21 -0
- package/dist/views/sidebar/projects/projects-section.d.ts +21 -0
- package/dist/views/sidebar/projects/use-chat-projects.d.ts +32 -0
- package/dist/views/slots.d.ts +148 -0
- package/dist/views/transcript/chat-transcript.d.ts +13 -0
- package/dist/views/transcript/sent-trail.d.ts +13 -0
- package/dist/views/transcript/use-image-reload.d.ts +16 -0
- package/dist/views.d.ts +58 -0
- package/dist/views.js +3 -0
- package/docs/guide/ai/index.md +377 -0
- package/docs/guide/ai/studio.md +245 -0
- package/docs/guide/data/connectors.md +267 -0
- package/docs/guide/data/datasets.md +145 -0
- package/docs/guide/data/documents.md +235 -0
- package/docs/guide/data/index.md +62 -0
- package/docs/guide/data/knowledge.md +214 -0
- package/docs/guide/develop/extensions.md +299 -0
- package/docs/guide/develop/external-apps.md +279 -0
- package/docs/guide/develop/infrastructure.md +135 -0
- package/docs/guide/develop/sdks.md +233 -0
- package/docs/guide/index.md +83 -0
- package/docs/guide/platform/access.md +311 -0
- package/docs/guide/platform/architecture.md +166 -0
- package/docs/guide/platform/built-ins.md +225 -0
- package/docs/guide/platform/entrypoints.md +318 -0
- package/docs/guide/scenarios/index.md +130 -0
- package/docs/guide/template/index.md +295 -0
- package/docs/guide/template/state-machines.md +294 -0
- package/package.json +123 -4
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from "react";
|
|
2
|
+
import type { AgentId, CatalogSkill, ConversationId } from "../api/index.js";
|
|
3
|
+
import type { AiResult, CiUIMessage } from "../domain/index.js";
|
|
4
|
+
import type { ChatBlockedState, ChatCapability, ChatSubmit, NewChat } from "../headless/index.js";
|
|
5
|
+
import type { ChatPickerList } from "./composer/capability-picker.js";
|
|
6
|
+
import type { ChatLabels, ChatLocale } from "./labels/index.js";
|
|
7
|
+
import type { ChatMessagePartComponents } from "./parts/types.js";
|
|
8
|
+
import type { ChatHistory } from "./sidebar/history-filter.js";
|
|
9
|
+
import type { ChatProjects } from "./sidebar/projects/use-chat-projects.js";
|
|
10
|
+
/** The draft of the composer, as a `composerAccessory` function receives it. */
|
|
11
|
+
export type ChatComposerDraft = Readonly<{
|
|
12
|
+
/** `true` while the composer takes no message, for example while the open Conversation loads. */
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
/** Replaces the draft text, for example with the words of a voice input. */
|
|
15
|
+
setValue: (value: string) => void;
|
|
16
|
+
/** The draft text. */
|
|
17
|
+
value: string;
|
|
18
|
+
}>;
|
|
19
|
+
/**
|
|
20
|
+
* Controls in the composer toolbar: a node, or a function of the draft for a
|
|
21
|
+
* control that writes into it, such as a voice input.
|
|
22
|
+
*/
|
|
23
|
+
export type ChatComposerAccessory = ReactNode | ((draft: ChatComposerDraft) => ReactNode);
|
|
24
|
+
/** Content that the default chat inserts at fixed places of its layout (AC-195). */
|
|
25
|
+
export type ChatSlots = Readonly<{
|
|
26
|
+
/** Controls in the composer toolbar. */
|
|
27
|
+
composerAccessory?: ChatComposerAccessory;
|
|
28
|
+
/** Shown in the transcript of a chat without messages. */
|
|
29
|
+
emptyState?: ReactNode;
|
|
30
|
+
/** Controls at the end of the header. */
|
|
31
|
+
headerActions?: ReactNode;
|
|
32
|
+
/** Shown below each message. */
|
|
33
|
+
messageFooter?: (message: CiUIMessage) => ReactNode;
|
|
34
|
+
/** Shown at the bottom of the Conversation sidebar. */
|
|
35
|
+
sidebarFooter?: ReactNode;
|
|
36
|
+
/** Shown at the top of the Conversation sidebar. */
|
|
37
|
+
sidebarHeader?: ReactNode;
|
|
38
|
+
/** Shown after the last message of the transcript. */
|
|
39
|
+
transcriptFooter?: ReactNode;
|
|
40
|
+
}>;
|
|
41
|
+
/**
|
|
42
|
+
* How a new chat gets its agent: `pinned`, each new Conversation starts with
|
|
43
|
+
* the developer's pinned agent (AC-202); `optional`, the user picks an agent
|
|
44
|
+
* or chats without one; `required`, plain chat is hidden, so the user must
|
|
45
|
+
* pick an agent (AC-203).
|
|
46
|
+
*/
|
|
47
|
+
export type ChatAgentChoice = "optional" | "pinned" | "required";
|
|
48
|
+
/** A message that a part sends, with the agent that the user picked for a new chat. */
|
|
49
|
+
export type ChatSendMessage = ChatSubmit & Readonly<{
|
|
50
|
+
agentId?: AgentId;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Sends a message with the developer's agent choice: a new chat starts with
|
|
54
|
+
* the pinned agent, else the picked one, in the open Project. It fails at
|
|
55
|
+
* once when plain chat is hidden and a new chat has no agent; any later
|
|
56
|
+
* failure shows in `useChatSession().failure`.
|
|
57
|
+
*/
|
|
58
|
+
export type ChatSend = (message: ChatSendMessage) => AiResult<void>;
|
|
59
|
+
/** What each part of the default chat receives. */
|
|
60
|
+
export type ChatPartProps = Readonly<{
|
|
61
|
+
/** How a new chat gets its agent, from `pinnedAgentId` and `plainChat`. */
|
|
62
|
+
agentChoice: ChatAgentChoice;
|
|
63
|
+
/** The class name that `classNames` gives this part. */
|
|
64
|
+
className: string | undefined;
|
|
65
|
+
/** The labels of the locale, with the `labels` overrides. */
|
|
66
|
+
labels: ChatLabels;
|
|
67
|
+
locale: ChatLocale;
|
|
68
|
+
/** Opens a new chat, with the developer's agent choice; it leaves a Project view. */
|
|
69
|
+
newChat: (options?: NewChat) => void;
|
|
70
|
+
send: ChatSend;
|
|
71
|
+
slots: ChatSlots;
|
|
72
|
+
}>;
|
|
73
|
+
/** What the Skill and tool pickers of the composer receive (AC-091). */
|
|
74
|
+
export type ChatCapabilityPickersProps = Readonly<{
|
|
75
|
+
/** The Skills and tools picked for the turns of the open Conversation. */
|
|
76
|
+
capabilities: readonly ChatCapability[];
|
|
77
|
+
/** `true` while the composer takes no message. */
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
labels: ChatLabels;
|
|
80
|
+
/** Replaces the picks; they go with each turn as its selected capabilities. */
|
|
81
|
+
setCapabilities: (capabilities: readonly ChatCapability[]) => void;
|
|
82
|
+
/** The Skills of the Place, which the composer also reads for its slash list. */
|
|
83
|
+
skills: ChatPickerList<CatalogSkill>;
|
|
84
|
+
}>;
|
|
85
|
+
/** What the Agent picker of a new chat receives (AC-203). */
|
|
86
|
+
export type ChatAgentPickerProps = Readonly<{
|
|
87
|
+
/** The picked Agent; `null` for a plain chat. */
|
|
88
|
+
agentId: AgentId | null;
|
|
89
|
+
/** `false` when a new chat must start with an Agent: the pick has no clear button. */
|
|
90
|
+
clearable: boolean;
|
|
91
|
+
disabled: boolean;
|
|
92
|
+
labels: ChatLabels;
|
|
93
|
+
/** Picks the Agent of the new chat, or clears it with `null`. */
|
|
94
|
+
onChange: (agentId: AgentId | null) => void;
|
|
95
|
+
}>;
|
|
96
|
+
/** Pickers that replace the defaults of the composer, by part. */
|
|
97
|
+
export type ChatComposerPartComponents = Readonly<{
|
|
98
|
+
AgentPicker?: ComponentType<ChatAgentPickerProps>;
|
|
99
|
+
CapabilityPickers?: ComponentType<ChatCapabilityPickersProps>;
|
|
100
|
+
}>;
|
|
101
|
+
/** What the composer part receives. */
|
|
102
|
+
export type ChatComposerProps = ChatPartProps & Readonly<{
|
|
103
|
+
/** Pickers that replace the default pickers of the composer. */
|
|
104
|
+
composerParts?: ChatComposerPartComponents | undefined;
|
|
105
|
+
}>;
|
|
106
|
+
/** What the header part receives. */
|
|
107
|
+
export type ChatHeaderProps = ChatPartProps & Readonly<{
|
|
108
|
+
/**
|
|
109
|
+
* Opens the Conversation list in a sheet. The default header calls it
|
|
110
|
+
* from the button that it shows below the Studio breakpoint, where the
|
|
111
|
+
* default layout hides the list.
|
|
112
|
+
*/
|
|
113
|
+
openConversations: () => void;
|
|
114
|
+
}>;
|
|
115
|
+
/** What the Conversation sidebar part receives. */
|
|
116
|
+
export type ConversationSidebarProps = ChatPartProps & Readonly<{
|
|
117
|
+
/** The History Scope: the filter, the listed Conversations and the place names. */
|
|
118
|
+
history: ChatHistory;
|
|
119
|
+
/** The Projects of the chat; `enabled` is `false` when the `flags` port turns them off. */
|
|
120
|
+
projects: ChatProjects;
|
|
121
|
+
/** Opens a Conversation; it leaves a Project view. */
|
|
122
|
+
selectConversation: (conversationId: ConversationId) => void;
|
|
123
|
+
}>;
|
|
124
|
+
/** What the transcript part receives. */
|
|
125
|
+
export type ChatTranscriptProps = ChatPartProps & Readonly<{
|
|
126
|
+
/** Renderers that replace the default renderer of a message part. */
|
|
127
|
+
messageParts?: ChatMessagePartComponents | undefined;
|
|
128
|
+
}>;
|
|
129
|
+
/** What the blocked-state part receives. */
|
|
130
|
+
export type ChatBlockedStateProps = ChatPartProps & Readonly<{
|
|
131
|
+
blocked: ChatBlockedState;
|
|
132
|
+
}>;
|
|
133
|
+
/** Parts that replace the defaults of the chat, by part name (AC-196). */
|
|
134
|
+
export type ChatComponents = Readonly<{
|
|
135
|
+
ChatBlockedState?: ComponentType<ChatBlockedStateProps>;
|
|
136
|
+
ChatComposer?: ComponentType<ChatComposerProps>;
|
|
137
|
+
ChatHeader?: ComponentType<ChatHeaderProps>;
|
|
138
|
+
ChatTranscript?: ComponentType<ChatTranscriptProps>;
|
|
139
|
+
ConversationSidebar?: ComponentType<ConversationSidebarProps>;
|
|
140
|
+
/** Pickers that replace the default pickers of the composer, by part (AC-196). */
|
|
141
|
+
composerParts?: ChatComposerPartComponents;
|
|
142
|
+
/** Renderers that replace the default renderer of a message part, by part (AC-196). */
|
|
143
|
+
messageParts?: ChatMessagePartComponents;
|
|
144
|
+
}>;
|
|
145
|
+
/** A part of the default chat: `Chat` is the element that holds the others. */
|
|
146
|
+
export type ChatPart = Exclude<keyof ChatComponents, "composerParts" | "messageParts"> | "Chat";
|
|
147
|
+
/** A class name for each part, set beside its `data-part` attribute (AC-197). */
|
|
148
|
+
export type ChatClassNames = Readonly<Partial<Record<ChatPart, string>>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ChatTranscriptProps } from "../slots.js";
|
|
2
|
+
/**
|
|
3
|
+
* The messages of the open Conversation, as the AI SDK chat of the session
|
|
4
|
+
* holds them: each part with its renderer (`messageParts` replaces one), the
|
|
5
|
+
* run of each answer (a closed line that opens its `<RunTrace>`), the
|
|
6
|
+
* answer feedback of each answer that the user can rate (AC-088), the
|
|
7
|
+
* read-aloud control of each answer while read aloud is available, the
|
|
8
|
+
* image reload while an answer waits for a generated image, the
|
|
9
|
+
* `messageFooter` slot below each message, the `emptyState` slot (or the
|
|
10
|
+
* default empty state) without messages and the `transcriptFooter` slot
|
|
11
|
+
* after the last one.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ChatTranscript: ({ className, labels, locale, messageParts, slots }: ChatTranscriptProps) => import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CiUIMessage } from "../../domain/index.js";
|
|
2
|
+
import type { ChatLabels } from "../labels/index.js";
|
|
3
|
+
interface SentTrailProps {
|
|
4
|
+
readonly labels: ChatLabels;
|
|
5
|
+
readonly message: CiUIMessage;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The Context Trail entries that the turn of a user message carried (AC-233),
|
|
9
|
+
* as the server stored them, so they stay after a reload (AC-219). Read
|
|
10
|
+
* only, and only while the trail is enabled and visible (AC-229).
|
|
11
|
+
*/
|
|
12
|
+
export declare const SentTrail: ({ labels, message }: SentTrailProps) => import("react").JSX.Element | null;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CiUIMessage } from "../../domain/index.js";
|
|
2
|
+
type ImageReload = Readonly<{
|
|
3
|
+
messages: readonly CiUIMessage[];
|
|
4
|
+
/** Reads the messages of the open Conversation again from its transcript. */
|
|
5
|
+
readMessages: () => void;
|
|
6
|
+
/** The open chat streams an answer: its stream brings the rest. */
|
|
7
|
+
streaming: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
/**
|
|
10
|
+
* Reads the messages again every 2 seconds while an answer that no longer
|
|
11
|
+
* streams waits for a generated image (AC-090): the image job outlives the
|
|
12
|
+
* turn, so no stream brings its result, and the transcript shows it once
|
|
13
|
+
* the server published it.
|
|
14
|
+
*/
|
|
15
|
+
export declare const useImageReload: ({ messages, readMessages, streaming }: ImageReload) => void;
|
|
16
|
+
export {};
|
package/dist/views.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export { AssistantSidebar } from "./views/assistant-sidebar/assistant-sidebar.js";
|
|
2
|
+
export type { AssistantSidebarProps } from "./views/assistant-sidebar/assistant-sidebar.js";
|
|
3
|
+
export { AssistantSidebarLayout } from "./views/assistant-sidebar/layout.js";
|
|
4
|
+
export type { AssistantSidebarLayoutProps, AssistantSidebarShortcuts } from "./views/assistant-sidebar/layout.js";
|
|
5
|
+
export { AssistantSidebarToggle } from "./views/assistant-sidebar/toggle.js";
|
|
6
|
+
export type { AssistantSidebarToggleProps } from "./views/assistant-sidebar/toggle.js";
|
|
7
|
+
export { ChatBlockedState } from "./views/blocked/chat-blocked-state.js";
|
|
8
|
+
export { Chat } from "./views/chat.js";
|
|
9
|
+
export type { ChatProps } from "./views/chat.js";
|
|
10
|
+
export { ChatRoot } from "./views/chat-root.js";
|
|
11
|
+
export type { ChatRootProps } from "./views/chat-root.js";
|
|
12
|
+
export { ChatPicker } from "./views/composer/capability-picker.js";
|
|
13
|
+
export type { ChatPickerLabels, ChatPickerList, ChatPickerOption } from "./views/composer/capability-picker.js";
|
|
14
|
+
export { ChatAgentPicker, ChatCapabilityPickers } from "./views/composer/capability-pickers.js";
|
|
15
|
+
export { ChatComposer } from "./views/composer/chat-composer.js";
|
|
16
|
+
export { transcribeRecording } from "./views/composer/voice-input/remote-transcription.js";
|
|
17
|
+
export { ChatDock, ChatDockHeader } from "./views/dock/chat-dock.js";
|
|
18
|
+
export type { ChatDockClassNames, ChatDockComponents, ChatDockPart, ChatDockProps, ChatDockSlots } from "./views/dock/chat-dock.js";
|
|
19
|
+
export { chatSubjectHeaderName, chatSubjectHeaderValue } from "./views/dock/dock-session.js";
|
|
20
|
+
export type { ChatDockSubject } from "./views/dock/dock-session.js";
|
|
21
|
+
export { ChatHeader } from "./views/header/chat-header.js";
|
|
22
|
+
export { IntentCard, intentCardLabels } from "./views/intents/intent-card.js";
|
|
23
|
+
export type { IntentCardData, IntentCardLabels, IntentCardProps, IntentCardState } from "./views/intents/intent-card.js";
|
|
24
|
+
export { IntentForm } from "./views/intents/intent-form.js";
|
|
25
|
+
export type { IntentFormProps } from "./views/intents/intent-form.js";
|
|
26
|
+
export { IntentNotices, intentNoticeLabels } from "./views/intents/intent-notices.js";
|
|
27
|
+
export type { IntentNoticeLabels, IntentNoticeLocale, IntentNoticesProps } from "./views/intents/intent-notices.js";
|
|
28
|
+
export { IntentTrigger } from "./views/intents/intent-trigger.js";
|
|
29
|
+
export type { IntentTriggerProps } from "./views/intents/intent-trigger.js";
|
|
30
|
+
export { defaultIntentLabels } from "./views/intents/labels.js";
|
|
31
|
+
export type { IntentLabels } from "./views/intents/labels.js";
|
|
32
|
+
export { chatLabels, fillLabel } from "./views/labels/index.js";
|
|
33
|
+
export { ChatLaunchButton } from "./views/launch/chat-launch-button.js";
|
|
34
|
+
export type { ChatLaunchButtonProps } from "./views/launch/chat-launch-button.js";
|
|
35
|
+
export type { ChatLabelKey, ChatLabels, ChatLocale } from "./views/labels/index.js";
|
|
36
|
+
export { ConversationSidebar } from "./views/sidebar/conversation-sidebar.js";
|
|
37
|
+
export type { ChatHistory, ChatHistoryFilter, ChatHistoryFilterValue } from "./views/sidebar/history-filter.js";
|
|
38
|
+
export { ChatAnswerFeedback } from "./views/parts/answer-feedback.js";
|
|
39
|
+
export type { ChatAnswerFeedbackControlProps } from "./views/parts/answer-feedback.js";
|
|
40
|
+
export { EvidencePart } from "./views/parts/evidence-part.js";
|
|
41
|
+
export { FilePart } from "./views/parts/file-part.js";
|
|
42
|
+
export type { ImageFile, ImageGeneration, ImageStatus } from "./views/parts/image-generation.js";
|
|
43
|
+
export { ImageGenerationPart } from "./views/parts/image-generation-part.js";
|
|
44
|
+
export { IntentCardMessagePart } from "./views/parts/intent-card-part.js";
|
|
45
|
+
export { MemoryEvidencePart } from "./views/parts/memory-evidence-part.js";
|
|
46
|
+
export { QuestionPart } from "./views/parts/question-part.js";
|
|
47
|
+
export { ReadAloudButton } from "./views/parts/read-aloud.js";
|
|
48
|
+
export { ReasoningPart } from "./views/parts/reasoning-part.js";
|
|
49
|
+
export { SteeringMessagePart } from "./views/parts/steering-message-part.js";
|
|
50
|
+
export { TextPart } from "./views/parts/text-part.js";
|
|
51
|
+
export { ToolPart } from "./views/parts/tool-part.js";
|
|
52
|
+
export { RunTrace } from "./views/run-trace/run-trace.js";
|
|
53
|
+
export type { RunTraceProps } from "./views/run-trace/run-trace.js";
|
|
54
|
+
export type { RunTraceStatus } from "./views/run-trace/run-stream.js";
|
|
55
|
+
export type { ChatAnswerFeedbackInput, ChatAnswerFeedbackProps, ChatApprovalAnswer, ChatMessagePartComponents, ChatMessagePartProps, ChatQuestion, ChatQuestionPartProps, ChatReadAloudPlayback, ChatReadAloudProps, ChatToolPart, ChatToolPartProps } from "./views/parts/types.js";
|
|
56
|
+
export type { ChatProjects } from "./views/sidebar/projects/use-chat-projects.js";
|
|
57
|
+
export type { ChatAgentChoice, ChatAgentPickerProps, ChatBlockedStateProps, ChatCapabilityPickersProps, ChatClassNames, ChatComponents, ChatComposerAccessory, ChatComposerDraft, ChatComposerPartComponents, ChatComposerProps, ChatHeaderProps, ChatPart, ChatPartProps, ChatSend, ChatSendMessage, ChatSlots, ChatTranscriptProps, ConversationSidebarProps } from "./views/slots.js";
|
|
58
|
+
export { ChatTranscript } from "./views/transcript/chat-transcript.js";
|