@assistant-ui/react-ag-ui 0.0.6 → 0.0.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/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/dist/{react-ag-ui/src/runtime → runtime}/AgUiThreadRuntimeCore.d.ts +1 -1
- package/dist/runtime/AgUiThreadRuntimeCore.d.ts.map +1 -0
- package/dist/runtime/AgUiThreadRuntimeCore.js +357 -357
- package/dist/runtime/AgUiThreadRuntimeCore.js.map +1 -1
- package/dist/runtime/adapter/conversions.d.ts.map +1 -0
- package/dist/runtime/adapter/conversions.js +99 -83
- package/dist/runtime/adapter/conversions.js.map +1 -1
- package/dist/{react-ag-ui/src/runtime → runtime}/adapter/run-aggregator.d.ts +2 -2
- package/dist/runtime/adapter/run-aggregator.d.ts.map +1 -0
- package/dist/runtime/adapter/run-aggregator.js +292 -285
- package/dist/runtime/adapter/run-aggregator.js.map +1 -1
- package/dist/{react-ag-ui/src/runtime → runtime}/adapter/subscriber.d.ts +1 -1
- package/dist/runtime/adapter/subscriber.d.ts.map +1 -0
- package/dist/runtime/adapter/subscriber.js +60 -58
- package/dist/runtime/adapter/subscriber.js.map +1 -1
- package/dist/runtime/event-parser.d.ts +3 -0
- package/dist/runtime/event-parser.d.ts.map +1 -0
- package/dist/runtime/event-parser.js +126 -150
- package/dist/runtime/event-parser.js.map +1 -1
- package/dist/runtime/logger.d.ts.map +1 -0
- package/dist/runtime/logger.js +3 -7
- package/dist/runtime/logger.js.map +1 -1
- package/dist/{react-ag-ui/src/runtime → runtime}/types.d.ts +3 -2
- package/dist/runtime/types.d.ts.map +1 -0
- package/dist/runtime/types.js +1 -0
- package/dist/runtime/types.js.map +1 -1
- package/dist/{react-ag-ui/src/useAgUiRuntime.d.ts → useAgUiRuntime.d.ts} +1 -1
- package/dist/useAgUiRuntime.d.ts.map +1 -0
- package/dist/useAgUiRuntime.js +67 -71
- package/dist/useAgUiRuntime.js.map +1 -1
- package/package.json +26 -14
- package/src/runtime/adapter/conversions.ts +9 -5
- package/src/runtime/types.ts +2 -0
- package/src/useAgUiRuntime.ts +3 -1
- package/dist/assistant-stream/src/core/AssistantStream.d.ts +0 -12
- package/dist/assistant-stream/src/core/AssistantStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/AssistantStreamChunk.d.ts +0 -71
- package/dist/assistant-stream/src/core/AssistantStreamChunk.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/accumulators/AssistantMessageStream.d.ts +0 -13
- package/dist/assistant-stream/src/core/accumulators/AssistantMessageStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/accumulators/assistant-message-accumulator.d.ts +0 -14
- package/dist/assistant-stream/src/core/accumulators/assistant-message-accumulator.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/index.d.ts +0 -17
- package/dist/assistant-stream/src/core/index.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/modules/assistant-stream.d.ts +0 -32
- package/dist/assistant-stream/src/core/modules/assistant-stream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/modules/text.d.ts +0 -9
- package/dist/assistant-stream/src/core/modules/text.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/modules/tool-call.d.ts +0 -13
- package/dist/assistant-stream/src/core/modules/tool-call.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/object/ObjectStreamAccumulator.d.ts +0 -11
- package/dist/assistant-stream/src/core/object/ObjectStreamAccumulator.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/object/ObjectStreamResponse.d.ts +0 -13
- package/dist/assistant-stream/src/core/object/ObjectStreamResponse.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/object/createObjectStream.d.ts +0 -13
- package/dist/assistant-stream/src/core/object/createObjectStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/object/types.d.ts +0 -15
- package/dist/assistant-stream/src/core/object/types.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/serialization/PlainText.d.ts +0 -11
- package/dist/assistant-stream/src/core/serialization/PlainText.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/serialization/assistant-transport/AssistantTransport.d.ts +0 -19
- package/dist/assistant-stream/src/core/serialization/assistant-transport/AssistantTransport.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/serialization/data-stream/DataStream.d.ts +0 -11
- package/dist/assistant-stream/src/core/serialization/data-stream/DataStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/serialization/data-stream/chunk-types.d.ts +0 -101
- package/dist/assistant-stream/src/core/serialization/data-stream/chunk-types.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/serialization/data-stream/serialization.d.ts +0 -8
- package/dist/assistant-stream/src/core/serialization/data-stream/serialization.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/tool/ToolCallReader.d.ts +0 -34
- package/dist/assistant-stream/src/core/tool/ToolCallReader.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/tool/ToolExecutionStream.d.ts +0 -26
- package/dist/assistant-stream/src/core/tool/ToolExecutionStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/tool/ToolResponse.d.ts +0 -18
- package/dist/assistant-stream/src/core/tool/ToolResponse.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/tool/index.d.ts +0 -6
- package/dist/assistant-stream/src/core/tool/index.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/tool/tool-types.d.ts +0 -97
- package/dist/assistant-stream/src/core/tool/tool-types.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/tool/toolResultStream.d.ts +0 -10
- package/dist/assistant-stream/src/core/tool/toolResultStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/tool/type-path-utils.d.ts +0 -23
- package/dist/assistant-stream/src/core/tool/type-path-utils.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/Counter.d.ts +0 -5
- package/dist/assistant-stream/src/core/utils/Counter.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/generateId.d.ts +0 -2
- package/dist/assistant-stream/src/core/utils/generateId.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/stream/AssistantMetaTransformStream.d.ts +0 -20
- package/dist/assistant-stream/src/core/utils/stream/AssistantMetaTransformStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/stream/AssistantTransformStream.d.ts +0 -15
- package/dist/assistant-stream/src/core/utils/stream/AssistantTransformStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/stream/LineDecoderStream.d.ts +0 -5
- package/dist/assistant-stream/src/core/utils/stream/LineDecoderStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/stream/PipeableTransformStream.d.ts +0 -4
- package/dist/assistant-stream/src/core/utils/stream/PipeableTransformStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/stream/SSE.d.ts +0 -10
- package/dist/assistant-stream/src/core/utils/stream/SSE.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/stream/UnderlyingReadable.d.ts +0 -6
- package/dist/assistant-stream/src/core/utils/stream/UnderlyingReadable.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/stream/merge.d.ts +0 -9
- package/dist/assistant-stream/src/core/utils/stream/merge.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/stream/path-utils.d.ts +0 -12
- package/dist/assistant-stream/src/core/utils/stream/path-utils.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/types.d.ts +0 -117
- package/dist/assistant-stream/src/core/utils/types.d.ts.map +0 -1
- package/dist/assistant-stream/src/core/utils/withPromiseOrValue.d.ts +0 -2
- package/dist/assistant-stream/src/core/utils/withPromiseOrValue.d.ts.map +0 -1
- package/dist/assistant-stream/src/index.d.ts +0 -2
- package/dist/assistant-stream/src/index.d.ts.map +0 -1
- package/dist/assistant-stream/src/utils/AsyncIterableStream.d.ts +0 -3
- package/dist/assistant-stream/src/utils/AsyncIterableStream.d.ts.map +0 -1
- package/dist/assistant-stream/src/utils/json/fix-json.d.ts +0 -2
- package/dist/assistant-stream/src/utils/json/fix-json.d.ts.map +0 -1
- package/dist/assistant-stream/src/utils/json/json-value.d.ts +0 -6
- package/dist/assistant-stream/src/utils/json/json-value.d.ts.map +0 -1
- package/dist/assistant-stream/src/utils/json/parse-partial-json-object.d.ts +0 -14
- package/dist/assistant-stream/src/utils/json/parse-partial-json-object.d.ts.map +0 -1
- package/dist/assistant-stream/src/utils/promiseWithResolvers.d.ts +0 -6
- package/dist/assistant-stream/src/utils/promiseWithResolvers.d.ts.map +0 -1
- package/dist/assistant-stream/src/utils.d.ts +0 -6
- package/dist/assistant-stream/src/utils.d.ts.map +0 -1
- package/dist/react/src/augmentations.d.ts +0 -32
- package/dist/react/src/augmentations.d.ts.map +0 -1
- package/dist/react/src/client/AssistantClient.d.ts +0 -21
- package/dist/react/src/client/AssistantClient.d.ts.map +0 -1
- package/dist/react/src/client/EventContext.d.ts +0 -4
- package/dist/react/src/client/EventContext.d.ts.map +0 -1
- package/dist/react/src/client/ModelContext.d.ts +0 -8
- package/dist/react/src/client/ModelContext.d.ts.map +0 -1
- package/dist/react/src/client/ModelContextClient.d.ts +0 -7
- package/dist/react/src/client/ModelContextClient.d.ts.map +0 -1
- package/dist/react/src/client/NoOpComposerClient.d.ts +0 -9
- package/dist/react/src/client/NoOpComposerClient.d.ts.map +0 -1
- package/dist/react/src/client/ThreadMessageClient.d.ts +0 -15
- package/dist/react/src/client/ThreadMessageClient.d.ts.map +0 -1
- package/dist/react/src/client/Tools.d.ts +0 -10
- package/dist/react/src/client/Tools.d.ts.map +0 -1
- package/dist/react/src/client/types/Attachment.d.ts +0 -7
- package/dist/react/src/client/types/Attachment.d.ts.map +0 -1
- package/dist/react/src/client/types/Composer.d.ts +0 -32
- package/dist/react/src/client/types/Composer.d.ts.map +0 -1
- package/dist/react/src/client/types/Message.d.ts +0 -65
- package/dist/react/src/client/types/Message.d.ts.map +0 -1
- package/dist/react/src/client/types/ModelContext.d.ts +0 -12
- package/dist/react/src/client/types/ModelContext.d.ts.map +0 -1
- package/dist/react/src/client/types/Part.d.ts +0 -22
- package/dist/react/src/client/types/Part.d.ts.map +0 -1
- package/dist/react/src/client/types/Thread.d.ts +0 -118
- package/dist/react/src/client/types/Thread.d.ts.map +0 -1
- package/dist/react/src/client/types/ThreadList.d.ts +0 -24
- package/dist/react/src/client/types/ThreadList.d.ts.map +0 -1
- package/dist/react/src/client/types/ThreadListItem.d.ts +0 -23
- package/dist/react/src/client/types/ThreadListItem.d.ts.map +0 -1
- package/dist/react/src/client/types/Tools.d.ts +0 -13
- package/dist/react/src/client/types/Tools.d.ts.map +0 -1
- package/dist/react/src/client/util-hooks/tapLookupResources.d.ts +0 -15
- package/dist/react/src/client/util-hooks/tapLookupResources.d.ts.map +0 -1
- package/dist/react/src/context/ReadonlyStore.d.ts +0 -4
- package/dist/react/src/context/ReadonlyStore.d.ts.map +0 -1
- package/dist/react/src/context/index.d.ts +0 -4
- package/dist/react/src/context/index.d.ts.map +0 -1
- package/dist/react/src/context/providers/AttachmentByIndexProvider.d.ts +0 -8
- package/dist/react/src/context/providers/AttachmentByIndexProvider.d.ts.map +0 -1
- package/dist/react/src/context/providers/MessageByIndexProvider.d.ts +0 -5
- package/dist/react/src/context/providers/MessageByIndexProvider.d.ts.map +0 -1
- package/dist/react/src/context/providers/MessageProvider.d.ts +0 -4
- package/dist/react/src/context/providers/MessageProvider.d.ts.map +0 -1
- package/dist/react/src/context/providers/PartByIndexProvider.d.ts +0 -5
- package/dist/react/src/context/providers/PartByIndexProvider.d.ts.map +0 -1
- package/dist/react/src/context/providers/TextMessagePartProvider.d.ts +0 -6
- package/dist/react/src/context/providers/TextMessagePartProvider.d.ts.map +0 -1
- package/dist/react/src/context/providers/ThreadListItemProvider.d.ts +0 -9
- package/dist/react/src/context/providers/ThreadListItemProvider.d.ts.map +0 -1
- package/dist/react/src/context/providers/ThreadViewportProvider.d.ts +0 -7
- package/dist/react/src/context/providers/ThreadViewportProvider.d.ts.map +0 -1
- package/dist/react/src/context/providers/index.d.ts +0 -8
- package/dist/react/src/context/providers/index.d.ts.map +0 -1
- package/dist/react/src/context/react/AssistantApiContext.d.ts +0 -138
- package/dist/react/src/context/react/AssistantApiContext.d.ts.map +0 -1
- package/dist/react/src/context/react/ThreadViewportContext.d.ts +0 -24
- package/dist/react/src/context/react/ThreadViewportContext.d.ts.map +0 -1
- package/dist/react/src/context/react/hooks/useAssistantEvent.d.ts +0 -3
- package/dist/react/src/context/react/hooks/useAssistantEvent.d.ts.map +0 -1
- package/dist/react/src/context/react/hooks/useAssistantState.d.ts +0 -3
- package/dist/react/src/context/react/hooks/useAssistantState.d.ts.map +0 -1
- package/dist/react/src/context/react/index.d.ts +0 -13
- package/dist/react/src/context/react/index.d.ts.map +0 -1
- package/dist/react/src/context/react/utils/createContextHook.d.ts +0 -11
- package/dist/react/src/context/react/utils/createContextHook.d.ts.map +0 -1
- package/dist/react/src/context/react/utils/createContextStoreHook.d.ts +0 -26
- package/dist/react/src/context/react/utils/createContextStoreHook.d.ts.map +0 -1
- package/dist/react/src/context/react/utils/createStateHookForRuntime.d.ts +0 -31
- package/dist/react/src/context/react/utils/createStateHookForRuntime.d.ts.map +0 -1
- package/dist/react/src/context/react/utils/ensureBinding.d.ts +0 -2
- package/dist/react/src/context/react/utils/ensureBinding.d.ts.map +0 -1
- package/dist/react/src/context/react/utils/useRuntimeState.d.ts +0 -10
- package/dist/react/src/context/react/utils/useRuntimeState.d.ts.map +0 -1
- package/dist/react/src/context/stores/ThreadViewport.d.ts +0 -38
- package/dist/react/src/context/stores/ThreadViewport.d.ts.map +0 -1
- package/dist/react/src/context/stores/index.d.ts +0 -2
- package/dist/react/src/context/stores/index.d.ts.map +0 -1
- package/dist/react/src/devtools/DevToolsHooks.d.ts +0 -34
- package/dist/react/src/devtools/DevToolsHooks.d.ts.map +0 -1
- package/dist/react/src/devtools/index.d.ts +0 -2
- package/dist/react/src/devtools/index.d.ts.map +0 -1
- package/dist/react/src/index.d.ts +0 -12
- package/dist/react/src/index.d.ts.map +0 -1
- package/dist/react/src/internal.d.ts +0 -15
- package/dist/react/src/internal.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/AssistantRuntimeProvider.d.ts +0 -13
- package/dist/react/src/legacy-runtime/AssistantRuntimeProvider.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/RuntimeAdapter.d.ts +0 -7
- package/dist/react/src/legacy-runtime/RuntimeAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/client/AttachmentRuntimeClient.d.ts +0 -10
- package/dist/react/src/legacy-runtime/client/AttachmentRuntimeClient.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/client/ComposerRuntimeClient.d.ts +0 -13
- package/dist/react/src/legacy-runtime/client/ComposerRuntimeClient.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/client/EventManagerRuntimeClient.d.ts +0 -11
- package/dist/react/src/legacy-runtime/client/EventManagerRuntimeClient.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/client/MessagePartRuntimeClient.d.ts +0 -10
- package/dist/react/src/legacy-runtime/client/MessagePartRuntimeClient.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/client/MessageRuntimeClient.d.ts +0 -12
- package/dist/react/src/legacy-runtime/client/MessageRuntimeClient.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/client/ThreadListItemRuntimeClient.d.ts +0 -10
- package/dist/react/src/legacy-runtime/client/ThreadListItemRuntimeClient.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/client/ThreadListRuntimeClient.d.ts +0 -12
- package/dist/react/src/legacy-runtime/client/ThreadListRuntimeClient.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/client/ThreadRuntimeClient.d.ts +0 -10
- package/dist/react/src/legacy-runtime/client/ThreadRuntimeClient.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/cloud/AssistantCloudThreadHistoryAdapter.d.ts +0 -5
- package/dist/react/src/legacy-runtime/cloud/AssistantCloudThreadHistoryAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/cloud/auiV0.d.ts +0 -55
- package/dist/react/src/legacy-runtime/cloud/auiV0.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/cloud/index.d.ts +0 -3
- package/dist/react/src/legacy-runtime/cloud/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/cloud/useCloudThreadListRuntime.d.ts +0 -14
- package/dist/react/src/legacy-runtime/cloud/useCloudThreadListRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/hooks/AssistantContext.d.ts +0 -71
- package/dist/react/src/legacy-runtime/hooks/AssistantContext.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/hooks/AttachmentContext.d.ts +0 -836
- package/dist/react/src/legacy-runtime/hooks/AttachmentContext.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/hooks/ComposerContext.d.ts +0 -138
- package/dist/react/src/legacy-runtime/hooks/ComposerContext.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/hooks/MessageContext.d.ts +0 -152
- package/dist/react/src/legacy-runtime/hooks/MessageContext.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/hooks/MessagePartContext.d.ts +0 -41
- package/dist/react/src/legacy-runtime/hooks/MessagePartContext.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/hooks/ThreadContext.d.ts +0 -136
- package/dist/react/src/legacy-runtime/hooks/ThreadContext.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/hooks/ThreadListItemContext.d.ts +0 -41
- package/dist/react/src/legacy-runtime/hooks/ThreadListItemContext.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/AssistantRuntime.d.ts +0 -64
- package/dist/react/src/legacy-runtime/runtime/AssistantRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/AttachmentRuntime.d.ts +0 -63
- package/dist/react/src/legacy-runtime/runtime/AttachmentRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/ComposerRuntime.d.ts +0 -156
- package/dist/react/src/legacy-runtime/runtime/ComposerRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/MessagePartRuntime.d.ts +0 -40
- package/dist/react/src/legacy-runtime/runtime/MessagePartRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/MessageRuntime.d.ts +0 -92
- package/dist/react/src/legacy-runtime/runtime/MessageRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/RuntimeBindings.d.ts +0 -41
- package/dist/react/src/legacy-runtime/runtime/RuntimeBindings.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/RuntimePathTypes.d.ts +0 -64
- package/dist/react/src/legacy-runtime/runtime/RuntimePathTypes.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/ThreadListItemRuntime.d.ts +0 -50
- package/dist/react/src/legacy-runtime/runtime/ThreadListItemRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/ThreadListRuntime.d.ts +0 -44
- package/dist/react/src/legacy-runtime/runtime/ThreadListRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/ThreadRuntime.d.ts +0 -249
- package/dist/react/src/legacy-runtime/runtime/ThreadRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/index.d.ts +0 -9
- package/dist/react/src/legacy-runtime/runtime/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/subscribable/BaseSubject.d.ts +0 -11
- package/dist/react/src/legacy-runtime/runtime/subscribable/BaseSubject.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/subscribable/EventSubscriptionSubject.d.ts +0 -13
- package/dist/react/src/legacy-runtime/runtime/subscribable/EventSubscriptionSubject.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/subscribable/LazyMemoizeSubject.d.ts +0 -13
- package/dist/react/src/legacy-runtime/runtime/subscribable/LazyMemoizeSubject.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/subscribable/NestedSubscriptionSubject.d.ts +0 -12
- package/dist/react/src/legacy-runtime/runtime/subscribable/NestedSubscriptionSubject.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/subscribable/SKIP_UPDATE.d.ts +0 -3
- package/dist/react/src/legacy-runtime/runtime/subscribable/SKIP_UPDATE.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/subscribable/ShallowMemoizeSubject.d.ts +0 -13
- package/dist/react/src/legacy-runtime/runtime/subscribable/ShallowMemoizeSubject.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/subscribable/Subscribable.d.ts +0 -16
- package/dist/react/src/legacy-runtime/runtime/subscribable/Subscribable.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime/subscribable/shallowEqual.d.ts +0 -2
- package/dist/react/src/legacy-runtime/runtime/subscribable/shallowEqual.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/RuntimeAdapterProvider.d.ts +0 -18
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/RuntimeAdapterProvider.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/AttachmentAdapter.d.ts +0 -64
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/AttachmentAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/CloudFileAttachmentAdapter.d.ts +0 -15
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/CloudFileAttachmentAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/CompositeAttachmentAdapter.d.ts +0 -13
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/CompositeAttachmentAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/SimpleImageAttachmentAdapter.d.ts +0 -11
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/SimpleImageAttachmentAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/SimpleTextAttachmentAdapter.d.ts +0 -11
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/SimpleTextAttachmentAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/index.d.ts +0 -6
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/attachment/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/feedback/FeedbackAdapter.d.ts +0 -43
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/feedback/FeedbackAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/feedback/index.d.ts +0 -2
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/feedback/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/index.d.ts +0 -7
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/speech/SpeechAdapterTypes.d.ts +0 -88
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/speech/SpeechAdapterTypes.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/speech/WebSpeechSynthesisAdapter.d.ts +0 -5
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/speech/WebSpeechSynthesisAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/speech/index.d.ts +0 -3
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/speech/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/suggestion/SuggestionAdapter.d.ts +0 -10
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/suggestion/SuggestionAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/suggestion/index.d.ts +0 -2
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/suggestion/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/thread-history/MessageFormatAdapter.d.ts +0 -21
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/thread-history/MessageFormatAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/thread-history/ThreadHistoryAdapter.d.ts +0 -16
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/thread-history/ThreadHistoryAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/thread-history/index.d.ts +0 -3
- package/dist/react/src/legacy-runtime/runtime-cores/adapters/thread-history/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/commandQueue.d.ts +0 -12
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/commandQueue.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/index.d.ts +0 -3
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/runManager.d.ts +0 -12
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/runManager.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/types.d.ts +0 -84
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/types.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/useAssistantTransportRuntime.d.ts +0 -11
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/useAssistantTransportRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/useConvertedState.d.ts +0 -4
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/useConvertedState.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/useLatestRef.d.ts +0 -4
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/useLatestRef.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/useToolInvocations.d.ts +0 -24
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/useToolInvocations.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/utils.d.ts +0 -13
- package/dist/react/src/legacy-runtime/runtime-cores/assistant-transport/utils.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/composer/BaseComposerRuntimeCore.d.ts +0 -39
- package/dist/react/src/legacy-runtime/runtime-cores/composer/BaseComposerRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/composer/DefaultEditComposerRuntimeCore.d.ts +0 -25
- package/dist/react/src/legacy-runtime/runtime-cores/composer/DefaultEditComposerRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/composer/DefaultThreadComposerRuntimeCore.d.ts +0 -21
- package/dist/react/src/legacy-runtime/runtime-cores/composer/DefaultThreadComposerRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/core/AssistantRuntimeCore.d.ts +0 -17
- package/dist/react/src/legacy-runtime/runtime-cores/core/AssistantRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/core/BaseAssistantRuntimeCore.d.ts +0 -12
- package/dist/react/src/legacy-runtime/runtime-cores/core/BaseAssistantRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/core/BaseThreadRuntimeCore.d.ts +0 -65
- package/dist/react/src/legacy-runtime/runtime-cores/core/BaseThreadRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/core/ComposerRuntimeCore.d.ts +0 -28
- package/dist/react/src/legacy-runtime/runtime-cores/core/ComposerRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/core/ThreadListRuntimeCore.d.ts +0 -37
- package/dist/react/src/legacy-runtime/runtime-cores/core/ThreadListRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/core/ThreadRuntimeCore.d.ts +0 -93
- package/dist/react/src/legacy-runtime/runtime-cores/core/ThreadRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/core/index.d.ts +0 -2
- package/dist/react/src/legacy-runtime/runtime-cores/core/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ExternalStoreAdapter.d.ts +0 -79
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ExternalStoreAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ExternalStoreRuntimeCore.d.ts +0 -9
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ExternalStoreRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ExternalStoreThreadListRuntimeCore.d.ts +0 -42
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ExternalStoreThreadListRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ExternalStoreThreadRuntimeCore.d.ts +0 -44
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ExternalStoreThreadRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ThreadMessageConverter.d.ts +0 -7
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ThreadMessageConverter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ThreadMessageLike.d.ts +0 -34
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/ThreadMessageLike.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/auto-status.d.ts +0 -5
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/auto-status.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/createMessageConverter.d.ts +0 -17
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/createMessageConverter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/external-message-converter.d.ts +0 -33
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/external-message-converter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/getExternalStoreMessage.d.ts +0 -9
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/getExternalStoreMessage.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/index.d.ts +0 -7
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/useExternalStoreRuntime.d.ts +0 -4
- package/dist/react/src/legacy-runtime/runtime-cores/external-store/useExternalStoreRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/index.d.ts +0 -8
- package/dist/react/src/legacy-runtime/runtime-cores/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/local/ChatModelAdapter.d.ts +0 -37
- package/dist/react/src/legacy-runtime/runtime-cores/local/ChatModelAdapter.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/local/LocalRuntimeCore.d.ts +0 -11
- package/dist/react/src/legacy-runtime/runtime-cores/local/LocalRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/local/LocalRuntimeOptions.d.ts +0 -46
- package/dist/react/src/legacy-runtime/runtime-cores/local/LocalRuntimeOptions.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/local/LocalThreadListRuntimeCore.d.ts +0 -46
- package/dist/react/src/legacy-runtime/runtime-cores/local/LocalThreadListRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/local/LocalThreadRuntimeCore.d.ts +0 -51
- package/dist/react/src/legacy-runtime/runtime-cores/local/LocalThreadRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/local/index.d.ts +0 -4
- package/dist/react/src/legacy-runtime/runtime-cores/local/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/local/shouldContinue.d.ts +0 -3
- package/dist/react/src/legacy-runtime/runtime-cores/local/shouldContinue.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/local/useLocalRuntime.d.ts +0 -4
- package/dist/react/src/legacy-runtime/runtime-cores/local/useLocalRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/BaseSubscribable.d.ts +0 -8
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/BaseSubscribable.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/EMPTY_THREAD_CORE.d.ts +0 -3
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/EMPTY_THREAD_CORE.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/OptimisticState.d.ts +0 -23
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/OptimisticState.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/RemoteThreadListHookInstanceManager.d.ts +0 -91
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/RemoteThreadListHookInstanceManager.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/RemoteThreadListThreadListRuntimeCore.d.ts +0 -135
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/RemoteThreadListThreadListRuntimeCore.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/adapter/cloud.d.ts +0 -13
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/adapter/cloud.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/adapter/in-memory.d.ts +0 -13
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/adapter/in-memory.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/index.d.ts +0 -5
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/index.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/types.d.ts +0 -39
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/types.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/useRemoteThreadListRuntime.d.ts +0 -4
- package/dist/react/src/legacy-runtime/runtime-cores/remote-thread-list/useRemoteThreadListRuntime.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/runtime-cores/utils/MessageRepository.d.ts +0 -164
- package/dist/react/src/legacy-runtime/runtime-cores/utils/MessageRepository.d.ts.map +0 -1
- package/dist/react/src/legacy-runtime/util-hooks/tapSubscribable.d.ts +0 -3
- package/dist/react/src/legacy-runtime/util-hooks/tapSubscribable.d.ts.map +0 -1
- package/dist/react/src/model-context/ModelContextTypes.d.ts +0 -29
- package/dist/react/src/model-context/ModelContextTypes.d.ts.map +0 -1
- package/dist/react/src/model-context/frame/AssistantFrameHost.d.ts +0 -37
- package/dist/react/src/model-context/frame/AssistantFrameHost.d.ts.map +0 -1
- package/dist/react/src/model-context/frame/AssistantFrameProvider.d.ts +0 -41
- package/dist/react/src/model-context/frame/AssistantFrameProvider.d.ts.map +0 -1
- package/dist/react/src/model-context/frame/AssistantFrameTypes.d.ts +0 -29
- package/dist/react/src/model-context/frame/AssistantFrameTypes.d.ts.map +0 -1
- package/dist/react/src/model-context/frame/index.d.ts +0 -5
- package/dist/react/src/model-context/frame/index.d.ts.map +0 -1
- package/dist/react/src/model-context/frame/useAssistantFrameHost.d.ts +0 -28
- package/dist/react/src/model-context/frame/useAssistantFrameHost.d.ts.map +0 -1
- package/dist/react/src/model-context/index.d.ts +0 -15
- package/dist/react/src/model-context/index.d.ts.map +0 -1
- package/dist/react/src/model-context/makeAssistantTool.d.ts +0 -7
- package/dist/react/src/model-context/makeAssistantTool.d.ts.map +0 -1
- package/dist/react/src/model-context/makeAssistantToolUI.d.ts +0 -7
- package/dist/react/src/model-context/makeAssistantToolUI.d.ts.map +0 -1
- package/dist/react/src/model-context/makeAssistantVisible.d.ts +0 -7
- package/dist/react/src/model-context/makeAssistantVisible.d.ts.map +0 -1
- package/dist/react/src/model-context/registry/ModelContextRegistry.d.ts +0 -19
- package/dist/react/src/model-context/registry/ModelContextRegistry.d.ts.map +0 -1
- package/dist/react/src/model-context/registry/ModelContextRegistryHandles.d.ts +0 -14
- package/dist/react/src/model-context/registry/ModelContextRegistryHandles.d.ts.map +0 -1
- package/dist/react/src/model-context/registry/index.d.ts +0 -3
- package/dist/react/src/model-context/registry/index.d.ts.map +0 -1
- package/dist/react/src/model-context/tool.d.ts +0 -3
- package/dist/react/src/model-context/tool.d.ts.map +0 -1
- package/dist/react/src/model-context/toolbox.d.ts +0 -10
- package/dist/react/src/model-context/toolbox.d.ts.map +0 -1
- package/dist/react/src/model-context/useAssistantInstructions.d.ts +0 -6
- package/dist/react/src/model-context/useAssistantInstructions.d.ts.map +0 -1
- package/dist/react/src/model-context/useAssistantTool.d.ts +0 -8
- package/dist/react/src/model-context/useAssistantTool.d.ts.map +0 -1
- package/dist/react/src/model-context/useAssistantToolUI.d.ts +0 -7
- package/dist/react/src/model-context/useAssistantToolUI.d.ts.map +0 -1
- package/dist/react/src/model-context/useInlineRender.d.ts +0 -4
- package/dist/react/src/model-context/useInlineRender.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarCopy.d.ts +0 -57
- package/dist/react/src/primitives/actionBar/ActionBarCopy.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarEdit.d.ts +0 -49
- package/dist/react/src/primitives/actionBar/ActionBarEdit.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarExportMarkdown.d.ts +0 -17
- package/dist/react/src/primitives/actionBar/ActionBarExportMarkdown.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarFeedbackNegative.d.ts +0 -11
- package/dist/react/src/primitives/actionBar/ActionBarFeedbackNegative.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarFeedbackPositive.d.ts +0 -11
- package/dist/react/src/primitives/actionBar/ActionBarFeedbackPositive.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarReload.d.ts +0 -50
- package/dist/react/src/primitives/actionBar/ActionBarReload.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarRoot.d.ts +0 -76
- package/dist/react/src/primitives/actionBar/ActionBarRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarSpeak.d.ts +0 -11
- package/dist/react/src/primitives/actionBar/ActionBarSpeak.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/ActionBarStopSpeaking.d.ts +0 -11
- package/dist/react/src/primitives/actionBar/ActionBarStopSpeaking.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/index.d.ts +0 -10
- package/dist/react/src/primitives/actionBar/index.d.ts.map +0 -1
- package/dist/react/src/primitives/actionBar/useActionBarFloatStatus.d.ts +0 -12
- package/dist/react/src/primitives/actionBar/useActionBarFloatStatus.d.ts.map +0 -1
- package/dist/react/src/primitives/assistant/AssistantIf.d.ts +0 -12
- package/dist/react/src/primitives/assistant/AssistantIf.d.ts.map +0 -1
- package/dist/react/src/primitives/assistantModal/AssistantModalAnchor.d.ts +0 -8
- package/dist/react/src/primitives/assistantModal/AssistantModalAnchor.d.ts.map +0 -1
- package/dist/react/src/primitives/assistantModal/AssistantModalContent.d.ts +0 -14
- package/dist/react/src/primitives/assistantModal/AssistantModalContent.d.ts.map +0 -1
- package/dist/react/src/primitives/assistantModal/AssistantModalRoot.d.ts +0 -9
- package/dist/react/src/primitives/assistantModal/AssistantModalRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/assistantModal/AssistantModalTrigger.d.ts +0 -8
- package/dist/react/src/primitives/assistantModal/AssistantModalTrigger.d.ts.map +0 -1
- package/dist/react/src/primitives/assistantModal/index.d.ts +0 -5
- package/dist/react/src/primitives/assistantModal/index.d.ts.map +0 -1
- package/dist/react/src/primitives/assistantModal/scope.d.ts +0 -7
- package/dist/react/src/primitives/assistantModal/scope.d.ts.map +0 -1
- package/dist/react/src/primitives/attachment/AttachmentName.d.ts +0 -6
- package/dist/react/src/primitives/attachment/AttachmentName.d.ts.map +0 -1
- package/dist/react/src/primitives/attachment/AttachmentRemove.d.ts +0 -11
- package/dist/react/src/primitives/attachment/AttachmentRemove.d.ts.map +0 -1
- package/dist/react/src/primitives/attachment/AttachmentRoot.d.ts +0 -30
- package/dist/react/src/primitives/attachment/AttachmentRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/attachment/AttachmentThumb.d.ts +0 -12
- package/dist/react/src/primitives/attachment/AttachmentThumb.d.ts.map +0 -1
- package/dist/react/src/primitives/attachment/index.d.ts +0 -5
- package/dist/react/src/primitives/attachment/index.d.ts.map +0 -1
- package/dist/react/src/primitives/branchPicker/BranchPickerCount.d.ts +0 -23
- package/dist/react/src/primitives/branchPicker/BranchPickerCount.d.ts.map +0 -1
- package/dist/react/src/primitives/branchPicker/BranchPickerNext.d.ts +0 -28
- package/dist/react/src/primitives/branchPicker/BranchPickerNext.d.ts.map +0 -1
- package/dist/react/src/primitives/branchPicker/BranchPickerNumber.d.ts +0 -6
- package/dist/react/src/primitives/branchPicker/BranchPickerNumber.d.ts.map +0 -1
- package/dist/react/src/primitives/branchPicker/BranchPickerPrevious.d.ts +0 -49
- package/dist/react/src/primitives/branchPicker/BranchPickerPrevious.d.ts.map +0 -1
- package/dist/react/src/primitives/branchPicker/BranchPickerRoot.d.ts +0 -41
- package/dist/react/src/primitives/branchPicker/BranchPickerRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/branchPicker/index.d.ts +0 -6
- package/dist/react/src/primitives/branchPicker/index.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/ComposerAddAttachment.d.ts +0 -17
- package/dist/react/src/primitives/composer/ComposerAddAttachment.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/ComposerAttachmentDropzone.d.ts +0 -13
- package/dist/react/src/primitives/composer/ComposerAttachmentDropzone.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/ComposerAttachments.d.ts +0 -37
- package/dist/react/src/primitives/composer/ComposerAttachments.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/ComposerCancel.d.ts +0 -28
- package/dist/react/src/primitives/composer/ComposerCancel.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/ComposerIf.d.ts +0 -15
- package/dist/react/src/primitives/composer/ComposerIf.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/ComposerInput.d.ts +0 -95
- package/dist/react/src/primitives/composer/ComposerInput.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/ComposerRoot.d.ts +0 -29
- package/dist/react/src/primitives/composer/ComposerRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/ComposerSend.d.ts +0 -28
- package/dist/react/src/primitives/composer/ComposerSend.d.ts.map +0 -1
- package/dist/react/src/primitives/composer/index.d.ts +0 -10
- package/dist/react/src/primitives/composer/index.d.ts.map +0 -1
- package/dist/react/src/primitives/error/ErrorMessage.d.ts +0 -10
- package/dist/react/src/primitives/error/ErrorMessage.d.ts.map +0 -1
- package/dist/react/src/primitives/error/ErrorRoot.d.ts +0 -10
- package/dist/react/src/primitives/error/ErrorRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/error/index.d.ts +0 -3
- package/dist/react/src/primitives/error/index.d.ts.map +0 -1
- package/dist/react/src/primitives/index.d.ts +0 -21
- package/dist/react/src/primitives/index.d.ts.map +0 -1
- package/dist/react/src/primitives/message/MessageAttachments.d.ts +0 -37
- package/dist/react/src/primitives/message/MessageAttachments.d.ts.map +0 -1
- package/dist/react/src/primitives/message/MessageError.d.ts +0 -3
- package/dist/react/src/primitives/message/MessageError.d.ts.map +0 -1
- package/dist/react/src/primitives/message/MessageIf.d.ts +0 -25
- package/dist/react/src/primitives/message/MessageIf.d.ts.map +0 -1
- package/dist/react/src/primitives/message/MessageParts.d.ts +0 -170
- package/dist/react/src/primitives/message/MessageParts.d.ts.map +0 -1
- package/dist/react/src/primitives/message/MessagePartsGrouped.d.ts +0 -182
- package/dist/react/src/primitives/message/MessagePartsGrouped.d.ts.map +0 -1
- package/dist/react/src/primitives/message/MessageRoot.d.ts +0 -35
- package/dist/react/src/primitives/message/MessageRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/message/index.d.ts +0 -10
- package/dist/react/src/primitives/message/index.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/MessagePartImage.d.ts +0 -29
- package/dist/react/src/primitives/messagePart/MessagePartImage.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/MessagePartInProgress.d.ts +0 -6
- package/dist/react/src/primitives/messagePart/MessagePartInProgress.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/MessagePartText.d.ts +0 -50
- package/dist/react/src/primitives/messagePart/MessagePartText.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/index.d.ts +0 -4
- package/dist/react/src/primitives/messagePart/index.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/useMessagePartData.d.ts +0 -3
- package/dist/react/src/primitives/messagePart/useMessagePartData.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/useMessagePartFile.d.ts +0 -5
- package/dist/react/src/primitives/messagePart/useMessagePartFile.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/useMessagePartImage.d.ts +0 -5
- package/dist/react/src/primitives/messagePart/useMessagePartImage.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/useMessagePartReasoning.d.ts +0 -5
- package/dist/react/src/primitives/messagePart/useMessagePartReasoning.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/useMessagePartSource.d.ts +0 -5
- package/dist/react/src/primitives/messagePart/useMessagePartSource.d.ts.map +0 -1
- package/dist/react/src/primitives/messagePart/useMessagePartText.d.ts +0 -7
- package/dist/react/src/primitives/messagePart/useMessagePartText.d.ts.map +0 -1
- package/dist/react/src/primitives/reasoning/index.d.ts +0 -2
- package/dist/react/src/primitives/reasoning/index.d.ts.map +0 -1
- package/dist/react/src/primitives/reasoning/useScrollLock.d.ts +0 -29
- package/dist/react/src/primitives/reasoning/useScrollLock.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadEmpty.d.ts +0 -6
- package/dist/react/src/primitives/thread/ThreadEmpty.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadIf.d.ts +0 -17
- package/dist/react/src/primitives/thread/ThreadIf.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadMessages.d.ts +0 -95
- package/dist/react/src/primitives/thread/ThreadMessages.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadRoot.d.ts +0 -29
- package/dist/react/src/primitives/thread/ThreadRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadScrollToBottom.d.ts +0 -16
- package/dist/react/src/primitives/thread/ThreadScrollToBottom.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadSuggestion.d.ts +0 -51
- package/dist/react/src/primitives/thread/ThreadSuggestion.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadViewport.d.ts +0 -88
- package/dist/react/src/primitives/thread/ThreadViewport.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadViewportFooter.d.ts +0 -31
- package/dist/react/src/primitives/thread/ThreadViewportFooter.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/ThreadViewportSlack.d.ts +0 -20
- package/dist/react/src/primitives/thread/ThreadViewportSlack.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/index.d.ts +0 -12
- package/dist/react/src/primitives/thread/index.d.ts.map +0 -1
- package/dist/react/src/primitives/thread/useThreadViewportAutoScroll.d.ts +0 -32
- package/dist/react/src/primitives/thread/useThreadViewportAutoScroll.d.ts.map +0 -1
- package/dist/react/src/primitives/threadList/ThreadListItems.d.ts +0 -35
- package/dist/react/src/primitives/threadList/ThreadListItems.d.ts.map +0 -1
- package/dist/react/src/primitives/threadList/ThreadListNew.d.ts +0 -9
- package/dist/react/src/primitives/threadList/ThreadListNew.d.ts.map +0 -1
- package/dist/react/src/primitives/threadList/ThreadListRoot.d.ts +0 -12
- package/dist/react/src/primitives/threadList/ThreadListRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/threadList/index.d.ts +0 -5
- package/dist/react/src/primitives/threadList/index.d.ts.map +0 -1
- package/dist/react/src/primitives/threadListItem/ThreadListItemArchive.d.ts +0 -11
- package/dist/react/src/primitives/threadListItem/ThreadListItemArchive.d.ts.map +0 -1
- package/dist/react/src/primitives/threadListItem/ThreadListItemDelete.d.ts +0 -11
- package/dist/react/src/primitives/threadListItem/ThreadListItemDelete.d.ts.map +0 -1
- package/dist/react/src/primitives/threadListItem/ThreadListItemRoot.d.ts +0 -12
- package/dist/react/src/primitives/threadListItem/ThreadListItemRoot.d.ts.map +0 -1
- package/dist/react/src/primitives/threadListItem/ThreadListItemTitle.d.ts +0 -8
- package/dist/react/src/primitives/threadListItem/ThreadListItemTitle.d.ts.map +0 -1
- package/dist/react/src/primitives/threadListItem/ThreadListItemTrigger.d.ts +0 -11
- package/dist/react/src/primitives/threadListItem/ThreadListItemTrigger.d.ts.map +0 -1
- package/dist/react/src/primitives/threadListItem/ThreadListItemUnarchive.d.ts +0 -11
- package/dist/react/src/primitives/threadListItem/ThreadListItemUnarchive.d.ts.map +0 -1
- package/dist/react/src/primitives/threadListItem/index.d.ts +0 -7
- package/dist/react/src/primitives/threadListItem/index.d.ts.map +0 -1
- package/dist/react/src/types/AssistantTypes.d.ts +0 -108
- package/dist/react/src/types/AssistantTypes.d.ts.map +0 -1
- package/dist/react/src/types/AttachmentTypes.d.ts +0 -35
- package/dist/react/src/types/AttachmentTypes.d.ts.map +0 -1
- package/dist/react/src/types/EventTypes.d.ts +0 -57
- package/dist/react/src/types/EventTypes.d.ts.map +0 -1
- package/dist/react/src/types/MessagePartComponentTypes.d.ts +0 -31
- package/dist/react/src/types/MessagePartComponentTypes.d.ts.map +0 -1
- package/dist/react/src/types/MessagePartTypes.d.ts +0 -62
- package/dist/react/src/types/MessagePartTypes.d.ts.map +0 -1
- package/dist/react/src/types/Unsubscribe.d.ts +0 -2
- package/dist/react/src/types/Unsubscribe.d.ts.map +0 -1
- package/dist/react/src/types/index.d.ts +0 -7
- package/dist/react/src/types/index.d.ts.map +0 -1
- package/dist/react/src/utils/CompositeContextProvider.d.ts +0 -10
- package/dist/react/src/utils/CompositeContextProvider.d.ts.map +0 -1
- package/dist/react/src/utils/RequireAtLeastOne.d.ts +0 -4
- package/dist/react/src/utils/RequireAtLeastOne.d.ts.map +0 -1
- package/dist/react/src/utils/createActionButton.d.ts +0 -11
- package/dist/react/src/utils/createActionButton.d.ts.map +0 -1
- package/dist/react/src/utils/getThreadMessageText.d.ts +0 -3
- package/dist/react/src/utils/getThreadMessageText.d.ts.map +0 -1
- package/dist/react/src/utils/hooks/useManagedRef.d.ts +0 -2
- package/dist/react/src/utils/hooks/useManagedRef.d.ts.map +0 -1
- package/dist/react/src/utils/hooks/useOnResizeContent.d.ts +0 -2
- package/dist/react/src/utils/hooks/useOnResizeContent.d.ts.map +0 -1
- package/dist/react/src/utils/hooks/useOnScrollToBottom.d.ts +0 -4
- package/dist/react/src/utils/hooks/useOnScrollToBottom.d.ts.map +0 -1
- package/dist/react/src/utils/hooks/useSizeHandle.d.ts +0 -11
- package/dist/react/src/utils/hooks/useSizeHandle.d.ts.map +0 -1
- package/dist/react/src/utils/idUtils.d.ts +0 -4
- package/dist/react/src/utils/idUtils.d.ts.map +0 -1
- package/dist/react/src/utils/json/is-json.d.ts +0 -5
- package/dist/react/src/utils/json/is-json.d.ts.map +0 -1
- package/dist/react/src/utils/smooth/SmoothContext.d.ts +0 -87
- package/dist/react/src/utils/smooth/SmoothContext.d.ts.map +0 -1
- package/dist/react/src/utils/smooth/index.d.ts +0 -3
- package/dist/react/src/utils/smooth/index.d.ts.map +0 -1
- package/dist/react/src/utils/smooth/useSmooth.d.ts +0 -4
- package/dist/react/src/utils/smooth/useSmooth.d.ts.map +0 -1
- package/dist/react/src/utils/tap-store/derived-scopes.d.ts +0 -75
- package/dist/react/src/utils/tap-store/derived-scopes.d.ts.map +0 -1
- package/dist/react/src/utils/tap-store/index.d.ts +0 -4
- package/dist/react/src/utils/tap-store/index.d.ts.map +0 -1
- package/dist/react/src/utils/tap-store/store.d.ts +0 -14
- package/dist/react/src/utils/tap-store/store.d.ts.map +0 -1
- package/dist/react/src/utils/tap-store/tap-api.d.ts +0 -13
- package/dist/react/src/utils/tap-store/tap-api.d.ts.map +0 -1
- package/dist/react-ag-ui/src/index.d.ts +0 -3
- package/dist/react-ag-ui/src/index.d.ts.map +0 -1
- package/dist/react-ag-ui/src/runtime/AgUiThreadRuntimeCore.d.ts.map +0 -1
- package/dist/react-ag-ui/src/runtime/adapter/conversions.d.ts.map +0 -1
- package/dist/react-ag-ui/src/runtime/adapter/run-aggregator.d.ts.map +0 -1
- package/dist/react-ag-ui/src/runtime/adapter/subscriber.d.ts.map +0 -1
- package/dist/react-ag-ui/src/runtime/event-parser.d.ts +0 -3
- package/dist/react-ag-ui/src/runtime/event-parser.d.ts.map +0 -1
- package/dist/react-ag-ui/src/runtime/logger.d.ts.map +0 -1
- package/dist/react-ag-ui/src/runtime/types.d.ts.map +0 -1
- package/dist/react-ag-ui/src/useAgUiRuntime.d.ts.map +0 -1
- /package/dist/{react-ag-ui/src/runtime → runtime}/adapter/conversions.d.ts +0 -0
- /package/dist/{react-ag-ui/src/runtime → runtime}/logger.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerCount.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/branchPicker/BranchPickerCount.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQhC,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,KAAY,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CAC3C;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B,EAAE,EAAE,CACzC,0BAA0B,CAAC,KAAK,CAIjC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ActionButtonElement, ActionButtonProps } from "../../utils/createActionButton";
|
|
2
|
-
declare const useBranchPickerNext: () => (() => void) | null;
|
|
3
|
-
export declare namespace BranchPickerPrimitiveNext {
|
|
4
|
-
type Element = ActionButtonElement;
|
|
5
|
-
/**
|
|
6
|
-
* Props for the BranchPickerPrimitive.Next component.
|
|
7
|
-
* Inherits all button element props and action button functionality.
|
|
8
|
-
*/
|
|
9
|
-
type Props = ActionButtonProps<typeof useBranchPickerNext>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* A button component that navigates to the next branch in the message tree.
|
|
13
|
-
*
|
|
14
|
-
* This component automatically handles switching to the next available branch
|
|
15
|
-
* and is disabled when there are no more branches to navigate to.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```tsx
|
|
19
|
-
* <BranchPickerPrimitive.Next>
|
|
20
|
-
* Next →
|
|
21
|
-
* </BranchPickerPrimitive.Next>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare const BranchPickerPrimitiveNext: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
25
|
-
asChild?: boolean;
|
|
26
|
-
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=BranchPickerNext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerNext.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/branchPicker/BranchPickerNext.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EAElB,MAAM,gCAAgC,CAAC;AAIxC,QAAA,MAAM,mBAAmB,2BAoBxB,CAAC;AAEF,yBAAiB,yBAAyB,CAAC;IACzC,KAAY,OAAO,GAAG,mBAAmB,CAAC;IAC1C;;;OAGG;IACH,KAAY,KAAK,GAAG,iBAAiB,CAAC,OAAO,mBAAmB,CAAC,CAAC;CACnE;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,yBAAyB;;6DAGrC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { FC } from "react";
|
|
2
|
-
export declare namespace BranchPickerPrimitiveNumber {
|
|
3
|
-
type Props = Record<string, never>;
|
|
4
|
-
}
|
|
5
|
-
export declare const BranchPickerPrimitiveNumber: FC<BranchPickerPrimitiveNumber.Props>;
|
|
6
|
-
//# sourceMappingURL=BranchPickerNumber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerNumber.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/branchPicker/BranchPickerNumber.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQhC,yBAAiB,2BAA2B,CAAC;IAC3C,KAAY,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CAC3C;AAED,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,2BAA2B,CAAC,KAAK,CAIlC,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ActionButtonElement, ActionButtonProps } from "../../utils/createActionButton";
|
|
2
|
-
/**
|
|
3
|
-
* Hook that provides navigation to the previous branch functionality.
|
|
4
|
-
*
|
|
5
|
-
* This hook returns a callback function that switches to the previous branch
|
|
6
|
-
* in the message branch tree, or null if there is no previous branch available.
|
|
7
|
-
*
|
|
8
|
-
* @returns A previous branch callback function, or null if navigation is disabled
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* function CustomPreviousButton() {
|
|
13
|
-
* const previous = useBranchPickerPrevious();
|
|
14
|
-
*
|
|
15
|
-
* return (
|
|
16
|
-
* <button onClick={previous} disabled={!previous}>
|
|
17
|
-
* {previous ? "Previous Branch" : "No Previous Branch"}
|
|
18
|
-
* </button>
|
|
19
|
-
* );
|
|
20
|
-
* }
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
declare const useBranchPickerPrevious: () => (() => void) | null;
|
|
24
|
-
export declare namespace BranchPickerPrimitivePrevious {
|
|
25
|
-
type Element = ActionButtonElement;
|
|
26
|
-
/**
|
|
27
|
-
* Props for the BranchPickerPrimitive.Previous component.
|
|
28
|
-
* Inherits all button element props and action button functionality.
|
|
29
|
-
*/
|
|
30
|
-
type Props = ActionButtonProps<typeof useBranchPickerPrevious>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* A button component that navigates to the previous branch in the message tree.
|
|
34
|
-
*
|
|
35
|
-
* This component automatically handles switching to the previous available branch
|
|
36
|
-
* and is disabled when there are no previous branches to navigate to.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* ```tsx
|
|
40
|
-
* <BranchPickerPrimitive.Previous>
|
|
41
|
-
* ← Previous
|
|
42
|
-
* </BranchPickerPrimitive.Previous>
|
|
43
|
-
* ```
|
|
44
|
-
*/
|
|
45
|
-
export declare const BranchPickerPrimitivePrevious: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
46
|
-
asChild?: boolean;
|
|
47
|
-
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
48
|
-
export {};
|
|
49
|
-
//# sourceMappingURL=BranchPickerPrevious.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerPrevious.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/branchPicker/BranchPickerPrevious.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EAElB,MAAM,gCAAgC,CAAC;AAIxC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,QAAA,MAAM,uBAAuB,2BAoB5B,CAAC;AAEF,yBAAiB,6BAA6B,CAAC;IAC7C,KAAY,OAAO,GAAG,mBAAmB,CAAC;IAC1C;;;OAGG;IACH,KAAY,KAAK,GAAG,iBAAiB,CAAC,OAAO,uBAAuB,CAAC,CAAC;CACvE;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,6BAA6B;;6DAGzC,CAAC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Primitive } from "@radix-ui/react-primitive";
|
|
2
|
-
import { type ComponentRef, ComponentPropsWithoutRef } from "react";
|
|
3
|
-
export declare namespace BranchPickerPrimitiveRoot {
|
|
4
|
-
type Element = ComponentRef<typeof Primitive.div>;
|
|
5
|
-
type Props = ComponentPropsWithoutRef<typeof Primitive.div> & {
|
|
6
|
-
/**
|
|
7
|
-
* Whether to hide the branch picker when there's only one branch available.
|
|
8
|
-
* When true, the component will only render when multiple branches exist.
|
|
9
|
-
* @default false
|
|
10
|
-
*/
|
|
11
|
-
hideWhenSingleBranch?: boolean | undefined;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* The root container for branch picker components.
|
|
16
|
-
*
|
|
17
|
-
* This component provides a container for branch navigation controls,
|
|
18
|
-
* with optional conditional rendering based on the number of available branches.
|
|
19
|
-
* It integrates with the message branching system to allow users to navigate
|
|
20
|
-
* between different response variations.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```tsx
|
|
24
|
-
* <BranchPickerPrimitive.Root hideWhenSingleBranch={true}>
|
|
25
|
-
* <BranchPickerPrimitive.Previous />
|
|
26
|
-
* <BranchPickerPrimitive.Count />
|
|
27
|
-
* <BranchPickerPrimitive.Next />
|
|
28
|
-
* </BranchPickerPrimitive.Root>
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare const BranchPickerPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
32
|
-
asChild?: boolean;
|
|
33
|
-
}, "ref"> & {
|
|
34
|
-
/**
|
|
35
|
-
* Whether to hide the branch picker when there's only one branch available.
|
|
36
|
-
* When true, the component will only render when multiple branches exist.
|
|
37
|
-
* @default false
|
|
38
|
-
*/
|
|
39
|
-
hideWhenSingleBranch?: boolean | undefined;
|
|
40
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
41
|
-
//# sourceMappingURL=BranchPickerRoot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerRoot.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/branchPicker/BranchPickerRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,KAAK,YAAY,EAAc,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGhF,yBAAiB,yBAAyB,CAAC;IACzC,KAAY,OAAO,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC;IACzD,KAAY,KAAK,GAAG,wBAAwB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,GAAG;QACnE;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAC5C,CAAC;CACH;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,yBAAyB;;;IA1BlC;;;;OAIG;2BACoB,OAAO,GAAG,SAAS;kDA8B5C,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { BranchPickerPrimitiveNext as Next } from "./BranchPickerNext";
|
|
2
|
-
export { BranchPickerPrimitivePrevious as Previous } from "./BranchPickerPrevious";
|
|
3
|
-
export { BranchPickerPrimitiveCount as Count } from "./BranchPickerCount";
|
|
4
|
-
export { BranchPickerPrimitiveNumber as Number } from "./BranchPickerNumber";
|
|
5
|
-
export { BranchPickerPrimitiveRoot as Root } from "./BranchPickerRoot";
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/branchPicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,IAAI,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,6BAA6B,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACnF,OAAO,EAAE,0BAA0B,IAAI,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,2BAA2B,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,yBAAyB,IAAI,IAAI,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ActionButtonElement, ActionButtonProps } from "../../utils/createActionButton";
|
|
2
|
-
declare const useComposerAddAttachment: ({ multiple, }?: {
|
|
3
|
-
/** allow selecting multiple files */
|
|
4
|
-
multiple?: boolean | undefined;
|
|
5
|
-
}) => (() => void) | null;
|
|
6
|
-
export declare namespace ComposerPrimitiveAddAttachment {
|
|
7
|
-
type Element = ActionButtonElement;
|
|
8
|
-
type Props = ActionButtonProps<typeof useComposerAddAttachment>;
|
|
9
|
-
}
|
|
10
|
-
export declare const ComposerPrimitiveAddAttachment: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
11
|
-
asChild?: boolean;
|
|
12
|
-
}, "ref"> & {
|
|
13
|
-
/** allow selecting multiple files */
|
|
14
|
-
multiple?: boolean | undefined;
|
|
15
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=ComposerAddAttachment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerAddAttachment.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/ComposerAddAttachment.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EAElB,MAAM,gCAAgC,CAAC;AAIxC,QAAA,MAAM,wBAAwB,GAAI,gBAE/B;IACD,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3B,wBAsCL,CAAC;AAEF,yBAAiB,8BAA8B,CAAC;IAC9C,KAAY,OAAO,GAAG,mBAAmB,CAAC;IAC1C,KAAY,KAAK,GAAG,iBAAiB,CAAC,OAAO,wBAAwB,CAAC,CAAC;CACxE;AAED,eAAO,MAAM,8BAA8B;;;IA/CzC,qCAAqC;eAC1B,OAAO,GAAG,SAAS;qDAkD/B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare namespace ComposerPrimitiveAttachmentDropzone {
|
|
3
|
-
type Element = HTMLDivElement;
|
|
4
|
-
type Props = React.HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
asChild?: boolean | undefined;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare const ComposerPrimitiveAttachmentDropzone: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
10
|
-
asChild?: boolean | undefined;
|
|
11
|
-
disabled?: boolean | undefined;
|
|
12
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
//# sourceMappingURL=ComposerAttachmentDropzone.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerAttachmentDropzone.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/ComposerAttachmentDropzone.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,yBAAiB,mCAAmC,CAAC;IACnD,KAAY,OAAO,GAAG,cAAc,CAAC;IACrC,KAAY,KAAK,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG;QACzD,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC9B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAChC,CAAC;CACH;AAED,eAAO,MAAM,mCAAmC;cALlC,OAAO,GAAG,SAAS;eAClB,OAAO,GAAG,SAAS;wCA6EhC,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ComponentType, type FC } from "react";
|
|
2
|
-
export declare namespace ComposerPrimitiveAttachments {
|
|
3
|
-
type Props = {
|
|
4
|
-
components: {
|
|
5
|
-
Image?: ComponentType | undefined;
|
|
6
|
-
Document?: ComponentType | undefined;
|
|
7
|
-
File?: ComponentType | undefined;
|
|
8
|
-
Attachment?: ComponentType | undefined;
|
|
9
|
-
} | undefined;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare namespace ComposerPrimitiveAttachmentByIndex {
|
|
13
|
-
type Props = {
|
|
14
|
-
index: number;
|
|
15
|
-
components?: ComposerPrimitiveAttachments.Props["components"];
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders a single attachment at the specified index within the composer.
|
|
20
|
-
*
|
|
21
|
-
* This component provides direct access to render a specific attachment
|
|
22
|
-
* from the composer's attachment list using the provided component configuration.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```tsx
|
|
26
|
-
* <ComposerPrimitive.AttachmentByIndex
|
|
27
|
-
* index={0}
|
|
28
|
-
* components={{
|
|
29
|
-
* Image: MyImageAttachment,
|
|
30
|
-
* Document: MyDocumentAttachment
|
|
31
|
-
* }}
|
|
32
|
-
* />
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare const ComposerPrimitiveAttachmentByIndex: FC<ComposerPrimitiveAttachmentByIndex.Props>;
|
|
36
|
-
export declare const ComposerPrimitiveAttachments: FC<ComposerPrimitiveAttachments.Props>;
|
|
37
|
-
//# sourceMappingURL=ComposerAttachments.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerAttachments.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/ComposerAttachments.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,EAAiB,MAAM,OAAO,CAAC;AAO9D,yBAAiB,4BAA4B,CAAC;IAC5C,KAAY,KAAK,GAAG;QAClB,UAAU,EACN;YACE,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;YAClC,QAAQ,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;YACrC,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;YACjC,UAAU,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;SACxC,GACD,SAAS,CAAC;KACf,CAAC;CACH;AA+BD,yBAAiB,kCAAkC,CAAC;IAClD,KAAY,KAAK,GAAG;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,4BAA4B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KAC/D,CAAC;CACH;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,kCAAkC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAezF,CAAC;AAKJ,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAC3C,4BAA4B,CAAC,KAAK,CAiBnC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ActionButtonElement, ActionButtonProps } from "../../utils/createActionButton";
|
|
2
|
-
declare const useComposerCancel: () => (() => void) | null;
|
|
3
|
-
export declare namespace ComposerPrimitiveCancel {
|
|
4
|
-
type Element = ActionButtonElement;
|
|
5
|
-
/**
|
|
6
|
-
* Props for the ComposerPrimitive.Cancel component.
|
|
7
|
-
* Inherits all button element props and action button functionality.
|
|
8
|
-
*/
|
|
9
|
-
type Props = ActionButtonProps<typeof useComposerCancel>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* A button component that cancels the current message composition.
|
|
13
|
-
*
|
|
14
|
-
* This component automatically handles the cancel functionality and is disabled
|
|
15
|
-
* when canceling is not available.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```tsx
|
|
19
|
-
* <ComposerPrimitive.Cancel>
|
|
20
|
-
* Cancel
|
|
21
|
-
* </ComposerPrimitive.Cancel>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare const ComposerPrimitiveCancel: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
25
|
-
asChild?: boolean;
|
|
26
|
-
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=ComposerCancel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerCancel.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/ComposerCancel.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EAElB,MAAM,gCAAgC,CAAC;AAIxC,QAAA,MAAM,iBAAiB,2BAUtB,CAAC;AAEF,yBAAiB,uBAAuB,CAAC;IACvC,KAAY,OAAO,GAAG,mBAAmB,CAAC;IAC1C;;;OAGG;IACH,KAAY,KAAK,GAAG,iBAAiB,CAAC,OAAO,iBAAiB,CAAC,CAAC;CACjE;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB;;6DAGnC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { FC, PropsWithChildren } from "react";
|
|
2
|
-
import type { RequireAtLeastOne } from "../../utils/RequireAtLeastOne";
|
|
3
|
-
type ComposerIfFilters = {
|
|
4
|
-
editing: boolean | undefined;
|
|
5
|
-
};
|
|
6
|
-
export type UseComposerIfProps = RequireAtLeastOne<ComposerIfFilters>;
|
|
7
|
-
export declare namespace ComposerPrimitiveIf {
|
|
8
|
-
type Props = PropsWithChildren<UseComposerIfProps>;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `<AssistantIf condition={({ composer }) => ...} />` instead.
|
|
12
|
-
*/
|
|
13
|
-
export declare const ComposerPrimitiveIf: FC<ComposerPrimitiveIf.Props>;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=ComposerIf.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerIf.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/ComposerIf.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;AAWtE,yBAAiB,mBAAmB,CAAC;IACnC,KAAY,KAAK,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;CAC3D;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,mBAAmB,CAAC,KAAK,CAM7D,CAAC"}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { type TextareaAutosizeProps } from "react-textarea-autosize";
|
|
2
|
-
export declare namespace ComposerPrimitiveInput {
|
|
3
|
-
type Element = HTMLTextAreaElement;
|
|
4
|
-
type Props = TextareaAutosizeProps & {
|
|
5
|
-
/**
|
|
6
|
-
* Whether to render as a child component using Slot.
|
|
7
|
-
* When true, the component will merge its props with its child.
|
|
8
|
-
*/
|
|
9
|
-
asChild?: boolean | undefined;
|
|
10
|
-
/**
|
|
11
|
-
* Whether to submit the message when Enter is pressed (without Shift).
|
|
12
|
-
* @default true
|
|
13
|
-
*/
|
|
14
|
-
submitOnEnter?: boolean | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Whether to cancel message composition when Escape is pressed.
|
|
17
|
-
* @default true
|
|
18
|
-
*/
|
|
19
|
-
cancelOnEscape?: boolean | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* Whether to automatically focus the input when a new run starts.
|
|
22
|
-
* @default true
|
|
23
|
-
*/
|
|
24
|
-
unstable_focusOnRunStart?: boolean | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Whether to automatically focus the input when scrolling to bottom.
|
|
27
|
-
* @default true
|
|
28
|
-
*/
|
|
29
|
-
unstable_focusOnScrollToBottom?: boolean | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* Whether to automatically focus the input when switching threads.
|
|
32
|
-
* @default true
|
|
33
|
-
*/
|
|
34
|
-
unstable_focusOnThreadSwitched?: boolean | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Whether to automatically add pasted files as attachments.
|
|
37
|
-
* @default true
|
|
38
|
-
*/
|
|
39
|
-
addAttachmentOnPaste?: boolean | undefined;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* A text input component for composing messages.
|
|
44
|
-
*
|
|
45
|
-
* This component provides a rich text input experience with automatic resizing,
|
|
46
|
-
* keyboard shortcuts, file paste support, and intelligent focus management.
|
|
47
|
-
* It integrates with the composer context to manage message state and submission.
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* ```tsx
|
|
51
|
-
* <ComposerPrimitive.Input
|
|
52
|
-
* placeholder="Type your message..."
|
|
53
|
-
* submitOnEnter={true}
|
|
54
|
-
* addAttachmentOnPaste={true}
|
|
55
|
-
* />
|
|
56
|
-
* ```
|
|
57
|
-
*/
|
|
58
|
-
export declare const ComposerPrimitiveInput: import("react").ForwardRefExoticComponent<TextareaAutosizeProps & {
|
|
59
|
-
/**
|
|
60
|
-
* Whether to render as a child component using Slot.
|
|
61
|
-
* When true, the component will merge its props with its child.
|
|
62
|
-
*/
|
|
63
|
-
asChild?: boolean | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* Whether to submit the message when Enter is pressed (without Shift).
|
|
66
|
-
* @default true
|
|
67
|
-
*/
|
|
68
|
-
submitOnEnter?: boolean | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* Whether to cancel message composition when Escape is pressed.
|
|
71
|
-
* @default true
|
|
72
|
-
*/
|
|
73
|
-
cancelOnEscape?: boolean | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* Whether to automatically focus the input when a new run starts.
|
|
76
|
-
* @default true
|
|
77
|
-
*/
|
|
78
|
-
unstable_focusOnRunStart?: boolean | undefined;
|
|
79
|
-
/**
|
|
80
|
-
* Whether to automatically focus the input when scrolling to bottom.
|
|
81
|
-
* @default true
|
|
82
|
-
*/
|
|
83
|
-
unstable_focusOnScrollToBottom?: boolean | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* Whether to automatically focus the input when switching threads.
|
|
86
|
-
* @default true
|
|
87
|
-
*/
|
|
88
|
-
unstable_focusOnThreadSwitched?: boolean | undefined;
|
|
89
|
-
/**
|
|
90
|
-
* Whether to automatically add pasted files as attachments.
|
|
91
|
-
* @default true
|
|
92
|
-
*/
|
|
93
|
-
addAttachmentOnPaste?: boolean | undefined;
|
|
94
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
95
|
-
//# sourceMappingURL=ComposerInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerInput.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/ComposerInput.tsx"],"names":[],"mappings":"AAaA,OAAyB,EACvB,KAAK,qBAAqB,EAC3B,MAAM,yBAAyB,CAAC;AAMjC,yBAAiB,sBAAsB,CAAC;IACtC,KAAY,OAAO,GAAG,mBAAmB,CAAC;IAC1C,KAAY,KAAK,GAAG,qBAAqB,GAAG;QAC1C;;;WAGG;QACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC9B;;;WAGG;QACH,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACpC;;;WAGG;QACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACrC;;;WAGG;QACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC/C;;;WAGG;QACH,8BAA8B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACrD;;;WAGG;QACH,8BAA8B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QACrD;;;WAGG;QACH,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;KAC5C,CAAC;CACH;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,sBAAsB;IAtD/B;;;OAGG;cACO,OAAO,GAAG,SAAS;IAC7B;;;OAGG;oBACa,OAAO,GAAG,SAAS;IACnC;;;OAGG;qBACc,OAAO,GAAG,SAAS;IACpC;;;OAGG;+BACwB,OAAO,GAAG,SAAS;IAC9C;;;OAGG;qCAC8B,OAAO,GAAG,SAAS;IACpD;;;OAGG;qCAC8B,OAAO,GAAG,SAAS;IACpD;;;OAGG;2BACoB,OAAO,GAAG,SAAS;uDAiK7C,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Primitive } from "@radix-ui/react-primitive";
|
|
2
|
-
import { type ComponentRef, ComponentPropsWithoutRef } from "react";
|
|
3
|
-
export declare namespace ComposerPrimitiveRoot {
|
|
4
|
-
type Element = ComponentRef<typeof Primitive.form>;
|
|
5
|
-
/**
|
|
6
|
-
* Props for the ComposerPrimitive.Root component.
|
|
7
|
-
* Accepts all standard form element props.
|
|
8
|
-
*/
|
|
9
|
-
type Props = ComponentPropsWithoutRef<typeof Primitive.form>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* The root form container for message composition.
|
|
13
|
-
*
|
|
14
|
-
* This component provides a form wrapper that handles message submission when the form
|
|
15
|
-
* is submitted (e.g., via Enter key or submit button). It automatically prevents the
|
|
16
|
-
* default form submission and triggers the composer's send functionality.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* <ComposerPrimitive.Root>
|
|
21
|
-
* <ComposerPrimitive.Input placeholder="Type your message..." />
|
|
22
|
-
* <ComposerPrimitive.Send>Send</ComposerPrimitive.Send>
|
|
23
|
-
* </ComposerPrimitive.Root>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare const ComposerPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLFormElement> & import("react").FormHTMLAttributes<HTMLFormElement> & {
|
|
27
|
-
asChild?: boolean;
|
|
28
|
-
}, "ref"> & import("react").RefAttributes<HTMLFormElement>>;
|
|
29
|
-
//# sourceMappingURL=ComposerRoot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerRoot.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/ComposerRoot.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EACL,KAAK,YAAY,EAGjB,wBAAwB,EACzB,MAAM,OAAO,CAAC;AAGf,yBAAiB,qBAAqB,CAAC;IACrC,KAAY,OAAO,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;IAC1D;;;OAGG;IACH,KAAY,KAAK,GAAG,wBAAwB,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;CACrE;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB;;2DAoBhC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ActionButtonElement, ActionButtonProps } from "../../utils/createActionButton";
|
|
2
|
-
export declare const useComposerSend: () => (() => void) | null;
|
|
3
|
-
export declare namespace ComposerPrimitiveSend {
|
|
4
|
-
type Element = ActionButtonElement;
|
|
5
|
-
/**
|
|
6
|
-
* Props for the ComposerPrimitive.Send component.
|
|
7
|
-
* Inherits all button element props and action button functionality.
|
|
8
|
-
*/
|
|
9
|
-
type Props = ActionButtonProps<typeof useComposerSend>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* A button component that sends the current message in the composer.
|
|
13
|
-
*
|
|
14
|
-
* This component automatically handles the send functionality and is disabled
|
|
15
|
-
* when sending is not available (e.g., when the thread is running, the composer
|
|
16
|
-
* is empty, or not in editing mode).
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* <ComposerPrimitive.Send>
|
|
21
|
-
* Send Message
|
|
22
|
-
* </ComposerPrimitive.Send>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare const ComposerPrimitiveSend: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
26
|
-
asChild?: boolean;
|
|
27
|
-
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
28
|
-
//# sourceMappingURL=ComposerSend.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerSend.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/ComposerSend.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EAElB,MAAM,gCAAgC,CAAC;AAIxC,eAAO,MAAM,eAAe,2BAa3B,CAAC;AAEF,yBAAiB,qBAAqB,CAAC;IACrC,KAAY,OAAO,GAAG,mBAAmB,CAAC;IAC1C;;;OAGG;IACH,KAAY,KAAK,GAAG,iBAAiB,CAAC,OAAO,eAAe,CAAC,CAAC;CAC/D;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB;;6DAGjC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { ComposerPrimitiveRoot as Root } from "./ComposerRoot";
|
|
2
|
-
export { ComposerPrimitiveInput as Input } from "./ComposerInput";
|
|
3
|
-
export { ComposerPrimitiveSend as Send } from "./ComposerSend";
|
|
4
|
-
export { ComposerPrimitiveCancel as Cancel } from "./ComposerCancel";
|
|
5
|
-
export { ComposerPrimitiveAddAttachment as AddAttachment } from "./ComposerAddAttachment";
|
|
6
|
-
export { ComposerPrimitiveAttachments as Attachments } from "./ComposerAttachments";
|
|
7
|
-
export { ComposerPrimitiveAttachmentByIndex as AttachmentByIndex } from "./ComposerAttachments";
|
|
8
|
-
export { ComposerPrimitiveAttachmentDropzone as AttachmentDropzone } from "./ComposerAttachmentDropzone";
|
|
9
|
-
export { ComposerPrimitiveIf as If } from "./ComposerIf";
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/composer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,IAAI,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,qBAAqB,IAAI,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,8BAA8B,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC1F,OAAO,EAAE,4BAA4B,IAAI,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,kCAAkC,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAChG,OAAO,EAAE,mCAAmC,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACzG,OAAO,EAAE,mBAAmB,IAAI,EAAE,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Primitive } from "@radix-ui/react-primitive";
|
|
2
|
-
import { type ComponentRef, ComponentPropsWithoutRef } from "react";
|
|
3
|
-
export declare namespace ErrorPrimitiveMessage {
|
|
4
|
-
type Element = ComponentRef<typeof Primitive.span>;
|
|
5
|
-
type Props = ComponentPropsWithoutRef<typeof Primitive.span>;
|
|
6
|
-
}
|
|
7
|
-
export declare const ErrorPrimitiveMessage: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
}, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
10
|
-
//# sourceMappingURL=ErrorMessage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/error/ErrorMessage.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,KAAK,YAAY,EAAc,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGhF,yBAAiB,qBAAqB,CAAC;IACrC,KAAY,OAAO,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;IAC1D,KAAY,KAAK,GAAG,wBAAwB,CAAC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC;CACrE;AAED,eAAO,MAAM,qBAAqB;;2DAkBhC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Primitive } from "@radix-ui/react-primitive";
|
|
2
|
-
import { type ComponentRef, ComponentPropsWithoutRef } from "react";
|
|
3
|
-
export declare namespace ErrorPrimitiveRoot {
|
|
4
|
-
type Element = ComponentRef<typeof Primitive.div>;
|
|
5
|
-
type Props = ComponentPropsWithoutRef<typeof Primitive.div>;
|
|
6
|
-
}
|
|
7
|
-
export declare const ErrorPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
//# sourceMappingURL=ErrorRoot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorRoot.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/error/ErrorRoot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,KAAK,YAAY,EAAc,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAEhF,yBAAiB,kBAAkB,CAAC;IAClC,KAAY,OAAO,GAAG,YAAY,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC;IACzD,KAAY,KAAK,GAAG,wBAAwB,CAAC,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC;CACpE;AAED,eAAO,MAAM,kBAAkB;;0DAK7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/error/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,IAAI,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,qBAAqB,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export * as ActionBarPrimitive from "./actionBar";
|
|
2
|
-
export * as AssistantModalPrimitive from "./assistantModal";
|
|
3
|
-
export * as AttachmentPrimitive from "./attachment";
|
|
4
|
-
export * as BranchPickerPrimitive from "./branchPicker";
|
|
5
|
-
export * as ComposerPrimitive from "./composer";
|
|
6
|
-
export * as MessagePartPrimitive from "./messagePart";
|
|
7
|
-
export * as ErrorPrimitive from "./error";
|
|
8
|
-
export * as MessagePrimitive from "./message";
|
|
9
|
-
export * as ThreadPrimitive from "./thread";
|
|
10
|
-
export * as ThreadListPrimitive from "./threadList";
|
|
11
|
-
export * as ThreadListItemPrimitive from "./threadListItem";
|
|
12
|
-
export { AssistantIf } from "./assistant/AssistantIf";
|
|
13
|
-
export { useMessagePartText } from "./messagePart/useMessagePartText";
|
|
14
|
-
export { useMessagePartReasoning } from "./messagePart/useMessagePartReasoning";
|
|
15
|
-
export { useMessagePartSource } from "./messagePart/useMessagePartSource";
|
|
16
|
-
export { useMessagePartFile } from "./messagePart/useMessagePartFile";
|
|
17
|
-
export { useMessagePartImage } from "./messagePart/useMessagePartImage";
|
|
18
|
-
export { useMessagePartData } from "./messagePart/useMessagePartData";
|
|
19
|
-
export { useThreadViewportAutoScroll } from "./thread/useThreadViewportAutoScroll";
|
|
20
|
-
export { useScrollLock } from "./reasoning";
|
|
21
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../react/src/primitives/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,uBAAuB,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,mBAAmB,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,qBAAqB,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,iBAAiB,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,oBAAoB,MAAM,eAAe,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,gBAAgB,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,eAAe,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,mBAAmB,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,uBAAuB,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ComponentType, type FC } from "react";
|
|
2
|
-
export declare namespace MessagePrimitiveAttachments {
|
|
3
|
-
type Props = {
|
|
4
|
-
components: {
|
|
5
|
-
Image?: ComponentType | undefined;
|
|
6
|
-
Document?: ComponentType | undefined;
|
|
7
|
-
File?: ComponentType | undefined;
|
|
8
|
-
Attachment?: ComponentType | undefined;
|
|
9
|
-
} | undefined;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare namespace MessagePrimitiveAttachmentByIndex {
|
|
13
|
-
type Props = {
|
|
14
|
-
index: number;
|
|
15
|
-
components?: MessagePrimitiveAttachments.Props["components"];
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Renders a single attachment at the specified index within the current message.
|
|
20
|
-
*
|
|
21
|
-
* This component provides direct access to render a specific attachment
|
|
22
|
-
* from the message's attachment list using the provided component configuration.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```tsx
|
|
26
|
-
* <MessagePrimitive.AttachmentByIndex
|
|
27
|
-
* index={0}
|
|
28
|
-
* components={{
|
|
29
|
-
* Image: MyImageAttachment,
|
|
30
|
-
* Document: MyDocumentAttachment
|
|
31
|
-
* }}
|
|
32
|
-
* />
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare const MessagePrimitiveAttachmentByIndex: FC<MessagePrimitiveAttachmentByIndex.Props>;
|
|
36
|
-
export declare const MessagePrimitiveAttachments: FC<MessagePrimitiveAttachments.Props>;
|
|
37
|
-
//# sourceMappingURL=MessageAttachments.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageAttachments.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/message/MessageAttachments.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,EAAiB,MAAM,OAAO,CAAC;AAO9D,yBAAiB,2BAA2B,CAAC;IAC3C,KAAY,KAAK,GAAG;QAClB,UAAU,EACN;YACE,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;YAClC,QAAQ,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;YACrC,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;YACjC,UAAU,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;SACxC,GACD,SAAS,CAAC;KACf,CAAC;CACH;AA+BD,yBAAiB,iCAAiC,CAAC;IACjD,KAAY,KAAK,GAAG;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,2BAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KAC9D,CAAC;CACH;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iCAAiC,EAAE,EAAE,CAAC,iCAAiC,CAAC,KAAK,CAevF,CAAC;AAKJ,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,2BAA2B,CAAC,KAAK,CAkBlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageError.d.ts","sourceRoot":"","sources":["../../../../../../react/src/primitives/message/MessageError.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG9C,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,iBAAiB,CAOvD,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { FC, PropsWithChildren } from "react";
|
|
2
|
-
import type { RequireAtLeastOne } from "../../utils/RequireAtLeastOne";
|
|
3
|
-
type MessageIfFilters = {
|
|
4
|
-
user: boolean | undefined;
|
|
5
|
-
assistant: boolean | undefined;
|
|
6
|
-
system: boolean | undefined;
|
|
7
|
-
hasBranches: boolean | undefined;
|
|
8
|
-
copied: boolean | undefined;
|
|
9
|
-
lastOrHover: boolean | undefined;
|
|
10
|
-
last: boolean | undefined;
|
|
11
|
-
speaking: boolean | undefined;
|
|
12
|
-
hasAttachments: boolean | undefined;
|
|
13
|
-
hasContent: boolean | undefined;
|
|
14
|
-
submittedFeedback: "positive" | "negative" | null | undefined;
|
|
15
|
-
};
|
|
16
|
-
type UseMessageIfProps = RequireAtLeastOne<MessageIfFilters>;
|
|
17
|
-
export declare namespace MessagePrimitiveIf {
|
|
18
|
-
type Props = PropsWithChildren<UseMessageIfProps>;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use `<AssistantIf condition={({ message }) => ...} />` instead.
|
|
22
|
-
*/
|
|
23
|
-
export declare const MessagePrimitiveIf: FC<MessagePrimitiveIf.Props>;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=MessageIf.d.ts.map
|