@steerable/agent-ui 0.6.38 → 0.6.40

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.
Files changed (203) hide show
  1. package/LICENSE +201 -91
  2. package/dist/cards/ActionSegmentCard.d.ts +0 -1
  3. package/dist/cards/ActionSegmentCard.js +0 -1
  4. package/dist/cards/AnalysisDocumentCard.d.ts +0 -1
  5. package/dist/cards/AnalysisDocumentCard.js +0 -1
  6. package/dist/cards/AskUserQuestionsCard.d.ts +0 -1
  7. package/dist/cards/AskUserQuestionsCard.js +0 -1
  8. package/dist/cards/CoverageReportCard.d.ts +0 -1
  9. package/dist/cards/CoverageReportCard.js +0 -1
  10. package/dist/cards/OrchestrationPlanCard.d.ts +0 -1
  11. package/dist/cards/OrchestrationPlanCard.js +0 -1
  12. package/dist/cards/PlanSelectorCard.d.ts +0 -1
  13. package/dist/cards/PlanSelectorCard.js +0 -1
  14. package/dist/cards/PlanStepsCard.d.ts +0 -1
  15. package/dist/cards/PlanStepsCard.js +0 -1
  16. package/dist/cards/QuizCard.d.ts +0 -1
  17. package/dist/cards/QuizCard.js +0 -1
  18. package/dist/cards/ResearchPlanCard.d.ts +0 -1
  19. package/dist/cards/ResearchPlanCard.js +0 -1
  20. package/dist/cards/SearchSourcesCard.d.ts +0 -1
  21. package/dist/cards/SearchSourcesCard.js +0 -1
  22. package/dist/cards/SuggestedRepliesCard.d.ts +0 -1
  23. package/dist/cards/SuggestedRepliesCard.js +0 -1
  24. package/dist/cards/SummaryMessageCard.d.ts +0 -1
  25. package/dist/cards/SummaryMessageCard.js +0 -1
  26. package/dist/cards/ThinkingProcessCard.d.ts +0 -1
  27. package/dist/cards/ThinkingProcessCard.js +0 -1
  28. package/dist/cards/ToolExecutionCard.d.ts +0 -1
  29. package/dist/cards/ToolExecutionCard.js +0 -1
  30. package/dist/cards/icons.d.ts +0 -1
  31. package/dist/cards/icons.js +0 -1
  32. package/dist/cards/index.d.ts +0 -1
  33. package/dist/cards/index.js +0 -1
  34. package/dist/cards/types.d.ts +0 -1
  35. package/dist/cards/types.js +0 -1
  36. package/dist/components/AgentSelector.d.ts +0 -1
  37. package/dist/components/AgentSelector.js +0 -1
  38. package/dist/components/AgentSelector.stories.d.ts +0 -1
  39. package/dist/components/AgentSelector.stories.js +0 -1
  40. package/dist/components/ChatPanel.d.ts +0 -1
  41. package/dist/components/ChatPanel.js +0 -1
  42. package/dist/components/ChatPanel.stories.d.ts +0 -1
  43. package/dist/components/ChatPanel.stories.js +0 -1
  44. package/dist/components/MessageList.d.ts +0 -1
  45. package/dist/components/MessageList.js +0 -1
  46. package/dist/components/MessageList.stories.d.ts +0 -1
  47. package/dist/components/MessageList.stories.js +0 -1
  48. package/dist/components/ModelSelector.d.ts +0 -1
  49. package/dist/components/ModelSelector.js +0 -1
  50. package/dist/components/ModelSelector.stories.d.ts +0 -1
  51. package/dist/components/ModelSelector.stories.js +0 -1
  52. package/dist/components/OrchestrationPlanCard.d.ts +0 -1
  53. package/dist/components/OrchestrationPlanCard.js +0 -1
  54. package/dist/components/OrchestrationPlanCard.stories.d.ts +0 -1
  55. package/dist/components/OrchestrationPlanCard.stories.js +0 -1
  56. package/dist/components/SSEStreamView.d.ts +1 -2
  57. package/dist/components/SSEStreamView.js +1 -2
  58. package/dist/components/SSEStreamView.stories.d.ts +0 -1
  59. package/dist/components/SSEStreamView.stories.js +0 -1
  60. package/dist/components/ToolCallRenderer.d.ts +0 -1
  61. package/dist/components/ToolCallRenderer.js +0 -1
  62. package/dist/components/ToolCallRenderer.stories.d.ts +0 -1
  63. package/dist/components/ToolCallRenderer.stories.js +0 -1
  64. package/dist/components/cn.d.ts +0 -1
  65. package/dist/components/cn.js +0 -1
  66. package/dist/components/index.d.ts +0 -1
  67. package/dist/components/index.js +0 -1
  68. package/dist/hooks/index.d.ts +0 -1
  69. package/dist/hooks/index.js +0 -1
  70. package/dist/hooks/useAgentSession.d.ts +0 -1
  71. package/dist/hooks/useAgentSession.js +0 -1
  72. package/dist/hooks/useChatStream.d.ts +0 -1
  73. package/dist/hooks/useChatStream.js +0 -1
  74. package/dist/hooks/useToolCallStatus.d.ts +0 -1
  75. package/dist/hooks/useToolCallStatus.js +0 -1
  76. package/dist/index.d.ts +0 -1
  77. package/dist/index.js +0 -1
  78. package/dist/state/ChatSessionProvider.d.ts +0 -1
  79. package/dist/state/ChatSessionProvider.js +0 -1
  80. package/dist/state/MockChatStreamTransport.d.ts +0 -1
  81. package/dist/state/MockChatStreamTransport.js +0 -1
  82. package/dist/state/MockChatStreamTransport.stories.d.ts +0 -1
  83. package/dist/state/MockChatStreamTransport.stories.js +0 -1
  84. package/dist/state/bridgeLegacySSE.d.ts +0 -1
  85. package/dist/state/bridgeLegacySSE.js +0 -1
  86. package/dist/state/index.d.ts +0 -1
  87. package/dist/state/index.js +0 -1
  88. package/dist/state/parseSSE.d.ts +0 -1
  89. package/dist/state/parseSSE.js +0 -1
  90. package/dist/state/useChatComposer.d.ts +0 -1
  91. package/dist/state/useChatComposer.js +0 -1
  92. package/dist/state/useChatList.d.ts +0 -1
  93. package/dist/state/useChatList.js +0 -1
  94. package/dist/state/useChatSession.d.ts +0 -1
  95. package/dist/state/useChatSession.js +0 -1
  96. package/dist/state/useScrollLock.d.ts +0 -1
  97. package/dist/state/useScrollLock.js +0 -1
  98. package/dist/state/useToolCallStream.d.ts +0 -1
  99. package/dist/state/useToolCallStream.js +0 -1
  100. package/dist/tailwind-preset.d.ts +0 -1
  101. package/dist/tailwind-preset.js +0 -1
  102. package/package.json +3 -3
  103. package/src/components/SSEStreamView.tsx +1 -1
  104. package/dist/cards/ActionSegmentCard.d.ts.map +0 -1
  105. package/dist/cards/ActionSegmentCard.js.map +0 -1
  106. package/dist/cards/AnalysisDocumentCard.d.ts.map +0 -1
  107. package/dist/cards/AnalysisDocumentCard.js.map +0 -1
  108. package/dist/cards/AskUserQuestionsCard.d.ts.map +0 -1
  109. package/dist/cards/AskUserQuestionsCard.js.map +0 -1
  110. package/dist/cards/CoverageReportCard.d.ts.map +0 -1
  111. package/dist/cards/CoverageReportCard.js.map +0 -1
  112. package/dist/cards/OrchestrationPlanCard.d.ts.map +0 -1
  113. package/dist/cards/OrchestrationPlanCard.js.map +0 -1
  114. package/dist/cards/PlanSelectorCard.d.ts.map +0 -1
  115. package/dist/cards/PlanSelectorCard.js.map +0 -1
  116. package/dist/cards/PlanStepsCard.d.ts.map +0 -1
  117. package/dist/cards/PlanStepsCard.js.map +0 -1
  118. package/dist/cards/QuizCard.d.ts.map +0 -1
  119. package/dist/cards/QuizCard.js.map +0 -1
  120. package/dist/cards/ResearchPlanCard.d.ts.map +0 -1
  121. package/dist/cards/ResearchPlanCard.js.map +0 -1
  122. package/dist/cards/SearchSourcesCard.d.ts.map +0 -1
  123. package/dist/cards/SearchSourcesCard.js.map +0 -1
  124. package/dist/cards/SuggestedRepliesCard.d.ts.map +0 -1
  125. package/dist/cards/SuggestedRepliesCard.js.map +0 -1
  126. package/dist/cards/SummaryMessageCard.d.ts.map +0 -1
  127. package/dist/cards/SummaryMessageCard.js.map +0 -1
  128. package/dist/cards/ThinkingProcessCard.d.ts.map +0 -1
  129. package/dist/cards/ThinkingProcessCard.js.map +0 -1
  130. package/dist/cards/ToolExecutionCard.d.ts.map +0 -1
  131. package/dist/cards/ToolExecutionCard.js.map +0 -1
  132. package/dist/cards/icons.d.ts.map +0 -1
  133. package/dist/cards/icons.js.map +0 -1
  134. package/dist/cards/index.d.ts.map +0 -1
  135. package/dist/cards/index.js.map +0 -1
  136. package/dist/cards/types.d.ts.map +0 -1
  137. package/dist/cards/types.js.map +0 -1
  138. package/dist/components/AgentSelector.d.ts.map +0 -1
  139. package/dist/components/AgentSelector.js.map +0 -1
  140. package/dist/components/AgentSelector.stories.d.ts.map +0 -1
  141. package/dist/components/AgentSelector.stories.js.map +0 -1
  142. package/dist/components/ChatPanel.d.ts.map +0 -1
  143. package/dist/components/ChatPanel.js.map +0 -1
  144. package/dist/components/ChatPanel.stories.d.ts.map +0 -1
  145. package/dist/components/ChatPanel.stories.js.map +0 -1
  146. package/dist/components/MessageList.d.ts.map +0 -1
  147. package/dist/components/MessageList.js.map +0 -1
  148. package/dist/components/MessageList.stories.d.ts.map +0 -1
  149. package/dist/components/MessageList.stories.js.map +0 -1
  150. package/dist/components/ModelSelector.d.ts.map +0 -1
  151. package/dist/components/ModelSelector.js.map +0 -1
  152. package/dist/components/ModelSelector.stories.d.ts.map +0 -1
  153. package/dist/components/ModelSelector.stories.js.map +0 -1
  154. package/dist/components/OrchestrationPlanCard.d.ts.map +0 -1
  155. package/dist/components/OrchestrationPlanCard.js.map +0 -1
  156. package/dist/components/OrchestrationPlanCard.stories.d.ts.map +0 -1
  157. package/dist/components/OrchestrationPlanCard.stories.js.map +0 -1
  158. package/dist/components/SSEStreamView.d.ts.map +0 -1
  159. package/dist/components/SSEStreamView.js.map +0 -1
  160. package/dist/components/SSEStreamView.stories.d.ts.map +0 -1
  161. package/dist/components/SSEStreamView.stories.js.map +0 -1
  162. package/dist/components/ToolCallRenderer.d.ts.map +0 -1
  163. package/dist/components/ToolCallRenderer.js.map +0 -1
  164. package/dist/components/ToolCallRenderer.stories.d.ts.map +0 -1
  165. package/dist/components/ToolCallRenderer.stories.js.map +0 -1
  166. package/dist/components/cn.d.ts.map +0 -1
  167. package/dist/components/cn.js.map +0 -1
  168. package/dist/components/index.d.ts.map +0 -1
  169. package/dist/components/index.js.map +0 -1
  170. package/dist/hooks/index.d.ts.map +0 -1
  171. package/dist/hooks/index.js.map +0 -1
  172. package/dist/hooks/useAgentSession.d.ts.map +0 -1
  173. package/dist/hooks/useAgentSession.js.map +0 -1
  174. package/dist/hooks/useChatStream.d.ts.map +0 -1
  175. package/dist/hooks/useChatStream.js.map +0 -1
  176. package/dist/hooks/useToolCallStatus.d.ts.map +0 -1
  177. package/dist/hooks/useToolCallStatus.js.map +0 -1
  178. package/dist/index.d.ts.map +0 -1
  179. package/dist/index.js.map +0 -1
  180. package/dist/state/ChatSessionProvider.d.ts.map +0 -1
  181. package/dist/state/ChatSessionProvider.js.map +0 -1
  182. package/dist/state/MockChatStreamTransport.d.ts.map +0 -1
  183. package/dist/state/MockChatStreamTransport.js.map +0 -1
  184. package/dist/state/MockChatStreamTransport.stories.d.ts.map +0 -1
  185. package/dist/state/MockChatStreamTransport.stories.js.map +0 -1
  186. package/dist/state/bridgeLegacySSE.d.ts.map +0 -1
  187. package/dist/state/bridgeLegacySSE.js.map +0 -1
  188. package/dist/state/index.d.ts.map +0 -1
  189. package/dist/state/index.js.map +0 -1
  190. package/dist/state/parseSSE.d.ts.map +0 -1
  191. package/dist/state/parseSSE.js.map +0 -1
  192. package/dist/state/useChatComposer.d.ts.map +0 -1
  193. package/dist/state/useChatComposer.js.map +0 -1
  194. package/dist/state/useChatList.d.ts.map +0 -1
  195. package/dist/state/useChatList.js.map +0 -1
  196. package/dist/state/useChatSession.d.ts.map +0 -1
  197. package/dist/state/useChatSession.js.map +0 -1
  198. package/dist/state/useScrollLock.d.ts.map +0 -1
  199. package/dist/state/useScrollLock.js.map +0 -1
  200. package/dist/state/useToolCallStream.d.ts.map +0 -1
  201. package/dist/state/useToolCallStream.js.map +0 -1
  202. package/dist/tailwind-preset.d.ts.map +0 -1
  203. package/dist/tailwind-preset.js.map +0 -1
package/LICENSE CHANGED
@@ -1,91 +1,201 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity.
18
-
19
- "You" (or "Your") shall mean an individual or Legal Entity
20
- exercising permissions granted by this License.
21
-
22
- "Source" form shall mean the preferred form for making modifications.
23
-
24
- "Object" form shall mean any form resulting from mechanical
25
- transformation or translation of a Source form.
26
-
27
- "Work" shall mean the work of authorship made available under the
28
- License.
29
-
30
- "Derivative Works" shall mean any work based on the Work.
31
-
32
- "Contribution" shall mean any work of authorship intentionally
33
- submitted to Licensor for inclusion in the Work.
34
-
35
- "Contributor" shall mean Licensor and any individual or Legal Entity
36
- on behalf of whom a Contribution has been received by Licensor.
37
-
38
- 2. Grant of Copyright License.
39
- Subject to the terms and conditions of this License, each Contributor
40
- hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
41
- royalty-free, irrevocable copyright license to reproduce, prepare
42
- Derivative Works of, publicly display, publicly perform, sublicense,
43
- and distribute the Work and such Derivative Works in Source or Object
44
- form.
45
-
46
- 3. Grant of Patent License.
47
- Subject to the terms and conditions of this License, each Contributor
48
- hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
49
- royalty-free, irrevocable patent license to make, have made, use,
50
- offer to sell, sell, import, and otherwise transfer the Work.
51
-
52
- 4. Redistribution.
53
- You may reproduce and distribute copies of the Work or Derivative
54
- Works thereof in any medium, with or without modifications, and in
55
- Source or Object form, provided that You meet the following conditions:
56
-
57
- (a) You must give any other recipients of the Work or Derivative
58
- Works a copy of this License; and
59
- (b) You must cause any modified files to carry prominent notices
60
- stating that You changed the files; and
61
- (c) You must retain, in the Source form of any Derivative Works that
62
- You distribute, all copyright, patent, trademark, and attribution
63
- notices from the Source form of the Work; and
64
- (d) If the Work includes a "NOTICE" text file as part of its
65
- distribution, then any Derivative Works that You distribute must
66
- include a readable copy of the attribution notices contained within
67
- such NOTICE file.
68
-
69
- 5. Submission of Contributions.
70
- Unless You explicitly state otherwise, any Contribution intentionally
71
- submitted for inclusion in the Work shall be under the terms and
72
- conditions of this License.
73
-
74
- 6. Trademarks.
75
- This License does not grant permission to use the trade names,
76
- trademarks, service marks, or product names of the Licensor.
77
-
78
- 7. Disclaimer of Warranty.
79
- Unless required by applicable law or agreed to in writing, Licensor
80
- provides the Work on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
81
- OF ANY KIND.
82
-
83
- 8. Limitation of Liability.
84
- In no event and under no legal theory shall any Contributor be liable
85
- to You for damages arising as a result of this License or out of the
86
- use or inability to use the Work.
87
-
88
- 9. Accepting Warranty or Additional Liability.
89
- While redistributing the Work or Derivative Works thereof, You may
90
- choose to offer, and charge a fee for, acceptance of support, warranty,
91
- indemnity, or other liability obligations.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -15,4 +15,3 @@ export interface ActionSegmentCardProps {
15
15
  }
16
16
  export declare const ActionSegmentCard: React.FC<ActionSegmentCardProps>;
17
17
  export default ActionSegmentCard;
18
- //# sourceMappingURL=ActionSegmentCard.d.ts.map
@@ -23,4 +23,3 @@ export const ActionSegmentCard = ({ payload, className, renderArgs, renderOutput
23
23
  return (_jsx("div", { className: ['steerable-action-segment space-y-1.5', className].filter(Boolean).join(' '), children: segments.map((s) => (_jsx(ToolExecutionCard, { payload: segmentToTool(s), renderArgs: renderArgs, renderOutput: renderOutput }, s.id))) }));
24
24
  };
25
25
  export default ActionSegmentCard;
26
- //# sourceMappingURL=ActionSegmentCard.js.map
@@ -30,4 +30,3 @@ export interface AnalysisDocumentCardProps {
30
30
  }
31
31
  export declare const AnalysisDocumentCard: React.FC<AnalysisDocumentCardProps>;
32
32
  export default AnalysisDocumentCard;
33
- //# sourceMappingURL=AnalysisDocumentCard.d.ts.map
@@ -8,4 +8,3 @@ export const AnalysisDocumentCard = ({ payload, renderMarkdown, renderFooter, cl
8
8
  ].filter(Boolean).join(' '), children: [payload.title && headerVariant === 'strip' ? (_jsx("div", { className: "border-b border-[var(--agent-border,#e5e7eb)] bg-[var(--agent-muted,#f3f4f6)]/50 px-4 py-2", children: _jsx("span", { className: "block truncate text-xs font-medium text-[var(--agent-muted-foreground,#6b7280)]", children: payload.title }) })) : (_jsxs("header", { className: "mb-3 flex items-center gap-2 border-b border-[var(--agent-border,#e5e7eb)] px-4 pt-3 pb-2", children: [_jsx(BookIcon, { size: 14, className: "text-[var(--agent-muted-foreground,#6b7280)]" }), _jsx("h3", { className: "text-sm font-medium", children: payload.title || '分析报告' }), payload.modelId && (_jsx("span", { className: "ml-auto rounded-full bg-[var(--agent-muted,#f3f4f6)] px-2 py-0.5 text-[10px] uppercase tracking-wider text-[var(--agent-muted-foreground,#6b7280)]", children: payload.modelId }))] })), _jsx("div", { className: ['p-4', bodyClassName].filter(Boolean).join(' '), children: renderMarkdown ? (asReactNode(renderMarkdown(payload.body))) : (_jsx("pre", { className: "whitespace-pre-wrap break-words font-sans", children: payload.body })) }), renderFooter && asReactNode(renderFooter())] }));
9
9
  };
10
10
  export default AnalysisDocumentCard;
11
- //# sourceMappingURL=AnalysisDocumentCard.js.map
@@ -40,4 +40,3 @@ export interface AskUserQuestionsCardProps {
40
40
  }
41
41
  export declare const AskUserQuestionsCard: React.FC<AskUserQuestionsCardProps>;
42
42
  export default AskUserQuestionsCard;
43
- //# sourceMappingURL=AskUserQuestionsCard.d.ts.map
@@ -171,4 +171,3 @@ allowCustomText = true, requireAllAnswered = false, submitLabel = '提交', mult
171
171
  ].join(' '), children: [submitting ? _jsx(LoaderIcon, { size: 10, className: "animate-spin" }) : _jsx(CheckIcon, { size: 12 }), submitLabel] })] }))] }) }));
172
172
  };
173
173
  export default AskUserQuestionsCard;
174
- //# sourceMappingURL=AskUserQuestionsCard.js.map
@@ -38,4 +38,3 @@ export interface CoverageReportCardProps {
38
38
  }
39
39
  export declare const CoverageReportCard: React.FC<CoverageReportCardProps>;
40
40
  export default CoverageReportCard;
41
- //# sourceMappingURL=CoverageReportCard.d.ts.map
@@ -52,4 +52,3 @@ export const CoverageReportCard = ({ payload, isComplete, onRemediate, className
52
52
  }) }), _jsxs("div", { className: "space-y-2 rounded-md border border-[var(--agent-border,#e5e7eb)] bg-[var(--agent-background,#fff)] p-2", children: [_jsxs("div", { className: "flex items-center gap-1.5 text-xs font-medium text-amber-600 dark:text-amber-400", children: [_jsx(AlertIcon, { size: 12 }), "\u8584\u5F31\u77E5\u8BC6\u70B9"] }), weakPoints.length === 0 ? (emptyWeakPointsLabel ? (_jsxs("div", { className: "inline-flex items-center gap-1.5 text-xs text-green-600 dark:text-green-400", children: [_jsx(CheckIcon, { size: 12 }), emptyWeakPointsLabel] })) : null) : allowWeakPointSelection ? (_jsx("div", { className: "space-y-1.5", children: weakPoints.map((point) => (_jsxs("label", { className: "flex cursor-pointer items-start gap-2", children: [_jsx("input", { type: "checkbox", className: "mt-0.5 h-4 w-4", checked: selected.includes(point.id), onChange: () => toggle(point.id), disabled: remediateDisabled }), _jsxs("div", { className: "min-w-0 text-xs", children: [_jsxs("p", { className: "font-medium", children: [point.name, point.sectionName ? ` · ${point.sectionName}` : ''] }), _jsxs("p", { className: "text-[var(--agent-muted-foreground,#6b7280)]", children: ["\u6B63\u786E\u7387 ", pct(point.accuracy), " \u00B7 ", point.recommendation] })] })] }, point.id))) })) : (_jsx("ul", { className: "space-y-1 text-xs", children: weakPoints.map((wp) => (_jsxs("li", { children: [_jsx("span", { className: "font-medium", children: wp.name }), wp.sectionName && (_jsxs("span", { className: "ml-1 text-[var(--agent-muted-foreground,#6b7280)]", children: ["\u00B7 ", wp.sectionName] })), _jsxs("span", { className: "ml-1 text-[var(--agent-muted-foreground,#6b7280)]", children: ["\u00B7 \u6B63\u786E\u7387 ", pct(wp.accuracy)] }), _jsx("p", { className: "text-[var(--agent-muted-foreground,#6b7280)]", children: wp.recommendation })] }, wp.id))) }))] }), payload.actions?.allowRemediateQuiz && onRemediate && weakPoints.length > 0 && (_jsxs("div", { className: "flex items-center justify-between pt-1", children: [_jsx("span", { className: "text-xs text-[var(--agent-muted-foreground,#6b7280)]", children: remediateHint }), _jsx("button", { type: "button", onClick: handleClick, disabled: remediateDisabled, className: "inline-flex h-[28px] items-center rounded-full bg-[var(--agent-primary,#18181b)] px-3 text-xs font-medium text-[var(--agent-primary-foreground,#fff)] transition-all duration-200 hover:opacity-90 disabled:opacity-50", children: remediateLabel || payload.actions.remediateActionLabel || '为薄弱点出题' })] }))] }) }));
53
53
  };
54
54
  export default CoverageReportCard;
55
- //# sourceMappingURL=CoverageReportCard.js.map
@@ -57,4 +57,3 @@ declare const DOT_CLASS: Record<OrchestrationTaskStatus, string>;
57
57
  export declare const OrchestrationPlanCard: React.FC<OrchestrationPlanCardProps>;
58
58
  export { STATUS_LABEL as ORCHESTRATION_STATUS_LABEL, DOT_CLASS as ORCHESTRATION_DOT_CLASS };
59
59
  export default OrchestrationPlanCard;
60
- //# sourceMappingURL=OrchestrationPlanCard.d.ts.map
@@ -100,4 +100,3 @@ export const OrchestrationPlanCard = ({ payload, taskStatuses, agentNameFor, cla
100
100
  };
101
101
  export { STATUS_LABEL as ORCHESTRATION_STATUS_LABEL, DOT_CLASS as ORCHESTRATION_DOT_CLASS };
102
102
  export default OrchestrationPlanCard;
103
- //# sourceMappingURL=OrchestrationPlanCard.js.map
@@ -37,4 +37,3 @@ export interface PlanSelectorCardProps {
37
37
  }
38
38
  export declare const PlanSelectorCard: React.FC<PlanSelectorCardProps>;
39
39
  export default PlanSelectorCard;
40
- //# sourceMappingURL=PlanSelectorCard.d.ts.map
@@ -103,4 +103,3 @@ export const PlanSelectorCard = ({ payload, isComplete, onSelect, className, exp
103
103
  : _jsxs("div", { className: "flex items-center gap-1.5", children: [_jsx(CheckIcon, { size: 12, className: "text-blue-500" }), _jsx("span", { className: "text-xs text-[var(--agent-muted-foreground,#6b7280)]", children: "\u65B9\u6848\u5DF2\u9009\u62E9" })] }) })] }) }));
104
104
  };
105
105
  export default PlanSelectorCard;
106
- //# sourceMappingURL=PlanSelectorCard.js.map
@@ -15,4 +15,3 @@ export interface PlanStepsCardProps {
15
15
  }
16
16
  export declare const PlanStepsCard: React.FC<PlanStepsCardProps>;
17
17
  export default PlanStepsCard;
18
- //# sourceMappingURL=PlanStepsCard.d.ts.map
@@ -22,4 +22,3 @@ export const PlanStepsCard = ({ payload, isStreaming, className }) => {
22
22
  ].filter(Boolean).join(' '), children: [_jsx(ListChecksIcon, { size: 14, className: "mt-0.5 flex-shrink-0 text-[var(--agent-muted-foreground,#6b7280)]" }), _jsxs("div", { className: "flex flex-wrap items-center gap-1 text-xs text-[var(--agent-muted-foreground,#6b7280)]", children: [steps.map((step, idx) => (_jsxs(React.Fragment, { children: [idx > 0 && _jsx("span", { "aria-hidden": true, className: "select-none opacity-40", children: "/" }), _jsx("span", { className: "whitespace-nowrap", children: step })] }, `${idx}-${step}`))), isStreaming && (_jsx("span", { "aria-hidden": true, className: "ml-1 inline-block h-1.5 w-1.5 translate-y-[1px] animate-pulse rounded-full bg-current" }))] })] }));
23
23
  };
24
24
  export default PlanStepsCard;
25
- //# sourceMappingURL=PlanStepsCard.js.map
@@ -41,4 +41,3 @@ export interface QuizCardProps {
41
41
  }
42
42
  export declare const QuizCard: React.FC<QuizCardProps>;
43
43
  export default QuizCard;
44
- //# sourceMappingURL=QuizCard.d.ts.map
@@ -110,4 +110,3 @@ export const QuizCard = ({ payload, isComplete, onSubmit, className, choiceVaria
110
110
  }) }), _jsxs("div", { className: "flex flex-wrap items-center justify-between gap-x-3 gap-y-2 pt-1", children: [isReadOnly ? (_jsxs("div", { className: "inline-flex min-w-0 items-center gap-1.5 text-xs text-green-600 dark:text-green-400", children: [_jsx(CheckIcon, { size: 12 }), _jsx("span", { className: "truncate", children: submittedMessage ?? '已提交' })] })) : (submitHint && (_jsx("span", { className: "min-w-0 flex-1 break-words text-xs text-[var(--agent-muted-foreground,#6b7280)]", children: submitHint }))), !isReadOnly && onSubmit && (_jsx("button", { type: "button", onClick: handleSubmit, disabled: submitting || isReadOnly, className: "ml-auto inline-flex h-[28px] shrink-0 items-center gap-1 rounded-full bg-[var(--agent-primary,#18181b)] px-3 text-xs font-medium text-[var(--agent-primary-foreground,#fff)] transition-all duration-200 hover:opacity-90 disabled:opacity-50", children: submitting ? (_jsxs(_Fragment, { children: [_jsx(LoaderIcon, { size: 10, className: "animate-spin" }), submittingLabel] })) : (payload.submitActionLabel || '提交') }))] })] }) }));
111
111
  };
112
112
  export default QuizCard;
113
- //# sourceMappingURL=QuizCard.js.map
@@ -20,4 +20,3 @@ export interface ResearchPlanCardProps {
20
20
  }
21
21
  export declare const ResearchPlanCard: React.FC<ResearchPlanCardProps>;
22
22
  export default ResearchPlanCard;
23
- //# sourceMappingURL=ResearchPlanCard.d.ts.map
@@ -47,4 +47,3 @@ export const ResearchPlanCard = ({ payload, totalRounds = 3, className, }) => {
47
47
  }) })] }), payload.decision && (_jsxs("div", { className: "rounded-md border border-[var(--agent-border,#e5e7eb)] bg-[var(--agent-muted,#f3f4f6)]/40 px-2.5 py-2", children: [_jsx("div", { className: "text-xs text-[var(--agent-muted-foreground,#6b7280)]", children: "\u4E0B\u4E00\u6B65\u51B3\u7B56" }), _jsx("div", { className: "text-sm font-medium", children: decisionLabel ?? payload.decision.next }), payload.decision.reason && (_jsx("div", { className: "mt-0.5 whitespace-pre-wrap text-xs text-[var(--agent-muted-foreground,#6b7280)]", children: payload.decision.reason }))] }))] }) }));
48
48
  };
49
49
  export default ResearchPlanCard;
50
- //# sourceMappingURL=ResearchPlanCard.js.map
@@ -26,4 +26,3 @@ export interface SearchSourcesCardProps {
26
26
  }
27
27
  export declare const SearchSourcesCard: React.FC<SearchSourcesCardProps>;
28
28
  export default SearchSourcesCard;
29
- //# sourceMappingURL=SearchSourcesCard.d.ts.map
@@ -80,4 +80,3 @@ export const SearchSourcesCard = ({ payload, className, appearance = 'card', fav
80
80
  ].filter(Boolean).join(' ') })] }), expanded && (isCard ? (_jsx("ul", { className: "divide-y divide-[var(--agent-border,#e5e7eb)] border-t border-[var(--agent-border,#e5e7eb)]", children: unique.map((s, idx) => (_jsx("li", { className: "px-3 py-2 text-sm", children: _jsxs("a", { href: s.url, target: "_blank", rel: "noopener noreferrer", className: "flex items-start gap-2 text-[var(--agent-foreground,#111827)] hover:underline", children: [_jsx(FaviconCircle, { src: s.favicon ?? faviconUrlFor(s.url), size: 16 }), _jsxs("span", { className: "min-w-0 flex-1", children: [_jsx("span", { className: "block truncate font-medium", children: s.title || extractDomain(s.url) }), _jsx("span", { className: "block truncate text-xs text-[var(--agent-muted-foreground,#6b7280)]", children: extractDomain(s.url) }), s.snippet && (_jsx("span", { className: "mt-1 block text-xs text-[var(--agent-muted-foreground,#6b7280)] line-clamp-2", children: s.snippet }))] }), _jsx(ExternalLinkIcon, { size: 12, className: "mt-1 flex-shrink-0 text-[var(--agent-muted-foreground,#6b7280)]" })] }) }, `${idx}-${s.url}`))) })) : (_jsx("div", { className: "mt-1.5 flex flex-col gap-0.5", children: unique.map((s, idx) => (_jsxs("a", { href: s.url, target: "_blank", rel: "noopener noreferrer", className: "group/item flex items-center gap-2.5 rounded-md px-2 py-1.5 transition-colors duration-150 hover:bg-[var(--agent-muted,#f3f4f6)]", children: [_jsx(FaviconCircle, { src: s.favicon ?? faviconUrlFor(s.url), size: 16 }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-xs text-[var(--agent-foreground,#111827)]", children: s.title || extractDomain(s.url) }), _jsx("div", { className: "truncate text-[11px] text-[var(--agent-muted-foreground,#6b7280)]", children: extractDomain(s.url) })] }), _jsx(ExternalLinkIcon, { size: 12, className: "shrink-0 text-[var(--agent-muted-foreground,#6b7280)] opacity-0 transition-opacity group-hover/item:opacity-100" })] }, `${idx}-${s.url}`))) })))] }));
81
81
  };
82
82
  export default SearchSourcesCard;
83
- //# sourceMappingURL=SearchSourcesCard.js.map
@@ -15,4 +15,3 @@ export interface SuggestedRepliesCardProps {
15
15
  }
16
16
  export declare const SuggestedRepliesCard: React.FC<SuggestedRepliesCardProps>;
17
17
  export default SuggestedRepliesCard;
18
- //# sourceMappingURL=SuggestedRepliesCard.d.ts.map
@@ -11,4 +11,3 @@ export const SuggestedRepliesCard = ({ payload, onSelect, className, buttonClass
11
11
  ].filter(Boolean).join(' '), children: text }, `${idx}-${text}`))) }));
12
12
  };
13
13
  export default SuggestedRepliesCard;
14
- //# sourceMappingURL=SuggestedRepliesCard.js.map
@@ -37,4 +37,3 @@ export interface SummaryMessageCardProps {
37
37
  }
38
38
  export declare const SummaryMessageCard: React.FC<SummaryMessageCardProps>;
39
39
  export default SummaryMessageCard;
40
- //# sourceMappingURL=SummaryMessageCard.d.ts.map
@@ -53,4 +53,3 @@ export const SummaryMessageCard = ({ payload, renderMarkdown, renderLabel, rende
53
53
  ].filter(Boolean).join(' '), children: [_jsxs("button", { type: "button", onClick: () => canToggle && setExpanded((v) => !v), disabled: !canToggle, className: "flex w-full items-center gap-2 px-3 py-2 text-left text-[var(--agent-muted-foreground,#6b7280)]", children: [isPending ? _jsx(LoaderIcon, { size: 12 }) : _jsx(ArchiveIcon, { size: 12 }), _jsx("span", { children: labelNode }), canToggle && _jsx("span", { className: "ml-auto", children: toggleNode })] }), body && (_jsx("div", { className: "border-t border-[var(--agent-border,#e5e7eb)] px-3 py-2 text-[var(--agent-foreground,#111827)]", children: body }))] }));
54
54
  };
55
55
  export default SummaryMessageCard;
56
- //# sourceMappingURL=SummaryMessageCard.js.map
@@ -43,4 +43,3 @@ export interface ThinkingProcessCardProps {
43
43
  }
44
44
  export declare const ThinkingProcessCard: React.FC<ThinkingProcessCardProps>;
45
45
  export default ThinkingProcessCard;
46
- //# sourceMappingURL=ThinkingProcessCard.d.ts.map
@@ -76,4 +76,3 @@ export const ThinkingProcessCard = ({ payload, renderMarkdown, renderLabel, rend
76
76
  ].join(' '), children: [_jsx("div", { className: bodyClassName ?? defaultBodyClasses, children: renderMarkdown ? asReactNode(renderMarkdown(payload.body)) : payload.body }), isStreaming && renderStreamingFooter && (_jsx("div", { className: "mt-2", children: asReactNode(renderStreamingFooter()) }))] }))] }));
77
77
  };
78
78
  export default ThinkingProcessCard;
79
- //# sourceMappingURL=ThinkingProcessCard.js.map
@@ -25,4 +25,3 @@ export interface ToolExecutionCardProps {
25
25
  }
26
26
  export declare const ToolExecutionCard: React.FC<ToolExecutionCardProps>;
27
27
  export default ToolExecutionCard;
28
- //# sourceMappingURL=ToolExecutionCard.d.ts.map
@@ -67,4 +67,3 @@ export const ToolExecutionCard = ({ payload, className, defaultExpanded = false,
67
67
  }, className: `flex min-w-0 flex-1 items-center gap-1.5 py-1 pr-2.5 text-left ${expandable ? '' : 'pl-2.5'} ${onActivate ? 'cursor-pointer hover:bg-[var(--agent-muted,#f3f4f6)]/60' : ''}`, "aria-expanded": onActivate ? undefined : expanded, "aria-label": onActivate ? activateTitle : undefined, title: onActivate ? activateTitle : undefined, "data-testid": onActivate ? 'tool-activate' : undefined, children: [lead ?? (_jsx(ZapIcon, { size: 12, className: "shrink-0 text-[var(--agent-muted-foreground,#6b7280)]" })), _jsx("span", { className: "shrink-0 font-medium text-[var(--agent-foreground,#111827)]", children: title }), payload.summary && (_jsx("span", { className: "min-w-0 flex-1 truncate text-[var(--agent-muted-foreground,#6b7280)]", children: payload.summary })), _jsxs("span", { className: "ml-auto inline-flex shrink-0 items-center gap-1 whitespace-nowrap", children: [_jsx(StatusIcon, { status: status }), _jsx("span", { className: STATUS_TONE[status], children: STATUS_LABEL[status] }), typeof payload.durationMs === 'number' && (_jsxs("span", { className: "text-[var(--agent-muted-foreground,#9ca3af)]", children: ["\u00B7 ", payload.durationMs, "ms"] }))] })] })] }), expandable && expanded && (_jsxs("div", { className: "space-y-1.5 border-t border-[var(--agent-border,#e5e7eb)] px-2.5 py-1.5", children: [payload.args !== undefined && (_jsxs("section", { children: [_jsx("div", { className: "mb-1 text-[10px] uppercase tracking-wider text-[var(--agent-muted-foreground,#6b7280)]", children: "\u8F93\u5165" }), renderArgs ? renderArgs(payload.args) : defaultRender(payload.args)] })), payload.output !== undefined && (_jsxs("section", { children: [_jsx("div", { className: "mb-1 text-[10px] uppercase tracking-wider text-[var(--agent-muted-foreground,#6b7280)]", children: "\u8F93\u51FA" }), renderOutput ? renderOutput(payload.output) : defaultRender(payload.output)] })), payload.error && (_jsxs("section", { children: [_jsx("div", { className: "mb-1 text-[10px] uppercase tracking-wider text-rose-600", children: "\u9519\u8BEF" }), _jsx("pre", { className: "whitespace-pre-wrap break-words rounded bg-rose-50/60 px-2 py-1.5 text-[11px] text-rose-700", children: payload.error })] }))] }))] }));
68
68
  };
69
69
  export default ToolExecutionCard;
70
- //# sourceMappingURL=ToolExecutionCard.js.map
@@ -35,4 +35,3 @@ export declare function BookIcon(props: IconProps): import("react/jsx-runtime").
35
35
  export declare function ThumbsUpIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
36
36
  export declare function PencilIcon(props: IconProps): import("react/jsx-runtime").JSX.Element;
37
37
  export {};
38
- //# sourceMappingURL=icons.d.ts.map
@@ -84,4 +84,3 @@ export function ThumbsUpIcon(props) {
84
84
  export function PencilIcon(props) {
85
85
  return (_jsxs("svg", { ...base(props), children: [_jsx("path", { d: "M12 20h9" }), _jsx("path", { d: "M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z" })] }));
86
86
  }
87
- //# sourceMappingURL=icons.js.map
@@ -36,4 +36,3 @@ export { ActionSegmentCard } from './ActionSegmentCard.js';
36
36
  export type { ActionSegmentCardProps } from './ActionSegmentCard.js';
37
37
  export { ToolExecutionCard } from './ToolExecutionCard.js';
38
38
  export type { ToolExecutionCardProps } from './ToolExecutionCard.js';
39
- //# sourceMappingURL=index.d.ts.map
@@ -24,4 +24,3 @@ export { SearchSourcesCard } from './SearchSourcesCard.js';
24
24
  export { SummaryMessageCard } from './SummaryMessageCard.js';
25
25
  export { ActionSegmentCard } from './ActionSegmentCard.js';
26
26
  export { ToolExecutionCard } from './ToolExecutionCard.js';
27
- //# sourceMappingURL=index.js.map
@@ -21,4 +21,3 @@ export type RenderSlotResult = unknown;
21
21
  * Cast helper for use inside cards. Keeps render sites tidy.
22
22
  */
23
23
  export declare function asReactNode(value: RenderSlotResult): React.ReactNode;
24
- //# sourceMappingURL=types.d.ts.map
@@ -4,4 +4,3 @@
4
4
  export function asReactNode(value) {
5
5
  return value;
6
6
  }
7
- //# sourceMappingURL=types.js.map
@@ -20,4 +20,3 @@ export interface AgentSelectorProps {
20
20
  * - Enter / Space: select focused agent (native button behavior)
21
21
  */
22
22
  export declare function AgentSelector(props: AgentSelectorProps): import("react/jsx-runtime").JSX.Element;
23
- //# sourceMappingURL=AgentSelector.d.ts.map
@@ -60,4 +60,3 @@ export function AgentSelector(props) {
60
60
  : 'text-agent-foreground hover:bg-agent-muted', disabled && 'cursor-not-allowed opacity-50'), title: agent.name, children: renderAgent(agent, { selected }) }, agent.id));
61
61
  }) }));
62
62
  }
63
- //# sourceMappingURL=AgentSelector.js.map
@@ -9,4 +9,3 @@ export declare const SingleAgent: Story;
9
9
  export declare const LongNames: Story;
10
10
  export declare const Loading: Story;
11
11
  export declare const Interactive: Story;
12
- //# sourceMappingURL=AgentSelector.stories.d.ts.map
@@ -92,4 +92,3 @@ export const Interactive = {
92
92
  return _jsx(InteractiveSelector, {});
93
93
  },
94
94
  };
95
- //# sourceMappingURL=AgentSelector.stories.js.map
@@ -159,4 +159,3 @@ declare const ChatPanelCompound: typeof ChatPanelMonolith & {
159
159
  };
160
160
  export { ChatPanelCompound as ChatPanel };
161
161
  export type { MessageRendererProps };
162
- //# sourceMappingURL=ChatPanel.d.ts.map
@@ -198,4 +198,3 @@ const ChatPanelCompound = Object.assign(ChatPanelMonolith, {
198
198
  Connected: ChatPanelConnected,
199
199
  });
200
200
  export { ChatPanelCompound as ChatPanel };
201
- //# sourceMappingURL=ChatPanel.js.map
@@ -14,4 +14,3 @@ export declare const WithToolCalls: Story;
14
14
  * is "responding". Useful for sandbox-testing custom renderers.
15
15
  */
16
16
  export declare const Interactive: Story;
17
- //# sourceMappingURL=ChatPanel.stories.d.ts.map
@@ -140,4 +140,3 @@ export const Interactive = {
140
140
  return _jsx(InteractiveChat, {});
141
141
  },
142
142
  };
143
- //# sourceMappingURL=ChatPanel.stories.js.map
@@ -41,4 +41,3 @@ export interface MessageListProps {
41
41
  emptyState?: React.ReactNode;
42
42
  }
43
43
  export declare function MessageList(props: MessageListProps): import("react/jsx-runtime").JSX.Element;
44
- //# sourceMappingURL=MessageList.d.ts.map
@@ -40,4 +40,3 @@ export function MessageList(props) {
40
40
  const Renderer = renderMessage ?? DefaultMessageBubble;
41
41
  return (_jsxs("div", { ref: containerRef, className: cn('flex h-full w-full flex-col gap-3 overflow-y-auto bg-agent-canvas px-4 py-3', 'focus:outline-none focus-visible:ring-2 focus-visible:ring-agent-accent', className), role: "log", "aria-live": "polite", "aria-label": "Conversation", tabIndex: 0, children: [header, messages.length === 0 ? (emptyState ?? (_jsx("div", { className: "m-auto text-sm text-agent-muted-foreground", children: "No messages yet." }))) : (messages.map((message, index) => (_jsx(Renderer, { message: message, index: index, isLastAssistant: index === lastAssistantIndex, isStreaming: isStreaming }, message.id ?? index))))] }));
42
42
  }
43
- //# sourceMappingURL=MessageList.js.map
@@ -9,4 +9,3 @@ export declare const EmptyWithCustomState: Story;
9
9
  export declare const Streaming: Story;
10
10
  export declare const StreamingEmptyAssistant: Story;
11
11
  export declare const LongConversation: Story;
12
- //# sourceMappingURL=MessageList.stories.d.ts.map