@tdesign-react/chat 1.0.2-alpha.12 → 1.0.2-alpha.13
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/es/_util/reactify.js +1 -1
- package/es/_util/useDynamicStyle.js +1 -1
- package/es/attachments/index.js +1 -1
- package/es/chat-actionbar/index.js +1 -1
- package/es/chat-engine/components/a2ui/A2UIActivityRenderer.js +1 -1
- package/es/chat-engine/components/a2ui/A2UIComponentRenderer.js +1 -1
- package/es/chat-engine/components/a2ui/A2UIErrorBoundary.js +1 -1
- package/es/chat-engine/components/a2ui/A2UISkeleton.js +1 -1
- package/es/chat-engine/components/a2ui/A2UISurfaceRenderer.js +1 -1
- package/es/chat-engine/components/a2ui/containers/A2UICard.js +1 -1
- package/es/chat-engine/components/a2ui/containers/A2UIColumn.js +1 -1
- package/es/chat-engine/components/a2ui/containers/A2UIList.js +1 -1
- package/es/chat-engine/components/a2ui/containers/A2UIRow.js +1 -1
- package/es/chat-engine/components/a2ui/containers/A2UITabs.js +1 -1
- package/es/chat-engine/components/a2ui/containers/index.js +1 -1
- package/es/chat-engine/components/a2ui/index.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UIButton.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UICheckBox.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UICheckboxGroup.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UIChoicePicker.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UIDivider.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UIIcon.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UIImage.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UIInput.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UIRadioGroup.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UISlider.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UIText.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/A2UITextField.js +1 -1
- package/es/chat-engine/components/a2ui/primitives/index.js +1 -1
- package/es/chat-engine/components/a2ui/registry.js +1 -1
- package/es/chat-engine/components/activity/index.js +1 -1
- package/es/chat-engine/components/activity/registry.js +1 -1
- package/es/chat-engine/components/activity/render.js +1 -1
- package/es/chat-engine/components/activity/types.js +1 -1
- package/es/chat-engine/components/index.d.ts +0 -1
- package/es/chat-engine/components/index.js +1 -44
- package/es/chat-engine/components/index.js.map +1 -1
- package/es/chat-engine/components/provider/agent-state.js +1 -1
- package/es/chat-engine/components/toolcall/index.js +1 -1
- package/es/chat-engine/components/toolcall/registry.js +1 -1
- package/es/chat-engine/components/toolcall/render.js +1 -1
- package/es/chat-engine/components/toolcall/types.js +1 -1
- package/es/chat-engine/core/a2ui/index.js +1 -1
- package/es/chat-engine/core/a2ui/processor/A2uiMessageProcessor.js +1 -1
- package/es/chat-engine/core/a2ui/processor/ComponentTree.js +1 -1
- package/es/chat-engine/core/a2ui/processor/DataStore.js +1 -1
- package/es/chat-engine/core/a2ui/processor/PathResolver.js +1 -1
- package/es/chat-engine/core/a2ui/types/index.js +1 -1
- package/es/chat-engine/core/a2ui/types/types.d.ts +8 -8
- package/es/chat-engine/core/a2ui/types/types.js +1 -1
- package/es/chat-engine/core/a2ui/utils/binding.js +1 -1
- package/es/chat-engine/core/a2ui/utils/index.js +1 -1
- package/es/chat-engine/core/a2ui/utils/validation.js +1 -1
- package/es/chat-engine/core/adapters/agui/event-mapper.js +1 -1
- package/es/chat-engine/core/adapters/agui/events.js +1 -1
- package/es/chat-engine/core/adapters/agui/index.js +1 -1
- package/es/chat-engine/core/adapters/agui/state-manager.js +1 -1
- package/es/chat-engine/core/adapters/agui/types.js +1 -1
- package/es/chat-engine/core/adapters/agui/utils.js +1 -1
- package/es/chat-engine/core/event-bus/ChatEventBus.js +1 -1
- package/es/chat-engine/core/event-bus/index.js +1 -1
- package/es/chat-engine/core/event-bus/types.js +1 -1
- package/es/chat-engine/core/index.js +1 -1
- package/es/chat-engine/core/processor/index.js +1 -1
- package/es/chat-engine/core/server/batch-client.js +1 -1
- package/es/chat-engine/core/server/connection-manager.js +1 -1
- package/es/chat-engine/core/server/errors.js +1 -1
- package/es/chat-engine/core/server/index.js +1 -1
- package/es/chat-engine/core/server/llm-service.js +1 -1
- package/es/chat-engine/core/server/sse-client.js +1 -1
- package/es/chat-engine/core/server/sse-parser.js +1 -1
- package/es/chat-engine/core/server/types.js +1 -1
- package/es/chat-engine/core/store/message.js +1 -1
- package/es/chat-engine/core/store/model.js +1 -1
- package/es/chat-engine/core/store/reactiveState.js +1 -1
- package/es/chat-engine/core/type.js +1 -1
- package/es/chat-engine/core/utils/eventEmitter.js +1 -1
- package/es/chat-engine/core/utils/index.js +1 -1
- package/es/chat-engine/core/utils/logger.js +1 -1
- package/es/chat-engine/hooks/a2ui/A2UIContext.js +1 -1
- package/es/chat-engine/hooks/a2ui/index.js +1 -1
- package/es/chat-engine/hooks/a2ui/useA2UIAction.js +1 -1
- package/es/chat-engine/hooks/a2ui/useA2UISurface.js +1 -1
- package/es/chat-engine/hooks/a2ui/useDataBinding.js +1 -1
- package/es/chat-engine/hooks/index.d.ts +0 -1
- package/es/chat-engine/hooks/index.js +1 -9
- package/es/chat-engine/hooks/index.js.map +1 -1
- package/es/chat-engine/hooks/useAgentActivity.js +1 -1
- package/es/chat-engine/hooks/useAgentState.js +1 -1
- package/es/chat-engine/hooks/useAgentToolcall.js +1 -1
- package/es/chat-engine/hooks/useChat.js +1 -1
- package/es/chat-engine/index.js +1 -44
- package/es/chat-engine/index.js.map +1 -1
- package/es/chat-filecard/index.js +1 -1
- package/es/chat-loading/index.js +1 -1
- package/es/chat-markdown/index.js +1 -1
- package/es/chat-message/index.js +1 -1
- package/es/chat-sender/index.js +1 -1
- package/es/chat-thinking/index.js +1 -1
- package/es/chatbot/index.js +1 -1
- package/es/index.js +1 -44
- package/es/index.js.map +1 -1
- package/es/style/index.js +1 -1
- package/package.json +1 -1
package/es/_util/reactify.js
CHANGED
package/es/attachments/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v1.0.2-alpha.
|
|
2
|
+
* tdesign v1.0.2-alpha.12
|
|
3
3
|
* (c) 2026 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -7,35 +7,11 @@
|
|
|
7
7
|
import './toolcall/index.js';
|
|
8
8
|
import './activity/index.js';
|
|
9
9
|
export { AgentStateProvider } from './provider/agent-state.js';
|
|
10
|
-
import './a2ui/index.js';
|
|
11
10
|
export { isNonInteractive, isNonInteractiveConfig } from './toolcall/types.js';
|
|
12
11
|
export { agentToolcallRegistry } from './toolcall/registry.js';
|
|
13
12
|
export { ToolCallRenderer, withAgentStateToolcall, withAgentStateToolcall1 } from './toolcall/render.js';
|
|
14
13
|
export { activityRegistry } from './activity/registry.js';
|
|
15
14
|
export { ActivityRenderer } from './activity/render.js';
|
|
16
|
-
export { A2UIChildrenRenderer, A2UIComponentRenderer } from './a2ui/A2UIComponentRenderer.js';
|
|
17
|
-
export { A2UISurfaceRenderer } from './a2ui/A2UISurfaceRenderer.js';
|
|
18
|
-
export { A2UIActivityRenderer, createA2UIActivityConfig } from './a2ui/A2UIActivityRenderer.js';
|
|
19
|
-
export { A2UIErrorBoundary, withA2UIErrorBoundary } from './a2ui/A2UIErrorBoundary.js';
|
|
20
|
-
export { A2UISkeleton, A2UISurfaceSkeleton } from './a2ui/A2UISkeleton.js';
|
|
21
|
-
export { createComponentRegistry, defaultComponentRegistry, extendComponentRegistry } from './a2ui/registry.js';
|
|
22
|
-
export { A2UIText } from './a2ui/primitives/A2UIText.js';
|
|
23
|
-
export { A2UIImage } from './a2ui/primitives/A2UIImage.js';
|
|
24
|
-
export { A2UIIcon } from './a2ui/primitives/A2UIIcon.js';
|
|
25
|
-
export { A2UIButton } from './a2ui/primitives/A2UIButton.js';
|
|
26
|
-
export { A2UIInput } from './a2ui/primitives/A2UIInput.js';
|
|
27
|
-
export { A2UITextField } from './a2ui/primitives/A2UITextField.js';
|
|
28
|
-
export { A2UICheckBox } from './a2ui/primitives/A2UICheckBox.js';
|
|
29
|
-
export { A2UIChoicePicker } from './a2ui/primitives/A2UIChoicePicker.js';
|
|
30
|
-
export { A2UISlider } from './a2ui/primitives/A2UISlider.js';
|
|
31
|
-
export { A2UIRadioGroup } from './a2ui/primitives/A2UIRadioGroup.js';
|
|
32
|
-
export { A2UICheckboxGroup } from './a2ui/primitives/A2UICheckboxGroup.js';
|
|
33
|
-
export { A2UIDivider } from './a2ui/primitives/A2UIDivider.js';
|
|
34
|
-
export { A2UICard } from './a2ui/containers/A2UICard.js';
|
|
35
|
-
export { A2UIRow } from './a2ui/containers/A2UIRow.js';
|
|
36
|
-
export { A2UIColumn } from './a2ui/containers/A2UIColumn.js';
|
|
37
|
-
export { A2UIList } from './a2ui/containers/A2UIList.js';
|
|
38
|
-
export { A2UITabs } from './a2ui/containers/A2UITabs.js';
|
|
39
15
|
import './activity/types.js';
|
|
40
16
|
import 'react';
|
|
41
17
|
import '../hooks/useAgentState.js';
|
|
@@ -78,23 +54,4 @@ import '../core/server/sse-client.js';
|
|
|
78
54
|
import '../core/server/connection-manager.js';
|
|
79
55
|
import '../core/server/sse-parser.js';
|
|
80
56
|
import '../core/server/types.js';
|
|
81
|
-
import './a2ui/primitives/index.js';
|
|
82
|
-
import './a2ui/containers/index.js';
|
|
83
|
-
import '../hooks/a2ui/A2UIContext.js';
|
|
84
|
-
import '../hooks/a2ui/useA2UISurface.js';
|
|
85
|
-
import 'tdesign-react';
|
|
86
|
-
import 'classnames';
|
|
87
|
-
import '../hooks/a2ui/useDataBinding.js';
|
|
88
|
-
import '../core/a2ui/utils/index.js';
|
|
89
|
-
import '../core/a2ui/utils/binding.js';
|
|
90
|
-
import '../core/a2ui/utils/validation.js';
|
|
91
|
-
import '../hooks/a2ui/useA2UIAction.js';
|
|
92
|
-
import '../core/a2ui/index.js';
|
|
93
|
-
import '../core/a2ui/types/index.js';
|
|
94
|
-
import '../core/a2ui/types/types.js';
|
|
95
|
-
import '../core/a2ui/processor/A2uiMessageProcessor.js';
|
|
96
|
-
import '../core/a2ui/processor/DataStore.js';
|
|
97
|
-
import '@babel/runtime/helpers/toArray';
|
|
98
|
-
import '../core/a2ui/processor/ComponentTree.js';
|
|
99
|
-
import '../core/a2ui/processor/PathResolver.js';
|
|
100
57
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -733,13 +733,13 @@ export declare const A2UISurfaceSchema: z.ZodObject<{
|
|
|
733
733
|
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
734
734
|
animation: z.ZodOptional<z.ZodEnum<["gradient", "flashed", "none"]>>;
|
|
735
735
|
}, "strip", z.ZodTypeAny, {
|
|
736
|
-
layout?: "form" | "
|
|
736
|
+
layout?: "form" | "list" | "card" | "simple" | "wizard";
|
|
737
|
+
animation?: "gradient" | "none" | "flashed";
|
|
737
738
|
rowCount?: number;
|
|
738
|
-
animation?: "none" | "gradient" | "flashed";
|
|
739
739
|
}, {
|
|
740
|
-
layout?: "form" | "
|
|
740
|
+
layout?: "form" | "list" | "card" | "simple" | "wizard";
|
|
741
|
+
animation?: "gradient" | "none" | "flashed";
|
|
741
742
|
rowCount?: number;
|
|
742
|
-
animation?: "none" | "gradient" | "flashed";
|
|
743
743
|
}>>;
|
|
744
744
|
updatedAt: z.ZodOptional<z.ZodNumber>;
|
|
745
745
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -749,9 +749,9 @@ export declare const A2UISurfaceSchema: z.ZodObject<{
|
|
|
749
749
|
catalogId?: string;
|
|
750
750
|
root?: any;
|
|
751
751
|
skeletonHint?: {
|
|
752
|
-
layout?: "form" | "
|
|
752
|
+
layout?: "form" | "list" | "card" | "simple" | "wizard";
|
|
753
|
+
animation?: "gradient" | "none" | "flashed";
|
|
753
754
|
rowCount?: number;
|
|
754
|
-
animation?: "none" | "gradient" | "flashed";
|
|
755
755
|
};
|
|
756
756
|
updatedAt?: number;
|
|
757
757
|
}, {
|
|
@@ -761,9 +761,9 @@ export declare const A2UISurfaceSchema: z.ZodObject<{
|
|
|
761
761
|
catalogId?: string;
|
|
762
762
|
root?: any;
|
|
763
763
|
skeletonHint?: {
|
|
764
|
-
layout?: "form" | "
|
|
764
|
+
layout?: "form" | "list" | "card" | "simple" | "wizard";
|
|
765
|
+
animation?: "gradient" | "none" | "flashed";
|
|
765
766
|
rowCount?: number;
|
|
766
|
-
animation?: "none" | "gradient" | "flashed";
|
|
767
767
|
};
|
|
768
768
|
updatedAt?: number;
|
|
769
769
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v1.0.2-alpha.
|
|
2
|
+
* tdesign v1.0.2-alpha.12
|
|
3
3
|
* (c) 2026 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -8,11 +8,6 @@ export { AgentStateContext, useAgentState, useAgentStateContext, useAgentStateDa
|
|
|
8
8
|
export { useAgentToolcall } from './useAgentToolcall.js';
|
|
9
9
|
export { useAgentActivity } from './useAgentActivity.js';
|
|
10
10
|
export { useChat } from './useChat.js';
|
|
11
|
-
import './a2ui/index.js';
|
|
12
|
-
export { A2UIProvider, A2UIRootProvider, ComponentRegistryProvider, DataContextProvider, useA2UIContext, useA2UIContextSafe, useComponentRegistry } from './a2ui/A2UIContext.js';
|
|
13
|
-
export { useBindingPath, useDataBinding, useDataBindings, useResolvedString, useTwoWayBinding } from './a2ui/useDataBinding.js';
|
|
14
|
-
export { useA2UIData, useA2UIRoot, useA2UISurface, useA2UISurfaceIds, useA2UISurfaceState, useA2UISurfaces } from './a2ui/useA2UISurface.js';
|
|
15
|
-
export { useA2UIAction, useActionCallback, useActionWithPayload } from './a2ui/useA2UIAction.js';
|
|
16
11
|
import '@babel/runtime/helpers/defineProperty';
|
|
17
12
|
import '@babel/runtime/helpers/slicedToArray';
|
|
18
13
|
import 'react';
|
|
@@ -55,7 +50,4 @@ import '../core/server/sse-parser.js';
|
|
|
55
50
|
import '../core/server/types.js';
|
|
56
51
|
import '../components/toolcall/registry.js';
|
|
57
52
|
import '../components/activity/registry.js';
|
|
58
|
-
import '../core/a2ui/utils/index.js';
|
|
59
|
-
import '../core/a2ui/utils/binding.js';
|
|
60
|
-
import '../core/a2ui/utils/validation.js';
|
|
61
53
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/chat-engine/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v1.0.2-alpha.
|
|
2
|
+
* tdesign v1.0.2-alpha.12
|
|
3
3
|
* (c) 2026 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -16,29 +16,6 @@ export { ToolCallRenderer, withAgentStateToolcall, withAgentStateToolcall1 } fro
|
|
|
16
16
|
export { activityRegistry } from './components/activity/registry.js';
|
|
17
17
|
export { ActivityRenderer } from './components/activity/render.js';
|
|
18
18
|
export { AgentStateProvider } from './components/provider/agent-state.js';
|
|
19
|
-
export { A2UIChildrenRenderer, A2UIComponentRenderer } from './components/a2ui/A2UIComponentRenderer.js';
|
|
20
|
-
export { A2UISurfaceRenderer } from './components/a2ui/A2UISurfaceRenderer.js';
|
|
21
|
-
export { A2UIActivityRenderer, createA2UIActivityConfig } from './components/a2ui/A2UIActivityRenderer.js';
|
|
22
|
-
export { A2UIErrorBoundary, withA2UIErrorBoundary } from './components/a2ui/A2UIErrorBoundary.js';
|
|
23
|
-
export { A2UISkeleton, A2UISurfaceSkeleton } from './components/a2ui/A2UISkeleton.js';
|
|
24
|
-
export { createComponentRegistry, defaultComponentRegistry, extendComponentRegistry } from './components/a2ui/registry.js';
|
|
25
|
-
export { A2UIText } from './components/a2ui/primitives/A2UIText.js';
|
|
26
|
-
export { A2UIImage } from './components/a2ui/primitives/A2UIImage.js';
|
|
27
|
-
export { A2UIIcon } from './components/a2ui/primitives/A2UIIcon.js';
|
|
28
|
-
export { A2UIButton } from './components/a2ui/primitives/A2UIButton.js';
|
|
29
|
-
export { A2UIInput } from './components/a2ui/primitives/A2UIInput.js';
|
|
30
|
-
export { A2UITextField } from './components/a2ui/primitives/A2UITextField.js';
|
|
31
|
-
export { A2UICheckBox } from './components/a2ui/primitives/A2UICheckBox.js';
|
|
32
|
-
export { A2UIChoicePicker } from './components/a2ui/primitives/A2UIChoicePicker.js';
|
|
33
|
-
export { A2UISlider } from './components/a2ui/primitives/A2UISlider.js';
|
|
34
|
-
export { A2UIRadioGroup } from './components/a2ui/primitives/A2UIRadioGroup.js';
|
|
35
|
-
export { A2UICheckboxGroup } from './components/a2ui/primitives/A2UICheckboxGroup.js';
|
|
36
|
-
export { A2UIDivider } from './components/a2ui/primitives/A2UIDivider.js';
|
|
37
|
-
export { A2UICard } from './components/a2ui/containers/A2UICard.js';
|
|
38
|
-
export { A2UIRow } from './components/a2ui/containers/A2UIRow.js';
|
|
39
|
-
export { A2UIColumn } from './components/a2ui/containers/A2UIColumn.js';
|
|
40
|
-
export { A2UIList } from './components/a2ui/containers/A2UIList.js';
|
|
41
|
-
export { A2UITabs } from './components/a2ui/containers/A2UITabs.js';
|
|
42
19
|
export { applyJsonPatch, findTargetElement, getMessageContentForCopy, isAIMessage, isActivityContent, isAttachmentContent, isImageContent, isMarkdownContent, isReasoningContent, isSearchContent, isSuggestionContent, isTextContent, isThinkingContent, isToolCallContent, isUserMessage, safeParseJSON } from './core/utils/index.js';
|
|
43
20
|
export { StateManagerImpl, stateManager } from './core/adapters/agui/state-manager.js';
|
|
44
21
|
export { AGUIEventType, ActivityDeltaEventSchema, ActivitySnapshotEventSchema, CustomEventSchema, EventSchemas, MessagesSnapshotEventSchema, RawEventSchema, RunErrorEventSchema, RunFinishedEventSchema, RunStartedEventSchema, StateDeltaEventSchema, StateSnapshotEventSchema, StepFinishedEventSchema, StepStartedEventSchema, TextMessageChunkEventSchema, TextMessageContentEventSchema, TextMessageEndEventSchema, TextMessageStartEventSchema, ThinkingEndEventSchema, ThinkingStartEventSchema, ThinkingTextMessageContentEventSchema, ThinkingTextMessageEndEventSchema, ThinkingTextMessageStartEventSchema, ToolCallArgsEventSchema, ToolCallChunkEventSchema, ToolCallEndEventSchema, ToolCallResultEventSchema, ToolCallStartEventSchema, isActivityEvent, isStateEvent, isTextMessageEvent, isThinkingEvent, isToolCallEvent } from './core/adapters/agui/events.js';
|
|
@@ -52,9 +29,6 @@ import '@babel/runtime/helpers/defineProperty';
|
|
|
52
29
|
import './components/toolcall/index.js';
|
|
53
30
|
import './components/activity/index.js';
|
|
54
31
|
import './components/activity/types.js';
|
|
55
|
-
import './components/a2ui/index.js';
|
|
56
|
-
import './components/a2ui/primitives/index.js';
|
|
57
|
-
import './components/a2ui/containers/index.js';
|
|
58
32
|
import '@babel/runtime/helpers/objectWithoutProperties';
|
|
59
33
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
60
34
|
import '@babel/runtime/helpers/classCallCheck';
|
|
@@ -80,24 +54,7 @@ import './core/server/sse-client.js';
|
|
|
80
54
|
import './core/server/connection-manager.js';
|
|
81
55
|
import './core/server/sse-parser.js';
|
|
82
56
|
import './core/server/types.js';
|
|
83
|
-
import './hooks/a2ui/A2UIContext.js';
|
|
84
|
-
import './hooks/a2ui/useA2UISurface.js';
|
|
85
|
-
import './core/a2ui/index.js';
|
|
86
|
-
import './core/a2ui/types/index.js';
|
|
87
|
-
import './core/a2ui/types/types.js';
|
|
88
57
|
import 'zod';
|
|
89
|
-
import './core/a2ui/utils/index.js';
|
|
90
|
-
import './core/a2ui/utils/binding.js';
|
|
91
|
-
import './core/a2ui/utils/validation.js';
|
|
92
|
-
import './core/a2ui/processor/A2uiMessageProcessor.js';
|
|
93
|
-
import './core/a2ui/processor/DataStore.js';
|
|
94
|
-
import '@babel/runtime/helpers/toArray';
|
|
95
|
-
import './core/a2ui/processor/ComponentTree.js';
|
|
96
|
-
import './core/a2ui/processor/PathResolver.js';
|
|
97
|
-
import 'tdesign-react';
|
|
98
|
-
import 'classnames';
|
|
99
|
-
import './hooks/a2ui/useDataBinding.js';
|
|
100
|
-
import './hooks/a2ui/useA2UIAction.js';
|
|
101
58
|
import './core/adapters/agui/types.js';
|
|
102
59
|
import './core/adapters/agui/event-mapper.js';
|
|
103
60
|
import './core/adapters/agui/utils.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/chat-loading/index.js
CHANGED
package/es/chat-message/index.js
CHANGED
package/es/chat-sender/index.js
CHANGED
package/es/chatbot/index.js
CHANGED
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* tdesign v1.0.2-alpha.
|
|
2
|
+
* tdesign v1.0.2-alpha.12
|
|
3
3
|
* (c) 2026 tdesign
|
|
4
4
|
* @license MIT
|
|
5
5
|
*/
|
|
@@ -24,29 +24,6 @@ export { ToolCallRenderer, withAgentStateToolcall, withAgentStateToolcall1 } fro
|
|
|
24
24
|
export { activityRegistry } from './chat-engine/components/activity/registry.js';
|
|
25
25
|
export { ActivityRenderer } from './chat-engine/components/activity/render.js';
|
|
26
26
|
export { AgentStateProvider } from './chat-engine/components/provider/agent-state.js';
|
|
27
|
-
export { A2UIChildrenRenderer, A2UIComponentRenderer } from './chat-engine/components/a2ui/A2UIComponentRenderer.js';
|
|
28
|
-
export { A2UISurfaceRenderer } from './chat-engine/components/a2ui/A2UISurfaceRenderer.js';
|
|
29
|
-
export { A2UIActivityRenderer, createA2UIActivityConfig } from './chat-engine/components/a2ui/A2UIActivityRenderer.js';
|
|
30
|
-
export { A2UIErrorBoundary, withA2UIErrorBoundary } from './chat-engine/components/a2ui/A2UIErrorBoundary.js';
|
|
31
|
-
export { A2UISkeleton, A2UISurfaceSkeleton } from './chat-engine/components/a2ui/A2UISkeleton.js';
|
|
32
|
-
export { createComponentRegistry, defaultComponentRegistry, extendComponentRegistry } from './chat-engine/components/a2ui/registry.js';
|
|
33
|
-
export { A2UIText } from './chat-engine/components/a2ui/primitives/A2UIText.js';
|
|
34
|
-
export { A2UIImage } from './chat-engine/components/a2ui/primitives/A2UIImage.js';
|
|
35
|
-
export { A2UIIcon } from './chat-engine/components/a2ui/primitives/A2UIIcon.js';
|
|
36
|
-
export { A2UIButton } from './chat-engine/components/a2ui/primitives/A2UIButton.js';
|
|
37
|
-
export { A2UIInput } from './chat-engine/components/a2ui/primitives/A2UIInput.js';
|
|
38
|
-
export { A2UITextField } from './chat-engine/components/a2ui/primitives/A2UITextField.js';
|
|
39
|
-
export { A2UICheckBox } from './chat-engine/components/a2ui/primitives/A2UICheckBox.js';
|
|
40
|
-
export { A2UIChoicePicker } from './chat-engine/components/a2ui/primitives/A2UIChoicePicker.js';
|
|
41
|
-
export { A2UISlider } from './chat-engine/components/a2ui/primitives/A2UISlider.js';
|
|
42
|
-
export { A2UIRadioGroup } from './chat-engine/components/a2ui/primitives/A2UIRadioGroup.js';
|
|
43
|
-
export { A2UICheckboxGroup } from './chat-engine/components/a2ui/primitives/A2UICheckboxGroup.js';
|
|
44
|
-
export { A2UIDivider } from './chat-engine/components/a2ui/primitives/A2UIDivider.js';
|
|
45
|
-
export { A2UICard } from './chat-engine/components/a2ui/containers/A2UICard.js';
|
|
46
|
-
export { A2UIRow } from './chat-engine/components/a2ui/containers/A2UIRow.js';
|
|
47
|
-
export { A2UIColumn } from './chat-engine/components/a2ui/containers/A2UIColumn.js';
|
|
48
|
-
export { A2UIList } from './chat-engine/components/a2ui/containers/A2UIList.js';
|
|
49
|
-
export { A2UITabs } from './chat-engine/components/a2ui/containers/A2UITabs.js';
|
|
50
27
|
export { applyJsonPatch, findTargetElement, getMessageContentForCopy, isAIMessage, isActivityContent, isAttachmentContent, isImageContent, isMarkdownContent, isReasoningContent, isSearchContent, isSuggestionContent, isTextContent, isThinkingContent, isToolCallContent, isUserMessage, safeParseJSON } from './chat-engine/core/utils/index.js';
|
|
51
28
|
export { StateManagerImpl, stateManager } from './chat-engine/core/adapters/agui/state-manager.js';
|
|
52
29
|
export { AGUIEventType, ActivityDeltaEventSchema, ActivitySnapshotEventSchema, CustomEventSchema, EventSchemas, MessagesSnapshotEventSchema, RawEventSchema, RunErrorEventSchema, RunFinishedEventSchema, RunStartedEventSchema, StateDeltaEventSchema, StateSnapshotEventSchema, StepFinishedEventSchema, StepStartedEventSchema, TextMessageChunkEventSchema, TextMessageContentEventSchema, TextMessageEndEventSchema, TextMessageStartEventSchema, ThinkingEndEventSchema, ThinkingStartEventSchema, ThinkingTextMessageContentEventSchema, ThinkingTextMessageEndEventSchema, ThinkingTextMessageStartEventSchema, ToolCallArgsEventSchema, ToolCallChunkEventSchema, ToolCallEndEventSchema, ToolCallResultEventSchema, ToolCallStartEventSchema, isActivityEvent, isStateEvent, isTextMessageEvent, isThinkingEvent, isToolCallEvent } from './chat-engine/core/adapters/agui/events.js';
|
|
@@ -73,9 +50,6 @@ import './chat-engine/components/index.js';
|
|
|
73
50
|
import './chat-engine/components/toolcall/index.js';
|
|
74
51
|
import './chat-engine/components/activity/index.js';
|
|
75
52
|
import './chat-engine/components/activity/types.js';
|
|
76
|
-
import './chat-engine/components/a2ui/index.js';
|
|
77
|
-
import './chat-engine/components/a2ui/primitives/index.js';
|
|
78
|
-
import './chat-engine/components/a2ui/containers/index.js';
|
|
79
53
|
import './chat-engine/core/index.js';
|
|
80
54
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
81
55
|
import '@babel/runtime/regenerator';
|
|
@@ -105,24 +79,7 @@ import 'tdesign-web-components/lib/chat-message/content/markdown-content';
|
|
|
105
79
|
import 'tdesign-web-components/lib/chat-message';
|
|
106
80
|
import 'tdesign-web-components/lib/chat-sender';
|
|
107
81
|
import 'tdesign-web-components/lib/chat-message/content/thinking-content';
|
|
108
|
-
import './chat-engine/hooks/a2ui/A2UIContext.js';
|
|
109
|
-
import './chat-engine/hooks/a2ui/useA2UISurface.js';
|
|
110
|
-
import './chat-engine/core/a2ui/index.js';
|
|
111
|
-
import './chat-engine/core/a2ui/types/index.js';
|
|
112
|
-
import './chat-engine/core/a2ui/types/types.js';
|
|
113
82
|
import 'zod';
|
|
114
|
-
import './chat-engine/core/a2ui/utils/index.js';
|
|
115
|
-
import './chat-engine/core/a2ui/utils/binding.js';
|
|
116
|
-
import './chat-engine/core/a2ui/utils/validation.js';
|
|
117
|
-
import './chat-engine/core/a2ui/processor/A2uiMessageProcessor.js';
|
|
118
|
-
import './chat-engine/core/a2ui/processor/DataStore.js';
|
|
119
|
-
import '@babel/runtime/helpers/toArray';
|
|
120
|
-
import './chat-engine/core/a2ui/processor/ComponentTree.js';
|
|
121
|
-
import './chat-engine/core/a2ui/processor/PathResolver.js';
|
|
122
|
-
import 'tdesign-react';
|
|
123
|
-
import 'classnames';
|
|
124
|
-
import './chat-engine/hooks/a2ui/useDataBinding.js';
|
|
125
|
-
import './chat-engine/hooks/a2ui/useA2UIAction.js';
|
|
126
83
|
import './chat-engine/core/adapters/agui/types.js';
|
|
127
84
|
import './chat-engine/core/adapters/agui/event-mapper.js';
|
|
128
85
|
import './chat-engine/core/adapters/agui/utils.js';
|
package/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/style/index.js
CHANGED