@assistant-ui/core 0.1.5 → 0.1.8
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 +1 -1
- package/dist/adapters/attachment.d.ts.map +1 -1
- package/dist/adapters/feedback.d.ts +1 -1
- package/dist/adapters/feedback.d.ts.map +1 -1
- package/dist/adapters/index.d.ts +2 -0
- package/dist/adapters/index.d.ts.map +1 -1
- package/dist/adapters/index.js +1 -0
- package/dist/adapters/index.js.map +1 -1
- package/dist/adapters/mention.d.ts +24 -0
- package/dist/adapters/mention.d.ts.map +1 -0
- package/dist/adapters/mention.js +42 -0
- package/dist/adapters/mention.js.map +1 -0
- package/dist/adapters/speech.d.ts +1 -1
- package/dist/adapters/speech.d.ts.map +1 -1
- package/dist/adapters/suggestion.d.ts +1 -1
- package/dist/adapters/suggestion.d.ts.map +1 -1
- package/dist/index.d.ts +47 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -5
- package/dist/index.js.map +1 -1
- package/dist/internal.d.ts +5 -2
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +13 -2
- package/dist/internal.js.map +1 -1
- package/dist/model-context/frame/host.d.ts +1 -1
- package/dist/model-context/frame/host.d.ts.map +1 -1
- package/dist/model-context/frame/provider.d.ts +1 -1
- package/dist/model-context/frame/provider.d.ts.map +1 -1
- package/dist/model-context/registry.d.ts +1 -1
- package/dist/model-context/registry.d.ts.map +1 -1
- package/dist/model-context/types.d.ts +1 -1
- package/dist/model-context/types.d.ts.map +1 -1
- package/dist/react/AssistantRuntimeProvider.d.ts +0 -1
- package/dist/react/AssistantRuntimeProvider.d.ts.map +1 -1
- package/dist/react/AssistantRuntimeProvider.js +0 -9
- package/dist/react/AssistantRuntimeProvider.js.map +1 -1
- package/dist/react/RuntimeAdapter.d.ts.map +1 -1
- package/dist/react/RuntimeAdapter.js +7 -7
- package/dist/react/RuntimeAdapter.js.map +1 -1
- package/dist/react/client/Tools.js +5 -6
- package/dist/react/client/Tools.js.map +1 -1
- package/dist/react/index.d.ts +69 -9
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +69 -8
- package/dist/react/index.js.map +1 -1
- package/dist/react/model-context/useInlineRender.d.ts +1 -1
- package/dist/react/model-context/useInlineRender.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useActionBarSpeak.d.ts +5 -0
- package/dist/react/primitive-hooks/useActionBarSpeak.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useActionBarSpeak.js +15 -0
- package/dist/react/primitive-hooks/useActionBarSpeak.js.map +1 -0
- package/dist/react/primitive-hooks/useActionBarStopSpeaking.d.ts +5 -0
- package/dist/react/primitive-hooks/useActionBarStopSpeaking.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useActionBarStopSpeaking.js +11 -0
- package/dist/react/primitive-hooks/useActionBarStopSpeaking.js.map +1 -0
- package/dist/react/primitive-hooks/useBranchPickerNext.d.ts +5 -0
- package/dist/react/primitive-hooks/useBranchPickerNext.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useBranchPickerNext.js +18 -0
- package/dist/react/primitive-hooks/useBranchPickerNext.js.map +1 -0
- package/dist/react/primitive-hooks/useBranchPickerPrevious.d.ts +5 -0
- package/dist/react/primitive-hooks/useBranchPickerPrevious.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useBranchPickerPrevious.js +18 -0
- package/dist/react/primitive-hooks/useBranchPickerPrevious.js.map +1 -0
- package/dist/react/primitive-hooks/useComposerDictate.d.ts +5 -0
- package/dist/react/primitive-hooks/useComposerDictate.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useComposerDictate.js +13 -0
- package/dist/react/primitive-hooks/useComposerDictate.js.map +1 -0
- package/dist/react/primitive-hooks/useComposerSend.d.ts +2 -1
- package/dist/react/primitive-hooks/useComposerSend.d.ts.map +1 -1
- package/dist/react/primitive-hooks/useComposerSend.js +5 -3
- package/dist/react/primitive-hooks/useComposerSend.js.map +1 -1
- package/dist/react/primitive-hooks/useMessageError.d.ts +2 -0
- package/dist/react/primitive-hooks/useMessageError.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useMessageError.js +8 -0
- package/dist/react/primitive-hooks/useMessageError.js.map +1 -0
- package/dist/react/primitive-hooks/useSuggestionTrigger.d.ts +10 -0
- package/dist/react/primitive-hooks/useSuggestionTrigger.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useSuggestionTrigger.js +32 -0
- package/dist/react/primitive-hooks/useSuggestionTrigger.js.map +1 -0
- package/dist/react/primitive-hooks/useThreadListItemArchive.d.ts +4 -0
- package/dist/react/primitive-hooks/useThreadListItemArchive.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useThreadListItemArchive.js +10 -0
- package/dist/react/primitive-hooks/useThreadListItemArchive.js.map +1 -0
- package/dist/react/primitive-hooks/useThreadListItemDelete.d.ts +4 -0
- package/dist/react/primitive-hooks/useThreadListItemDelete.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useThreadListItemDelete.js +10 -0
- package/dist/react/primitive-hooks/useThreadListItemDelete.js.map +1 -0
- package/dist/react/primitive-hooks/useThreadListItemTrigger.d.ts +4 -0
- package/dist/react/primitive-hooks/useThreadListItemTrigger.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useThreadListItemTrigger.js +10 -0
- package/dist/react/primitive-hooks/useThreadListItemTrigger.js.map +1 -0
- package/dist/react/primitive-hooks/useThreadListItemUnarchive.d.ts +4 -0
- package/dist/react/primitive-hooks/useThreadListItemUnarchive.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useThreadListItemUnarchive.js +10 -0
- package/dist/react/primitive-hooks/useThreadListItemUnarchive.js.map +1 -0
- package/dist/react/primitive-hooks/useThreadListNew.d.ts +4 -0
- package/dist/react/primitive-hooks/useThreadListNew.d.ts.map +1 -0
- package/dist/react/primitive-hooks/useThreadListNew.js +10 -0
- package/dist/react/primitive-hooks/useThreadListNew.js.map +1 -0
- package/dist/react/primitives/chainOfThought/ChainOfThoughtParts.d.ts +23 -13
- package/dist/react/primitives/chainOfThought/ChainOfThoughtParts.d.ts.map +1 -1
- package/dist/react/primitives/chainOfThought/ChainOfThoughtParts.js +16 -8
- package/dist/react/primitives/chainOfThought/ChainOfThoughtParts.js.map +1 -1
- package/dist/react/primitives/composer/ComposerAttachments.d.ts +19 -8
- package/dist/react/primitives/composer/ComposerAttachments.d.ts.map +1 -1
- package/dist/react/primitives/composer/ComposerAttachments.js +19 -7
- package/dist/react/primitives/composer/ComposerAttachments.js.map +1 -1
- package/dist/react/primitives/composer/ComposerQueue.d.ts +31 -0
- package/dist/react/primitives/composer/ComposerQueue.d.ts.map +1 -0
- package/dist/react/primitives/composer/ComposerQueue.js +30 -0
- package/dist/react/primitives/composer/ComposerQueue.js.map +1 -0
- package/dist/react/primitives/message/MessageAttachments.d.ts +19 -8
- package/dist/react/primitives/message/MessageAttachments.d.ts.map +1 -1
- package/dist/react/primitives/message/MessageAttachments.js +19 -7
- package/dist/react/primitives/message/MessageAttachments.js.map +1 -1
- package/dist/react/primitives/message/MessageParts.d.ts +41 -5
- package/dist/react/primitives/message/MessageParts.d.ts.map +1 -1
- package/dist/react/primitives/message/MessageParts.js +113 -5
- package/dist/react/primitives/message/MessageParts.js.map +1 -1
- package/dist/react/primitives/message/MessageQuote.d.ts +10 -0
- package/dist/react/primitives/message/MessageQuote.d.ts.map +1 -0
- package/dist/react/primitives/message/MessageQuote.js +27 -0
- package/dist/react/primitives/message/MessageQuote.js.map +1 -0
- package/dist/react/primitives/part/PartMessages.d.ts +37 -0
- package/dist/react/primitives/part/PartMessages.d.ts.map +1 -0
- package/dist/react/primitives/part/PartMessages.js +49 -0
- package/dist/react/primitives/part/PartMessages.js.map +1 -0
- package/dist/react/primitives/thread/ThreadMessages.d.ts +54 -72
- package/dist/react/primitives/thread/ThreadMessages.d.ts.map +1 -1
- package/dist/react/primitives/thread/ThreadMessages.js +32 -37
- package/dist/react/primitives/thread/ThreadMessages.js.map +1 -1
- package/dist/react/primitives/thread/ThreadSuggestions.d.ts +18 -10
- package/dist/react/primitives/thread/ThreadSuggestions.d.ts.map +1 -1
- package/dist/react/primitives/thread/ThreadSuggestions.js +25 -11
- package/dist/react/primitives/thread/ThreadSuggestions.js.map +1 -1
- package/dist/react/primitives/threadList/ThreadListItems.d.ts +18 -6
- package/dist/react/primitives/threadList/ThreadListItems.d.ts.map +1 -1
- package/dist/react/primitives/threadList/ThreadListItems.js +15 -7
- package/dist/react/primitives/threadList/ThreadListItems.js.map +1 -1
- package/dist/react/providers/QueueItemByIndexProvider.d.ts +6 -0
- package/dist/react/providers/QueueItemByIndexProvider.d.ts.map +1 -0
- package/dist/react/providers/QueueItemByIndexProvider.js +13 -0
- package/dist/react/providers/QueueItemByIndexProvider.js.map +1 -0
- package/dist/react/providers/ReadonlyThreadProvider.d.ts +9 -0
- package/dist/react/providers/ReadonlyThreadProvider.d.ts.map +1 -0
- package/dist/react/providers/ReadonlyThreadProvider.js +52 -0
- package/dist/react/providers/ReadonlyThreadProvider.js.map +1 -0
- package/dist/react/runtimes/RemoteThreadListHookInstanceManager.d.ts +1 -1
- package/dist/react/runtimes/RemoteThreadListHookInstanceManager.d.ts.map +1 -1
- package/dist/react/runtimes/RemoteThreadListHookInstanceManager.js +1 -1
- package/dist/react/runtimes/RemoteThreadListHookInstanceManager.js.map +1 -1
- package/dist/react/runtimes/RemoteThreadListThreadListRuntimeCore.d.ts +1 -1
- package/dist/react/runtimes/RemoteThreadListThreadListRuntimeCore.d.ts.map +1 -1
- package/dist/react/runtimes/RemoteThreadListThreadListRuntimeCore.js +2 -1
- package/dist/react/runtimes/RemoteThreadListThreadListRuntimeCore.js.map +1 -1
- package/dist/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.d.ts +1 -1
- package/dist/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/CloudFileAttachmentAdapter.d.ts +1 -1
- package/dist/react/runtimes/cloud/CloudFileAttachmentAdapter.d.ts.map +1 -1
- package/dist/react/runtimes/cloud/auiV0.d.ts +1 -1
- package/dist/react/runtimes/cloud/auiV0.d.ts.map +1 -1
- package/dist/react/runtimes/createMessageConverter.d.ts +1 -1
- package/dist/react/runtimes/createMessageConverter.d.ts.map +1 -1
- package/dist/react/runtimes/external-message-converter.d.ts +2 -1
- package/dist/react/runtimes/external-message-converter.d.ts.map +1 -1
- package/dist/react/runtimes/useLocalRuntime.d.ts +6 -6
- package/dist/react/runtimes/useLocalRuntime.js +1 -1
- package/dist/react/runtimes/useLocalRuntime.js.map +1 -1
- package/dist/react/runtimes/useToolInvocations.d.ts +1 -1
- package/dist/react/runtimes/useToolInvocations.d.ts.map +1 -1
- package/dist/react/types/MessagePartComponentTypes.d.ts +3 -1
- package/dist/react/types/MessagePartComponentTypes.d.ts.map +1 -1
- package/dist/react/utils/getMessageQuote.d.ts +9 -0
- package/dist/react/utils/getMessageQuote.d.ts.map +1 -0
- package/dist/react/utils/getMessageQuote.js +7 -0
- package/dist/react/utils/getMessageQuote.js.map +1 -0
- package/dist/runtime/api/assistant-runtime.d.ts +2 -2
- package/dist/runtime/api/assistant-runtime.d.ts.map +1 -1
- package/dist/runtime/api/attachment-runtime.d.ts +2 -1
- package/dist/runtime/api/attachment-runtime.d.ts.map +1 -1
- package/dist/runtime/api/attachment-runtime.js.map +1 -1
- package/dist/runtime/api/bindings.d.ts +1 -1
- package/dist/runtime/api/bindings.d.ts.map +1 -1
- package/dist/runtime/api/composer-runtime.d.ts +5 -1
- package/dist/runtime/api/composer-runtime.d.ts.map +1 -1
- package/dist/runtime/api/composer-runtime.js +2 -1
- package/dist/runtime/api/composer-runtime.js.map +1 -1
- package/dist/runtime/api/message-part-runtime.d.ts +3 -1
- package/dist/runtime/api/message-part-runtime.d.ts.map +1 -1
- package/dist/runtime/api/message-runtime.d.ts +3 -1
- package/dist/runtime/api/message-runtime.d.ts.map +1 -1
- package/dist/runtime/api/message-runtime.js +2 -1
- package/dist/runtime/api/message-runtime.js.map +1 -1
- package/dist/runtime/api/thread-list-item-runtime.d.ts +1 -1
- package/dist/runtime/api/thread-list-item-runtime.d.ts.map +1 -1
- package/dist/runtime/api/thread-list-runtime.d.ts +1 -1
- package/dist/runtime/api/thread-list-runtime.d.ts.map +1 -1
- package/dist/runtime/api/thread-list-runtime.js +2 -1
- package/dist/runtime/api/thread-list-runtime.js.map +1 -1
- package/dist/runtime/api/thread-runtime.d.ts +18 -10
- package/dist/runtime/api/thread-runtime.d.ts.map +1 -1
- package/dist/runtime/api/thread-runtime.js +9 -3
- package/dist/runtime/api/thread-runtime.js.map +1 -1
- package/dist/runtime/base/base-assistant-runtime-core.d.ts +2 -2
- package/dist/runtime/base/base-assistant-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/base-composer-runtime-core.d.ts +5 -2
- package/dist/runtime/base/base-composer-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/base-composer-runtime-core.js +1 -1
- package/dist/runtime/base/base-composer-runtime-core.js.map +1 -1
- package/dist/runtime/base/base-thread-runtime-core.d.ts +3 -2
- package/dist/runtime/base/base-thread-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/base-thread-runtime-core.js.map +1 -1
- package/dist/runtime/base/default-edit-composer-runtime-core.d.ts +1 -1
- package/dist/runtime/base/default-edit-composer-runtime-core.d.ts.map +1 -1
- package/dist/runtime/base/default-thread-composer-runtime-core.d.ts +1 -1
- package/dist/runtime/base/default-thread-composer-runtime-core.d.ts.map +1 -1
- package/dist/runtime/interfaces/assistant-runtime-core.d.ts +2 -2
- package/dist/runtime/interfaces/assistant-runtime-core.d.ts.map +1 -1
- package/dist/runtime/interfaces/composer-runtime-core.d.ts +5 -1
- package/dist/runtime/interfaces/composer-runtime-core.d.ts.map +1 -1
- package/dist/runtime/interfaces/thread-list-runtime-core.d.ts +1 -1
- package/dist/runtime/interfaces/thread-list-runtime-core.d.ts.map +1 -1
- package/dist/runtime/interfaces/thread-runtime-core.d.ts +5 -2
- package/dist/runtime/interfaces/thread-runtime-core.d.ts.map +1 -1
- package/dist/runtime/utils/auto-status.d.ts +1 -1
- package/dist/runtime/utils/auto-status.d.ts.map +1 -1
- package/dist/runtime/utils/chat-model-adapter.d.ts +3 -2
- package/dist/runtime/utils/chat-model-adapter.d.ts.map +1 -1
- package/dist/runtime/utils/external-store-message.d.ts +1 -1
- package/dist/runtime/utils/external-store-message.d.ts.map +1 -1
- package/dist/runtime/utils/message-repository.d.ts +2 -1
- package/dist/runtime/utils/message-repository.d.ts.map +1 -1
- package/dist/runtime/utils/message-repository.js.map +1 -1
- package/dist/runtime/utils/thread-message-like.d.ts +3 -1
- 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/runtimes/external-store/external-store-adapter.d.ts +1 -1
- package/dist/runtimes/external-store/external-store-adapter.d.ts.map +1 -1
- package/dist/runtimes/external-store/external-store-thread-list-runtime-core.d.ts +1 -1
- 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 +2 -2
- 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 +2 -0
- package/dist/runtimes/external-store/external-store-thread-runtime-core.js.map +1 -1
- package/dist/runtimes/external-store/thread-message-converter.d.ts +1 -1
- package/dist/runtimes/external-store/thread-message-converter.d.ts.map +1 -1
- package/dist/runtimes/internal.d.ts +1 -0
- package/dist/runtimes/internal.d.ts.map +1 -1
- package/dist/runtimes/internal.js +2 -0
- package/dist/runtimes/internal.js.map +1 -1
- package/dist/runtimes/local/local-thread-list-runtime-core.d.ts +1 -1
- package/dist/runtimes/local/local-thread-list-runtime-core.d.ts.map +1 -1
- package/dist/runtimes/local/local-thread-list-runtime-core.js +1 -1
- package/dist/runtimes/local/local-thread-list-runtime-core.js.map +1 -1
- package/dist/runtimes/local/local-thread-runtime-core.d.ts +3 -2
- package/dist/runtimes/local/local-thread-runtime-core.d.ts.map +1 -1
- package/dist/runtimes/local/local-thread-runtime-core.js +1 -0
- package/dist/runtimes/local/local-thread-runtime-core.js.map +1 -1
- package/dist/runtimes/local/should-continue.d.ts +1 -1
- package/dist/runtimes/local/should-continue.d.ts.map +1 -1
- package/dist/runtimes/readonly/ReadonlyThreadRuntimeCore.d.ts +86 -0
- package/dist/runtimes/readonly/ReadonlyThreadRuntimeCore.d.ts.map +1 -0
- package/dist/runtimes/readonly/ReadonlyThreadRuntimeCore.js +170 -0
- package/dist/runtimes/readonly/ReadonlyThreadRuntimeCore.js.map +1 -0
- package/dist/runtimes/remote-thread-list/empty-thread-core.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/empty-thread-core.js +1 -0
- package/dist/runtimes/remote-thread-list/empty-thread-core.js.map +1 -1
- package/dist/runtimes/remote-thread-list/optimistic-state.d.ts +9 -0
- package/dist/runtimes/remote-thread-list/optimistic-state.d.ts.map +1 -1
- package/dist/runtimes/remote-thread-list/optimistic-state.js +20 -0
- package/dist/runtimes/remote-thread-list/optimistic-state.js.map +1 -1
- package/dist/runtimes/remote-thread-list/types.d.ts +1 -1
- package/dist/runtimes/remote-thread-list/types.d.ts.map +1 -1
- package/dist/store/clients/model-context-client.js +1 -1
- package/dist/store/clients/model-context-client.js.map +1 -1
- package/dist/store/clients/no-op-composer-client.d.ts.map +1 -1
- package/dist/store/clients/no-op-composer-client.js +4 -0
- package/dist/store/clients/no-op-composer-client.js.map +1 -1
- package/dist/store/clients/runtime-adapter.d.ts +1 -1
- package/dist/store/clients/runtime-adapter.d.ts.map +1 -1
- package/dist/store/clients/runtime-adapter.js +20 -27
- package/dist/store/clients/runtime-adapter.js.map +1 -1
- package/dist/store/clients/suggestions.d.ts.map +1 -1
- package/dist/store/clients/suggestions.js.map +1 -1
- package/dist/store/clients/thread-message-client.d.ts +1 -1
- package/dist/store/clients/thread-message-client.d.ts.map +1 -1
- package/dist/store/clients/thread-message-client.js.map +1 -1
- package/dist/store/index.d.ts +17 -2
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +5 -3
- package/dist/store/index.js.map +1 -1
- package/dist/store/internal.d.ts +7 -1
- package/dist/store/internal.d.ts.map +1 -1
- package/dist/store/internal.js +7 -1
- package/dist/store/internal.js.map +1 -1
- package/dist/store/runtime-clients/attachment-runtime-client.d.ts +1 -1
- package/dist/store/runtime-clients/attachment-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/composer-runtime-client.d.ts +1 -1
- package/dist/store/runtime-clients/composer-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/composer-runtime-client.js +4 -0
- package/dist/store/runtime-clients/composer-runtime-client.js.map +1 -1
- package/dist/store/runtime-clients/message-part-runtime-client.d.ts +1 -1
- 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 -1
- package/dist/store/runtime-clients/message-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/tap-subscribable.d.ts +1 -1
- package/dist/store/runtime-clients/tap-subscribable.d.ts.map +1 -1
- package/dist/store/runtime-clients/thread-list-item-runtime-client.d.ts +1 -1
- package/dist/store/runtime-clients/thread-list-item-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/thread-list-item-runtime-client.js.map +1 -1
- package/dist/store/runtime-clients/thread-list-runtime-client.d.ts +2 -1
- package/dist/store/runtime-clients/thread-list-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/thread-list-runtime-client.js.map +1 -1
- package/dist/store/runtime-clients/thread-runtime-client.d.ts +1 -1
- package/dist/store/runtime-clients/thread-runtime-client.d.ts.map +1 -1
- package/dist/store/runtime-clients/thread-runtime-client.js +2 -1
- package/dist/store/runtime-clients/thread-runtime-client.js.map +1 -1
- package/dist/store/scope-registration.d.ts +2 -0
- package/dist/store/scope-registration.d.ts.map +1 -1
- package/dist/store/scopes/attachment.d.ts +2 -2
- package/dist/store/scopes/attachment.d.ts.map +1 -1
- package/dist/store/scopes/chain-of-thought.d.ts +2 -1
- package/dist/store/scopes/chain-of-thought.d.ts.map +1 -1
- package/dist/store/scopes/composer.d.ts +26 -3
- package/dist/store/scopes/composer.d.ts.map +1 -1
- package/dist/store/scopes/message.d.ts +4 -2
- package/dist/store/scopes/message.d.ts.map +1 -1
- package/dist/store/scopes/model-context.d.ts +2 -2
- package/dist/store/scopes/model-context.d.ts.map +1 -1
- package/dist/store/scopes/part.d.ts +3 -2
- package/dist/store/scopes/part.d.ts.map +1 -1
- package/dist/store/scopes/queue-item.d.ts +20 -0
- package/dist/store/scopes/queue-item.d.ts.map +1 -0
- package/dist/store/scopes/queue-item.js +2 -0
- package/dist/store/scopes/queue-item.js.map +1 -0
- package/dist/store/scopes/thread-list-item.d.ts +2 -1
- package/dist/store/scopes/thread-list-item.d.ts.map +1 -1
- package/dist/store/scopes/thread.d.ts +9 -2
- package/dist/store/scopes/thread.d.ts.map +1 -1
- package/dist/store/scopes/threads.d.ts +1 -1
- package/dist/store/scopes/threads.d.ts.map +1 -1
- package/dist/subscribable/subscribable.d.ts +1 -1
- package/dist/subscribable/subscribable.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/mention.d.ts +32 -0
- package/dist/types/mention.d.ts.map +1 -0
- package/dist/types/mention.js +2 -0
- package/dist/types/mention.js.map +1 -0
- package/dist/utils/composite-context-provider.d.ts +1 -1
- package/dist/utils/composite-context-provider.d.ts.map +1 -1
- package/dist/utils/composite-context-provider.js +1 -1
- package/dist/utils/composite-context-provider.js.map +1 -1
- package/dist/utils/text.d.ts +1 -1
- package/dist/utils/text.d.ts.map +1 -1
- package/dist/utils/text.js.map +1 -1
- package/package.json +12 -12
- package/src/adapters/attachment.ts +1 -1
- package/src/adapters/feedback.ts +1 -1
- package/src/adapters/index.ts +4 -0
- package/src/adapters/mention.ts +77 -0
- package/src/adapters/speech.ts +1 -1
- package/src/adapters/suggestion.ts +1 -1
- package/src/index.ts +265 -5
- package/src/internal.ts +37 -2
- package/src/model-context/frame/host.ts +1 -1
- package/src/model-context/frame/provider.ts +1 -1
- package/src/model-context/registry.ts +1 -1
- package/src/model-context/types.ts +1 -1
- package/src/react/AssistantRuntimeProvider.tsx +1 -12
- package/src/react/RuntimeAdapter.ts +7 -8
- package/src/react/client/DataRenderers.ts +2 -2
- package/src/react/client/Tools.ts +7 -8
- package/src/react/index.ts +162 -10
- package/src/react/model-context/useInlineRender.ts +1 -1
- package/src/react/primitive-hooks/useActionBarSpeak.ts +20 -0
- package/src/react/primitive-hooks/useActionBarStopSpeaking.ts +13 -0
- package/src/react/primitive-hooks/useBranchPickerNext.ts +19 -0
- package/src/react/primitive-hooks/useBranchPickerPrevious.ts +19 -0
- package/src/react/primitive-hooks/useComposerDictate.ts +18 -0
- package/src/react/primitive-hooks/useComposerSend.ts +11 -4
- package/src/react/primitive-hooks/useMessageError.ts +10 -0
- package/src/react/primitive-hooks/useSuggestionTrigger.ts +43 -0
- package/src/react/primitive-hooks/useThreadListItemArchive.ts +12 -0
- package/src/react/primitive-hooks/useThreadListItemDelete.ts +12 -0
- package/src/react/primitive-hooks/useThreadListItemTrigger.ts +12 -0
- package/src/react/primitive-hooks/useThreadListItemUnarchive.ts +12 -0
- package/src/react/primitive-hooks/useThreadListNew.ts +12 -0
- package/src/react/primitives/chainOfThought/ChainOfThoughtParts.tsx +72 -28
- package/src/react/primitives/composer/ComposerAttachments.tsx +69 -30
- package/src/react/primitives/composer/ComposerQueue.tsx +58 -0
- package/src/react/primitives/message/MessageAttachments.tsx +69 -30
- package/src/react/primitives/message/MessageParts.tsx +212 -24
- package/src/react/primitives/message/MessageQuote.tsx +37 -0
- package/src/react/primitives/part/PartMessages.tsx +75 -0
- package/src/react/primitives/thread/ThreadMessages.tsx +113 -99
- package/src/react/primitives/thread/ThreadSuggestions.tsx +72 -28
- package/src/react/primitives/threadList/ThreadListItems.tsx +69 -23
- package/src/react/providers/QueueItemByIndexProvider.tsx +21 -0
- package/src/react/providers/ReadonlyThreadProvider.tsx +84 -0
- package/src/react/runtimes/RemoteThreadListHookInstanceManager.tsx +1 -1
- package/src/react/runtimes/RemoteThreadListThreadListRuntimeCore.tsx +2 -1
- package/src/react/runtimes/cloud/AssistantCloudThreadHistoryAdapter.ts +1 -1
- package/src/react/runtimes/cloud/CloudFileAttachmentAdapter.ts +2 -2
- package/src/react/runtimes/cloud/auiV0.ts +1 -1
- package/src/react/runtimes/createMessageConverter.ts +1 -1
- package/src/react/runtimes/external-message-converter.ts +2 -2
- package/src/react/runtimes/useLocalRuntime.ts +1 -1
- package/src/react/runtimes/useToolInvocations.ts +1 -1
- package/src/react/types/MessagePartComponentTypes.ts +4 -0
- package/src/react/utils/getMessageQuote.ts +18 -0
- package/src/runtime/api/assistant-runtime.ts +2 -2
- package/src/runtime/api/attachment-runtime.ts +2 -1
- package/src/runtime/api/bindings.ts +1 -1
- package/src/runtime/api/composer-runtime.ts +9 -10
- package/src/runtime/api/message-part-runtime.ts +3 -3
- package/src/runtime/api/message-runtime.ts +5 -6
- package/src/runtime/api/thread-list-item-runtime.ts +1 -1
- package/src/runtime/api/thread-list-runtime.ts +5 -3
- package/src/runtime/api/thread-runtime.ts +19 -11
- package/src/runtime/base/base-assistant-runtime-core.ts +2 -2
- package/src/runtime/base/base-composer-runtime-core.ts +6 -7
- package/src/runtime/base/base-thread-runtime-core.ts +3 -2
- package/src/runtime/base/default-edit-composer-runtime-core.ts +1 -1
- package/src/runtime/base/default-thread-composer-runtime-core.ts +1 -1
- package/src/runtime/interfaces/assistant-runtime-core.ts +2 -2
- package/src/runtime/interfaces/composer-runtime-core.ts +5 -8
- package/src/runtime/interfaces/thread-list-runtime-core.ts +1 -1
- package/src/runtime/interfaces/thread-runtime-core.ts +5 -7
- package/src/runtime/utils/auto-status.ts +1 -1
- package/src/runtime/utils/chat-model-adapter.ts +7 -5
- package/src/runtime/utils/external-store-message.ts +1 -1
- package/src/runtime/utils/message-repository.ts +2 -1
- package/src/runtime/utils/thread-message-like.ts +3 -4
- package/src/runtimes/external-store/external-store-adapter.ts +1 -1
- package/src/runtimes/external-store/external-store-thread-list-runtime-core.ts +1 -1
- package/src/runtimes/external-store/external-store-thread-runtime-core.ts +4 -2
- package/src/runtimes/external-store/thread-message-converter.ts +1 -1
- package/src/runtimes/internal.ts +3 -0
- package/src/runtimes/local/local-thread-list-runtime-core.ts +1 -1
- package/src/runtimes/local/local-thread-runtime-core.ts +4 -3
- package/src/runtimes/local/should-continue.ts +1 -1
- package/src/runtimes/readonly/ReadonlyThreadRuntimeCore.ts +224 -0
- package/src/runtimes/remote-thread-list/empty-thread-core.ts +1 -0
- package/src/runtimes/remote-thread-list/optimistic-state.ts +27 -0
- package/src/runtimes/remote-thread-list/types.ts +1 -1
- package/src/store/clients/chain-of-thought-client.ts +1 -1
- package/src/store/clients/model-context-client.ts +2 -2
- package/src/store/clients/no-op-composer-client.ts +5 -1
- package/src/store/clients/runtime-adapter.ts +21 -32
- package/src/store/clients/suggestions.ts +2 -1
- package/src/store/clients/thread-message-client.ts +4 -3
- package/src/store/index.ts +83 -2
- package/src/store/internal.ts +7 -1
- package/src/store/runtime-clients/attachment-runtime-client.ts +1 -1
- package/src/store/runtime-clients/composer-runtime-client.ts +8 -4
- package/src/store/runtime-clients/message-part-runtime-client.ts +1 -1
- package/src/store/runtime-clients/message-runtime-client.ts +2 -2
- package/src/store/runtime-clients/tap-subscribable.ts +1 -1
- package/src/store/runtime-clients/thread-list-item-runtime-client.ts +5 -2
- package/src/store/runtime-clients/thread-list-runtime-client.ts +3 -2
- package/src/store/runtime-clients/thread-runtime-client.ts +6 -4
- package/src/store/scope-registration.ts +2 -0
- package/src/store/scopes/attachment.ts +2 -2
- package/src/store/scopes/chain-of-thought.ts +2 -1
- package/src/store/scopes/composer.ts +27 -9
- package/src/store/scopes/message.ts +4 -3
- package/src/store/scopes/model-context.ts +2 -2
- package/src/store/scopes/part.ts +3 -3
- package/src/store/scopes/queue-item.ts +20 -0
- package/src/store/scopes/thread-list-item.ts +2 -4
- package/src/store/scopes/thread.ts +11 -4
- package/src/store/scopes/threads.ts +1 -1
- package/src/subscribable/subscribable.ts +1 -1
- package/src/tests/MessageRepository.test.ts +2 -1
- package/src/tests/OptimisticState-list-race.test.ts +256 -0
- package/src/tests/external-store-thread-runtime-core.test.ts +1 -1
- package/src/tests/mention-formatter.test.ts +112 -0
- package/src/types/index.ts +7 -0
- package/src/types/mention.ts +50 -0
- package/src/utils/composite-context-provider.ts +1 -1
- package/src/utils/text.ts +2 -1
- package/dist/model-context/frame/index.d.ts +0 -5
- package/dist/model-context/frame/index.d.ts.map +0 -1
- package/dist/model-context/frame/index.js +0 -4
- package/dist/model-context/frame/index.js.map +0 -1
- package/dist/model-context/index.d.ts +0 -8
- package/dist/model-context/index.d.ts.map +0 -1
- package/dist/model-context/index.js +0 -9
- package/dist/model-context/index.js.map +0 -1
- package/dist/react/client/index.d.ts +0 -3
- package/dist/react/client/index.d.ts.map +0 -1
- package/dist/react/client/index.js +0 -3
- package/dist/react/client/index.js.map +0 -1
- package/dist/react/model-context/index.d.ts +0 -12
- package/dist/react/model-context/index.d.ts.map +0 -1
- package/dist/react/model-context/index.js +0 -11
- package/dist/react/model-context/index.js.map +0 -1
- package/dist/react/primitive-hooks/index.d.ts +0 -15
- package/dist/react/primitive-hooks/index.d.ts.map +0 -1
- package/dist/react/primitive-hooks/index.js +0 -15
- package/dist/react/primitive-hooks/index.js.map +0 -1
- package/dist/react/providers/index.d.ts +0 -10
- package/dist/react/providers/index.d.ts.map +0 -1
- package/dist/react/providers/index.js +0 -10
- package/dist/react/providers/index.js.map +0 -1
- package/dist/react/runtimes/cloud/index.d.ts +0 -4
- package/dist/react/runtimes/cloud/index.d.ts.map +0 -1
- package/dist/react/runtimes/cloud/index.js +0 -4
- package/dist/react/runtimes/cloud/index.js.map +0 -1
- package/dist/react/runtimes/index.d.ts +0 -11
- package/dist/react/runtimes/index.d.ts.map +0 -1
- package/dist/react/runtimes/index.js +0 -11
- package/dist/react/runtimes/index.js.map +0 -1
- package/dist/react/types/index.d.ts +0 -3
- package/dist/react/types/index.d.ts.map +0 -1
- package/dist/react/types/index.js +0 -2
- package/dist/react/types/index.js.map +0 -1
- package/dist/react/types/scopes/index.d.ts +0 -3
- package/dist/react/types/scopes/index.d.ts.map +0 -1
- package/dist/react/types/scopes/index.js +0 -2
- package/dist/react/types/scopes/index.js.map +0 -1
- package/dist/runtime/index.d.ts +0 -20
- package/dist/runtime/index.d.ts.map +0 -1
- package/dist/runtime/index.js +0 -7
- package/dist/runtime/index.js.map +0 -1
- package/dist/runtimes/external-store/index.d.ts +0 -8
- package/dist/runtimes/external-store/index.d.ts.map +0 -1
- package/dist/runtimes/external-store/index.js +0 -5
- package/dist/runtimes/external-store/index.js.map +0 -1
- package/dist/runtimes/index.d.ts +0 -6
- package/dist/runtimes/index.d.ts.map +0 -1
- package/dist/runtimes/index.js +0 -4
- package/dist/runtimes/index.js.map +0 -1
- package/dist/runtimes/local/index.d.ts +0 -7
- package/dist/runtimes/local/index.d.ts.map +0 -1
- package/dist/runtimes/local/index.js +0 -5
- package/dist/runtimes/local/index.js.map +0 -1
- package/dist/store/clients/index.d.ts +0 -6
- package/dist/store/clients/index.d.ts.map +0 -1
- package/dist/store/clients/index.js +0 -6
- package/dist/store/clients/index.js.map +0 -1
- package/dist/store/runtime-clients/index.d.ts +0 -8
- package/dist/store/runtime-clients/index.d.ts.map +0 -1
- package/dist/store/runtime-clients/index.js +0 -8
- package/dist/store/runtime-clients/index.js.map +0 -1
- package/dist/store/scopes/index.d.ts +0 -12
- package/dist/store/scopes/index.d.ts.map +0 -1
- package/dist/store/scopes/index.js +0 -2
- package/dist/store/scopes/index.js.map +0 -1
- package/dist/subscribable/index.d.ts +0 -3
- package/dist/subscribable/index.d.ts.map +0 -1
- package/dist/subscribable/index.js +0 -8
- package/dist/subscribable/index.js.map +0 -1
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -7
- package/dist/utils/index.js.map +0 -1
- package/src/model-context/frame/index.ts +0 -10
- package/src/model-context/index.ts +0 -35
- package/src/react/client/index.ts +0 -2
- package/src/react/model-context/index.ts +0 -25
- package/src/react/primitive-hooks/index.ts +0 -20
- package/src/react/providers/index.ts +0 -15
- package/src/react/runtimes/cloud/index.ts +0 -3
- package/src/react/runtimes/index.ts +0 -36
- package/src/react/types/index.ts +0 -31
- package/src/react/types/scopes/index.ts +0 -6
- package/src/runtime/index.ts +0 -109
- package/src/runtimes/external-store/index.ts +0 -15
- package/src/runtimes/index.ts +0 -28
- package/src/runtimes/local/index.ts +0 -6
- package/src/store/clients/index.ts +0 -8
- package/src/store/runtime-clients/index.ts +0 -7
- package/src/store/scopes/index.ts +0 -68
- package/src/subscribable/index.ts +0 -21
- package/src/utils/index.ts +0 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AssistantRuntime } from "../../runtime/api/assistant-runtime.js";
|
|
2
2
|
import { type ScopesConfig, type AssistantClient } from "@assistant-ui/store";
|
|
3
3
|
export declare const RuntimeAdapterResource: (props: AssistantRuntime) => import("@assistant-ui/tap").ResourceElement<import("@assistant-ui/store").ClientOutput<"threads">, AssistantRuntime>;
|
|
4
|
-
export declare const baseRuntimeAdapterTransformScopes: (scopes: ScopesConfig, parent: AssistantClient) =>
|
|
4
|
+
export declare const baseRuntimeAdapterTransformScopes: (scopes: ScopesConfig, parent: AssistantClient) => void;
|
|
5
5
|
//# sourceMappingURL=runtime-adapter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-adapter.d.ts","sourceRoot":"","sources":["../../../src/store/clients/runtime-adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,+CAA4C;AAE5E,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,sBAAsB,mJAejC,CAAC;AAEH,eAAO,MAAM,iCAAiC,GAC5C,QAAQ,YAAY,EACpB,QAAQ,eAAe,KACtB,
|
|
1
|
+
{"version":3,"file":"runtime-adapter.d.ts","sourceRoot":"","sources":["../../../src/store/clients/runtime-adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,+CAA4C;AAE5E,OAAO,EAGL,KAAK,YAAY,EACjB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAI7B,eAAO,MAAM,sBAAsB,mJAejC,CAAC;AAEH,eAAO,MAAM,iCAAiC,GAC5C,QAAQ,YAAY,EACpB,QAAQ,eAAe,KACtB,IAuBF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resource, tapEffect, tapResource } from "@assistant-ui/tap";
|
|
2
|
-
import { ThreadListClient } from "../runtime-clients/
|
|
2
|
+
import { ThreadListClient } from "../runtime-clients/thread-list-runtime-client.js";
|
|
3
3
|
import { tapAssistantClientRef, Derived, } from "@assistant-ui/store";
|
|
4
4
|
import { ModelContext } from "./model-context-client.js";
|
|
5
5
|
import { Suggestions } from "./suggestions.js";
|
|
@@ -14,33 +14,26 @@ export const RuntimeAdapterResource = resource((runtime) => {
|
|
|
14
14
|
}));
|
|
15
15
|
});
|
|
16
16
|
export const baseRuntimeAdapterTransformScopes = (scopes, parent) => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
query: {},
|
|
35
|
-
get: (aui) => aui.threads().thread("main").composer(),
|
|
36
|
-
}),
|
|
37
|
-
};
|
|
38
|
-
if (!result.modelContext && parent.modelContext.source === null) {
|
|
39
|
-
result.modelContext = ModelContext();
|
|
17
|
+
scopes.thread ??= Derived({
|
|
18
|
+
source: "threads",
|
|
19
|
+
query: { type: "main" },
|
|
20
|
+
get: (aui) => aui.threads().thread("main"),
|
|
21
|
+
});
|
|
22
|
+
scopes.threadListItem ??= Derived({
|
|
23
|
+
source: "threads",
|
|
24
|
+
query: { type: "main" },
|
|
25
|
+
get: (aui) => aui.threads().item("main"),
|
|
26
|
+
});
|
|
27
|
+
scopes.composer ??= Derived({
|
|
28
|
+
source: "thread",
|
|
29
|
+
query: {},
|
|
30
|
+
get: (aui) => aui.threads().thread("main").composer(),
|
|
31
|
+
});
|
|
32
|
+
if (!scopes.modelContext && parent.modelContext.source === null) {
|
|
33
|
+
scopes.modelContext = ModelContext();
|
|
40
34
|
}
|
|
41
|
-
if (!
|
|
42
|
-
|
|
35
|
+
if (!scopes.suggestions && parent.suggestions.source === null) {
|
|
36
|
+
scopes.suggestions = Suggestions();
|
|
43
37
|
}
|
|
44
|
-
return result;
|
|
45
38
|
};
|
|
46
39
|
//# sourceMappingURL=runtime-adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-adapter.js","sourceRoot":"","sources":["../../../src/store/clients/runtime-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"runtime-adapter.js","sourceRoot":"","sources":["../../../src/store/clients/runtime-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,yDAAsD;AACjF,OAAO,EACL,qBAAqB,EACrB,OAAO,GAGR,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,kCAA+B;AACtD,OAAO,EAAE,WAAW,EAAE,yBAAsB;AAE5C,M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AAC,MAAM,CAAC,YAAY,IAAI,MAAM,CAAC,YAAY,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;QAChE,MAAM,CAAC,YAAY,GAAG,YAAY,EAAE,CAAC;IACvC,CAAC;IACD,IAAI,CAAC,MAAM,CAAC,WAAW,IAAI,MAAM,CAAC,WAAW,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;QAC9D,MAAM,CAAC,WAAW,GAAG,WAAW,EAAE,CAAC;IACrC,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../../src/store/clients/suggestions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../../src/store/clients/suggestions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAkDrD,eAAO,MAAM,WAAW,EAAE;IACxB,IAAI,OAAO,mBAAmB,EAAE,eAAe,CAC7C,YAAY,CAAC,aAAa,CAAC,EAC3B,SAAS,CACV,CAAC;IACF,CACE,WAAW,EAAE,gBAAgB,EAAE,GAC9B,OAAO,mBAAmB,EAAE,eAAe,CAC5C,YAAY,CAAC,aAAa,CAAC,EAC3B,gBAAgB,EAAE,CACnB,CAAC;CAC0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestions.js","sourceRoot":"","sources":["../../../src/store/clients/suggestions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAA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AC,CAC7C,EACH,CAAC,KAAK,CAAC,WAAW,CAAC,CACpB,CAAC;IAEF,OAAO;QACL,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK;QACrB,UAAU,EAAE,CAAC,EAAE,KAAK,EAAqB,EAAE,EAAE;YAC3C,OAAO,iBAAiB,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;QAC1C,CAAC;KACF,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAWpB,mBAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-message-client.d.ts","sourceRoot":"","sources":["../../../src/store/clients/thread-message-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"thread-message-client.d.ts","sourceRoot":"","sources":["../../../src/store/clients/thread-message-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,aAAa,EACd,+BAA4B;AAS7B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAyCxD,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,aAAa,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,qIA4G/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-message-client.js","sourceRoot":"","sources":["../../../src/store/clients/thread-message-client.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,EACX,OAAO,GACR,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"thread-message-client.js","sourceRoot":"","sources":["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AAC,wCAAwC,CAAC,CAAC;QAC5D,CAAC;QACD,cAAc,EAAE,GAAG,EAAE;YACnB,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAC5D,CAAC;QACD,WAAW,EAAE,GAAG,EAAE;YAChB,OAAO,OAAO,CAAC,OAAO;iBACnB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;gBACZ,IAAI,MAAM,IAAI,IAAI,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;oBACpD,OAAO,IAAI,CAAC,IAAI,CAAC;gBACnB,CAAC;gBACD,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC;iBACD,IAAI,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;QACD,WAAW;QACX,aAAa;KACd,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/dist/store/index.d.ts
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
/// <reference path="./scope-registration.d.ts" />
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type { ThreadsState, ThreadsMethods, ThreadsClientSchema, } from "./scopes/threads.js";
|
|
3
|
+
export type { ThreadListItemState, ThreadListItemMethods, ThreadListItemMeta, ThreadListItemEvents, ThreadListItemClientSchema, } from "./scopes/thread-list-item.js";
|
|
4
|
+
export type { ThreadState, ThreadMethods, ThreadMeta, ThreadEvents, ThreadClientSchema, } from "./scopes/thread.js";
|
|
5
|
+
export type { MessageState, MessageMethods, MessageMeta, MessageClientSchema, } from "./scopes/message.js";
|
|
6
|
+
export type { PartState, PartMethods, PartMeta, PartClientSchema, } from "./scopes/part.js";
|
|
7
|
+
export type { ComposerState, ComposerMethods, ComposerSendOptions, ComposerMeta, ComposerEvents, ComposerClientSchema, } from "./scopes/composer.js";
|
|
8
|
+
export type { QueueItemState, QueueItemMethods, QueueItemMeta, QueueItemClientSchema, } from "./scopes/queue-item.js";
|
|
9
|
+
export type { AttachmentState, AttachmentMethods, AttachmentMeta, AttachmentClientSchema, } from "./scopes/attachment.js";
|
|
10
|
+
export type { SuggestionsState, SuggestionsMethods, SuggestionsClientSchema, Suggestion, } from "./scopes/suggestions.js";
|
|
11
|
+
export type { SuggestionState, SuggestionMethods, SuggestionMeta, SuggestionClientSchema, } from "./scopes/suggestion.js";
|
|
12
|
+
export type { ModelContextState, ModelContextMethods, ModelContextClientSchema, } from "./scopes/model-context.js";
|
|
13
|
+
export type { ChainOfThoughtState, ChainOfThoughtMethods, ChainOfThoughtMeta, ChainOfThoughtClientSchema, ChainOfThoughtPart, } from "./scopes/chain-of-thought.js";
|
|
14
|
+
export { NoOpComposerClient } from "./clients/no-op-composer-client.js";
|
|
15
|
+
export { Suggestions, type SuggestionConfig } from "./clients/suggestions.js";
|
|
16
|
+
export { ChainOfThoughtClient } from "./clients/chain-of-thought-client.js";
|
|
17
|
+
export { ThreadMessageClient, type ThreadMessageClientProps, } from "./clients/thread-message-client.js";
|
|
18
|
+
export { ModelContext } from "./clients/model-context-client.js";
|
|
4
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,YAAY,EACZ,cAAc,EACd,mBAAmB,GACpB,4BAAyB;AAC1B,YAAY,EACV,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,0BAA0B,GAC3B,qCAAkC;AACnC,YAAY,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,EACZ,kBAAkB,GACnB,2BAAwB;AACzB,YAAY,EACV,YAAY,EACZ,cAAc,EACd,WAAW,EACX,mBAAmB,GACpB,4BAAyB;AAC1B,YAAY,EACV,SAAS,EACT,WAAW,EACX,QAAQ,EACR,gBAAgB,GACjB,yBAAsB;AACvB,YAAY,EACV,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,oBAAoB,GACrB,6BAA0B;AAC3B,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,qBAAqB,GACtB,+BAA4B;AAC7B,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,sBAAsB,GACvB,+BAA4B;AAC7B,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,UAAU,GACX,gCAA6B;AAC9B,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,sBAAsB,GACvB,+BAA4B;AAC7B,YAAY,EACV,iBAAiB,EACjB,mBAAmB,EACnB,wBAAwB,GACzB,kCAA+B;AAChC,YAAY,EACV,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,kBAAkB,GACnB,qCAAkC;AAGnC,OAAO,EAAE,kBAAkB,EAAE,2CAAwC;AACrE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,iCAA8B;AAC3E,OAAO,EAAE,oBAAoB,EAAE,6CAA0C;AACzE,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,GAC9B,2CAAwC;AACzC,OAAO,EAAE,YAAY,EAAE,0CAAuC"}
|
package/dist/store/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference path="./scope-registration.ts" />
|
|
2
|
-
// scopes
|
|
3
|
-
export * from "./scopes/index.js";
|
|
4
2
|
// clients
|
|
5
|
-
export
|
|
3
|
+
export { NoOpComposerClient } from "./clients/no-op-composer-client.js";
|
|
4
|
+
export { Suggestions } from "./clients/suggestions.js";
|
|
5
|
+
export { ChainOfThoughtClient } from "./clients/chain-of-thought-client.js";
|
|
6
|
+
export { ThreadMessageClient, } from "./clients/thread-message-client.js";
|
|
7
|
+
export { ModelContext } from "./clients/model-context-client.js";
|
|
6
8
|
//# sourceMappingURL=index.js.map
|
package/dist/store/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AA+EhD,UAAU;AACV,OAAO,EAAE,kBAAkB,EAAE,2CAAwC;AACrE,OAAO,EAAE,WAAW,EAAyB,iCAA8B;AAC3E,OAAO,EAAE,oBAAoB,EAAE,6CAA0C;AACzE,OAAO,EACL,mBAAmB,GAEpB,2CAAwC;AACzC,OAAO,EAAE,YAAY,EAAE,0CAAuC"}
|
package/dist/store/internal.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { AttachmentRuntimeClient } from "./runtime-clients/attachment-runtime-client.js";
|
|
2
|
+
export { MessagePartClient } from "./runtime-clients/message-part-runtime-client.js";
|
|
3
|
+
export { ComposerClient } from "./runtime-clients/composer-runtime-client.js";
|
|
4
|
+
export { MessageClient } from "./runtime-clients/message-runtime-client.js";
|
|
5
|
+
export { ThreadClient } from "./runtime-clients/thread-runtime-client.js";
|
|
6
|
+
export { ThreadListItemClient } from "./runtime-clients/thread-list-item-runtime-client.js";
|
|
7
|
+
export { ThreadListClient } from "./runtime-clients/thread-list-runtime-client.js";
|
|
2
8
|
export { RuntimeAdapterResource, baseRuntimeAdapterTransformScopes, } from "./clients/runtime-adapter.js";
|
|
3
9
|
//# sourceMappingURL=internal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/store/internal.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/store/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uDAAoD;AACtF,OAAO,EAAE,iBAAiB,EAAE,yDAAsD;AAClF,OAAO,EAAE,cAAc,EAAE,qDAAkD;AAC3E,OAAO,EAAE,aAAa,EAAE,oDAAiD;AACzE,OAAO,EAAE,YAAY,EAAE,mDAAgD;AACvE,OAAO,EAAE,oBAAoB,EAAE,6DAA0D;AACzF,OAAO,EAAE,gBAAgB,EAAE,wDAAqD;AAChF,OAAO,EACL,sBAAsB,EACtB,iCAAiC,GAClC,qCAAkC"}
|
package/dist/store/internal.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { AttachmentRuntimeClient } from "./runtime-clients/attachment-runtime-client.js";
|
|
2
|
+
export { MessagePartClient } from "./runtime-clients/message-part-runtime-client.js";
|
|
3
|
+
export { ComposerClient } from "./runtime-clients/composer-runtime-client.js";
|
|
4
|
+
export { MessageClient } from "./runtime-clients/message-runtime-client.js";
|
|
5
|
+
export { ThreadClient } from "./runtime-clients/thread-runtime-client.js";
|
|
6
|
+
export { ThreadListItemClient } from "./runtime-clients/thread-list-item-runtime-client.js";
|
|
7
|
+
export { ThreadListClient } from "./runtime-clients/thread-list-runtime-client.js";
|
|
2
8
|
export { RuntimeAdapterResource, baseRuntimeAdapterTransformScopes, } from "./clients/runtime-adapter.js";
|
|
3
9
|
//# sourceMappingURL=internal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../src/store/internal.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../src/store/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,uDAAoD;AACtF,OAAO,EAAE,iBAAiB,EAAE,yDAAsD;AAClF,OAAO,EAAE,cAAc,EAAE,qDAAkD;AAC3E,OAAO,EAAE,aAAa,EAAE,oDAAiD;AACzE,OAAO,EAAE,YAAY,EAAE,mDAAgD;AACvE,OAAO,EAAE,oBAAoB,EAAE,6DAA0D;AACzF,OAAO,EAAE,gBAAgB,EAAE,wDAAqD;AAChF,OAAO,EACL,sBAAsB,EACtB,iCAAiC,GAClC,qCAAkC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ClientOutput } from "@assistant-ui/store";
|
|
2
|
-
import { AttachmentRuntime } from "../../runtime/
|
|
2
|
+
import { AttachmentRuntime } from "../../runtime/api/attachment-runtime.js";
|
|
3
3
|
export declare const AttachmentRuntimeClient: (props: {
|
|
4
4
|
runtime: AttachmentRuntime;
|
|
5
5
|
}) => import("@assistant-ui/tap").ResourceElement<ClientOutput<"attachment">, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachment-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/attachment-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE
|
|
1
|
+
{"version":3,"file":"attachment-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/attachment-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,gDAA6C;AAGzE,eAAO,MAAM,uBAAuB;aACT,iBAAiB;;aAAjB,iBAAiB;EAS3C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type tapRef } from "@assistant-ui/tap";
|
|
2
2
|
import { type ClientOutput } from "@assistant-ui/store";
|
|
3
|
-
import { ComposerRuntime } from "../../runtime/
|
|
3
|
+
import { ComposerRuntime } from "../../runtime/api/composer-runtime.js";
|
|
4
4
|
export declare const ComposerClient: (props: {
|
|
5
5
|
threadIdRef: tapRef.RefObject<string>;
|
|
6
6
|
messageIdRef?: tapRef.RefObject<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/composer-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,MAAM,EAEZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,eAAe,
|
|
1
|
+
{"version":3,"file":"composer-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/composer-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,MAAM,EAEZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,eAAe,EAEhB,8CAA2C;AAqB5C,eAAO,MAAM,cAAc;iBAMV,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;mBACtB,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;aAC9B,eAAe;;iBAFX,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;mBACtB,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;aAC9B,eAAe;EA4F3B,CAAC"}
|
|
@@ -50,6 +50,7 @@ export const ComposerClient = resource(({ threadIdRef, messageIdRef, runtime, })
|
|
|
50
50
|
type: runtimeState.type ?? "thread",
|
|
51
51
|
dictation: runtimeState.dictation,
|
|
52
52
|
quote: runtimeState.quote,
|
|
53
|
+
queue: [],
|
|
53
54
|
};
|
|
54
55
|
}, [runtimeState, attachments.state]);
|
|
55
56
|
return {
|
|
@@ -77,6 +78,9 @@ export const ComposerClient = resource(({ threadIdRef, messageIdRef, runtime, })
|
|
|
77
78
|
return attachments.get(selector);
|
|
78
79
|
}
|
|
79
80
|
},
|
|
81
|
+
queueItem: () => {
|
|
82
|
+
throw new Error("Queue is not supported in this runtime");
|
|
83
|
+
},
|
|
80
84
|
__internal_getRuntime: () => runtime,
|
|
81
85
|
};
|
|
82
86
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compos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C7B,GAAG,CAAC,YAAY,IAAI,EAAE,SAAS,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC;iBACzD,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;YACH,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAClC,CAAC;QAED,OAAO,GAAG,EAAE;YACV,KAAK,MAAM,KAAK,IAAI,aAAa;gBAAE,KAAK,EAAE,CAAC;QAC7C,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC;IAE/C,MAAM,WAAW,GAAG,eAAe,CACjC,GAAG,EAAE,CACH,YAAY,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,GAAG,EAAE,EAAE,CAC/C,OAAO,CACL,UAAU,CAAC,EAAE,EACb,+BAA+B,CAAC;QAC9B,OAAO;QACP,KAAK,EAAE,GAAG;KACX,CAAC,CACH,CACF,EACH,CAAC,YAAY,CAAC,WAAW,EAAE,OAAO,CAAC,CACpC,CAAC;IAEF,MAAM,KAAK,GAAG,OAAO,CAAgB,GAAG,EAAE;QACxC,OAAO;YACL,IAAI,EAAE,YAAY,CAAC,IAAI;YACvB,IAAI,EAAE,YAAY,CAAC,IAAI;YACvB,WAAW,EAAE,WAAW,CAAC,KAAK;YAC9B,SAAS,EAAE,YAAY,CAAC,SAAS;YACjC,SAAS,EAAE,YAAY,CAAC,SAAS;YACjC,SAAS,EAAE,YAAY,CAAC,SAAS;YACjC,gBAAgB,EAAE,YAAY,CAAC,gBAAgB;YAC/C,OAAO,EAAE,YAAY,CAAC,OAAO;YAC7B,IAAI,EAAE,YAAY,CAAC,IAAI,IAAI,QAAQ;YACnC,SAAS,EAAE,YAAY,CAAC,SAAS;YACjC,KAAK,EAAE,YAAY,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"composer-runtime-client.js","sourceRoot":"","sources":["../../../src/store/runtime-clients/composer-runtime-client.ts"],"names":[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KAAK;QACrB,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,aAAa,EAAE,OAAO,CAAC,aAAa;QACpC,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;QAC1C,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,SAAS,EACN,OAA+B,CAAC,SAAS;YAC1C,CAAC,GAAG,EAAE;gBACJ,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;YAChE,CAAC,CAAC;QACJ,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,aAAa,EAAE,OAAO,CAAC,aAAa;QACpC,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,UAAU,EAAE,CAAC,QAAQ,EAAE,EAAE;YACvB,IAAI,IAAI,IAAI,QAAQ,EAAE,CAAC;gBACrB,OAAO,WAAW,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;YAC/C,CAAC;iBAAM,CAAC;gBACN,OAAO,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;QACD,SAAS,EAAE,GAAG,EAAE;YACd,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;QAC5D,CAAC;QACD,qBAAqB,EAAE,GAAG,EAAE,CAAC,OAAO;KACrC,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ClientOutput } from "@assistant-ui/store";
|
|
2
|
-
import { MessagePartRuntime } from "../../runtime/
|
|
2
|
+
import { MessagePartRuntime } from "../../runtime/api/message-part-runtime.js";
|
|
3
3
|
export declare const MessagePartClient: (props: {
|
|
4
4
|
runtime: MessagePartRuntime;
|
|
5
5
|
}) => import("@assistant-ui/tap").ResourceElement<ClientOutput<"part">, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-part-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/message-part-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE
|
|
1
|
+
{"version":3,"file":"message-part-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/message-part-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,kDAA+C;AAG5E,eAAO,MAAM,iBAAiB;aACH,kBAAkB;;aAAlB,kBAAkB;EAU5C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type tapRef } from "@assistant-ui/tap";
|
|
2
2
|
import { type ClientOutput } from "@assistant-ui/store";
|
|
3
|
-
import { MessageRuntime } from "../../runtime/
|
|
3
|
+
import { MessageRuntime } from "../../runtime/api/message-runtime.js";
|
|
4
4
|
export declare const MessageClient: (props: {
|
|
5
5
|
runtime: MessageRuntime;
|
|
6
6
|
threadIdRef: tapRef.RefObject<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/message-runtime-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE
|
|
1
|
+
{"version":3,"file":"message-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/message-runtime-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,6CAA0C;AA2BnE,eAAO,MAAM,aAAa;aAKb,cAAc;iBACV,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;;aAD5B,cAAc;iBACV,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;EAkGxC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { SubscribableWithState } from "../../subscribable/
|
|
1
|
+
import type { SubscribableWithState } from "../../subscribable/subscribable.js";
|
|
2
2
|
export declare const tapSubscribable: <T>(subscribable: Omit<SubscribableWithState<T, any>, "path">) => T;
|
|
3
3
|
//# sourceMappingURL=tap-subscribable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tap-subscribable.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/tap-subscribable.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"tap-subscribable.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/tap-subscribable.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,2CAAwC;AAE7E,eAAO,MAAM,eAAe,GAAI,CAAC,EAC/B,cAAc,IAAI,CAAC,qBAAqB,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,MAW1D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ClientOutput } from "@assistant-ui/store";
|
|
2
|
-
import { ThreadListItemRuntime } from "../../runtime/
|
|
2
|
+
import { ThreadListItemRuntime } from "../../runtime/api/thread-list-item-runtime.js";
|
|
3
3
|
export declare const ThreadListItemClient: (props: {
|
|
4
4
|
runtime: ThreadListItemRuntime;
|
|
5
5
|
}) => import("@assistant-ui/tap").ResourceElement<ClientOutput<"threadListItem">, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-list-item-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-list-item-runtime-client.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAoB,MAAM,qBAAqB,CAAC;AAC1E,OAAO,
|
|
1
|
+
{"version":3,"file":"thread-list-item-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-list-item-runtime-client.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAoB,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAEL,qBAAqB,EACtB,sDAAmD;AAGpD,eAAO,MAAM,oBAAoB;aAIpB,qBAAqB;;aAArB,qBAAqB;EA0CjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-list-item-runtime-client.js","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-list-item-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAqB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"thread-list-item-runtime-client.js","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-list-item-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAqB,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAK1E,OAAO,EAAE,eAAe,EAAE,8BAA2B;AAErD,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAC1C,CAAC,EACC,OAAO,GAGR,EAAkC,EAAE;IACnC,MAAM,KAAK,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IACvC,MAAM,IAAI,GAAG,gBAAgB,EAAE,CAAC;IAEhC,gDAAgD;IAChD,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,aAAa,GAAkB,EAAE,CAAC;QAExC,uCAAuC;QACvC,MAAM,oBAAoB,GAA8B;YACtD,YAAY;YACZ,cAAc;SACf,CAAC;QAEF,KAAK,MAAM,KAAK,IAAI,oBAAoB,EAAE,CAAC;YACzC,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAAE;gBAClD,IAAI,CAAC,kBAAkB,KAAK,EAAE,EAAE;oBAC9B,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAG,CAAC,EAAE;iBACjC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;YACH,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAClC,CAAC;QAED,OAAO,GAAG,EAAE;YACV,KAAK,MAAM,KAAK,IAAI,aAAa;gBAAE,KAAK,EAAE,CAAC;QAC7C,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAEpB,OAAO;QACL,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK;QACrB,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,SAAS,EAAE,OAAO,CAAC,SAAS;QAC5B,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,aAAa,EAAE,OAAO,CAAC,aAAa;QACpC,UAAU,EAAE,OAAO,CAAC,UAAU;QAC9B,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,qBAAqB,EAAE,GAAG,EAAE,CAAC,OAAO;KACrC,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type ClientOutput } from "@assistant-ui/store";
|
|
2
|
-
import { ThreadListRuntime
|
|
2
|
+
import { ThreadListRuntime } from "../../runtime/api/thread-list-runtime.js";
|
|
3
|
+
import { AssistantRuntime } from "../../runtime/api/assistant-runtime.js";
|
|
3
4
|
export declare const ThreadListClient: (props: {
|
|
4
5
|
runtime: ThreadListRuntime;
|
|
5
6
|
__internal_assistantRuntime: AssistantRuntime;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-list-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-list-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,+
|
|
1
|
+
{"version":3,"file":"thread-list-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-list-runtime-client.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,iDAA8C;AAC1E,OAAO,EAAE,gBAAgB,EAAE,+CAA4C;AAoBvE,eAAO,MAAM,gBAAgB;aAKhB,iBAAiB;iCACG,gBAAgB;;aADpC,iBAAiB;iCACG,gBAAgB;EAyDhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-list-runtime-client.js","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-list-runtime-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAEL,eAAe,EACf,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"thread-list-runtime-client.js","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-list-runtime-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAEL,eAAe,EACf,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,eAAe,E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KAClE,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-runtime-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"thread-runtime-client.d.ts","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-runtime-client.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,4CAAyC;AASjE,OAAO,EACL,KAAK,YAAY,EAIlB,MAAM,qBAAqB,CAAC;AAyB7B,eAAO,MAAM,YAAY;aACE,aAAa;;aAAb,aAAa;EAoGvC,CAAC"}
|
|
@@ -64,7 +64,8 @@ export const ThreadClient = resource(({ runtime }) => {
|
|
|
64
64
|
composer: () => composer.methods,
|
|
65
65
|
append: runtime.append,
|
|
66
66
|
startRun: runtime.startRun,
|
|
67
|
-
|
|
67
|
+
resumeRun: runtime.resumeRun,
|
|
68
|
+
unstable_resumeRun: runtime.resumeRun,
|
|
68
69
|
cancelRun: runtime.cancelRun,
|
|
69
70
|
getModelContext: runtime.getModelContext,
|
|
70
71
|
export: runtime.export,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-runtime-client.js","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-runtime-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"thread-runtime-client.js","sourceRoot":"","sources":["../../../src/store/runtime-clients/thread-runtime-client.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,QAAQ,EACR,WAAW,EACX,OAAO,EACP,SAAS,EAET,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,gBAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,qCAAkC;AAC3D,OAAO,EAAE,aAAa,EAAE,oCAAiC;AACzD,OAAO,EAAE,eAAe,EAAE,8BA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EAAE,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;IAE7C,OAAO;QACL,QAAQ,EAAE,GAAG,EAAE,CAAC,KAAK;QACrB,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO;QAChC,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,SAAS,EAAE,OAAO,CAAC,SAAS;QAC5B,kBAAkB,EAAE,OAAO,CAAC,SAAS;QACrC,SAAS,EAAE,OAAO,CAAC,SAAS;QAC5B,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,UAAU,EAAE,KAAK,IAAI,EAAE;YACrB,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;QACjE,CAAC;QACD,SAAS,EAAE,KAAK,IAAI,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;QAChE,CAAC;QACD,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE;YACpB,IAAI,IAAI,IAAI,QAAQ,EAAE,CAAC;gBACrB,OAAO,QAAQ,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC;YAC5C,CAAC;iBAAM,CAAC;gBACN,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;QACD,qBAAqB,EAAE,GAAG,EAAE,CAAC,OAAO;KACrC,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -9,6 +9,7 @@ import type { ModelContextClientSchema } from "./scopes/model-context.js";
|
|
|
9
9
|
import type { SuggestionsClientSchema } from "./scopes/suggestions.js";
|
|
10
10
|
import type { SuggestionClientSchema } from "./scopes/suggestion.js";
|
|
11
11
|
import type { ChainOfThoughtClientSchema } from "./scopes/chain-of-thought.js";
|
|
12
|
+
import type { QueueItemClientSchema } from "./scopes/queue-item.js";
|
|
12
13
|
declare module "@assistant-ui/store" {
|
|
13
14
|
interface ScopeRegistry {
|
|
14
15
|
threads: ThreadsClientSchema;
|
|
@@ -22,6 +23,7 @@ declare module "@assistant-ui/store" {
|
|
|
22
23
|
suggestions: SuggestionsClientSchema;
|
|
23
24
|
suggestion: SuggestionClientSchema;
|
|
24
25
|
chainOfThought: ChainOfThoughtClientSchema;
|
|
26
|
+
queueItem: QueueItemClientSchema;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
//# sourceMappingURL=scope-registration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scope-registration.d.ts","sourceRoot":"","sources":["../../src/store/scope-registration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,4BAAyB;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,qCAAkC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,2BAAwB;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,4BAAyB;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,yBAAsB;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,6BAA0B;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,+BAA4B;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,kCAA+B;AACvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,gCAA6B;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,+BAA4B;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,qCAAkC;
|
|
1
|
+
{"version":3,"file":"scope-registration.d.ts","sourceRoot":"","sources":["../../src/store/scope-registration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,4BAAyB;AAC5D,OAAO,KAAK,EAAE,0BAA0B,EAAE,qCAAkC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,2BAAwB;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,4BAAyB;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,yBAAsB;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,6BAA0B;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,+BAA4B;AAClE,OAAO,KAAK,EAAE,wBAAwB,EAAE,kCAA+B;AACvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,gCAA6B;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,+BAA4B;AAClE,OAAO,KAAK,EAAE,0BAA0B,EAAE,qCAAkC;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,+BAA4B;AAEjE,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,aAAa;QACrB,OAAO,EAAE,mBAAmB,CAAC;QAC7B,cAAc,EAAE,0BAA0B,CAAC;QAC3C,MAAM,EAAE,kBAAkB,CAAC;QAC3B,OAAO,EAAE,mBAAmB,CAAC;QAC7B,IAAI,EAAE,gBAAgB,CAAC;QACvB,QAAQ,EAAE,oBAAoB,CAAC;QAC/B,UAAU,EAAE,sBAAsB,CAAC;QACnC,YAAY,EAAE,wBAAwB,CAAC;QACvC,WAAW,EAAE,uBAAuB,CAAC;QACrC,UAAU,EAAE,sBAAsB,CAAC;QACnC,cAAc,EAAE,0BAA0B,CAAC;QAC3C,SAAS,EAAE,qBAAqB,CAAC;KAClC;CACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Attachment } from "../../types/
|
|
2
|
-
import type { AttachmentRuntime } from "../../runtime/
|
|
1
|
+
import type { Attachment } from "../../types/attachment.js";
|
|
2
|
+
import type { AttachmentRuntime } from "../../runtime/api/attachment-runtime.js";
|
|
3
3
|
export type AttachmentState = Attachment;
|
|
4
4
|
export type AttachmentMethods = {
|
|
5
5
|
getState(): AttachmentState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../src/store/scopes/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../../src/store/scopes/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,kCAA+B;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,gDAA6C;AAE9E,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;AAEzC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,IAAI,eAAe,CAAC;IAC5B,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACxB,qBAAqB,CAAC,IAAI,iBAAiB,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,KAAK,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;CACtE,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE,cAAc,CAAC;CACtB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ToolCallMessagePartStatus } from "../../types/message.js";
|
|
2
|
+
import type { MessagePartStatus } from "../../types/message.js";
|
|
2
3
|
import type { PartMethods, PartState } from "./part.js";
|
|
3
4
|
export type ChainOfThoughtPart = Extract<PartState, {
|
|
4
5
|
type: "tool-call";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-of-thought.d.ts","sourceRoot":"","sources":["../../../src/store/scopes/chain-of-thought.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"chain-of-thought.d.ts","sourceRoot":"","sources":["../../../src/store/scopes/chain-of-thought.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,+BAA4B;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,+BAA4B;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,kBAAe;AAErD,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC,SAAS,EACT;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAC9C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,KAAK,EAAE,SAAS,kBAAkB,EAAE,CAAC;IAC9C,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,iBAAiB,GAAG,yBAAyB,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,IAAI,mBAAmB,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,WAAW,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,SAAS,CAAC;IAClB,KAAK,EAAE;QAAE,IAAI,EAAE,gBAAgB,CAAA;KAAE,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,OAAO,EAAE,qBAAqB,CAAC;IAC/B,IAAI,EAAE,kBAAkB,CAAC;CAC1B,CAAC"}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import type { Attachment, CreateAttachment
|
|
2
|
-
import type {
|
|
1
|
+
import type { Attachment, CreateAttachment } from "../../types/attachment.js";
|
|
2
|
+
import type { MessageRole } from "../../types/message.js";
|
|
3
|
+
import type { QuoteInfo } from "../../types/quote.js";
|
|
4
|
+
import type { RunConfig } from "../../types/message.js";
|
|
5
|
+
import type { ComposerRuntime } from "../../runtime/api/composer-runtime.js";
|
|
6
|
+
import type { DictationState } from "../../runtime/interfaces/composer-runtime-core.js";
|
|
3
7
|
import type { AttachmentMethods } from "./attachment.js";
|
|
8
|
+
import type { QueueItemState, QueueItemMethods } from "./queue-item.js";
|
|
9
|
+
export type ComposerSendOptions = {
|
|
10
|
+
/**
|
|
11
|
+
* Whether to steer (interrupt the current run and process this message immediately).
|
|
12
|
+
* When false (default), the message is queued and processed in order.
|
|
13
|
+
*/
|
|
14
|
+
steer?: boolean;
|
|
15
|
+
};
|
|
4
16
|
export type ComposerState = {
|
|
5
17
|
readonly text: string;
|
|
6
18
|
readonly role: MessageRole;
|
|
@@ -21,6 +33,11 @@ export type ComposerState = {
|
|
|
21
33
|
* Undefined when no quote is set.
|
|
22
34
|
*/
|
|
23
35
|
readonly quote: QuoteInfo | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* The queue of messages waiting to be processed.
|
|
38
|
+
* Empty when no messages are queued.
|
|
39
|
+
*/
|
|
40
|
+
readonly queue: readonly QueueItemState[];
|
|
24
41
|
};
|
|
25
42
|
export type ComposerMethods = {
|
|
26
43
|
getState(): ComposerState;
|
|
@@ -35,7 +52,7 @@ export type ComposerMethods = {
|
|
|
35
52
|
id: string;
|
|
36
53
|
}): AttachmentMethods;
|
|
37
54
|
reset(): Promise<void>;
|
|
38
|
-
send(): void;
|
|
55
|
+
send(opts?: ComposerSendOptions): void;
|
|
39
56
|
cancel(): void;
|
|
40
57
|
beginEdit(): void;
|
|
41
58
|
/**
|
|
@@ -51,6 +68,12 @@ export type ComposerMethods = {
|
|
|
51
68
|
* Set a quote for the next message. Pass undefined to clear.
|
|
52
69
|
*/
|
|
53
70
|
setQuote(quote: QuoteInfo | undefined): void;
|
|
71
|
+
/**
|
|
72
|
+
* Access a queue item by index.
|
|
73
|
+
*/
|
|
74
|
+
queueItem(selector: {
|
|
75
|
+
index: number;
|
|
76
|
+
}): QueueItemMethods;
|
|
54
77
|
__internal_getRuntime?(): ComposerRuntime;
|
|
55
78
|
};
|
|
56
79
|
export type ComposerMeta = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../../src/store/scopes/composer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"composer.d.ts","sourceRoot":"","sources":["../../../src/store/scopes/composer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,kCAA+B;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,+BAA4B;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,6BAA0B;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,+BAA4B;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,8CAA2C;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,0DAAuD;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,wBAAqB;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,wBAAqB;AAErE,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,SAAS,EAAE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;IACH,SAAS,CAAC,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,gBAAgB,CAAC;IAEzD,qBAAqB,CAAC,IAAI,eAAe,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,eAAe,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1D,wBAAwB,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACpE,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,cAAc,CAAC;CACxB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { ThreadMessage
|
|
2
|
-
import type {
|
|
1
|
+
import type { ThreadMessage } from "../../types/message.js";
|
|
2
|
+
import type { RunConfig } from "../../types/message.js";
|
|
3
|
+
import type { SpeechState, SubmittedFeedback } from "../../runtime/interfaces/thread-runtime-core.js";
|
|
4
|
+
import type { MessageRuntime } from "../../runtime/api/message-runtime.js";
|
|
3
5
|
import type { ComposerMethods, ComposerState } from "./composer.js";
|
|
4
6
|
import type { PartMethods, PartState } from "./part.js";
|
|
5
7
|
import type { AttachmentMethods } from "./attachment.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/store/scopes/message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceR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