@assistant-ui/core 0.3.19 → 0.3.20
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/adapters/attachment.d.ts +9 -10
- package/dist/adapters/attachment.d.ts.map +1 -1
- package/dist/adapters/attachment.js +2 -1
- package/dist/adapters/attachment.js.map +1 -1
- package/dist/adapters/directive-formatter.d.ts +1 -2
- package/dist/adapters/directive-formatter.d.ts.map +1 -1
- package/dist/adapters/feedback.d.ts +2 -2
- package/dist/adapters/feedback.d.ts.map +1 -1
- package/dist/adapters/speech.d.ts +6 -7
- package/dist/adapters/speech.d.ts.map +1 -1
- package/dist/adapters/suggestion.d.ts +5 -6
- package/dist/adapters/suggestion.d.ts.map +1 -1
- package/dist/adapters/thread-history.d.ts +6 -7
- package/dist/adapters/thread-history.d.ts.map +1 -1
- package/dist/adapters/trigger.d.ts +1 -2
- package/dist/adapters/trigger.d.ts.map +1 -1
- package/dist/adapters/voice.d.ts +5 -6
- package/dist/adapters/voice.d.ts.map +1 -1
- package/dist/internal/duplicate-detection.d.ts +1 -2
- package/dist/internal/duplicate-detection.d.ts.map +1 -1
- package/dist/model-context/frame/host.d.ts +1 -2
- package/dist/model-context/frame/host.d.ts.map +1 -1
- package/dist/model-context/frame/provider.d.ts +1 -2
- package/dist/model-context/frame/provider.d.ts.map +1 -1
- package/dist/model-context/frame/types.d.ts +5 -6
- package/dist/model-context/frame/types.d.ts.map +1 -1
- package/dist/model-context/interactable-composer-metadata.d.ts +9 -10
- package/dist/model-context/interactable-composer-metadata.d.ts.map +1 -1
- package/dist/model-context/registry-handles.d.ts +3 -4
- package/dist/model-context/registry-handles.d.ts.map +1 -1
- package/dist/model-context/registry.d.ts +1 -2
- package/dist/model-context/registry.d.ts.map +1 -1
- package/dist/model-context/tool-call-text.d.ts +2 -3
- package/dist/model-context/tool-call-text.d.ts.map +1 -1
- package/dist/model-context/tool.d.ts +2 -3
- package/dist/model-context/tool.d.ts.map +1 -1
- package/dist/model-context/types.d.ts +8 -9
- package/dist/model-context/types.d.ts.map +1 -1
- package/dist/react/AssistantProvider.d.ts +3 -4
- package/dist/react/AssistantProvider.d.ts.map +1 -1
- package/dist/react/AssistantRuntimeProvider.d.ts +1 -2
- package/dist/react/AssistantRuntimeProvider.d.ts.map +1 -1
- package/dist/react/RuntimeAdapter.d.ts +2 -3
- package/dist/react/RuntimeAdapter.d.ts.map +1 -1
- package/dist/react/adapters/LocalStorageThreadListAdapter.d.ts +4 -5
- package/dist/react/adapters/LocalStorageThreadListAdapter.d.ts.map +1 -1
- package/dist/react/adapters/LocalStorageThreadListAdapter.js +20 -34
- package/dist/react/adapters/LocalStorageThreadListAdapter.js.map +1 -1
- package/dist/react/adapters/TitleGenerationAdapter.d.ts +2 -3
- package/dist/react/adapters/TitleGenerationAdapter.d.ts.map +1 -1
- package/dist/react/client/AdaptedRemoteThread.d.ts +1 -2
- package/dist/react/client/AdaptedRemoteThread.d.ts.map +1 -1
- package/dist/react/client/DataRenderers.d.ts +1 -2
- package/dist/react/client/DataRenderers.d.ts.map +1 -1
- package/dist/react/client/InMemoryThreadList.d.ts +3 -4
- package/dist/react/client/InMemoryThreadList.d.ts.map +1 -1
- package/dist/react/client/Interactables.d.ts +1 -2
- package/dist/react/client/Interactables.d.ts.map +1 -1
- package/dist/react/client/RemoteThreadList.d.ts +2 -3
- package/dist/react/client/RemoteThreadList.d.ts.map +1 -1
- package/dist/react/client/Tools.d.ts +2 -2
- package/dist/react/client/Tools.d.ts.map +1 -1
- package/dist/react/client/interactable-model-context.d.ts +2 -3
- package/dist/react/client/interactable-model-context.d.ts.map +1 -1
- package/dist/react/interactables-legacy/Interactables.d.ts +1 -2
- package/dist/react/interactables-legacy/Interactables.d.ts.map +1 -1
- package/dist/react/interactables-legacy/interactable-model-context.d.ts +2 -3
- package/dist/react/interactables-legacy/interactable-model-context.d.ts.map +1 -1
- package/dist/react/interactables-legacy/scopes.d.ts +9 -10
- package/dist/react/interactables-legacy/scopes.d.ts.map +1 -1
- package/dist/react/interactables-legacy/useAssistantInteractable.d.ts +2 -3
- package/dist/react/interactables-legacy/useAssistantInteractable.d.ts.map +1 -1
- package/dist/react/interactables-legacy/useInteractableState.d.ts +1 -2
- package/dist/react/interactables-legacy/useInteractableState.d.ts.map +1 -1
- package/dist/react/interactables-shared/useInteractablePersistenceQueue.d.ts +1 -2
- package/dist/react/interactables-shared/useInteractablePersistenceQueue.d.ts.map +1 -1
- package/dist/react/model-context/define-mcp-toolkit.d.ts +4 -5
- package/dist/react/model-context/define-mcp-toolkit.d.ts.map +1 -1
- package/dist/react/model-context/define-toolkit.d.ts +2 -3
- package/dist/react/model-context/define-toolkit.d.ts.map +1 -1
- package/dist/react/model-context/external-tool.d.ts +1 -2
- package/dist/react/model-context/external-tool.d.ts.map +1 -1
- package/dist/react/model-context/human-tool.d.ts +3 -4
- package/dist/react/model-context/human-tool.d.ts.map +1 -1
- package/dist/react/model-context/interactableTool.d.ts +3 -4
- package/dist/react/model-context/interactableTool.d.ts.map +1 -1
- package/dist/react/model-context/makeAssistantDataUI.d.ts +2 -3
- package/dist/react/model-context/makeAssistantDataUI.d.ts.map +1 -1
- package/dist/react/model-context/makeAssistantTool.d.ts +2 -3
- package/dist/react/model-context/makeAssistantTool.d.ts.map +1 -1
- package/dist/react/model-context/makeAssistantToolUI.d.ts +2 -3
- package/dist/react/model-context/makeAssistantToolUI.d.ts.map +1 -1
- package/dist/react/model-context/provider-tool.d.ts +2 -3
- package/dist/react/model-context/provider-tool.d.ts.map +1 -1
- package/dist/react/model-context/stub-tool.d.ts +1 -2
- package/dist/react/model-context/stub-tool.d.ts.map +1 -1
- package/dist/react/model-context/toolbox.d.ts +9 -10
- package/dist/react/model-context/toolbox.d.ts.map +1 -1
- package/dist/react/model-context/useAssistantContext.d.ts +2 -2
- package/dist/react/model-context/useAssistantContext.d.ts.map +1 -1
- package/dist/react/model-context/useAssistantDataUI.d.ts +2 -3
- package/dist/react/model-context/useAssistantDataUI.d.ts.map +1 -1
- package/dist/react/model-context/useAssistantInstructions.d.ts +2 -2
- package/dist/react/model-context/useAssistantInstructions.d.ts.map +1 -1
- package/dist/react/model-context/useAssistantTool.d.ts +2 -3
- package/dist/react/model-context/useAssistantTool.d.ts.map +1 -1
- package/dist/react/model-context/useAssistantToolUI.d.ts +2 -3
- package/dist/react/model-context/useAssistantToolUI.d.ts.map +1 -1
- package/dist/react/model-context/useAuiToolOverrides.d.ts +1 -2
- package/dist/react/model-context/useAuiToolOverrides.d.ts.map +1 -1
- package/dist/react/model-context/useInlineRender.d.ts +1 -2
- package/dist/react/model-context/useInlineRender.d.ts.map +1 -1
- package/dist/react/model-context/useInteractable.d.ts +4 -5
- package/dist/react/model-context/useInteractable.d.ts.map +1 -1
- package/dist/react/model-context/useInteractableState.d.ts +1 -2
- package/dist/react/model-context/useInteractableState.d.ts.map +1 -1
- package/dist/react/model-context/useInteractableVersions.d.ts +1 -2
- package/dist/react/model-context/useInteractableVersions.d.ts.map +1 -1
- package/dist/react/model-context/useToolArgsStatus.d.ts +2 -3
- package/dist/react/model-context/useToolArgsStatus.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useActionBarCopy.d.ts +2 -3
- package/dist/react/primitive-hooks/useActionBarCopy.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useActionBarEdit.d.ts +1 -2
- package/dist/react/primitive-hooks/useActionBarEdit.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useActionBarFeedback.d.ts +2 -3
- package/dist/react/primitive-hooks/useActionBarFeedback.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useActionBarReload.d.ts +1 -2
- package/dist/react/primitive-hooks/useActionBarReload.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useActionBarSpeak.d.ts +1 -2
- package/dist/react/primitive-hooks/useActionBarSpeak.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useActionBarStopSpeaking.d.ts +1 -2
- package/dist/react/primitive-hooks/useActionBarStopSpeaking.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useBranchPickerNext.d.ts +1 -2
- package/dist/react/primitive-hooks/useBranchPickerNext.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useBranchPickerPrevious.d.ts +1 -2
- package/dist/react/primitive-hooks/useBranchPickerPrevious.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useComposerAddAttachment.d.ts +1 -2
- package/dist/react/primitive-hooks/useComposerAddAttachment.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useComposerCancel.d.ts +1 -2
- package/dist/react/primitive-hooks/useComposerCancel.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useComposerDictate.d.ts +1 -2
- package/dist/react/primitive-hooks/useComposerDictate.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useComposerSend.d.ts +1 -2
- package/dist/react/primitive-hooks/useComposerSend.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useEditComposerCancel.d.ts +1 -2
- package/dist/react/primitive-hooks/useEditComposerCancel.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useEditComposerSend.d.ts +1 -2
- package/dist/react/primitive-hooks/useEditComposerSend.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useMessageBranching.d.ts +1 -2
- package/dist/react/primitive-hooks/useMessageBranching.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useMessageError.d.ts +1 -2
- package/dist/react/primitive-hooks/useMessageError.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useMessageReload.d.ts +1 -2
- package/dist/react/primitive-hooks/useMessageReload.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useSuggestionTrigger.d.ts +2 -3
- package/dist/react/primitive-hooks/useSuggestionTrigger.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadIsEmpty.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadIsEmpty.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadIsRunning.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadIsRunning.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadListItemArchive.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadListItemArchive.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadListItemDelete.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadListItemDelete.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadListItemTrigger.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadListItemTrigger.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadListItemUnarchive.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadListItemUnarchive.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadListLoadMore.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadListLoadMore.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadListNew.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadListNew.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadMessageIds.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadMessageIds.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useThreadMessages.d.ts +1 -2
- package/dist/react/primitive-hooks/useThreadMessages.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useVoice.d.ts +3 -4
- package/dist/react/primitive-hooks/useVoice.d.ts.map +1 -1
- package/dist/react/primitives/chainOfThought/ChainOfThoughtParts.d.ts +2 -3
- package/dist/react/primitives/chainOfThought/ChainOfThoughtParts.d.ts.map +1 -1
- package/dist/react/primitives/composer/ComposerAttachments.d.ts +4 -5
- package/dist/react/primitives/composer/ComposerAttachments.d.ts.map +1 -1
- package/dist/react/primitives/composer/ComposerIf.d.ts +4 -5
- package/dist/react/primitives/composer/ComposerIf.d.ts.map +1 -1
- package/dist/react/primitives/composer/ComposerQueue.d.ts +2 -3
- package/dist/react/primitives/composer/ComposerQueue.d.ts.map +1 -1
- package/dist/react/primitives/generativeUI/GenerativeUI.d.ts +4 -5
- package/dist/react/primitives/generativeUI/GenerativeUI.d.ts.map +1 -1
- package/dist/react/primitives/generativeUI/GenerativeUI.js +27 -28
- package/dist/react/primitives/generativeUI/GenerativeUI.js.map +1 -1
- package/dist/react/primitives/message/MessageAttachments.d.ts +4 -5
- package/dist/react/primitives/message/MessageAttachments.d.ts.map +1 -1
- package/dist/react/primitives/message/MessageGroupedParts.d.ts +2 -3
- package/dist/react/primitives/message/MessageGroupedParts.d.ts.map +1 -1
- package/dist/react/primitives/message/MessageParts.d.ts +10 -10
- package/dist/react/primitives/message/MessageParts.d.ts.map +1 -1
- package/dist/react/primitives/message/MessageQuote.d.ts +2 -3
- package/dist/react/primitives/message/MessageQuote.d.ts.map +1 -1
- package/dist/react/primitives/messagePart/MessagePartInProgress.d.ts +2 -3
- package/dist/react/primitives/messagePart/MessagePartInProgress.d.ts.map +1 -1
- package/dist/react/primitives/part/PartMessages.d.ts +3 -4
- package/dist/react/primitives/part/PartMessages.d.ts.map +1 -1
- package/dist/react/primitives/thread/ThreadMessages.d.ts +7 -8
- package/dist/react/primitives/thread/ThreadMessages.d.ts.map +1 -1
- package/dist/react/primitives/thread/ThreadSuggestions.d.ts +5 -6
- package/dist/react/primitives/thread/ThreadSuggestions.d.ts.map +1 -1
- package/dist/react/primitives/threadList/ThreadListItems.d.ts +4 -5
- package/dist/react/primitives/threadList/ThreadListItems.d.ts.map +1 -1
- package/dist/react/primitives/threadListItem/ThreadListItemTitle.d.ts +2 -3
- package/dist/react/primitives/threadListItem/ThreadListItemTitle.d.ts.map +1 -1
- package/dist/react/providers/AttachmentByIndexProvider.d.ts +2 -3
- package/dist/react/providers/AttachmentByIndexProvider.d.ts.map +1 -1
- package/dist/react/providers/ChainOfThoughtByIndicesProvider.d.ts +1 -2
- package/dist/react/providers/ChainOfThoughtByIndicesProvider.d.ts.map +1 -1
- package/dist/react/providers/ChainOfThoughtPartByIndexProvider.d.ts +1 -2
- package/dist/react/providers/ChainOfThoughtPartByIndexProvider.d.ts.map +1 -1
- package/dist/react/providers/MessageByIdProvider.d.ts +1 -2
- package/dist/react/providers/MessageByIdProvider.d.ts.map +1 -1
- package/dist/react/providers/MessageByIndexProvider.d.ts +1 -2
- package/dist/react/providers/MessageByIndexProvider.d.ts.map +1 -1
- package/dist/react/providers/PartByIndexProvider.d.ts +1 -2
- package/dist/react/providers/PartByIndexProvider.d.ts.map +1 -1
- package/dist/react/providers/QueueItemByIndexProvider.d.ts +2 -3
- package/dist/react/providers/QueueItemByIndexProvider.d.ts.map +1 -1
- package/dist/react/providers/ReadonlyThreadProvider.d.ts +2 -3
- package/dist/react/providers/ReadonlyThreadProvider.d.ts.map +1 -1
- package/dist/react/providers/SuggestionByIndexProvider.d.ts +2 -3
- package/dist/react/providers/SuggestionByIndexProvider.d.ts.map +1 -1
- package/dist/react/providers/TextMessagePartProvider.d.ts +1 -2
- package/dist/react/providers/TextMessagePartProvider.d.ts.map +1 -1
- package/dist/react/providers/ThreadListItemByIndexProvider.d.ts +1 -2
- package/dist/react/providers/ThreadListItemByIndexProvider.d.ts.map +1 -1
- package/dist/react/providers/ThreadListItemRuntimeProvider.d.ts +1 -2
- package/dist/react/providers/ThreadListItemRuntimeProvider.d.ts.map +1 -1
- package/dist/react/runtimes/RemoteThreadListHookInstanceManager.d.ts +3 -2
- package/dist/react/runtimes/RemoteThreadListHookInstanceManager.d.ts.map +1 -1
- package/dist/react/runtimes/RemoteThreadListHookInstanceManager.js +17 -7
- package/dist/react/runtimes/RemoteThreadListHookInstanceManager.js.map +1 -1
- package/dist/react/runtimes/RemoteThreadListThreadListRuntimeCore.d.ts +1 -2
- package/dist/react/runtimes/RemoteThreadListThreadListRuntimeCore.d.ts.map +1 -1
- package/dist/react/runtimes/RemoteThreadResource.d.ts +4 -5
- package/dist/react/runtimes/RemoteThreadResource.d.ts.map +1 -1
- package/dist/react/runtimes/RuntimeAdapterProvider.d.ts +3 -3
- package/dist/react/runtimes/RuntimeAdapterProvider.d.ts.map +1 -1
- package/dist/react/runtimes/assistant-transport/commandQueue.d.ts +2 -3
- package/dist/react/runtimes/assistant-transport/commandQueue.d.ts.map +1 -1
- package/dist/react/runtimes/assistant-transport/replayBoundaryStream.d.ts +3 -4
- package/dist/react/runtimes/assistant-transport/replayBoundaryStream.d.ts.map +1 -1
- package/dist/react/runtimes/assistant-transport/runManager.d.ts +2 -3
- package/dist/react/runtimes/assistant-transport/runManager.d.ts.map +1 -1
- package/dist/react/runtimes/assistant-transport/types.d.ts +17 -18
- package/dist/react/runtimes/assistant-transport/types.d.ts.map +1 -1
- package/dist/react/runtimes/assistant-transport/useAssistantTransportRuntime.d.ts +4 -5
- package/dist/react/runtimes/assistant-transport/useAssistantTransportRuntime.d.ts.map +1 -1
- package/dist/react/runtimes/assistant-transport/useConvertedState.d.ts +1 -2
- package/dist/react/runtimes/assistant-transport/useConvertedState.d.ts.map +1 -1
- package/dist/react/runtimes/assistant-transport/useLatestRef.d.ts +1 -2
- package/dist/react/runtimes/assistant-transport/useLatestRef.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.d.ts +2 -3
- package/dist/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.js +17 -4
- package/dist/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.js.map +1 -1
- package/dist/react/runtimes/cloud/CloudFileAttachmentAdapter.d.ts +1 -2
- package/dist/react/runtimes/cloud/CloudFileAttachmentAdapter.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/auiV0.d.ts +11 -3
- package/dist/react/runtimes/cloud/auiV0.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/auiV0.js +63 -2
- package/dist/react/runtimes/cloud/auiV0.js.map +1 -1
- package/dist/react/runtimes/cloud/createCloudThreadListAdapter.d.ts +4 -5
- package/dist/react/runtimes/cloud/createCloudThreadListAdapter.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/createCloudThreadListAdapterCreateFallback.d.ts +1 -2
- package/dist/react/runtimes/cloud/createCloudThreadListAdapterCreateFallback.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/sdkIdentity.d.ts +1 -2
- package/dist/react/runtimes/cloud/sdkIdentity.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/sdkIdentity.js +1 -1
- package/dist/react/runtimes/cloud/useCloudThreadListAdapter.d.ts +1 -2
- package/dist/react/runtimes/cloud/useCloudThreadListAdapter.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/useCloudThreadListRuntime.d.ts +1 -2
- package/dist/react/runtimes/cloud/useCloudThreadListRuntime.d.ts.map +1 -1
- package/dist/react/runtimes/createMessageConverter.d.ts +1 -2
- package/dist/react/runtimes/createMessageConverter.d.ts.map +1 -1
- package/dist/react/runtimes/createRuntimeExtras.d.ts +3 -4
- package/dist/react/runtimes/createRuntimeExtras.d.ts.map +1 -1
- package/dist/react/runtimes/external-message-converter.d.ts +6 -6
- package/dist/react/runtimes/external-message-converter.d.ts.map +1 -1
- package/dist/react/runtimes/useExternalStoreRuntime.d.ts +1 -2
- package/dist/react/runtimes/useExternalStoreRuntime.d.ts.map +1 -1
- package/dist/react/runtimes/useExternalStoreSharedOptions.d.ts +1 -2
- package/dist/react/runtimes/useExternalStoreSharedOptions.d.ts.map +1 -1
- package/dist/react/runtimes/useLocalRuntime.d.ts +3 -4
- package/dist/react/runtimes/useLocalRuntime.d.ts.map +1 -1
- package/dist/react/runtimes/useRemoteThreadListRuntime.d.ts +1 -2
- package/dist/react/runtimes/useRemoteThreadListRuntime.d.ts.map +1 -1
- package/dist/react/runtimes/useRemoteThreadListRuntime.js +2 -2
- package/dist/react/runtimes/useRemoteThreadListRuntime.js.map +1 -1
- package/dist/react/runtimes/useRuntimeAdapters.d.ts +4 -4
- package/dist/react/runtimes/useRuntimeAdapters.d.ts.map +1 -1
- package/dist/react/runtimes/useStreamingTiming.d.ts +2 -2
- package/dist/react/runtimes/useStreamingTiming.d.ts.map +1 -1
- package/dist/react/types/MessagePartComponentTypes.d.ts +26 -27
- package/dist/react/types/MessagePartComponentTypes.d.ts.map +1 -1
- package/dist/react/types/scopes/dataRenderers.d.ts +3 -4
- package/dist/react/types/scopes/dataRenderers.d.ts.map +1 -1
- package/dist/react/types/scopes/interactables.d.ts +10 -11
- package/dist/react/types/scopes/interactables.d.ts.map +1 -1
- package/dist/react/types/scopes/tools.d.ts +4 -5
- package/dist/react/types/scopes/tools.d.ts.map +1 -1
- package/dist/react/utils/getMessageQuote.d.ts +1 -2
- package/dist/react/utils/getMessageQuote.d.ts.map +1 -1
- package/dist/react/utils/groupParts.d.ts +7 -8
- package/dist/react/utils/groupParts.d.ts.map +1 -1
- package/dist/react/utils/useJSONEqual.d.ts +2 -3
- package/dist/react/utils/useJSONEqual.d.ts.map +1 -1
- package/dist/react/utils/useJSONSchemaDependency.d.ts +1 -2
- package/dist/react/utils/useJSONSchemaDependency.d.ts.map +1 -1
- package/dist/runtime/api/assistant-runtime.d.ts +2 -3
- package/dist/runtime/api/assistant-runtime.d.ts.map +1 -1
- package/dist/runtime/api/attachment-runtime.d.ts +6 -7
- package/dist/runtime/api/attachment-runtime.d.ts.map +1 -1
- package/dist/runtime/api/bindings.d.ts +5 -6
- package/dist/runtime/api/bindings.d.ts.map +1 -1
- package/dist/runtime/api/composer-runtime.d.ts +10 -10
- package/dist/runtime/api/composer-runtime.d.ts.map +1 -1
- package/dist/runtime/api/message-part-runtime.d.ts +3 -4
- package/dist/runtime/api/message-part-runtime.d.ts.map +1 -1
- package/dist/runtime/api/message-part-runtime.js +3 -2
- package/dist/runtime/api/message-part-runtime.js.map +1 -1
- package/dist/runtime/api/message-runtime.d.ts +8 -6
- package/dist/runtime/api/message-runtime.d.ts.map +1 -1
- package/dist/runtime/api/message-runtime.js +3 -2
- package/dist/runtime/api/message-runtime.js.map +1 -1
- package/dist/runtime/api/paths.d.ts +6 -7
- package/dist/runtime/api/paths.d.ts.map +1 -1
- package/dist/runtime/api/thread-list-item-runtime.d.ts +8 -8
- package/dist/runtime/api/thread-list-item-runtime.d.ts.map +1 -1
- package/dist/runtime/api/thread-list-runtime.d.ts +4 -5
- package/dist/runtime/api/thread-list-runtime.d.ts.map +1 -1
- package/dist/runtime/api/thread-runtime.d.ts +10 -11
- package/dist/runtime/api/thread-runtime.d.ts.map +1 -1
- package/dist/runtime/base/base-assistant-runtime-core.d.ts +1 -2
- package/dist/runtime/base/base-assistant-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/base-composer-runtime-core.d.ts +1 -2
- package/dist/runtime/base/base-composer-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/base-thread-runtime-core.d.ts +8 -3
- package/dist/runtime/base/base-thread-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/base-thread-runtime-core.js +71 -27
- package/dist/runtime/base/base-thread-runtime-core.js.map +1 -1
- package/dist/runtime/base/default-edit-composer-runtime-core.d.ts +1 -2
- package/dist/runtime/base/default-edit-composer-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/default-edit-composer-runtime-core.js +12 -2
- package/dist/runtime/base/default-edit-composer-runtime-core.js.map +1 -1
- package/dist/runtime/base/default-thread-composer-runtime-core.d.ts +1 -2
- package/dist/runtime/base/default-thread-composer-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/default-thread-composer-runtime-core.js +7 -1
- package/dist/runtime/base/default-thread-composer-runtime-core.js.map +1 -1
- package/dist/runtime/branch/external-thread-branch-adapter.d.ts +1 -2
- package/dist/runtime/branch/external-thread-branch-adapter.d.ts.map +1 -1
- package/dist/runtime/interfaces/assistant-runtime-core.d.ts +1 -2
- package/dist/runtime/interfaces/assistant-runtime-core.d.ts.map +1 -1
- package/dist/runtime/interfaces/composer-runtime-core.d.ts +10 -11
- package/dist/runtime/interfaces/composer-runtime-core.d.ts.map +1 -1
- package/dist/runtime/interfaces/thread-list-runtime-core.d.ts +4 -5
- package/dist/runtime/interfaces/thread-list-runtime-core.d.ts.map +1 -1
- package/dist/runtime/interfaces/thread-runtime-core.d.ts +17 -16
- package/dist/runtime/interfaces/thread-runtime-core.d.ts.map +1 -1
- package/dist/runtime/queue/external-thread-queue-adapter.d.ts +2 -3
- package/dist/runtime/queue/external-thread-queue-adapter.d.ts.map +1 -1
- package/dist/runtime/queue/message-queue.d.ts +5 -4
- package/dist/runtime/queue/message-queue.d.ts.map +1 -1
- package/dist/runtime/queue/message-queue.js +9 -1
- package/dist/runtime/queue/message-queue.js.map +1 -1
- package/dist/runtime/queue/queue-item.d.ts +2 -3
- package/dist/runtime/queue/queue-item.d.ts.map +1 -1
- package/dist/runtime/utils/abortable-thread-load.d.ts +2 -3
- package/dist/runtime/utils/abortable-thread-load.d.ts.map +1 -1
- package/dist/runtime/utils/attachment-add-operations.d.ts +3 -4
- package/dist/runtime/utils/attachment-add-operations.d.ts.map +1 -1
- package/dist/runtime/utils/auto-status.d.ts +7 -8
- package/dist/runtime/utils/auto-status.d.ts.map +1 -1
- package/dist/runtime/utils/chat-model-adapter.d.ts +5 -6
- package/dist/runtime/utils/chat-model-adapter.d.ts.map +1 -1
- package/dist/runtime/utils/external-message-conversion.d.ts +15 -16
- package/dist/runtime/utils/external-message-conversion.d.ts.map +1 -1
- package/dist/runtime/utils/external-message-conversion.js +3 -2
- package/dist/runtime/utils/external-message-conversion.js.map +1 -1
- package/dist/runtime/utils/external-store-message.d.ts +4 -5
- package/dist/runtime/utils/external-store-message.d.ts.map +1 -1
- package/dist/runtime/utils/message-repository-session.d.ts +3 -4
- package/dist/runtime/utils/message-repository-session.d.ts.map +1 -1
- package/dist/runtime/utils/message-repository.d.ts +4 -5
- package/dist/runtime/utils/message-repository.d.ts.map +1 -1
- package/dist/runtime/utils/pending-tool-calls.d.ts +2 -3
- package/dist/runtime/utils/pending-tool-calls.d.ts.map +1 -1
- package/dist/runtime/utils/resolveToolApprovalResponse.d.ts +1 -2
- package/dist/runtime/utils/resolveToolApprovalResponse.d.ts.map +1 -1
- package/dist/runtime/utils/runtime-extras-brand.d.ts +2 -3
- package/dist/runtime/utils/runtime-extras-brand.d.ts.map +1 -1
- package/dist/runtime/utils/stored-message-parts.d.ts +21 -0
- package/dist/runtime/utils/stored-message-parts.d.ts.map +1 -0
- package/dist/runtime/utils/stored-message-parts.js +83 -0
- package/dist/runtime/utils/stored-message-parts.js.map +1 -0
- package/dist/runtime/utils/streaming-timing.d.ts +4 -5
- package/dist/runtime/utils/streaming-timing.d.ts.map +1 -1
- package/dist/runtime/utils/thread-message-like.d.ts +5 -5
- package/dist/runtime/utils/thread-message-like.d.ts.map +1 -1
- package/dist/runtime/utils/thread-message-like.js.map +1 -1
- package/dist/runtime/utils/thread-runtime-lifecycle.d.ts +3 -4
- package/dist/runtime/utils/thread-runtime-lifecycle.d.ts.map +1 -1
- package/dist/runtime/utils/tool-call-tree.d.ts +4 -5
- package/dist/runtime/utils/tool-call-tree.d.ts.map +1 -1
- package/dist/runtimes/assistant-transport/utils.d.ts +1 -2
- package/dist/runtimes/assistant-transport/utils.d.ts.map +1 -1
- package/dist/runtimes/external-store/external-store-adapter.d.ts +9 -6
- package/dist/runtimes/external-store/external-store-adapter.d.ts.map +1 -1
- package/dist/runtimes/external-store/external-store-runtime-core.d.ts +1 -2
- package/dist/runtimes/external-store/external-store-runtime-core.d.ts.map +1 -1
- package/dist/runtimes/external-store/external-store-shared-options.d.ts +2 -3
- package/dist/runtimes/external-store/external-store-shared-options.d.ts.map +1 -1
- package/dist/runtimes/external-store/external-store-thread-list-runtime-core.d.ts +2 -3
- package/dist/runtimes/external-store/external-store-thread-list-runtime-core.d.ts.map +1 -1
- package/dist/runtimes/external-store/external-store-thread-runtime-core.d.ts +4 -3
- package/dist/runtimes/external-store/external-store-thread-runtime-core.d.ts.map +1 -1
- package/dist/runtimes/external-store/external-store-thread-runtime-core.js +29 -6
- package/dist/runtimes/external-store/external-store-thread-runtime-core.js.map +1 -1
- package/dist/runtimes/external-store/thread-message-converter.d.ts +2 -3
- package/dist/runtimes/external-store/thread-message-converter.d.ts.map +1 -1
- package/dist/runtimes/inert/InertThreadRuntimeCore.d.ts +2 -3
- package/dist/runtimes/inert/InertThreadRuntimeCore.d.ts.map +1 -1
- package/dist/runtimes/local/local-runtime-core.d.ts +1 -2
- package/dist/runtimes/local/local-runtime-core.d.ts.map +1 -1
- package/dist/runtimes/local/local-runtime-options.d.ts +1 -2
- package/dist/runtimes/local/local-runtime-options.d.ts.map +1 -1
- package/dist/runtimes/local/local-thread-list-runtime-core.d.ts +2 -3
- package/dist/runtimes/local/local-thread-list-runtime-core.d.ts.map +1 -1
- package/dist/runtimes/local/local-thread-runtime-core.d.ts +9 -4
- package/dist/runtimes/local/local-thread-runtime-core.d.ts.map +1 -1
- package/dist/runtimes/local/local-thread-runtime-core.js +53 -9
- package/dist/runtimes/local/local-thread-runtime-core.js.map +1 -1
- package/dist/runtimes/local/should-continue.d.ts +1 -2
- package/dist/runtimes/local/should-continue.d.ts.map +1 -1
- package/dist/runtimes/readonly/ReadonlyThreadRuntimeCore.d.ts +1 -2
- package/dist/runtimes/readonly/ReadonlyThreadRuntimeCore.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/adapter/in-memory.d.ts +1 -2
- package/dist/runtimes/remote-thread-list/adapter/in-memory.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/adapter-changed.d.ts +1 -2
- package/dist/runtimes/remote-thread-list/adapter-changed.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/empty-thread-core.d.ts +1 -2
- package/dist/runtimes/remote-thread-list/empty-thread-core.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/optimistic-state.d.ts +1 -2
- package/dist/runtimes/remote-thread-list/optimistic-state.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/remote-thread-state.d.ts +16 -17
- package/dist/runtimes/remote-thread-list/remote-thread-state.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/title-generation.d.ts +7 -8
- package/dist/runtimes/remote-thread-list/title-generation.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/title.d.ts +2 -3
- package/dist/runtimes/remote-thread-list/title.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/types.d.ts +8 -9
- package/dist/runtimes/remote-thread-list/types.d.ts.map +1 -1
- package/dist/runtimes/tool-invocations/ToolInvocationTracker.d.ts +4 -5
- package/dist/runtimes/tool-invocations/ToolInvocationTracker.d.ts.map +1 -1
- package/dist/store/clients/chain-of-thought-client.d.ts +1 -2
- package/dist/store/clients/chain-of-thought-client.d.ts.map +1 -1
- package/dist/store/clients/external-thread.d.ts +3 -4
- package/dist/store/clients/external-thread.d.ts.map +1 -1
- package/dist/store/clients/external-thread.js +15 -11
- package/dist/store/clients/external-thread.js.map +1 -1
- package/dist/store/clients/model-context-client.d.ts +1 -2
- package/dist/store/clients/model-context-client.d.ts.map +1 -1
- package/dist/store/clients/no-op-composer-client.d.ts +1 -2
- package/dist/store/clients/no-op-composer-client.d.ts.map +1 -1
- package/dist/store/clients/runtime-adapter.d.ts +1 -2
- package/dist/store/clients/runtime-adapter.d.ts.map +1 -1
- package/dist/store/clients/single-thread-list.d.ts +1 -2
- package/dist/store/clients/single-thread-list.d.ts.map +1 -1
- package/dist/store/clients/suggestions.d.ts +3 -4
- package/dist/store/clients/suggestions.d.ts.map +1 -1
- package/dist/store/clients/thread-message-client.d.ts +2 -3
- package/dist/store/clients/thread-message-client.d.ts.map +1 -1
- package/dist/store/clients/thread-selection-events.d.ts +1 -2
- package/dist/store/clients/thread-selection-events.d.ts.map +1 -1
- package/dist/store/clients/thread-tasks.d.ts +3 -4
- package/dist/store/clients/thread-tasks.d.ts.map +1 -1
- package/dist/store/env.d.ts +1 -2
- package/dist/store/env.d.ts.map +1 -1
- package/dist/store/primitive-predicates.d.ts +11 -12
- package/dist/store/primitive-predicates.d.ts.map +1 -1
- package/dist/store/primitive-predicates.js +2 -2
- package/dist/store/primitive-predicates.js.map +1 -1
- package/dist/store/runtime-clients/attachment-runtime-client.d.ts +1 -2
- package/dist/store/runtime-clients/attachment-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/composer-runtime-client.d.ts +1 -2
- package/dist/store/runtime-clients/composer-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/handle-runtime-action.d.ts +1 -2
- package/dist/store/runtime-clients/handle-runtime-action.d.ts.map +1 -1
- package/dist/store/runtime-clients/handle-thread-list-action.d.ts +1 -2
- package/dist/store/runtime-clients/handle-thread-list-action.d.ts.map +1 -1
- package/dist/store/runtime-clients/liveRef.d.ts +1 -2
- package/dist/store/runtime-clients/liveRef.d.ts.map +1 -1
- package/dist/store/runtime-clients/message-part-runtime-client.d.ts +1 -2
- package/dist/store/runtime-clients/message-part-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/message-runtime-client.d.ts +1 -2
- package/dist/store/runtime-clients/message-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/thread-list-item-runtime-client.d.ts +1 -2
- package/dist/store/runtime-clients/thread-list-item-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/thread-list-runtime-client.d.ts +1 -2
- package/dist/store/runtime-clients/thread-list-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/thread-runtime-client.d.ts +1 -2
- package/dist/store/runtime-clients/thread-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/useSubscribable.d.ts +1 -2
- package/dist/store/runtime-clients/useSubscribable.d.ts.map +1 -1
- package/dist/store/scopes/attachment.d.ts +4 -5
- package/dist/store/scopes/attachment.d.ts.map +1 -1
- package/dist/store/scopes/chain-of-thought.d.ts +5 -6
- package/dist/store/scopes/chain-of-thought.d.ts.map +1 -1
- package/dist/store/scopes/composer.d.ts +6 -7
- package/dist/store/scopes/composer.d.ts.map +1 -1
- package/dist/store/scopes/message.d.ts +6 -6
- package/dist/store/scopes/message.d.ts.map +1 -1
- package/dist/store/scopes/model-context.d.ts +3 -4
- package/dist/store/scopes/model-context.d.ts.map +1 -1
- package/dist/store/scopes/part.d.ts +4 -5
- package/dist/store/scopes/part.d.ts.map +1 -1
- package/dist/store/scopes/queue-item.d.ts +4 -4
- package/dist/store/scopes/queue-item.d.ts.map +1 -1
- package/dist/store/scopes/suggestion.d.ts +4 -5
- package/dist/store/scopes/suggestion.d.ts.map +1 -1
- package/dist/store/scopes/suggestions.d.ts +5 -6
- package/dist/store/scopes/suggestions.d.ts.map +1 -1
- package/dist/store/scopes/task.d.ts +4 -5
- package/dist/store/scopes/task.d.ts.map +1 -1
- package/dist/store/scopes/thread-list-item.d.ts +5 -6
- package/dist/store/scopes/thread-list-item.d.ts.map +1 -1
- package/dist/store/scopes/thread.d.ts +5 -6
- package/dist/store/scopes/thread.d.ts.map +1 -1
- package/dist/store/scopes/threads.d.ts +4 -5
- package/dist/store/scopes/threads.d.ts.map +1 -1
- package/dist/subscribable/subscribable.d.ts +15 -16
- package/dist/subscribable/subscribable.d.ts.map +1 -1
- package/dist/tests/remote-thread-list-test-helpers.d.ts +5 -6
- package/dist/tests/remote-thread-list-test-helpers.d.ts.map +1 -1
- package/dist/types/attachment.d.ts +9 -10
- package/dist/types/attachment.d.ts.map +1 -1
- package/dist/types/augmentations.d.ts +3 -4
- package/dist/types/augmentations.d.ts.map +1 -1
- package/dist/types/directive.d.ts +2 -3
- package/dist/types/directive.d.ts.map +1 -1
- package/dist/types/error.d.ts +8 -9
- package/dist/types/error.d.ts.map +1 -1
- package/dist/types/message.d.ts +48 -46
- package/dist/types/message.d.ts.map +1 -1
- package/dist/types/message.js.map +1 -1
- package/dist/types/quote.d.ts +1 -2
- package/dist/types/quote.d.ts.map +1 -1
- package/dist/types/trigger.d.ts +2 -3
- package/dist/types/trigger.d.ts.map +1 -1
- package/dist/types/unsubscribe.d.ts +1 -2
- package/dist/types/unsubscribe.d.ts.map +1 -1
- package/dist/utils/abortable-iterable.d.ts +2 -3
- package/dist/utils/abortable-iterable.d.ts.map +1 -1
- package/dist/utils/composite-context-provider.d.ts +1 -2
- package/dist/utils/composite-context-provider.d.ts.map +1 -1
- package/dist/utils/data-url.d.ts +6 -7
- package/dist/utils/data-url.d.ts.map +1 -1
- package/dist/utils/getGroupStatus.d.ts +2 -3
- package/dist/utils/getGroupStatus.d.ts.map +1 -1
- package/dist/utils/id.d.ts +3 -4
- package/dist/utils/id.d.ts.map +1 -1
- package/dist/utils/image-media-type.d.ts +1 -2
- package/dist/utils/image-media-type.d.ts.map +1 -1
- package/dist/utils/invoke-user-callback.d.ts +1 -2
- package/dist/utils/invoke-user-callback.d.ts.map +1 -1
- package/dist/utils/json/is-json-equal.d.ts +1 -2
- package/dist/utils/json/is-json-equal.d.ts.map +1 -1
- package/dist/utils/json/is-json.d.ts +4 -5
- package/dist/utils/json/is-json.d.ts.map +1 -1
- package/dist/utils/json/stable-stringify-tool-args.d.ts +2 -3
- package/dist/utils/json/stable-stringify-tool-args.d.ts.map +1 -1
- package/dist/utils/normalizePartStatus.d.ts +4 -5
- package/dist/utils/normalizePartStatus.d.ts.map +1 -1
- package/dist/utils/notify-event-listeners.d.ts +1 -2
- package/dist/utils/notify-event-listeners.d.ts.map +1 -1
- package/dist/utils/record.d.ts +1 -2
- package/dist/utils/record.d.ts.map +1 -1
- package/dist/utils/silent-runtime-action.d.ts +2 -3
- package/dist/utils/silent-runtime-action.d.ts.map +1 -1
- package/dist/utils/text.d.ts +1 -2
- package/dist/utils/text.d.ts.map +1 -1
- package/dist/utils/wire-media.d.ts +3 -4
- package/dist/utils/wire-media.d.ts.map +1 -1
- package/package.json +14 -13
- package/src/adapters/attachment.ts +8 -1
- package/src/adapters/feedback.ts +1 -0
- package/src/model-context/frame/provider.test.ts +45 -20
- package/src/react/RuntimeAdapter.test.ts +4 -1
- package/src/react/adapters/LocalStorageThreadListAdapter.test.ts +117 -0
- package/src/react/adapters/LocalStorageThreadListAdapter.tsx +27 -74
- package/src/react/client/Interactables.test.ts +12 -7
- package/src/react/client/RemoteThreadList.concurrent.test.tsx +9 -3
- package/src/react/client/RemoteThreadList.test.ts +5 -6
- package/src/react/interactables-legacy/Interactables.test.ts +9 -3
- package/src/react/interactables-legacy/useAssistantInteractable.test.tsx +40 -22
- package/src/react/model-context/useInteractable.test.tsx +56 -29
- package/src/react/primitive-hooks/useActionBarCopy.test.ts +5 -5
- package/src/react/primitives/generativeUI/GenerativeUI.test.tsx +54 -0
- package/src/react/primitives/generativeUI/GenerativeUI.tsx +13 -18
- package/src/react/primitives/message/MessageGroupedParts.test.tsx +4 -1
- package/src/react/primitives/thread/ThreadMessages.test.tsx +25 -7
- package/src/react/runtimes/RemoteThreadListHookInstanceManager.layout.test.tsx +62 -0
- package/src/react/runtimes/RemoteThreadListHookInstanceManager.retry.test.tsx +2 -2
- package/src/react/runtimes/RemoteThreadListHookInstanceManager.test.tsx +23 -20
- package/src/react/runtimes/RemoteThreadListHookInstanceManager.title.test.tsx +24 -17
- package/src/react/runtimes/RemoteThreadListHookInstanceManager.tsx +39 -24
- package/src/react/runtimes/assistant-transport/transport-scheduling.test.ts +73 -46
- package/src/react/runtimes/assistant-transport/useAssistantTransportRuntime.test.tsx +66 -1
- package/src/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.test.tsx +102 -0
- package/src/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.ts +24 -11
- package/src/react/runtimes/cloud/CloudFileAttachmentAdapter.test.ts +8 -4
- package/src/react/runtimes/cloud/auiV0.ts +121 -1
- package/src/react/runtimes/cloud/auiV0DecodeSafely.test.ts +522 -0
- package/src/react/runtimes/external-message-converter.test.ts +7 -3
- package/src/react/runtimes/remote-thread-hook-on-tap.test.ts +2 -1
- package/src/react/runtimes/useExternalStoreRuntime.lifecycle.test.tsx +8 -2
- package/src/react/runtimes/useExternalStoreRuntime.suggestions.test.tsx +6 -2
- package/src/react/runtimes/useRemoteThreadListRuntime.concurrent.test.tsx +84 -4
- package/src/react/runtimes/useRemoteThreadListRuntime.ts +5 -1
- package/src/runtime/api/message-part-runtime.ts +4 -1
- package/src/runtime/api/message-runtime.ts +15 -2
- package/src/runtime/base/base-thread-runtime-core.test.ts +761 -18
- package/src/runtime/base/base-thread-runtime-core.ts +89 -26
- package/src/runtime/base/default-edit-composer-runtime-core.ts +12 -2
- package/src/runtime/base/default-thread-composer-runtime-core.ts +12 -1
- package/src/runtime/interfaces/thread-runtime-core.ts +2 -0
- package/src/runtime/queue/message-queue.ts +11 -1
- package/src/runtime/utils/external-message-conversion.test.ts +43 -0
- package/src/runtime/utils/external-message-conversion.ts +6 -2
- package/src/runtime/utils/stored-message-parts.ts +174 -0
- package/src/runtime/utils/thread-message-like.ts +7 -2
- package/src/runtimes/external-store/external-store-adapter.ts +4 -0
- package/src/runtimes/external-store/external-store-thread-runtime-core.ts +44 -9
- package/src/runtimes/local/local-thread-runtime-core.test.ts +168 -12
- package/src/runtimes/local/local-thread-runtime-core.ts +80 -9
- package/src/store/clients/external-thread.ts +34 -13
- package/src/store/primitive-predicates.test.ts +16 -0
- package/src/store/primitive-predicates.ts +4 -1
- package/src/store/runtime-clients/thread-runtime-client.test.tsx +110 -0
- package/src/store/scopes/message.ts +4 -1
- package/src/subscribable/subscribable.test.ts +7 -2
- package/src/tests/attachment-adapters.test.ts +16 -1
- package/src/tests/auiV0Encode.test.ts +4 -0
- package/src/tests/base-composer-runtime-core-addAttachment.test.ts +6 -6
- package/src/tests/base-composer-runtime-core.test.ts +16 -5
- package/src/tests/composer-can-cancel.test.ts +35 -6
- package/src/tests/composer-can-send.test.ts +22 -0
- package/src/tests/default-edit-composer-runtime-core.test.ts +47 -0
- package/src/tests/external-store-thread-runtime-core-adapter.test.ts +229 -27
- package/src/tests/external-store-thread-runtime-core.test.ts +31 -0
- package/src/tests/external-thread-attachments.test.tsx +22 -23
- package/src/tests/external-thread-feedback.test.tsx +20 -7
- package/src/tests/external-thread-parity.test.tsx +1 -1
- package/src/tests/message-queue.test.ts +45 -10
- package/src/tests/thread-switch-events.test.tsx +11 -7
- package/src/tests/useRemoteThreadListRuntime-controlled.test.tsx +2 -1
- package/src/types/message.test.ts +19 -0
- package/src/types/message.ts +16 -8
|
@@ -7,7 +7,7 @@ import { ToolCallMessagePartComponent } from "../types/MessagePartComponentTypes
|
|
|
7
7
|
* `MessagePrimitive.Parts` inline tool render overrides for per-message UI.
|
|
8
8
|
* See https://assistant-ui.com/docs/migrations/toolkit-tools.
|
|
9
9
|
*/
|
|
10
|
-
type AssistantToolUIProps<TArgs, TResult> = {
|
|
10
|
+
export type AssistantToolUIProps<TArgs, TResult> = {
|
|
11
11
|
/** Name of the tool whose calls should use this renderer. */
|
|
12
12
|
toolName: string;
|
|
13
13
|
/** Component rendered for matching tool-call message parts. */
|
|
@@ -31,7 +31,6 @@ type AssistantToolUIProps<TArgs, TResult> = {
|
|
|
31
31
|
* `MessagePrimitive.Parts` inline tool render overrides for per-message UI.
|
|
32
32
|
* See https://assistant-ui.com/docs/migrations/toolkit-tools.
|
|
33
33
|
*/
|
|
34
|
-
declare const useAssistantToolUI: (tool: AssistantToolUIProps<any, any> | null) => void;
|
|
34
|
+
export declare const useAssistantToolUI: (tool: AssistantToolUIProps<any, any> | null) => void;
|
|
35
35
|
//#endregion
|
|
36
|
-
export { AssistantToolUIProps, useAssistantToolUI };
|
|
37
36
|
//# sourceMappingURL=useAssistantToolUI.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAssistantToolUI.d.ts","names":[],"sources":["../../../src/react/model-context/useAssistantToolUI.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useAssistantToolUI.d.ts","names":[],"sources":["../../../src/react/model-context/useAssistantToolUI.ts"],"mappings":";;;;;;;;;YAWY,qBAAqB,OAAO;;EAEtC;;EAEA,QAAQ,6BAA6B,OAAO;;;;;;EAM5C;;;;;;;;;;;;;;qBAeW,qBACX,MAAM"}
|
|
@@ -15,7 +15,6 @@ type AuiToolOverrides = Record<string, AuiToolOverride<any, any>>;
|
|
|
15
15
|
*
|
|
16
16
|
* @deprecated Experimental, API may change.
|
|
17
17
|
*/
|
|
18
|
-
declare function useAuiToolOverrides(overrides: AuiToolOverrides): void;
|
|
18
|
+
export declare function useAuiToolOverrides(overrides: AuiToolOverrides): void;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { useAuiToolOverrides };
|
|
21
20
|
//# sourceMappingURL=useAuiToolOverrides.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAuiToolOverrides.d.ts","names":[],"sources":["../../../src/react/model-context/useAuiToolOverrides.ts"],"mappings":";;KAIK,gBACH,cAAc,0BAA0B,yBACxC,qBACE,QAAQ,KAAK,OAAO;KAEnB,mBAAmB,eAAe;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useAuiToolOverrides.d.ts","names":[],"sources":["../../../src/react/model-context/useAuiToolOverrides.ts"],"mappings":";;KAIK,gBACH,cAAc,0BAA0B,yBACxC,qBACE,QAAQ,KAAK,OAAO;KAEnB,mBAAmB,eAAe;;;;;;;;;;;;;;wBAevB,oBAAoB,WAAW"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ToolCallMessagePartProps } from "../types/MessagePartComponentTypes.js";
|
|
2
2
|
import { FC } from "react";
|
|
3
3
|
//#region src/react/model-context/useInlineRender.d.ts
|
|
4
|
-
declare const useInlineRender: <TArgs, TResult>(toolUI: FC<ToolCallMessagePartProps<TArgs, TResult>>) => FC<ToolCallMessagePartProps<TArgs, TResult>>;
|
|
4
|
+
export declare const useInlineRender: <TArgs, TResult>(toolUI: FC<ToolCallMessagePartProps<TArgs, TResult>>) => FC<ToolCallMessagePartProps<TArgs, TResult>>;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { useInlineRender };
|
|
7
6
|
//# sourceMappingURL=useInlineRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInlineRender.d.ts","names":[],"sources":["../../../src/react/model-context/useInlineRender.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"useInlineRender.d.ts","names":[],"sources":["../../../src/react/model-context/useInlineRender.ts"],"mappings":";;;qBAKa,kBAAmB,OAAO,SACrC,QAAQ,GAAG,yBAAyB,OAAO,cAC1C,GAAG,yBAAyB,OAAO"}
|
|
@@ -6,7 +6,7 @@ import { Unstable_InteractableStateSchema } from "../types/scopes/interactables.
|
|
|
6
6
|
* output type of a StandardSchemaV1 schema (e.g. Zod); plain JSON Schema
|
|
7
7
|
* falls back to `unknown`.
|
|
8
8
|
*/
|
|
9
|
-
type Unstable_InferInteractableState<TSchema> = TSchema extends {
|
|
9
|
+
export type Unstable_InferInteractableState<TSchema> = TSchema extends {
|
|
10
10
|
"~standard": {
|
|
11
11
|
types?: {
|
|
12
12
|
output: infer TOutput;
|
|
@@ -18,7 +18,7 @@ type Unstable_InferInteractableState<TSchema> = TSchema extends {
|
|
|
18
18
|
* tool-call parts. Show `state` to display history; call `restore()` to set
|
|
19
19
|
* the live instance back to it.
|
|
20
20
|
*/
|
|
21
|
-
type Unstable_InteractableVersionInfo<TState> = {
|
|
21
|
+
export type Unstable_InteractableVersionInfo<TState> = {
|
|
22
22
|
/** The interactable's state as it was at this message. */
|
|
23
23
|
state: TState;
|
|
24
24
|
/** Whether this message holds the instance's most recent tool-driven version. */
|
|
@@ -30,7 +30,7 @@ type Unstable_InteractableVersionInfo<TState> = {
|
|
|
30
30
|
* Unstable / Experimental — the interactables API is still evolving and may change in any release.
|
|
31
31
|
* @deprecated Unstable / Experimental (not actually removed).
|
|
32
32
|
*/
|
|
33
|
-
type Unstable_InteractableConfig<TSchema extends Unstable_InteractableStateSchema> = {
|
|
33
|
+
export type Unstable_InteractableConfig<TSchema extends Unstable_InteractableStateSchema> = {
|
|
34
34
|
description: string;
|
|
35
35
|
stateSchema: TSchema;
|
|
36
36
|
initialState: Unstable_InferInteractableState<TSchema>;
|
|
@@ -63,7 +63,7 @@ type Unstable_InteractableConfig<TSchema extends Unstable_InteractableStateSchem
|
|
|
63
63
|
*
|
|
64
64
|
* @deprecated Unstable / Experimental (not actually removed).
|
|
65
65
|
*/
|
|
66
|
-
declare const unstable_useInteractable: <TSchema extends Unstable_InteractableStateSchema>(name: string, config: Unstable_InteractableConfig<TSchema>) => readonly [Unstable_InferInteractableState<TSchema>, {
|
|
66
|
+
export declare const unstable_useInteractable: <TSchema extends Unstable_InteractableStateSchema>(name: string, config: Unstable_InteractableConfig<TSchema>) => readonly [Unstable_InferInteractableState<TSchema>, {
|
|
67
67
|
id: string;
|
|
68
68
|
version: Unstable_InteractableVersionInfo<Unstable_InferInteractableState<TSchema>> | undefined;
|
|
69
69
|
setState: (updater: Unstable_InferInteractableState<TSchema> | ((prev: Unstable_InferInteractableState<TSchema>) => Unstable_InferInteractableState<TSchema>)) => void;
|
|
@@ -72,5 +72,4 @@ declare const unstable_useInteractable: <TSchema extends Unstable_InteractableSt
|
|
|
72
72
|
flush: () => Promise<void>;
|
|
73
73
|
}];
|
|
74
74
|
//#endregion
|
|
75
|
-
export { Unstable_InferInteractableState, Unstable_InteractableConfig, Unstable_InteractableVersionInfo, unstable_useInteractable };
|
|
76
75
|
//# sourceMappingURL=useInteractable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInteractable.d.ts","names":[],"sources":["../../../src/react/model-context/useInteractable.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"useInteractable.d.ts","names":[],"sources":["../../../src/react/model-context/useInteractable.ts"],"mappings":";;;;;;;;YAmBY,gCAAgC,WAAW;EACrD;IAAe;MAAU,cAAc;;;IAErC;;;;;;YAQQ,iCAAiC;;EAE3C,OAAO;;EAEP;;EAEA;;;;;;YAOU,4BACV,gBAAgB;EAEhB;EACA,aAAa;EACb,cAAc,gCAAgC;;EAE9C;;;;;;;;EAQA,eAAe;;;;;;;;;;;;;;;;;;;;qBAoJJ,2BACX,gBAAgB,kCAEhB,cACA,QAAQ,4BAA4B,uBAEpC,gCAAgC;EAE9B;EACA,SACI,iCACE,gCAAgC;EAGtC,WACE,SACI,gCAAgC,aAE9B,MAAM,gCAAgC,aACnC,gCAAgC;EAE3C;EACA;EACA,aAAa"}
|
|
@@ -9,12 +9,11 @@ type StateUpdater<TState> = TState | ((prev: TState) => TState);
|
|
|
9
9
|
*
|
|
10
10
|
* @deprecated Unstable / Experimental (not actually removed).
|
|
11
11
|
*/
|
|
12
|
-
declare const unstable_useInteractableState: <TState>(id: string) => [TState | undefined, {
|
|
12
|
+
export declare const unstable_useInteractableState: <TState>(id: string) => [TState | undefined, {
|
|
13
13
|
setState: (updater: StateUpdater<TState>) => void;
|
|
14
14
|
isPending: boolean;
|
|
15
15
|
error: unknown;
|
|
16
16
|
flush: () => Promise<void>;
|
|
17
17
|
}];
|
|
18
18
|
//#endregion
|
|
19
|
-
export { unstable_useInteractableState };
|
|
20
19
|
//# sourceMappingURL=useInteractableState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInteractableState.d.ts","names":[],"sources":["../../../src/react/model-context/useInteractableState.ts"],"mappings":";KAKK,aAAa,UAAU,WAAW,MAAM,WAAW;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useInteractableState.d.ts","names":[],"sources":["../../../src/react/model-context/useInteractableState.ts"],"mappings":";KAKK,aAAa,UAAU,WAAW,MAAM,WAAW;;;;;;;;;;qBAyD3C,gCAAgC,QAAQ,gBACnD;EAEE,WAAW,SAAS,aAAa;EACjC;EACA;EACA,aAAa"}
|
|
@@ -9,10 +9,9 @@ import { Unstable_InteractableVersion } from "../../model-context/interactable-c
|
|
|
9
9
|
*
|
|
10
10
|
* @deprecated Unstable / Experimental (not actually removed).
|
|
11
11
|
*/
|
|
12
|
-
declare const unstable_useInteractableVersions: <TState = unknown>(id: string, name: string) => (Omit<Unstable_InteractableVersion, "state"> & {
|
|
12
|
+
export declare const unstable_useInteractableVersions: <TState = unknown>(id: string, name: string) => (Omit<Unstable_InteractableVersion, "state"> & {
|
|
13
13
|
state: TState;
|
|
14
14
|
restore: () => void;
|
|
15
15
|
})[];
|
|
16
16
|
//#endregion
|
|
17
|
-
export { unstable_useInteractableVersions };
|
|
18
17
|
//# sourceMappingURL=useInteractableVersions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInteractableVersions.d.ts","names":[],"sources":["../../../src/react/model-context/useInteractableVersions.ts"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useInteractableVersions.d.ts","names":[],"sources":["../../../src/react/model-context/useInteractableVersions.ts"],"mappings":";;;;;;;;;;;qBAyCa,mCAAmC,kBAC9C,YACA,kBACI,KAAK;EACT,OAAO;EACP"}
|
|
@@ -3,7 +3,7 @@ type PropFieldStatus = "streaming" | "complete";
|
|
|
3
3
|
/**
|
|
4
4
|
* Streaming completion status for the arguments of the current tool call.
|
|
5
5
|
*/
|
|
6
|
-
type ToolArgsStatus<TArgs extends Record<string, unknown> = Record<string, unknown>> = {
|
|
6
|
+
export type ToolArgsStatus<TArgs extends Record<string, unknown> = Record<string, unknown>> = {
|
|
7
7
|
/** Overall lifecycle state of the tool-call part. */
|
|
8
8
|
status: "running" | "complete" | "incomplete" | "requires-action";
|
|
9
9
|
/** Per-argument status keyed by argument name. */
|
|
@@ -33,7 +33,6 @@ type ToolArgsStatus<TArgs extends Record<string, unknown> = Record<string, unkno
|
|
|
33
33
|
* }
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
|
-
declare const useToolArgsStatus: <TArgs extends Record<string, unknown> = Record<string, unknown>>() => ToolArgsStatus<TArgs>;
|
|
36
|
+
export declare const useToolArgsStatus: <TArgs extends Record<string, unknown> = Record<string, unknown>>() => ToolArgsStatus<TArgs>;
|
|
37
37
|
//#endregion
|
|
38
|
-
export { ToolArgsStatus, useToolArgsStatus };
|
|
39
38
|
//# sourceMappingURL=useToolArgsStatus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToolArgsStatus.d.ts","names":[],"sources":["../../../src/react/model-context/useToolArgsStatus.ts"],"mappings":";KAQK;;;;
|
|
1
|
+
{"version":3,"file":"useToolArgsStatus.d.ts","names":[],"sources":["../../../src/react/model-context/useToolArgsStatus.ts"],"mappings":";KAQK;;;;YAKO,eACV,cAAc,0BAA0B;;EAGxC;;EAEA,YAAY,QAAQ,aAAa,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;qBA2B7B,oBACX,cAAc,0BAA0B,8BACrC,eAAe"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useActionBarCopy.d.ts
|
|
2
|
-
type UseActionBarCopyOptions = {
|
|
2
|
+
export type UseActionBarCopyOptions = {
|
|
3
3
|
copiedDuration?: number | undefined;
|
|
4
4
|
copyToClipboard?: ((text: string) => void | Promise<void>) | undefined;
|
|
5
5
|
};
|
|
6
|
-
declare const useActionBarCopy: ({ copiedDuration, copyToClipboard }?: UseActionBarCopyOptions) => {
|
|
6
|
+
export declare const useActionBarCopy: ({ copiedDuration, copyToClipboard }?: UseActionBarCopyOptions) => {
|
|
7
7
|
copy: () => void;
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
isCopied: boolean;
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
|
-
export { UseActionBarCopyOptions, useActionBarCopy };
|
|
13
12
|
//# sourceMappingURL=useActionBarCopy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActionBarCopy.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarCopy.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useActionBarCopy.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarCopy.ts"],"mappings":";YAIY;EACV;EACA,oBAAoB,wBAAwB;;qBAGjC,qBAAoB,gBAAA,oBAG9B"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useActionBarEdit.d.ts
|
|
2
|
-
declare const useActionBarEdit: () => {
|
|
2
|
+
export declare const useActionBarEdit: () => {
|
|
3
3
|
edit: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useActionBarEdit };
|
|
8
7
|
//# sourceMappingURL=useActionBarEdit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActionBarEdit.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarEdit.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useActionBarEdit.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarEdit.ts"],"mappings":";qBAIa;EAAA;EAAA"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useActionBarFeedback.d.ts
|
|
2
|
-
declare const useActionBarFeedbackPositive: () => {
|
|
2
|
+
export declare const useActionBarFeedbackPositive: () => {
|
|
3
3
|
submit: () => void;
|
|
4
4
|
isSubmitted: boolean;
|
|
5
5
|
};
|
|
6
|
-
declare const useActionBarFeedbackNegative: () => {
|
|
6
|
+
export declare const useActionBarFeedbackNegative: () => {
|
|
7
7
|
submit: () => void;
|
|
8
8
|
isSubmitted: boolean;
|
|
9
9
|
};
|
|
10
10
|
//#endregion
|
|
11
|
-
export { useActionBarFeedbackNegative, useActionBarFeedbackPositive };
|
|
12
11
|
//# sourceMappingURL=useActionBarFeedback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActionBarFeedback.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarFeedback.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useActionBarFeedback.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarFeedback.ts"],"mappings":";qBAGa;EAAA;EAAA;;qBAaA;EAAA;EAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useActionBarReload.d.ts
|
|
2
|
-
declare const useActionBarReload: () => {
|
|
2
|
+
export declare const useActionBarReload: () => {
|
|
3
3
|
reload: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useActionBarReload };
|
|
8
7
|
//# sourceMappingURL=useActionBarReload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActionBarReload.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarReload.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useActionBarReload.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarReload.ts"],"mappings":";qBAIa;EAAA;EAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useActionBarSpeak.d.ts
|
|
2
|
-
declare const useActionBarSpeak: () => {
|
|
2
|
+
export declare const useActionBarSpeak: () => {
|
|
3
3
|
speak: () => Promise<void>;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useActionBarSpeak };
|
|
8
7
|
//# sourceMappingURL=useActionBarSpeak.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActionBarSpeak.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarSpeak.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useActionBarSpeak.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarSpeak.ts"],"mappings":";qBAGa;eAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useActionBarStopSpeaking.d.ts
|
|
2
|
-
declare const useActionBarStopSpeaking: () => {
|
|
2
|
+
export declare const useActionBarStopSpeaking: () => {
|
|
3
3
|
stopSpeaking: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useActionBarStopSpeaking };
|
|
8
7
|
//# sourceMappingURL=useActionBarStopSpeaking.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActionBarStopSpeaking.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarStopSpeaking.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useActionBarStopSpeaking.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useActionBarStopSpeaking.ts"],"mappings":";qBAGa;EAAA;EAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useBranchPickerNext.d.ts
|
|
2
|
-
declare const useBranchPickerNext: () => {
|
|
2
|
+
export declare const useBranchPickerNext: () => {
|
|
3
3
|
next: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useBranchPickerNext };
|
|
8
7
|
//# sourceMappingURL=useBranchPickerNext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBranchPickerNext.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useBranchPickerNext.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useBranchPickerNext.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useBranchPickerNext.ts"],"mappings":";qBAIa;EAAA;EAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useBranchPickerPrevious.d.ts
|
|
2
|
-
declare const useBranchPickerPrevious: () => {
|
|
2
|
+
export declare const useBranchPickerPrevious: () => {
|
|
3
3
|
previous: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useBranchPickerPrevious };
|
|
8
7
|
//# sourceMappingURL=useBranchPickerPrevious.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBranchPickerPrevious.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useBranchPickerPrevious.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useBranchPickerPrevious.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useBranchPickerPrevious.ts"],"mappings":";qBAIa;EAAA;EAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CreateAttachment } from "../../types/attachment.js";
|
|
2
2
|
//#region src/react/primitive-hooks/useComposerAddAttachment.d.ts
|
|
3
|
-
declare const useComposerAddAttachment: () => {
|
|
3
|
+
export declare const useComposerAddAttachment: () => {
|
|
4
4
|
addAttachment: (file: File | CreateAttachment) => Promise<void>;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
|
-
export { useComposerAddAttachment };
|
|
9
8
|
//# sourceMappingURL=useComposerAddAttachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComposerAddAttachment.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useComposerAddAttachment.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"useComposerAddAttachment.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useComposerAddAttachment.ts"],"mappings":";;qBAIa;EAKF,gBAAA,MAAA,OAAO,qBAAgB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useComposerCancel.d.ts
|
|
2
|
-
declare const useComposerCancel: () => {
|
|
2
|
+
export declare const useComposerCancel: () => {
|
|
3
3
|
cancel: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useComposerCancel };
|
|
8
7
|
//# sourceMappingURL=useComposerCancel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComposerCancel.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useComposerCancel.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useComposerCancel.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useComposerCancel.ts"],"mappings":";qBAIa;EAAA;EAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useComposerDictate.d.ts
|
|
2
|
-
declare const useComposerDictate: () => {
|
|
2
|
+
export declare const useComposerDictate: () => {
|
|
3
3
|
startDictation: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useComposerDictate };
|
|
8
7
|
//# sourceMappingURL=useComposerDictate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComposerDictate.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useComposerDictate.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useComposerDictate.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useComposerDictate.ts"],"mappings":";qBAGa;EAAA;EAAA"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ComposerSendOptions } from "../../store/scopes/composer.js";
|
|
2
2
|
//#region src/react/primitive-hooks/useComposerSend.d.ts
|
|
3
|
-
declare const useComposerSend: () => {
|
|
3
|
+
export declare const useComposerSend: () => {
|
|
4
4
|
send: (opts?: ComposerSendOptions) => void;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
|
-
export { useComposerSend };
|
|
9
8
|
//# sourceMappingURL=useComposerSend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComposerSend.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useComposerSend.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"useComposerSend.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useComposerSend.ts"],"mappings":";;qBAKa;EAKD,OAAA,OAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useEditComposerCancel.d.ts
|
|
2
|
-
declare const useEditComposerCancel: () => {
|
|
2
|
+
export declare const useEditComposerCancel: () => {
|
|
3
3
|
cancel: () => void;
|
|
4
4
|
};
|
|
5
5
|
//#endregion
|
|
6
|
-
export { useEditComposerCancel };
|
|
7
6
|
//# sourceMappingURL=useEditComposerCancel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditComposerCancel.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useEditComposerCancel.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useEditComposerCancel.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useEditComposerCancel.ts"],"mappings":";qBAGa;EAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useEditComposerSend.d.ts
|
|
2
|
-
declare const useEditComposerSend: () => {
|
|
2
|
+
export declare const useEditComposerSend: () => {
|
|
3
3
|
send: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useEditComposerSend };
|
|
8
7
|
//# sourceMappingURL=useEditComposerSend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditComposerSend.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useEditComposerSend.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useEditComposerSend.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useEditComposerSend.ts"],"mappings":";qBAGa;EAAA;EAAA"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useMessageBranching.d.ts
|
|
2
|
-
declare const useMessageBranching: () => {
|
|
2
|
+
export declare const useMessageBranching: () => {
|
|
3
3
|
branchNumber: number;
|
|
4
4
|
branchCount: number;
|
|
5
5
|
goToPrev: () => void;
|
|
6
6
|
goToNext: () => void;
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
|
-
export { useMessageBranching };
|
|
10
9
|
//# sourceMappingURL=useMessageBranching.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMessageBranching.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useMessageBranching.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useMessageBranching.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useMessageBranching.ts"],"mappings":";qBAGa"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useMessageError.d.ts
|
|
2
|
-
declare const useMessageError: () => string | number | boolean | import("assistant-stream/utils").ReadonlyJSONObject | import("assistant-stream/utils").ReadonlyJSONArray | undefined;
|
|
2
|
+
export declare const useMessageError: () => string | number | boolean | import("assistant-stream/utils").ReadonlyJSONObject | import("assistant-stream/utils").ReadonlyJSONArray | undefined;
|
|
3
3
|
//#endregion
|
|
4
|
-
export { useMessageError };
|
|
5
4
|
//# sourceMappingURL=useMessageError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMessageError.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useMessageError.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useMessageError.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useMessageError.ts"],"mappings":";qBAGa,oFAAe,sDAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useMessageReload.d.ts
|
|
2
|
-
declare const useMessageReload: () => {
|
|
2
|
+
export declare const useMessageReload: () => {
|
|
3
3
|
reload: () => void;
|
|
4
4
|
canReload: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useMessageReload };
|
|
8
7
|
//# sourceMappingURL=useMessageReload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMessageReload.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useMessageReload.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useMessageReload.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useMessageReload.ts"],"mappings":";qBAGa;EAAA;EAAA"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useSuggestionTrigger.d.ts
|
|
2
|
-
type UseSuggestionTriggerOptions = {
|
|
2
|
+
export type UseSuggestionTriggerOptions = {
|
|
3
3
|
prompt: string;
|
|
4
4
|
send?: boolean | undefined;
|
|
5
5
|
clearComposer?: boolean | undefined;
|
|
6
6
|
};
|
|
7
|
-
declare const useSuggestionTrigger: ({ prompt, send, clearComposer }: UseSuggestionTriggerOptions) => {
|
|
7
|
+
export declare const useSuggestionTrigger: ({ prompt, send, clearComposer }: UseSuggestionTriggerOptions) => {
|
|
8
8
|
trigger: () => void;
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
};
|
|
11
11
|
//#endregion
|
|
12
|
-
export { UseSuggestionTriggerOptions, useSuggestionTrigger };
|
|
13
12
|
//# sourceMappingURL=useSuggestionTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSuggestionTrigger.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useSuggestionTrigger.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useSuggestionTrigger.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useSuggestionTrigger.ts"],"mappings":";YAIY;EACV;EACA;EACA;;qBAGW,yBAAwB,QAAA,MAAA,iBAIlC"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @deprecated Use `useAuiState((s) => s.thread.isEmpty)` instead.
|
|
4
4
|
*/
|
|
5
|
-
declare const useThreadIsEmpty: () => boolean;
|
|
5
|
+
export declare const useThreadIsEmpty: () => boolean;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useThreadIsEmpty };
|
|
8
7
|
//# sourceMappingURL=useThreadIsEmpty.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThreadIsEmpty.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadIsEmpty.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"useThreadIsEmpty.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadIsEmpty.ts"],"mappings":";;;;qBAKa"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @deprecated Use `useAuiState((s) => s.thread.isRunning)` instead.
|
|
4
4
|
*/
|
|
5
|
-
declare const useThreadIsRunning: () => boolean;
|
|
5
|
+
export declare const useThreadIsRunning: () => boolean;
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useThreadIsRunning };
|
|
8
7
|
//# sourceMappingURL=useThreadIsRunning.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThreadIsRunning.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadIsRunning.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"useThreadIsRunning.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadIsRunning.ts"],"mappings":";;;;qBAKa"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useThreadListItemArchive.d.ts
|
|
2
|
-
declare const useThreadListItemArchive: () => {
|
|
2
|
+
export declare const useThreadListItemArchive: () => {
|
|
3
3
|
archive: () => void;
|
|
4
4
|
};
|
|
5
5
|
//#endregion
|
|
6
|
-
export { useThreadListItemArchive };
|
|
7
6
|
//# sourceMappingURL=useThreadListItemArchive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThreadListItemArchive.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListItemArchive.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useThreadListItemArchive.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListItemArchive.ts"],"mappings":";qBAGa;EAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useThreadListItemDelete.d.ts
|
|
2
|
-
declare const useThreadListItemDelete: () => {
|
|
2
|
+
export declare const useThreadListItemDelete: () => {
|
|
3
3
|
delete: () => void;
|
|
4
4
|
};
|
|
5
5
|
//#endregion
|
|
6
|
-
export { useThreadListItemDelete };
|
|
7
6
|
//# sourceMappingURL=useThreadListItemDelete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThreadListItemDelete.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListItemDelete.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useThreadListItemDelete.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListItemDelete.ts"],"mappings":";qBAGa;EAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useThreadListItemTrigger.d.ts
|
|
2
|
-
declare const useThreadListItemTrigger: () => {
|
|
2
|
+
export declare const useThreadListItemTrigger: () => {
|
|
3
3
|
switchTo: () => void;
|
|
4
4
|
};
|
|
5
5
|
//#endregion
|
|
6
|
-
export { useThreadListItemTrigger };
|
|
7
6
|
//# sourceMappingURL=useThreadListItemTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThreadListItemTrigger.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListItemTrigger.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useThreadListItemTrigger.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListItemTrigger.ts"],"mappings":";qBAGa;EAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useThreadListItemUnarchive.d.ts
|
|
2
|
-
declare const useThreadListItemUnarchive: () => {
|
|
2
|
+
export declare const useThreadListItemUnarchive: () => {
|
|
3
3
|
unarchive: () => void;
|
|
4
4
|
};
|
|
5
5
|
//#endregion
|
|
6
|
-
export { useThreadListItemUnarchive };
|
|
7
6
|
//# sourceMappingURL=useThreadListItemUnarchive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThreadListItemUnarchive.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListItemUnarchive.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useThreadListItemUnarchive.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListItemUnarchive.ts"],"mappings":";qBAGa;EAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useThreadListLoadMore.d.ts
|
|
2
|
-
declare const useThreadListLoadMore: () => {
|
|
2
|
+
export declare const useThreadListLoadMore: () => {
|
|
3
3
|
loadMore: () => void;
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { useThreadListLoadMore };
|
|
8
7
|
//# sourceMappingURL=useThreadListLoadMore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThreadListLoadMore.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListLoadMore.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useThreadListLoadMore.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListLoadMore.ts"],"mappings":";qBAIa;EAAA;EAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//#region src/react/primitive-hooks/useThreadListNew.d.ts
|
|
2
|
-
declare const useThreadListNew: () => {
|
|
2
|
+
export declare const useThreadListNew: () => {
|
|
3
3
|
switchToNewThread: () => void;
|
|
4
4
|
};
|
|
5
5
|
//#endregion
|
|
6
|
-
export { useThreadListNew };
|
|
7
6
|
//# sourceMappingURL=useThreadListNew.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThreadListNew.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListNew.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"useThreadListNew.d.ts","names":[],"sources":["../../../src/react/primitive-hooks/useThreadListNew.ts"],"mappings":";qBAGa;EAAA"}
|