@dudousxd/nestjs-agent-react 0.22.1 → 0.23.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 +5 -0
- package/dist/{client-CYlhK7XD.d.cts → client-ioKDyV2q.d.cts} +5 -1
- package/dist/{client-CYlhK7XD.d.ts → client-ioKDyV2q.d.ts} +5 -1
- package/dist/index.cjs +336 -263
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -12
- package/dist/index.d.ts +35 -12
- package/dist/index.js +171 -99
- package/dist/index.js.map +1 -1
- package/dist/media.cjs.map +1 -1
- package/dist/media.d.cts +1 -1
- package/dist/media.d.ts +1 -1
- package/dist/media.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
2
|
import { ChatTransport, UIMessage, UIMessageChunk, DataUIPart, UIDataTypes } from 'ai';
|
|
3
|
-
import { A as AgentBackend, U as UploadAttachmentOptions, a as AttachmentUploadStrategy } from './client-
|
|
4
|
-
export { b as AgentBackendUnsupportedError, c as AgentClient, d as AgentClientOptions, e as AgentConnection, f as AgentHttpError, C as CancelResult, g as ChatStreamRequest, h as ChatStreamResponse, M as MessageFeedbackInput, R as ResumeStreamRequest, T as ThreadPatch, r as requireBackendMethod } from './client-
|
|
5
|
-
import { MessageAttachment, AgentCatalogEntry, ModelCatalogEntry, ModelCatalogView, QuotaReport, QuotaWindow, QuotaBlock, MessageFeedback, MessageFeedbackValue, ThreadSummary, StoredMessage, ToolCatalogEntry } from '@dudousxd/nestjs-agent-core';
|
|
3
|
+
import { A as AgentBackend, U as UploadAttachmentOptions, a as AttachmentUploadStrategy } from './client-ioKDyV2q.cjs';
|
|
4
|
+
export { b as AgentBackendUnsupportedError, c as AgentClient, d as AgentClientOptions, e as AgentConnection, f as AgentHttpError, C as CancelResult, g as ChatStreamRequest, h as ChatStreamResponse, M as MessageFeedbackInput, R as ResumeStreamRequest, T as ThreadPatch, r as requireBackendMethod } from './client-ioKDyV2q.cjs';
|
|
5
|
+
import { MessageAttachment, AgentClientConfig, AgentCatalogEntry, ModelCatalogEntry, ModelCatalogView, QuotaReport, QuotaWindow, QuotaBlock, MessageFeedback, MessageFeedbackValue, ThreadSummary, StoredMessage, ToolCatalogEntry } from '@dudousxd/nestjs-agent-core';
|
|
6
6
|
export { ElicitationInput, ElicitationInputType, validateElicitationAnswer as validateAnswer, validateElicitationValue as validateAnswerValue } from '@dudousxd/nestjs-agent-core';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import React__default, { ReactNode, Context } from 'react';
|
|
@@ -81,7 +81,7 @@ interface AgentChatTransportOptions {
|
|
|
81
81
|
* The run id to resume on mount, if any. Returning `undefined` makes
|
|
82
82
|
* `reconnectToStream` resolve to `null` WITHOUT hitting the network —
|
|
83
83
|
* this is the generalized fix for "useChat fires a doomed GET on mount
|
|
84
|
-
* and surfaces its 404". Wire this to the thread's `
|
|
84
|
+
* and surfaces its 404". Wire this to the thread's `activeRunId`.
|
|
85
85
|
*/
|
|
86
86
|
getResumeRunId?: () => string | undefined;
|
|
87
87
|
/** Fires whenever a stream emits its `meta` frame. */
|
|
@@ -232,11 +232,17 @@ interface UseAttachmentsOptions {
|
|
|
232
232
|
upload?: (file: File, options: UploadAttachmentOptions) => Promise<MessageAttachment>;
|
|
233
233
|
/** Used for the default `upload`. Default: the enclosing `<AgentProvider>`'s. */
|
|
234
234
|
backend?: AgentBackend;
|
|
235
|
-
/**
|
|
235
|
+
/**
|
|
236
|
+
* `<input accept>` grammar: `'image/*,.pdf'` or `['image/*', 'application/pdf']`. Default: the
|
|
237
|
+
* server's allowed content types (`GET <base>/config`).
|
|
238
|
+
*/
|
|
236
239
|
accept?: string | readonly string[];
|
|
237
|
-
/** Per-file ceiling, in bytes. */
|
|
240
|
+
/** Per-file ceiling, in bytes. Default: the server's (`GET <base>/config`). */
|
|
238
241
|
maxBytes?: number;
|
|
239
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* How many files may be staged at once (rejected ones do not count). Default: how many one
|
|
244
|
+
* message may carry, per the server (`GET <base>/config`).
|
|
245
|
+
*/
|
|
240
246
|
maxFiles?: number;
|
|
241
247
|
/** Words for a rejection; default English. */
|
|
242
248
|
describeRejection?: (reason: AttachmentRejection, file: File) => string;
|
|
@@ -253,9 +259,7 @@ interface AttachmentsState {
|
|
|
253
259
|
clear: () => void;
|
|
254
260
|
/** An upload is still running — hold the send button. */
|
|
255
261
|
isUploading: boolean;
|
|
256
|
-
/** What to send: the ready uploads, in order. */
|
|
257
|
-
attachments: MessageAttachment[];
|
|
258
|
-
/** The same, as the `{ mediaId }` refs `POST <base>/chat` takes. */
|
|
262
|
+
/** What to send: the ready uploads, in order, as the `{ mediaId }` refs `POST <base>/chat` takes. */
|
|
259
263
|
refs: Array<{
|
|
260
264
|
mediaId: string;
|
|
261
265
|
}>;
|
|
@@ -293,7 +297,7 @@ interface ClipboardLikeEvent {
|
|
|
293
297
|
/**
|
|
294
298
|
* Staged attachments for a composer, headless: validation (`accept`, `maxBytes`, `maxFiles`),
|
|
295
299
|
* one upload per file with progress and cancel, retry, previews, and the event handlers for a file
|
|
296
|
-
* input, a drop zone and paste — no markup, no styles. Send `
|
|
300
|
+
* input, a drop zone and paste — no markup, no styles. Send `refs` with the
|
|
297
301
|
* message, then `clear()`:
|
|
298
302
|
*
|
|
299
303
|
* ```ts
|
|
@@ -357,6 +361,25 @@ declare function AgentProvider({ backend, baseUrl, path, headers, getHeaders, cr
|
|
|
357
361
|
*/
|
|
358
362
|
declare function useAgentBackend<B extends AgentBackend = AgentBackend>(own?: B): B;
|
|
359
363
|
|
|
364
|
+
interface UseAgentConfigOptions {
|
|
365
|
+
/** Default: the enclosing `<AgentProvider>`'s. Without `getConfig` the config stays `undefined`. */
|
|
366
|
+
backend?: AgentBackend;
|
|
367
|
+
/** `false` holds the request. Default `true`. */
|
|
368
|
+
enabled?: boolean;
|
|
369
|
+
}
|
|
370
|
+
interface AgentConfigState {
|
|
371
|
+
/** `GET <base>/config`, once loaded — `undefined` before, on a failure, or on a backend without it. */
|
|
372
|
+
config: AgentClientConfig | undefined;
|
|
373
|
+
isLoading: boolean;
|
|
374
|
+
error: Error | null;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* The server's client config (`GET <base>/config`): attachment limits and upload mode, and whether a
|
|
378
|
+
* model picker, a quota and anonymous identities are in play. Fetched once per backend and shared;
|
|
379
|
+
* `useAttachments` takes its defaults from it.
|
|
380
|
+
*/
|
|
381
|
+
declare function useAgentConfig(options?: UseAgentConfigOptions): AgentConfigState;
|
|
382
|
+
|
|
360
383
|
interface UseAgentsOptions {
|
|
361
384
|
/** Default: the enclosing `<AgentProvider>`'s. Must implement `listAgents`. */
|
|
362
385
|
backend?: AgentBackend;
|
|
@@ -1599,4 +1622,4 @@ declare class QuotaBlockedError extends Error {
|
|
|
1599
1622
|
constructor(block: QuotaBlock);
|
|
1600
1623
|
}
|
|
1601
1624
|
|
|
1602
|
-
export { AgentBackend, AgentChatTransport, type AgentChatTransportOptions, type AgentMessageMetadata, AgentProvider, type AgentProviderProps, type AgentStreamMeta, type AgentsState, type AggregatedTurnUsage, type AmbientRenderUi, AmbientRenderUiContext, type AnswerInput, AnyToolUIPart, type ApprovalCountdown, type ApproveInput, ApproveOptions, type AttachmentRejection, AttachmentUploadStrategy, type AttachmentsState, type AutocompleteInputProps, type AutocompleteItem, type AutocompleteListboxProps, type AutocompleteOptionProps, type AutocompleteSource, type BackgroundRun, type ChatBackground, ChatInput, type ChatInputProps, ChatStatus, type ChatTranscript, type ClipboardLikeEvent, type CompletionEdit, type ComposerAutocomplete, DEFAULT_SPEECH_LANG, type DragLikeEvent, type EditSubmitInput, type MessageActionInput, type MessageFeedbackState, type MessageFile, type MessageFileKind, MessageItem, type MessageItemClassNames, type MessageItemProps, MessageItemView, type MessageItemViewProps, MessageList, type MessageListClassNames, type MessageListProps, MessageUsageInfo, type ModelOption, type ModelsState, QuotaBlockedError, type QuotaState, type ReconnectOptions, type RejectInput, type RenderFilesFn, type RenderReasoningFn, type RenderTextFn, type RenderToolGroupFn, type RenderToolPartFn, type RenderUiFn, SPEECH_LANGUAGES, type SkillSuggestionData, type SkillsSourceOptions, type SkipInput, type SpeechLanguage, type SpeechRecognitionHook, type StagedAttachment, type StagedAttachmentStatus, type StickToBottom, type StickToBottomOptions, type StoredTurnMetadata, type StreamConnectionState, type ThreadsEvent, type ThreadsState, TimestampInfo, ToolCatalog, type ToolCatalogState, type TranscriptActionState, TranscriptBlock, type TranscriptCopyState, type TranscriptEditState, TranscriptFile, type TranscriptItem, type TranscriptItemOptions, type TranscriptStopState, TranscriptUiBlock, type TranscriptWindow, type TriggerMatch, type TriggerPosition, UploadAttachmentOptions, UsageSummary, type UseAgentChatOptions, type UseAgentsOptions, type UseApprovalCountdownOptions, type UseAttachmentsOptions, type UseChatTranscriptOptions, type UseComposerAutocompleteOptions, type UseElapsedOptions, type UseMessageFeedbackOptions, type UseModelsOptions, type UseQuotaOptions, type UseSpeechRecognitionOptions, type UseThreadsOptions, type UseToolCatalogOptions, type UseTranscriptItemOptions, acceptsFile, applyCompletion, approvalCountdown, backgroundRunsFromThread, createSkillsSource, dragHasFiles, fileKind, filesFromClipboard, filterAutocompleteItems, findActiveTrigger, formatElapsed, loadStoredSpeechLang, messageFiles, notifyThreads, onThreadsEvent, persistSpeechLang, readReasoningMs, storedMessageToUiMessage, storedThreadToUiMessages, useAgentBackend, useAgentChat, useAgents, useAmbientRenderUi, useApprovalCountdown, useAttachments, useChatTranscript, useComposerAutocomplete, useElapsed, useMessageFeedback, useModels, useQuota, useSpeechRecognition, useStickToBottom, useThreads, useToolCatalog, useTranscriptItem };
|
|
1625
|
+
export { AgentBackend, AgentChatTransport, type AgentChatTransportOptions, type AgentConfigState, type AgentMessageMetadata, AgentProvider, type AgentProviderProps, type AgentStreamMeta, type AgentsState, type AggregatedTurnUsage, type AmbientRenderUi, AmbientRenderUiContext, type AnswerInput, AnyToolUIPart, type ApprovalCountdown, type ApproveInput, ApproveOptions, type AttachmentRejection, AttachmentUploadStrategy, type AttachmentsState, type AutocompleteInputProps, type AutocompleteItem, type AutocompleteListboxProps, type AutocompleteOptionProps, type AutocompleteSource, type BackgroundRun, type ChatBackground, ChatInput, type ChatInputProps, ChatStatus, type ChatTranscript, type ClipboardLikeEvent, type CompletionEdit, type ComposerAutocomplete, DEFAULT_SPEECH_LANG, type DragLikeEvent, type EditSubmitInput, type MessageActionInput, type MessageFeedbackState, type MessageFile, type MessageFileKind, MessageItem, type MessageItemClassNames, type MessageItemProps, MessageItemView, type MessageItemViewProps, MessageList, type MessageListClassNames, type MessageListProps, MessageUsageInfo, type ModelOption, type ModelsState, QuotaBlockedError, type QuotaState, type ReconnectOptions, type RejectInput, type RenderFilesFn, type RenderReasoningFn, type RenderTextFn, type RenderToolGroupFn, type RenderToolPartFn, type RenderUiFn, SPEECH_LANGUAGES, type SkillSuggestionData, type SkillsSourceOptions, type SkipInput, type SpeechLanguage, type SpeechRecognitionHook, type StagedAttachment, type StagedAttachmentStatus, type StickToBottom, type StickToBottomOptions, type StoredTurnMetadata, type StreamConnectionState, type ThreadsEvent, type ThreadsState, TimestampInfo, ToolCatalog, type ToolCatalogState, type TranscriptActionState, TranscriptBlock, type TranscriptCopyState, type TranscriptEditState, TranscriptFile, type TranscriptItem, type TranscriptItemOptions, type TranscriptStopState, TranscriptUiBlock, type TranscriptWindow, type TriggerMatch, type TriggerPosition, UploadAttachmentOptions, UsageSummary, type UseAgentChatOptions, type UseAgentConfigOptions, type UseAgentsOptions, type UseApprovalCountdownOptions, type UseAttachmentsOptions, type UseChatTranscriptOptions, type UseComposerAutocompleteOptions, type UseElapsedOptions, type UseMessageFeedbackOptions, type UseModelsOptions, type UseQuotaOptions, type UseSpeechRecognitionOptions, type UseThreadsOptions, type UseToolCatalogOptions, type UseTranscriptItemOptions, acceptsFile, applyCompletion, approvalCountdown, backgroundRunsFromThread, createSkillsSource, dragHasFiles, fileKind, filesFromClipboard, filterAutocompleteItems, findActiveTrigger, formatElapsed, loadStoredSpeechLang, messageFiles, notifyThreads, onThreadsEvent, persistSpeechLang, readReasoningMs, storedMessageToUiMessage, storedThreadToUiMessages, useAgentBackend, useAgentChat, useAgentConfig, useAgents, useAmbientRenderUi, useApprovalCountdown, useAttachments, useChatTranscript, useComposerAutocomplete, useElapsed, useMessageFeedback, useModels, useQuota, useSpeechRecognition, useStickToBottom, useThreads, useToolCatalog, useTranscriptItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
2
|
import { ChatTransport, UIMessage, UIMessageChunk, DataUIPart, UIDataTypes } from 'ai';
|
|
3
|
-
import { A as AgentBackend, U as UploadAttachmentOptions, a as AttachmentUploadStrategy } from './client-
|
|
4
|
-
export { b as AgentBackendUnsupportedError, c as AgentClient, d as AgentClientOptions, e as AgentConnection, f as AgentHttpError, C as CancelResult, g as ChatStreamRequest, h as ChatStreamResponse, M as MessageFeedbackInput, R as ResumeStreamRequest, T as ThreadPatch, r as requireBackendMethod } from './client-
|
|
5
|
-
import { MessageAttachment, AgentCatalogEntry, ModelCatalogEntry, ModelCatalogView, QuotaReport, QuotaWindow, QuotaBlock, MessageFeedback, MessageFeedbackValue, ThreadSummary, StoredMessage, ToolCatalogEntry } from '@dudousxd/nestjs-agent-core';
|
|
3
|
+
import { A as AgentBackend, U as UploadAttachmentOptions, a as AttachmentUploadStrategy } from './client-ioKDyV2q.js';
|
|
4
|
+
export { b as AgentBackendUnsupportedError, c as AgentClient, d as AgentClientOptions, e as AgentConnection, f as AgentHttpError, C as CancelResult, g as ChatStreamRequest, h as ChatStreamResponse, M as MessageFeedbackInput, R as ResumeStreamRequest, T as ThreadPatch, r as requireBackendMethod } from './client-ioKDyV2q.js';
|
|
5
|
+
import { MessageAttachment, AgentClientConfig, AgentCatalogEntry, ModelCatalogEntry, ModelCatalogView, QuotaReport, QuotaWindow, QuotaBlock, MessageFeedback, MessageFeedbackValue, ThreadSummary, StoredMessage, ToolCatalogEntry } from '@dudousxd/nestjs-agent-core';
|
|
6
6
|
export { ElicitationInput, ElicitationInputType, validateElicitationAnswer as validateAnswer, validateElicitationValue as validateAnswerValue } from '@dudousxd/nestjs-agent-core';
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import React__default, { ReactNode, Context } from 'react';
|
|
@@ -81,7 +81,7 @@ interface AgentChatTransportOptions {
|
|
|
81
81
|
* The run id to resume on mount, if any. Returning `undefined` makes
|
|
82
82
|
* `reconnectToStream` resolve to `null` WITHOUT hitting the network —
|
|
83
83
|
* this is the generalized fix for "useChat fires a doomed GET on mount
|
|
84
|
-
* and surfaces its 404". Wire this to the thread's `
|
|
84
|
+
* and surfaces its 404". Wire this to the thread's `activeRunId`.
|
|
85
85
|
*/
|
|
86
86
|
getResumeRunId?: () => string | undefined;
|
|
87
87
|
/** Fires whenever a stream emits its `meta` frame. */
|
|
@@ -232,11 +232,17 @@ interface UseAttachmentsOptions {
|
|
|
232
232
|
upload?: (file: File, options: UploadAttachmentOptions) => Promise<MessageAttachment>;
|
|
233
233
|
/** Used for the default `upload`. Default: the enclosing `<AgentProvider>`'s. */
|
|
234
234
|
backend?: AgentBackend;
|
|
235
|
-
/**
|
|
235
|
+
/**
|
|
236
|
+
* `<input accept>` grammar: `'image/*,.pdf'` or `['image/*', 'application/pdf']`. Default: the
|
|
237
|
+
* server's allowed content types (`GET <base>/config`).
|
|
238
|
+
*/
|
|
236
239
|
accept?: string | readonly string[];
|
|
237
|
-
/** Per-file ceiling, in bytes. */
|
|
240
|
+
/** Per-file ceiling, in bytes. Default: the server's (`GET <base>/config`). */
|
|
238
241
|
maxBytes?: number;
|
|
239
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* How many files may be staged at once (rejected ones do not count). Default: how many one
|
|
244
|
+
* message may carry, per the server (`GET <base>/config`).
|
|
245
|
+
*/
|
|
240
246
|
maxFiles?: number;
|
|
241
247
|
/** Words for a rejection; default English. */
|
|
242
248
|
describeRejection?: (reason: AttachmentRejection, file: File) => string;
|
|
@@ -253,9 +259,7 @@ interface AttachmentsState {
|
|
|
253
259
|
clear: () => void;
|
|
254
260
|
/** An upload is still running — hold the send button. */
|
|
255
261
|
isUploading: boolean;
|
|
256
|
-
/** What to send: the ready uploads, in order. */
|
|
257
|
-
attachments: MessageAttachment[];
|
|
258
|
-
/** The same, as the `{ mediaId }` refs `POST <base>/chat` takes. */
|
|
262
|
+
/** What to send: the ready uploads, in order, as the `{ mediaId }` refs `POST <base>/chat` takes. */
|
|
259
263
|
refs: Array<{
|
|
260
264
|
mediaId: string;
|
|
261
265
|
}>;
|
|
@@ -293,7 +297,7 @@ interface ClipboardLikeEvent {
|
|
|
293
297
|
/**
|
|
294
298
|
* Staged attachments for a composer, headless: validation (`accept`, `maxBytes`, `maxFiles`),
|
|
295
299
|
* one upload per file with progress and cancel, retry, previews, and the event handlers for a file
|
|
296
|
-
* input, a drop zone and paste — no markup, no styles. Send `
|
|
300
|
+
* input, a drop zone and paste — no markup, no styles. Send `refs` with the
|
|
297
301
|
* message, then `clear()`:
|
|
298
302
|
*
|
|
299
303
|
* ```ts
|
|
@@ -357,6 +361,25 @@ declare function AgentProvider({ backend, baseUrl, path, headers, getHeaders, cr
|
|
|
357
361
|
*/
|
|
358
362
|
declare function useAgentBackend<B extends AgentBackend = AgentBackend>(own?: B): B;
|
|
359
363
|
|
|
364
|
+
interface UseAgentConfigOptions {
|
|
365
|
+
/** Default: the enclosing `<AgentProvider>`'s. Without `getConfig` the config stays `undefined`. */
|
|
366
|
+
backend?: AgentBackend;
|
|
367
|
+
/** `false` holds the request. Default `true`. */
|
|
368
|
+
enabled?: boolean;
|
|
369
|
+
}
|
|
370
|
+
interface AgentConfigState {
|
|
371
|
+
/** `GET <base>/config`, once loaded — `undefined` before, on a failure, or on a backend without it. */
|
|
372
|
+
config: AgentClientConfig | undefined;
|
|
373
|
+
isLoading: boolean;
|
|
374
|
+
error: Error | null;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* The server's client config (`GET <base>/config`): attachment limits and upload mode, and whether a
|
|
378
|
+
* model picker, a quota and anonymous identities are in play. Fetched once per backend and shared;
|
|
379
|
+
* `useAttachments` takes its defaults from it.
|
|
380
|
+
*/
|
|
381
|
+
declare function useAgentConfig(options?: UseAgentConfigOptions): AgentConfigState;
|
|
382
|
+
|
|
360
383
|
interface UseAgentsOptions {
|
|
361
384
|
/** Default: the enclosing `<AgentProvider>`'s. Must implement `listAgents`. */
|
|
362
385
|
backend?: AgentBackend;
|
|
@@ -1599,4 +1622,4 @@ declare class QuotaBlockedError extends Error {
|
|
|
1599
1622
|
constructor(block: QuotaBlock);
|
|
1600
1623
|
}
|
|
1601
1624
|
|
|
1602
|
-
export { AgentBackend, AgentChatTransport, type AgentChatTransportOptions, type AgentMessageMetadata, AgentProvider, type AgentProviderProps, type AgentStreamMeta, type AgentsState, type AggregatedTurnUsage, type AmbientRenderUi, AmbientRenderUiContext, type AnswerInput, AnyToolUIPart, type ApprovalCountdown, type ApproveInput, ApproveOptions, type AttachmentRejection, AttachmentUploadStrategy, type AttachmentsState, type AutocompleteInputProps, type AutocompleteItem, type AutocompleteListboxProps, type AutocompleteOptionProps, type AutocompleteSource, type BackgroundRun, type ChatBackground, ChatInput, type ChatInputProps, ChatStatus, type ChatTranscript, type ClipboardLikeEvent, type CompletionEdit, type ComposerAutocomplete, DEFAULT_SPEECH_LANG, type DragLikeEvent, type EditSubmitInput, type MessageActionInput, type MessageFeedbackState, type MessageFile, type MessageFileKind, MessageItem, type MessageItemClassNames, type MessageItemProps, MessageItemView, type MessageItemViewProps, MessageList, type MessageListClassNames, type MessageListProps, MessageUsageInfo, type ModelOption, type ModelsState, QuotaBlockedError, type QuotaState, type ReconnectOptions, type RejectInput, type RenderFilesFn, type RenderReasoningFn, type RenderTextFn, type RenderToolGroupFn, type RenderToolPartFn, type RenderUiFn, SPEECH_LANGUAGES, type SkillSuggestionData, type SkillsSourceOptions, type SkipInput, type SpeechLanguage, type SpeechRecognitionHook, type StagedAttachment, type StagedAttachmentStatus, type StickToBottom, type StickToBottomOptions, type StoredTurnMetadata, type StreamConnectionState, type ThreadsEvent, type ThreadsState, TimestampInfo, ToolCatalog, type ToolCatalogState, type TranscriptActionState, TranscriptBlock, type TranscriptCopyState, type TranscriptEditState, TranscriptFile, type TranscriptItem, type TranscriptItemOptions, type TranscriptStopState, TranscriptUiBlock, type TranscriptWindow, type TriggerMatch, type TriggerPosition, UploadAttachmentOptions, UsageSummary, type UseAgentChatOptions, type UseAgentsOptions, type UseApprovalCountdownOptions, type UseAttachmentsOptions, type UseChatTranscriptOptions, type UseComposerAutocompleteOptions, type UseElapsedOptions, type UseMessageFeedbackOptions, type UseModelsOptions, type UseQuotaOptions, type UseSpeechRecognitionOptions, type UseThreadsOptions, type UseToolCatalogOptions, type UseTranscriptItemOptions, acceptsFile, applyCompletion, approvalCountdown, backgroundRunsFromThread, createSkillsSource, dragHasFiles, fileKind, filesFromClipboard, filterAutocompleteItems, findActiveTrigger, formatElapsed, loadStoredSpeechLang, messageFiles, notifyThreads, onThreadsEvent, persistSpeechLang, readReasoningMs, storedMessageToUiMessage, storedThreadToUiMessages, useAgentBackend, useAgentChat, useAgents, useAmbientRenderUi, useApprovalCountdown, useAttachments, useChatTranscript, useComposerAutocomplete, useElapsed, useMessageFeedback, useModels, useQuota, useSpeechRecognition, useStickToBottom, useThreads, useToolCatalog, useTranscriptItem };
|
|
1625
|
+
export { AgentBackend, AgentChatTransport, type AgentChatTransportOptions, type AgentConfigState, type AgentMessageMetadata, AgentProvider, type AgentProviderProps, type AgentStreamMeta, type AgentsState, type AggregatedTurnUsage, type AmbientRenderUi, AmbientRenderUiContext, type AnswerInput, AnyToolUIPart, type ApprovalCountdown, type ApproveInput, ApproveOptions, type AttachmentRejection, AttachmentUploadStrategy, type AttachmentsState, type AutocompleteInputProps, type AutocompleteItem, type AutocompleteListboxProps, type AutocompleteOptionProps, type AutocompleteSource, type BackgroundRun, type ChatBackground, ChatInput, type ChatInputProps, ChatStatus, type ChatTranscript, type ClipboardLikeEvent, type CompletionEdit, type ComposerAutocomplete, DEFAULT_SPEECH_LANG, type DragLikeEvent, type EditSubmitInput, type MessageActionInput, type MessageFeedbackState, type MessageFile, type MessageFileKind, MessageItem, type MessageItemClassNames, type MessageItemProps, MessageItemView, type MessageItemViewProps, MessageList, type MessageListClassNames, type MessageListProps, MessageUsageInfo, type ModelOption, type ModelsState, QuotaBlockedError, type QuotaState, type ReconnectOptions, type RejectInput, type RenderFilesFn, type RenderReasoningFn, type RenderTextFn, type RenderToolGroupFn, type RenderToolPartFn, type RenderUiFn, SPEECH_LANGUAGES, type SkillSuggestionData, type SkillsSourceOptions, type SkipInput, type SpeechLanguage, type SpeechRecognitionHook, type StagedAttachment, type StagedAttachmentStatus, type StickToBottom, type StickToBottomOptions, type StoredTurnMetadata, type StreamConnectionState, type ThreadsEvent, type ThreadsState, TimestampInfo, ToolCatalog, type ToolCatalogState, type TranscriptActionState, TranscriptBlock, type TranscriptCopyState, type TranscriptEditState, TranscriptFile, type TranscriptItem, type TranscriptItemOptions, type TranscriptStopState, TranscriptUiBlock, type TranscriptWindow, type TriggerMatch, type TriggerPosition, UploadAttachmentOptions, UsageSummary, type UseAgentChatOptions, type UseAgentConfigOptions, type UseAgentsOptions, type UseApprovalCountdownOptions, type UseAttachmentsOptions, type UseChatTranscriptOptions, type UseComposerAutocompleteOptions, type UseElapsedOptions, type UseMessageFeedbackOptions, type UseModelsOptions, type UseQuotaOptions, type UseSpeechRecognitionOptions, type UseThreadsOptions, type UseToolCatalogOptions, type UseTranscriptItemOptions, acceptsFile, applyCompletion, approvalCountdown, backgroundRunsFromThread, createSkillsSource, dragHasFiles, fileKind, filesFromClipboard, filterAutocompleteItems, findActiveTrigger, formatElapsed, loadStoredSpeechLang, messageFiles, notifyThreads, onThreadsEvent, persistSpeechLang, readReasoningMs, storedMessageToUiMessage, storedThreadToUiMessages, useAgentBackend, useAgentChat, useAgentConfig, useAgents, useAmbientRenderUi, useApprovalCountdown, useAttachments, useChatTranscript, useComposerAutocomplete, useElapsed, useMessageFeedback, useModels, useQuota, useSpeechRecognition, useStickToBottom, useThreads, useToolCatalog, useTranscriptItem };
|