@nexo-labs/chat-agent 1.9.8 → 1.9.9
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/dist/react.d.mts.map +1 -1
- package/package.json +1 -1
package/dist/react.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react.d.mts","names":["Unsubscribe","ReadonlyJSONValue","ReadonlyJSONObject","ReadonlyJSONArray","AsyncIterableStream","T","AsyncIterable","ReadableStream","asAsyncIterableStream","ReadonlyJSONValue","TOOL_RESPONSE_SYMBOL","ToolResponseLike","TResult","ToolResponse","Symbol","hasInstance","JSONSchema4TypeName","JSONSchema4Type","JSONSchema4Object","JSONSchema4Array","Array","JSONSchema4Version","JSONSchema4","JSONSchema6TypeName","JSONSchema6Type","JSONSchema6Object","JSONSchema6Array","JSONSchema6Version","JSONSchema6Definition","JSONSchema6","JSONSchema7TypeName","JSONSchema7Type","JSONSchema7Object","JSONSchema7Array","JSONSchema7Version","JSONSchema7Definition","JSONSchema7","ValidationResult","ValidationError","validate","checkPropertyChange","mustBeValid","AsNumber","K","N","TupleIndex","T","Exclude","ObjectKey","TypePath","TypeAtPath","P","Head","Rest","DeepPartial","StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","InferInput","InferOutput","StandardJSONSchemaV1","Converter","Target","JSONSchema7","DeepPartial","TypeAtPath","TypePath","AsyncIterableStream","StandardSchemaV1","ToolResponse","ToolCallArgsReader","PathT","TArgs","Record","Promise","U","Array","ToolCallResponseReader","TResult","ToolCallReader","ToolExecutionContext","AbortSignal","ToolExecuteFunction","ToolStreamCallFunction","OnSchemaValidationErrorFunction","ToolBase","BackendTool","FrontendTool","HumanTool","Tool","Unsubscribe","Tool","LanguageModelV1CallSettings","Record","LanguageModelConfig","ModelContext","ModelContextProvider","mergeModelContexts","Set","CompleteAttachment","ReadonlyJSONValue","TextMessagePart","ReasoningMessagePart","SourceMessagePart","ImageMessagePart","FileMessagePart","DataMessagePart","Unstable_AudioMessagePart","ToolCallMessagePart","ThreadUserMessagePart","ThreadAssistantMessagePart","MessageRole","ThreadMessage","MessageCommonProps","Date","ThreadStep","MessagePartStatus","ToolCallMessagePartStatus","MessageStatus","ThreadSystemMessage","Record","ThreadUserMessage","ThreadAssistantMessage","RunConfig","AppendMessage","Omit","BaseThreadMessage","ReadonlyJSONObject","ThreadMessage","TextMessagePart","ReasoningMessagePart","SourceMessagePart","ImageMessagePart","FileMessagePart","Unstable_AudioMessagePart","DataMessagePart","T","ToolCallMessagePart","TArgs","TResult","ThreadUserMessagePart","ThreadAssistantMessagePart","ThreadUserMessagePart","PendingAttachmentStatus","CompleteAttachmentStatus","AttachmentStatus","BaseAttachment","File","PendingAttachment","CompleteAttachment","Attachment","Attachment","PendingAttachment","CompleteAttachment","AttachmentAdapter","File","Promise","AsyncGenerator","ThreadMessage","FeedbackAdapterFeedback","FeedbackAdapter","Unsubscribe","SpeechSynthesisAdapter","Status","Utterance","DictationAdapter","Promise","Result","Session","DictationAdapter","SpeechRecognitionInstance","EventTarget","SpeechRecognitionConstructor","_0","sideEffect","WebSpeechDictationAdapter","Session","ToolCallMessagePartComponent","Unsubscribe","ToolsState","Record","ToolsApi","ToolsMeta","FileMessagePart","MessageStatus","ReasoningMessagePart","RunConfig","SourceMessagePart","TextMessagePart","ThreadAssistantMessagePart","ThreadMessage","ThreadStep","ToolCallMessagePart","ModelContext","ReadonlyJSONValue","ChatModelRunUpdate","Record","ChatModelRunResult","CoreChatModelRunResult","Omit","ChatModelRunOptions","AbortSignal","ChatModelAdapter","Promise","AsyncGenerator","MessageStatus","TextMessagePart","ImageMessagePart","ThreadMessage","CompleteAttachment","FileMessagePart","DataMessagePart","Unstable_AudioMessagePart","ReasoningMessagePart","SourceMessagePart","ThreadStep","ReadonlyJSONObject","ReadonlyJSONValue","ThreadMessageLike","Date","Record","fromThreadMessageLike","AppendMessage","ThreadMessage","AttachmentAdapter","AddToolResultOptions","ResumeRunConfig","StartRunConfig","ThreadSuggestion","FeedbackAdapter","SpeechSynthesisAdapter","DictationAdapter","ThreadMessageLike","ExportedMessageRepository","ReadonlyJSONValue","ExternalStoreThreadData","TState","ExternalStoreThreadListAdapter","Promise","ExternalStoreMessageConverter","T","ExternalStoreMessageConverterAdapter","ExternalStoreAdapterBase","ExternalStoreAdapter","ExternalStoreAdapter","AssistantRuntime","useExternalStoreRuntime","T","ThreadMessage","RunConfig","ThreadMessageLike","ExportedMessageRepositoryItem","ExportedMessageRepository","Array","MessageRepository","headId","messages","Attachment","PendingAttachment","Unsubscribe","MessageRole","RunConfig","DictationAdapter","ComposerRuntimeEventType","DictationState","Status","ComposerRuntimeCore","File","Promise","Readonly","ThreadComposerRuntimeCore","ReadonlyJSONValue","ModelContext","AppendMessage","ThreadMessage","RunConfig","Unsubscribe","SpeechSynthesisAdapter","ChatModelRunOptions","ChatModelRunResult","ExportedMessageRepository","ThreadMessageLike","ComposerRuntimeCore","ThreadComposerRuntimeCore","RuntimeCapabilities","AddToolResultOptions","ResumeToolCallOptions","SubmitFeedbackOptions","ThreadSuggestion","SpeechState","Status","SubmittedFeedback","ThreadRuntimeEventType","StartRunConfig","ResumeRunConfig","AsyncGenerator","ThreadRuntimeCore","Readonly","ThreadListItemRuntimePath","ThreadRuntimePath","MessageRuntimePath","MessagePartRuntimePath","AttachmentRuntimePath","ComposerRuntimePath","ComposerRuntimeCore","ThreadComposerRuntimeCore","ThreadRuntimeCore","ThreadListRuntimeCore","SubscribableWithState","ThreadMessage","SpeechState","SubmittedFeedback","ComposerRuntimePath","ThreadRuntimePath","ThreadListItemRuntimePath","MessageRuntimePath","ComposerRuntimeCoreBinding","ThreadComposerRuntimeCoreBinding","EditComposerRuntimeCoreBinding","ThreadRuntimeCoreBinding","ThreadListRuntimeCoreBinding","MessageStateBinding","ThreadListItemStatus","ThreadListItemState","SubscribableWithState","ComposerRuntimeCoreBinding","Attachment","CompleteAttachment","PendingAttachment","Unsubscribe","AttachmentRuntimePath","MessageAttachmentState","ThreadComposerAttachmentState","EditComposerAttachmentState","AttachmentState","AttachmentSnapshotBinding","Source","AttachmentRuntimeSource","AttachmentRuntime","TSource","Promise","AttachmentRuntimeImpl","ComposerAttachmentRuntime","ThreadComposerAttachmentRuntimeImpl","EditComposerAttachmentRuntimeImpl","MessageAttachmentRuntimeImpl","Attachment","PendingAttachment","ComposerRuntimeEventType","DictationState","Unsubscribe","MessageRole","RunConfig","ThreadComposerRuntimeCoreBinding","EditComposerRuntimeCoreBinding","ComposerRuntimeCoreBinding","ComposerRuntimePath","AttachmentRuntime","EditComposerAttachmentRuntimeImpl","ThreadComposerAttachmentRuntimeImpl","BaseComposerState","ThreadComposerState","EditComposerState","ComposerState","ComposerRuntime","File","Promise","ComposerRuntimeImpl","ThreadComposerRuntime","Omit","ThreadComposerRuntimeImpl","EditComposerRuntime","EditComposerRuntimeImpl","SpeechState","SubmittedFeedback","ThreadMessage","ThreadAssistantMessagePart","ThreadUserMessagePart","Unsubscribe","RunConfig","ToolCallMessagePartStatus","AttachmentRuntime","MessageAttachmentRuntimeImpl","EditComposerRuntime","EditComposerRuntimeImpl","MessagePartRuntime","MessagePartRuntimeImpl","MessageRuntimePath","ThreadRuntimeCoreBinding","MessageStateBinding","toMessagePartStatus","MessageState","ReloadConfig","MessageRuntime","type","position","branchId","MessageRuntimeImpl","___runtime_cores0","___runtime_cores_core_ThreadRuntimeCore0","___runtime_cores_core_ComposerRuntimeCore0","_____11","______types_AssistantTypes0","ThreadSuggestion","RuntimeCapabilities","ThreadRuntimeCore","SpeechState","ThreadRuntimeEventType","StartRunConfig","ResumeRunConfig","ExportedMessageRepository","AppendMessage","ThreadMessage","Unsubscribe","ThreadMessageLike","MessageRuntime","MessageRuntimeImpl","SubscribableWithState","ThreadComposerRuntime","ThreadComposerRuntimeImpl","ThreadListItemRuntimePath","ThreadRuntimePath","ThreadListItemState","RunConfig","ModelContext","ChatModelRunOptions","ChatModelRunResult","ReadonlyJSONValue","CreateStartRunConfig","CreateResumeRunConfig","AsyncGenerator","CreateAppendMessage","Date","ThreadRuntimeCoreBinding","ThreadListItemRuntimeBinding","ThreadState","getThreadState","ThreadRuntime","ThreadRuntimeImpl","__subscribable_Subscribable0","Subscribable","AddToolResultOptions","ResumeToolCallOptions","SubmitFeedbackOptions","ThreadComposerRuntimeCore","Attachment","File","Promise","MessageRole","DictationState","ComposerRuntimeEventType","Readonly","ThreadAssistantMessagePart","ThreadUserMessagePart","MessagePartStatus","ToolCallMessagePartStatus","ThreadRuntimeCoreBinding","MessageStateBinding","SubscribableWithState","Unsubscribe","MessagePartRuntimePath","ToolResponse","MessagePartState","MessagePartSnapshotBinding","MessagePartRuntime","MessagePartRuntimeImpl","ComponentType","PropsWithChildren","MessagePartStatus","FileMessagePart","ImageMessagePart","ReasoningMessagePart","SourceMessagePart","TextMessagePart","ToolCallMessagePart","Unstable_AudioMessagePart","MessagePartState","ToolResponse","EmptyMessagePartProps","EmptyMessagePartComponent","TextMessagePartProps","TextMessagePartComponent","ReasoningMessagePartProps","ReasoningMessagePartComponent","ReasoningGroupProps","ReasoningGroupComponent","SourceMessagePartProps","SourceMessagePartComponent","ImageMessagePartProps","ImageMessagePartComponent","FileMessagePartProps","FileMessagePartComponent","Unstable_AudioMessagePartProps","Unstable_AudioMessagePartComponent","ToolCallMessagePartProps","TArgs","TResult","ToolCallMessagePartComponent","ThreadListRuntimeCore","Unsubscribe","ThreadListItemRuntime","ThreadListItemRuntimeImpl","ThreadListItemState","ThreadListItemRuntimeBinding","ThreadRuntime","ThreadRuntimeCoreBinding","ThreadListState","Omit","Record","Readonly","ThreadListRuntime","Promise","ThreadListRuntimeCoreBinding","ThreadListRuntimeImpl","Unsubscribe","ThreadListItemRuntimePath","SubscribableWithState","ThreadListRuntimeCoreBinding","ThreadListItemEventType","ThreadListItemState","ThreadListItemStatus","ThreadListItemRuntime","Promise","ThreadListItemStateBinding","ThreadListItemRuntimeImpl","EventSource","T","AssistantEvent","ScopeConfig","SourceByScope","TScope","AssistantEventScope","K","TEvent","AssistantEventSelector","AssistantEventMap","Exclude","normalizeEventSelector","checkEventScope","TExpectedScope","Extract","AssistantEventCallback","AssistantRuntimeCore","ModelContextProvider","ThreadRuntime","Unsubscribe","ThreadListRuntime","ThreadListRuntimeImpl","ThreadMessageLike","AssistantRuntime","AssistantRuntimeImpl","Promise","initialMessages","Attachment","AttachmentClientState","AttachmentClientApi","Promise","DictationState","Attachment","MessageRole","RunConfig","AttachmentClientApi","ComposerClientState","ComposerClientApi","File","Promise","ToolResponse","ThreadUserMessagePart","ThreadAssistantMessagePart","MessagePartStatus","ToolCallMessagePartStatus","MessagePartClientState","MessagePartClientApi","ComposerClientState","ComposerClientApi","MessagePartClientApi","MessagePartClientState","SpeechState","SubmittedFeedback","ThreadMessage","RunConfig","AttachmentClientApi","MessageClientState","MessageClientApi","ThreadListItemStatus","ThreadListItemClientState","ThreadListItemClientApi","Promise","ReadonlyJSONValue","ComposerClientState","ComposerClientApi","MessageClientApi","MessageClientState","CreateAppendMessage","CreateStartRunConfig","ThreadSuggestion","ExportedMessageRepository","ThreadMessageLike","RuntimeCapabilities","SpeechState","CreateResumeRunConfig","ModelContext","ThreadClientState","ThreadClientApi","Promise","ThreadListItemClientState","ThreadListItemClientApi","ThreadClientApi","ThreadClientState","ThreadListClientState","ThreadListClientApi","Unsubscribe","ModelContextProvider","ModelContextState","ModelContextApi","ModelContextMeta","Record","FC","PropsWithChildren","MessageClientApi","MessageClientState","ThreadListItemClientApi","ThreadListItemClientState","MessagePartClientApi","MessagePartClientState","ThreadClientApi","ThreadClientState","ComposerClientApi","ComposerClientState","AttachmentClientApi","AttachmentClientState","Unsubscribe","AssistantEvent","AssistantEventCallback","AssistantEventSelector","ThreadListClientApi","ThreadListClientState","AssistantClientProps","ToolsApi","ToolsMeta","ToolsState","ModelContextApi","ModelContextMeta","DerivedScopesInput","AssistantState","AssistantApiField","TApi","TMeta","Record","ThreadsMeta","ThreadListItemMeta","ThreadMeta","ComposerMeta","MessageMeta","PartMeta","AttachmentMeta","AssistantApi","TEvent","createAssistantApiField","useAssistantApiImpl","useExtendedAssistantApi","useAssistantApi","extendApi","Partial","AssistantProvider","AssistantApi","Unsubscribe","EventLog","Date","DevToolsApiEntry","Partial","DevToolsHook","Map","Set","_0","sideEffect","DevToolsHooks","DevToolsProviderApi"],"sources":["../src/adapters/ChatAdapter.ts","../src/adapters/MockAdapter.ts","../src/adapters/NexoPayloadChatAdapter.ts","../src/components/assistant-ui/markdown-text.tsx","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/Unsubscribe.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/utils/json/json-value.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/utils/AsyncIterableStream.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/core/tool/ToolResponse.d.ts","../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/core/tool/type-path-utils.d.ts","../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/core/tool/tool-types.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/model-context/ModelContextTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/AssistantTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/MessagePartTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/AttachmentTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/adapters/attachment/AttachmentAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/adapters/feedback/FeedbackAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/adapters/speech/SpeechAdapterTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/adapters/speech/WebSpeechDictationAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Tools.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/local/ChatModelAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/ThreadMessageLike.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/ExternalStoreAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/useExternalStoreRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/utils/MessageRepository.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/core/ComposerRuntimeCore.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/core/ThreadRuntimeCore.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/RuntimePathTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/RuntimeBindings.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/AttachmentRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/ComposerRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/MessageRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/ThreadRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/MessagePartRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/MessagePartComponentTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/ThreadListRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/ThreadListItemRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/EventTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/AssistantRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Attachment.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Composer.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Part.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Message.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/ThreadListItem.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Thread.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/ThreadList.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/ModelContext.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/devtools/DevToolsHooks.d.ts","../src/types/components.tsx","../src/components/assistant-ui/thread.tsx","../src/components/chat-context.tsx","../src/components/FloatingChatManager.tsx","../src/components/useDocumentSelector.ts","../src/hooks/useAssistantRuntime.ts"],"sourcesContent":["export type Unsubscribe = () => void;\n//# sourceMappingURL=Unsubscribe.d.ts.map","export type ReadonlyJSONValue = null | string | number | boolean | ReadonlyJSONObject | ReadonlyJSONArray;\nexport type ReadonlyJSONObject = {\n readonly [key: string]: ReadonlyJSONValue;\n};\nexport type ReadonlyJSONArray = readonly ReadonlyJSONValue[];\n//# sourceMappingURL=json-value.d.ts.map","export type AsyncIterableStream<T> = AsyncIterable<T> & ReadableStream<T>;\nexport declare function asAsyncIterableStream<T>(source: ReadableStream<T>): AsyncIterableStream<T>;\n//# sourceMappingURL=AsyncIterableStream.d.ts.map","import { ReadonlyJSONValue } from \"../../utils/json/json-value.js\";\ndeclare const TOOL_RESPONSE_SYMBOL: unique symbol;\nexport type ToolResponseLike<TResult> = {\n result: TResult;\n artifact?: ReadonlyJSONValue | undefined;\n isError?: boolean | undefined;\n};\nexport declare class ToolResponse<TResult> {\n get [TOOL_RESPONSE_SYMBOL](): boolean;\n readonly artifact?: ReadonlyJSONValue;\n readonly result: TResult;\n readonly isError: boolean;\n constructor(options: ToolResponseLike<TResult>);\n static [Symbol.hasInstance](obj: unknown): obj is ToolResponse<ReadonlyJSONValue>;\n static toResponse(result: any | ToolResponse<any>): ToolResponse<any>;\n}\nexport {};\n//# sourceMappingURL=ToolResponse.d.ts.map","// ==================================================================================================\n// JSON Schema Draft 04\n// ==================================================================================================\n\n/**\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1\n */\nexport type JSONSchema4TypeName =\n | \"string\" //\n | \"number\"\n | \"integer\"\n | \"boolean\"\n | \"object\"\n | \"array\"\n | \"null\"\n | \"any\";\n\n/**\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-04#section-3.5\n */\nexport type JSONSchema4Type =\n | string //\n | number\n | boolean\n | JSONSchema4Object\n | JSONSchema4Array\n | null;\n\n// Workaround for infinite type recursion\nexport interface JSONSchema4Object {\n [key: string]: JSONSchema4Type;\n}\n\n// Workaround for infinite type recursion\n// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540\nexport interface JSONSchema4Array extends Array<JSONSchema4Type> {}\n\n/**\n * Meta schema\n *\n * Recommended values:\n * - 'http://json-schema.org/schema#'\n * - 'http://json-schema.org/hyper-schema#'\n * - 'http://json-schema.org/draft-04/schema#'\n * - 'http://json-schema.org/draft-04/hyper-schema#'\n * - 'http://json-schema.org/draft-03/schema#'\n * - 'http://json-schema.org/draft-03/hyper-schema#'\n *\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5\n */\nexport type JSONSchema4Version = string;\n\n/**\n * JSON Schema V4\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-04\n */\nexport interface JSONSchema4 {\n id?: string | undefined;\n $ref?: string | undefined;\n $schema?: JSONSchema4Version | undefined;\n\n /**\n * This attribute is a string that provides a short description of the\n * instance property.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.21\n */\n title?: string | undefined;\n\n /**\n * This attribute is a string that provides a full description of the of\n * purpose the instance property.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.22\n */\n description?: string | undefined;\n\n default?: JSONSchema4Type | undefined;\n multipleOf?: number | undefined;\n maximum?: number | undefined;\n exclusiveMaximum?: boolean | undefined;\n minimum?: number | undefined;\n exclusiveMinimum?: boolean | undefined;\n maxLength?: number | undefined;\n minLength?: number | undefined;\n pattern?: string | undefined;\n\n /**\n * May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n *\n * This provides a definition for additional items in an array instance\n * when tuple definitions of the items is provided. This can be false\n * to indicate additional items in the array are not allowed, or it can\n * be a schema that defines the schema of the additional items.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.6\n */\n additionalItems?: boolean | JSONSchema4 | undefined;\n\n /**\n * This attribute defines the allowed items in an instance array, and\n * MUST be a schema or an array of schemas. The default value is an\n * empty schema which allows any value for items in the instance array.\n *\n * When this attribute value is a schema and the instance value is an\n * array, then all the items in the array MUST be valid according to the\n * schema.\n *\n * When this attribute value is an array of schemas and the instance\n * value is an array, each position in the instance array MUST conform\n * to the schema in the corresponding position for this array. This\n * called tuple typing. When tuple typing is used, additional items are\n * allowed, disallowed, or constrained by the \"additionalItems\"\n * (Section 5.6) attribute using the same rules as\n * \"additionalProperties\" (Section 5.4) for objects.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.5\n */\n items?: JSONSchema4 | JSONSchema4[] | undefined;\n\n maxItems?: number | undefined;\n minItems?: number | undefined;\n uniqueItems?: boolean | undefined;\n maxProperties?: number | undefined;\n minProperties?: number | undefined;\n\n /**\n * This attribute indicates if the instance must have a value, and not\n * be undefined. This is false by default, making the instance\n * optional.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.7\n */\n required?: boolean | string[] | undefined;\n\n /**\n * This attribute defines a schema for all properties that are not\n * explicitly defined in an object type definition. If specified, the\n * value MUST be a schema or a boolean. If false is provided, no\n * additional properties are allowed beyond the properties defined in\n * the schema. The default value is an empty schema which allows any\n * value for additional properties.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.4\n */\n additionalProperties?: boolean | JSONSchema4 | undefined;\n\n definitions?: {\n [k: string]: JSONSchema4;\n } | undefined;\n\n /**\n * This attribute is an object with property definitions that define the\n * valid values of instance object property values. When the instance\n * value is an object, the property values of the instance object MUST\n * conform to the property definitions in this object. In this object,\n * each property definition's value MUST be a schema, and the property's\n * name MUST be the name of the instance property that it defines. The\n * instance property value MUST be valid according to the schema from\n * the property definition. Properties are considered unordered, the\n * order of the instance properties MAY be in any order.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.2\n */\n properties?: {\n [k: string]: JSONSchema4;\n } | undefined;\n\n /**\n * This attribute is an object that defines the schema for a set of\n * property names of an object instance. The name of each property of\n * this attribute's object is a regular expression pattern in the ECMA\n * 262/Perl 5 format, while the value is a schema. If the pattern\n * matches the name of a property on the instance object, the value of\n * the instance's property MUST be valid against the pattern name's\n * schema value.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.3\n */\n patternProperties?: {\n [k: string]: JSONSchema4;\n } | undefined;\n dependencies?: {\n [k: string]: JSONSchema4 | string[];\n } | undefined;\n\n /**\n * This provides an enumeration of all possible values that are valid\n * for the instance property. This MUST be an array, and each item in\n * the array represents a possible value for the instance value. If\n * this attribute is defined, the instance value MUST be one of the\n * values in the array in order for the schema to be valid.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.19\n */\n enum?: JSONSchema4Type[] | undefined;\n\n /**\n * A single type, or a union of simple types\n */\n type?: JSONSchema4TypeName | JSONSchema4TypeName[] | undefined;\n\n allOf?: JSONSchema4[] | undefined;\n anyOf?: JSONSchema4[] | undefined;\n oneOf?: JSONSchema4[] | undefined;\n not?: JSONSchema4 | undefined;\n\n /**\n * The value of this property MUST be another schema which will provide\n * a base schema which the current schema will inherit from. The\n * inheritance rules are such that any instance that is valid according\n * to the current schema MUST be valid according to the referenced\n * schema. This MAY also be an array, in which case, the instance MUST\n * be valid for all the schemas in the array. A schema that extends\n * another schema MAY define additional attributes, constrain existing\n * attributes, or add other constraints.\n *\n * Conceptually, the behavior of extends can be seen as validating an\n * instance against all constraints in the extending schema as well as\n * the extended schema(s).\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.26\n */\n extends?: string | string[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-04#section-5.6\n */\n [k: string]: any;\n\n format?: string | undefined;\n}\n\n// ==================================================================================================\n// JSON Schema Draft 06\n// ==================================================================================================\n\nexport type JSONSchema6TypeName =\n | \"string\" //\n | \"number\"\n | \"integer\"\n | \"boolean\"\n | \"object\"\n | \"array\"\n | \"null\"\n | \"any\";\n\nexport type JSONSchema6Type =\n | string //\n | number\n | boolean\n | JSONSchema6Object\n | JSONSchema6Array\n | null;\n\n// Workaround for infinite type recursion\nexport interface JSONSchema6Object {\n [key: string]: JSONSchema6Type;\n}\n\n// Workaround for infinite type recursion\n// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540\nexport interface JSONSchema6Array extends Array<JSONSchema6Type> {}\n\n/**\n * Meta schema\n *\n * Recommended values:\n * - 'http://json-schema.org/schema#'\n * - 'http://json-schema.org/hyper-schema#'\n * - 'http://json-schema.org/draft-06/schema#'\n * - 'http://json-schema.org/draft-06/hyper-schema#'\n *\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5\n */\nexport type JSONSchema6Version = string;\n\n/**\n * JSON Schema V6\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01\n */\nexport type JSONSchema6Definition = JSONSchema6 | boolean;\nexport interface JSONSchema6 {\n $id?: string | undefined;\n $ref?: string | undefined;\n $schema?: JSONSchema6Version | undefined;\n\n /**\n * Must be strictly greater than 0.\n * A numeric instance is valid only if division by this keyword's value results in an integer.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.1\n */\n multipleOf?: number | undefined;\n\n /**\n * Representing an inclusive upper limit for a numeric instance.\n * This keyword validates only if the instance is less than or exactly equal to \"maximum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.2\n */\n maximum?: number | undefined;\n\n /**\n * Representing an exclusive upper limit for a numeric instance.\n * This keyword validates only if the instance is strictly less than (not equal to) to \"exclusiveMaximum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.3\n */\n exclusiveMaximum?: number | undefined;\n\n /**\n * Representing an inclusive lower limit for a numeric instance.\n * This keyword validates only if the instance is greater than or exactly equal to \"minimum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.4\n */\n minimum?: number | undefined;\n\n /**\n * Representing an exclusive lower limit for a numeric instance.\n * This keyword validates only if the instance is strictly greater than (not equal to) to \"exclusiveMinimum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.5\n */\n exclusiveMinimum?: number | undefined;\n\n /**\n * Must be a non-negative integer.\n * A string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.6\n */\n maxLength?: number | undefined;\n\n /**\n * Must be a non-negative integer.\n * A string instance is valid against this keyword if its length is greater than, or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.7\n */\n minLength?: number | undefined;\n\n /**\n * Should be a valid regular expression, according to the ECMA 262 regular expression dialect.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.8\n */\n pattern?: string | undefined;\n\n /**\n * This keyword determines how child instances validate for arrays, and does not directly validate the immediate instance itself.\n * Omitting this keyword has the same behavior as an empty schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.9\n */\n items?: JSONSchema6Definition | JSONSchema6Definition[] | undefined;\n\n /**\n * This keyword determines how child instances validate for arrays, and does not directly validate the immediate instance itself.\n * If \"items\" is an array of schemas, validation succeeds if every instance element\n * at a position greater than the size of \"items\" validates against \"additionalItems\".\n * Otherwise, \"additionalItems\" MUST be ignored, as the \"items\" schema\n * (possibly the default value of an empty schema) is applied to all elements.\n * Omitting this keyword has the same behavior as an empty schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.10\n */\n additionalItems?: JSONSchema6Definition | undefined;\n\n /**\n * Must be a non-negative integer.\n * An array instance is valid against \"maxItems\" if its size is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.11\n */\n maxItems?: number | undefined;\n\n /**\n * Must be a non-negative integer.\n * An array instance is valid against \"maxItems\" if its size is greater than, or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.12\n */\n minItems?: number | undefined;\n\n /**\n * If this keyword has boolean value false, the instance validates successfully.\n * If it has boolean value true, the instance validates successfully if all of its elements are unique.\n * Omitting this keyword has the same behavior as a value of false.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.13\n */\n uniqueItems?: boolean | undefined;\n\n /**\n * An array instance is valid against \"contains\" if at least one of its elements is valid against the given schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.14\n */\n contains?: JSONSchema6Definition | undefined;\n\n /**\n * Must be a non-negative integer.\n * An object instance is valid against \"maxProperties\" if its number of properties is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.15\n */\n maxProperties?: number | undefined;\n\n /**\n * Must be a non-negative integer.\n * An object instance is valid against \"maxProperties\" if its number of properties is greater than,\n * or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.16\n */\n minProperties?: number | undefined;\n\n /**\n * Elements of this array must be unique.\n * An object instance is valid against this keyword if every item in the array is the name of a property in the instance.\n * Omitting this keyword has the same behavior as an empty array.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.17\n */\n required?: string[] | undefined;\n\n /**\n * This keyword determines how child instances validate for objects, and does not directly validate the immediate instance itself.\n * Validation succeeds if, for each name that appears in both the instance and as a name within this keyword's value,\n * the child instance for that name successfully validates against the corresponding schema.\n * Omitting this keyword has the same behavior as an empty object.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.18\n */\n properties?: {\n [k: string]: JSONSchema6Definition;\n } | undefined;\n\n /**\n * This attribute is an object that defines the schema for a set of property names of an object instance.\n * The name of each property of this attribute's object is a regular expression pattern in the ECMA 262, while the value is a schema.\n * If the pattern matches the name of a property on the instance object, the value of the instance's property\n * MUST be valid against the pattern name's schema value.\n * Omitting this keyword has the same behavior as an empty object.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.19\n */\n patternProperties?: {\n [k: string]: JSONSchema6Definition;\n } | undefined;\n\n /**\n * This attribute defines a schema for all properties that are not explicitly defined in an object type definition.\n * If specified, the value MUST be a schema or a boolean.\n * If false is provided, no additional properties are allowed beyond the properties defined in the schema.\n * The default value is an empty schema which allows any value for additional properties.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.20\n */\n additionalProperties?: JSONSchema6Definition | undefined;\n\n /**\n * This keyword specifies rules that are evaluated if the instance is an object and contains a certain property.\n * Each property specifies a dependency.\n * If the dependency value is an array, each element in the array must be unique.\n * Omitting this keyword has the same behavior as an empty object.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.21\n */\n dependencies?: {\n [k: string]: JSONSchema6Definition | string[];\n } | undefined;\n\n /**\n * Takes a schema which validates the names of all properties rather than their values.\n * Note the property name that the schema is testing will always be a string.\n * Omitting this keyword has the same behavior as an empty schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.22\n */\n propertyNames?: JSONSchema6Definition | undefined;\n\n /**\n * This provides an enumeration of all possible values that are valid\n * for the instance property. This MUST be an array, and each item in\n * the array represents a possible value for the instance value. If\n * this attribute is defined, the instance value MUST be one of the\n * values in the array in order for the schema to be valid.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.23\n */\n enum?: JSONSchema6Type[] | undefined;\n\n /**\n * More readable form of a one-element \"enum\"\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.24\n */\n const?: JSONSchema6Type | undefined;\n\n /**\n * A single type, or a union of simple types\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.25\n */\n type?: JSONSchema6TypeName | JSONSchema6TypeName[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.26\n */\n allOf?: JSONSchema6Definition[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.27\n */\n anyOf?: JSONSchema6Definition[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.28\n */\n oneOf?: JSONSchema6Definition[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.29\n */\n not?: JSONSchema6Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.1\n */\n definitions?: {\n [k: string]: JSONSchema6Definition;\n } | undefined;\n\n /**\n * This attribute is a string that provides a short description of the instance property.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2\n */\n title?: string | undefined;\n\n /**\n * This attribute is a string that provides a full description of the of purpose the instance property.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2\n */\n description?: string | undefined;\n\n /**\n * This keyword can be used to supply a default JSON value associated with a particular schema.\n * It is RECOMMENDED that a default value be valid against the associated schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.3\n */\n default?: JSONSchema6Type | undefined;\n\n /**\n * Array of examples with no validation effect the value of \"default\" is usable as an example without repeating it under this keyword\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.4\n */\n examples?: JSONSchema6Type[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-8\n */\n format?: string | undefined;\n}\n\n// ==================================================================================================\n// JSON Schema Draft 07\n// ==================================================================================================\n// https://tools.ietf.org/html/draft-handrews-json-schema-validation-01\n// --------------------------------------------------------------------------------------------------\n\n/**\n * Primitive type\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1\n */\nexport type JSONSchema7TypeName =\n | \"string\" //\n | \"number\"\n | \"integer\"\n | \"boolean\"\n | \"object\"\n | \"array\"\n | \"null\";\n\n/**\n * Primitive type\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1\n */\nexport type JSONSchema7Type =\n | string //\n | number\n | boolean\n | JSONSchema7Object\n | JSONSchema7Array\n | null;\n\n// Workaround for infinite type recursion\nexport interface JSONSchema7Object {\n [key: string]: JSONSchema7Type;\n}\n\n// Workaround for infinite type recursion\n// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540\nexport interface JSONSchema7Array extends Array<JSONSchema7Type> {}\n\n/**\n * Meta schema\n *\n * Recommended values:\n * - 'http://json-schema.org/schema#'\n * - 'http://json-schema.org/hyper-schema#'\n * - 'http://json-schema.org/draft-07/schema#'\n * - 'http://json-schema.org/draft-07/hyper-schema#'\n *\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5\n */\nexport type JSONSchema7Version = string;\n\n/**\n * JSON Schema v7\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01\n */\nexport type JSONSchema7Definition = JSONSchema7 | boolean;\nexport interface JSONSchema7 {\n $id?: string | undefined;\n $ref?: string | undefined;\n $schema?: JSONSchema7Version | undefined;\n $comment?: string | undefined;\n\n /**\n * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00#section-8.2.4\n * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#appendix-A\n */\n $defs?: {\n [key: string]: JSONSchema7Definition;\n } | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1\n */\n type?: JSONSchema7TypeName | JSONSchema7TypeName[] | undefined;\n enum?: JSONSchema7Type[] | undefined;\n const?: JSONSchema7Type | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.2\n */\n multipleOf?: number | undefined;\n maximum?: number | undefined;\n exclusiveMaximum?: number | undefined;\n minimum?: number | undefined;\n exclusiveMinimum?: number | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.3\n */\n maxLength?: number | undefined;\n minLength?: number | undefined;\n pattern?: string | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.4\n */\n items?: JSONSchema7Definition | JSONSchema7Definition[] | undefined;\n additionalItems?: JSONSchema7Definition | undefined;\n maxItems?: number | undefined;\n minItems?: number | undefined;\n uniqueItems?: boolean | undefined;\n contains?: JSONSchema7Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.5\n */\n maxProperties?: number | undefined;\n minProperties?: number | undefined;\n required?: string[] | undefined;\n properties?: {\n [key: string]: JSONSchema7Definition;\n } | undefined;\n patternProperties?: {\n [key: string]: JSONSchema7Definition;\n } | undefined;\n additionalProperties?: JSONSchema7Definition | undefined;\n dependencies?: {\n [key: string]: JSONSchema7Definition | string[];\n } | undefined;\n propertyNames?: JSONSchema7Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.6\n */\n if?: JSONSchema7Definition | undefined;\n then?: JSONSchema7Definition | undefined;\n else?: JSONSchema7Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.7\n */\n allOf?: JSONSchema7Definition[] | undefined;\n anyOf?: JSONSchema7Definition[] | undefined;\n oneOf?: JSONSchema7Definition[] | undefined;\n not?: JSONSchema7Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-7\n */\n format?: string | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-8\n */\n contentMediaType?: string | undefined;\n contentEncoding?: string | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9\n */\n definitions?: {\n [key: string]: JSONSchema7Definition;\n } | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-10\n */\n title?: string | undefined;\n description?: string | undefined;\n default?: JSONSchema7Type | undefined;\n readOnly?: boolean | undefined;\n writeOnly?: boolean | undefined;\n examples?: JSONSchema7Type | undefined;\n}\n\nexport interface ValidationResult {\n valid: boolean;\n errors: ValidationError[];\n}\n\nexport interface ValidationError {\n property: string;\n message: string;\n}\n\n/**\n * To use the validator call JSONSchema.validate with an instance object and an optional schema object.\n * If a schema is provided, it will be used to validate. If the instance object refers to a schema (self-validating),\n * that schema will be used to validate and the schema parameter is not necessary (if both exist,\n * both validations will occur).\n */\nexport function validate(instance: {}, schema: JSONSchema4 | JSONSchema6 | JSONSchema7): ValidationResult;\n\n/**\n * The checkPropertyChange method will check to see if an value can legally be in property with the given schema\n * This is slightly different than the validate method in that it will fail if the schema is readonly and it will\n * not check for self-validation, it is assumed that the passed in value is already internally valid.\n */\nexport function checkPropertyChange(\n value: any,\n schema: JSONSchema4 | JSONSchema6 | JSONSchema7,\n property: string,\n): ValidationResult;\n\n/**\n * This checks to ensure that the result is valid and will throw an appropriate error message if it is not.\n */\nexport function mustBeValid(result: ValidationResult): void;\n","type AsNumber<K> = K extends `${infer N extends number}` ? N | K : never;\ntype TupleIndex<T extends readonly any[]> = Exclude<keyof T, keyof any[]>;\ntype ObjectKey<T> = keyof T & (string | number);\nexport type TypePath<T> = [] | (0 extends 1 & T ? any[] : T extends object ? T extends readonly any[] ? number extends T[\"length\"] ? {\n [K in TupleIndex<T>]: [AsNumber<K>, ...TypePath<T[K]>];\n}[TupleIndex<T>] : [\n number,\n ...TypePath<T[number]>\n] : {\n [K in ObjectKey<T>]: [K, ...TypePath<T[K]>];\n}[ObjectKey<T>] : [\n]);\nexport type TypeAtPath<T, P extends readonly any[]> = P extends [\n infer Head,\n ...infer Rest\n] ? Head extends keyof T ? TypeAtPath<T[Head], Rest> : never : T;\nexport type DeepPartial<T> = T extends readonly any[] ? readonly DeepPartial<T[number]>[] : T extends {\n [key: string]: any;\n} ? {\n readonly [K in keyof T]?: DeepPartial<T[K]>;\n} : T;\nexport {};\n//# sourceMappingURL=type-path-utils.d.ts.map","/** The Standard Typed interface. This is a base type extended by other specs. */\ninterface StandardTypedV1<Input = unknown, Output = Input> {\n /** The Standard properties. */\n readonly \"~standard\": StandardTypedV1.Props<Input, Output>;\n}\ndeclare namespace StandardTypedV1 {\n /** The Standard Typed properties interface. */\n interface Props<Input = unknown, Output = Input> {\n /** The version number of the standard. */\n readonly version: 1;\n /** The vendor name of the schema library. */\n readonly vendor: string;\n /** Inferred types associated with the schema. */\n readonly types?: Types<Input, Output> | undefined;\n }\n /** The Standard Typed types interface. */\n interface Types<Input = unknown, Output = Input> {\n /** The input type of the schema. */\n readonly input: Input;\n /** The output type of the schema. */\n readonly output: Output;\n }\n /** Infers the input type of a Standard Typed. */\n type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema[\"~standard\"][\"types\"]>[\"input\"];\n /** Infers the output type of a Standard Typed. */\n type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema[\"~standard\"][\"types\"]>[\"output\"];\n}\n/** The Standard Schema interface. */\ninterface StandardSchemaV1<Input = unknown, Output = Input> {\n /** The Standard Schema properties. */\n readonly \"~standard\": StandardSchemaV1.Props<Input, Output>;\n}\ndeclare namespace StandardSchemaV1 {\n /** The Standard Schema properties interface. */\n interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {\n /** Validates unknown input values. */\n readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;\n }\n /** The result interface of the validate function. */\n type Result<Output> = SuccessResult<Output> | FailureResult;\n /** The result interface if validation succeeds. */\n interface SuccessResult<Output> {\n /** The typed output value. */\n readonly value: Output;\n /** A falsy value for `issues` indicates success. */\n readonly issues?: undefined;\n }\n interface Options {\n /** Explicit support for additional vendor-specific parameters, if needed. */\n readonly libraryOptions?: Record<string, unknown> | undefined;\n }\n /** The result interface if validation fails. */\n interface FailureResult {\n /** The issues of failed validation. */\n readonly issues: ReadonlyArray<Issue>;\n }\n /** The issue interface of the failure output. */\n interface Issue {\n /** The error message of the issue. */\n readonly message: string;\n /** The path of the issue, if any. */\n readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;\n }\n /** The path segment interface of the issue. */\n interface PathSegment {\n /** The key representing a path segment. */\n readonly key: PropertyKey;\n }\n /** The Standard types interface. */\n interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {\n }\n /** Infers the input type of a Standard. */\n type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;\n /** Infers the output type of a Standard. */\n type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;\n}\n/** The Standard JSON Schema interface. */\ninterface StandardJSONSchemaV1<Input = unknown, Output = Input> {\n /** The Standard JSON Schema properties. */\n readonly \"~standard\": StandardJSONSchemaV1.Props<Input, Output>;\n}\ndeclare namespace StandardJSONSchemaV1 {\n /** The Standard JSON Schema properties interface. */\n interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {\n /** Methods for generating the input/output JSON Schema. */\n readonly jsonSchema: StandardJSONSchemaV1.Converter;\n }\n /** The Standard JSON Schema converter interface. */\n interface Converter {\n /** Converts the input type to JSON Schema. May throw if conversion is not supported. */\n readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;\n /** Converts the output type to JSON Schema. May throw if conversion is not supported. */\n readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;\n }\n /**\n * The target version of the generated JSON Schema.\n *\n * It is *strongly recommended* that implementers support `\"draft-2020-12\"` and `\"draft-07\"`, as they are both in wide use. All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target.\n *\n * The `\"openapi-3.0\"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `\"draft-04\"`.\n */\n type Target = \"draft-2020-12\" | \"draft-07\" | \"openapi-3.0\" | ({} & string);\n /** The options for the input/output methods. */\n interface Options {\n /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */\n readonly target: Target;\n /** Explicit support for additional vendor-specific parameters, if needed. */\n readonly libraryOptions?: Record<string, unknown> | undefined;\n }\n /** The Standard types interface. */\n interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {\n }\n /** Infers the input type of a Standard. */\n type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;\n /** Infers the output type of a Standard. */\n type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;\n}\n\nexport { StandardJSONSchemaV1, StandardSchemaV1, StandardTypedV1 };\n","import type { JSONSchema7 } from \"json-schema\";\nimport { DeepPartial, TypeAtPath, TypePath } from \"./type-path-utils.js\";\nimport { AsyncIterableStream } from \"../../utils.js\";\nimport type { StandardSchemaV1 } from \"@standard-schema/spec\";\nimport { ToolResponse } from \"./ToolResponse.js\";\n/**\n * Interface for reading tool call arguments from a stream, which are\n * generated by a language learning model (LLM). Provides methods to\n * retrieve specific values, partial streams, or complete items from\n * an array, based on a specified path.\n *\n * @template TArgs The type of arguments being read.\n */\nexport interface ToolCallArgsReader<TArgs extends Record<string, unknown>> {\n /**\n * Returns a promise that will resolve to the value at the given path,\n * as soon as that path is generated by the LLM.\n *\n * @param fieldPath An array of object keys or array indices.\n */\n get<PathT extends TypePath<TArgs>>(...fieldPath: PathT): Promise<TypeAtPath<TArgs, PathT>>;\n /**\n * Returns a stream that will emit partial values at the given path,\n * as they are generated by the LLM.\n *\n * @param fieldPath An array of object keys or array indices.\n */\n streamValues<PathT extends TypePath<TArgs>>(...fieldPath: PathT): AsyncIterableStream<DeepPartial<TypeAtPath<TArgs, PathT>>>;\n /**\n * Returns a stream that will emit partial text at the given path,\n * as they are generated by the LLM.\n *\n * @param fieldPath An array of object keys or array indices.\n */\n streamText<PathT extends TypePath<TArgs>>(...fieldPath: PathT): TypeAtPath<TArgs, PathT> extends string & infer U ? AsyncIterableStream<U> : never;\n /**\n * Returns a stream that will emit complete items in the array\n * at the given path, as they are generated by the LLM.\n *\n * @param fieldPath An array of object keys or array indices.\n */\n forEach<PathT extends TypePath<TArgs>>(...fieldPath: PathT): TypeAtPath<TArgs, PathT> extends Array<infer U> ? AsyncIterableStream<U> : never;\n}\nexport interface ToolCallResponseReader<TResult> {\n get: () => Promise<ToolResponse<TResult>>;\n}\nexport interface ToolCallReader<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> {\n args: ToolCallArgsReader<TArgs>;\n response: ToolCallResponseReader<TResult>;\n /**\n * @deprecated Deprecated. Use `response.get().result` instead.\n */\n result: {\n get: () => Promise<TResult>;\n };\n}\nexport type ToolExecutionContext = {\n toolCallId: string;\n abortSignal: AbortSignal;\n human: (payload: unknown) => Promise<unknown>;\n};\nexport type ToolExecuteFunction<TArgs, TResult> = (args: TArgs, context: ToolExecutionContext) => TResult | Promise<TResult>;\nexport type ToolStreamCallFunction<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = (reader: ToolCallReader<TArgs, TResult>, context: ToolExecutionContext) => void;\ntype OnSchemaValidationErrorFunction<TResult> = ToolExecuteFunction<unknown, TResult>;\ntype ToolBase<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = {\n /**\n * @deprecated Experimental, API may change.\n */\n streamCall?: ToolStreamCallFunction<TArgs, TResult>;\n};\ntype BackendTool<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = ToolBase<TArgs, TResult> & {\n type?: \"backend\" | undefined;\n description?: undefined;\n parameters?: undefined;\n disabled?: undefined;\n execute?: undefined;\n experimental_onSchemaValidationError?: undefined;\n};\ntype FrontendTool<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = ToolBase<TArgs, TResult> & {\n type?: \"frontend\" | undefined;\n description?: string | undefined;\n parameters: StandardSchemaV1<TArgs> | JSONSchema7;\n disabled?: boolean;\n execute?: ToolExecuteFunction<TArgs, TResult>;\n experimental_onSchemaValidationError?: OnSchemaValidationErrorFunction<TResult>;\n};\ntype HumanTool<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = ToolBase<TArgs, TResult> & {\n type?: \"human\" | undefined;\n description?: string | undefined;\n parameters: StandardSchemaV1<TArgs> | JSONSchema7;\n disabled?: boolean;\n execute?: undefined;\n experimental_onSchemaValidationError?: undefined;\n};\nexport type Tool<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = FrontendTool<TArgs, TResult> | BackendTool<TArgs, TResult> | HumanTool<TArgs, TResult>;\nexport {};\n//# sourceMappingURL=tool-types.d.ts.map","import { Unsubscribe } from \"../types/Unsubscribe.js\";\nimport { Tool } from \"assistant-stream\";\nexport type LanguageModelV1CallSettings = {\n maxTokens?: number;\n temperature?: number;\n topP?: number;\n presencePenalty?: number;\n frequencyPenalty?: number;\n seed?: number;\n headers?: Record<string, string | undefined>;\n};\nexport type LanguageModelConfig = {\n apiKey?: string;\n baseUrl?: string;\n modelName?: string;\n};\nexport type ModelContext = {\n priority?: number | undefined;\n system?: string | undefined;\n tools?: Record<string, Tool<any, any>> | undefined;\n callSettings?: LanguageModelV1CallSettings | undefined;\n config?: LanguageModelConfig | undefined;\n};\nexport type ModelContextProvider = {\n getModelContext: () => ModelContext;\n subscribe?: (callback: () => void) => Unsubscribe;\n};\nexport declare const mergeModelContexts: (configSet: Set<ModelContextProvider>) => ModelContext;\n//# sourceMappingURL=ModelContextTypes.d.ts.map","import type { CompleteAttachment } from \"./AttachmentTypes.js\";\nimport type { ReadonlyJSONValue } from \"assistant-stream/utils\";\nimport type { TextMessagePart, ReasoningMessagePart, SourceMessagePart, ImageMessagePart, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart, ToolCallMessagePart, ThreadUserMessagePart, ThreadAssistantMessagePart } from \"./MessagePartTypes.js\";\nexport type { TextMessagePart, ReasoningMessagePart, SourceMessagePart, ImageMessagePart, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart, ToolCallMessagePart, ThreadUserMessagePart, ThreadAssistantMessagePart, };\nexport type MessageRole = ThreadMessage[\"role\"];\ntype MessageCommonProps = {\n readonly id: string;\n readonly createdAt: Date;\n};\nexport type ThreadStep = {\n readonly messageId?: string;\n readonly usage?: {\n readonly promptTokens: number;\n readonly completionTokens: number;\n } | undefined;\n};\nexport type MessagePartStatus = {\n readonly type: \"running\";\n} | {\n readonly type: \"complete\";\n} | {\n readonly type: \"incomplete\";\n readonly reason: \"cancelled\" | \"length\" | \"content-filter\" | \"other\" | \"error\";\n readonly error?: unknown;\n};\nexport type ToolCallMessagePartStatus = {\n readonly type: \"requires-action\";\n readonly reason: \"interrupt\";\n} | MessagePartStatus;\nexport type MessageStatus = {\n readonly type: \"running\";\n} | {\n readonly type: \"requires-action\";\n readonly reason: \"tool-calls\" | \"interrupt\";\n} | {\n readonly type: \"complete\";\n readonly reason: \"stop\" | \"unknown\";\n} | {\n readonly type: \"incomplete\";\n readonly reason: \"cancelled\" | \"tool-calls\" | \"length\" | \"content-filter\" | \"other\" | \"error\";\n readonly error?: ReadonlyJSONValue;\n};\nexport type ThreadSystemMessage = MessageCommonProps & {\n readonly role: \"system\";\n readonly content: readonly [TextMessagePart];\n readonly metadata: {\n readonly unstable_state?: undefined;\n readonly unstable_annotations?: undefined;\n readonly unstable_data?: undefined;\n readonly steps?: undefined;\n readonly submittedFeedback?: undefined;\n readonly custom: Record<string, unknown>;\n };\n};\nexport type ThreadUserMessage = MessageCommonProps & {\n readonly role: \"user\";\n readonly content: readonly ThreadUserMessagePart[];\n readonly attachments: readonly CompleteAttachment[];\n readonly metadata: {\n readonly unstable_state?: undefined;\n readonly unstable_annotations?: undefined;\n readonly unstable_data?: undefined;\n readonly steps?: undefined;\n readonly submittedFeedback?: undefined;\n readonly custom: Record<string, unknown>;\n };\n};\nexport type ThreadAssistantMessage = MessageCommonProps & {\n readonly role: \"assistant\";\n readonly content: readonly ThreadAssistantMessagePart[];\n readonly status: MessageStatus;\n readonly metadata: {\n readonly unstable_state: ReadonlyJSONValue;\n readonly unstable_annotations: readonly ReadonlyJSONValue[];\n readonly unstable_data: readonly ReadonlyJSONValue[];\n readonly steps: readonly ThreadStep[];\n readonly submittedFeedback?: {\n readonly type: \"positive\" | \"negative\";\n };\n readonly custom: Record<string, unknown>;\n };\n};\nexport type RunConfig = {\n readonly custom?: Record<string, unknown>;\n};\nexport type AppendMessage = Omit<ThreadMessage, \"id\"> & {\n parentId: string | null;\n /** The ID of the message that was edited or undefined. */\n sourceId: string | null;\n runConfig: RunConfig | undefined;\n startRun?: boolean | undefined;\n};\ntype BaseThreadMessage = {\n readonly status?: ThreadAssistantMessage[\"status\"];\n readonly metadata: {\n readonly unstable_state?: ReadonlyJSONValue;\n readonly unstable_annotations?: readonly ReadonlyJSONValue[];\n readonly unstable_data?: readonly ReadonlyJSONValue[];\n readonly steps?: readonly ThreadStep[];\n readonly submittedFeedback?: {\n readonly type: \"positive\" | \"negative\";\n };\n readonly custom: Record<string, unknown>;\n };\n readonly attachments?: ThreadUserMessage[\"attachments\"];\n};\nexport type ThreadMessage = BaseThreadMessage & (ThreadSystemMessage | ThreadUserMessage | ThreadAssistantMessage);\n//# sourceMappingURL=AssistantTypes.d.ts.map","import { ReadonlyJSONObject } from \"assistant-stream/utils\";\nimport type { ThreadMessage } from \"./AssistantTypes.js\";\nexport type TextMessagePart = {\n readonly type: \"text\";\n readonly text: string;\n readonly parentId?: string;\n};\nexport type ReasoningMessagePart = {\n readonly type: \"reasoning\";\n readonly text: string;\n readonly parentId?: string;\n};\nexport type SourceMessagePart = {\n readonly type: \"source\";\n readonly sourceType: \"url\";\n readonly id: string;\n readonly url: string;\n readonly title?: string;\n readonly parentId?: string;\n};\nexport type ImageMessagePart = {\n readonly type: \"image\";\n readonly image: string;\n readonly filename?: string;\n};\nexport type FileMessagePart = {\n readonly type: \"file\";\n readonly filename?: string;\n readonly data: string;\n readonly mimeType: string;\n};\nexport type Unstable_AudioMessagePart = {\n readonly type: \"audio\";\n readonly audio: {\n readonly data: string;\n readonly format: \"mp3\" | \"wav\";\n };\n};\nexport type DataMessagePart<T = any> = {\n readonly type: \"data\";\n readonly name: string;\n readonly data: T;\n};\nexport type ToolCallMessagePart<TArgs = ReadonlyJSONObject, TResult = unknown> = {\n readonly type: \"tool-call\";\n readonly toolCallId: string;\n readonly toolName: string;\n readonly args: TArgs;\n readonly result?: TResult | undefined;\n readonly isError?: boolean | undefined;\n readonly argsText: string;\n readonly artifact?: unknown;\n readonly interrupt?: {\n type: \"human\";\n payload: unknown;\n };\n readonly parentId?: string;\n readonly messages?: readonly ThreadMessage[];\n};\nexport type ThreadUserMessagePart = TextMessagePart | ImageMessagePart | FileMessagePart | Unstable_AudioMessagePart;\nexport type ThreadAssistantMessagePart = TextMessagePart | ReasoningMessagePart | ToolCallMessagePart | SourceMessagePart | FileMessagePart | ImageMessagePart | DataMessagePart;\n//# sourceMappingURL=MessagePartTypes.d.ts.map","import type { ThreadUserMessagePart } from \"./MessagePartTypes.js\";\nexport type PendingAttachmentStatus = {\n type: \"running\";\n reason: \"uploading\";\n progress: number;\n} | {\n type: \"requires-action\";\n reason: \"composer-send\";\n} | {\n type: \"incomplete\";\n reason: \"error\" | \"upload-paused\";\n};\nexport type CompleteAttachmentStatus = {\n type: \"complete\";\n};\nexport type AttachmentStatus = PendingAttachmentStatus | CompleteAttachmentStatus;\ntype BaseAttachment = {\n id: string;\n type: \"image\" | \"document\" | \"file\";\n name: string;\n contentType: string;\n file?: File;\n content?: ThreadUserMessagePart[];\n};\nexport type PendingAttachment = BaseAttachment & {\n status: PendingAttachmentStatus;\n file: File;\n};\nexport type CompleteAttachment = BaseAttachment & {\n status: CompleteAttachmentStatus;\n content: ThreadUserMessagePart[];\n};\nexport type Attachment = PendingAttachment | CompleteAttachment;\nexport {};\n//# sourceMappingURL=AttachmentTypes.d.ts.map","import { Attachment, PendingAttachment, CompleteAttachment } from \"../../../../types/AttachmentTypes.js\";\n/**\n * Interface for handling file attachments in the assistant runtime.\n *\n * AttachmentAdapter provides methods for managing file attachments throughout\n * their lifecycle: adding, processing, removing, and sending attachments with messages.\n *\n * @example\n * ```tsx\n * const imageAdapter: AttachmentAdapter = {\n * accept: \"image/*\",\n *\n * async add({ file }) {\n * return {\n * id: generateId(),\n * type: \"image\",\n * name: file.name,\n * file,\n * status: { type: \"uploading\" }\n * };\n * },\n *\n * async remove(attachment) {\n * // Clean up resources\n * },\n *\n * async send(attachment) {\n * const url = await uploadFile(attachment.file);\n * return { ...attachment, url, status: { type: \"complete\" } };\n * }\n * };\n * ```\n */\nexport type AttachmentAdapter = {\n /**\n * MIME type pattern for accepted file types (e.g., \"image/*\", \"text/plain\").\n */\n accept: string;\n /**\n * Processes a file when it's added as an attachment.\n *\n * @param state - Object containing the file to process\n * @param state.file - The File object to be attached\n * @returns Promise or AsyncGenerator yielding PendingAttachment states\n */\n add(state: {\n file: File;\n }): Promise<PendingAttachment> | AsyncGenerator<PendingAttachment, void>;\n /**\n * Removes an attachment and cleans up associated resources.\n *\n * @param attachment - The attachment to remove\n * @returns Promise that resolves when removal is complete\n */\n remove(attachment: Attachment): Promise<void>;\n /**\n * Finalizes an attachment for sending with a message.\n *\n * @param attachment - The pending attachment to finalize\n * @returns Promise resolving to the complete attachment\n */\n send(attachment: PendingAttachment): Promise<CompleteAttachment>;\n};\n//# sourceMappingURL=AttachmentAdapter.d.ts.map","import { ThreadMessage } from \"../../../../types/AssistantTypes.js\";\n/**\n * Feedback data structure for rating messages.\n */\ntype FeedbackAdapterFeedback = {\n /** The message being rated */\n message: ThreadMessage;\n /** The type of feedback being provided */\n type: \"positive\" | \"negative\";\n};\n/**\n * Interface for handling user feedback on assistant messages.\n *\n * FeedbackAdapter allows users to provide positive or negative feedback\n * on assistant responses, which can be used for analytics, model improvement,\n * or user experience tracking.\n *\n * @example\n * ```tsx\n * const feedbackAdapter: FeedbackAdapter = {\n * submit: (feedback) => {\n * console.log(`User gave ${feedback.type} feedback on message:`, feedback.message.id);\n *\n * // Send to analytics service\n * analytics.track('message_feedback', {\n * messageId: feedback.message.id,\n * feedbackType: feedback.type,\n * messageContent: feedback.message.content\n * });\n * }\n * };\n * ```\n */\nexport type FeedbackAdapter = {\n /**\n * Submits user feedback for a message.\n *\n * @param feedback - The feedback data containing message and rating type\n */\n submit: (feedback: FeedbackAdapterFeedback) => void;\n};\nexport {};\n//# sourceMappingURL=FeedbackAdapter.d.ts.map","import { Unsubscribe } from \"../../../../types/index.js\";\n/**\n * Types and interfaces for speech synthesis (text-to-speech) functionality.\n */\nexport declare namespace SpeechSynthesisAdapter {\n /**\n * Status of a speech synthesis operation.\n */\n type Status = {\n /** Speech is starting or currently running */\n type: \"starting\" | \"running\";\n } | {\n /** Speech has ended */\n type: \"ended\";\n /** Reason why speech ended */\n reason: \"finished\" | \"cancelled\" | \"error\";\n /** Error details if speech ended due to error */\n error?: unknown;\n };\n /**\n * Represents a single speech utterance with control and status tracking.\n */\n type Utterance = {\n /** Current status of the utterance */\n status: Status;\n /** Cancel the current speech */\n cancel: () => void;\n /** Subscribe to status changes */\n subscribe: (callback: () => void) => Unsubscribe;\n };\n}\n/**\n * Interface for text-to-speech functionality.\n *\n * SpeechSynthesisAdapter provides the ability to convert text content\n * into spoken audio, with status tracking and cancellation support.\n *\n * @example\n * ```tsx\n * const speechAdapter: SpeechSynthesisAdapter = {\n * speak: (text) => {\n * const utterance = new SpeechSynthesisUtterance(text);\n * speechSynthesis.speak(utterance);\n *\n * return {\n * status: { type: \"starting\" },\n * cancel: () => speechSynthesis.cancel(),\n * subscribe: (callback) => {\n * utterance.addEventListener('end', callback);\n * return () => utterance.removeEventListener('end', callback);\n * }\n * };\n * }\n * };\n * ```\n */\nexport type SpeechSynthesisAdapter = {\n /**\n * Converts text to speech and returns an utterance object for control.\n *\n * @param text - The text content to speak\n * @returns An utterance object with status and control methods\n */\n speak: (text: string) => SpeechSynthesisAdapter.Utterance;\n};\nexport declare namespace DictationAdapter {\n type Status = {\n type: \"starting\" | \"running\";\n } | {\n type: \"ended\";\n reason: \"stopped\" | \"cancelled\" | \"error\";\n };\n type Result = {\n /** The transcribed text */\n transcript: string;\n /**\n * Whether this is a final (committed) result or an interim (partial) result.\n *\n * - `true` (final): The text should be appended to the composer input.\n * This text is finalized and won't change.\n *\n * - `false` (interim/partial): The text is a preview that may change.\n * It should be displayed as a preview but not appended to the input yet.\n * Subsequent interim results replace the previous interim result.\n *\n * Defaults to `true` for backwards compatibility with adapters that\n * don't set this flag.\n */\n isFinal?: boolean;\n };\n type Session = {\n status: Status;\n stop: () => Promise<void>;\n cancel: () => void;\n onSpeechStart: (callback: () => void) => Unsubscribe;\n onSpeechEnd: (callback: (result: Result) => void) => Unsubscribe;\n onSpeech: (callback: (result: Result) => void) => Unsubscribe;\n };\n}\nexport type DictationAdapter = {\n listen: () => DictationAdapter.Session;\n /**\n * Whether to disable text input while dictation is active.\n * Some adapters (like ElevenLabs Scribe) return cumulative transcripts\n * that conflict with simultaneous typing.\n * @default false\n */\n disableInputDuringDictation?: boolean;\n};\n//# sourceMappingURL=SpeechAdapterTypes.d.ts.map","import type { DictationAdapter } from \"./SpeechAdapterTypes.js\";\ninterface SpeechRecognitionInstance extends EventTarget {\n lang: string;\n continuous: boolean;\n interimResults: boolean;\n start(): void;\n stop(): void;\n abort(): void;\n}\ninterface SpeechRecognitionConstructor {\n new (): SpeechRecognitionInstance;\n}\ndeclare global {\n interface Window {\n SpeechRecognition?: SpeechRecognitionConstructor;\n webkitSpeechRecognition?: SpeechRecognitionConstructor;\n }\n}\n/**\n * WebSpeechDictationAdapter provides speech-to-text (dictation) functionality using\n * the browser's Web Speech API (SpeechRecognition).\n *\n * @example\n * ```tsx\n * const runtime = useChatRuntime({\n * api: \"/api/chat\",\n * adapters: {\n * dictation: new WebSpeechDictationAdapter(),\n * },\n * });\n * ```\n */\nexport declare class WebSpeechDictationAdapter implements DictationAdapter {\n private _language;\n private _continuous;\n private _interimResults;\n constructor(options?: {\n /**\n * The language for dictation (e.g., \"en-US\", \"zh-CN\").\n * Defaults to the browser's language.\n */\n language?: string;\n /**\n * Whether to keep recording after the user stops speaking.\n * Defaults to true.\n */\n continuous?: boolean;\n /**\n * Whether to return interim (partial) results.\n * Defaults to true for real-time feedback.\n */\n interimResults?: boolean;\n });\n /**\n * Check if the browser supports the Web Speech Recognition API.\n */\n static isSupported(): boolean;\n listen(): DictationAdapter.Session;\n}\nexport {};\n//# sourceMappingURL=WebSpeechDictationAdapter.d.ts.map","import { ToolCallMessagePartComponent, Unsubscribe } from \"../../types/index.js\";\nexport type ToolsState = {\n tools: Record<string, ToolCallMessagePartComponent[]>;\n};\nexport type ToolsApi = {\n getState(): ToolsState;\n setToolUI(toolName: string, render: ToolCallMessagePartComponent): Unsubscribe;\n};\nexport type ToolsMeta = {\n source: \"root\";\n query: Record<string, never>;\n};\n//# sourceMappingURL=Tools.d.ts.map","import type { FileMessagePart, MessageStatus, ReasoningMessagePart, RunConfig, SourceMessagePart, TextMessagePart, ThreadAssistantMessagePart, ThreadMessage, ThreadStep, ToolCallMessagePart } from \"../../../types/AssistantTypes.js\";\nimport type { ModelContext } from \"../../../model-context/ModelContextTypes.js\";\nimport { ReadonlyJSONValue } from \"assistant-stream/utils\";\nexport type ChatModelRunUpdate = {\n readonly content: readonly ThreadAssistantMessagePart[];\n readonly metadata?: Record<string, unknown>;\n};\nexport type ChatModelRunResult = {\n readonly content?: readonly ThreadAssistantMessagePart[] | undefined;\n readonly status?: MessageStatus | undefined;\n readonly metadata?: {\n readonly unstable_state?: ReadonlyJSONValue;\n readonly unstable_annotations?: readonly ReadonlyJSONValue[] | undefined;\n readonly unstable_data?: readonly ReadonlyJSONValue[] | undefined;\n readonly steps?: readonly ThreadStep[] | undefined;\n readonly custom?: Record<string, unknown> | undefined;\n };\n};\nexport type CoreChatModelRunResult = Omit<ChatModelRunResult, \"content\"> & {\n readonly content: readonly (TextMessagePart | ReasoningMessagePart | ToolCallMessagePart | SourceMessagePart | FileMessagePart)[];\n};\nexport type ChatModelRunOptions = {\n readonly messages: readonly ThreadMessage[];\n readonly runConfig: RunConfig;\n readonly abortSignal: AbortSignal;\n readonly context: ModelContext;\n /**\n * @deprecated This field was renamed to `context`.\n */\n readonly config: ModelContext;\n readonly unstable_assistantMessageId?: string | undefined;\n readonly unstable_threadId?: string | undefined;\n readonly unstable_parentId?: string | null | undefined;\n unstable_getMessage(): ThreadMessage;\n};\nexport type ChatModelAdapter = {\n run(options: ChatModelRunOptions): Promise<ChatModelRunResult> | AsyncGenerator<ChatModelRunResult, void>;\n};\n//# sourceMappingURL=ChatModelAdapter.d.ts.map","import { MessageStatus, TextMessagePart, ImageMessagePart, ThreadMessage, CompleteAttachment, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart } from \"../../../types/index.js\";\nimport { ReasoningMessagePart, SourceMessagePart, ThreadStep } from \"../../../types/AssistantTypes.js\";\nimport { ReadonlyJSONObject, ReadonlyJSONValue } from \"assistant-stream/utils\";\nexport type ThreadMessageLike = {\n readonly role: \"assistant\" | \"user\" | \"system\";\n readonly content: string | readonly (TextMessagePart | ReasoningMessagePart | SourceMessagePart | ImageMessagePart | FileMessagePart | DataMessagePart | Unstable_AudioMessagePart | {\n readonly type: \"tool-call\";\n readonly toolCallId?: string;\n readonly toolName: string;\n readonly args?: ReadonlyJSONObject;\n readonly argsText?: string;\n readonly artifact?: any;\n readonly result?: any | undefined;\n readonly isError?: boolean | undefined;\n readonly parentId?: string | undefined;\n readonly messages?: readonly ThreadMessage[] | undefined;\n })[];\n readonly id?: string | undefined;\n readonly createdAt?: Date | undefined;\n readonly status?: MessageStatus | undefined;\n readonly attachments?: readonly CompleteAttachment[] | undefined;\n readonly metadata?: {\n readonly unstable_state?: ReadonlyJSONValue;\n readonly unstable_annotations?: readonly ReadonlyJSONValue[] | undefined;\n readonly unstable_data?: readonly ReadonlyJSONValue[] | undefined;\n readonly steps?: readonly ThreadStep[] | undefined;\n readonly submittedFeedback?: {\n readonly type: \"positive\" | \"negative\";\n };\n readonly custom?: Record<string, unknown> | undefined;\n } | undefined;\n};\nexport declare const fromThreadMessageLike: (like: ThreadMessageLike, fallbackId: string, fallbackStatus: MessageStatus) => ThreadMessage;\n//# sourceMappingURL=ThreadMessageLike.d.ts.map","import type { AppendMessage, ThreadMessage } from \"../../../types/index.js\";\nimport type { AttachmentAdapter } from \"../adapters/attachment/index.js\";\nimport type { AddToolResultOptions, ResumeRunConfig, StartRunConfig, ThreadSuggestion } from \"../core/ThreadRuntimeCore.js\";\nimport type { FeedbackAdapter } from \"../adapters/feedback/FeedbackAdapter.js\";\nimport type { SpeechSynthesisAdapter, DictationAdapter } from \"../adapters/speech/SpeechAdapterTypes.js\";\nimport type { ThreadMessageLike } from \"./ThreadMessageLike.js\";\nimport type { ExportedMessageRepository } from \"../utils/MessageRepository.js\";\nimport type { ReadonlyJSONValue } from \"assistant-stream/utils\";\nexport type ExternalStoreThreadData<TState extends \"regular\" | \"archived\"> = {\n status: TState;\n id: string;\n remoteId?: string | undefined;\n externalId?: string | undefined;\n title?: string | undefined;\n};\nexport type ExternalStoreThreadListAdapter = {\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n threadId?: string | undefined;\n isLoading?: boolean | undefined;\n threads?: readonly ExternalStoreThreadData<\"regular\">[] | undefined;\n archivedThreads?: readonly ExternalStoreThreadData<\"archived\">[] | undefined;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n onSwitchToNewThread?: (() => Promise<void> | void) | undefined;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n onSwitchToThread?: ((threadId: string) => Promise<void> | void) | undefined;\n onRename?: (threadId: string, newTitle: string) => (Promise<void> | void) | undefined;\n onArchive?: ((threadId: string) => Promise<void> | void) | undefined;\n onUnarchive?: ((threadId: string) => Promise<void> | void) | undefined;\n onDelete?: ((threadId: string) => Promise<void> | void) | undefined;\n};\nexport type ExternalStoreMessageConverter<T> = (message: T, idx: number) => ThreadMessageLike;\ntype ExternalStoreMessageConverterAdapter<T> = {\n convertMessage: ExternalStoreMessageConverter<T>;\n};\ntype ExternalStoreAdapterBase<T> = {\n isDisabled?: boolean | undefined;\n isRunning?: boolean | undefined;\n isLoading?: boolean | undefined;\n messages?: readonly T[];\n messageRepository?: ExportedMessageRepository;\n suggestions?: readonly ThreadSuggestion[] | undefined;\n state?: ReadonlyJSONValue | undefined;\n extras?: unknown;\n setMessages?: ((messages: readonly T[]) => void) | undefined;\n onImport?: ((messages: readonly ThreadMessage[]) => void) | undefined;\n onLoadExternalState?: ((state: any) => void) | undefined;\n onNew: (message: AppendMessage) => Promise<void>;\n onEdit?: ((message: AppendMessage) => Promise<void>) | undefined;\n onReload?: ((parentId: string | null, config: StartRunConfig) => Promise<void>) | undefined;\n onResume?: ((config: ResumeRunConfig) => Promise<void>) | undefined;\n onCancel?: (() => Promise<void>) | undefined;\n onAddToolResult?: ((options: AddToolResultOptions) => Promise<void> | void) | undefined;\n onResumeToolCall?: ((options: {\n toolCallId: string;\n payload: unknown;\n }) => void) | undefined;\n convertMessage?: ExternalStoreMessageConverter<T> | undefined;\n adapters?: {\n attachments?: AttachmentAdapter | undefined;\n speech?: SpeechSynthesisAdapter | undefined;\n dictation?: DictationAdapter | undefined;\n feedback?: FeedbackAdapter | undefined;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n threadList?: ExternalStoreThreadListAdapter | undefined;\n } | undefined;\n unstable_capabilities?: {\n copy?: boolean | undefined;\n } | undefined;\n};\nexport type ExternalStoreAdapter<T = ThreadMessage> = ExternalStoreAdapterBase<T> & (T extends ThreadMessage ? object : ExternalStoreMessageConverterAdapter<T>);\nexport {};\n//# sourceMappingURL=ExternalStoreAdapter.d.ts.map","import { ExternalStoreAdapter } from \"./ExternalStoreAdapter.js\";\nimport { AssistantRuntime } from \"../../runtime/AssistantRuntime.js\";\nexport declare const useExternalStoreRuntime: <T>(store: ExternalStoreAdapter<T>) => AssistantRuntime;\n//# sourceMappingURL=useExternalStoreRuntime.d.ts.map","import type { ThreadMessage } from \"../../../types/index.js\";\nimport { RunConfig } from \"../../../types/AssistantTypes.js\";\nimport { ThreadMessageLike } from \"../external-store/index.js\";\n/**\n * Represents a message item that can be exported from the repository.\n */\nexport type ExportedMessageRepositoryItem = {\n /** The message data */\n message: ThreadMessage;\n /** ID of the parent message, or null for root messages */\n parentId: string | null;\n /** The run configuration for the message */\n runConfig?: RunConfig;\n};\n/**\n * Represents the entire repository state for export/import.\n */\nexport type ExportedMessageRepository = {\n /** ID of the head message, or null/undefined if no head */\n headId?: string | null;\n /** Array of all messages with their parent references */\n messages: Array<{\n message: ThreadMessage;\n parentId: string | null;\n runConfig?: RunConfig;\n }>;\n};\n/**\n * Utility functions for working with exported message repositories.\n */\nexport declare const ExportedMessageRepository: {\n /**\n * Converts an array of messages to an ExportedMessageRepository format.\n * Creates parent-child relationships based on the order of messages in the array.\n *\n * @param messages - Array of message-like objects to convert\n * @returns ExportedMessageRepository with parent-child relationships established\n */\n fromArray: (messages: readonly ThreadMessageLike[]) => ExportedMessageRepository;\n};\n/**\n * A repository that manages a tree of messages with branching capabilities.\n * Supports operations like adding, updating, and deleting messages, as well as\n * managing multiple conversation branches.\n */\nexport declare class MessageRepository {\n /** Map of message IDs to repository message objects */\n private messages;\n /** Reference to the current head (most recent) message in the active branch */\n private head;\n /** Root node of the tree structure */\n private root;\n /**\n * Recursively updates the level of a message and all its descendants.\n *\n * @param message - The message to update\n * @param newLevel - The new level for the message\n */\n private updateLevels;\n /**\n * Performs link/unlink operations between messages in the tree.\n *\n * @param newParent - The new parent message, or null\n * @param child - The child message to operate on\n * @param operation - The type of operation to perform:\n * - \"cut\": Remove the child from its current parent\n * - \"link\": Add the child to a new parent\n * - \"relink\": Both cut and link operations\n */\n private performOp;\n /** Cached array of messages in the current active branch, from root to head */\n private _messages;\n /**\n * Gets the ID of the current head message.\n * @returns The ID of the head message, or null if no messages exist\n */\n get headId(): string | null;\n /**\n * Gets all messages in the current active branch, from root to head.\n * @param headId - Optional ID of the head message to get messages for. If not provided, uses the current head.\n * @returns Array of messages in the specified branch\n */\n getMessages(headId?: string): readonly ThreadMessage[];\n /**\n * Adds a new message or updates an existing one in the repository.\n * If the message ID already exists, the message is updated and potentially relinked to a new parent.\n * If the message is new, it's added as a child of the specified parent.\n *\n * @param parentId - ID of the parent message, or null for root messages\n * @param message - The message to add or update\n * @throws Error if the parent message is not found\n */\n addOrUpdateMessage(parentId: string | null, message: ThreadMessage): void;\n /**\n * Gets a message and its parent ID by message ID.\n *\n * @param messageId - ID of the message to retrieve\n * @returns Object containing the message and its parent ID\n * @throws Error if the message is not found\n */\n getMessage(messageId: string): {\n parentId: string | null;\n message: ThreadMessage;\n index: number;\n };\n /**\n * Adds an optimistic message to the repository.\n * An optimistic message is a temporary placeholder that will be replaced by a real message later.\n *\n * @param parentId - ID of the parent message, or null for root messages\n * @param message - The core message to convert to an optimistic message\n * @returns The generated optimistic ID\n */\n appendOptimisticMessage(parentId: string | null, message: ThreadMessageLike): string;\n /**\n * Deletes a message from the repository and relinks its children.\n *\n * @param messageId - ID of the message to delete\n * @param replacementId - Optional ID of the message to become the new parent of the children,\n * undefined means use the deleted message's parent,\n * null means use the root\n * @throws Error if the message or replacement is not found\n */\n deleteMessage(messageId: string, replacementId?: string | null | undefined): void;\n /**\n * Gets all branch IDs (sibling messages) at the level of a specified message.\n *\n * @param messageId - ID of the message to find branches for\n * @returns Array of message IDs representing branches\n * @throws Error if the message is not found\n */\n getBranches(messageId: string): string[];\n /**\n * Switches the active branch to the one containing the specified message.\n *\n * @param messageId - ID of the message in the branch to switch to\n * @throws Error if the branch is not found\n */\n switchToBranch(messageId: string): void;\n /**\n * Resets the head to a specific message or null.\n *\n * @param messageId - ID of the message to set as head, or null to clear the head\n * @throws Error if the message is not found\n */\n resetHead(messageId: string | null): void;\n /**\n * Clears all messages from the repository.\n */\n clear(): void;\n /**\n * Exports the repository state for persistence.\n *\n * @returns Exportable repository state\n */\n export(): ExportedMessageRepository;\n /**\n * Imports repository state from an exported repository.\n *\n * @param repository - The exported repository state to import\n */\n import({ headId, messages }: ExportedMessageRepository): void;\n}\n//# sourceMappingURL=MessageRepository.d.ts.map","import type { Attachment, PendingAttachment, Unsubscribe } from \"../../../types/index.js\";\nimport type { MessageRole, RunConfig } from \"../../../types/AssistantTypes.js\";\nimport type { DictationAdapter } from \"../adapters/speech/SpeechAdapterTypes.js\";\nexport type ComposerRuntimeEventType = \"send\" | \"attachment-add\";\n/**\n * State representing an active dictation session.\n */\nexport type DictationState = {\n readonly status: DictationAdapter.Status;\n /**\n * The current interim (partial) transcript being recognized.\n * This is a preview of what the user is saying and may change\n * as dictation refines its prediction.\n *\n * Note: By default, interim transcripts are shown directly in the composer\n * input field (like native dictation). This property is provided for\n * advanced customization when you want to display or style the interim\n * transcript separately.\n */\n readonly transcript?: string;\n /** Whether text input is disabled during this dictation session. */\n readonly inputDisabled?: boolean;\n};\nexport type ComposerRuntimeCore = Readonly<{\n isEditing: boolean;\n canCancel: boolean;\n isEmpty: boolean;\n attachments: readonly Attachment[];\n attachmentAccept: string;\n addAttachment: (file: File) => Promise<void>;\n removeAttachment: (attachmentId: string) => Promise<void>;\n text: string;\n setText: (value: string) => void;\n role: MessageRole;\n setRole: (role: MessageRole) => void;\n runConfig: RunConfig;\n setRunConfig: (runConfig: RunConfig) => void;\n reset: () => Promise<void>;\n clearAttachments: () => Promise<void>;\n send: () => void;\n cancel: () => void;\n /**\n * The current state of dictation.\n * Undefined when dictation is not active.\n */\n dictation: DictationState | undefined;\n /**\n * Start dictation to convert voice to text input.\n * Requires a DictationAdapter to be configured.\n */\n startDictation: () => void;\n /**\n * Stop the current dictation session.\n */\n stopDictation: () => void;\n subscribe: (callback: () => void) => Unsubscribe;\n unstable_on: (event: ComposerRuntimeEventType, callback: () => void) => Unsubscribe;\n}>;\nexport type ThreadComposerRuntimeCore = ComposerRuntimeCore & Readonly<{\n attachments: readonly PendingAttachment[];\n}>;\n//# sourceMappingURL=ComposerRuntimeCore.d.ts.map","import type { ReadonlyJSONValue } from \"assistant-stream/utils\";\nimport { ModelContext } from \"../../../model-context/index.js\";\nimport { AppendMessage, ThreadMessage } from \"../../../types/index.js\";\nimport { RunConfig } from \"../../../types/AssistantTypes.js\";\nimport type { Unsubscribe } from \"../../../types/Unsubscribe.js\";\nimport { SpeechSynthesisAdapter } from \"../adapters/speech/SpeechAdapterTypes.js\";\nimport { ChatModelRunOptions, ChatModelRunResult } from \"../local/index.js\";\nimport { ExportedMessageRepository } from \"../utils/MessageRepository.js\";\nimport { ThreadMessageLike } from \"../external-store/index.js\";\nimport { ComposerRuntimeCore, ThreadComposerRuntimeCore } from \"./ComposerRuntimeCore.js\";\nexport type RuntimeCapabilities = {\n readonly switchToBranch: boolean;\n readonly switchBranchDuringRun: boolean;\n readonly edit: boolean;\n readonly reload: boolean;\n readonly cancel: boolean;\n readonly unstable_copy: boolean;\n readonly speech: boolean;\n readonly dictation: boolean;\n readonly attachments: boolean;\n readonly feedback: boolean;\n};\nexport type AddToolResultOptions = {\n messageId: string;\n toolName: string;\n toolCallId: string;\n result: ReadonlyJSONValue;\n isError: boolean;\n artifact?: ReadonlyJSONValue | undefined;\n};\nexport type ResumeToolCallOptions = {\n toolCallId: string;\n payload: unknown;\n};\nexport type SubmitFeedbackOptions = {\n messageId: string;\n type: \"negative\" | \"positive\";\n};\nexport type ThreadSuggestion = {\n prompt: string;\n};\nexport type SpeechState = {\n readonly messageId: string;\n readonly status: SpeechSynthesisAdapter.Status;\n};\nexport type SubmittedFeedback = {\n readonly type: \"negative\" | \"positive\";\n};\nexport type ThreadRuntimeEventType = \"run-start\" | \"run-end\" | \"initialize\" | \"model-context-update\";\nexport type StartRunConfig = {\n parentId: string | null;\n sourceId: string | null;\n runConfig: RunConfig;\n};\nexport type ResumeRunConfig = StartRunConfig & {\n stream?: (options: ChatModelRunOptions) => AsyncGenerator<ChatModelRunResult, void, unknown>;\n};\nexport type ThreadRuntimeCore = Readonly<{\n getMessageById: (messageId: string) => {\n parentId: string | null;\n message: ThreadMessage;\n index: number;\n } | undefined;\n getBranches: (messageId: string) => readonly string[];\n switchToBranch: (branchId: string) => void;\n append: (message: AppendMessage) => void;\n startRun: (config: StartRunConfig) => void;\n resumeRun: (config: ResumeRunConfig) => void;\n cancelRun: () => void;\n addToolResult: (options: AddToolResultOptions) => void;\n resumeToolCall: (options: ResumeToolCallOptions) => void;\n speak: (messageId: string) => void;\n stopSpeaking: () => void;\n submitFeedback: (feedback: SubmitFeedbackOptions) => void;\n getModelContext: () => ModelContext;\n composer: ThreadComposerRuntimeCore;\n getEditComposer: (messageId: string) => ComposerRuntimeCore | undefined;\n beginEdit: (messageId: string) => void;\n speech: SpeechState | undefined;\n capabilities: Readonly<RuntimeCapabilities>;\n isDisabled: boolean;\n isLoading: boolean;\n messages: readonly ThreadMessage[];\n state: ReadonlyJSONValue;\n suggestions: readonly ThreadSuggestion[];\n extras: unknown;\n subscribe: (callback: () => void) => Unsubscribe;\n import(repository: ExportedMessageRepository): void;\n export(): ExportedMessageRepository;\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n unstable_on(event: ThreadRuntimeEventType, callback: () => void): Unsubscribe;\n unstable_loadExternalState: (state: any) => void;\n}>;\n//# sourceMappingURL=ThreadRuntimeCore.d.ts.map","export type ThreadListItemRuntimePath = {\n readonly ref: string;\n readonly threadSelector: {\n readonly type: \"main\";\n } | {\n readonly type: \"index\";\n readonly index: number;\n } | {\n readonly type: \"archiveIndex\";\n readonly index: number;\n } | {\n readonly type: \"threadId\";\n readonly threadId: string;\n };\n};\nexport type ThreadRuntimePath = {\n readonly ref: string;\n readonly threadSelector: {\n readonly type: \"main\";\n } | {\n readonly type: \"threadId\";\n readonly threadId: string;\n };\n};\nexport type MessageRuntimePath = ThreadRuntimePath & {\n readonly messageSelector: {\n readonly type: \"messageId\";\n readonly messageId: string;\n } | {\n readonly type: \"index\";\n readonly index: number;\n };\n};\nexport type MessagePartRuntimePath = MessageRuntimePath & {\n readonly messagePartSelector: {\n readonly type: \"index\";\n readonly index: number;\n } | {\n readonly type: \"toolCallId\";\n readonly toolCallId: string;\n };\n};\nexport type AttachmentRuntimePath = ((MessageRuntimePath & {\n readonly attachmentSource: \"message\" | \"edit-composer\";\n}) | (ThreadRuntimePath & {\n readonly attachmentSource: \"thread-composer\";\n})) & {\n readonly attachmentSelector: {\n readonly type: \"index\";\n readonly index: number;\n } | {\n readonly type: \"index\";\n readonly index: number;\n } | {\n readonly type: \"index\";\n readonly index: number;\n };\n};\nexport type ComposerRuntimePath = (ThreadRuntimePath & {\n readonly composerSource: \"thread\";\n}) | (MessageRuntimePath & {\n readonly composerSource: \"edit\";\n});\n//# sourceMappingURL=RuntimePathTypes.d.ts.map","import type { ComposerRuntimeCore, ThreadComposerRuntimeCore } from \"../runtime-cores/core/ComposerRuntimeCore.js\";\nimport type { ThreadRuntimeCore } from \"../runtime-cores/core/ThreadRuntimeCore.js\";\nimport type { ThreadListRuntimeCore } from \"../runtime-cores/core/ThreadListRuntimeCore.js\";\nimport type { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport type { ThreadMessage } from \"../../types/index.js\";\nimport type { SpeechState, SubmittedFeedback } from \"../runtime-cores/core/ThreadRuntimeCore.js\";\nimport type { ComposerRuntimePath, ThreadRuntimePath, ThreadListItemRuntimePath, MessageRuntimePath } from \"./RuntimePathTypes.js\";\nexport type ComposerRuntimeCoreBinding = SubscribableWithState<ComposerRuntimeCore | undefined, ComposerRuntimePath>;\nexport type ThreadComposerRuntimeCoreBinding = SubscribableWithState<ThreadComposerRuntimeCore | undefined, ComposerRuntimePath & {\n composerSource: \"thread\";\n}>;\nexport type EditComposerRuntimeCoreBinding = SubscribableWithState<ComposerRuntimeCore | undefined, ComposerRuntimePath & {\n composerSource: \"edit\";\n}>;\nexport type ThreadRuntimeCoreBinding = SubscribableWithState<ThreadRuntimeCore, ThreadRuntimePath>;\nexport type ThreadListRuntimeCoreBinding = SubscribableWithState<ThreadListRuntimeCore, ThreadListItemRuntimePath>;\nexport type MessageStateBinding = SubscribableWithState<ThreadMessage & {\n readonly parentId: string | null;\n /** The position of this message in the thread (0 for first message) */\n readonly index: number;\n readonly isLast: boolean;\n readonly branchNumber: number;\n readonly branchCount: number;\n readonly speech: SpeechState | undefined;\n /** @deprecated Use `message.metadata.submittedFeedback` instead. This will be removed in 0.12.0. */\n readonly submittedFeedback: SubmittedFeedback | undefined;\n}, MessageRuntimePath>;\nexport type ThreadListItemStatus = \"archived\" | \"regular\" | \"new\" | \"deleted\";\nexport type ThreadListItemState = {\n readonly isMain: boolean;\n readonly id: string;\n readonly remoteId: string | undefined;\n readonly externalId: string | undefined;\n /**\n * @deprecated Use `id` instead. This field will be removed in version 0.12.0.\n */\n readonly threadId: string;\n readonly status: ThreadListItemStatus;\n readonly title?: string | undefined;\n};\n//# sourceMappingURL=RuntimeBindings.d.ts.map","import { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport type { ComposerRuntimeCoreBinding } from \"./RuntimeBindings.js\";\nimport { Attachment, CompleteAttachment, PendingAttachment, Unsubscribe } from \"../../types/index.js\";\nimport { AttachmentRuntimePath } from \"./RuntimePathTypes.js\";\ntype MessageAttachmentState = CompleteAttachment & {\n readonly source: \"message\";\n};\ntype ThreadComposerAttachmentState = PendingAttachment & {\n readonly source: \"thread-composer\";\n};\ntype EditComposerAttachmentState = Attachment & {\n readonly source: \"edit-composer\";\n};\nexport type AttachmentState = ThreadComposerAttachmentState | EditComposerAttachmentState | MessageAttachmentState;\ntype AttachmentSnapshotBinding<Source extends AttachmentRuntimeSource> = SubscribableWithState<AttachmentState & {\n source: Source;\n}, AttachmentRuntimePath & {\n attachmentSource: Source;\n}>;\ntype AttachmentRuntimeSource = AttachmentState[\"source\"];\nexport type AttachmentRuntime<TSource extends AttachmentRuntimeSource = AttachmentRuntimeSource> = {\n readonly path: AttachmentRuntimePath & {\n attachmentSource: TSource;\n };\n readonly source: TSource;\n getState(): AttachmentState & {\n source: TSource;\n };\n remove(): Promise<void>;\n subscribe(callback: () => void): Unsubscribe;\n};\nexport declare abstract class AttachmentRuntimeImpl<Source extends AttachmentRuntimeSource = AttachmentRuntimeSource> implements AttachmentRuntime {\n private _core;\n get path(): AttachmentRuntimePath & {\n attachmentSource: Source;\n };\n abstract get source(): Source;\n constructor(_core: AttachmentSnapshotBinding<Source>);\n protected __internal_bindMethods(): void;\n getState(): AttachmentState & {\n source: Source;\n };\n abstract remove(): Promise<void>;\n subscribe(callback: () => void): Unsubscribe;\n}\ndeclare abstract class ComposerAttachmentRuntime<Source extends \"thread-composer\" | \"edit-composer\"> extends AttachmentRuntimeImpl<Source> {\n private _composerApi;\n constructor(core: AttachmentSnapshotBinding<Source>, _composerApi: ComposerRuntimeCoreBinding);\n remove(): Promise<void>;\n}\nexport declare class ThreadComposerAttachmentRuntimeImpl extends ComposerAttachmentRuntime<\"thread-composer\"> {\n get source(): \"thread-composer\";\n}\nexport declare class EditComposerAttachmentRuntimeImpl extends ComposerAttachmentRuntime<\"edit-composer\"> {\n get source(): \"edit-composer\";\n}\nexport declare class MessageAttachmentRuntimeImpl extends AttachmentRuntimeImpl<\"message\"> {\n get source(): \"message\";\n constructor(core: AttachmentSnapshotBinding<\"message\">);\n remove(): never;\n}\nexport {};\n//# sourceMappingURL=AttachmentRuntime.d.ts.map","import type { Attachment, PendingAttachment } from \"../../types/AttachmentTypes.js\";\nimport type { ComposerRuntimeEventType, DictationState } from \"../runtime-cores/core/ComposerRuntimeCore.js\";\nimport type { Unsubscribe } from \"../../types/index.js\";\nimport type { MessageRole, RunConfig } from \"../../types/AssistantTypes.js\";\nimport type { ThreadComposerRuntimeCoreBinding, EditComposerRuntimeCoreBinding, ComposerRuntimeCoreBinding } from \"./RuntimeBindings.js\";\nimport type { ComposerRuntimePath } from \"./RuntimePathTypes.js\";\nimport { type AttachmentRuntime, EditComposerAttachmentRuntimeImpl, ThreadComposerAttachmentRuntimeImpl } from \"./AttachmentRuntime.js\";\nexport type { ThreadComposerRuntimeCoreBinding, EditComposerRuntimeCoreBinding, ComposerRuntimeCoreBinding, };\ntype BaseComposerState = {\n readonly canCancel: boolean;\n readonly isEditing: boolean;\n readonly isEmpty: boolean;\n readonly text: string;\n readonly role: MessageRole;\n readonly attachments: readonly Attachment[];\n readonly runConfig: RunConfig;\n readonly attachmentAccept: string;\n /**\n * The current state of dictation.\n * Undefined when dictation is not active.\n */\n readonly dictation: DictationState | undefined;\n};\nexport type ThreadComposerState = BaseComposerState & {\n readonly type: \"thread\";\n readonly attachments: readonly PendingAttachment[];\n};\nexport type EditComposerState = BaseComposerState & {\n readonly type: \"edit\";\n};\nexport type ComposerState = ThreadComposerState | EditComposerState;\nexport type ComposerRuntime = {\n readonly path: ComposerRuntimePath;\n readonly type: \"edit\" | \"thread\";\n /**\n * Get the current state of the composer. Includes any data that has been added to the composer.\n */\n getState(): ComposerState;\n /**\n * Given a standard js File object, add it to the composer. A composer can have multiple attachments.\n * @param file The file to add to the composer.\n */\n addAttachment(file: File): Promise<void>;\n /**\n * Set the text of the composer.\n * @param text The text to set in the composer.\n */\n setText(text: string): void;\n /**\n * Set the role of the composer. For instance, if you'd like a specific message to have the 'assistant' role, you can do so here.\n * @param role The role to set in the composer.\n */\n setRole(role: MessageRole): void;\n /**\n * Set the run config of the composer. This is used to send custom configuration data to the model.\n * Within your backend, you can access this data using the `runConfig` object.\n * Example:\n * ```ts\n * composerRuntime.setRunConfig({\n * custom: { customField: \"customValue\" }\n * });\n * ```\n * @param runConfig The run config to set in the composer.\n */\n setRunConfig(runConfig: RunConfig): void;\n /**\n * Reset the composer. This will clear the entire state of the composer, including all text and attachments.\n */\n reset(): Promise<void>;\n /**\n * Clear all attachments from the composer.\n */\n clearAttachments(): Promise<void>;\n /**\n * Send a message. This will send whatever text or attachments are in the composer.\n */\n send(): void;\n /**\n * Cancel the current run. In edit mode, this will exit edit mode.\n */\n cancel(): void;\n /**\n * Listens for changes to the composer state.\n * @param callback The callback to call when the composer state changes.\n */\n subscribe(callback: () => void): Unsubscribe;\n /**\n * Get an attachment by index.\n * @param idx The index of the attachment to get.\n */\n getAttachmentByIndex(idx: number): AttachmentRuntime;\n /**\n * Start dictation to convert voice to text input.\n * Requires a DictationAdapter to be configured.\n */\n startDictation(): void;\n /**\n * Stop the current dictation session.\n */\n stopDictation(): void;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n unstable_on(event: ComposerRuntimeEventType, callback: () => void): Unsubscribe;\n};\nexport declare abstract class ComposerRuntimeImpl implements ComposerRuntime {\n protected _core: ComposerRuntimeCoreBinding;\n get path(): ComposerRuntimePath;\n abstract get type(): \"edit\" | \"thread\";\n constructor(_core: ComposerRuntimeCoreBinding);\n protected __internal_bindMethods(): void;\n abstract getState(): ComposerState;\n setText(text: string): void;\n setRunConfig(runConfig: RunConfig): void;\n addAttachment(file: File): Promise<void>;\n reset(): Promise<void>;\n clearAttachments(): Promise<void>;\n send(): void;\n cancel(): void;\n setRole(role: MessageRole): void;\n startDictation(): void;\n stopDictation(): void;\n subscribe(callback: () => void): Unsubscribe;\n private _eventSubscriptionSubjects;\n unstable_on(event: ComposerRuntimeEventType, callback: () => void): Unsubscribe;\n abstract getAttachmentByIndex(idx: number): AttachmentRuntime;\n}\nexport type ThreadComposerRuntime = Omit<ComposerRuntime, \"getState\" | \"getAttachmentByIndex\"> & {\n readonly path: ComposerRuntimePath & {\n composerSource: \"thread\";\n };\n readonly type: \"thread\";\n getState(): ThreadComposerState;\n getAttachmentByIndex(idx: number): AttachmentRuntime & {\n source: \"thread-composer\";\n };\n};\nexport declare class ThreadComposerRuntimeImpl extends ComposerRuntimeImpl implements ThreadComposerRuntime {\n get path(): ComposerRuntimePath & {\n composerSource: \"thread\";\n };\n get type(): \"thread\";\n private _getState;\n constructor(core: ThreadComposerRuntimeCoreBinding);\n getState(): ThreadComposerState;\n getAttachmentByIndex(idx: number): ThreadComposerAttachmentRuntimeImpl;\n}\nexport type EditComposerRuntime = Omit<ComposerRuntime, \"getState\" | \"getAttachmentByIndex\"> & {\n readonly path: ComposerRuntimePath & {\n composerSource: \"edit\";\n };\n readonly type: \"edit\";\n getState(): EditComposerState;\n beginEdit(): void;\n getAttachmentByIndex(idx: number): AttachmentRuntime & {\n source: \"edit-composer\";\n };\n};\nexport declare class EditComposerRuntimeImpl extends ComposerRuntimeImpl implements EditComposerRuntime {\n private _beginEdit;\n get path(): ComposerRuntimePath & {\n composerSource: \"edit\";\n };\n get type(): \"edit\";\n private _getState;\n constructor(core: EditComposerRuntimeCoreBinding, _beginEdit: () => void);\n __internal_bindMethods(): void;\n getState(): EditComposerState;\n beginEdit(): void;\n getAttachmentByIndex(idx: number): EditComposerAttachmentRuntimeImpl;\n}\n//# sourceMappingURL=ComposerRuntime.d.ts.map","import { SpeechState, SubmittedFeedback } from \"../runtime-cores/core/ThreadRuntimeCore.js\";\nimport { ThreadMessage, ThreadAssistantMessagePart, ThreadUserMessagePart, Unsubscribe } from \"../../types/index.js\";\nimport { RunConfig, ToolCallMessagePartStatus } from \"../../types/AssistantTypes.js\";\nimport { AttachmentRuntime, MessageAttachmentRuntimeImpl } from \"./AttachmentRuntime.js\";\nimport { EditComposerRuntime, EditComposerRuntimeImpl } from \"./ComposerRuntime.js\";\nimport { MessagePartRuntime, MessagePartRuntimeImpl } from \"./MessagePartRuntime.js\";\nimport { MessageRuntimePath } from \"./RuntimePathTypes.js\";\nimport { ThreadRuntimeCoreBinding } from \"./ThreadRuntime.js\";\nimport type { MessageStateBinding } from \"./RuntimeBindings.js\";\nexport declare const toMessagePartStatus: (message: ThreadMessage, partIndex: number, part: ThreadUserMessagePart | ThreadAssistantMessagePart) => ToolCallMessagePartStatus;\nexport type MessageState = ThreadMessage & {\n readonly parentId: string | null;\n /** The position of this message in the thread (0 for first message) */\n readonly index: number;\n readonly isLast: boolean;\n readonly branchNumber: number;\n readonly branchCount: number;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n readonly speech: SpeechState | undefined;\n /**\n * @deprecated Use `message.metadata.submittedFeedback` instead. This will be removed in 0.12.0.\n */\n readonly submittedFeedback: SubmittedFeedback | undefined;\n};\nexport type { MessageStateBinding } from \"./RuntimeBindings.js\";\ntype ReloadConfig = {\n runConfig?: RunConfig;\n};\nexport type MessageRuntime = {\n readonly path: MessageRuntimePath;\n readonly composer: EditComposerRuntime;\n getState(): MessageState;\n reload(config?: ReloadConfig): void;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n speak(): void;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n stopSpeaking(): void;\n submitFeedback({ type }: {\n type: \"positive\" | \"negative\";\n }): void;\n switchToBranch({ position, branchId, }: {\n position?: \"previous\" | \"next\" | undefined;\n branchId?: string | undefined;\n }): void;\n unstable_getCopyText(): string;\n subscribe(callback: () => void): Unsubscribe;\n getMessagePartByIndex(idx: number): MessagePartRuntime;\n getMessagePartByToolCallId(toolCallId: string): MessagePartRuntime;\n getAttachmentByIndex(idx: number): AttachmentRuntime & {\n source: \"message\";\n };\n};\nexport declare class MessageRuntimeImpl implements MessageRuntime {\n private _core;\n private _threadBinding;\n get path(): MessageRuntimePath;\n constructor(_core: MessageStateBinding, _threadBinding: ThreadRuntimeCoreBinding);\n protected __internal_bindMethods(): void;\n readonly composer: EditComposerRuntimeImpl;\n private _getEditComposerRuntimeCore;\n getState(): ThreadMessage & {\n readonly parentId: string | null;\n readonly index: number;\n readonly isLast: boolean;\n readonly branchNumber: number;\n readonly branchCount: number;\n readonly speech: SpeechState | undefined;\n readonly submittedFeedback: SubmittedFeedback | undefined;\n };\n reload(reloadConfig?: ReloadConfig): void;\n speak(): void;\n stopSpeaking(): void;\n submitFeedback({ type }: {\n type: \"positive\" | \"negative\";\n }): void;\n switchToBranch({ position, branchId, }: {\n position?: \"previous\" | \"next\" | undefined;\n branchId?: string | undefined;\n }): void;\n unstable_getCopyText(): string;\n subscribe(callback: () => void): Unsubscribe;\n getMessagePartByIndex(idx: number): MessagePartRuntimeImpl;\n getMessagePartByToolCallId(toolCallId: string): MessagePartRuntimeImpl;\n getAttachmentByIndex(idx: number): MessageAttachmentRuntimeImpl;\n}\n//# sourceMappingURL=MessageRuntime.d.ts.map","import { ThreadSuggestion, RuntimeCapabilities, ThreadRuntimeCore, SpeechState, ThreadRuntimeEventType, StartRunConfig, ResumeRunConfig } from \"../runtime-cores/core/ThreadRuntimeCore.js\";\nimport { ExportedMessageRepository } from \"../runtime-cores/utils/MessageRepository.js\";\nimport { AppendMessage, ThreadMessage, Unsubscribe } from \"../../types/index.js\";\nimport { ThreadMessageLike } from \"../runtime-cores/external-store/index.js\";\nimport { MessageRuntime, MessageRuntimeImpl } from \"./MessageRuntime.js\";\nimport { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport { ThreadComposerRuntime, ThreadComposerRuntimeImpl } from \"./ComposerRuntime.js\";\nimport { ThreadListItemRuntimePath, ThreadRuntimePath } from \"./RuntimePathTypes.js\";\nimport type { ThreadListItemState } from \"./RuntimeBindings.js\";\nimport { RunConfig } from \"../../types/AssistantTypes.js\";\nimport { ModelContext } from \"../../model-context/index.js\";\nimport { ChatModelRunOptions, ChatModelRunResult } from \"../runtime-cores/index.js\";\nimport { ReadonlyJSONValue } from \"assistant-stream/utils\";\nexport type CreateStartRunConfig = {\n parentId: string | null;\n sourceId?: string | null | undefined;\n runConfig?: RunConfig | undefined;\n};\nexport type CreateResumeRunConfig = CreateStartRunConfig & {\n stream?: (options: ChatModelRunOptions) => AsyncGenerator<ChatModelRunResult, void, unknown>;\n};\nexport type CreateAppendMessage = string | {\n parentId?: string | null | undefined;\n sourceId?: string | null | undefined;\n role?: AppendMessage[\"role\"] | undefined;\n content: AppendMessage[\"content\"];\n attachments?: AppendMessage[\"attachments\"] | undefined;\n metadata?: AppendMessage[\"metadata\"] | undefined;\n createdAt?: Date | undefined;\n runConfig?: AppendMessage[\"runConfig\"] | undefined;\n startRun?: boolean | undefined;\n};\nexport type ThreadRuntimeCoreBinding = SubscribableWithState<ThreadRuntimeCore, ThreadRuntimePath> & {\n outerSubscribe(callback: () => void): Unsubscribe;\n};\nexport type ThreadListItemRuntimeBinding = SubscribableWithState<ThreadListItemState, ThreadListItemRuntimePath>;\nexport type ThreadState = {\n /**\n * The thread ID.\n * @deprecated This field is deprecated and will be removed in 0.12.0. Use `useThreadListItem().id` instead.\n */\n readonly threadId: string;\n /**\n * The thread metadata.\n *\n * @deprecated Use `useThreadListItem()` instead. This field is deprecated and will be removed in 0.12.0.\n */\n readonly metadata: ThreadListItemState;\n /**\n * Whether the thread is disabled. Disabled threads cannot receive new messages.\n */\n readonly isDisabled: boolean;\n /**\n * Whether the thread is loading its history.\n */\n readonly isLoading: boolean;\n /**\n * Whether the thread is running. A thread is considered running when there is an active stream connection to the backend.\n */\n readonly isRunning: boolean;\n /**\n * The capabilities of the thread, such as whether the thread supports editing, branch switching, etc.\n */\n readonly capabilities: RuntimeCapabilities;\n /**\n * The messages in the currently selected branch of the thread.\n */\n readonly messages: readonly ThreadMessage[];\n /**\n * The thread state.\n *\n * @deprecated This feature is experimental\n */\n readonly state: ReadonlyJSONValue;\n /**\n * Follow up message suggestions to show the user.\n */\n readonly suggestions: readonly ThreadSuggestion[];\n /**\n * Custom extra information provided by the runtime.\n */\n readonly extras: unknown;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n readonly speech: SpeechState | undefined;\n};\nexport declare const getThreadState: (runtime: ThreadRuntimeCore, threadListItemState: ThreadListItemState) => ThreadState;\nexport type ThreadRuntime = {\n /**\n * The selector for the thread runtime.\n */\n readonly path: ThreadRuntimePath;\n /**\n * The thread composer runtime.\n */\n readonly composer: ThreadComposerRuntime;\n /**\n * Gets a snapshot of the thread state.\n */\n getState(): ThreadState;\n /**\n * Append a new message to the thread.\n *\n * @example ```ts\n * // append a new user message with the text \"Hello, world!\"\n * threadRuntime.append(\"Hello, world!\");\n * ```\n *\n * @example ```ts\n * // append a new assistant message with the text \"Hello, world!\"\n * threadRuntime.append({\n * role: \"assistant\",\n * content: [{ type: \"text\", text: \"Hello, world!\" }],\n * });\n * ```\n */\n append(message: CreateAppendMessage): void;\n /**\n * @deprecated pass an object with `parentId` instead. This will be removed in 0.12.0.\n */\n startRun(parentId: string | null): void;\n /**\n * Start a new run with the given configuration.\n * @param config The configuration for starting the run\n */\n startRun(config: CreateStartRunConfig): void;\n /**\n * Resume a run with the given configuration.\n * @param config The configuration for resuming the run\n **/\n unstable_resumeRun(config: CreateResumeRunConfig): void;\n /**\n * Load external state into the thread.\n * @param state The state to load into the thread\n */\n unstable_loadExternalState(state: any): void;\n subscribe(callback: () => void): Unsubscribe;\n cancelRun(): void;\n getModelContext(): ModelContext;\n /**\n * @deprecated This method was renamed to `getModelContext`.\n */\n getModelConfig(): ModelContext;\n export(): ExportedMessageRepository;\n import(repository: ExportedMessageRepository): void;\n /**\n * Reset the thread with optional initial messages.\n *\n * @param initialMessages - Optional array of initial messages to populate the thread\n */\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n getMessageByIndex(idx: number): MessageRuntime;\n getMessageById(messageId: string): MessageRuntime;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n stopSpeaking(): void;\n unstable_on(event: ThreadRuntimeEventType, callback: () => void): Unsubscribe;\n};\nexport declare class ThreadRuntimeImpl implements ThreadRuntime {\n get path(): ThreadRuntimePath;\n get __internal_threadBinding(): import(\"./subscribable/Subscribable\").Subscribable & {\n path: ThreadRuntimePath;\n getState: () => Readonly<{\n getMessageById: (messageId: string) => {\n parentId: string | null;\n message: ThreadMessage;\n index: number;\n } | undefined;\n getBranches: (messageId: string) => readonly string[];\n switchToBranch: (branchId: string) => void;\n append: (message: AppendMessage) => void;\n startRun: (config: StartRunConfig) => void;\n resumeRun: (config: ResumeRunConfig) => void;\n cancelRun: () => void;\n addToolResult: (options: import(\"../runtime-cores\").AddToolResultOptions) => void;\n resumeToolCall: (options: import(\"../runtime-cores/core/ThreadRuntimeCore\").ResumeToolCallOptions) => void;\n speak: (messageId: string) => void;\n stopSpeaking: () => void;\n submitFeedback: (feedback: import(\"../runtime-cores\").SubmitFeedbackOptions) => void;\n getModelContext: () => ModelContext;\n composer: import(\"../runtime-cores/core/ComposerRuntimeCore\").ThreadComposerRuntimeCore;\n getEditComposer: (messageId: string) => Readonly<{\n isEditing: boolean;\n canCancel: boolean;\n isEmpty: boolean;\n attachments: readonly import(\"../..\").Attachment[];\n attachmentAccept: string;\n addAttachment: (file: File) => Promise<void>;\n removeAttachment: (attachmentId: string) => Promise<void>;\n text: string;\n setText: (value: string) => void;\n role: import(\"../../types/AssistantTypes\").MessageRole;\n setRole: (role: import(\"../../types/AssistantTypes\").MessageRole) => void;\n runConfig: RunConfig;\n setRunConfig: (runConfig: RunConfig) => void;\n reset: () => Promise<void>;\n clearAttachments: () => Promise<void>;\n send: () => void;\n cancel: () => void;\n dictation: import(\"../runtime-cores\").DictationState | undefined;\n startDictation: () => void;\n stopDictation: () => void;\n subscribe: (callback: () => void) => Unsubscribe;\n unstable_on: (event: import(\"../runtime-cores/core/ComposerRuntimeCore\").ComposerRuntimeEventType, callback: () => void) => Unsubscribe;\n }> | undefined;\n beginEdit: (messageId: string) => void;\n speech: SpeechState | undefined;\n capabilities: Readonly<RuntimeCapabilities>;\n isDisabled: boolean;\n isLoading: boolean;\n messages: readonly ThreadMessage[];\n state: ReadonlyJSONValue;\n suggestions: readonly ThreadSuggestion[];\n extras: unknown;\n subscribe: (callback: () => void) => Unsubscribe;\n import(repository: ExportedMessageRepository): void;\n export(): ExportedMessageRepository;\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n unstable_on(event: ThreadRuntimeEventType, callback: () => void): Unsubscribe;\n unstable_loadExternalState: (state: any) => void;\n }>;\n } & {\n outerSubscribe(callback: () => void): Unsubscribe;\n } & {\n getStateState(): ThreadState;\n };\n private readonly _threadBinding;\n constructor(threadBinding: ThreadRuntimeCoreBinding, threadListItemBinding: ThreadListItemRuntimeBinding);\n protected __internal_bindMethods(): void;\n readonly composer: ThreadComposerRuntimeImpl;\n getState(): ThreadState;\n append(message: CreateAppendMessage): void;\n subscribe(callback: () => void): Unsubscribe;\n getModelContext(): ModelContext;\n getModelConfig(): ModelContext;\n startRun(configOrParentId: string | null | CreateStartRunConfig): void;\n unstable_resumeRun(config: CreateResumeRunConfig): void;\n unstable_loadExternalState(state: any): void;\n cancelRun(): void;\n stopSpeaking(): void;\n export(): ExportedMessageRepository;\n import(data: ExportedMessageRepository): void;\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n getMessageByIndex(idx: number): MessageRuntimeImpl;\n getMessageById(messageId: string): MessageRuntimeImpl;\n private _getMessageRuntime;\n private _eventSubscriptionSubjects;\n unstable_on(event: ThreadRuntimeEventType, callback: () => void): Unsubscribe;\n}\n//# sourceMappingURL=ThreadRuntime.d.ts.map","import { ThreadAssistantMessagePart, ThreadUserMessagePart, MessagePartStatus, ToolCallMessagePartStatus } from \"../../types/AssistantTypes.js\";\nimport { ThreadRuntimeCoreBinding } from \"./ThreadRuntime.js\";\nimport type { MessageStateBinding } from \"./RuntimeBindings.js\";\nimport { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport { Unsubscribe } from \"../../types/index.js\";\nimport { MessagePartRuntimePath } from \"./RuntimePathTypes.js\";\nimport { ToolResponse } from \"assistant-stream\";\nexport type MessagePartState = (ThreadUserMessagePart | ThreadAssistantMessagePart) & {\n readonly status: MessagePartStatus | ToolCallMessagePartStatus;\n};\ntype MessagePartSnapshotBinding = SubscribableWithState<MessagePartState, MessagePartRuntimePath>;\nexport type MessagePartRuntime = {\n /**\n * Add tool result to a tool call message part that has no tool result yet.\n * This is useful when you are collecting a tool result via user input (\"human tool calls\").\n */\n addToolResult(result: any | ToolResponse<any>): void;\n /**\n * Resume a tool call that is waiting for human input with a payload.\n * This is useful when a tool has requested human input and is waiting for a response.\n */\n resumeToolCall(payload: unknown): void;\n readonly path: MessagePartRuntimePath;\n getState(): MessagePartState;\n subscribe(callback: () => void): Unsubscribe;\n};\nexport declare class MessagePartRuntimeImpl implements MessagePartRuntime {\n private contentBinding;\n private messageApi?;\n private threadApi?;\n get path(): MessagePartRuntimePath;\n constructor(contentBinding: MessagePartSnapshotBinding, messageApi?: MessageStateBinding | undefined, threadApi?: ThreadRuntimeCoreBinding | undefined);\n protected __internal_bindMethods(): void;\n getState(): MessagePartState;\n addToolResult(result: any | ToolResponse<any>): void;\n resumeToolCall(payload: unknown): void;\n subscribe(callback: () => void): Unsubscribe;\n}\nexport {};\n//# sourceMappingURL=MessagePartRuntime.d.ts.map","import type { ComponentType, PropsWithChildren } from \"react\";\nimport type { MessagePartStatus, FileMessagePart, ImageMessagePart, ReasoningMessagePart, SourceMessagePart, TextMessagePart, ToolCallMessagePart, Unstable_AudioMessagePart } from \"./AssistantTypes.js\";\nimport { MessagePartState } from \"../legacy-runtime/runtime/MessagePartRuntime.js\";\nimport { ToolResponse } from \"assistant-stream\";\nexport type EmptyMessagePartProps = {\n status: MessagePartStatus;\n};\nexport type EmptyMessagePartComponent = ComponentType<EmptyMessagePartProps>;\nexport type TextMessagePartProps = MessagePartState & TextMessagePart;\nexport type TextMessagePartComponent = ComponentType<TextMessagePartProps>;\nexport type ReasoningMessagePartProps = MessagePartState & ReasoningMessagePart;\nexport type ReasoningMessagePartComponent = ComponentType<ReasoningMessagePartProps>;\nexport type ReasoningGroupProps = PropsWithChildren<{\n startIndex: number;\n endIndex: number;\n}>;\nexport type ReasoningGroupComponent = ComponentType<ReasoningGroupProps>;\nexport type SourceMessagePartProps = MessagePartState & SourceMessagePart;\nexport type SourceMessagePartComponent = ComponentType<SourceMessagePartProps>;\nexport type ImageMessagePartProps = MessagePartState & ImageMessagePart;\nexport type ImageMessagePartComponent = ComponentType<ImageMessagePartProps>;\nexport type FileMessagePartProps = MessagePartState & FileMessagePart;\nexport type FileMessagePartComponent = ComponentType<FileMessagePartProps>;\nexport type Unstable_AudioMessagePartProps = MessagePartState & Unstable_AudioMessagePart;\nexport type Unstable_AudioMessagePartComponent = ComponentType<Unstable_AudioMessagePartProps>;\nexport type ToolCallMessagePartProps<TArgs = any, TResult = unknown> = MessagePartState & ToolCallMessagePart<TArgs, TResult> & {\n addResult: (result: TResult | ToolResponse<TResult>) => void;\n resume: (payload: unknown) => void;\n};\nexport type ToolCallMessagePartComponent<TArgs = any, TResult = any> = ComponentType<ToolCallMessagePartProps<TArgs, TResult>>;\n//# sourceMappingURL=MessagePartComponentTypes.d.ts.map","import { ThreadListRuntimeCore } from \"../runtime-cores/core/ThreadListRuntimeCore.js\";\nimport { Unsubscribe } from \"../../types/index.js\";\nimport { ThreadListItemRuntime, ThreadListItemRuntimeImpl, ThreadListItemState } from \"./ThreadListItemRuntime.js\";\nimport { ThreadListItemRuntimeBinding, ThreadRuntime, ThreadRuntimeCoreBinding } from \"./ThreadRuntime.js\";\nexport type ThreadListState = {\n readonly mainThreadId: string;\n readonly newThread: string | undefined;\n readonly threads: readonly string[];\n readonly archivedThreads: readonly string[];\n readonly isLoading: boolean;\n readonly threadItems: Readonly<Record<string, Omit<ThreadListItemState, \"isMain\" | \"threadId\">>>;\n};\nexport type ThreadListRuntime = {\n getState(): ThreadListState;\n subscribe(callback: () => void): Unsubscribe;\n readonly main: ThreadRuntime;\n getById(threadId: string): ThreadRuntime;\n readonly mainItem: ThreadListItemRuntime;\n getItemById(threadId: string): ThreadListItemRuntime;\n getItemByIndex(idx: number): ThreadListItemRuntime;\n getArchivedItemByIndex(idx: number): ThreadListItemRuntime;\n switchToThread(threadId: string): Promise<void>;\n switchToNewThread(): Promise<void>;\n};\nexport type ThreadListRuntimeCoreBinding = ThreadListRuntimeCore;\nexport declare class ThreadListRuntimeImpl implements ThreadListRuntime {\n private _core;\n private _runtimeFactory;\n private _getState;\n constructor(_core: ThreadListRuntimeCoreBinding, _runtimeFactory?: new (binding: ThreadRuntimeCoreBinding, threadListItemBinding: ThreadListItemRuntimeBinding) => ThreadRuntime);\n protected __internal_bindMethods(): void;\n switchToThread(threadId: string): Promise<void>;\n switchToNewThread(): Promise<void>;\n getState(): ThreadListState;\n subscribe(callback: () => void): Unsubscribe;\n private _mainThreadListItemRuntime;\n readonly main: ThreadRuntime;\n get mainItem(): ThreadListItemRuntimeImpl;\n getById(threadId: string): ThreadRuntime;\n getItemByIndex(idx: number): ThreadListItemRuntimeImpl;\n getArchivedItemByIndex(idx: number): ThreadListItemRuntimeImpl;\n getItemById(threadId: string): ThreadListItemRuntimeImpl;\n}\n//# sourceMappingURL=ThreadListRuntime.d.ts.map","import { Unsubscribe } from \"../../types/index.js\";\nimport { ThreadListItemRuntimePath } from \"./RuntimePathTypes.js\";\nimport { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport { ThreadListRuntimeCoreBinding } from \"./ThreadListRuntime.js\";\nexport type ThreadListItemEventType = \"switched-to\" | \"switched-away\";\nimport type { ThreadListItemState, ThreadListItemStatus } from \"./RuntimeBindings.js\";\nexport type { ThreadListItemState, ThreadListItemStatus };\nexport type ThreadListItemRuntime = {\n readonly path: ThreadListItemRuntimePath;\n getState(): ThreadListItemState;\n initialize(): Promise<{\n remoteId: string;\n externalId: string | undefined;\n }>;\n generateTitle(): Promise<void>;\n switchTo(): Promise<void>;\n rename(newTitle: string): Promise<void>;\n archive(): Promise<void>;\n unarchive(): Promise<void>;\n delete(): Promise<void>;\n /**\n * Detaches the ThreadListItem instance, unmounting the ThreadRuntime hook.\n */\n detach(): void;\n subscribe(callback: () => void): Unsubscribe;\n unstable_on(event: ThreadListItemEventType, callback: () => void): Unsubscribe;\n};\nexport type ThreadListItemStateBinding = SubscribableWithState<ThreadListItemState, ThreadListItemRuntimePath>;\nexport declare class ThreadListItemRuntimeImpl implements ThreadListItemRuntime {\n private _core;\n private _threadListBinding;\n get path(): ThreadListItemRuntimePath;\n constructor(_core: ThreadListItemStateBinding, _threadListBinding: ThreadListRuntimeCoreBinding);\n protected __internal_bindMethods(): void;\n getState(): ThreadListItemState;\n switchTo(): Promise<void>;\n rename(newTitle: string): Promise<void>;\n archive(): Promise<void>;\n unarchive(): Promise<void>;\n delete(): Promise<void>;\n initialize(): Promise<{\n remoteId: string;\n externalId: string | undefined;\n }>;\n generateTitle(): Promise<void>;\n unstable_on(event: ThreadListItemEventType, callback: () => void): Unsubscribe;\n subscribe(callback: () => void): Unsubscribe;\n detach(): void;\n}\n//# sourceMappingURL=ThreadListItemRuntime.d.ts.map","export type EventSource<T extends AssistantEvent = AssistantEvent> = T extends `${infer Source}.${string}` ? Source : never;\ntype ScopeConfig = {\n composer: \"thread\" | \"message\";\n thread: never;\n \"thread-list-item\": never;\n};\nexport type SourceByScope<TScope extends AssistantEventScope<AssistantEvent>> = (TScope extends \"*\" ? EventSource : never) | (TScope extends keyof ScopeConfig ? TScope : never) | {\n [K in keyof ScopeConfig]: TScope extends ScopeConfig[K] ? K : never;\n}[keyof ScopeConfig];\nexport type AssistantEventScope<TEvent extends AssistantEvent> = \"*\" | EventSource<TEvent> | ScopeConfig[EventSource<TEvent>];\nexport type AssistantEventSelector<TEvent extends AssistantEvent> = TEvent | {\n scope: AssistantEventScope<TEvent>;\n event: TEvent;\n};\nexport type AssistantEvent = keyof AssistantEventMap;\nexport type AssistantEventMap = {\n \"thread.run-start\": {\n threadId: string;\n };\n \"thread.run-end\": {\n threadId: string;\n };\n \"thread.initialize\": {\n threadId: string;\n };\n \"thread.model-context-update\": {\n threadId: string;\n };\n \"composer.send\": {\n threadId: string;\n messageId?: string;\n };\n \"composer.attachment-add\": {\n threadId: string;\n messageId?: string;\n };\n \"thread-list-item.switched-to\": {\n threadId: string;\n };\n \"thread-list-item.switched-away\": {\n threadId: string;\n };\n \"*\": {\n [K in Exclude<keyof AssistantEventMap, \"*\">]: {\n event: K;\n payload: AssistantEventMap[K];\n };\n }[Exclude<keyof AssistantEventMap, \"*\">];\n};\nexport declare const normalizeEventSelector: <TEvent extends AssistantEvent>(selector: AssistantEventSelector<TEvent>) => {\n scope: AssistantEventScope<TEvent>;\n event: TEvent;\n};\nexport declare const checkEventScope: <TEvent extends AssistantEvent, TExpectedScope extends AssistantEventScope<AssistantEvent>>(expectedScope: TExpectedScope, scope: AssistantEventScope<TEvent>, _event: TEvent) => _event is Extract<TEvent, `${SourceByScope<TExpectedScope>}.${string}`>;\nexport type AssistantEventCallback<TEvent extends AssistantEvent> = (payload: AssistantEventMap[TEvent]) => void;\nexport {};\n//# sourceMappingURL=EventTypes.d.ts.map","import { AssistantRuntimeCore } from \"../runtime-cores/core/AssistantRuntimeCore.js\";\nimport { ModelContextProvider } from \"../../model-context/ModelContextTypes.js\";\nimport { ThreadRuntime } from \"./ThreadRuntime.js\";\nimport { Unsubscribe } from \"../../types/index.js\";\nimport { ThreadListRuntime, ThreadListRuntimeImpl } from \"./ThreadListRuntime.js\";\nimport { ThreadMessageLike } from \"../runtime-cores/index.js\";\nexport type AssistantRuntime = {\n /**\n * The threads in this assistant.\n */\n readonly threads: ThreadListRuntime;\n /**\n * The currently selected main thread. Equivalent to `threads.main`.\n */\n readonly thread: ThreadRuntime;\n /**\n * @deprecated This field was renamed to `threads`.\n */\n readonly threadList: ThreadListRuntime;\n /**\n * Switch to a new thread.\n *\n * @deprecated This method was moved to `threads.switchToNewThread`.\n */\n switchToNewThread(): void;\n /**\n * Switch to a thread.\n *\n * @param threadId The thread ID to switch to.\n * @deprecated This method was moved to `threads.switchToThread`.\n */\n switchToThread(threadId: string): void;\n /**\n * Register a model context provider. Model context providers are configuration such as system message, temperature, etc. that are set in the frontend.\n *\n * @param provider The model context provider to register.\n */\n registerModelContextProvider(provider: ModelContextProvider): Unsubscribe;\n /**\n * @deprecated This method was renamed to `registerModelContextProvider`.\n */\n registerModelConfigProvider(provider: ModelContextProvider): Unsubscribe;\n /**\n * @deprecated Use `runtime.thread.reset(initialMessages)`.\n */\n reset: unknown;\n};\nexport declare class AssistantRuntimeImpl implements AssistantRuntime {\n private readonly _core;\n readonly threads: ThreadListRuntimeImpl;\n get threadList(): ThreadListRuntimeImpl;\n readonly _thread: ThreadRuntime;\n constructor(_core: AssistantRuntimeCore);\n protected __internal_bindMethods(): void;\n get thread(): ThreadRuntime;\n switchToNewThread(): Promise<void>;\n switchToThread(threadId: string): Promise<void>;\n registerModelContextProvider(provider: ModelContextProvider): Unsubscribe;\n registerModelConfigProvider(provider: ModelContextProvider): Unsubscribe;\n reset({ initialMessages, }?: {\n initialMessages?: ThreadMessageLike[];\n }): void;\n}\n//# sourceMappingURL=AssistantRuntime.d.ts.map","import { Attachment } from \"../../types/index.js\";\nexport type AttachmentClientState = Attachment;\nexport type AttachmentClientApi = {\n getState(): AttachmentClientState;\n remove(): Promise<void>;\n};\n//# sourceMappingURL=Attachment.d.ts.map","import type { DictationState } from \"../../legacy-runtime/runtime-cores/core/ComposerRuntimeCore.js\";\nimport type { Attachment } from \"../../types/index.js\";\nimport type { MessageRole, RunConfig } from \"../../types/AssistantTypes.js\";\nimport type { AttachmentClientApi } from \"./Attachment.js\";\nexport type ComposerClientState = {\n readonly text: string;\n readonly role: MessageRole;\n readonly attachments: readonly Attachment[];\n readonly runConfig: RunConfig;\n readonly isEditing: boolean;\n readonly canCancel: boolean;\n readonly attachmentAccept: string;\n readonly isEmpty: boolean;\n readonly type: \"thread\" | \"edit\";\n /**\n * The current state of dictation.\n * Undefined when dictation is not active.\n */\n readonly dictation: DictationState | undefined;\n};\nexport type ComposerClientApi = {\n getState(): ComposerClientState;\n setText(text: string): void;\n setRole(role: MessageRole): void;\n setRunConfig(runConfig: RunConfig): void;\n addAttachment(file: File): Promise<void>;\n clearAttachments(): Promise<void>;\n attachment(selector: {\n index: number;\n } | {\n id: string;\n }): AttachmentClientApi;\n reset(): Promise<void>;\n send(): void;\n cancel(): void;\n beginEdit(): void;\n /**\n * Start dictation to convert voice to text input.\n * Requires a DictationAdapter to be configured.\n */\n startDictation(): void;\n /**\n * Stop the current dictation session.\n */\n stopDictation(): void;\n};\n//# sourceMappingURL=Composer.d.ts.map","import { ToolResponse } from \"assistant-stream\";\nimport { ThreadUserMessagePart, ThreadAssistantMessagePart, MessagePartStatus, ToolCallMessagePartStatus } from \"../../types/index.js\";\nexport type MessagePartClientState = (ThreadUserMessagePart | ThreadAssistantMessagePart) & {\n readonly status: MessagePartStatus | ToolCallMessagePartStatus;\n};\nexport type MessagePartClientApi = {\n /**\n * Get the current state of the message part.\n */\n getState(): MessagePartClientState;\n /**\n * Add tool result to a tool call message part that has no tool result yet.\n * This is useful when you are collecting a tool result via user input (\"human tool calls\").\n */\n addToolResult(result: any | ToolResponse<any>): void;\n /**\n * Resume a tool call that is waiting for human input with a payload.\n * This is useful when a tool has requested human input and is waiting for a response.\n */\n resumeToolCall(payload: unknown): void;\n};\n//# sourceMappingURL=Part.d.ts.map","import { ComposerClientState, ComposerClientApi } from \"./Composer.js\";\nimport { MessagePartClientApi, MessagePartClientState } from \"./Part.js\";\nimport { SpeechState, SubmittedFeedback } from \"../../legacy-runtime/runtime-cores/core/ThreadRuntimeCore.js\";\nimport { ThreadMessage } from \"../../types/index.js\";\nimport { RunConfig } from \"../../types/AssistantTypes.js\";\nimport { AttachmentClientApi } from \"./Attachment.js\";\nexport type MessageClientState = ThreadMessage & {\n readonly parentId: string | null;\n readonly isLast: boolean;\n readonly branchNumber: number;\n readonly branchCount: number;\n /**\n * @deprecated The `speech` property is deprecated and will be removed in a future version.\n *\n * To enable text-to-speech, provide a `SpeechSynthesisAdapter` to the runtime.\n *\n * @example\n * ```ts\n * import { WebSpeechSynthesisAdapter } from \"@assistant-ui/react\";\n * import { useChatRuntime } from \"@assistant-ui/react-ai-sdk\";\n *\n * const runtime = useChatRuntime({\n * adapters: {\n * speech: new WebSpeechSynthesisAdapter(),\n * },\n * });\n * ```\n */\n readonly speech: SpeechState | undefined;\n /**\n * @deprecated Use `message.metadata.submittedFeedback` instead. This will be removed in 0.12.0.\n */\n readonly submittedFeedback: SubmittedFeedback | undefined;\n readonly composer: ComposerClientState;\n readonly parts: readonly MessagePartClientState[];\n readonly isCopied: boolean;\n readonly isHovering: boolean;\n /** The position of this message in the thread (0 for first message) */\n readonly index: number;\n};\nexport type MessageClientApi = {\n /**\n * Get the current state of the message.\n */\n getState(): MessageClientState;\n readonly composer: ComposerClientApi;\n reload(config?: {\n runConfig?: RunConfig;\n }): void;\n /**\n * @deprecated The `speak()` method is deprecated. Use the `ActionBarPrimitive.Speak` component instead.\n */\n speak(): void;\n /**\n * @deprecated The `stopSpeaking()` method is deprecated. Use the `ActionBarPrimitive.StopSpeaking` component instead.\n */\n stopSpeaking(): void;\n submitFeedback(feedback: {\n type: \"positive\" | \"negative\";\n }): void;\n switchToBranch(options: {\n position?: \"previous\" | \"next\";\n branchId?: string;\n }): void;\n getCopyText(): string;\n part: (selector: {\n index: number;\n } | {\n toolCallId: string;\n }) => MessagePartClientApi;\n attachment(selector: {\n index: number;\n } | {\n id: string;\n }): AttachmentClientApi;\n setIsCopied(value: boolean): void;\n setIsHovering(value: boolean): void;\n};\n//# sourceMappingURL=Message.d.ts.map","import { ThreadListItemStatus } from \"../../types/index.js\";\nexport type ThreadListItemClientState = {\n readonly id: string;\n readonly remoteId: string | undefined;\n readonly externalId: string | undefined;\n readonly title?: string | undefined;\n readonly status: ThreadListItemStatus;\n};\nexport type ThreadListItemClientApi = {\n getState(): ThreadListItemClientState;\n switchTo(): void;\n rename(newTitle: string): void;\n archive(): void;\n unarchive(): void;\n delete(): void;\n generateTitle(): void;\n initialize(): Promise<{\n remoteId: string;\n externalId: string | undefined;\n }>;\n detach(): void;\n};\n//# sourceMappingURL=ThreadListItem.d.ts.map","import { ReadonlyJSONValue } from \"assistant-stream/utils\";\nimport { ComposerClientState, ComposerClientApi } from \"./Composer.js\";\nimport { MessageClientApi, MessageClientState } from \"./Message.js\";\nimport { CreateAppendMessage, CreateStartRunConfig } from \"../../legacy-runtime/runtime/index.js\";\nimport { ThreadSuggestion, ExportedMessageRepository, ThreadMessageLike } from \"../../legacy-runtime/runtime-cores/index.js\";\nimport { RuntimeCapabilities, SpeechState } from \"../../legacy-runtime/runtime-cores/core/ThreadRuntimeCore.js\";\nimport { CreateResumeRunConfig } from \"../../legacy-runtime/runtime/ThreadRuntime.js\";\nimport { ModelContext } from \"../../model-context/index.js\";\nexport type ThreadClientState = {\n /**\n * Whether the thread is empty. A thread is considered empty when it has no messages and is not loading.\n */\n readonly isEmpty: boolean;\n /**\n * Whether the thread is disabled. Disabled threads cannot receive new messages.\n */\n readonly isDisabled: boolean;\n /**\n * Whether the thread is loading its history.\n */\n readonly isLoading: boolean;\n /**\n * Whether the thread is running. A thread is considered running when there is an active stream connection to the backend.\n */\n readonly isRunning: boolean;\n /**\n * The capabilities of the thread, such as whether the thread supports editing, branch switching, etc.\n */\n readonly capabilities: RuntimeCapabilities;\n /**\n * The messages in the currently selected branch of the thread.\n */\n readonly messages: readonly MessageClientState[];\n /**\n * The thread state.\n *\n * @deprecated This feature is experimental\n */\n readonly state: ReadonlyJSONValue;\n /**\n * Follow up message suggestions to show the user.\n */\n readonly suggestions: readonly ThreadSuggestion[];\n /**\n * Custom extra information provided by the runtime.\n */\n readonly extras: unknown;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n readonly speech: SpeechState | undefined;\n readonly composer: ComposerClientState;\n};\nexport type ThreadClientApi = {\n /**\n * Get the current state of the thread.\n */\n getState(): ThreadClientState;\n /**\n * The thread composer runtime.\n */\n readonly composer: ComposerClientApi;\n /**\n * Append a new message to the thread.\n *\n * @example ```ts\n * // append a new user message with the text \"Hello, world!\"\n * threadRuntime.append(\"Hello, world!\");\n * ```\n *\n * @example ```ts\n * // append a new assistant message with the text \"Hello, world!\"\n * threadRuntime.append({\n * role: \"assistant\",\n * content: [{ type: \"text\", text: \"Hello, world!\" }],\n * });\n * ```\n */\n append(message: CreateAppendMessage): void;\n /**\n * Start a new run with the given configuration.\n * @param config The configuration for starting the run\n */\n startRun(config: CreateStartRunConfig): void;\n /**\n * Resume a run with the given configuration.\n * @param config The configuration for resuming the run\n **/\n unstable_resumeRun(config: CreateResumeRunConfig): void;\n cancelRun(): void;\n getModelContext(): ModelContext;\n export(): ExportedMessageRepository;\n import(repository: ExportedMessageRepository): void;\n /**\n * Reset the thread with optional initial messages.\n *\n * @param initialMessages - Optional array of initial messages to populate the thread\n */\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n message(selector: {\n id: string;\n } | {\n index: number;\n }): MessageClientApi;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n stopSpeaking(): void;\n /**\n * Start the voice session for the thread. Establishes any necessary media connections.\n */\n startVoice(): Promise<void>;\n /**\n * Stop the currently active voice session.\n */\n stopVoice(): Promise<void>;\n};\n//# sourceMappingURL=Thread.d.ts.map","import { ThreadListItemClientState, ThreadListItemClientApi } from \"./ThreadListItem.js\";\nimport { ThreadClientApi, ThreadClientState } from \"./Thread.js\";\nexport type ThreadListClientState = {\n readonly mainThreadId: string;\n readonly newThreadId: string | null;\n readonly isLoading: boolean;\n readonly threadIds: readonly string[];\n readonly archivedThreadIds: readonly string[];\n readonly threadItems: readonly ThreadListItemClientState[];\n readonly main: ThreadClientState;\n};\nexport type ThreadListClientApi = {\n getState(): ThreadListClientState;\n switchToThread(threadId: string): void;\n switchToNewThread(): void;\n item(threadIdOrOptions: \"main\" | {\n id: string;\n } | {\n index: number;\n archived?: boolean;\n }): ThreadListItemClientApi;\n thread(selector: \"main\"): ThreadClientApi;\n};\n//# sourceMappingURL=ThreadList.d.ts.map","import type { Unsubscribe } from \"../../types/index.js\";\nimport type { ModelContextProvider } from \"../../model-context/ModelContextTypes.js\";\nexport type ModelContextState = {};\nexport type ModelContextApi = ModelContextProvider & {\n getState(): ModelContextState;\n register: (provider: ModelContextProvider) => Unsubscribe;\n};\nexport type ModelContextMeta = {\n source: \"root\";\n query: Record<string, never>;\n};\n//# sourceMappingURL=ModelContext.d.ts.map","import { FC, PropsWithChildren } from \"react\";\nimport { MessageClientApi, MessageClientState } from \"../../client/types/Message.js\";\nimport { ThreadListItemClientApi, ThreadListItemClientState } from \"../../client/types/ThreadListItem.js\";\nimport { MessagePartClientApi, MessagePartClientState } from \"../../client/types/Part.js\";\nimport { ThreadClientApi, ThreadClientState } from \"../../client/types/Thread.js\";\nimport { ComposerClientApi, ComposerClientState } from \"../../client/types/Composer.js\";\nimport { AttachmentClientApi, AttachmentClientState } from \"../../client/types/Attachment.js\";\nimport { Unsubscribe } from \"../../types/index.js\";\nimport { AssistantEvent, AssistantEventCallback, AssistantEventSelector } from \"../../types/EventTypes.js\";\nimport { ThreadListClientApi, ThreadListClientState } from \"../../client/types/ThreadList.js\";\nimport { AssistantClientProps } from \"../../client/AssistantClient.js\";\nimport { ToolsApi, ToolsMeta, ToolsState } from \"../../client/types/Tools.js\";\nimport { ModelContextApi, ModelContextMeta } from \"../../client/types/ModelContext.js\";\nimport { DerivedScopesInput } from \"../../utils/tap-store/derived-scopes.js\";\nexport type AssistantState = {\n readonly threads: ThreadListClientState;\n readonly tools: ToolsState;\n readonly threadListItem: ThreadListItemClientState;\n readonly thread: ThreadClientState;\n readonly composer: ComposerClientState;\n readonly message: MessageClientState;\n readonly part: MessagePartClientState;\n readonly attachment: AttachmentClientState;\n};\nexport type AssistantApiField<TApi, TMeta extends {\n source: string | null;\n query: any;\n}> = (() => TApi) & (TMeta | {\n source: null;\n query: Record<string, never>;\n});\ntype ThreadsMeta = {\n source: \"root\";\n query: Record<string, never>;\n};\ntype ThreadListItemMeta = {\n source: \"threads\";\n query: {\n type: \"index\";\n index: number;\n archived: boolean;\n } | {\n type: \"main\";\n } | {\n type: \"id\";\n id: string;\n };\n};\ntype ThreadMeta = {\n source: \"threads\";\n query: {\n type: \"main\";\n };\n};\ntype ComposerMeta = {\n source: \"message\" | \"thread\";\n query: Record<string, never>;\n};\ntype MessageMeta = {\n source: \"thread\";\n query: {\n type: \"index\";\n index: number;\n };\n} | {\n source: \"root\";\n query: Record<string, never>;\n};\ntype PartMeta = {\n source: \"message\" | \"root\";\n query: {\n type: \"index\";\n index: number;\n } | Record<string, never>;\n};\ntype AttachmentMeta = {\n source: \"message\" | \"composer\";\n query: {\n type: \"index\";\n index: number;\n };\n};\nexport type AssistantApi = {\n threads: AssistantApiField<ThreadListClientApi, ThreadsMeta>;\n tools: AssistantApiField<ToolsApi, ToolsMeta>;\n modelContext: AssistantApiField<ModelContextApi, ModelContextMeta>;\n threadListItem: AssistantApiField<ThreadListItemClientApi, ThreadListItemMeta>;\n thread: AssistantApiField<ThreadClientApi, ThreadMeta>;\n composer: AssistantApiField<ComposerClientApi, ComposerMeta>;\n message: AssistantApiField<MessageClientApi, MessageMeta>;\n part: AssistantApiField<MessagePartClientApi, PartMeta>;\n attachment: AssistantApiField<AttachmentClientApi, AttachmentMeta>;\n subscribe(listener: () => void): Unsubscribe;\n on<TEvent extends AssistantEvent>(event: AssistantEventSelector<TEvent>, callback: AssistantEventCallback<TEvent>): Unsubscribe;\n};\nexport declare const createAssistantApiField: <TApi, TMeta extends {\n source: any;\n query: any;\n}>(config: {\n get: () => TApi;\n} & (TMeta | {\n source: null;\n query: Record<string, never>;\n})) => AssistantApiField<TApi, TMeta>;\nexport declare const useAssistantApiImpl: () => AssistantApi;\n/**\n * Hook to extend the current AssistantApi with additional derived scope fields and special callbacks.\n * This merges the derived fields with the existing API from context.\n * Fields are automatically memoized based on source and query changes.\n * Special callbacks (on, subscribe) use the useEffectEvent pattern to always access latest values.\n *\n * @param scopes - Record of field names to DerivedScope resource elements, plus optional special callbacks\n * @returns The merged AssistantApi\n *\n * @example\n * ```tsx\n * const api = useExtendedAssistantApi({\n * message: DerivedScope({\n * source: \"root\",\n * query: {},\n * get: () => messageApi,\n * }),\n * on: (selector, callback) => {\n * // Custom event filtering logic\n * },\n * });\n * ```\n */\nexport declare const useExtendedAssistantApi: (scopes: DerivedScopesInput) => AssistantApi;\nexport declare function useAssistantApi(): AssistantApi;\nexport declare function useAssistantApi(config: AssistantClientProps): AssistantApi;\nexport declare const extendApi: (api: AssistantApi, api2: Partial<AssistantApi>) => AssistantApi;\nexport declare const AssistantProvider: FC<PropsWithChildren<{\n api: AssistantApi;\n devToolsVisible?: boolean;\n}>>;\nexport {};\n//# sourceMappingURL=AssistantApiContext.d.ts.map","import { AssistantApi } from \"../context/react/AssistantApiContext.js\";\nimport { Unsubscribe } from \"../types/index.js\";\nexport interface EventLog {\n time: Date;\n event: string;\n data: unknown;\n}\ninterface DevToolsApiEntry {\n api: Partial<AssistantApi>;\n logs: EventLog[];\n}\ninterface DevToolsHook {\n apis: Map<number, DevToolsApiEntry>;\n nextId: number;\n listeners: Set<(apiId: number) => void>;\n}\ndeclare global {\n interface Window {\n __ASSISTANT_UI_DEVTOOLS_HOOK__?: DevToolsHook;\n }\n}\nexport declare class DevToolsHooks {\n static subscribe(listener: () => void): Unsubscribe;\n static clearEventLogs(apiId: number): void;\n static getApis(): Map<number, DevToolsApiEntry>;\n private static notifyListeners;\n}\nexport declare class DevToolsProviderApi {\n private static readonly MAX_EVENT_LOGS_PER_API;\n static register(api: Partial<AssistantApi>): Unsubscribe;\n private static notifyListeners;\n}\nexport {};\n//# sourceMappingURL=DevToolsHooks.d.ts.map"],"x_google_ignoreList":[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"mappings":";;;;UAAiB,MAAA;;;;EAAA,IAAA,EAAA,MAAM;EAWN,UAAA,EAAO,MAAA;EAOP,cAAA,EAAA,MAAc;EAQd,OAAA,EAAA,MAAA;EAaA,OAAA,CAAA,EAAA,MAAU;AAQ3B;AAMiB,UA1CA,SAAA,CA0Ce;EASf,IAAA,EAAA,MAAA,GAAW,WAAA;EAIf,OAAA,EAAA,MAAA;EACE,SAAA,EArDF,IAqDE;EACF,OAAA,CAAA,EArDD,MAqDC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X,IACD;EAGK,iBAAc,EAAA,CAAA,EAAA,EAAA,MAAA,GAAA,IAAA,EAAA,GAAA,IAAA;EAQd,iBAAA,EuDbI,QvDaW,EAKT;EAQN,aAAU,EAAA,MAAA,GAAA,IAAA;AAQ3B;AAMA;AASA;;AAKe,iBuDbC,mBAAA,CvDaD;EAAA,QAAA;EAAA,WAAA;EAAA,cAAA;EAAA,iBAAA;EAAA,iBAAA;EAAA;AAAA,CAAA,EuDNZ,wBvDMY,CAAA,EuDNY,gBvDMZ"}
|
|
1
|
+
{"version":3,"file":"react.d.mts","names":["Unsubscribe","ReadonlyJSONValue","ReadonlyJSONObject","ReadonlyJSONArray","AsyncIterableStream","T","AsyncIterable","ReadableStream","asAsyncIterableStream","ReadonlyJSONValue","TOOL_RESPONSE_SYMBOL","ToolResponseLike","TResult","ToolResponse","Symbol","hasInstance","JSONSchema4TypeName","JSONSchema4Type","JSONSchema4Object","JSONSchema4Array","Array","JSONSchema4Version","JSONSchema4","JSONSchema6TypeName","JSONSchema6Type","JSONSchema6Object","JSONSchema6Array","JSONSchema6Version","JSONSchema6Definition","JSONSchema6","JSONSchema7TypeName","JSONSchema7Type","JSONSchema7Object","JSONSchema7Array","JSONSchema7Version","JSONSchema7Definition","JSONSchema7","ValidationResult","ValidationError","validate","checkPropertyChange","mustBeValid","AsNumber","K","N","TupleIndex","T","Exclude","ObjectKey","TypePath","TypeAtPath","P","Head","Rest","DeepPartial","StandardTypedV1","Input","Output","Props","Schema","Types","NonNullable","StandardSchemaV1","Options","Result","Promise","SuccessResult","FailureResult","Record","Issue","ReadonlyArray","PropertyKey","PathSegment","InferInput","InferOutput","StandardJSONSchemaV1","Converter","Target","JSONSchema7","DeepPartial","TypeAtPath","TypePath","AsyncIterableStream","StandardSchemaV1","ToolResponse","ToolCallArgsReader","PathT","TArgs","Record","Promise","U","Array","ToolCallResponseReader","TResult","ToolCallReader","ToolExecutionContext","AbortSignal","ToolExecuteFunction","ToolStreamCallFunction","OnSchemaValidationErrorFunction","ToolBase","BackendTool","FrontendTool","HumanTool","Tool","Unsubscribe","Tool","LanguageModelV1CallSettings","Record","LanguageModelConfig","ModelContext","ModelContextProvider","mergeModelContexts","Set","CompleteAttachment","ReadonlyJSONValue","TextMessagePart","ReasoningMessagePart","SourceMessagePart","ImageMessagePart","FileMessagePart","DataMessagePart","Unstable_AudioMessagePart","ToolCallMessagePart","ThreadUserMessagePart","ThreadAssistantMessagePart","MessageRole","ThreadMessage","MessageCommonProps","Date","ThreadStep","MessagePartStatus","ToolCallMessagePartStatus","MessageStatus","ThreadSystemMessage","Record","ThreadUserMessage","ThreadAssistantMessage","RunConfig","AppendMessage","Omit","BaseThreadMessage","ReadonlyJSONObject","ThreadMessage","TextMessagePart","ReasoningMessagePart","SourceMessagePart","ImageMessagePart","FileMessagePart","Unstable_AudioMessagePart","DataMessagePart","T","ToolCallMessagePart","TArgs","TResult","ThreadUserMessagePart","ThreadAssistantMessagePart","ThreadUserMessagePart","PendingAttachmentStatus","CompleteAttachmentStatus","AttachmentStatus","BaseAttachment","File","PendingAttachment","CompleteAttachment","Attachment","Attachment","PendingAttachment","CompleteAttachment","AttachmentAdapter","File","Promise","AsyncGenerator","ThreadMessage","FeedbackAdapterFeedback","FeedbackAdapter","Unsubscribe","SpeechSynthesisAdapter","Status","Utterance","DictationAdapter","Promise","Result","Session","DictationAdapter","SpeechRecognitionInstance","EventTarget","SpeechRecognitionConstructor","_0","sideEffect","WebSpeechDictationAdapter","Session","ToolCallMessagePartComponent","Unsubscribe","ToolsState","Record","ToolsApi","ToolsMeta","FileMessagePart","MessageStatus","ReasoningMessagePart","RunConfig","SourceMessagePart","TextMessagePart","ThreadAssistantMessagePart","ThreadMessage","ThreadStep","ToolCallMessagePart","ModelContext","ReadonlyJSONValue","ChatModelRunUpdate","Record","ChatModelRunResult","CoreChatModelRunResult","Omit","ChatModelRunOptions","AbortSignal","ChatModelAdapter","Promise","AsyncGenerator","MessageStatus","TextMessagePart","ImageMessagePart","ThreadMessage","CompleteAttachment","FileMessagePart","DataMessagePart","Unstable_AudioMessagePart","ReasoningMessagePart","SourceMessagePart","ThreadStep","ReadonlyJSONObject","ReadonlyJSONValue","ThreadMessageLike","Date","Record","fromThreadMessageLike","AppendMessage","ThreadMessage","AttachmentAdapter","AddToolResultOptions","ResumeRunConfig","StartRunConfig","ThreadSuggestion","FeedbackAdapter","SpeechSynthesisAdapter","DictationAdapter","ThreadMessageLike","ExportedMessageRepository","ReadonlyJSONValue","ExternalStoreThreadData","TState","ExternalStoreThreadListAdapter","Promise","ExternalStoreMessageConverter","T","ExternalStoreMessageConverterAdapter","ExternalStoreAdapterBase","ExternalStoreAdapter","ExternalStoreAdapter","AssistantRuntime","useExternalStoreRuntime","T","ThreadMessage","RunConfig","ThreadMessageLike","ExportedMessageRepositoryItem","ExportedMessageRepository","Array","MessageRepository","headId","messages","Attachment","PendingAttachment","Unsubscribe","MessageRole","RunConfig","DictationAdapter","ComposerRuntimeEventType","DictationState","Status","ComposerRuntimeCore","File","Promise","Readonly","ThreadComposerRuntimeCore","ReadonlyJSONValue","ModelContext","AppendMessage","ThreadMessage","RunConfig","Unsubscribe","SpeechSynthesisAdapter","ChatModelRunOptions","ChatModelRunResult","ExportedMessageRepository","ThreadMessageLike","ComposerRuntimeCore","ThreadComposerRuntimeCore","RuntimeCapabilities","AddToolResultOptions","ResumeToolCallOptions","SubmitFeedbackOptions","ThreadSuggestion","SpeechState","Status","SubmittedFeedback","ThreadRuntimeEventType","StartRunConfig","ResumeRunConfig","AsyncGenerator","ThreadRuntimeCore","Readonly","ThreadListItemRuntimePath","ThreadRuntimePath","MessageRuntimePath","MessagePartRuntimePath","AttachmentRuntimePath","ComposerRuntimePath","ComposerRuntimeCore","ThreadComposerRuntimeCore","ThreadRuntimeCore","ThreadListRuntimeCore","SubscribableWithState","ThreadMessage","SpeechState","SubmittedFeedback","ComposerRuntimePath","ThreadRuntimePath","ThreadListItemRuntimePath","MessageRuntimePath","ComposerRuntimeCoreBinding","ThreadComposerRuntimeCoreBinding","EditComposerRuntimeCoreBinding","ThreadRuntimeCoreBinding","ThreadListRuntimeCoreBinding","MessageStateBinding","ThreadListItemStatus","ThreadListItemState","SubscribableWithState","ComposerRuntimeCoreBinding","Attachment","CompleteAttachment","PendingAttachment","Unsubscribe","AttachmentRuntimePath","MessageAttachmentState","ThreadComposerAttachmentState","EditComposerAttachmentState","AttachmentState","AttachmentSnapshotBinding","Source","AttachmentRuntimeSource","AttachmentRuntime","TSource","Promise","AttachmentRuntimeImpl","ComposerAttachmentRuntime","ThreadComposerAttachmentRuntimeImpl","EditComposerAttachmentRuntimeImpl","MessageAttachmentRuntimeImpl","Attachment","PendingAttachment","ComposerRuntimeEventType","DictationState","Unsubscribe","MessageRole","RunConfig","ThreadComposerRuntimeCoreBinding","EditComposerRuntimeCoreBinding","ComposerRuntimeCoreBinding","ComposerRuntimePath","AttachmentRuntime","EditComposerAttachmentRuntimeImpl","ThreadComposerAttachmentRuntimeImpl","BaseComposerState","ThreadComposerState","EditComposerState","ComposerState","ComposerRuntime","File","Promise","ComposerRuntimeImpl","ThreadComposerRuntime","Omit","ThreadComposerRuntimeImpl","EditComposerRuntime","EditComposerRuntimeImpl","SpeechState","SubmittedFeedback","ThreadMessage","ThreadAssistantMessagePart","ThreadUserMessagePart","Unsubscribe","RunConfig","ToolCallMessagePartStatus","AttachmentRuntime","MessageAttachmentRuntimeImpl","EditComposerRuntime","EditComposerRuntimeImpl","MessagePartRuntime","MessagePartRuntimeImpl","MessageRuntimePath","ThreadRuntimeCoreBinding","MessageStateBinding","toMessagePartStatus","MessageState","ReloadConfig","MessageRuntime","type","position","branchId","MessageRuntimeImpl","___runtime_cores0","___runtime_cores_core_ThreadRuntimeCore0","___runtime_cores_core_ComposerRuntimeCore0","_____0","______types_AssistantTypes0","ThreadSuggestion","RuntimeCapabilities","ThreadRuntimeCore","SpeechState","ThreadRuntimeEventType","StartRunConfig","ResumeRunConfig","ExportedMessageRepository","AppendMessage","ThreadMessage","Unsubscribe","ThreadMessageLike","MessageRuntime","MessageRuntimeImpl","SubscribableWithState","ThreadComposerRuntime","ThreadComposerRuntimeImpl","ThreadListItemRuntimePath","ThreadRuntimePath","ThreadListItemState","RunConfig","ModelContext","ChatModelRunOptions","ChatModelRunResult","ReadonlyJSONValue","CreateStartRunConfig","CreateResumeRunConfig","AsyncGenerator","CreateAppendMessage","Date","ThreadRuntimeCoreBinding","ThreadListItemRuntimeBinding","ThreadState","getThreadState","ThreadRuntime","ThreadRuntimeImpl","__subscribable_Subscribable0","Subscribable","AddToolResultOptions","ResumeToolCallOptions","SubmitFeedbackOptions","ThreadComposerRuntimeCore","Attachment","File","Promise","MessageRole","DictationState","ComposerRuntimeEventType","Readonly","ThreadAssistantMessagePart","ThreadUserMessagePart","MessagePartStatus","ToolCallMessagePartStatus","ThreadRuntimeCoreBinding","MessageStateBinding","SubscribableWithState","Unsubscribe","MessagePartRuntimePath","ToolResponse","MessagePartState","MessagePartSnapshotBinding","MessagePartRuntime","MessagePartRuntimeImpl","ComponentType","PropsWithChildren","MessagePartStatus","FileMessagePart","ImageMessagePart","ReasoningMessagePart","SourceMessagePart","TextMessagePart","ToolCallMessagePart","Unstable_AudioMessagePart","MessagePartState","ToolResponse","EmptyMessagePartProps","EmptyMessagePartComponent","TextMessagePartProps","TextMessagePartComponent","ReasoningMessagePartProps","ReasoningMessagePartComponent","ReasoningGroupProps","ReasoningGroupComponent","SourceMessagePartProps","SourceMessagePartComponent","ImageMessagePartProps","ImageMessagePartComponent","FileMessagePartProps","FileMessagePartComponent","Unstable_AudioMessagePartProps","Unstable_AudioMessagePartComponent","ToolCallMessagePartProps","TArgs","TResult","ToolCallMessagePartComponent","ThreadListRuntimeCore","Unsubscribe","ThreadListItemRuntime","ThreadListItemRuntimeImpl","ThreadListItemState","ThreadListItemRuntimeBinding","ThreadRuntime","ThreadRuntimeCoreBinding","ThreadListState","Omit","Record","Readonly","ThreadListRuntime","Promise","ThreadListRuntimeCoreBinding","ThreadListRuntimeImpl","Unsubscribe","ThreadListItemRuntimePath","SubscribableWithState","ThreadListRuntimeCoreBinding","ThreadListItemEventType","ThreadListItemState","ThreadListItemStatus","ThreadListItemRuntime","Promise","ThreadListItemStateBinding","ThreadListItemRuntimeImpl","EventSource","T","AssistantEvent","ScopeConfig","SourceByScope","TScope","AssistantEventScope","K","TEvent","AssistantEventSelector","AssistantEventMap","Exclude","normalizeEventSelector","checkEventScope","TExpectedScope","Extract","AssistantEventCallback","AssistantRuntimeCore","ModelContextProvider","ThreadRuntime","Unsubscribe","ThreadListRuntime","ThreadListRuntimeImpl","ThreadMessageLike","AssistantRuntime","AssistantRuntimeImpl","Promise","initialMessages","Attachment","AttachmentClientState","AttachmentClientApi","Promise","DictationState","Attachment","MessageRole","RunConfig","AttachmentClientApi","ComposerClientState","ComposerClientApi","File","Promise","ToolResponse","ThreadUserMessagePart","ThreadAssistantMessagePart","MessagePartStatus","ToolCallMessagePartStatus","MessagePartClientState","MessagePartClientApi","ComposerClientState","ComposerClientApi","MessagePartClientApi","MessagePartClientState","SpeechState","SubmittedFeedback","ThreadMessage","RunConfig","AttachmentClientApi","MessageClientState","MessageClientApi","ThreadListItemStatus","ThreadListItemClientState","ThreadListItemClientApi","Promise","ReadonlyJSONValue","ComposerClientState","ComposerClientApi","MessageClientApi","MessageClientState","CreateAppendMessage","CreateStartRunConfig","ThreadSuggestion","ExportedMessageRepository","ThreadMessageLike","RuntimeCapabilities","SpeechState","CreateResumeRunConfig","ModelContext","ThreadClientState","ThreadClientApi","Promise","ThreadListItemClientState","ThreadListItemClientApi","ThreadClientApi","ThreadClientState","ThreadListClientState","ThreadListClientApi","Unsubscribe","ModelContextProvider","ModelContextState","ModelContextApi","ModelContextMeta","Record","FC","PropsWithChildren","MessageClientApi","MessageClientState","ThreadListItemClientApi","ThreadListItemClientState","MessagePartClientApi","MessagePartClientState","ThreadClientApi","ThreadClientState","ComposerClientApi","ComposerClientState","AttachmentClientApi","AttachmentClientState","Unsubscribe","AssistantEvent","AssistantEventCallback","AssistantEventSelector","ThreadListClientApi","ThreadListClientState","AssistantClientProps","ToolsApi","ToolsMeta","ToolsState","ModelContextApi","ModelContextMeta","DerivedScopesInput","AssistantState","AssistantApiField","TApi","TMeta","Record","ThreadsMeta","ThreadListItemMeta","ThreadMeta","ComposerMeta","MessageMeta","PartMeta","AttachmentMeta","AssistantApi","TEvent","createAssistantApiField","useAssistantApiImpl","useExtendedAssistantApi","useAssistantApi","extendApi","Partial","AssistantProvider","AssistantApi","Unsubscribe","EventLog","Date","DevToolsApiEntry","Partial","DevToolsHook","Map","Set","_0","sideEffect","DevToolsHooks","DevToolsProviderApi"],"sources":["../src/adapters/ChatAdapter.ts","../src/adapters/MockAdapter.ts","../src/adapters/NexoPayloadChatAdapter.ts","../src/components/assistant-ui/markdown-text.tsx","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/Unsubscribe.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/utils/json/json-value.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/utils/AsyncIterableStream.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/core/tool/ToolResponse.d.ts","../../../node_modules/.pnpm/@types+json-schema@7.0.15/node_modules/@types/json-schema/index.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/core/tool/type-path-utils.d.ts","../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/.pnpm/assistant-stream@0.2.47/node_modules/assistant-stream/dist/core/tool/tool-types.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/model-context/ModelContextTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/AssistantTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/MessagePartTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/AttachmentTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/adapters/attachment/AttachmentAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/adapters/feedback/FeedbackAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/adapters/speech/SpeechAdapterTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/adapters/speech/WebSpeechDictationAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Tools.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/local/ChatModelAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/ThreadMessageLike.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/ExternalStoreAdapter.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/external-store/useExternalStoreRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/utils/MessageRepository.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/core/ComposerRuntimeCore.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime-cores/core/ThreadRuntimeCore.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/RuntimePathTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/RuntimeBindings.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/AttachmentRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/ComposerRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/MessageRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/ThreadRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/MessagePartRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/MessagePartComponentTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/ThreadListRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/ThreadListItemRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/types/EventTypes.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/legacy-runtime/runtime/AssistantRuntime.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Attachment.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Composer.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Part.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Message.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/ThreadListItem.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/Thread.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/ThreadList.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/client/types/ModelContext.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/context/react/AssistantApiContext.d.ts","../../../node_modules/.pnpm/@assistant-ui+react@0.11.58_@types+react-dom@19.1.6_@types+react@19.1.8__@types+react@1_1ace430487f19a6261550fadd639952a/node_modules/@assistant-ui/react/dist/devtools/DevToolsHooks.d.ts","../src/types/components.tsx","../src/components/assistant-ui/thread.tsx","../src/components/chat-context.tsx","../src/components/FloatingChatManager.tsx","../src/components/useDocumentSelector.ts","../src/hooks/useAssistantRuntime.ts"],"sourcesContent":["export type Unsubscribe = () => void;\n//# sourceMappingURL=Unsubscribe.d.ts.map","export type ReadonlyJSONValue = null | string | number | boolean | ReadonlyJSONObject | ReadonlyJSONArray;\nexport type ReadonlyJSONObject = {\n readonly [key: string]: ReadonlyJSONValue;\n};\nexport type ReadonlyJSONArray = readonly ReadonlyJSONValue[];\n//# sourceMappingURL=json-value.d.ts.map","export type AsyncIterableStream<T> = AsyncIterable<T> & ReadableStream<T>;\nexport declare function asAsyncIterableStream<T>(source: ReadableStream<T>): AsyncIterableStream<T>;\n//# sourceMappingURL=AsyncIterableStream.d.ts.map","import { ReadonlyJSONValue } from \"../../utils/json/json-value.js\";\ndeclare const TOOL_RESPONSE_SYMBOL: unique symbol;\nexport type ToolResponseLike<TResult> = {\n result: TResult;\n artifact?: ReadonlyJSONValue | undefined;\n isError?: boolean | undefined;\n};\nexport declare class ToolResponse<TResult> {\n get [TOOL_RESPONSE_SYMBOL](): boolean;\n readonly artifact?: ReadonlyJSONValue;\n readonly result: TResult;\n readonly isError: boolean;\n constructor(options: ToolResponseLike<TResult>);\n static [Symbol.hasInstance](obj: unknown): obj is ToolResponse<ReadonlyJSONValue>;\n static toResponse(result: any | ToolResponse<any>): ToolResponse<any>;\n}\nexport {};\n//# sourceMappingURL=ToolResponse.d.ts.map","// ==================================================================================================\n// JSON Schema Draft 04\n// ==================================================================================================\n\n/**\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1\n */\nexport type JSONSchema4TypeName =\n | \"string\" //\n | \"number\"\n | \"integer\"\n | \"boolean\"\n | \"object\"\n | \"array\"\n | \"null\"\n | \"any\";\n\n/**\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-04#section-3.5\n */\nexport type JSONSchema4Type =\n | string //\n | number\n | boolean\n | JSONSchema4Object\n | JSONSchema4Array\n | null;\n\n// Workaround for infinite type recursion\nexport interface JSONSchema4Object {\n [key: string]: JSONSchema4Type;\n}\n\n// Workaround for infinite type recursion\n// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540\nexport interface JSONSchema4Array extends Array<JSONSchema4Type> {}\n\n/**\n * Meta schema\n *\n * Recommended values:\n * - 'http://json-schema.org/schema#'\n * - 'http://json-schema.org/hyper-schema#'\n * - 'http://json-schema.org/draft-04/schema#'\n * - 'http://json-schema.org/draft-04/hyper-schema#'\n * - 'http://json-schema.org/draft-03/schema#'\n * - 'http://json-schema.org/draft-03/hyper-schema#'\n *\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5\n */\nexport type JSONSchema4Version = string;\n\n/**\n * JSON Schema V4\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-04\n */\nexport interface JSONSchema4 {\n id?: string | undefined;\n $ref?: string | undefined;\n $schema?: JSONSchema4Version | undefined;\n\n /**\n * This attribute is a string that provides a short description of the\n * instance property.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.21\n */\n title?: string | undefined;\n\n /**\n * This attribute is a string that provides a full description of the of\n * purpose the instance property.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.22\n */\n description?: string | undefined;\n\n default?: JSONSchema4Type | undefined;\n multipleOf?: number | undefined;\n maximum?: number | undefined;\n exclusiveMaximum?: boolean | undefined;\n minimum?: number | undefined;\n exclusiveMinimum?: boolean | undefined;\n maxLength?: number | undefined;\n minLength?: number | undefined;\n pattern?: string | undefined;\n\n /**\n * May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n *\n * This provides a definition for additional items in an array instance\n * when tuple definitions of the items is provided. This can be false\n * to indicate additional items in the array are not allowed, or it can\n * be a schema that defines the schema of the additional items.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.6\n */\n additionalItems?: boolean | JSONSchema4 | undefined;\n\n /**\n * This attribute defines the allowed items in an instance array, and\n * MUST be a schema or an array of schemas. The default value is an\n * empty schema which allows any value for items in the instance array.\n *\n * When this attribute value is a schema and the instance value is an\n * array, then all the items in the array MUST be valid according to the\n * schema.\n *\n * When this attribute value is an array of schemas and the instance\n * value is an array, each position in the instance array MUST conform\n * to the schema in the corresponding position for this array. This\n * called tuple typing. When tuple typing is used, additional items are\n * allowed, disallowed, or constrained by the \"additionalItems\"\n * (Section 5.6) attribute using the same rules as\n * \"additionalProperties\" (Section 5.4) for objects.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.5\n */\n items?: JSONSchema4 | JSONSchema4[] | undefined;\n\n maxItems?: number | undefined;\n minItems?: number | undefined;\n uniqueItems?: boolean | undefined;\n maxProperties?: number | undefined;\n minProperties?: number | undefined;\n\n /**\n * This attribute indicates if the instance must have a value, and not\n * be undefined. This is false by default, making the instance\n * optional.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.7\n */\n required?: boolean | string[] | undefined;\n\n /**\n * This attribute defines a schema for all properties that are not\n * explicitly defined in an object type definition. If specified, the\n * value MUST be a schema or a boolean. If false is provided, no\n * additional properties are allowed beyond the properties defined in\n * the schema. The default value is an empty schema which allows any\n * value for additional properties.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.4\n */\n additionalProperties?: boolean | JSONSchema4 | undefined;\n\n definitions?: {\n [k: string]: JSONSchema4;\n } | undefined;\n\n /**\n * This attribute is an object with property definitions that define the\n * valid values of instance object property values. When the instance\n * value is an object, the property values of the instance object MUST\n * conform to the property definitions in this object. In this object,\n * each property definition's value MUST be a schema, and the property's\n * name MUST be the name of the instance property that it defines. The\n * instance property value MUST be valid according to the schema from\n * the property definition. Properties are considered unordered, the\n * order of the instance properties MAY be in any order.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.2\n */\n properties?: {\n [k: string]: JSONSchema4;\n } | undefined;\n\n /**\n * This attribute is an object that defines the schema for a set of\n * property names of an object instance. The name of each property of\n * this attribute's object is a regular expression pattern in the ECMA\n * 262/Perl 5 format, while the value is a schema. If the pattern\n * matches the name of a property on the instance object, the value of\n * the instance's property MUST be valid against the pattern name's\n * schema value.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.3\n */\n patternProperties?: {\n [k: string]: JSONSchema4;\n } | undefined;\n dependencies?: {\n [k: string]: JSONSchema4 | string[];\n } | undefined;\n\n /**\n * This provides an enumeration of all possible values that are valid\n * for the instance property. This MUST be an array, and each item in\n * the array represents a possible value for the instance value. If\n * this attribute is defined, the instance value MUST be one of the\n * values in the array in order for the schema to be valid.\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.19\n */\n enum?: JSONSchema4Type[] | undefined;\n\n /**\n * A single type, or a union of simple types\n */\n type?: JSONSchema4TypeName | JSONSchema4TypeName[] | undefined;\n\n allOf?: JSONSchema4[] | undefined;\n anyOf?: JSONSchema4[] | undefined;\n oneOf?: JSONSchema4[] | undefined;\n not?: JSONSchema4 | undefined;\n\n /**\n * The value of this property MUST be another schema which will provide\n * a base schema which the current schema will inherit from. The\n * inheritance rules are such that any instance that is valid according\n * to the current schema MUST be valid according to the referenced\n * schema. This MAY also be an array, in which case, the instance MUST\n * be valid for all the schemas in the array. A schema that extends\n * another schema MAY define additional attributes, constrain existing\n * attributes, or add other constraints.\n *\n * Conceptually, the behavior of extends can be seen as validating an\n * instance against all constraints in the extending schema as well as\n * the extended schema(s).\n *\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.26\n */\n extends?: string | string[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-zyp-json-schema-04#section-5.6\n */\n [k: string]: any;\n\n format?: string | undefined;\n}\n\n// ==================================================================================================\n// JSON Schema Draft 06\n// ==================================================================================================\n\nexport type JSONSchema6TypeName =\n | \"string\" //\n | \"number\"\n | \"integer\"\n | \"boolean\"\n | \"object\"\n | \"array\"\n | \"null\"\n | \"any\";\n\nexport type JSONSchema6Type =\n | string //\n | number\n | boolean\n | JSONSchema6Object\n | JSONSchema6Array\n | null;\n\n// Workaround for infinite type recursion\nexport interface JSONSchema6Object {\n [key: string]: JSONSchema6Type;\n}\n\n// Workaround for infinite type recursion\n// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540\nexport interface JSONSchema6Array extends Array<JSONSchema6Type> {}\n\n/**\n * Meta schema\n *\n * Recommended values:\n * - 'http://json-schema.org/schema#'\n * - 'http://json-schema.org/hyper-schema#'\n * - 'http://json-schema.org/draft-06/schema#'\n * - 'http://json-schema.org/draft-06/hyper-schema#'\n *\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5\n */\nexport type JSONSchema6Version = string;\n\n/**\n * JSON Schema V6\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01\n */\nexport type JSONSchema6Definition = JSONSchema6 | boolean;\nexport interface JSONSchema6 {\n $id?: string | undefined;\n $ref?: string | undefined;\n $schema?: JSONSchema6Version | undefined;\n\n /**\n * Must be strictly greater than 0.\n * A numeric instance is valid only if division by this keyword's value results in an integer.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.1\n */\n multipleOf?: number | undefined;\n\n /**\n * Representing an inclusive upper limit for a numeric instance.\n * This keyword validates only if the instance is less than or exactly equal to \"maximum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.2\n */\n maximum?: number | undefined;\n\n /**\n * Representing an exclusive upper limit for a numeric instance.\n * This keyword validates only if the instance is strictly less than (not equal to) to \"exclusiveMaximum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.3\n */\n exclusiveMaximum?: number | undefined;\n\n /**\n * Representing an inclusive lower limit for a numeric instance.\n * This keyword validates only if the instance is greater than or exactly equal to \"minimum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.4\n */\n minimum?: number | undefined;\n\n /**\n * Representing an exclusive lower limit for a numeric instance.\n * This keyword validates only if the instance is strictly greater than (not equal to) to \"exclusiveMinimum\".\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.5\n */\n exclusiveMinimum?: number | undefined;\n\n /**\n * Must be a non-negative integer.\n * A string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.6\n */\n maxLength?: number | undefined;\n\n /**\n * Must be a non-negative integer.\n * A string instance is valid against this keyword if its length is greater than, or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.7\n */\n minLength?: number | undefined;\n\n /**\n * Should be a valid regular expression, according to the ECMA 262 regular expression dialect.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.8\n */\n pattern?: string | undefined;\n\n /**\n * This keyword determines how child instances validate for arrays, and does not directly validate the immediate instance itself.\n * Omitting this keyword has the same behavior as an empty schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.9\n */\n items?: JSONSchema6Definition | JSONSchema6Definition[] | undefined;\n\n /**\n * This keyword determines how child instances validate for arrays, and does not directly validate the immediate instance itself.\n * If \"items\" is an array of schemas, validation succeeds if every instance element\n * at a position greater than the size of \"items\" validates against \"additionalItems\".\n * Otherwise, \"additionalItems\" MUST be ignored, as the \"items\" schema\n * (possibly the default value of an empty schema) is applied to all elements.\n * Omitting this keyword has the same behavior as an empty schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.10\n */\n additionalItems?: JSONSchema6Definition | undefined;\n\n /**\n * Must be a non-negative integer.\n * An array instance is valid against \"maxItems\" if its size is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.11\n */\n maxItems?: number | undefined;\n\n /**\n * Must be a non-negative integer.\n * An array instance is valid against \"maxItems\" if its size is greater than, or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.12\n */\n minItems?: number | undefined;\n\n /**\n * If this keyword has boolean value false, the instance validates successfully.\n * If it has boolean value true, the instance validates successfully if all of its elements are unique.\n * Omitting this keyword has the same behavior as a value of false.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.13\n */\n uniqueItems?: boolean | undefined;\n\n /**\n * An array instance is valid against \"contains\" if at least one of its elements is valid against the given schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.14\n */\n contains?: JSONSchema6Definition | undefined;\n\n /**\n * Must be a non-negative integer.\n * An object instance is valid against \"maxProperties\" if its number of properties is less than, or equal to, the value of this keyword.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.15\n */\n maxProperties?: number | undefined;\n\n /**\n * Must be a non-negative integer.\n * An object instance is valid against \"maxProperties\" if its number of properties is greater than,\n * or equal to, the value of this keyword.\n * Omitting this keyword has the same behavior as a value of 0.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.16\n */\n minProperties?: number | undefined;\n\n /**\n * Elements of this array must be unique.\n * An object instance is valid against this keyword if every item in the array is the name of a property in the instance.\n * Omitting this keyword has the same behavior as an empty array.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.17\n */\n required?: string[] | undefined;\n\n /**\n * This keyword determines how child instances validate for objects, and does not directly validate the immediate instance itself.\n * Validation succeeds if, for each name that appears in both the instance and as a name within this keyword's value,\n * the child instance for that name successfully validates against the corresponding schema.\n * Omitting this keyword has the same behavior as an empty object.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.18\n */\n properties?: {\n [k: string]: JSONSchema6Definition;\n } | undefined;\n\n /**\n * This attribute is an object that defines the schema for a set of property names of an object instance.\n * The name of each property of this attribute's object is a regular expression pattern in the ECMA 262, while the value is a schema.\n * If the pattern matches the name of a property on the instance object, the value of the instance's property\n * MUST be valid against the pattern name's schema value.\n * Omitting this keyword has the same behavior as an empty object.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.19\n */\n patternProperties?: {\n [k: string]: JSONSchema6Definition;\n } | undefined;\n\n /**\n * This attribute defines a schema for all properties that are not explicitly defined in an object type definition.\n * If specified, the value MUST be a schema or a boolean.\n * If false is provided, no additional properties are allowed beyond the properties defined in the schema.\n * The default value is an empty schema which allows any value for additional properties.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.20\n */\n additionalProperties?: JSONSchema6Definition | undefined;\n\n /**\n * This keyword specifies rules that are evaluated if the instance is an object and contains a certain property.\n * Each property specifies a dependency.\n * If the dependency value is an array, each element in the array must be unique.\n * Omitting this keyword has the same behavior as an empty object.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.21\n */\n dependencies?: {\n [k: string]: JSONSchema6Definition | string[];\n } | undefined;\n\n /**\n * Takes a schema which validates the names of all properties rather than their values.\n * Note the property name that the schema is testing will always be a string.\n * Omitting this keyword has the same behavior as an empty schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.22\n */\n propertyNames?: JSONSchema6Definition | undefined;\n\n /**\n * This provides an enumeration of all possible values that are valid\n * for the instance property. This MUST be an array, and each item in\n * the array represents a possible value for the instance value. If\n * this attribute is defined, the instance value MUST be one of the\n * values in the array in order for the schema to be valid.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.23\n */\n enum?: JSONSchema6Type[] | undefined;\n\n /**\n * More readable form of a one-element \"enum\"\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.24\n */\n const?: JSONSchema6Type | undefined;\n\n /**\n * A single type, or a union of simple types\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.25\n */\n type?: JSONSchema6TypeName | JSONSchema6TypeName[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.26\n */\n allOf?: JSONSchema6Definition[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.27\n */\n anyOf?: JSONSchema6Definition[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.28\n */\n oneOf?: JSONSchema6Definition[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.29\n */\n not?: JSONSchema6Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.1\n */\n definitions?: {\n [k: string]: JSONSchema6Definition;\n } | undefined;\n\n /**\n * This attribute is a string that provides a short description of the instance property.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2\n */\n title?: string | undefined;\n\n /**\n * This attribute is a string that provides a full description of the of purpose the instance property.\n *\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2\n */\n description?: string | undefined;\n\n /**\n * This keyword can be used to supply a default JSON value associated with a particular schema.\n * It is RECOMMENDED that a default value be valid against the associated schema.\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.3\n */\n default?: JSONSchema6Type | undefined;\n\n /**\n * Array of examples with no validation effect the value of \"default\" is usable as an example without repeating it under this keyword\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.4\n */\n examples?: JSONSchema6Type[] | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-8\n */\n format?: string | undefined;\n}\n\n// ==================================================================================================\n// JSON Schema Draft 07\n// ==================================================================================================\n// https://tools.ietf.org/html/draft-handrews-json-schema-validation-01\n// --------------------------------------------------------------------------------------------------\n\n/**\n * Primitive type\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1\n */\nexport type JSONSchema7TypeName =\n | \"string\" //\n | \"number\"\n | \"integer\"\n | \"boolean\"\n | \"object\"\n | \"array\"\n | \"null\";\n\n/**\n * Primitive type\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1\n */\nexport type JSONSchema7Type =\n | string //\n | number\n | boolean\n | JSONSchema7Object\n | JSONSchema7Array\n | null;\n\n// Workaround for infinite type recursion\nexport interface JSONSchema7Object {\n [key: string]: JSONSchema7Type;\n}\n\n// Workaround for infinite type recursion\n// https://github.com/Microsoft/TypeScript/issues/3496#issuecomment-128553540\nexport interface JSONSchema7Array extends Array<JSONSchema7Type> {}\n\n/**\n * Meta schema\n *\n * Recommended values:\n * - 'http://json-schema.org/schema#'\n * - 'http://json-schema.org/hyper-schema#'\n * - 'http://json-schema.org/draft-07/schema#'\n * - 'http://json-schema.org/draft-07/hyper-schema#'\n *\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5\n */\nexport type JSONSchema7Version = string;\n\n/**\n * JSON Schema v7\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01\n */\nexport type JSONSchema7Definition = JSONSchema7 | boolean;\nexport interface JSONSchema7 {\n $id?: string | undefined;\n $ref?: string | undefined;\n $schema?: JSONSchema7Version | undefined;\n $comment?: string | undefined;\n\n /**\n * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00#section-8.2.4\n * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#appendix-A\n */\n $defs?: {\n [key: string]: JSONSchema7Definition;\n } | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1\n */\n type?: JSONSchema7TypeName | JSONSchema7TypeName[] | undefined;\n enum?: JSONSchema7Type[] | undefined;\n const?: JSONSchema7Type | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.2\n */\n multipleOf?: number | undefined;\n maximum?: number | undefined;\n exclusiveMaximum?: number | undefined;\n minimum?: number | undefined;\n exclusiveMinimum?: number | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.3\n */\n maxLength?: number | undefined;\n minLength?: number | undefined;\n pattern?: string | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.4\n */\n items?: JSONSchema7Definition | JSONSchema7Definition[] | undefined;\n additionalItems?: JSONSchema7Definition | undefined;\n maxItems?: number | undefined;\n minItems?: number | undefined;\n uniqueItems?: boolean | undefined;\n contains?: JSONSchema7Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.5\n */\n maxProperties?: number | undefined;\n minProperties?: number | undefined;\n required?: string[] | undefined;\n properties?: {\n [key: string]: JSONSchema7Definition;\n } | undefined;\n patternProperties?: {\n [key: string]: JSONSchema7Definition;\n } | undefined;\n additionalProperties?: JSONSchema7Definition | undefined;\n dependencies?: {\n [key: string]: JSONSchema7Definition | string[];\n } | undefined;\n propertyNames?: JSONSchema7Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.6\n */\n if?: JSONSchema7Definition | undefined;\n then?: JSONSchema7Definition | undefined;\n else?: JSONSchema7Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.7\n */\n allOf?: JSONSchema7Definition[] | undefined;\n anyOf?: JSONSchema7Definition[] | undefined;\n oneOf?: JSONSchema7Definition[] | undefined;\n not?: JSONSchema7Definition | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-7\n */\n format?: string | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-8\n */\n contentMediaType?: string | undefined;\n contentEncoding?: string | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9\n */\n definitions?: {\n [key: string]: JSONSchema7Definition;\n } | undefined;\n\n /**\n * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-10\n */\n title?: string | undefined;\n description?: string | undefined;\n default?: JSONSchema7Type | undefined;\n readOnly?: boolean | undefined;\n writeOnly?: boolean | undefined;\n examples?: JSONSchema7Type | undefined;\n}\n\nexport interface ValidationResult {\n valid: boolean;\n errors: ValidationError[];\n}\n\nexport interface ValidationError {\n property: string;\n message: string;\n}\n\n/**\n * To use the validator call JSONSchema.validate with an instance object and an optional schema object.\n * If a schema is provided, it will be used to validate. If the instance object refers to a schema (self-validating),\n * that schema will be used to validate and the schema parameter is not necessary (if both exist,\n * both validations will occur).\n */\nexport function validate(instance: {}, schema: JSONSchema4 | JSONSchema6 | JSONSchema7): ValidationResult;\n\n/**\n * The checkPropertyChange method will check to see if an value can legally be in property with the given schema\n * This is slightly different than the validate method in that it will fail if the schema is readonly and it will\n * not check for self-validation, it is assumed that the passed in value is already internally valid.\n */\nexport function checkPropertyChange(\n value: any,\n schema: JSONSchema4 | JSONSchema6 | JSONSchema7,\n property: string,\n): ValidationResult;\n\n/**\n * This checks to ensure that the result is valid and will throw an appropriate error message if it is not.\n */\nexport function mustBeValid(result: ValidationResult): void;\n","type AsNumber<K> = K extends `${infer N extends number}` ? N | K : never;\ntype TupleIndex<T extends readonly any[]> = Exclude<keyof T, keyof any[]>;\ntype ObjectKey<T> = keyof T & (string | number);\nexport type TypePath<T> = [] | (0 extends 1 & T ? any[] : T extends object ? T extends readonly any[] ? number extends T[\"length\"] ? {\n [K in TupleIndex<T>]: [AsNumber<K>, ...TypePath<T[K]>];\n}[TupleIndex<T>] : [\n number,\n ...TypePath<T[number]>\n] : {\n [K in ObjectKey<T>]: [K, ...TypePath<T[K]>];\n}[ObjectKey<T>] : [\n]);\nexport type TypeAtPath<T, P extends readonly any[]> = P extends [\n infer Head,\n ...infer Rest\n] ? Head extends keyof T ? TypeAtPath<T[Head], Rest> : never : T;\nexport type DeepPartial<T> = T extends readonly any[] ? readonly DeepPartial<T[number]>[] : T extends {\n [key: string]: any;\n} ? {\n readonly [K in keyof T]?: DeepPartial<T[K]>;\n} : T;\nexport {};\n//# sourceMappingURL=type-path-utils.d.ts.map","/** The Standard Typed interface. This is a base type extended by other specs. */\ninterface StandardTypedV1<Input = unknown, Output = Input> {\n /** The Standard properties. */\n readonly \"~standard\": StandardTypedV1.Props<Input, Output>;\n}\ndeclare namespace StandardTypedV1 {\n /** The Standard Typed properties interface. */\n interface Props<Input = unknown, Output = Input> {\n /** The version number of the standard. */\n readonly version: 1;\n /** The vendor name of the schema library. */\n readonly vendor: string;\n /** Inferred types associated with the schema. */\n readonly types?: Types<Input, Output> | undefined;\n }\n /** The Standard Typed types interface. */\n interface Types<Input = unknown, Output = Input> {\n /** The input type of the schema. */\n readonly input: Input;\n /** The output type of the schema. */\n readonly output: Output;\n }\n /** Infers the input type of a Standard Typed. */\n type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema[\"~standard\"][\"types\"]>[\"input\"];\n /** Infers the output type of a Standard Typed. */\n type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema[\"~standard\"][\"types\"]>[\"output\"];\n}\n/** The Standard Schema interface. */\ninterface StandardSchemaV1<Input = unknown, Output = Input> {\n /** The Standard Schema properties. */\n readonly \"~standard\": StandardSchemaV1.Props<Input, Output>;\n}\ndeclare namespace StandardSchemaV1 {\n /** The Standard Schema properties interface. */\n interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {\n /** Validates unknown input values. */\n readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;\n }\n /** The result interface of the validate function. */\n type Result<Output> = SuccessResult<Output> | FailureResult;\n /** The result interface if validation succeeds. */\n interface SuccessResult<Output> {\n /** The typed output value. */\n readonly value: Output;\n /** A falsy value for `issues` indicates success. */\n readonly issues?: undefined;\n }\n interface Options {\n /** Explicit support for additional vendor-specific parameters, if needed. */\n readonly libraryOptions?: Record<string, unknown> | undefined;\n }\n /** The result interface if validation fails. */\n interface FailureResult {\n /** The issues of failed validation. */\n readonly issues: ReadonlyArray<Issue>;\n }\n /** The issue interface of the failure output. */\n interface Issue {\n /** The error message of the issue. */\n readonly message: string;\n /** The path of the issue, if any. */\n readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;\n }\n /** The path segment interface of the issue. */\n interface PathSegment {\n /** The key representing a path segment. */\n readonly key: PropertyKey;\n }\n /** The Standard types interface. */\n interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {\n }\n /** Infers the input type of a Standard. */\n type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;\n /** Infers the output type of a Standard. */\n type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;\n}\n/** The Standard JSON Schema interface. */\ninterface StandardJSONSchemaV1<Input = unknown, Output = Input> {\n /** The Standard JSON Schema properties. */\n readonly \"~standard\": StandardJSONSchemaV1.Props<Input, Output>;\n}\ndeclare namespace StandardJSONSchemaV1 {\n /** The Standard JSON Schema properties interface. */\n interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {\n /** Methods for generating the input/output JSON Schema. */\n readonly jsonSchema: StandardJSONSchemaV1.Converter;\n }\n /** The Standard JSON Schema converter interface. */\n interface Converter {\n /** Converts the input type to JSON Schema. May throw if conversion is not supported. */\n readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;\n /** Converts the output type to JSON Schema. May throw if conversion is not supported. */\n readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;\n }\n /**\n * The target version of the generated JSON Schema.\n *\n * It is *strongly recommended* that implementers support `\"draft-2020-12\"` and `\"draft-07\"`, as they are both in wide use. All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target.\n *\n * The `\"openapi-3.0\"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `\"draft-04\"`.\n */\n type Target = \"draft-2020-12\" | \"draft-07\" | \"openapi-3.0\" | ({} & string);\n /** The options for the input/output methods. */\n interface Options {\n /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */\n readonly target: Target;\n /** Explicit support for additional vendor-specific parameters, if needed. */\n readonly libraryOptions?: Record<string, unknown> | undefined;\n }\n /** The Standard types interface. */\n interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {\n }\n /** Infers the input type of a Standard. */\n type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;\n /** Infers the output type of a Standard. */\n type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;\n}\n\nexport { StandardJSONSchemaV1, StandardSchemaV1, StandardTypedV1 };\n","import type { JSONSchema7 } from \"json-schema\";\nimport { DeepPartial, TypeAtPath, TypePath } from \"./type-path-utils.js\";\nimport { AsyncIterableStream } from \"../../utils.js\";\nimport type { StandardSchemaV1 } from \"@standard-schema/spec\";\nimport { ToolResponse } from \"./ToolResponse.js\";\n/**\n * Interface for reading tool call arguments from a stream, which are\n * generated by a language learning model (LLM). Provides methods to\n * retrieve specific values, partial streams, or complete items from\n * an array, based on a specified path.\n *\n * @template TArgs The type of arguments being read.\n */\nexport interface ToolCallArgsReader<TArgs extends Record<string, unknown>> {\n /**\n * Returns a promise that will resolve to the value at the given path,\n * as soon as that path is generated by the LLM.\n *\n * @param fieldPath An array of object keys or array indices.\n */\n get<PathT extends TypePath<TArgs>>(...fieldPath: PathT): Promise<TypeAtPath<TArgs, PathT>>;\n /**\n * Returns a stream that will emit partial values at the given path,\n * as they are generated by the LLM.\n *\n * @param fieldPath An array of object keys or array indices.\n */\n streamValues<PathT extends TypePath<TArgs>>(...fieldPath: PathT): AsyncIterableStream<DeepPartial<TypeAtPath<TArgs, PathT>>>;\n /**\n * Returns a stream that will emit partial text at the given path,\n * as they are generated by the LLM.\n *\n * @param fieldPath An array of object keys or array indices.\n */\n streamText<PathT extends TypePath<TArgs>>(...fieldPath: PathT): TypeAtPath<TArgs, PathT> extends string & infer U ? AsyncIterableStream<U> : never;\n /**\n * Returns a stream that will emit complete items in the array\n * at the given path, as they are generated by the LLM.\n *\n * @param fieldPath An array of object keys or array indices.\n */\n forEach<PathT extends TypePath<TArgs>>(...fieldPath: PathT): TypeAtPath<TArgs, PathT> extends Array<infer U> ? AsyncIterableStream<U> : never;\n}\nexport interface ToolCallResponseReader<TResult> {\n get: () => Promise<ToolResponse<TResult>>;\n}\nexport interface ToolCallReader<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> {\n args: ToolCallArgsReader<TArgs>;\n response: ToolCallResponseReader<TResult>;\n /**\n * @deprecated Deprecated. Use `response.get().result` instead.\n */\n result: {\n get: () => Promise<TResult>;\n };\n}\nexport type ToolExecutionContext = {\n toolCallId: string;\n abortSignal: AbortSignal;\n human: (payload: unknown) => Promise<unknown>;\n};\nexport type ToolExecuteFunction<TArgs, TResult> = (args: TArgs, context: ToolExecutionContext) => TResult | Promise<TResult>;\nexport type ToolStreamCallFunction<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = (reader: ToolCallReader<TArgs, TResult>, context: ToolExecutionContext) => void;\ntype OnSchemaValidationErrorFunction<TResult> = ToolExecuteFunction<unknown, TResult>;\ntype ToolBase<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = {\n /**\n * @deprecated Experimental, API may change.\n */\n streamCall?: ToolStreamCallFunction<TArgs, TResult>;\n};\ntype BackendTool<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = ToolBase<TArgs, TResult> & {\n type?: \"backend\" | undefined;\n description?: undefined;\n parameters?: undefined;\n disabled?: undefined;\n execute?: undefined;\n experimental_onSchemaValidationError?: undefined;\n};\ntype FrontendTool<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = ToolBase<TArgs, TResult> & {\n type?: \"frontend\" | undefined;\n description?: string | undefined;\n parameters: StandardSchemaV1<TArgs> | JSONSchema7;\n disabled?: boolean;\n execute?: ToolExecuteFunction<TArgs, TResult>;\n experimental_onSchemaValidationError?: OnSchemaValidationErrorFunction<TResult>;\n};\ntype HumanTool<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = ToolBase<TArgs, TResult> & {\n type?: \"human\" | undefined;\n description?: string | undefined;\n parameters: StandardSchemaV1<TArgs> | JSONSchema7;\n disabled?: boolean;\n execute?: undefined;\n experimental_onSchemaValidationError?: undefined;\n};\nexport type Tool<TArgs extends Record<string, unknown> = Record<string, unknown>, TResult = unknown> = FrontendTool<TArgs, TResult> | BackendTool<TArgs, TResult> | HumanTool<TArgs, TResult>;\nexport {};\n//# sourceMappingURL=tool-types.d.ts.map","import { Unsubscribe } from \"../types/Unsubscribe.js\";\nimport { Tool } from \"assistant-stream\";\nexport type LanguageModelV1CallSettings = {\n maxTokens?: number;\n temperature?: number;\n topP?: number;\n presencePenalty?: number;\n frequencyPenalty?: number;\n seed?: number;\n headers?: Record<string, string | undefined>;\n};\nexport type LanguageModelConfig = {\n apiKey?: string;\n baseUrl?: string;\n modelName?: string;\n};\nexport type ModelContext = {\n priority?: number | undefined;\n system?: string | undefined;\n tools?: Record<string, Tool<any, any>> | undefined;\n callSettings?: LanguageModelV1CallSettings | undefined;\n config?: LanguageModelConfig | undefined;\n};\nexport type ModelContextProvider = {\n getModelContext: () => ModelContext;\n subscribe?: (callback: () => void) => Unsubscribe;\n};\nexport declare const mergeModelContexts: (configSet: Set<ModelContextProvider>) => ModelContext;\n//# sourceMappingURL=ModelContextTypes.d.ts.map","import type { CompleteAttachment } from \"./AttachmentTypes.js\";\nimport type { ReadonlyJSONValue } from \"assistant-stream/utils\";\nimport type { TextMessagePart, ReasoningMessagePart, SourceMessagePart, ImageMessagePart, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart, ToolCallMessagePart, ThreadUserMessagePart, ThreadAssistantMessagePart } from \"./MessagePartTypes.js\";\nexport type { TextMessagePart, ReasoningMessagePart, SourceMessagePart, ImageMessagePart, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart, ToolCallMessagePart, ThreadUserMessagePart, ThreadAssistantMessagePart, };\nexport type MessageRole = ThreadMessage[\"role\"];\ntype MessageCommonProps = {\n readonly id: string;\n readonly createdAt: Date;\n};\nexport type ThreadStep = {\n readonly messageId?: string;\n readonly usage?: {\n readonly promptTokens: number;\n readonly completionTokens: number;\n } | undefined;\n};\nexport type MessagePartStatus = {\n readonly type: \"running\";\n} | {\n readonly type: \"complete\";\n} | {\n readonly type: \"incomplete\";\n readonly reason: \"cancelled\" | \"length\" | \"content-filter\" | \"other\" | \"error\";\n readonly error?: unknown;\n};\nexport type ToolCallMessagePartStatus = {\n readonly type: \"requires-action\";\n readonly reason: \"interrupt\";\n} | MessagePartStatus;\nexport type MessageStatus = {\n readonly type: \"running\";\n} | {\n readonly type: \"requires-action\";\n readonly reason: \"tool-calls\" | \"interrupt\";\n} | {\n readonly type: \"complete\";\n readonly reason: \"stop\" | \"unknown\";\n} | {\n readonly type: \"incomplete\";\n readonly reason: \"cancelled\" | \"tool-calls\" | \"length\" | \"content-filter\" | \"other\" | \"error\";\n readonly error?: ReadonlyJSONValue;\n};\nexport type ThreadSystemMessage = MessageCommonProps & {\n readonly role: \"system\";\n readonly content: readonly [TextMessagePart];\n readonly metadata: {\n readonly unstable_state?: undefined;\n readonly unstable_annotations?: undefined;\n readonly unstable_data?: undefined;\n readonly steps?: undefined;\n readonly submittedFeedback?: undefined;\n readonly custom: Record<string, unknown>;\n };\n};\nexport type ThreadUserMessage = MessageCommonProps & {\n readonly role: \"user\";\n readonly content: readonly ThreadUserMessagePart[];\n readonly attachments: readonly CompleteAttachment[];\n readonly metadata: {\n readonly unstable_state?: undefined;\n readonly unstable_annotations?: undefined;\n readonly unstable_data?: undefined;\n readonly steps?: undefined;\n readonly submittedFeedback?: undefined;\n readonly custom: Record<string, unknown>;\n };\n};\nexport type ThreadAssistantMessage = MessageCommonProps & {\n readonly role: \"assistant\";\n readonly content: readonly ThreadAssistantMessagePart[];\n readonly status: MessageStatus;\n readonly metadata: {\n readonly unstable_state: ReadonlyJSONValue;\n readonly unstable_annotations: readonly ReadonlyJSONValue[];\n readonly unstable_data: readonly ReadonlyJSONValue[];\n readonly steps: readonly ThreadStep[];\n readonly submittedFeedback?: {\n readonly type: \"positive\" | \"negative\";\n };\n readonly custom: Record<string, unknown>;\n };\n};\nexport type RunConfig = {\n readonly custom?: Record<string, unknown>;\n};\nexport type AppendMessage = Omit<ThreadMessage, \"id\"> & {\n parentId: string | null;\n /** The ID of the message that was edited or undefined. */\n sourceId: string | null;\n runConfig: RunConfig | undefined;\n startRun?: boolean | undefined;\n};\ntype BaseThreadMessage = {\n readonly status?: ThreadAssistantMessage[\"status\"];\n readonly metadata: {\n readonly unstable_state?: ReadonlyJSONValue;\n readonly unstable_annotations?: readonly ReadonlyJSONValue[];\n readonly unstable_data?: readonly ReadonlyJSONValue[];\n readonly steps?: readonly ThreadStep[];\n readonly submittedFeedback?: {\n readonly type: \"positive\" | \"negative\";\n };\n readonly custom: Record<string, unknown>;\n };\n readonly attachments?: ThreadUserMessage[\"attachments\"];\n};\nexport type ThreadMessage = BaseThreadMessage & (ThreadSystemMessage | ThreadUserMessage | ThreadAssistantMessage);\n//# sourceMappingURL=AssistantTypes.d.ts.map","import { ReadonlyJSONObject } from \"assistant-stream/utils\";\nimport type { ThreadMessage } from \"./AssistantTypes.js\";\nexport type TextMessagePart = {\n readonly type: \"text\";\n readonly text: string;\n readonly parentId?: string;\n};\nexport type ReasoningMessagePart = {\n readonly type: \"reasoning\";\n readonly text: string;\n readonly parentId?: string;\n};\nexport type SourceMessagePart = {\n readonly type: \"source\";\n readonly sourceType: \"url\";\n readonly id: string;\n readonly url: string;\n readonly title?: string;\n readonly parentId?: string;\n};\nexport type ImageMessagePart = {\n readonly type: \"image\";\n readonly image: string;\n readonly filename?: string;\n};\nexport type FileMessagePart = {\n readonly type: \"file\";\n readonly filename?: string;\n readonly data: string;\n readonly mimeType: string;\n};\nexport type Unstable_AudioMessagePart = {\n readonly type: \"audio\";\n readonly audio: {\n readonly data: string;\n readonly format: \"mp3\" | \"wav\";\n };\n};\nexport type DataMessagePart<T = any> = {\n readonly type: \"data\";\n readonly name: string;\n readonly data: T;\n};\nexport type ToolCallMessagePart<TArgs = ReadonlyJSONObject, TResult = unknown> = {\n readonly type: \"tool-call\";\n readonly toolCallId: string;\n readonly toolName: string;\n readonly args: TArgs;\n readonly result?: TResult | undefined;\n readonly isError?: boolean | undefined;\n readonly argsText: string;\n readonly artifact?: unknown;\n readonly interrupt?: {\n type: \"human\";\n payload: unknown;\n };\n readonly parentId?: string;\n readonly messages?: readonly ThreadMessage[];\n};\nexport type ThreadUserMessagePart = TextMessagePart | ImageMessagePart | FileMessagePart | Unstable_AudioMessagePart;\nexport type ThreadAssistantMessagePart = TextMessagePart | ReasoningMessagePart | ToolCallMessagePart | SourceMessagePart | FileMessagePart | ImageMessagePart | DataMessagePart;\n//# sourceMappingURL=MessagePartTypes.d.ts.map","import type { ThreadUserMessagePart } from \"./MessagePartTypes.js\";\nexport type PendingAttachmentStatus = {\n type: \"running\";\n reason: \"uploading\";\n progress: number;\n} | {\n type: \"requires-action\";\n reason: \"composer-send\";\n} | {\n type: \"incomplete\";\n reason: \"error\" | \"upload-paused\";\n};\nexport type CompleteAttachmentStatus = {\n type: \"complete\";\n};\nexport type AttachmentStatus = PendingAttachmentStatus | CompleteAttachmentStatus;\ntype BaseAttachment = {\n id: string;\n type: \"image\" | \"document\" | \"file\";\n name: string;\n contentType: string;\n file?: File;\n content?: ThreadUserMessagePart[];\n};\nexport type PendingAttachment = BaseAttachment & {\n status: PendingAttachmentStatus;\n file: File;\n};\nexport type CompleteAttachment = BaseAttachment & {\n status: CompleteAttachmentStatus;\n content: ThreadUserMessagePart[];\n};\nexport type Attachment = PendingAttachment | CompleteAttachment;\nexport {};\n//# sourceMappingURL=AttachmentTypes.d.ts.map","import { Attachment, PendingAttachment, CompleteAttachment } from \"../../../../types/AttachmentTypes.js\";\n/**\n * Interface for handling file attachments in the assistant runtime.\n *\n * AttachmentAdapter provides methods for managing file attachments throughout\n * their lifecycle: adding, processing, removing, and sending attachments with messages.\n *\n * @example\n * ```tsx\n * const imageAdapter: AttachmentAdapter = {\n * accept: \"image/*\",\n *\n * async add({ file }) {\n * return {\n * id: generateId(),\n * type: \"image\",\n * name: file.name,\n * file,\n * status: { type: \"uploading\" }\n * };\n * },\n *\n * async remove(attachment) {\n * // Clean up resources\n * },\n *\n * async send(attachment) {\n * const url = await uploadFile(attachment.file);\n * return { ...attachment, url, status: { type: \"complete\" } };\n * }\n * };\n * ```\n */\nexport type AttachmentAdapter = {\n /**\n * MIME type pattern for accepted file types (e.g., \"image/*\", \"text/plain\").\n */\n accept: string;\n /**\n * Processes a file when it's added as an attachment.\n *\n * @param state - Object containing the file to process\n * @param state.file - The File object to be attached\n * @returns Promise or AsyncGenerator yielding PendingAttachment states\n */\n add(state: {\n file: File;\n }): Promise<PendingAttachment> | AsyncGenerator<PendingAttachment, void>;\n /**\n * Removes an attachment and cleans up associated resources.\n *\n * @param attachment - The attachment to remove\n * @returns Promise that resolves when removal is complete\n */\n remove(attachment: Attachment): Promise<void>;\n /**\n * Finalizes an attachment for sending with a message.\n *\n * @param attachment - The pending attachment to finalize\n * @returns Promise resolving to the complete attachment\n */\n send(attachment: PendingAttachment): Promise<CompleteAttachment>;\n};\n//# sourceMappingURL=AttachmentAdapter.d.ts.map","import { ThreadMessage } from \"../../../../types/AssistantTypes.js\";\n/**\n * Feedback data structure for rating messages.\n */\ntype FeedbackAdapterFeedback = {\n /** The message being rated */\n message: ThreadMessage;\n /** The type of feedback being provided */\n type: \"positive\" | \"negative\";\n};\n/**\n * Interface for handling user feedback on assistant messages.\n *\n * FeedbackAdapter allows users to provide positive or negative feedback\n * on assistant responses, which can be used for analytics, model improvement,\n * or user experience tracking.\n *\n * @example\n * ```tsx\n * const feedbackAdapter: FeedbackAdapter = {\n * submit: (feedback) => {\n * console.log(`User gave ${feedback.type} feedback on message:`, feedback.message.id);\n *\n * // Send to analytics service\n * analytics.track('message_feedback', {\n * messageId: feedback.message.id,\n * feedbackType: feedback.type,\n * messageContent: feedback.message.content\n * });\n * }\n * };\n * ```\n */\nexport type FeedbackAdapter = {\n /**\n * Submits user feedback for a message.\n *\n * @param feedback - The feedback data containing message and rating type\n */\n submit: (feedback: FeedbackAdapterFeedback) => void;\n};\nexport {};\n//# sourceMappingURL=FeedbackAdapter.d.ts.map","import { Unsubscribe } from \"../../../../types/index.js\";\n/**\n * Types and interfaces for speech synthesis (text-to-speech) functionality.\n */\nexport declare namespace SpeechSynthesisAdapter {\n /**\n * Status of a speech synthesis operation.\n */\n type Status = {\n /** Speech is starting or currently running */\n type: \"starting\" | \"running\";\n } | {\n /** Speech has ended */\n type: \"ended\";\n /** Reason why speech ended */\n reason: \"finished\" | \"cancelled\" | \"error\";\n /** Error details if speech ended due to error */\n error?: unknown;\n };\n /**\n * Represents a single speech utterance with control and status tracking.\n */\n type Utterance = {\n /** Current status of the utterance */\n status: Status;\n /** Cancel the current speech */\n cancel: () => void;\n /** Subscribe to status changes */\n subscribe: (callback: () => void) => Unsubscribe;\n };\n}\n/**\n * Interface for text-to-speech functionality.\n *\n * SpeechSynthesisAdapter provides the ability to convert text content\n * into spoken audio, with status tracking and cancellation support.\n *\n * @example\n * ```tsx\n * const speechAdapter: SpeechSynthesisAdapter = {\n * speak: (text) => {\n * const utterance = new SpeechSynthesisUtterance(text);\n * speechSynthesis.speak(utterance);\n *\n * return {\n * status: { type: \"starting\" },\n * cancel: () => speechSynthesis.cancel(),\n * subscribe: (callback) => {\n * utterance.addEventListener('end', callback);\n * return () => utterance.removeEventListener('end', callback);\n * }\n * };\n * }\n * };\n * ```\n */\nexport type SpeechSynthesisAdapter = {\n /**\n * Converts text to speech and returns an utterance object for control.\n *\n * @param text - The text content to speak\n * @returns An utterance object with status and control methods\n */\n speak: (text: string) => SpeechSynthesisAdapter.Utterance;\n};\nexport declare namespace DictationAdapter {\n type Status = {\n type: \"starting\" | \"running\";\n } | {\n type: \"ended\";\n reason: \"stopped\" | \"cancelled\" | \"error\";\n };\n type Result = {\n /** The transcribed text */\n transcript: string;\n /**\n * Whether this is a final (committed) result or an interim (partial) result.\n *\n * - `true` (final): The text should be appended to the composer input.\n * This text is finalized and won't change.\n *\n * - `false` (interim/partial): The text is a preview that may change.\n * It should be displayed as a preview but not appended to the input yet.\n * Subsequent interim results replace the previous interim result.\n *\n * Defaults to `true` for backwards compatibility with adapters that\n * don't set this flag.\n */\n isFinal?: boolean;\n };\n type Session = {\n status: Status;\n stop: () => Promise<void>;\n cancel: () => void;\n onSpeechStart: (callback: () => void) => Unsubscribe;\n onSpeechEnd: (callback: (result: Result) => void) => Unsubscribe;\n onSpeech: (callback: (result: Result) => void) => Unsubscribe;\n };\n}\nexport type DictationAdapter = {\n listen: () => DictationAdapter.Session;\n /**\n * Whether to disable text input while dictation is active.\n * Some adapters (like ElevenLabs Scribe) return cumulative transcripts\n * that conflict with simultaneous typing.\n * @default false\n */\n disableInputDuringDictation?: boolean;\n};\n//# sourceMappingURL=SpeechAdapterTypes.d.ts.map","import type { DictationAdapter } from \"./SpeechAdapterTypes.js\";\ninterface SpeechRecognitionInstance extends EventTarget {\n lang: string;\n continuous: boolean;\n interimResults: boolean;\n start(): void;\n stop(): void;\n abort(): void;\n}\ninterface SpeechRecognitionConstructor {\n new (): SpeechRecognitionInstance;\n}\ndeclare global {\n interface Window {\n SpeechRecognition?: SpeechRecognitionConstructor;\n webkitSpeechRecognition?: SpeechRecognitionConstructor;\n }\n}\n/**\n * WebSpeechDictationAdapter provides speech-to-text (dictation) functionality using\n * the browser's Web Speech API (SpeechRecognition).\n *\n * @example\n * ```tsx\n * const runtime = useChatRuntime({\n * api: \"/api/chat\",\n * adapters: {\n * dictation: new WebSpeechDictationAdapter(),\n * },\n * });\n * ```\n */\nexport declare class WebSpeechDictationAdapter implements DictationAdapter {\n private _language;\n private _continuous;\n private _interimResults;\n constructor(options?: {\n /**\n * The language for dictation (e.g., \"en-US\", \"zh-CN\").\n * Defaults to the browser's language.\n */\n language?: string;\n /**\n * Whether to keep recording after the user stops speaking.\n * Defaults to true.\n */\n continuous?: boolean;\n /**\n * Whether to return interim (partial) results.\n * Defaults to true for real-time feedback.\n */\n interimResults?: boolean;\n });\n /**\n * Check if the browser supports the Web Speech Recognition API.\n */\n static isSupported(): boolean;\n listen(): DictationAdapter.Session;\n}\nexport {};\n//# sourceMappingURL=WebSpeechDictationAdapter.d.ts.map","import { ToolCallMessagePartComponent, Unsubscribe } from \"../../types/index.js\";\nexport type ToolsState = {\n tools: Record<string, ToolCallMessagePartComponent[]>;\n};\nexport type ToolsApi = {\n getState(): ToolsState;\n setToolUI(toolName: string, render: ToolCallMessagePartComponent): Unsubscribe;\n};\nexport type ToolsMeta = {\n source: \"root\";\n query: Record<string, never>;\n};\n//# sourceMappingURL=Tools.d.ts.map","import type { FileMessagePart, MessageStatus, ReasoningMessagePart, RunConfig, SourceMessagePart, TextMessagePart, ThreadAssistantMessagePart, ThreadMessage, ThreadStep, ToolCallMessagePart } from \"../../../types/AssistantTypes.js\";\nimport type { ModelContext } from \"../../../model-context/ModelContextTypes.js\";\nimport { ReadonlyJSONValue } from \"assistant-stream/utils\";\nexport type ChatModelRunUpdate = {\n readonly content: readonly ThreadAssistantMessagePart[];\n readonly metadata?: Record<string, unknown>;\n};\nexport type ChatModelRunResult = {\n readonly content?: readonly ThreadAssistantMessagePart[] | undefined;\n readonly status?: MessageStatus | undefined;\n readonly metadata?: {\n readonly unstable_state?: ReadonlyJSONValue;\n readonly unstable_annotations?: readonly ReadonlyJSONValue[] | undefined;\n readonly unstable_data?: readonly ReadonlyJSONValue[] | undefined;\n readonly steps?: readonly ThreadStep[] | undefined;\n readonly custom?: Record<string, unknown> | undefined;\n };\n};\nexport type CoreChatModelRunResult = Omit<ChatModelRunResult, \"content\"> & {\n readonly content: readonly (TextMessagePart | ReasoningMessagePart | ToolCallMessagePart | SourceMessagePart | FileMessagePart)[];\n};\nexport type ChatModelRunOptions = {\n readonly messages: readonly ThreadMessage[];\n readonly runConfig: RunConfig;\n readonly abortSignal: AbortSignal;\n readonly context: ModelContext;\n /**\n * @deprecated This field was renamed to `context`.\n */\n readonly config: ModelContext;\n readonly unstable_assistantMessageId?: string | undefined;\n readonly unstable_threadId?: string | undefined;\n readonly unstable_parentId?: string | null | undefined;\n unstable_getMessage(): ThreadMessage;\n};\nexport type ChatModelAdapter = {\n run(options: ChatModelRunOptions): Promise<ChatModelRunResult> | AsyncGenerator<ChatModelRunResult, void>;\n};\n//# sourceMappingURL=ChatModelAdapter.d.ts.map","import { MessageStatus, TextMessagePart, ImageMessagePart, ThreadMessage, CompleteAttachment, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart } from \"../../../types/index.js\";\nimport { ReasoningMessagePart, SourceMessagePart, ThreadStep } from \"../../../types/AssistantTypes.js\";\nimport { ReadonlyJSONObject, ReadonlyJSONValue } from \"assistant-stream/utils\";\nexport type ThreadMessageLike = {\n readonly role: \"assistant\" | \"user\" | \"system\";\n readonly content: string | readonly (TextMessagePart | ReasoningMessagePart | SourceMessagePart | ImageMessagePart | FileMessagePart | DataMessagePart | Unstable_AudioMessagePart | {\n readonly type: \"tool-call\";\n readonly toolCallId?: string;\n readonly toolName: string;\n readonly args?: ReadonlyJSONObject;\n readonly argsText?: string;\n readonly artifact?: any;\n readonly result?: any | undefined;\n readonly isError?: boolean | undefined;\n readonly parentId?: string | undefined;\n readonly messages?: readonly ThreadMessage[] | undefined;\n })[];\n readonly id?: string | undefined;\n readonly createdAt?: Date | undefined;\n readonly status?: MessageStatus | undefined;\n readonly attachments?: readonly CompleteAttachment[] | undefined;\n readonly metadata?: {\n readonly unstable_state?: ReadonlyJSONValue;\n readonly unstable_annotations?: readonly ReadonlyJSONValue[] | undefined;\n readonly unstable_data?: readonly ReadonlyJSONValue[] | undefined;\n readonly steps?: readonly ThreadStep[] | undefined;\n readonly submittedFeedback?: {\n readonly type: \"positive\" | \"negative\";\n };\n readonly custom?: Record<string, unknown> | undefined;\n } | undefined;\n};\nexport declare const fromThreadMessageLike: (like: ThreadMessageLike, fallbackId: string, fallbackStatus: MessageStatus) => ThreadMessage;\n//# sourceMappingURL=ThreadMessageLike.d.ts.map","import type { AppendMessage, ThreadMessage } from \"../../../types/index.js\";\nimport type { AttachmentAdapter } from \"../adapters/attachment/index.js\";\nimport type { AddToolResultOptions, ResumeRunConfig, StartRunConfig, ThreadSuggestion } from \"../core/ThreadRuntimeCore.js\";\nimport type { FeedbackAdapter } from \"../adapters/feedback/FeedbackAdapter.js\";\nimport type { SpeechSynthesisAdapter, DictationAdapter } from \"../adapters/speech/SpeechAdapterTypes.js\";\nimport type { ThreadMessageLike } from \"./ThreadMessageLike.js\";\nimport type { ExportedMessageRepository } from \"../utils/MessageRepository.js\";\nimport type { ReadonlyJSONValue } from \"assistant-stream/utils\";\nexport type ExternalStoreThreadData<TState extends \"regular\" | \"archived\"> = {\n status: TState;\n id: string;\n remoteId?: string | undefined;\n externalId?: string | undefined;\n title?: string | undefined;\n};\nexport type ExternalStoreThreadListAdapter = {\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n threadId?: string | undefined;\n isLoading?: boolean | undefined;\n threads?: readonly ExternalStoreThreadData<\"regular\">[] | undefined;\n archivedThreads?: readonly ExternalStoreThreadData<\"archived\">[] | undefined;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n onSwitchToNewThread?: (() => Promise<void> | void) | undefined;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n onSwitchToThread?: ((threadId: string) => Promise<void> | void) | undefined;\n onRename?: (threadId: string, newTitle: string) => (Promise<void> | void) | undefined;\n onArchive?: ((threadId: string) => Promise<void> | void) | undefined;\n onUnarchive?: ((threadId: string) => Promise<void> | void) | undefined;\n onDelete?: ((threadId: string) => Promise<void> | void) | undefined;\n};\nexport type ExternalStoreMessageConverter<T> = (message: T, idx: number) => ThreadMessageLike;\ntype ExternalStoreMessageConverterAdapter<T> = {\n convertMessage: ExternalStoreMessageConverter<T>;\n};\ntype ExternalStoreAdapterBase<T> = {\n isDisabled?: boolean | undefined;\n isRunning?: boolean | undefined;\n isLoading?: boolean | undefined;\n messages?: readonly T[];\n messageRepository?: ExportedMessageRepository;\n suggestions?: readonly ThreadSuggestion[] | undefined;\n state?: ReadonlyJSONValue | undefined;\n extras?: unknown;\n setMessages?: ((messages: readonly T[]) => void) | undefined;\n onImport?: ((messages: readonly ThreadMessage[]) => void) | undefined;\n onLoadExternalState?: ((state: any) => void) | undefined;\n onNew: (message: AppendMessage) => Promise<void>;\n onEdit?: ((message: AppendMessage) => Promise<void>) | undefined;\n onReload?: ((parentId: string | null, config: StartRunConfig) => Promise<void>) | undefined;\n onResume?: ((config: ResumeRunConfig) => Promise<void>) | undefined;\n onCancel?: (() => Promise<void>) | undefined;\n onAddToolResult?: ((options: AddToolResultOptions) => Promise<void> | void) | undefined;\n onResumeToolCall?: ((options: {\n toolCallId: string;\n payload: unknown;\n }) => void) | undefined;\n convertMessage?: ExternalStoreMessageConverter<T> | undefined;\n adapters?: {\n attachments?: AttachmentAdapter | undefined;\n speech?: SpeechSynthesisAdapter | undefined;\n dictation?: DictationAdapter | undefined;\n feedback?: FeedbackAdapter | undefined;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n threadList?: ExternalStoreThreadListAdapter | undefined;\n } | undefined;\n unstable_capabilities?: {\n copy?: boolean | undefined;\n } | undefined;\n};\nexport type ExternalStoreAdapter<T = ThreadMessage> = ExternalStoreAdapterBase<T> & (T extends ThreadMessage ? object : ExternalStoreMessageConverterAdapter<T>);\nexport {};\n//# sourceMappingURL=ExternalStoreAdapter.d.ts.map","import { ExternalStoreAdapter } from \"./ExternalStoreAdapter.js\";\nimport { AssistantRuntime } from \"../../runtime/AssistantRuntime.js\";\nexport declare const useExternalStoreRuntime: <T>(store: ExternalStoreAdapter<T>) => AssistantRuntime;\n//# sourceMappingURL=useExternalStoreRuntime.d.ts.map","import type { ThreadMessage } from \"../../../types/index.js\";\nimport { RunConfig } from \"../../../types/AssistantTypes.js\";\nimport { ThreadMessageLike } from \"../external-store/index.js\";\n/**\n * Represents a message item that can be exported from the repository.\n */\nexport type ExportedMessageRepositoryItem = {\n /** The message data */\n message: ThreadMessage;\n /** ID of the parent message, or null for root messages */\n parentId: string | null;\n /** The run configuration for the message */\n runConfig?: RunConfig;\n};\n/**\n * Represents the entire repository state for export/import.\n */\nexport type ExportedMessageRepository = {\n /** ID of the head message, or null/undefined if no head */\n headId?: string | null;\n /** Array of all messages with their parent references */\n messages: Array<{\n message: ThreadMessage;\n parentId: string | null;\n runConfig?: RunConfig;\n }>;\n};\n/**\n * Utility functions for working with exported message repositories.\n */\nexport declare const ExportedMessageRepository: {\n /**\n * Converts an array of messages to an ExportedMessageRepository format.\n * Creates parent-child relationships based on the order of messages in the array.\n *\n * @param messages - Array of message-like objects to convert\n * @returns ExportedMessageRepository with parent-child relationships established\n */\n fromArray: (messages: readonly ThreadMessageLike[]) => ExportedMessageRepository;\n};\n/**\n * A repository that manages a tree of messages with branching capabilities.\n * Supports operations like adding, updating, and deleting messages, as well as\n * managing multiple conversation branches.\n */\nexport declare class MessageRepository {\n /** Map of message IDs to repository message objects */\n private messages;\n /** Reference to the current head (most recent) message in the active branch */\n private head;\n /** Root node of the tree structure */\n private root;\n /**\n * Recursively updates the level of a message and all its descendants.\n *\n * @param message - The message to update\n * @param newLevel - The new level for the message\n */\n private updateLevels;\n /**\n * Performs link/unlink operations between messages in the tree.\n *\n * @param newParent - The new parent message, or null\n * @param child - The child message to operate on\n * @param operation - The type of operation to perform:\n * - \"cut\": Remove the child from its current parent\n * - \"link\": Add the child to a new parent\n * - \"relink\": Both cut and link operations\n */\n private performOp;\n /** Cached array of messages in the current active branch, from root to head */\n private _messages;\n /**\n * Gets the ID of the current head message.\n * @returns The ID of the head message, or null if no messages exist\n */\n get headId(): string | null;\n /**\n * Gets all messages in the current active branch, from root to head.\n * @param headId - Optional ID of the head message to get messages for. If not provided, uses the current head.\n * @returns Array of messages in the specified branch\n */\n getMessages(headId?: string): readonly ThreadMessage[];\n /**\n * Adds a new message or updates an existing one in the repository.\n * If the message ID already exists, the message is updated and potentially relinked to a new parent.\n * If the message is new, it's added as a child of the specified parent.\n *\n * @param parentId - ID of the parent message, or null for root messages\n * @param message - The message to add or update\n * @throws Error if the parent message is not found\n */\n addOrUpdateMessage(parentId: string | null, message: ThreadMessage): void;\n /**\n * Gets a message and its parent ID by message ID.\n *\n * @param messageId - ID of the message to retrieve\n * @returns Object containing the message and its parent ID\n * @throws Error if the message is not found\n */\n getMessage(messageId: string): {\n parentId: string | null;\n message: ThreadMessage;\n index: number;\n };\n /**\n * Adds an optimistic message to the repository.\n * An optimistic message is a temporary placeholder that will be replaced by a real message later.\n *\n * @param parentId - ID of the parent message, or null for root messages\n * @param message - The core message to convert to an optimistic message\n * @returns The generated optimistic ID\n */\n appendOptimisticMessage(parentId: string | null, message: ThreadMessageLike): string;\n /**\n * Deletes a message from the repository and relinks its children.\n *\n * @param messageId - ID of the message to delete\n * @param replacementId - Optional ID of the message to become the new parent of the children,\n * undefined means use the deleted message's parent,\n * null means use the root\n * @throws Error if the message or replacement is not found\n */\n deleteMessage(messageId: string, replacementId?: string | null | undefined): void;\n /**\n * Gets all branch IDs (sibling messages) at the level of a specified message.\n *\n * @param messageId - ID of the message to find branches for\n * @returns Array of message IDs representing branches\n * @throws Error if the message is not found\n */\n getBranches(messageId: string): string[];\n /**\n * Switches the active branch to the one containing the specified message.\n *\n * @param messageId - ID of the message in the branch to switch to\n * @throws Error if the branch is not found\n */\n switchToBranch(messageId: string): void;\n /**\n * Resets the head to a specific message or null.\n *\n * @param messageId - ID of the message to set as head, or null to clear the head\n * @throws Error if the message is not found\n */\n resetHead(messageId: string | null): void;\n /**\n * Clears all messages from the repository.\n */\n clear(): void;\n /**\n * Exports the repository state for persistence.\n *\n * @returns Exportable repository state\n */\n export(): ExportedMessageRepository;\n /**\n * Imports repository state from an exported repository.\n *\n * @param repository - The exported repository state to import\n */\n import({ headId, messages }: ExportedMessageRepository): void;\n}\n//# sourceMappingURL=MessageRepository.d.ts.map","import type { Attachment, PendingAttachment, Unsubscribe } from \"../../../types/index.js\";\nimport type { MessageRole, RunConfig } from \"../../../types/AssistantTypes.js\";\nimport type { DictationAdapter } from \"../adapters/speech/SpeechAdapterTypes.js\";\nexport type ComposerRuntimeEventType = \"send\" | \"attachment-add\";\n/**\n * State representing an active dictation session.\n */\nexport type DictationState = {\n readonly status: DictationAdapter.Status;\n /**\n * The current interim (partial) transcript being recognized.\n * This is a preview of what the user is saying and may change\n * as dictation refines its prediction.\n *\n * Note: By default, interim transcripts are shown directly in the composer\n * input field (like native dictation). This property is provided for\n * advanced customization when you want to display or style the interim\n * transcript separately.\n */\n readonly transcript?: string;\n /** Whether text input is disabled during this dictation session. */\n readonly inputDisabled?: boolean;\n};\nexport type ComposerRuntimeCore = Readonly<{\n isEditing: boolean;\n canCancel: boolean;\n isEmpty: boolean;\n attachments: readonly Attachment[];\n attachmentAccept: string;\n addAttachment: (file: File) => Promise<void>;\n removeAttachment: (attachmentId: string) => Promise<void>;\n text: string;\n setText: (value: string) => void;\n role: MessageRole;\n setRole: (role: MessageRole) => void;\n runConfig: RunConfig;\n setRunConfig: (runConfig: RunConfig) => void;\n reset: () => Promise<void>;\n clearAttachments: () => Promise<void>;\n send: () => void;\n cancel: () => void;\n /**\n * The current state of dictation.\n * Undefined when dictation is not active.\n */\n dictation: DictationState | undefined;\n /**\n * Start dictation to convert voice to text input.\n * Requires a DictationAdapter to be configured.\n */\n startDictation: () => void;\n /**\n * Stop the current dictation session.\n */\n stopDictation: () => void;\n subscribe: (callback: () => void) => Unsubscribe;\n unstable_on: (event: ComposerRuntimeEventType, callback: () => void) => Unsubscribe;\n}>;\nexport type ThreadComposerRuntimeCore = ComposerRuntimeCore & Readonly<{\n attachments: readonly PendingAttachment[];\n}>;\n//# sourceMappingURL=ComposerRuntimeCore.d.ts.map","import type { ReadonlyJSONValue } from \"assistant-stream/utils\";\nimport { ModelContext } from \"../../../model-context/index.js\";\nimport { AppendMessage, ThreadMessage } from \"../../../types/index.js\";\nimport { RunConfig } from \"../../../types/AssistantTypes.js\";\nimport type { Unsubscribe } from \"../../../types/Unsubscribe.js\";\nimport { SpeechSynthesisAdapter } from \"../adapters/speech/SpeechAdapterTypes.js\";\nimport { ChatModelRunOptions, ChatModelRunResult } from \"../local/index.js\";\nimport { ExportedMessageRepository } from \"../utils/MessageRepository.js\";\nimport { ThreadMessageLike } from \"../external-store/index.js\";\nimport { ComposerRuntimeCore, ThreadComposerRuntimeCore } from \"./ComposerRuntimeCore.js\";\nexport type RuntimeCapabilities = {\n readonly switchToBranch: boolean;\n readonly switchBranchDuringRun: boolean;\n readonly edit: boolean;\n readonly reload: boolean;\n readonly cancel: boolean;\n readonly unstable_copy: boolean;\n readonly speech: boolean;\n readonly dictation: boolean;\n readonly attachments: boolean;\n readonly feedback: boolean;\n};\nexport type AddToolResultOptions = {\n messageId: string;\n toolName: string;\n toolCallId: string;\n result: ReadonlyJSONValue;\n isError: boolean;\n artifact?: ReadonlyJSONValue | undefined;\n};\nexport type ResumeToolCallOptions = {\n toolCallId: string;\n payload: unknown;\n};\nexport type SubmitFeedbackOptions = {\n messageId: string;\n type: \"negative\" | \"positive\";\n};\nexport type ThreadSuggestion = {\n prompt: string;\n};\nexport type SpeechState = {\n readonly messageId: string;\n readonly status: SpeechSynthesisAdapter.Status;\n};\nexport type SubmittedFeedback = {\n readonly type: \"negative\" | \"positive\";\n};\nexport type ThreadRuntimeEventType = \"run-start\" | \"run-end\" | \"initialize\" | \"model-context-update\";\nexport type StartRunConfig = {\n parentId: string | null;\n sourceId: string | null;\n runConfig: RunConfig;\n};\nexport type ResumeRunConfig = StartRunConfig & {\n stream?: (options: ChatModelRunOptions) => AsyncGenerator<ChatModelRunResult, void, unknown>;\n};\nexport type ThreadRuntimeCore = Readonly<{\n getMessageById: (messageId: string) => {\n parentId: string | null;\n message: ThreadMessage;\n index: number;\n } | undefined;\n getBranches: (messageId: string) => readonly string[];\n switchToBranch: (branchId: string) => void;\n append: (message: AppendMessage) => void;\n startRun: (config: StartRunConfig) => void;\n resumeRun: (config: ResumeRunConfig) => void;\n cancelRun: () => void;\n addToolResult: (options: AddToolResultOptions) => void;\n resumeToolCall: (options: ResumeToolCallOptions) => void;\n speak: (messageId: string) => void;\n stopSpeaking: () => void;\n submitFeedback: (feedback: SubmitFeedbackOptions) => void;\n getModelContext: () => ModelContext;\n composer: ThreadComposerRuntimeCore;\n getEditComposer: (messageId: string) => ComposerRuntimeCore | undefined;\n beginEdit: (messageId: string) => void;\n speech: SpeechState | undefined;\n capabilities: Readonly<RuntimeCapabilities>;\n isDisabled: boolean;\n isLoading: boolean;\n messages: readonly ThreadMessage[];\n state: ReadonlyJSONValue;\n suggestions: readonly ThreadSuggestion[];\n extras: unknown;\n subscribe: (callback: () => void) => Unsubscribe;\n import(repository: ExportedMessageRepository): void;\n export(): ExportedMessageRepository;\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n unstable_on(event: ThreadRuntimeEventType, callback: () => void): Unsubscribe;\n unstable_loadExternalState: (state: any) => void;\n}>;\n//# sourceMappingURL=ThreadRuntimeCore.d.ts.map","export type ThreadListItemRuntimePath = {\n readonly ref: string;\n readonly threadSelector: {\n readonly type: \"main\";\n } | {\n readonly type: \"index\";\n readonly index: number;\n } | {\n readonly type: \"archiveIndex\";\n readonly index: number;\n } | {\n readonly type: \"threadId\";\n readonly threadId: string;\n };\n};\nexport type ThreadRuntimePath = {\n readonly ref: string;\n readonly threadSelector: {\n readonly type: \"main\";\n } | {\n readonly type: \"threadId\";\n readonly threadId: string;\n };\n};\nexport type MessageRuntimePath = ThreadRuntimePath & {\n readonly messageSelector: {\n readonly type: \"messageId\";\n readonly messageId: string;\n } | {\n readonly type: \"index\";\n readonly index: number;\n };\n};\nexport type MessagePartRuntimePath = MessageRuntimePath & {\n readonly messagePartSelector: {\n readonly type: \"index\";\n readonly index: number;\n } | {\n readonly type: \"toolCallId\";\n readonly toolCallId: string;\n };\n};\nexport type AttachmentRuntimePath = ((MessageRuntimePath & {\n readonly attachmentSource: \"message\" | \"edit-composer\";\n}) | (ThreadRuntimePath & {\n readonly attachmentSource: \"thread-composer\";\n})) & {\n readonly attachmentSelector: {\n readonly type: \"index\";\n readonly index: number;\n } | {\n readonly type: \"index\";\n readonly index: number;\n } | {\n readonly type: \"index\";\n readonly index: number;\n };\n};\nexport type ComposerRuntimePath = (ThreadRuntimePath & {\n readonly composerSource: \"thread\";\n}) | (MessageRuntimePath & {\n readonly composerSource: \"edit\";\n});\n//# sourceMappingURL=RuntimePathTypes.d.ts.map","import type { ComposerRuntimeCore, ThreadComposerRuntimeCore } from \"../runtime-cores/core/ComposerRuntimeCore.js\";\nimport type { ThreadRuntimeCore } from \"../runtime-cores/core/ThreadRuntimeCore.js\";\nimport type { ThreadListRuntimeCore } from \"../runtime-cores/core/ThreadListRuntimeCore.js\";\nimport type { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport type { ThreadMessage } from \"../../types/index.js\";\nimport type { SpeechState, SubmittedFeedback } from \"../runtime-cores/core/ThreadRuntimeCore.js\";\nimport type { ComposerRuntimePath, ThreadRuntimePath, ThreadListItemRuntimePath, MessageRuntimePath } from \"./RuntimePathTypes.js\";\nexport type ComposerRuntimeCoreBinding = SubscribableWithState<ComposerRuntimeCore | undefined, ComposerRuntimePath>;\nexport type ThreadComposerRuntimeCoreBinding = SubscribableWithState<ThreadComposerRuntimeCore | undefined, ComposerRuntimePath & {\n composerSource: \"thread\";\n}>;\nexport type EditComposerRuntimeCoreBinding = SubscribableWithState<ComposerRuntimeCore | undefined, ComposerRuntimePath & {\n composerSource: \"edit\";\n}>;\nexport type ThreadRuntimeCoreBinding = SubscribableWithState<ThreadRuntimeCore, ThreadRuntimePath>;\nexport type ThreadListRuntimeCoreBinding = SubscribableWithState<ThreadListRuntimeCore, ThreadListItemRuntimePath>;\nexport type MessageStateBinding = SubscribableWithState<ThreadMessage & {\n readonly parentId: string | null;\n /** The position of this message in the thread (0 for first message) */\n readonly index: number;\n readonly isLast: boolean;\n readonly branchNumber: number;\n readonly branchCount: number;\n readonly speech: SpeechState | undefined;\n /** @deprecated Use `message.metadata.submittedFeedback` instead. This will be removed in 0.12.0. */\n readonly submittedFeedback: SubmittedFeedback | undefined;\n}, MessageRuntimePath>;\nexport type ThreadListItemStatus = \"archived\" | \"regular\" | \"new\" | \"deleted\";\nexport type ThreadListItemState = {\n readonly isMain: boolean;\n readonly id: string;\n readonly remoteId: string | undefined;\n readonly externalId: string | undefined;\n /**\n * @deprecated Use `id` instead. This field will be removed in version 0.12.0.\n */\n readonly threadId: string;\n readonly status: ThreadListItemStatus;\n readonly title?: string | undefined;\n};\n//# sourceMappingURL=RuntimeBindings.d.ts.map","import { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport type { ComposerRuntimeCoreBinding } from \"./RuntimeBindings.js\";\nimport { Attachment, CompleteAttachment, PendingAttachment, Unsubscribe } from \"../../types/index.js\";\nimport { AttachmentRuntimePath } from \"./RuntimePathTypes.js\";\ntype MessageAttachmentState = CompleteAttachment & {\n readonly source: \"message\";\n};\ntype ThreadComposerAttachmentState = PendingAttachment & {\n readonly source: \"thread-composer\";\n};\ntype EditComposerAttachmentState = Attachment & {\n readonly source: \"edit-composer\";\n};\nexport type AttachmentState = ThreadComposerAttachmentState | EditComposerAttachmentState | MessageAttachmentState;\ntype AttachmentSnapshotBinding<Source extends AttachmentRuntimeSource> = SubscribableWithState<AttachmentState & {\n source: Source;\n}, AttachmentRuntimePath & {\n attachmentSource: Source;\n}>;\ntype AttachmentRuntimeSource = AttachmentState[\"source\"];\nexport type AttachmentRuntime<TSource extends AttachmentRuntimeSource = AttachmentRuntimeSource> = {\n readonly path: AttachmentRuntimePath & {\n attachmentSource: TSource;\n };\n readonly source: TSource;\n getState(): AttachmentState & {\n source: TSource;\n };\n remove(): Promise<void>;\n subscribe(callback: () => void): Unsubscribe;\n};\nexport declare abstract class AttachmentRuntimeImpl<Source extends AttachmentRuntimeSource = AttachmentRuntimeSource> implements AttachmentRuntime {\n private _core;\n get path(): AttachmentRuntimePath & {\n attachmentSource: Source;\n };\n abstract get source(): Source;\n constructor(_core: AttachmentSnapshotBinding<Source>);\n protected __internal_bindMethods(): void;\n getState(): AttachmentState & {\n source: Source;\n };\n abstract remove(): Promise<void>;\n subscribe(callback: () => void): Unsubscribe;\n}\ndeclare abstract class ComposerAttachmentRuntime<Source extends \"thread-composer\" | \"edit-composer\"> extends AttachmentRuntimeImpl<Source> {\n private _composerApi;\n constructor(core: AttachmentSnapshotBinding<Source>, _composerApi: ComposerRuntimeCoreBinding);\n remove(): Promise<void>;\n}\nexport declare class ThreadComposerAttachmentRuntimeImpl extends ComposerAttachmentRuntime<\"thread-composer\"> {\n get source(): \"thread-composer\";\n}\nexport declare class EditComposerAttachmentRuntimeImpl extends ComposerAttachmentRuntime<\"edit-composer\"> {\n get source(): \"edit-composer\";\n}\nexport declare class MessageAttachmentRuntimeImpl extends AttachmentRuntimeImpl<\"message\"> {\n get source(): \"message\";\n constructor(core: AttachmentSnapshotBinding<\"message\">);\n remove(): never;\n}\nexport {};\n//# sourceMappingURL=AttachmentRuntime.d.ts.map","import type { Attachment, PendingAttachment } from \"../../types/AttachmentTypes.js\";\nimport type { ComposerRuntimeEventType, DictationState } from \"../runtime-cores/core/ComposerRuntimeCore.js\";\nimport type { Unsubscribe } from \"../../types/index.js\";\nimport type { MessageRole, RunConfig } from \"../../types/AssistantTypes.js\";\nimport type { ThreadComposerRuntimeCoreBinding, EditComposerRuntimeCoreBinding, ComposerRuntimeCoreBinding } from \"./RuntimeBindings.js\";\nimport type { ComposerRuntimePath } from \"./RuntimePathTypes.js\";\nimport { type AttachmentRuntime, EditComposerAttachmentRuntimeImpl, ThreadComposerAttachmentRuntimeImpl } from \"./AttachmentRuntime.js\";\nexport type { ThreadComposerRuntimeCoreBinding, EditComposerRuntimeCoreBinding, ComposerRuntimeCoreBinding, };\ntype BaseComposerState = {\n readonly canCancel: boolean;\n readonly isEditing: boolean;\n readonly isEmpty: boolean;\n readonly text: string;\n readonly role: MessageRole;\n readonly attachments: readonly Attachment[];\n readonly runConfig: RunConfig;\n readonly attachmentAccept: string;\n /**\n * The current state of dictation.\n * Undefined when dictation is not active.\n */\n readonly dictation: DictationState | undefined;\n};\nexport type ThreadComposerState = BaseComposerState & {\n readonly type: \"thread\";\n readonly attachments: readonly PendingAttachment[];\n};\nexport type EditComposerState = BaseComposerState & {\n readonly type: \"edit\";\n};\nexport type ComposerState = ThreadComposerState | EditComposerState;\nexport type ComposerRuntime = {\n readonly path: ComposerRuntimePath;\n readonly type: \"edit\" | \"thread\";\n /**\n * Get the current state of the composer. Includes any data that has been added to the composer.\n */\n getState(): ComposerState;\n /**\n * Given a standard js File object, add it to the composer. A composer can have multiple attachments.\n * @param file The file to add to the composer.\n */\n addAttachment(file: File): Promise<void>;\n /**\n * Set the text of the composer.\n * @param text The text to set in the composer.\n */\n setText(text: string): void;\n /**\n * Set the role of the composer. For instance, if you'd like a specific message to have the 'assistant' role, you can do so here.\n * @param role The role to set in the composer.\n */\n setRole(role: MessageRole): void;\n /**\n * Set the run config of the composer. This is used to send custom configuration data to the model.\n * Within your backend, you can access this data using the `runConfig` object.\n * Example:\n * ```ts\n * composerRuntime.setRunConfig({\n * custom: { customField: \"customValue\" }\n * });\n * ```\n * @param runConfig The run config to set in the composer.\n */\n setRunConfig(runConfig: RunConfig): void;\n /**\n * Reset the composer. This will clear the entire state of the composer, including all text and attachments.\n */\n reset(): Promise<void>;\n /**\n * Clear all attachments from the composer.\n */\n clearAttachments(): Promise<void>;\n /**\n * Send a message. This will send whatever text or attachments are in the composer.\n */\n send(): void;\n /**\n * Cancel the current run. In edit mode, this will exit edit mode.\n */\n cancel(): void;\n /**\n * Listens for changes to the composer state.\n * @param callback The callback to call when the composer state changes.\n */\n subscribe(callback: () => void): Unsubscribe;\n /**\n * Get an attachment by index.\n * @param idx The index of the attachment to get.\n */\n getAttachmentByIndex(idx: number): AttachmentRuntime;\n /**\n * Start dictation to convert voice to text input.\n * Requires a DictationAdapter to be configured.\n */\n startDictation(): void;\n /**\n * Stop the current dictation session.\n */\n stopDictation(): void;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n unstable_on(event: ComposerRuntimeEventType, callback: () => void): Unsubscribe;\n};\nexport declare abstract class ComposerRuntimeImpl implements ComposerRuntime {\n protected _core: ComposerRuntimeCoreBinding;\n get path(): ComposerRuntimePath;\n abstract get type(): \"edit\" | \"thread\";\n constructor(_core: ComposerRuntimeCoreBinding);\n protected __internal_bindMethods(): void;\n abstract getState(): ComposerState;\n setText(text: string): void;\n setRunConfig(runConfig: RunConfig): void;\n addAttachment(file: File): Promise<void>;\n reset(): Promise<void>;\n clearAttachments(): Promise<void>;\n send(): void;\n cancel(): void;\n setRole(role: MessageRole): void;\n startDictation(): void;\n stopDictation(): void;\n subscribe(callback: () => void): Unsubscribe;\n private _eventSubscriptionSubjects;\n unstable_on(event: ComposerRuntimeEventType, callback: () => void): Unsubscribe;\n abstract getAttachmentByIndex(idx: number): AttachmentRuntime;\n}\nexport type ThreadComposerRuntime = Omit<ComposerRuntime, \"getState\" | \"getAttachmentByIndex\"> & {\n readonly path: ComposerRuntimePath & {\n composerSource: \"thread\";\n };\n readonly type: \"thread\";\n getState(): ThreadComposerState;\n getAttachmentByIndex(idx: number): AttachmentRuntime & {\n source: \"thread-composer\";\n };\n};\nexport declare class ThreadComposerRuntimeImpl extends ComposerRuntimeImpl implements ThreadComposerRuntime {\n get path(): ComposerRuntimePath & {\n composerSource: \"thread\";\n };\n get type(): \"thread\";\n private _getState;\n constructor(core: ThreadComposerRuntimeCoreBinding);\n getState(): ThreadComposerState;\n getAttachmentByIndex(idx: number): ThreadComposerAttachmentRuntimeImpl;\n}\nexport type EditComposerRuntime = Omit<ComposerRuntime, \"getState\" | \"getAttachmentByIndex\"> & {\n readonly path: ComposerRuntimePath & {\n composerSource: \"edit\";\n };\n readonly type: \"edit\";\n getState(): EditComposerState;\n beginEdit(): void;\n getAttachmentByIndex(idx: number): AttachmentRuntime & {\n source: \"edit-composer\";\n };\n};\nexport declare class EditComposerRuntimeImpl extends ComposerRuntimeImpl implements EditComposerRuntime {\n private _beginEdit;\n get path(): ComposerRuntimePath & {\n composerSource: \"edit\";\n };\n get type(): \"edit\";\n private _getState;\n constructor(core: EditComposerRuntimeCoreBinding, _beginEdit: () => void);\n __internal_bindMethods(): void;\n getState(): EditComposerState;\n beginEdit(): void;\n getAttachmentByIndex(idx: number): EditComposerAttachmentRuntimeImpl;\n}\n//# sourceMappingURL=ComposerRuntime.d.ts.map","import { SpeechState, SubmittedFeedback } from \"../runtime-cores/core/ThreadRuntimeCore.js\";\nimport { ThreadMessage, ThreadAssistantMessagePart, ThreadUserMessagePart, Unsubscribe } from \"../../types/index.js\";\nimport { RunConfig, ToolCallMessagePartStatus } from \"../../types/AssistantTypes.js\";\nimport { AttachmentRuntime, MessageAttachmentRuntimeImpl } from \"./AttachmentRuntime.js\";\nimport { EditComposerRuntime, EditComposerRuntimeImpl } from \"./ComposerRuntime.js\";\nimport { MessagePartRuntime, MessagePartRuntimeImpl } from \"./MessagePartRuntime.js\";\nimport { MessageRuntimePath } from \"./RuntimePathTypes.js\";\nimport { ThreadRuntimeCoreBinding } from \"./ThreadRuntime.js\";\nimport type { MessageStateBinding } from \"./RuntimeBindings.js\";\nexport declare const toMessagePartStatus: (message: ThreadMessage, partIndex: number, part: ThreadUserMessagePart | ThreadAssistantMessagePart) => ToolCallMessagePartStatus;\nexport type MessageState = ThreadMessage & {\n readonly parentId: string | null;\n /** The position of this message in the thread (0 for first message) */\n readonly index: number;\n readonly isLast: boolean;\n readonly branchNumber: number;\n readonly branchCount: number;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n readonly speech: SpeechState | undefined;\n /**\n * @deprecated Use `message.metadata.submittedFeedback` instead. This will be removed in 0.12.0.\n */\n readonly submittedFeedback: SubmittedFeedback | undefined;\n};\nexport type { MessageStateBinding } from \"./RuntimeBindings.js\";\ntype ReloadConfig = {\n runConfig?: RunConfig;\n};\nexport type MessageRuntime = {\n readonly path: MessageRuntimePath;\n readonly composer: EditComposerRuntime;\n getState(): MessageState;\n reload(config?: ReloadConfig): void;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n speak(): void;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n stopSpeaking(): void;\n submitFeedback({ type }: {\n type: \"positive\" | \"negative\";\n }): void;\n switchToBranch({ position, branchId, }: {\n position?: \"previous\" | \"next\" | undefined;\n branchId?: string | undefined;\n }): void;\n unstable_getCopyText(): string;\n subscribe(callback: () => void): Unsubscribe;\n getMessagePartByIndex(idx: number): MessagePartRuntime;\n getMessagePartByToolCallId(toolCallId: string): MessagePartRuntime;\n getAttachmentByIndex(idx: number): AttachmentRuntime & {\n source: \"message\";\n };\n};\nexport declare class MessageRuntimeImpl implements MessageRuntime {\n private _core;\n private _threadBinding;\n get path(): MessageRuntimePath;\n constructor(_core: MessageStateBinding, _threadBinding: ThreadRuntimeCoreBinding);\n protected __internal_bindMethods(): void;\n readonly composer: EditComposerRuntimeImpl;\n private _getEditComposerRuntimeCore;\n getState(): ThreadMessage & {\n readonly parentId: string | null;\n readonly index: number;\n readonly isLast: boolean;\n readonly branchNumber: number;\n readonly branchCount: number;\n readonly speech: SpeechState | undefined;\n readonly submittedFeedback: SubmittedFeedback | undefined;\n };\n reload(reloadConfig?: ReloadConfig): void;\n speak(): void;\n stopSpeaking(): void;\n submitFeedback({ type }: {\n type: \"positive\" | \"negative\";\n }): void;\n switchToBranch({ position, branchId, }: {\n position?: \"previous\" | \"next\" | undefined;\n branchId?: string | undefined;\n }): void;\n unstable_getCopyText(): string;\n subscribe(callback: () => void): Unsubscribe;\n getMessagePartByIndex(idx: number): MessagePartRuntimeImpl;\n getMessagePartByToolCallId(toolCallId: string): MessagePartRuntimeImpl;\n getAttachmentByIndex(idx: number): MessageAttachmentRuntimeImpl;\n}\n//# sourceMappingURL=MessageRuntime.d.ts.map","import { ThreadSuggestion, RuntimeCapabilities, ThreadRuntimeCore, SpeechState, ThreadRuntimeEventType, StartRunConfig, ResumeRunConfig } from \"../runtime-cores/core/ThreadRuntimeCore.js\";\nimport { ExportedMessageRepository } from \"../runtime-cores/utils/MessageRepository.js\";\nimport { AppendMessage, ThreadMessage, Unsubscribe } from \"../../types/index.js\";\nimport { ThreadMessageLike } from \"../runtime-cores/external-store/index.js\";\nimport { MessageRuntime, MessageRuntimeImpl } from \"./MessageRuntime.js\";\nimport { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport { ThreadComposerRuntime, ThreadComposerRuntimeImpl } from \"./ComposerRuntime.js\";\nimport { ThreadListItemRuntimePath, ThreadRuntimePath } from \"./RuntimePathTypes.js\";\nimport type { ThreadListItemState } from \"./RuntimeBindings.js\";\nimport { RunConfig } from \"../../types/AssistantTypes.js\";\nimport { ModelContext } from \"../../model-context/index.js\";\nimport { ChatModelRunOptions, ChatModelRunResult } from \"../runtime-cores/index.js\";\nimport { ReadonlyJSONValue } from \"assistant-stream/utils\";\nexport type CreateStartRunConfig = {\n parentId: string | null;\n sourceId?: string | null | undefined;\n runConfig?: RunConfig | undefined;\n};\nexport type CreateResumeRunConfig = CreateStartRunConfig & {\n stream?: (options: ChatModelRunOptions) => AsyncGenerator<ChatModelRunResult, void, unknown>;\n};\nexport type CreateAppendMessage = string | {\n parentId?: string | null | undefined;\n sourceId?: string | null | undefined;\n role?: AppendMessage[\"role\"] | undefined;\n content: AppendMessage[\"content\"];\n attachments?: AppendMessage[\"attachments\"] | undefined;\n metadata?: AppendMessage[\"metadata\"] | undefined;\n createdAt?: Date | undefined;\n runConfig?: AppendMessage[\"runConfig\"] | undefined;\n startRun?: boolean | undefined;\n};\nexport type ThreadRuntimeCoreBinding = SubscribableWithState<ThreadRuntimeCore, ThreadRuntimePath> & {\n outerSubscribe(callback: () => void): Unsubscribe;\n};\nexport type ThreadListItemRuntimeBinding = SubscribableWithState<ThreadListItemState, ThreadListItemRuntimePath>;\nexport type ThreadState = {\n /**\n * The thread ID.\n * @deprecated This field is deprecated and will be removed in 0.12.0. Use `useThreadListItem().id` instead.\n */\n readonly threadId: string;\n /**\n * The thread metadata.\n *\n * @deprecated Use `useThreadListItem()` instead. This field is deprecated and will be removed in 0.12.0.\n */\n readonly metadata: ThreadListItemState;\n /**\n * Whether the thread is disabled. Disabled threads cannot receive new messages.\n */\n readonly isDisabled: boolean;\n /**\n * Whether the thread is loading its history.\n */\n readonly isLoading: boolean;\n /**\n * Whether the thread is running. A thread is considered running when there is an active stream connection to the backend.\n */\n readonly isRunning: boolean;\n /**\n * The capabilities of the thread, such as whether the thread supports editing, branch switching, etc.\n */\n readonly capabilities: RuntimeCapabilities;\n /**\n * The messages in the currently selected branch of the thread.\n */\n readonly messages: readonly ThreadMessage[];\n /**\n * The thread state.\n *\n * @deprecated This feature is experimental\n */\n readonly state: ReadonlyJSONValue;\n /**\n * Follow up message suggestions to show the user.\n */\n readonly suggestions: readonly ThreadSuggestion[];\n /**\n * Custom extra information provided by the runtime.\n */\n readonly extras: unknown;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n readonly speech: SpeechState | undefined;\n};\nexport declare const getThreadState: (runtime: ThreadRuntimeCore, threadListItemState: ThreadListItemState) => ThreadState;\nexport type ThreadRuntime = {\n /**\n * The selector for the thread runtime.\n */\n readonly path: ThreadRuntimePath;\n /**\n * The thread composer runtime.\n */\n readonly composer: ThreadComposerRuntime;\n /**\n * Gets a snapshot of the thread state.\n */\n getState(): ThreadState;\n /**\n * Append a new message to the thread.\n *\n * @example ```ts\n * // append a new user message with the text \"Hello, world!\"\n * threadRuntime.append(\"Hello, world!\");\n * ```\n *\n * @example ```ts\n * // append a new assistant message with the text \"Hello, world!\"\n * threadRuntime.append({\n * role: \"assistant\",\n * content: [{ type: \"text\", text: \"Hello, world!\" }],\n * });\n * ```\n */\n append(message: CreateAppendMessage): void;\n /**\n * @deprecated pass an object with `parentId` instead. This will be removed in 0.12.0.\n */\n startRun(parentId: string | null): void;\n /**\n * Start a new run with the given configuration.\n * @param config The configuration for starting the run\n */\n startRun(config: CreateStartRunConfig): void;\n /**\n * Resume a run with the given configuration.\n * @param config The configuration for resuming the run\n **/\n unstable_resumeRun(config: CreateResumeRunConfig): void;\n /**\n * Load external state into the thread.\n * @param state The state to load into the thread\n */\n unstable_loadExternalState(state: any): void;\n subscribe(callback: () => void): Unsubscribe;\n cancelRun(): void;\n getModelContext(): ModelContext;\n /**\n * @deprecated This method was renamed to `getModelContext`.\n */\n getModelConfig(): ModelContext;\n export(): ExportedMessageRepository;\n import(repository: ExportedMessageRepository): void;\n /**\n * Reset the thread with optional initial messages.\n *\n * @param initialMessages - Optional array of initial messages to populate the thread\n */\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n getMessageByIndex(idx: number): MessageRuntime;\n getMessageById(messageId: string): MessageRuntime;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n stopSpeaking(): void;\n unstable_on(event: ThreadRuntimeEventType, callback: () => void): Unsubscribe;\n};\nexport declare class ThreadRuntimeImpl implements ThreadRuntime {\n get path(): ThreadRuntimePath;\n get __internal_threadBinding(): import(\"./subscribable/Subscribable\").Subscribable & {\n path: ThreadRuntimePath;\n getState: () => Readonly<{\n getMessageById: (messageId: string) => {\n parentId: string | null;\n message: ThreadMessage;\n index: number;\n } | undefined;\n getBranches: (messageId: string) => readonly string[];\n switchToBranch: (branchId: string) => void;\n append: (message: AppendMessage) => void;\n startRun: (config: StartRunConfig) => void;\n resumeRun: (config: ResumeRunConfig) => void;\n cancelRun: () => void;\n addToolResult: (options: import(\"../runtime-cores\").AddToolResultOptions) => void;\n resumeToolCall: (options: import(\"../runtime-cores/core/ThreadRuntimeCore\").ResumeToolCallOptions) => void;\n speak: (messageId: string) => void;\n stopSpeaking: () => void;\n submitFeedback: (feedback: import(\"../runtime-cores\").SubmitFeedbackOptions) => void;\n getModelContext: () => ModelContext;\n composer: import(\"../runtime-cores/core/ComposerRuntimeCore\").ThreadComposerRuntimeCore;\n getEditComposer: (messageId: string) => Readonly<{\n isEditing: boolean;\n canCancel: boolean;\n isEmpty: boolean;\n attachments: readonly import(\"../..\").Attachment[];\n attachmentAccept: string;\n addAttachment: (file: File) => Promise<void>;\n removeAttachment: (attachmentId: string) => Promise<void>;\n text: string;\n setText: (value: string) => void;\n role: import(\"../../types/AssistantTypes\").MessageRole;\n setRole: (role: import(\"../../types/AssistantTypes\").MessageRole) => void;\n runConfig: RunConfig;\n setRunConfig: (runConfig: RunConfig) => void;\n reset: () => Promise<void>;\n clearAttachments: () => Promise<void>;\n send: () => void;\n cancel: () => void;\n dictation: import(\"../runtime-cores\").DictationState | undefined;\n startDictation: () => void;\n stopDictation: () => void;\n subscribe: (callback: () => void) => Unsubscribe;\n unstable_on: (event: import(\"../runtime-cores/core/ComposerRuntimeCore\").ComposerRuntimeEventType, callback: () => void) => Unsubscribe;\n }> | undefined;\n beginEdit: (messageId: string) => void;\n speech: SpeechState | undefined;\n capabilities: Readonly<RuntimeCapabilities>;\n isDisabled: boolean;\n isLoading: boolean;\n messages: readonly ThreadMessage[];\n state: ReadonlyJSONValue;\n suggestions: readonly ThreadSuggestion[];\n extras: unknown;\n subscribe: (callback: () => void) => Unsubscribe;\n import(repository: ExportedMessageRepository): void;\n export(): ExportedMessageRepository;\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n unstable_on(event: ThreadRuntimeEventType, callback: () => void): Unsubscribe;\n unstable_loadExternalState: (state: any) => void;\n }>;\n } & {\n outerSubscribe(callback: () => void): Unsubscribe;\n } & {\n getStateState(): ThreadState;\n };\n private readonly _threadBinding;\n constructor(threadBinding: ThreadRuntimeCoreBinding, threadListItemBinding: ThreadListItemRuntimeBinding);\n protected __internal_bindMethods(): void;\n readonly composer: ThreadComposerRuntimeImpl;\n getState(): ThreadState;\n append(message: CreateAppendMessage): void;\n subscribe(callback: () => void): Unsubscribe;\n getModelContext(): ModelContext;\n getModelConfig(): ModelContext;\n startRun(configOrParentId: string | null | CreateStartRunConfig): void;\n unstable_resumeRun(config: CreateResumeRunConfig): void;\n unstable_loadExternalState(state: any): void;\n cancelRun(): void;\n stopSpeaking(): void;\n export(): ExportedMessageRepository;\n import(data: ExportedMessageRepository): void;\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n getMessageByIndex(idx: number): MessageRuntimeImpl;\n getMessageById(messageId: string): MessageRuntimeImpl;\n private _getMessageRuntime;\n private _eventSubscriptionSubjects;\n unstable_on(event: ThreadRuntimeEventType, callback: () => void): Unsubscribe;\n}\n//# sourceMappingURL=ThreadRuntime.d.ts.map","import { ThreadAssistantMessagePart, ThreadUserMessagePart, MessagePartStatus, ToolCallMessagePartStatus } from \"../../types/AssistantTypes.js\";\nimport { ThreadRuntimeCoreBinding } from \"./ThreadRuntime.js\";\nimport type { MessageStateBinding } from \"./RuntimeBindings.js\";\nimport { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport { Unsubscribe } from \"../../types/index.js\";\nimport { MessagePartRuntimePath } from \"./RuntimePathTypes.js\";\nimport { ToolResponse } from \"assistant-stream\";\nexport type MessagePartState = (ThreadUserMessagePart | ThreadAssistantMessagePart) & {\n readonly status: MessagePartStatus | ToolCallMessagePartStatus;\n};\ntype MessagePartSnapshotBinding = SubscribableWithState<MessagePartState, MessagePartRuntimePath>;\nexport type MessagePartRuntime = {\n /**\n * Add tool result to a tool call message part that has no tool result yet.\n * This is useful when you are collecting a tool result via user input (\"human tool calls\").\n */\n addToolResult(result: any | ToolResponse<any>): void;\n /**\n * Resume a tool call that is waiting for human input with a payload.\n * This is useful when a tool has requested human input and is waiting for a response.\n */\n resumeToolCall(payload: unknown): void;\n readonly path: MessagePartRuntimePath;\n getState(): MessagePartState;\n subscribe(callback: () => void): Unsubscribe;\n};\nexport declare class MessagePartRuntimeImpl implements MessagePartRuntime {\n private contentBinding;\n private messageApi?;\n private threadApi?;\n get path(): MessagePartRuntimePath;\n constructor(contentBinding: MessagePartSnapshotBinding, messageApi?: MessageStateBinding | undefined, threadApi?: ThreadRuntimeCoreBinding | undefined);\n protected __internal_bindMethods(): void;\n getState(): MessagePartState;\n addToolResult(result: any | ToolResponse<any>): void;\n resumeToolCall(payload: unknown): void;\n subscribe(callback: () => void): Unsubscribe;\n}\nexport {};\n//# sourceMappingURL=MessagePartRuntime.d.ts.map","import type { ComponentType, PropsWithChildren } from \"react\";\nimport type { MessagePartStatus, FileMessagePart, ImageMessagePart, ReasoningMessagePart, SourceMessagePart, TextMessagePart, ToolCallMessagePart, Unstable_AudioMessagePart } from \"./AssistantTypes.js\";\nimport { MessagePartState } from \"../legacy-runtime/runtime/MessagePartRuntime.js\";\nimport { ToolResponse } from \"assistant-stream\";\nexport type EmptyMessagePartProps = {\n status: MessagePartStatus;\n};\nexport type EmptyMessagePartComponent = ComponentType<EmptyMessagePartProps>;\nexport type TextMessagePartProps = MessagePartState & TextMessagePart;\nexport type TextMessagePartComponent = ComponentType<TextMessagePartProps>;\nexport type ReasoningMessagePartProps = MessagePartState & ReasoningMessagePart;\nexport type ReasoningMessagePartComponent = ComponentType<ReasoningMessagePartProps>;\nexport type ReasoningGroupProps = PropsWithChildren<{\n startIndex: number;\n endIndex: number;\n}>;\nexport type ReasoningGroupComponent = ComponentType<ReasoningGroupProps>;\nexport type SourceMessagePartProps = MessagePartState & SourceMessagePart;\nexport type SourceMessagePartComponent = ComponentType<SourceMessagePartProps>;\nexport type ImageMessagePartProps = MessagePartState & ImageMessagePart;\nexport type ImageMessagePartComponent = ComponentType<ImageMessagePartProps>;\nexport type FileMessagePartProps = MessagePartState & FileMessagePart;\nexport type FileMessagePartComponent = ComponentType<FileMessagePartProps>;\nexport type Unstable_AudioMessagePartProps = MessagePartState & Unstable_AudioMessagePart;\nexport type Unstable_AudioMessagePartComponent = ComponentType<Unstable_AudioMessagePartProps>;\nexport type ToolCallMessagePartProps<TArgs = any, TResult = unknown> = MessagePartState & ToolCallMessagePart<TArgs, TResult> & {\n addResult: (result: TResult | ToolResponse<TResult>) => void;\n resume: (payload: unknown) => void;\n};\nexport type ToolCallMessagePartComponent<TArgs = any, TResult = any> = ComponentType<ToolCallMessagePartProps<TArgs, TResult>>;\n//# sourceMappingURL=MessagePartComponentTypes.d.ts.map","import { ThreadListRuntimeCore } from \"../runtime-cores/core/ThreadListRuntimeCore.js\";\nimport { Unsubscribe } from \"../../types/index.js\";\nimport { ThreadListItemRuntime, ThreadListItemRuntimeImpl, ThreadListItemState } from \"./ThreadListItemRuntime.js\";\nimport { ThreadListItemRuntimeBinding, ThreadRuntime, ThreadRuntimeCoreBinding } from \"./ThreadRuntime.js\";\nexport type ThreadListState = {\n readonly mainThreadId: string;\n readonly newThread: string | undefined;\n readonly threads: readonly string[];\n readonly archivedThreads: readonly string[];\n readonly isLoading: boolean;\n readonly threadItems: Readonly<Record<string, Omit<ThreadListItemState, \"isMain\" | \"threadId\">>>;\n};\nexport type ThreadListRuntime = {\n getState(): ThreadListState;\n subscribe(callback: () => void): Unsubscribe;\n readonly main: ThreadRuntime;\n getById(threadId: string): ThreadRuntime;\n readonly mainItem: ThreadListItemRuntime;\n getItemById(threadId: string): ThreadListItemRuntime;\n getItemByIndex(idx: number): ThreadListItemRuntime;\n getArchivedItemByIndex(idx: number): ThreadListItemRuntime;\n switchToThread(threadId: string): Promise<void>;\n switchToNewThread(): Promise<void>;\n};\nexport type ThreadListRuntimeCoreBinding = ThreadListRuntimeCore;\nexport declare class ThreadListRuntimeImpl implements ThreadListRuntime {\n private _core;\n private _runtimeFactory;\n private _getState;\n constructor(_core: ThreadListRuntimeCoreBinding, _runtimeFactory?: new (binding: ThreadRuntimeCoreBinding, threadListItemBinding: ThreadListItemRuntimeBinding) => ThreadRuntime);\n protected __internal_bindMethods(): void;\n switchToThread(threadId: string): Promise<void>;\n switchToNewThread(): Promise<void>;\n getState(): ThreadListState;\n subscribe(callback: () => void): Unsubscribe;\n private _mainThreadListItemRuntime;\n readonly main: ThreadRuntime;\n get mainItem(): ThreadListItemRuntimeImpl;\n getById(threadId: string): ThreadRuntime;\n getItemByIndex(idx: number): ThreadListItemRuntimeImpl;\n getArchivedItemByIndex(idx: number): ThreadListItemRuntimeImpl;\n getItemById(threadId: string): ThreadListItemRuntimeImpl;\n}\n//# sourceMappingURL=ThreadListRuntime.d.ts.map","import { Unsubscribe } from \"../../types/index.js\";\nimport { ThreadListItemRuntimePath } from \"./RuntimePathTypes.js\";\nimport { SubscribableWithState } from \"./subscribable/Subscribable.js\";\nimport { ThreadListRuntimeCoreBinding } from \"./ThreadListRuntime.js\";\nexport type ThreadListItemEventType = \"switched-to\" | \"switched-away\";\nimport type { ThreadListItemState, ThreadListItemStatus } from \"./RuntimeBindings.js\";\nexport type { ThreadListItemState, ThreadListItemStatus };\nexport type ThreadListItemRuntime = {\n readonly path: ThreadListItemRuntimePath;\n getState(): ThreadListItemState;\n initialize(): Promise<{\n remoteId: string;\n externalId: string | undefined;\n }>;\n generateTitle(): Promise<void>;\n switchTo(): Promise<void>;\n rename(newTitle: string): Promise<void>;\n archive(): Promise<void>;\n unarchive(): Promise<void>;\n delete(): Promise<void>;\n /**\n * Detaches the ThreadListItem instance, unmounting the ThreadRuntime hook.\n */\n detach(): void;\n subscribe(callback: () => void): Unsubscribe;\n unstable_on(event: ThreadListItemEventType, callback: () => void): Unsubscribe;\n};\nexport type ThreadListItemStateBinding = SubscribableWithState<ThreadListItemState, ThreadListItemRuntimePath>;\nexport declare class ThreadListItemRuntimeImpl implements ThreadListItemRuntime {\n private _core;\n private _threadListBinding;\n get path(): ThreadListItemRuntimePath;\n constructor(_core: ThreadListItemStateBinding, _threadListBinding: ThreadListRuntimeCoreBinding);\n protected __internal_bindMethods(): void;\n getState(): ThreadListItemState;\n switchTo(): Promise<void>;\n rename(newTitle: string): Promise<void>;\n archive(): Promise<void>;\n unarchive(): Promise<void>;\n delete(): Promise<void>;\n initialize(): Promise<{\n remoteId: string;\n externalId: string | undefined;\n }>;\n generateTitle(): Promise<void>;\n unstable_on(event: ThreadListItemEventType, callback: () => void): Unsubscribe;\n subscribe(callback: () => void): Unsubscribe;\n detach(): void;\n}\n//# sourceMappingURL=ThreadListItemRuntime.d.ts.map","export type EventSource<T extends AssistantEvent = AssistantEvent> = T extends `${infer Source}.${string}` ? Source : never;\ntype ScopeConfig = {\n composer: \"thread\" | \"message\";\n thread: never;\n \"thread-list-item\": never;\n};\nexport type SourceByScope<TScope extends AssistantEventScope<AssistantEvent>> = (TScope extends \"*\" ? EventSource : never) | (TScope extends keyof ScopeConfig ? TScope : never) | {\n [K in keyof ScopeConfig]: TScope extends ScopeConfig[K] ? K : never;\n}[keyof ScopeConfig];\nexport type AssistantEventScope<TEvent extends AssistantEvent> = \"*\" | EventSource<TEvent> | ScopeConfig[EventSource<TEvent>];\nexport type AssistantEventSelector<TEvent extends AssistantEvent> = TEvent | {\n scope: AssistantEventScope<TEvent>;\n event: TEvent;\n};\nexport type AssistantEvent = keyof AssistantEventMap;\nexport type AssistantEventMap = {\n \"thread.run-start\": {\n threadId: string;\n };\n \"thread.run-end\": {\n threadId: string;\n };\n \"thread.initialize\": {\n threadId: string;\n };\n \"thread.model-context-update\": {\n threadId: string;\n };\n \"composer.send\": {\n threadId: string;\n messageId?: string;\n };\n \"composer.attachment-add\": {\n threadId: string;\n messageId?: string;\n };\n \"thread-list-item.switched-to\": {\n threadId: string;\n };\n \"thread-list-item.switched-away\": {\n threadId: string;\n };\n \"*\": {\n [K in Exclude<keyof AssistantEventMap, \"*\">]: {\n event: K;\n payload: AssistantEventMap[K];\n };\n }[Exclude<keyof AssistantEventMap, \"*\">];\n};\nexport declare const normalizeEventSelector: <TEvent extends AssistantEvent>(selector: AssistantEventSelector<TEvent>) => {\n scope: AssistantEventScope<TEvent>;\n event: TEvent;\n};\nexport declare const checkEventScope: <TEvent extends AssistantEvent, TExpectedScope extends AssistantEventScope<AssistantEvent>>(expectedScope: TExpectedScope, scope: AssistantEventScope<TEvent>, _event: TEvent) => _event is Extract<TEvent, `${SourceByScope<TExpectedScope>}.${string}`>;\nexport type AssistantEventCallback<TEvent extends AssistantEvent> = (payload: AssistantEventMap[TEvent]) => void;\nexport {};\n//# sourceMappingURL=EventTypes.d.ts.map","import { AssistantRuntimeCore } from \"../runtime-cores/core/AssistantRuntimeCore.js\";\nimport { ModelContextProvider } from \"../../model-context/ModelContextTypes.js\";\nimport { ThreadRuntime } from \"./ThreadRuntime.js\";\nimport { Unsubscribe } from \"../../types/index.js\";\nimport { ThreadListRuntime, ThreadListRuntimeImpl } from \"./ThreadListRuntime.js\";\nimport { ThreadMessageLike } from \"../runtime-cores/index.js\";\nexport type AssistantRuntime = {\n /**\n * The threads in this assistant.\n */\n readonly threads: ThreadListRuntime;\n /**\n * The currently selected main thread. Equivalent to `threads.main`.\n */\n readonly thread: ThreadRuntime;\n /**\n * @deprecated This field was renamed to `threads`.\n */\n readonly threadList: ThreadListRuntime;\n /**\n * Switch to a new thread.\n *\n * @deprecated This method was moved to `threads.switchToNewThread`.\n */\n switchToNewThread(): void;\n /**\n * Switch to a thread.\n *\n * @param threadId The thread ID to switch to.\n * @deprecated This method was moved to `threads.switchToThread`.\n */\n switchToThread(threadId: string): void;\n /**\n * Register a model context provider. Model context providers are configuration such as system message, temperature, etc. that are set in the frontend.\n *\n * @param provider The model context provider to register.\n */\n registerModelContextProvider(provider: ModelContextProvider): Unsubscribe;\n /**\n * @deprecated This method was renamed to `registerModelContextProvider`.\n */\n registerModelConfigProvider(provider: ModelContextProvider): Unsubscribe;\n /**\n * @deprecated Use `runtime.thread.reset(initialMessages)`.\n */\n reset: unknown;\n};\nexport declare class AssistantRuntimeImpl implements AssistantRuntime {\n private readonly _core;\n readonly threads: ThreadListRuntimeImpl;\n get threadList(): ThreadListRuntimeImpl;\n readonly _thread: ThreadRuntime;\n constructor(_core: AssistantRuntimeCore);\n protected __internal_bindMethods(): void;\n get thread(): ThreadRuntime;\n switchToNewThread(): Promise<void>;\n switchToThread(threadId: string): Promise<void>;\n registerModelContextProvider(provider: ModelContextProvider): Unsubscribe;\n registerModelConfigProvider(provider: ModelContextProvider): Unsubscribe;\n reset({ initialMessages, }?: {\n initialMessages?: ThreadMessageLike[];\n }): void;\n}\n//# sourceMappingURL=AssistantRuntime.d.ts.map","import { Attachment } from \"../../types/index.js\";\nexport type AttachmentClientState = Attachment;\nexport type AttachmentClientApi = {\n getState(): AttachmentClientState;\n remove(): Promise<void>;\n};\n//# sourceMappingURL=Attachment.d.ts.map","import type { DictationState } from \"../../legacy-runtime/runtime-cores/core/ComposerRuntimeCore.js\";\nimport type { Attachment } from \"../../types/index.js\";\nimport type { MessageRole, RunConfig } from \"../../types/AssistantTypes.js\";\nimport type { AttachmentClientApi } from \"./Attachment.js\";\nexport type ComposerClientState = {\n readonly text: string;\n readonly role: MessageRole;\n readonly attachments: readonly Attachment[];\n readonly runConfig: RunConfig;\n readonly isEditing: boolean;\n readonly canCancel: boolean;\n readonly attachmentAccept: string;\n readonly isEmpty: boolean;\n readonly type: \"thread\" | \"edit\";\n /**\n * The current state of dictation.\n * Undefined when dictation is not active.\n */\n readonly dictation: DictationState | undefined;\n};\nexport type ComposerClientApi = {\n getState(): ComposerClientState;\n setText(text: string): void;\n setRole(role: MessageRole): void;\n setRunConfig(runConfig: RunConfig): void;\n addAttachment(file: File): Promise<void>;\n clearAttachments(): Promise<void>;\n attachment(selector: {\n index: number;\n } | {\n id: string;\n }): AttachmentClientApi;\n reset(): Promise<void>;\n send(): void;\n cancel(): void;\n beginEdit(): void;\n /**\n * Start dictation to convert voice to text input.\n * Requires a DictationAdapter to be configured.\n */\n startDictation(): void;\n /**\n * Stop the current dictation session.\n */\n stopDictation(): void;\n};\n//# sourceMappingURL=Composer.d.ts.map","import { ToolResponse } from \"assistant-stream\";\nimport { ThreadUserMessagePart, ThreadAssistantMessagePart, MessagePartStatus, ToolCallMessagePartStatus } from \"../../types/index.js\";\nexport type MessagePartClientState = (ThreadUserMessagePart | ThreadAssistantMessagePart) & {\n readonly status: MessagePartStatus | ToolCallMessagePartStatus;\n};\nexport type MessagePartClientApi = {\n /**\n * Get the current state of the message part.\n */\n getState(): MessagePartClientState;\n /**\n * Add tool result to a tool call message part that has no tool result yet.\n * This is useful when you are collecting a tool result via user input (\"human tool calls\").\n */\n addToolResult(result: any | ToolResponse<any>): void;\n /**\n * Resume a tool call that is waiting for human input with a payload.\n * This is useful when a tool has requested human input and is waiting for a response.\n */\n resumeToolCall(payload: unknown): void;\n};\n//# sourceMappingURL=Part.d.ts.map","import { ComposerClientState, ComposerClientApi } from \"./Composer.js\";\nimport { MessagePartClientApi, MessagePartClientState } from \"./Part.js\";\nimport { SpeechState, SubmittedFeedback } from \"../../legacy-runtime/runtime-cores/core/ThreadRuntimeCore.js\";\nimport { ThreadMessage } from \"../../types/index.js\";\nimport { RunConfig } from \"../../types/AssistantTypes.js\";\nimport { AttachmentClientApi } from \"./Attachment.js\";\nexport type MessageClientState = ThreadMessage & {\n readonly parentId: string | null;\n readonly isLast: boolean;\n readonly branchNumber: number;\n readonly branchCount: number;\n /**\n * @deprecated The `speech` property is deprecated and will be removed in a future version.\n *\n * To enable text-to-speech, provide a `SpeechSynthesisAdapter` to the runtime.\n *\n * @example\n * ```ts\n * import { WebSpeechSynthesisAdapter } from \"@assistant-ui/react\";\n * import { useChatRuntime } from \"@assistant-ui/react-ai-sdk\";\n *\n * const runtime = useChatRuntime({\n * adapters: {\n * speech: new WebSpeechSynthesisAdapter(),\n * },\n * });\n * ```\n */\n readonly speech: SpeechState | undefined;\n /**\n * @deprecated Use `message.metadata.submittedFeedback` instead. This will be removed in 0.12.0.\n */\n readonly submittedFeedback: SubmittedFeedback | undefined;\n readonly composer: ComposerClientState;\n readonly parts: readonly MessagePartClientState[];\n readonly isCopied: boolean;\n readonly isHovering: boolean;\n /** The position of this message in the thread (0 for first message) */\n readonly index: number;\n};\nexport type MessageClientApi = {\n /**\n * Get the current state of the message.\n */\n getState(): MessageClientState;\n readonly composer: ComposerClientApi;\n reload(config?: {\n runConfig?: RunConfig;\n }): void;\n /**\n * @deprecated The `speak()` method is deprecated. Use the `ActionBarPrimitive.Speak` component instead.\n */\n speak(): void;\n /**\n * @deprecated The `stopSpeaking()` method is deprecated. Use the `ActionBarPrimitive.StopSpeaking` component instead.\n */\n stopSpeaking(): void;\n submitFeedback(feedback: {\n type: \"positive\" | \"negative\";\n }): void;\n switchToBranch(options: {\n position?: \"previous\" | \"next\";\n branchId?: string;\n }): void;\n getCopyText(): string;\n part: (selector: {\n index: number;\n } | {\n toolCallId: string;\n }) => MessagePartClientApi;\n attachment(selector: {\n index: number;\n } | {\n id: string;\n }): AttachmentClientApi;\n setIsCopied(value: boolean): void;\n setIsHovering(value: boolean): void;\n};\n//# sourceMappingURL=Message.d.ts.map","import { ThreadListItemStatus } from \"../../types/index.js\";\nexport type ThreadListItemClientState = {\n readonly id: string;\n readonly remoteId: string | undefined;\n readonly externalId: string | undefined;\n readonly title?: string | undefined;\n readonly status: ThreadListItemStatus;\n};\nexport type ThreadListItemClientApi = {\n getState(): ThreadListItemClientState;\n switchTo(): void;\n rename(newTitle: string): void;\n archive(): void;\n unarchive(): void;\n delete(): void;\n generateTitle(): void;\n initialize(): Promise<{\n remoteId: string;\n externalId: string | undefined;\n }>;\n detach(): void;\n};\n//# sourceMappingURL=ThreadListItem.d.ts.map","import { ReadonlyJSONValue } from \"assistant-stream/utils\";\nimport { ComposerClientState, ComposerClientApi } from \"./Composer.js\";\nimport { MessageClientApi, MessageClientState } from \"./Message.js\";\nimport { CreateAppendMessage, CreateStartRunConfig } from \"../../legacy-runtime/runtime/index.js\";\nimport { ThreadSuggestion, ExportedMessageRepository, ThreadMessageLike } from \"../../legacy-runtime/runtime-cores/index.js\";\nimport { RuntimeCapabilities, SpeechState } from \"../../legacy-runtime/runtime-cores/core/ThreadRuntimeCore.js\";\nimport { CreateResumeRunConfig } from \"../../legacy-runtime/runtime/ThreadRuntime.js\";\nimport { ModelContext } from \"../../model-context/index.js\";\nexport type ThreadClientState = {\n /**\n * Whether the thread is empty. A thread is considered empty when it has no messages and is not loading.\n */\n readonly isEmpty: boolean;\n /**\n * Whether the thread is disabled. Disabled threads cannot receive new messages.\n */\n readonly isDisabled: boolean;\n /**\n * Whether the thread is loading its history.\n */\n readonly isLoading: boolean;\n /**\n * Whether the thread is running. A thread is considered running when there is an active stream connection to the backend.\n */\n readonly isRunning: boolean;\n /**\n * The capabilities of the thread, such as whether the thread supports editing, branch switching, etc.\n */\n readonly capabilities: RuntimeCapabilities;\n /**\n * The messages in the currently selected branch of the thread.\n */\n readonly messages: readonly MessageClientState[];\n /**\n * The thread state.\n *\n * @deprecated This feature is experimental\n */\n readonly state: ReadonlyJSONValue;\n /**\n * Follow up message suggestions to show the user.\n */\n readonly suggestions: readonly ThreadSuggestion[];\n /**\n * Custom extra information provided by the runtime.\n */\n readonly extras: unknown;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n readonly speech: SpeechState | undefined;\n readonly composer: ComposerClientState;\n};\nexport type ThreadClientApi = {\n /**\n * Get the current state of the thread.\n */\n getState(): ThreadClientState;\n /**\n * The thread composer runtime.\n */\n readonly composer: ComposerClientApi;\n /**\n * Append a new message to the thread.\n *\n * @example ```ts\n * // append a new user message with the text \"Hello, world!\"\n * threadRuntime.append(\"Hello, world!\");\n * ```\n *\n * @example ```ts\n * // append a new assistant message with the text \"Hello, world!\"\n * threadRuntime.append({\n * role: \"assistant\",\n * content: [{ type: \"text\", text: \"Hello, world!\" }],\n * });\n * ```\n */\n append(message: CreateAppendMessage): void;\n /**\n * Start a new run with the given configuration.\n * @param config The configuration for starting the run\n */\n startRun(config: CreateStartRunConfig): void;\n /**\n * Resume a run with the given configuration.\n * @param config The configuration for resuming the run\n **/\n unstable_resumeRun(config: CreateResumeRunConfig): void;\n cancelRun(): void;\n getModelContext(): ModelContext;\n export(): ExportedMessageRepository;\n import(repository: ExportedMessageRepository): void;\n /**\n * Reset the thread with optional initial messages.\n *\n * @param initialMessages - Optional array of initial messages to populate the thread\n */\n reset(initialMessages?: readonly ThreadMessageLike[]): void;\n message(selector: {\n id: string;\n } | {\n index: number;\n }): MessageClientApi;\n /**\n * @deprecated This API is still under active development and might change without notice.\n */\n stopSpeaking(): void;\n /**\n * Start the voice session for the thread. Establishes any necessary media connections.\n */\n startVoice(): Promise<void>;\n /**\n * Stop the currently active voice session.\n */\n stopVoice(): Promise<void>;\n};\n//# sourceMappingURL=Thread.d.ts.map","import { ThreadListItemClientState, ThreadListItemClientApi } from \"./ThreadListItem.js\";\nimport { ThreadClientApi, ThreadClientState } from \"./Thread.js\";\nexport type ThreadListClientState = {\n readonly mainThreadId: string;\n readonly newThreadId: string | null;\n readonly isLoading: boolean;\n readonly threadIds: readonly string[];\n readonly archivedThreadIds: readonly string[];\n readonly threadItems: readonly ThreadListItemClientState[];\n readonly main: ThreadClientState;\n};\nexport type ThreadListClientApi = {\n getState(): ThreadListClientState;\n switchToThread(threadId: string): void;\n switchToNewThread(): void;\n item(threadIdOrOptions: \"main\" | {\n id: string;\n } | {\n index: number;\n archived?: boolean;\n }): ThreadListItemClientApi;\n thread(selector: \"main\"): ThreadClientApi;\n};\n//# sourceMappingURL=ThreadList.d.ts.map","import type { Unsubscribe } from \"../../types/index.js\";\nimport type { ModelContextProvider } from \"../../model-context/ModelContextTypes.js\";\nexport type ModelContextState = {};\nexport type ModelContextApi = ModelContextProvider & {\n getState(): ModelContextState;\n register: (provider: ModelContextProvider) => Unsubscribe;\n};\nexport type ModelContextMeta = {\n source: \"root\";\n query: Record<string, never>;\n};\n//# sourceMappingURL=ModelContext.d.ts.map","import { FC, PropsWithChildren } from \"react\";\nimport { MessageClientApi, MessageClientState } from \"../../client/types/Message.js\";\nimport { ThreadListItemClientApi, ThreadListItemClientState } from \"../../client/types/ThreadListItem.js\";\nimport { MessagePartClientApi, MessagePartClientState } from \"../../client/types/Part.js\";\nimport { ThreadClientApi, ThreadClientState } from \"../../client/types/Thread.js\";\nimport { ComposerClientApi, ComposerClientState } from \"../../client/types/Composer.js\";\nimport { AttachmentClientApi, AttachmentClientState } from \"../../client/types/Attachment.js\";\nimport { Unsubscribe } from \"../../types/index.js\";\nimport { AssistantEvent, AssistantEventCallback, AssistantEventSelector } from \"../../types/EventTypes.js\";\nimport { ThreadListClientApi, ThreadListClientState } from \"../../client/types/ThreadList.js\";\nimport { AssistantClientProps } from \"../../client/AssistantClient.js\";\nimport { ToolsApi, ToolsMeta, ToolsState } from \"../../client/types/Tools.js\";\nimport { ModelContextApi, ModelContextMeta } from \"../../client/types/ModelContext.js\";\nimport { DerivedScopesInput } from \"../../utils/tap-store/derived-scopes.js\";\nexport type AssistantState = {\n readonly threads: ThreadListClientState;\n readonly tools: ToolsState;\n readonly threadListItem: ThreadListItemClientState;\n readonly thread: ThreadClientState;\n readonly composer: ComposerClientState;\n readonly message: MessageClientState;\n readonly part: MessagePartClientState;\n readonly attachment: AttachmentClientState;\n};\nexport type AssistantApiField<TApi, TMeta extends {\n source: string | null;\n query: any;\n}> = (() => TApi) & (TMeta | {\n source: null;\n query: Record<string, never>;\n});\ntype ThreadsMeta = {\n source: \"root\";\n query: Record<string, never>;\n};\ntype ThreadListItemMeta = {\n source: \"threads\";\n query: {\n type: \"index\";\n index: number;\n archived: boolean;\n } | {\n type: \"main\";\n } | {\n type: \"id\";\n id: string;\n };\n};\ntype ThreadMeta = {\n source: \"threads\";\n query: {\n type: \"main\";\n };\n};\ntype ComposerMeta = {\n source: \"message\" | \"thread\";\n query: Record<string, never>;\n};\ntype MessageMeta = {\n source: \"thread\";\n query: {\n type: \"index\";\n index: number;\n };\n} | {\n source: \"root\";\n query: Record<string, never>;\n};\ntype PartMeta = {\n source: \"message\" | \"root\";\n query: {\n type: \"index\";\n index: number;\n } | Record<string, never>;\n};\ntype AttachmentMeta = {\n source: \"message\" | \"composer\";\n query: {\n type: \"index\";\n index: number;\n };\n};\nexport type AssistantApi = {\n threads: AssistantApiField<ThreadListClientApi, ThreadsMeta>;\n tools: AssistantApiField<ToolsApi, ToolsMeta>;\n modelContext: AssistantApiField<ModelContextApi, ModelContextMeta>;\n threadListItem: AssistantApiField<ThreadListItemClientApi, ThreadListItemMeta>;\n thread: AssistantApiField<ThreadClientApi, ThreadMeta>;\n composer: AssistantApiField<ComposerClientApi, ComposerMeta>;\n message: AssistantApiField<MessageClientApi, MessageMeta>;\n part: AssistantApiField<MessagePartClientApi, PartMeta>;\n attachment: AssistantApiField<AttachmentClientApi, AttachmentMeta>;\n subscribe(listener: () => void): Unsubscribe;\n on<TEvent extends AssistantEvent>(event: AssistantEventSelector<TEvent>, callback: AssistantEventCallback<TEvent>): Unsubscribe;\n};\nexport declare const createAssistantApiField: <TApi, TMeta extends {\n source: any;\n query: any;\n}>(config: {\n get: () => TApi;\n} & (TMeta | {\n source: null;\n query: Record<string, never>;\n})) => AssistantApiField<TApi, TMeta>;\nexport declare const useAssistantApiImpl: () => AssistantApi;\n/**\n * Hook to extend the current AssistantApi with additional derived scope fields and special callbacks.\n * This merges the derived fields with the existing API from context.\n * Fields are automatically memoized based on source and query changes.\n * Special callbacks (on, subscribe) use the useEffectEvent pattern to always access latest values.\n *\n * @param scopes - Record of field names to DerivedScope resource elements, plus optional special callbacks\n * @returns The merged AssistantApi\n *\n * @example\n * ```tsx\n * const api = useExtendedAssistantApi({\n * message: DerivedScope({\n * source: \"root\",\n * query: {},\n * get: () => messageApi,\n * }),\n * on: (selector, callback) => {\n * // Custom event filtering logic\n * },\n * });\n * ```\n */\nexport declare const useExtendedAssistantApi: (scopes: DerivedScopesInput) => AssistantApi;\nexport declare function useAssistantApi(): AssistantApi;\nexport declare function useAssistantApi(config: AssistantClientProps): AssistantApi;\nexport declare const extendApi: (api: AssistantApi, api2: Partial<AssistantApi>) => AssistantApi;\nexport declare const AssistantProvider: FC<PropsWithChildren<{\n api: AssistantApi;\n devToolsVisible?: boolean;\n}>>;\nexport {};\n//# sourceMappingURL=AssistantApiContext.d.ts.map","import { AssistantApi } from \"../context/react/AssistantApiContext.js\";\nimport { Unsubscribe } from \"../types/index.js\";\nexport interface EventLog {\n time: Date;\n event: string;\n data: unknown;\n}\ninterface DevToolsApiEntry {\n api: Partial<AssistantApi>;\n logs: EventLog[];\n}\ninterface DevToolsHook {\n apis: Map<number, DevToolsApiEntry>;\n nextId: number;\n listeners: Set<(apiId: number) => void>;\n}\ndeclare global {\n interface Window {\n __ASSISTANT_UI_DEVTOOLS_HOOK__?: DevToolsHook;\n }\n}\nexport declare class DevToolsHooks {\n static subscribe(listener: () => void): Unsubscribe;\n static clearEventLogs(apiId: number): void;\n static getApis(): Map<number, DevToolsApiEntry>;\n private static notifyListeners;\n}\nexport declare class DevToolsProviderApi {\n private static readonly MAX_EVENT_LOGS_PER_API;\n static register(api: Partial<AssistantApi>): Unsubscribe;\n private static notifyListeners;\n}\nexport {};\n//# sourceMappingURL=DevToolsHooks.d.ts.map"],"x_google_ignoreList":[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"mappings":";;;;UAAiB,MAAA;;;;EAAA,IAAA,EAAA,MAAM;EAWN,UAAA,EAAO,MAAA;EAOP,cAAA,EAAA,MAAc;EAQd,OAAA,EAAA,MAAA;EAaA,OAAA,CAAA,EAAA,MAAU;AAQ3B;AAMiB,UA1CA,SA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