@solidxai/core-ui 0.1.21-beta.0 → 0.1.21-beta.2

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 (314) hide show
  1. package/dist/components/common/SolidPopupContainer.js +1 -1
  2. package/dist/components/common/SolidPopupContainer.js.map +1 -1
  3. package/dist/components/common/SolidPopupContainer.tsx +1 -1
  4. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts +1 -0
  5. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.d.ts.map +1 -1
  6. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js +46 -19
  7. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.js.map +1 -1
  8. package/dist/components/common/SolidSettings/LlmSettings/AiModelConfigTab.tsx +69 -14
  9. package/dist/components/core/card/CardItem.d.ts.map +1 -1
  10. package/dist/components/core/card/CardItem.js +13 -2
  11. package/dist/components/core/card/CardItem.js.map +1 -1
  12. package/dist/components/core/card/CardItem.tsx +13 -2
  13. package/dist/components/core/card/SolidCardView.js +2 -2
  14. package/dist/components/core/card/SolidCardView.js.map +1 -1
  15. package/dist/components/core/card/SolidCardView.tsx +2 -2
  16. package/dist/components/core/chatter/SolidChatterAuditMessage.css +68 -0
  17. package/dist/components/core/chatter/SolidChatterAuditMessage.d.ts +1 -0
  18. package/dist/components/core/chatter/SolidChatterAuditMessage.d.ts.map +1 -1
  19. package/dist/components/core/chatter/SolidChatterAuditMessage.js +20 -2
  20. package/dist/components/core/chatter/SolidChatterAuditMessage.js.map +1 -1
  21. package/dist/components/core/chatter/SolidChatterAuditMessage.tsx +49 -12
  22. package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.d.ts.map +1 -1
  23. package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.js +83 -1
  24. package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.js.map +1 -1
  25. package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.module.css +45 -1
  26. package/dist/components/core/extension/solid-core/agentRegistry/card/AgentRegistryCardWidget.tsx +106 -2
  27. package/dist/components/core/extension/solid-core/agentSession/AgentSessionChatFormWidget.d.ts +3 -0
  28. package/dist/components/core/extension/solid-core/agentSession/AgentSessionChatFormWidget.d.ts.map +1 -0
  29. package/dist/components/core/extension/solid-core/agentSession/AgentSessionChatFormWidget.js +163 -0
  30. package/dist/components/core/extension/solid-core/agentSession/AgentSessionChatFormWidget.js.map +1 -0
  31. package/dist/components/core/extension/solid-core/agentSession/AgentSessionChatFormWidget.module.css +86 -0
  32. package/dist/components/core/extension/solid-core/agentSession/AgentSessionChatFormWidget.tsx +129 -0
  33. package/dist/components/core/extension/solid-core/agentSession/AgentSessionComparisonHeaderAction.d.ts +23 -0
  34. package/dist/components/core/extension/solid-core/agentSession/AgentSessionComparisonHeaderAction.d.ts.map +1 -0
  35. package/dist/components/core/extension/solid-core/agentSession/AgentSessionComparisonHeaderAction.js +270 -0
  36. package/dist/components/core/extension/solid-core/agentSession/AgentSessionComparisonHeaderAction.js.map +1 -0
  37. package/dist/components/core/extension/solid-core/agentSession/AgentSessionComparisonHeaderAction.module.css +167 -0
  38. package/dist/components/core/extension/solid-core/agentSession/AgentSessionComparisonHeaderAction.tsx +270 -0
  39. package/dist/components/core/extension/solid-core/agentSession/AgentSessionConfigVersionListWidget.d.ts +3 -0
  40. package/dist/components/core/extension/solid-core/agentSession/AgentSessionConfigVersionListWidget.d.ts.map +1 -0
  41. package/dist/components/core/extension/solid-core/agentSession/AgentSessionConfigVersionListWidget.js +67 -0
  42. package/dist/components/core/extension/solid-core/agentSession/AgentSessionConfigVersionListWidget.js.map +1 -0
  43. package/dist/components/core/extension/solid-core/agentSession/AgentSessionConfigVersionListWidget.module.css +68 -0
  44. package/dist/components/core/extension/solid-core/agentSession/AgentSessionConfigVersionListWidget.tsx +107 -0
  45. package/dist/components/core/form/SolidFormFieldRender.d.ts.map +1 -1
  46. package/dist/components/core/form/SolidFormFieldRender.js +2 -1
  47. package/dist/components/core/form/SolidFormFieldRender.js.map +1 -1
  48. package/dist/components/core/form/SolidFormFieldRender.tsx +6 -3
  49. package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
  50. package/dist/components/core/form/SolidFormView.js +15 -4
  51. package/dist/components/core/form/SolidFormView.js.map +1 -1
  52. package/dist/components/core/form/SolidFormView.tsx +14 -5
  53. package/dist/components/core/form/fields/SolidBooleanField.d.ts.map +1 -1
  54. package/dist/components/core/form/fields/SolidBooleanField.js +4 -4
  55. package/dist/components/core/form/fields/SolidBooleanField.js.map +1 -1
  56. package/dist/components/core/form/fields/SolidBooleanField.tsx +15 -3
  57. package/dist/components/core/form/fields/SolidDateField.d.ts.map +1 -1
  58. package/dist/components/core/form/fields/SolidDateField.js +1 -1
  59. package/dist/components/core/form/fields/SolidDateField.js.map +1 -1
  60. package/dist/components/core/form/fields/SolidDateField.tsx +5 -4
  61. package/dist/components/core/form/fields/SolidDateTimeField.d.ts.map +1 -1
  62. package/dist/components/core/form/fields/SolidDateTimeField.js +3 -5
  63. package/dist/components/core/form/fields/SolidDateTimeField.js.map +1 -1
  64. package/dist/components/core/form/fields/SolidDateTimeField.tsx +7 -8
  65. package/dist/components/core/form/fields/SolidDecimalField.d.ts.map +1 -1
  66. package/dist/components/core/form/fields/SolidDecimalField.js +2 -1
  67. package/dist/components/core/form/fields/SolidDecimalField.js.map +1 -1
  68. package/dist/components/core/form/fields/SolidDecimalField.tsx +6 -1
  69. package/dist/components/core/form/fields/SolidEmailField.d.ts.map +1 -1
  70. package/dist/components/core/form/fields/SolidEmailField.js +2 -1
  71. package/dist/components/core/form/fields/SolidEmailField.js.map +1 -1
  72. package/dist/components/core/form/fields/SolidEmailField.tsx +6 -1
  73. package/dist/components/core/form/fields/SolidIntegerField.d.ts.map +1 -1
  74. package/dist/components/core/form/fields/SolidIntegerField.js +3 -3
  75. package/dist/components/core/form/fields/SolidIntegerField.js.map +1 -1
  76. package/dist/components/core/form/fields/SolidIntegerField.tsx +11 -5
  77. package/dist/components/core/form/fields/SolidJsonField.d.ts.map +1 -1
  78. package/dist/components/core/form/fields/SolidJsonField.js +1 -1
  79. package/dist/components/core/form/fields/SolidJsonField.js.map +1 -1
  80. package/dist/components/core/form/fields/SolidJsonField.tsx +5 -3
  81. package/dist/components/core/form/fields/SolidLongTextField.d.ts.map +1 -1
  82. package/dist/components/core/form/fields/SolidLongTextField.js +2 -2
  83. package/dist/components/core/form/fields/SolidLongTextField.js.map +1 -1
  84. package/dist/components/core/form/fields/SolidLongTextField.tsx +10 -4
  85. package/dist/components/core/form/fields/SolidMediaMultipleField.d.ts.map +1 -1
  86. package/dist/components/core/form/fields/SolidMediaMultipleField.js +1 -1
  87. package/dist/components/core/form/fields/SolidMediaMultipleField.js.map +1 -1
  88. package/dist/components/core/form/fields/SolidMediaMultipleField.tsx +5 -3
  89. package/dist/components/core/form/fields/SolidMediaSingleField.d.ts.map +1 -1
  90. package/dist/components/core/form/fields/SolidMediaSingleField.js +1 -1
  91. package/dist/components/core/form/fields/SolidMediaSingleField.js.map +1 -1
  92. package/dist/components/core/form/fields/SolidMediaSingleField.tsx +5 -3
  93. package/dist/components/core/form/fields/SolidPasswordField.d.ts.map +1 -1
  94. package/dist/components/core/form/fields/SolidPasswordField.js +4 -3
  95. package/dist/components/core/form/fields/SolidPasswordField.js.map +1 -1
  96. package/dist/components/core/form/fields/SolidPasswordField.tsx +21 -4
  97. package/dist/components/core/form/fields/SolidRichTextField.d.ts.map +1 -1
  98. package/dist/components/core/form/fields/SolidRichTextField.js +2 -1
  99. package/dist/components/core/form/fields/SolidRichTextField.js.map +1 -1
  100. package/dist/components/core/form/fields/SolidRichTextField.tsx +5 -1
  101. package/dist/components/core/form/fields/SolidSelectionDynamicField.d.ts.map +1 -1
  102. package/dist/components/core/form/fields/SolidSelectionDynamicField.js +2 -1
  103. package/dist/components/core/form/fields/SolidSelectionDynamicField.js.map +1 -1
  104. package/dist/components/core/form/fields/SolidSelectionDynamicField.tsx +6 -3
  105. package/dist/components/core/form/fields/SolidSelectionStaticField.d.ts.map +1 -1
  106. package/dist/components/core/form/fields/SolidSelectionStaticField.js +6 -5
  107. package/dist/components/core/form/fields/SolidSelectionStaticField.js.map +1 -1
  108. package/dist/components/core/form/fields/SolidSelectionStaticField.tsx +26 -7
  109. package/dist/components/core/form/fields/SolidShortTextField.d.ts.map +1 -1
  110. package/dist/components/core/form/fields/SolidShortTextField.js +3 -2
  111. package/dist/components/core/form/fields/SolidShortTextField.js.map +1 -1
  112. package/dist/components/core/form/fields/SolidShortTextField.tsx +11 -2
  113. package/dist/components/core/form/fields/SolidTimeField.d.ts.map +1 -1
  114. package/dist/components/core/form/fields/SolidTimeField.js +1 -1
  115. package/dist/components/core/form/fields/SolidTimeField.js.map +1 -1
  116. package/dist/components/core/form/fields/SolidTimeField.tsx +5 -3
  117. package/dist/components/core/kanban/KanbanCard.d.ts.map +1 -1
  118. package/dist/components/core/kanban/KanbanCard.js +13 -2
  119. package/dist/components/core/kanban/KanbanCard.js.map +1 -1
  120. package/dist/components/core/kanban/KanbanCard.tsx +13 -2
  121. package/dist/components/core/kanban/SolidKanbanView.d.ts.map +1 -1
  122. package/dist/components/core/kanban/SolidKanbanView.js +18 -11
  123. package/dist/components/core/kanban/SolidKanbanView.js.map +1 -1
  124. package/dist/components/core/kanban/SolidKanbanView.tsx +10 -6
  125. package/dist/components/core/list/SolidListView.d.ts.map +1 -1
  126. package/dist/components/core/list/SolidListView.js +49 -38
  127. package/dist/components/core/list/SolidListView.js.map +1 -1
  128. package/dist/components/core/list/SolidListView.tsx +20 -21
  129. package/dist/components/core/solid-agent/AgentContextPill.d.ts +9 -0
  130. package/dist/components/core/solid-agent/AgentContextPill.d.ts.map +1 -0
  131. package/dist/components/core/solid-agent/AgentContextPill.js +92 -0
  132. package/dist/components/core/solid-agent/AgentContextPill.js.map +1 -0
  133. package/dist/components/core/solid-agent/AgentContextPill.tsx +175 -0
  134. package/dist/components/core/solid-agent/AgentModelIndicator.d.ts +29 -3
  135. package/dist/components/core/solid-agent/AgentModelIndicator.d.ts.map +1 -1
  136. package/dist/components/core/solid-agent/AgentModelIndicator.js +279 -4
  137. package/dist/components/core/solid-agent/AgentModelIndicator.js.map +1 -1
  138. package/dist/components/core/solid-agent/AgentModelIndicator.tsx +546 -18
  139. package/dist/components/core/solid-agent/SolidAgent.module.css +1271 -128
  140. package/dist/components/core/solid-agent/SolidAgentChat.d.ts +4 -1
  141. package/dist/components/core/solid-agent/SolidAgentChat.d.ts.map +1 -1
  142. package/dist/components/core/solid-agent/SolidAgentChat.js +546 -49
  143. package/dist/components/core/solid-agent/SolidAgentChat.js.map +1 -1
  144. package/dist/components/core/solid-agent/SolidAgentChat.tsx +757 -48
  145. package/dist/components/core/solid-agent/SolidAgentEmbedded.d.ts +2 -0
  146. package/dist/components/core/solid-agent/SolidAgentEmbedded.d.ts.map +1 -1
  147. package/dist/components/core/solid-agent/SolidAgentEmbedded.js +17 -11
  148. package/dist/components/core/solid-agent/SolidAgentEmbedded.js.map +1 -1
  149. package/dist/components/core/solid-agent/SolidAgentEmbedded.tsx +33 -11
  150. package/dist/components/core/solid-agent/SolidAgentHost.d.ts.map +1 -1
  151. package/dist/components/core/solid-agent/SolidAgentHost.js +5 -0
  152. package/dist/components/core/solid-agent/SolidAgentHost.js.map +1 -1
  153. package/dist/components/core/solid-agent/SolidAgentHost.tsx +6 -0
  154. package/dist/components/core/solid-agent/agentEvents.d.ts +4 -1
  155. package/dist/components/core/solid-agent/agentEvents.d.ts.map +1 -1
  156. package/dist/components/core/solid-agent/agentEvents.js +108 -25
  157. package/dist/components/core/solid-agent/agentEvents.js.map +1 -1
  158. package/dist/components/core/solid-agent/agentEvents.ts +100 -11
  159. package/dist/components/core/solid-agent/agentFormat.d.ts.map +1 -1
  160. package/dist/components/core/solid-agent/agentFormat.js +80 -9
  161. package/dist/components/core/solid-agent/agentFormat.js.map +1 -1
  162. package/dist/components/core/solid-agent/agentFormat.ts +85 -8
  163. package/dist/components/core/solid-agent/client/agentRest.d.ts +23 -2
  164. package/dist/components/core/solid-agent/client/agentRest.d.ts.map +1 -1
  165. package/dist/components/core/solid-agent/client/agentRest.js +223 -1
  166. package/dist/components/core/solid-agent/client/agentRest.js.map +1 -1
  167. package/dist/components/core/solid-agent/client/agentRest.ts +173 -5
  168. package/dist/components/core/solid-agent/client/agentRuntime.d.ts +21 -3
  169. package/dist/components/core/solid-agent/client/agentRuntime.d.ts.map +1 -1
  170. package/dist/components/core/solid-agent/client/agentRuntime.js +228 -29
  171. package/dist/components/core/solid-agent/client/agentRuntime.js.map +1 -1
  172. package/dist/components/core/solid-agent/client/agentRuntime.ts +197 -17
  173. package/dist/components/core/solid-agent/client/agentSocket.d.ts +25 -6
  174. package/dist/components/core/solid-agent/client/agentSocket.d.ts.map +1 -1
  175. package/dist/components/core/solid-agent/client/agentSocket.js +187 -38
  176. package/dist/components/core/solid-agent/client/agentSocket.js.map +1 -1
  177. package/dist/components/core/solid-agent/client/agentSocket.ts +142 -23
  178. package/dist/components/core/solid-agent/composer/AgentComposer.d.ts +3 -1
  179. package/dist/components/core/solid-agent/composer/AgentComposer.d.ts.map +1 -1
  180. package/dist/components/core/solid-agent/composer/AgentComposer.js +37 -21
  181. package/dist/components/core/solid-agent/composer/AgentComposer.js.map +1 -1
  182. package/dist/components/core/solid-agent/composer/AgentComposer.tsx +113 -71
  183. package/dist/components/core/solid-agent/sdk/solidAgent.d.ts +4 -1
  184. package/dist/components/core/solid-agent/sdk/solidAgent.d.ts.map +1 -1
  185. package/dist/components/core/solid-agent/sdk/solidAgent.js.map +1 -1
  186. package/dist/components/core/solid-agent/sdk/solidAgent.ts +2 -2
  187. package/dist/components/core/solid-agent/thread/AgentThread.d.ts +2 -1
  188. package/dist/components/core/solid-agent/thread/AgentThread.d.ts.map +1 -1
  189. package/dist/components/core/solid-agent/thread/AgentThread.js +46 -36
  190. package/dist/components/core/solid-agent/thread/AgentThread.js.map +1 -1
  191. package/dist/components/core/solid-agent/thread/AgentThread.tsx +65 -62
  192. package/dist/components/core/solid-agent/thread/SolidAgentChatItem.d.ts +2 -2
  193. package/dist/components/core/solid-agent/thread/SolidAgentChatItem.d.ts.map +1 -1
  194. package/dist/components/core/solid-agent/thread/SolidAgentChatItem.js +9 -3
  195. package/dist/components/core/solid-agent/thread/SolidAgentChatItem.js.map +1 -1
  196. package/dist/components/core/solid-agent/thread/SolidAgentChatItem.tsx +12 -3
  197. package/dist/components/core/solid-agent/thread/inlineWidget.d.ts +15 -0
  198. package/dist/components/core/solid-agent/thread/inlineWidget.d.ts.map +1 -1
  199. package/dist/components/core/solid-agent/thread/inlineWidget.js +170 -19
  200. package/dist/components/core/solid-agent/thread/inlineWidget.js.map +1 -1
  201. package/dist/components/core/solid-agent/thread/inlineWidget.ts +164 -15
  202. package/dist/components/core/solid-agent/types.d.ts +73 -4
  203. package/dist/components/core/solid-agent/types.d.ts.map +1 -1
  204. package/dist/components/core/solid-agent/types.js +2 -0
  205. package/dist/components/core/solid-agent/types.js.map +1 -1
  206. package/dist/components/core/solid-agent/types.ts +68 -4
  207. package/dist/components/core/solid-agent/useAgentAvailability.d.ts +3 -1
  208. package/dist/components/core/solid-agent/useAgentAvailability.d.ts.map +1 -1
  209. package/dist/components/core/solid-agent/useAgentAvailability.js +16 -7
  210. package/dist/components/core/solid-agent/useAgentAvailability.js.map +1 -1
  211. package/dist/components/core/solid-agent/useAgentAvailability.ts +13 -6
  212. package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.d.ts +1 -1
  213. package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.d.ts.map +1 -1
  214. package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.js +7 -38
  215. package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.js.map +1 -1
  216. package/dist/components/core/solid-agent/widgets/DefaultToolCallChatWidget.tsx +8 -51
  217. package/dist/components/core/solid-agent/widgets/SolidProgressChatWidget.js +2 -1
  218. package/dist/components/core/solid-agent/widgets/SolidProgressChatWidget.js.map +1 -1
  219. package/dist/components/core/solid-agent/widgets/SolidProgressChatWidget.tsx +2 -2
  220. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.d.ts.map +1 -1
  221. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.js +3 -1
  222. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.js.map +1 -1
  223. package/dist/components/core/solid-agent/widgets/SolidStatusChatWidget.tsx +3 -2
  224. package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.d.ts +1 -1
  225. package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.d.ts.map +1 -1
  226. package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.js +77 -10
  227. package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.js.map +1 -1
  228. package/dist/components/core/solid-agent/widgets/SolidTableChatWidget.tsx +96 -18
  229. package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.d.ts.map +1 -1
  230. package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.js +1 -2
  231. package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.js.map +1 -1
  232. package/dist/components/core/solid-agent/widgets/SolidToolActivityChatWidget.tsx +1 -3
  233. package/dist/components/core/solid-agent/widgets/solidChatWidgets.module.css +62 -76
  234. package/dist/components/core/solid-ai/SolidAiChat.d.ts.map +1 -1
  235. package/dist/components/core/solid-ai/SolidAiChat.js +2 -2
  236. package/dist/components/core/solid-ai/SolidAiChat.js.map +1 -1
  237. package/dist/components/core/solid-ai/SolidAiChat.tsx +12 -10
  238. package/dist/components/core/tree/SolidTreeView.d.ts.map +1 -1
  239. package/dist/components/core/tree/SolidTreeView.js +42 -44
  240. package/dist/components/core/tree/SolidTreeView.js.map +1 -1
  241. package/dist/components/core/tree/SolidTreeView.tsx +2 -20
  242. package/dist/components/layout/AdminTopHeader.d.ts.map +1 -1
  243. package/dist/components/layout/AdminTopHeader.js +20 -4
  244. package/dist/components/layout/AdminTopHeader.js.map +1 -1
  245. package/dist/components/layout/AdminTopHeader.tsx +19 -4
  246. package/dist/components/layout/user-profile-menu.d.ts.map +1 -1
  247. package/dist/components/layout/user-profile-menu.js +12 -8
  248. package/dist/components/layout/user-profile-menu.js.map +1 -1
  249. package/dist/components/layout/user-profile-menu.tsx +26 -7
  250. package/dist/helpers/registry.d.ts.map +1 -1
  251. package/dist/helpers/registry.js +6 -0
  252. package/dist/helpers/registry.js.map +1 -1
  253. package/dist/helpers/registry.ts +6 -0
  254. package/dist/helpers/routePaths.d.ts +3 -0
  255. package/dist/helpers/routePaths.d.ts.map +1 -1
  256. package/dist/helpers/routePaths.js +32 -0
  257. package/dist/helpers/routePaths.js.map +1 -1
  258. package/dist/helpers/routePaths.ts +27 -0
  259. package/dist/redux/api/solidEntityApi.d.ts +1 -1
  260. package/dist/redux/api/solidEntityApi.js +5 -2
  261. package/dist/redux/api/solidEntityApi.js.map +1 -1
  262. package/dist/redux/api/solidEntityApi.tsx +5 -2
  263. package/dist/redux/features/agentSlice.d.ts +2 -1
  264. package/dist/redux/features/agentSlice.d.ts.map +1 -1
  265. package/dist/redux/features/agentSlice.js +5 -1
  266. package/dist/redux/features/agentSlice.js.map +1 -1
  267. package/dist/redux/features/agentSlice.ts +9 -2
  268. package/dist/redux/store/StoreProvider.d.ts.map +1 -1
  269. package/dist/redux/store/StoreProvider.js +46 -5
  270. package/dist/redux/store/StoreProvider.js.map +1 -1
  271. package/dist/redux/store/StoreProvider.tsx +48 -5
  272. package/dist/redux/store/createSolidStore.d.ts +3 -1
  273. package/dist/redux/store/createSolidStore.d.ts.map +1 -1
  274. package/dist/redux/store/createSolidStore.js +2 -1
  275. package/dist/redux/store/createSolidStore.js.map +1 -1
  276. package/dist/redux/store/createSolidStore.ts +2 -1
  277. package/dist/resources/globals.css +31 -4
  278. package/dist/resources/solid-custom.css +94 -0
  279. package/dist/resources/solid-tailwind-generated.css +1 -1
  280. package/dist/routes/pages/admin/core/AgentConfigComparisonPage.css +124 -0
  281. package/dist/routes/pages/admin/core/AgentConfigComparisonPage.d.ts +3 -0
  282. package/dist/routes/pages/admin/core/AgentConfigComparisonPage.d.ts.map +1 -0
  283. package/dist/routes/pages/admin/core/AgentConfigComparisonPage.js +144 -0
  284. package/dist/routes/pages/admin/core/AgentConfigComparisonPage.js.map +1 -0
  285. package/dist/routes/pages/admin/core/AgentConfigComparisonPage.tsx +164 -0
  286. package/dist/routes/pages/admin/core/AgentConfigVersionsPanel.d.ts +6 -0
  287. package/dist/routes/pages/admin/core/AgentConfigVersionsPanel.d.ts.map +1 -0
  288. package/dist/routes/pages/admin/core/AgentConfigVersionsPanel.js +52 -0
  289. package/dist/routes/pages/admin/core/AgentConfigVersionsPanel.js.map +1 -0
  290. package/dist/routes/pages/admin/core/AgentConfigVersionsPanel.tsx +53 -0
  291. package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.d.ts.map +1 -1
  292. package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.js +6 -2
  293. package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.js.map +1 -1
  294. package/dist/routes/pages/admin/core/AgentRegistryAuditPanel.tsx +5 -3
  295. package/dist/routes/pages/admin/core/AgentRegistryEditorPage.css +23 -2
  296. package/dist/routes/pages/admin/core/AgentRegistryEditorPage.d.ts.map +1 -1
  297. package/dist/routes/pages/admin/core/AgentRegistryEditorPage.js +252 -111
  298. package/dist/routes/pages/admin/core/AgentRegistryEditorPage.js.map +1 -1
  299. package/dist/routes/pages/admin/core/AgentRegistryEditorPage.tsx +167 -21
  300. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.css +361 -37
  301. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.d.ts.map +1 -1
  302. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.js +1 -1
  303. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.js.map +1 -1
  304. package/dist/routes/pages/admin/core/DatasourceIntrospectionPage.tsx +2 -0
  305. package/dist/routes/pages/admin/core/agentConfigComparison.d.ts +84 -0
  306. package/dist/routes/pages/admin/core/agentConfigComparison.d.ts.map +1 -0
  307. package/dist/routes/pages/admin/core/agentConfigComparison.js +75 -0
  308. package/dist/routes/pages/admin/core/agentConfigComparison.js.map +1 -0
  309. package/dist/routes/pages/admin/core/agentConfigComparison.ts +40 -0
  310. package/dist/routes/solidRoutes.d.ts.map +1 -1
  311. package/dist/routes/solidRoutes.js +2 -0
  312. package/dist/routes/solidRoutes.js.map +1 -1
  313. package/dist/routes/solidRoutes.tsx +2 -0
  314. package/package.json +1 -1
@@ -33,6 +33,78 @@
33
33
  color: var(--agent-fg);
34
34
  }
35
35
 
36
+ .unavailableRoot {
37
+ display: flex;
38
+ min-height: 0;
39
+ flex-direction: column;
40
+ background: var(--surface-card, var(--agent-bg));
41
+ }
42
+
43
+ .unavailableHeader {
44
+ display: flex;
45
+ flex: 0 0 auto;
46
+ align-items: center;
47
+ justify-content: space-between;
48
+ gap: 0.75rem;
49
+ min-height: 54px;
50
+ padding: 0 0.9rem;
51
+ border-bottom: 1px solid var(--surface-border, var(--agent-border));
52
+ color: var(--text-color, var(--agent-fg));
53
+ }
54
+
55
+ .unavailableHeader strong {
56
+ overflow: hidden;
57
+ text-overflow: ellipsis;
58
+ white-space: nowrap;
59
+ }
60
+
61
+ .unavailableBody {
62
+ display: flex;
63
+ min-height: 0;
64
+ flex: 1 1 auto;
65
+ padding: 0.75rem 1rem 1rem;
66
+ }
67
+
68
+ .unavailableCard {
69
+ display: flex;
70
+ min-height: 0;
71
+ flex: 1 1 auto;
72
+ flex-direction: column;
73
+ align-items: center;
74
+ justify-content: center;
75
+ gap: 0.7rem;
76
+ padding: 1.5rem;
77
+ border: 1px dashed var(--surface-border, var(--agent-border));
78
+ border-radius: 0.75rem;
79
+ background: color-mix(in srgb, var(--primary-color, var(--agent-primary)) 3%, var(--surface-ground, var(--agent-page)));
80
+ color: var(--text-color-secondary, var(--agent-muted));
81
+ text-align: center;
82
+ }
83
+
84
+ .unavailableIcon {
85
+ display: grid;
86
+ width: 2.6rem;
87
+ height: 2.6rem;
88
+ place-items: center;
89
+ border-radius: 50%;
90
+ background: color-mix(in srgb, var(--primary-color, var(--agent-primary)) 12%, transparent);
91
+ color: var(--primary-color, var(--agent-primary));
92
+ }
93
+
94
+ .unavailableTitle {
95
+ margin: 0;
96
+ color: var(--text-color, var(--agent-fg));
97
+ font-size: 0.9rem;
98
+ font-weight: 700;
99
+ }
100
+
101
+ .unavailableDescription {
102
+ max-width: 25rem;
103
+ margin: -0.5rem 0 0;
104
+ font-size: 0.78rem;
105
+ line-height: 1.45;
106
+ }
107
+
36
108
  .embedWait {
37
109
  position: absolute;
38
110
  z-index: 5;
@@ -144,7 +216,7 @@
144
216
  .compact {
145
217
  right: 24px;
146
218
  bottom: 88px;
147
- width: 400px;
219
+ width: 450px;
148
220
  height: min(600px, calc(100vh - 120px));
149
221
  border-radius: 14px;
150
222
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
@@ -187,165 +259,1088 @@
187
259
  .bubble { right: 16px; bottom: 16px; }
188
260
  }
189
261
 
190
- /* ── Header ──────────────────────────────────────────────────── */
191
- .header {
192
- flex: 0 0 auto;
262
+ /* ── Header ──────────────────────────────────────────────────── */
263
+ .header {
264
+ flex: 0 0 auto;
265
+ display: flex;
266
+ align-items: center;
267
+ gap: 10px;
268
+ height: 52px;
269
+ padding: 0 8px 0 14px;
270
+ border-bottom: 1px solid var(--agent-border);
271
+ }
272
+ .headerMark {
273
+ position: relative;
274
+ flex: 0 0 auto;
275
+ width: 28px;
276
+ height: 28px;
277
+ border-radius: 8px;
278
+ background: var(--agent-primary);
279
+ color: #fff;
280
+ display: flex;
281
+ align-items: center;
282
+ justify-content: center;
283
+ }
284
+ .statusDot {
285
+ position: absolute;
286
+ right: -3px;
287
+ bottom: -3px;
288
+ width: 10px;
289
+ height: 10px;
290
+ border-radius: 999px;
291
+ border: 2px solid var(--agent-bg);
292
+ }
293
+ .headerTitle { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
294
+ .headerTitleRow { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
295
+ .headerTitle strong { font-size: 14px; }
296
+ .headerVersionTag {
297
+ display: inline-flex;
298
+ align-items: center;
299
+ padding: 1px 5px;
300
+ color: var(--agent-muted);
301
+ font-size: 10px;
302
+ font-weight: 600;
303
+ font-family: var(--agent-font-mono, monospace);
304
+ letter-spacing: -0.2px;
305
+ flex-shrink: 0;
306
+ user-select: none;
307
+ }
308
+ .headerSub {
309
+ font-size: 11.5px;
310
+ color: var(--agent-muted);
311
+ overflow: hidden;
312
+ white-space: nowrap;
313
+ text-overflow: ellipsis;
314
+ display: flex;
315
+ align-items: center;
316
+ gap: 6px;
317
+ min-height: 18px;
318
+ line-height: 1;
319
+ }
320
+ .headerProviderTag {
321
+ display: inline-flex;
322
+ align-items: center;
323
+ justify-content: center;
324
+ height: 18px;
325
+ padding: 0 6px;
326
+ border-radius: 4px;
327
+ background: var(--agent-tint);
328
+ border: 1px solid color-mix(in srgb, var(--agent-primary) 22%, transparent);
329
+ color: var(--agent-primary);
330
+ font-size: 10px;
331
+ font-weight: 600;
332
+ line-height: 1;
333
+ flex-shrink: 0;
334
+ letter-spacing: 0.02em;
335
+ box-sizing: border-box;
336
+ }
337
+ .headerSessionTag {
338
+ display: inline-flex;
339
+ align-items: center;
340
+ justify-content: center;
341
+ gap: 3.5px;
342
+ height: 18px;
343
+ padding: 0 5px;
344
+ border-radius: 4px;
345
+ border: 1px solid transparent;
346
+ background: transparent;
347
+ color: var(--agent-muted);
348
+ font-family: var(--agent-mono);
349
+ font-size: 10px;
350
+ line-height: 1;
351
+ cursor: pointer;
352
+ flex-shrink: 0;
353
+ box-sizing: border-box;
354
+ vertical-align: middle;
355
+ transition: background .15s, color .15s, border-color .15s;
356
+ }
357
+ .headerSessionTag:hover {
358
+ background: var(--agent-tint);
359
+ border-color: color-mix(in srgb, var(--agent-primary) 15%, transparent);
360
+ color: var(--agent-primary);
361
+ }
362
+ .headerSessionPrefix {
363
+ opacity: 0.6;
364
+ }
365
+ .headerSessionCode {
366
+ display: inline-flex;
367
+ align-items: center;
368
+ line-height: 1;
369
+ letter-spacing: 0.02em;
370
+ transform: translateY(0.25px);
371
+ }
372
+ .headerSessionIcon {
373
+ display: inline-flex;
374
+ align-items: center;
375
+ justify-content: center;
376
+ flex-shrink: 0;
377
+ opacity: 0.6;
378
+ transition: opacity .15s;
379
+ }
380
+ .headerSessionTag:hover .headerSessionIcon {
381
+ opacity: 1;
382
+ }
383
+ .headerSessionIconCopied {
384
+ color: var(--agent-ok, #16a34a);
385
+ }
386
+ .headerStatusText {
387
+ overflow: hidden;
388
+ white-space: nowrap;
389
+ text-overflow: ellipsis;
390
+ }
391
+ .iconBtn {
392
+ width: 32px;
393
+ height: 32px;
394
+ border: 0;
395
+ border-radius: 8px;
396
+ background: transparent;
397
+ color: var(--agent-muted);
398
+ display: inline-flex;
399
+ align-items: center;
400
+ justify-content: center;
401
+ cursor: pointer;
402
+ }
403
+ .iconBtn:hover { background: var(--agent-tint); color: var(--agent-fg); }
404
+ .iconBtn:focus-visible { outline: 2px solid var(--agent-primary); outline-offset: 1px; }
405
+
406
+ /* ── Provider Split Button & Dropdown ────────────────────────── */
407
+ .newChatSplit {
408
+ position: relative;
409
+ display: inline-flex;
410
+ align-items: center;
411
+ border-radius: 8px;
412
+ background: transparent;
413
+ border: 0;
414
+ transition: background 0.15s;
415
+ }
416
+ .newChatSplit:hover {
417
+ background: var(--agent-tint);
418
+ }
419
+ .splitActionBtn {
420
+ display: inline-flex;
421
+ align-items: center;
422
+ justify-content: center;
423
+ height: 32px;
424
+ padding: 0 7px;
425
+ border: 0;
426
+ background: transparent;
427
+ color: var(--agent-muted);
428
+ border-radius: 6px;
429
+ cursor: pointer;
430
+ transition: color 0.15s, background 0.15s;
431
+ }
432
+ .splitActionBtn:hover {
433
+ background: color-mix(in srgb, var(--agent-fg) 8%, transparent);
434
+ color: var(--agent-fg);
435
+ }
436
+ .splitActionBtn:disabled {
437
+ opacity: 0.5;
438
+ cursor: not-allowed;
439
+ }
440
+ .splitDivider {
441
+ display: none;
442
+ }
443
+ .splitTriggerBtn {
444
+ display: inline-flex;
445
+ align-items: center;
446
+ justify-content: center;
447
+ height: 32px;
448
+ padding: 0 5px;
449
+ border: 0;
450
+ background: transparent;
451
+ color: var(--agent-muted);
452
+ border-radius: 6px;
453
+ cursor: pointer;
454
+ transition: color 0.15s, background 0.15s;
455
+ }
456
+ .splitTriggerBtn:hover,
457
+ .splitTriggerActive {
458
+ background: color-mix(in srgb, var(--agent-fg) 8%, transparent);
459
+ color: var(--agent-fg);
460
+ }
461
+ .splitChevron {
462
+ transition: transform 0.15s ease;
463
+ }
464
+ .splitChevronOpen {
465
+ transform: rotate(180deg);
466
+ }
467
+
468
+ .providerDropdown {
469
+ position: absolute;
470
+ top: calc(100% + 6px);
471
+ left: 0;
472
+ z-index: 50;
473
+ width: 240px;
474
+ max-width: min(280px, calc(100vw - 32px));
475
+ padding: 6px;
476
+ border-radius: 12px;
477
+ border: 1px solid var(--agent-border);
478
+ background: var(--agent-bg);
479
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
480
+ display: flex;
481
+ flex-direction: column;
482
+ gap: 4px;
483
+ }
484
+ .providerDropdownHeader {
485
+ display: flex;
486
+ flex-direction: column;
487
+ gap: 2px;
488
+ padding: 8px 10px;
489
+ border-bottom: 1px solid var(--agent-border);
490
+ }
491
+ .providerDropdownHeader strong {
492
+ font-size: 12px;
493
+ font-weight: 650;
494
+ color: var(--agent-fg);
495
+ }
496
+ .providerDropdownHeader span {
497
+ font-size: 10.5px;
498
+ color: var(--agent-muted);
499
+ }
500
+ .providerList {
501
+ display: flex;
502
+ flex-direction: column;
503
+ gap: 2px;
504
+ max-height: 280px;
505
+ overflow-y: auto;
506
+ padding: 2px 0;
507
+ }
508
+ .providerLoadingItem {
509
+ display: flex;
510
+ align-items: center;
511
+ gap: 8px;
512
+ padding: 12px 10px;
513
+ font-size: 12px;
514
+ color: var(--agent-muted);
515
+ }
516
+ .providerItem {
517
+ display: flex;
518
+ align-items: center;
519
+ justify-content: space-between;
520
+ width: 100%;
521
+ padding: 7px 10px;
522
+ border-radius: 7px;
523
+ border: 0;
524
+ background: transparent;
525
+ color: var(--agent-fg);
526
+ cursor: pointer;
527
+ text-align: left;
528
+ transition: background 0.12s;
529
+ }
530
+ .providerItem:hover {
531
+ background: color-mix(in srgb, var(--agent-fg) 6%, transparent);
532
+ }
533
+ .providerItemActive {
534
+ background: color-mix(in srgb, var(--agent-fg) 8%, transparent);
535
+ color: var(--agent-fg);
536
+ font-weight: 600;
537
+ }
538
+ .providerItemMeta {
539
+ display: flex;
540
+ align-items: center;
541
+ gap: 6px;
542
+ min-width: 0;
543
+ }
544
+ .providerItemName {
545
+ font-size: 12px;
546
+ overflow: hidden;
547
+ text-overflow: ellipsis;
548
+ white-space: nowrap;
549
+ }
550
+ .providerItemVersion {
551
+ font-size: 10px;
552
+ color: var(--agent-muted);
553
+ padding: 1px 5px;
554
+ border-radius: 4px;
555
+ background: var(--agent-page);
556
+ }
557
+ .providerCheck {
558
+ color: var(--agent-fg);
559
+ flex-shrink: 0;
560
+ }
561
+
562
+ .providerBadge {
563
+ display: inline-flex;
564
+ align-items: center;
565
+ padding: 1px 6px;
566
+ border-radius: 999px;
567
+ font-size: 10.5px;
568
+ font-weight: 550;
569
+ background: var(--agent-tint);
570
+ color: var(--agent-primary);
571
+ border: 1px solid color-mix(in srgb, var(--agent-primary) 25%, transparent);
572
+ white-space: nowrap;
573
+ flex-shrink: 0;
574
+ }
575
+
576
+ .banner {
577
+ flex: 0 0 auto;
578
+ display: flex;
579
+ align-items: center;
580
+ gap: 8px;
581
+ padding: 8px 14px;
582
+ font-size: 12.5px;
583
+ background: color-mix(in srgb, #eab308 14%, transparent);
584
+ color: var(--agent-warn);
585
+ border-bottom: 1px solid var(--agent-border);
586
+ }
587
+ .bannerError { background: color-mix(in srgb, var(--agent-err) 10%, transparent); color: var(--agent-err); }
588
+
589
+ /* ── History menu ────────────────────────────────────────────── */
590
+ .historyPanel { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 8px; }
591
+ .historySearchBox {
592
+ position: relative;
593
+ display: flex;
594
+ align-items: center;
595
+ min-width: 0;
596
+ margin: 0 0 8px 0;
597
+ }
598
+ .historySearchInput {
599
+ width: 100%;
600
+ height: 32px;
601
+ padding: 0 28px 0 30px;
602
+ border-radius: 8px;
603
+ border: 1px solid var(--agent-border);
604
+ background: var(--agent-tint);
605
+ color: var(--agent-fg);
606
+ font-family: inherit;
607
+ font-size: 12px;
608
+ outline: none;
609
+ transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
610
+ }
611
+ .historySearchInput::placeholder {
612
+ color: var(--agent-muted);
613
+ }
614
+ .historySearchInput:focus {
615
+ background: var(--agent-bg, #ffffff);
616
+ border-color: var(--agent-primary);
617
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--agent-primary) 20%, transparent);
618
+ }
619
+ .historySearchIcon {
620
+ position: absolute;
621
+ left: 10px;
622
+ color: var(--agent-muted);
623
+ pointer-events: none;
624
+ }
625
+ .historySearchClear {
626
+ position: absolute;
627
+ right: 8px;
628
+ border: 0;
629
+ background: transparent;
630
+ color: var(--agent-muted);
631
+ cursor: pointer;
632
+ display: inline-flex;
633
+ align-items: center;
634
+ justify-content: center;
635
+ padding: 2px;
636
+ border-radius: 4px;
637
+ transition: color 0.12s;
638
+ }
639
+ .historySearchClear:hover {
640
+ color: var(--agent-fg);
641
+ }
642
+ .historyRow {
643
+ display: flex;
644
+ align-items: center;
645
+ width: 100%;
646
+ min-width: 0;
647
+ border-radius: 8px;
648
+ transition: background 0.15s;
649
+ }
650
+ .historyRow:hover {
651
+ background: color-mix(in srgb, var(--agent-tint) 50%, transparent);
652
+ }
653
+ .historyActions {
654
+ flex: 0 0 auto;
655
+ display: flex;
656
+ align-items: center;
657
+ gap: 2px;
658
+ padding-right: 4px;
659
+ }
660
+ .historyActions .iconBtn {
661
+ width: 28px;
662
+ height: 28px;
663
+ flex-shrink: 0;
664
+ }
665
+ .historyRenameForm {
666
+ flex: 1 1 auto;
667
+ min-width: 0;
668
+ width: 100%;
669
+ display: flex;
670
+ align-items: center;
671
+ gap: 4px;
672
+ padding: 4px 6px;
673
+ background: var(--agent-tint);
674
+ border-radius: 8px;
675
+ }
676
+ .historyRenameInput {
677
+ flex: 1 1 auto;
678
+ min-width: 0;
679
+ height: 28px;
680
+ padding: 0 8px;
681
+ border-radius: 6px;
682
+ border: 1px solid var(--agent-border);
683
+ background: var(--agent-bg, #ffffff);
684
+ color: var(--agent-fg);
685
+ font-family: inherit;
686
+ font-size: 12px;
687
+ outline: none;
688
+ }
689
+ .historyRenameInput:focus {
690
+ border-color: var(--agent-primary);
691
+ box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--agent-primary) 25%, transparent);
692
+ }
693
+ .historyItem {
694
+ flex: 1 1 auto;
695
+ min-width: 0;
696
+ display: flex;
697
+ align-items: center;
698
+ gap: 8px;
699
+ padding: 9px 10px;
700
+ border: 0;
701
+ border-radius: 8px;
702
+ background: transparent;
703
+ color: var(--agent-fg);
704
+ text-align: left;
705
+ cursor: pointer;
706
+ font: inherit;
707
+ }
708
+ .historyItem:hover { background: var(--agent-tint); }
709
+ .historyItemActive { background: var(--agent-tint); font-weight: 600; }
710
+ .historyPreview { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
711
+ .historyDate { flex: 0 0 auto; font-size: 11px; color: var(--agent-muted); white-space: nowrap; }
712
+
713
+ /* ── Thread ──────────────────────────────────────────────────── */
714
+ .thread {
715
+ flex: 1 1 auto;
716
+ min-height: 0;
717
+ overflow-y: auto;
718
+ padding: 12px;
719
+ display: flex;
720
+ flex-direction: column;
721
+ gap: 9px;
722
+ }
723
+ .loadMore { align-self: center; }
724
+ .notice { align-self: center; font-size: 12px; color: var(--agent-muted); }
725
+ .spinner {
726
+ width: 14px;
727
+ height: 14px;
728
+ border-radius: 999px;
729
+ border: 2px solid var(--agent-tint);
730
+ border-top-color: var(--agent-primary);
731
+ animation: agentSpin 0.8s linear infinite;
732
+ flex: 0 0 auto;
733
+ }
734
+ @keyframes agentSpin { to { transform: rotate(360deg); } }
735
+ .spinIcon { color: var(--agent-primary); animation: agentSpin 0.8s linear infinite; flex: 0 0 auto; }
736
+
737
+ .tableWrap { overflow-x: auto; }
738
+
739
+ .toolSummary { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--agent-muted); font-family: var(--agent-mono); font-size: 11.5px; }
740
+ .toolMeta { flex: 0 0 auto; font-size: 11px; color: var(--agent-muted); }
741
+ .okIcon { color: var(--agent-ok); }
742
+ .errIcon { color: var(--agent-err); }
743
+
744
+ .composer {
745
+ flex: 0 0 auto;
746
+ padding: 10px 14px 14px;
747
+ border-top: 1px solid var(--agent-border);
748
+ display: flex;
749
+ flex-direction: column;
750
+ gap: 8px;
751
+ background: var(--agent-bg);
752
+ }
753
+ .composerBox {
754
+ position: relative;
755
+ display: flex;
756
+ flex-direction: column;
757
+ border: 1px solid var(--agent-border);
758
+ border-radius: 14px;
759
+ background: var(--agent-page);
760
+ transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
761
+ cursor: text;
762
+ }
763
+ .composerBox:focus-within {
764
+ border-color: var(--agent-primary);
765
+ box-shadow: 0 0 0 3px var(--agent-tint);
766
+ background: var(--agent-bg);
767
+ }
768
+ .composerDragging .composerBox {
769
+ background: var(--agent-tint);
770
+ border-color: var(--agent-primary);
771
+ border-style: dashed;
772
+ }
773
+ .modelInfo { position: relative; flex: 0 0 auto; align-self: flex-end; margin: 0 12px 8px; color: var(--agent-muted); }
774
+ .modelInfoInline { align-self: center; margin: 0; }
775
+ .modelInfoSummary {
776
+ display: flex;
777
+ align-items: center;
778
+ gap: 5px;
779
+ height: 28px;
780
+ padding: 0 8px;
781
+ border: 0;
782
+ border-radius: 8px;
783
+ background: transparent;
784
+ color: var(--agent-muted);
785
+ cursor: pointer;
786
+ list-style: none;
787
+ font-size: 11.5px;
788
+ font-weight: 550;
789
+ transition: background .15s, color .15s;
790
+ user-select: none;
791
+ }
792
+ .modelInfoSummary::-webkit-details-marker { display: none; }
793
+ .modelInfoSummary:hover, .modelInfo[open] .modelInfoSummary {
794
+ background: var(--agent-tint);
795
+ color: var(--agent-fg);
796
+ }
797
+ .modelInfoChevron { transition: transform .15s; }
798
+ .modelInfo[open] .modelInfoChevron { transform: rotate(180deg); }
799
+ .modelInfoMenu {
800
+ position: absolute;
801
+ z-index: 20;
802
+ left: 0;
803
+ bottom: calc(100% + 10px);
804
+ width: 240px;
805
+ max-width: min(280px, calc(100vw - 32px));
806
+ padding: 6px;
807
+ border: 1px solid var(--agent-border);
808
+ border-radius: 12px;
809
+ background: var(--agent-bg);
810
+ box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
811
+ }
812
+ .modelInfoHeading { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border-bottom: 1px solid var(--agent-border); }
813
+ .modelInfoHeading strong { color: var(--agent-fg); font-size: 12px; font-weight: 650; }
814
+ .modelInfoRow { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px; }
815
+ .modelInfoRow + .modelInfoRow { border-top: 1px solid var(--agent-border); }
816
+ .modelInfoRole { color: var(--agent-muted); font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
817
+ .modelInfoModel { max-width: 100%; overflow-wrap: anywhere; color: var(--agent-fg); font-size: 11px; font-weight: 600; line-height: 1.4; }
818
+ .modelInfoProvider { padding: 2px 6px; border-radius: 5px; background: var(--agent-page); color: var(--agent-muted); font-size: 10px; }
819
+ .modelInfoModelText,
820
+ .modelInfoLabelText {
821
+ color: var(--agent-fg);
822
+ font-weight: 600;
823
+ max-width: 180px;
824
+ overflow: hidden;
825
+ text-overflow: ellipsis;
826
+ white-space: nowrap;
827
+ }
828
+ .modelInfoEffortText {
829
+ color: var(--agent-muted);
830
+ font-weight: 400;
831
+ font-size: 11.5px;
832
+ white-space: nowrap;
833
+ transition: color .15s;
834
+ }
835
+ .modelInfoSummary:hover .modelInfoEffortText,
836
+ .modelInfo[open] .modelInfoSummary .modelInfoEffortText {
837
+ color: var(--agent-fg);
838
+ opacity: 0.85;
839
+ }
840
+ .modelInfoFastBadge {
841
+ color: #f59e0b;
842
+ flex-shrink: 0;
843
+ }
844
+ .modelMenuDivider {
845
+ height: 1px;
846
+ background: var(--agent-border);
847
+ margin: 4px 0;
848
+ }
849
+ .modelSubmenuContainer {
850
+ position: relative;
851
+ }
852
+ .modelSubmenuRow {
853
+ display: flex;
854
+ align-items: center;
855
+ justify-content: space-between;
856
+ width: 100%;
857
+ padding: 7px 10px;
858
+ border-radius: 7px;
859
+ border: 0;
860
+ background: transparent;
861
+ color: var(--agent-fg);
862
+ cursor: pointer;
863
+ font-family: inherit;
864
+ font-size: 11.5px;
865
+ font-weight: 500;
866
+ text-align: left;
867
+ transition: background 0.12s;
868
+ }
869
+ .modelSubmenuRow:hover,
870
+ .modelSubmenuContainer:hover .modelSubmenuRow {
871
+ background: var(--agent-tint);
872
+ }
873
+ .modelSubmenuRowActive {
874
+ color: var(--agent-fg);
875
+ }
876
+ .modelSubmenuRowLeft {
877
+ display: flex;
878
+ align-items: center;
879
+ gap: 7px;
880
+ }
881
+ .modelSubmenuRowRight {
882
+ display: flex;
883
+ align-items: center;
884
+ gap: 4px;
885
+ }
886
+ .modelSubmenuValue {
887
+ font-size: 10.5px;
888
+ color: var(--agent-muted);
889
+ font-weight: 500;
890
+ }
891
+ .modelSubmenuChevron {
892
+ color: var(--agent-muted);
893
+ transition: transform 0.12s;
894
+ }
895
+ .modelSubmenuIconActive {
896
+ color: var(--agent-fg);
897
+ }
898
+ .modelFastIconActive {
899
+ color: #f59e0b;
900
+ }
901
+ .modelSubmenu {
902
+ position: absolute;
903
+ left: calc(100% + 6px);
904
+ bottom: -4px;
905
+ min-width: 160px;
906
+ max-width: 220px;
907
+ padding: 5px;
908
+ border: 1px solid var(--agent-border);
909
+ border-radius: 10px;
910
+ background: var(--agent-bg);
911
+ box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
912
+ z-index: 30;
913
+ display: flex;
914
+ flex-direction: column;
915
+ gap: 2px;
916
+ animation: agentIn 0.12s ease;
917
+ }
918
+ @media (max-width: 440px) {
919
+ .modelSubmenu {
920
+ left: auto;
921
+ right: 0;
922
+ bottom: calc(100% + 6px);
923
+ }
924
+ }
925
+ .modelSubmenuHeading {
926
+ display: flex;
927
+ flex-direction: column;
928
+ gap: 2px;
929
+ padding: 6px 8px;
930
+ border-bottom: 1px solid var(--agent-border);
931
+ margin-bottom: 3px;
932
+ }
933
+ .modelSubmenuHeading strong {
934
+ color: var(--agent-fg);
935
+ font-size: 11px;
936
+ font-weight: 600;
937
+ }
938
+ .modelSubmenuHeading span {
939
+ color: var(--agent-muted);
940
+ font-size: 9.5px;
941
+ }
942
+ .modelDefaultTagActive {
943
+ font-size: 9px;
944
+ padding: 1px 5px;
945
+ border-radius: 3px;
946
+ background: color-mix(in srgb, var(--agent-fg) 9%, transparent);
947
+ color: var(--agent-fg);
948
+ font-weight: 600;
949
+ }
950
+ .modelFastTagActive {
951
+ font-size: 9px;
952
+ padding: 1px 5px;
953
+ border-radius: 3px;
954
+ background: color-mix(in srgb, #eab308 14%, transparent);
955
+ color: #f59e0b;
956
+ font-weight: 600;
957
+ }
958
+ .modelSelectItemFastActive {
959
+ background: color-mix(in srgb, #eab308 10%, transparent);
960
+ }
961
+ .modelSearchBox {
962
+ position: relative;
963
+ display: flex;
964
+ align-items: center;
965
+ padding: 4px 6px 6px;
966
+ border-bottom: 1px solid var(--agent-border);
967
+ margin-bottom: 2px;
968
+ }
969
+ .modelSearchInput {
970
+ width: 100%;
971
+ height: 28px;
972
+ padding: 0 24px 0 26px;
973
+ border-radius: 7px;
974
+ border: 0;
975
+ background: var(--agent-tint);
976
+ color: var(--agent-fg);
977
+ font-family: inherit;
978
+ font-size: 11.5px;
979
+ outline: none;
980
+ transition: background 0.15s, box-shadow 0.15s;
981
+ }
982
+ .modelSearchInput::placeholder {
983
+ color: var(--agent-muted);
984
+ }
985
+ .modelSearchInput:focus {
986
+ background: color-mix(in srgb, var(--agent-fg) 5%, var(--agent-tint));
987
+ box-shadow: 0 0 0 1px color-mix(in srgb, var(--agent-fg) 20%, transparent);
988
+ }
989
+ .modelSearchIcon {
990
+ position: absolute;
991
+ left: 14px;
992
+ color: var(--agent-muted);
993
+ pointer-events: none;
994
+ }
995
+ .modelSearchClear {
996
+ position: absolute;
997
+ right: 12px;
998
+ border: 0;
999
+ background: transparent;
1000
+ color: var(--agent-muted);
1001
+ cursor: pointer;
1002
+ display: inline-flex;
1003
+ align-items: center;
1004
+ justify-content: center;
1005
+ padding: 2px;
1006
+ border-radius: 4px;
1007
+ transition: color 0.12s;
1008
+ }
1009
+ .modelSearchClear:hover {
1010
+ color: var(--agent-fg);
1011
+ }
1012
+ .modelSearchEmpty {
1013
+ padding: 14px 10px;
1014
+ font-size: 11.5px;
1015
+ color: var(--agent-muted);
1016
+ text-align: center;
1017
+ }
1018
+ .modelSelectList {
1019
+ display: flex;
1020
+ flex-direction: column;
1021
+ gap: 2px;
1022
+ max-height: 240px;
1023
+ overflow-y: auto;
1024
+ padding: 0 0 4px 0;
1025
+ }
1026
+ .modelSelectItem {
1027
+ display: flex;
1028
+ align-items: center;
1029
+ justify-content: space-between;
1030
+ width: 100%;
1031
+ padding: 7px 10px;
1032
+ border-radius: 7px;
1033
+ border: 0;
1034
+ background: transparent;
1035
+ color: var(--agent-fg);
1036
+ cursor: pointer;
1037
+ text-align: left;
1038
+ transition: background 0.12s;
1039
+ }
1040
+ .modelSelectItem:hover {
1041
+ background: color-mix(in srgb, var(--agent-fg) 6%, transparent);
1042
+ }
1043
+ .modelSelectItemActive {
1044
+ background: color-mix(in srgb, var(--agent-fg) 8%, transparent);
1045
+ color: var(--agent-fg);
1046
+ font-weight: 600;
1047
+ }
1048
+ .modelSelectItemInfo {
1049
+ display: flex;
1050
+ flex-direction: column;
1051
+ gap: 2px;
1052
+ min-width: 0;
1053
+ }
1054
+ .modelSelectItemName {
1055
+ display: flex;
1056
+ align-items: center;
1057
+ gap: 6px;
1058
+ font-size: 11.5px;
1059
+ font-weight: 600;
1060
+ }
1061
+ .modelSelectItemDesc {
1062
+ font-size: 10px;
1063
+ color: var(--agent-muted);
1064
+ overflow: hidden;
1065
+ text-overflow: ellipsis;
1066
+ white-space: nowrap;
1067
+ }
1068
+ .modelDefaultTag {
1069
+ font-size: 9px;
1070
+ padding: 1px 4px;
1071
+ border-radius: 3px;
1072
+ background: var(--agent-page);
1073
+ color: var(--agent-muted);
1074
+ font-weight: normal;
1075
+ }
1076
+ .modelCheckIcon {
1077
+ color: var(--agent-fg);
1078
+ flex-shrink: 0;
1079
+ }
1080
+
1081
+ /* ── In-place Drill-down Reasoning View (Responsive for Constrained Screens) ── */
1082
+ .drilldownView {
1083
+ display: flex;
1084
+ flex-direction: column;
1085
+ width: 100%;
1086
+ animation: agentIn 0.12s ease;
1087
+ }
1088
+
1089
+ .drilldownHeader {
1090
+ display: flex;
1091
+ align-items: center;
1092
+ justify-content: space-between;
1093
+ padding: 4px 6px 8px;
1094
+ border-bottom: 1px solid var(--agent-border);
1095
+ margin-bottom: 4px;
1096
+ }
1097
+
1098
+ .drilldownBackBtn {
1099
+ display: inline-flex;
1100
+ align-items: center;
1101
+ gap: 4px;
1102
+ border: 0;
1103
+ background: transparent;
1104
+ color: var(--agent-muted);
1105
+ font: inherit;
1106
+ font-size: 11.5px;
1107
+ font-weight: 500;
1108
+ cursor: pointer;
1109
+ padding: 3px 6px;
1110
+ border-radius: 6px;
1111
+ transition: background 0.12s, color 0.12s;
1112
+ }
1113
+
1114
+ .drilldownBackBtn:hover {
1115
+ color: var(--agent-fg);
1116
+ background: color-mix(in srgb, var(--agent-fg) 6%, transparent);
1117
+ }
1118
+
1119
+ .drilldownTitle {
1120
+ font-size: 11px;
1121
+ color: var(--agent-muted);
1122
+ font-weight: 500;
1123
+ padding-right: 4px;
1124
+ }
1125
+
1126
+ .effortSelectList {
1127
+ display: flex;
1128
+ flex-direction: column;
1129
+ gap: 2px;
1130
+ max-height: 260px;
1131
+ overflow-y: auto;
1132
+ padding: 2px 0;
1133
+ overscroll-behavior: contain;
1134
+ }
1135
+
1136
+ /* ── Composer Feature Controls (Thinking & Fast) ── */
1137
+ .composerControlsGroup {
193
1138
  display: flex;
194
1139
  align-items: center;
195
- gap: 10px;
196
- height: 52px;
197
- padding: 0 8px 0 14px;
198
- border-bottom: 1px solid var(--agent-border);
1140
+ gap: 6px;
1141
+ flex-wrap: wrap;
199
1142
  }
200
- .headerMark {
201
- position: relative;
202
- flex: 0 0 auto;
203
- width: 28px;
1143
+
1144
+ .featureToggleBtn {
1145
+ display: inline-flex;
1146
+ align-items: center;
1147
+ gap: 5px;
204
1148
  height: 28px;
1149
+ padding: 0 8px;
205
1150
  border-radius: 8px;
206
- background: var(--agent-primary);
207
- color: #fff;
208
- display: flex;
209
- align-items: center;
210
- justify-content: center;
1151
+ border: 0;
1152
+ background: transparent;
1153
+ color: var(--agent-muted);
1154
+ font-family: inherit;
1155
+ font-size: 11.5px;
1156
+ font-weight: 550;
1157
+ cursor: pointer;
1158
+ user-select: none;
1159
+ transition: background 0.15s ease-in-out, color 0.15s ease-in-out;
211
1160
  }
212
- .statusDot {
213
- position: absolute;
214
- right: -3px;
215
- bottom: -3px;
216
- width: 10px;
217
- height: 10px;
218
- border-radius: 999px;
219
- border: 2px solid var(--agent-bg);
1161
+
1162
+ .featureToggleBtn:hover:not(:disabled) {
1163
+ color: var(--agent-fg);
1164
+ background: var(--agent-tint);
220
1165
  }
221
- .headerTitle { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
222
- .headerTitle strong { font-size: 14px; }
223
- .headerSub { font-size: 11.5px; color: var(--agent-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
224
- .iconBtn {
225
- width: 32px;
226
- height: 32px;
1166
+
1167
+ .featureToggleBtn:disabled {
1168
+ opacity: 0.5;
1169
+ cursor: not-allowed;
1170
+ }
1171
+
1172
+ .featureToggleThinkingActive {
1173
+ background: color-mix(in srgb, #9333ea 12%, transparent);
1174
+ border: 0;
1175
+ color: #a855f7;
1176
+ font-weight: 600;
1177
+ }
1178
+
1179
+ .featureToggleThinkingActive:hover:not(:disabled) {
1180
+ background: color-mix(in srgb, #9333ea 20%, transparent);
1181
+ }
1182
+
1183
+ .featureToggleFastActive {
1184
+ background: color-mix(in srgb, #eab308 14%, transparent);
227
1185
  border: 0;
1186
+ color: #f59e0b;
1187
+ font-weight: 600;
1188
+ }
1189
+
1190
+ .featureToggleFastActive:hover:not(:disabled) {
1191
+ background: color-mix(in srgb, #eab308 22%, transparent);
1192
+ }
1193
+
1194
+ .featureDropdown {
1195
+ position: relative;
1196
+ display: inline-flex;
1197
+ }
1198
+
1199
+ .featureSummary {
1200
+ display: inline-flex;
1201
+ align-items: center;
1202
+ gap: 5px;
1203
+ height: 28px;
1204
+ padding: 0 8px;
228
1205
  border-radius: 8px;
1206
+ border: 0;
229
1207
  background: transparent;
230
1208
  color: var(--agent-muted);
231
- display: inline-flex;
232
- align-items: center;
233
- justify-content: center;
1209
+ font-family: inherit;
1210
+ font-size: 11.5px;
1211
+ font-weight: 550;
234
1212
  cursor: pointer;
1213
+ list-style: none;
1214
+ user-select: none;
1215
+ transition: background 0.15s ease-in-out, color 0.15s ease-in-out;
235
1216
  }
236
- .iconBtn:hover { background: var(--agent-tint); color: var(--agent-fg); }
237
- .iconBtn:focus-visible { outline: 2px solid var(--agent-primary); outline-offset: 1px; }
238
1217
 
239
- .banner {
240
- flex: 0 0 auto;
1218
+ .featureSummary::-webkit-details-marker {
1219
+ display: none;
1220
+ }
1221
+
1222
+ .featureSummary:hover,
1223
+ .featureDropdown[open] .featureSummary {
1224
+ background: var(--agent-tint);
1225
+ color: var(--agent-fg);
1226
+ }
1227
+
1228
+ .featureSummaryActive {
1229
+ background: color-mix(in srgb, #9333ea 12%, transparent);
1230
+ border: 0;
1231
+ color: #a855f7;
1232
+ font-weight: 600;
1233
+ }
1234
+
1235
+ .featureChevron {
1236
+ transition: transform 0.15s;
1237
+ }
1238
+
1239
+ .featureDropdown[open] .featureChevron {
1240
+ transform: rotate(180deg);
1241
+ }
1242
+
1243
+ .featureMenu {
1244
+ position: absolute;
1245
+ z-index: 25;
1246
+ left: 0;
1247
+ bottom: calc(100% + 8px);
1248
+ min-width: 170px;
1249
+ padding: 4px;
1250
+ border: 1px solid var(--agent-border);
1251
+ border-radius: 10px;
1252
+ background: var(--agent-bg);
1253
+ box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
1254
+ }
1255
+
1256
+ .featureMenuHeading {
241
1257
  display: flex;
242
- align-items: center;
243
- gap: 8px;
244
- padding: 8px 14px;
245
- font-size: 12.5px;
246
- background: color-mix(in srgb, #eab308 14%, transparent);
247
- color: var(--agent-warn);
1258
+ flex-direction: column;
1259
+ gap: 2px;
1260
+ padding: 6px 8px;
248
1261
  border-bottom: 1px solid var(--agent-border);
249
1262
  }
250
- .bannerError { background: color-mix(in srgb, var(--agent-err) 10%, transparent); color: var(--agent-err); }
251
1263
 
252
- /* ── History menu ────────────────────────────────────────────── */
253
- .historyPanel { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px; }
254
- .historyItem {
1264
+ .featureMenuHeading strong {
1265
+ color: var(--agent-fg);
1266
+ font-size: 11.5px;
1267
+ font-weight: 600;
1268
+ }
1269
+
1270
+ .featureMenuHeading span {
1271
+ color: var(--agent-muted);
1272
+ font-size: 10px;
1273
+ }
1274
+
1275
+ .featureMenuItem {
255
1276
  width: 100%;
256
1277
  display: flex;
257
1278
  align-items: center;
1279
+ justify-content: space-between;
258
1280
  gap: 8px;
259
- padding: 9px 10px;
1281
+ padding: 6px 8px;
260
1282
  border: 0;
261
- border-radius: 8px;
1283
+ border-radius: 6px;
262
1284
  background: transparent;
263
1285
  color: var(--agent-fg);
1286
+ font-family: inherit;
1287
+ font-size: 11.5px;
1288
+ font-weight: 500;
264
1289
  text-align: left;
265
1290
  cursor: pointer;
266
- font: inherit;
1291
+ transition: background 0.12s;
267
1292
  }
268
- .historyItem:hover { background: var(--agent-tint); }
269
- .historyItemActive { background: var(--agent-tint); font-weight: 600; }
270
- .historyPreview { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
271
- .historyDate { flex: 0 0 auto; font-size: 11px; color: var(--agent-muted); }
272
1293
 
273
- /* ── Thread ──────────────────────────────────────────────────── */
274
- .thread {
275
- flex: 1 1 auto;
276
- min-height: 0;
277
- overflow-y: auto;
278
- padding: 12px;
279
- display: flex;
280
- flex-direction: column;
281
- gap: 9px;
282
- }
283
- .loadMore { align-self: center; }
284
- .notice { align-self: center; font-size: 12px; color: var(--agent-muted); }
285
- .spinner {
286
- width: 14px;
287
- height: 14px;
288
- border-radius: 999px;
289
- border: 2px solid var(--agent-tint);
290
- border-top-color: var(--agent-primary);
291
- animation: agentSpin 0.8s linear infinite;
292
- flex: 0 0 auto;
1294
+ .featureMenuItem:hover {
1295
+ background: var(--agent-tint);
293
1296
  }
294
- @keyframes agentSpin { to { transform: rotate(360deg); } }
295
- .spinIcon { color: var(--agent-primary); animation: agentSpin 0.8s linear infinite; flex: 0 0 auto; }
296
1297
 
297
- .tableWrap { overflow-x: auto; }
298
-
299
- .toolSummary { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--agent-muted); font-family: var(--agent-mono); font-size: 11.5px; }
300
- .toolMeta { flex: 0 0 auto; font-size: 11px; color: var(--agent-muted); }
301
- .okIcon { color: var(--agent-ok); }
302
- .errIcon { color: var(--agent-err); }
1298
+ .featureMenuItemActive {
1299
+ color: #c084fc;
1300
+ font-weight: 600;
1301
+ background: color-mix(in srgb, #9333ea 10%, transparent);
1302
+ }
303
1303
 
304
- /* ── Composer ────────────────────────────────────────────────── */
305
- .composer { flex: 0 0 auto; padding: 12px; border-top: 1px solid var(--agent-border); display: flex; flex-direction: column; gap: 8px; }
306
- .modelInfo { position: relative; flex: 0 0 auto; align-self: flex-end; margin: 0 12px 8px; color: var(--agent-muted); }
307
- .modelInfoInline { align-self: center; margin: 0; }
308
- .modelInfoSummary { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--agent-border); border-radius: 8px; background: var(--agent-page); color: var(--agent-muted); cursor: pointer; list-style: none; font-size: 11px; font-weight: 600; transition: border-color .15s, color .15s, background .15s; }
309
- .modelInfoSummary::-webkit-details-marker { display: none; }
310
- .modelInfoSummary:hover, .modelInfo[open] .modelInfoSummary { border-color: var(--agent-primary); background: var(--agent-tint); color: var(--agent-fg); }
311
- .modelInfoChevron { transition: transform .15s; }
312
- .modelInfo[open] .modelInfoChevron { transform: rotate(180deg); }
313
- .modelInfoMenu { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 10px); width: 280px; max-width: min(320px, calc(100vw - 32px)); padding: 6px; border: 1px solid var(--agent-border); border-radius: 12px; background: var(--agent-bg); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
314
- .modelInfoHeading { display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 9px; border-bottom: 1px solid var(--agent-border); }
315
- .modelInfoHeading strong { color: var(--agent-fg); font-size: 12px; font-weight: 650; }
316
- .modelInfoHeading span { color: var(--agent-muted); font-size: 10.5px; }
317
- .modelInfoRow { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px; }
318
- .modelInfoRow + .modelInfoRow { border-top: 1px solid var(--agent-border); }
319
- .modelInfoRole { color: var(--agent-muted); font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
320
- .modelInfoModel { max-width: 100%; overflow-wrap: anywhere; color: var(--agent-fg); font-size: 11px; font-weight: 600; line-height: 1.4; }
321
- .modelInfoProvider { padding: 2px 6px; border-radius: 5px; background: var(--agent-page); color: var(--agent-muted); font-size: 10px; }
322
- .modelInfoUnavailable { color: var(--agent-muted); font-size: 11px; font-weight: 500; }
323
1304
  .textarea {
324
1305
  width: 100%;
325
1306
  min-height: 44px;
326
1307
  max-height: 200px;
327
1308
  resize: none;
328
1309
  box-sizing: border-box;
329
- padding: 10px 12px;
330
- border-radius: 10px;
331
- border: 1px solid var(--agent-border);
332
- background: var(--agent-bg);
1310
+ padding: 10px 12px 6px;
1311
+ border: 0;
1312
+ border-radius: 14px 14px 0 0;
1313
+ background: transparent;
333
1314
  color: var(--agent-fg);
334
1315
  font: inherit;
1316
+ font-size: 13.5px;
335
1317
  line-height: 1.5;
336
1318
  outline: none;
1319
+ box-shadow: none;
1320
+ }
1321
+ .textarea:focus { border: 0; box-shadow: none; outline: none; }
1322
+ .textarea:disabled { cursor: not-allowed; color: var(--agent-muted); }
1323
+ .composerRow {
1324
+ display: flex;
1325
+ align-items: center;
1326
+ gap: 4px;
1327
+ padding: 4px 8px 8px 8px;
337
1328
  }
338
- .textarea:focus { border-color: var(--agent-primary); box-shadow: 0 0 0 3px var(--agent-tint); }
339
- .textarea:disabled { background: var(--agent-page); cursor: not-allowed; }
340
- .composerRow { display: flex; align-items: center; gap: 8px; }
341
1329
  /* Send / Stop sit at the right edge, whatever comes before them in the row. */
342
1330
  .composerRow > .sendBtn,
343
1331
  .composerRow > .stopBtn { margin-left: auto; }
344
- .composerDragging { background: var(--agent-tint); outline: 2px dashed var(--agent-primary); outline-offset: -6px; }
1332
+ .composerDragging { background: transparent; }
345
1333
  .iconBtn:disabled { opacity: 0.45; cursor: not-allowed; }
346
1334
 
347
1335
  /* Attachments waiting to be sent */
348
- .attachmentTray { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
1336
+ .attachmentTray {
1337
+ list-style: none;
1338
+ margin: 0;
1339
+ padding: 8px 10px 2px;
1340
+ display: flex;
1341
+ flex-wrap: wrap;
1342
+ gap: 6px;
1343
+ }
349
1344
  .attachmentChip {
350
1345
  display: flex;
351
1346
  align-items: center;
@@ -388,8 +1383,8 @@
388
1383
  .attachmentErrors { font-size: 12px; color: var(--agent-err); display: flex; flex-direction: column; gap: 2px; }
389
1384
  .hint { flex: 1 1 auto; font-size: 11px; color: var(--agent-muted); }
390
1385
  .sendBtn {
391
- width: 34px;
392
- height: 34px;
1386
+ width: 30px;
1387
+ height: 30px;
393
1388
  border: 0;
394
1389
  border-radius: 999px;
395
1390
  background: var(--agent-primary);
@@ -398,22 +1393,39 @@
398
1393
  align-items: center;
399
1394
  justify-content: center;
400
1395
  cursor: pointer;
1396
+ transition: background 0.15s ease, transform 0.12s ease, opacity 0.15s ease;
1397
+ }
1398
+ .sendBtn:hover:not(:disabled) {
1399
+ filter: brightness(1.08);
1400
+ }
1401
+ .sendBtn:active:not(:disabled) {
1402
+ transform: scale(0.94);
1403
+ }
1404
+ .sendBtn:disabled {
1405
+ background: color-mix(in srgb, var(--agent-muted) 16%, transparent);
1406
+ color: var(--agent-muted);
1407
+ opacity: 0.55;
1408
+ cursor: not-allowed;
401
1409
  }
402
- .sendBtn:disabled { background: var(--agent-border); color: var(--agent-muted); cursor: not-allowed; }
403
1410
  .stopBtn {
404
- height: 34px;
405
- padding: 0 12px;
406
- border: 1px solid var(--agent-border);
1411
+ width: 30px;
1412
+ height: 30px;
1413
+ padding: 0;
1414
+ border: 0;
407
1415
  border-radius: 999px;
408
- background: var(--agent-bg);
409
- color: var(--agent-fg);
410
- font: inherit;
411
- font-size: 12.5px;
412
- font-weight: 600;
1416
+ background: var(--agent-tint);
1417
+ color: var(--agent-primary);
413
1418
  display: inline-flex;
414
1419
  align-items: center;
415
- gap: 6px;
1420
+ justify-content: center;
416
1421
  cursor: pointer;
1422
+ transition: background 0.15s ease, transform 0.12s ease;
1423
+ }
1424
+ .stopBtn:hover {
1425
+ background: color-mix(in srgb, var(--agent-primary) 18%, transparent);
1426
+ }
1427
+ .stopBtn:active {
1428
+ transform: scale(0.94);
417
1429
  }
418
1430
  .popover {
419
1431
  border: 1px solid var(--agent-border);
@@ -447,20 +1459,41 @@
447
1459
  .emptyMark { width: 48px; height: 48px; border-radius: 14px; background: var(--agent-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
448
1460
  .emptyTitle { margin: 0; font-size: 16px; font-weight: 700; }
449
1461
  .emptyText { margin: 0; max-width: 320px; font-size: 13px; line-height: 1.6; color: var(--agent-muted); }
1462
+ .emptyProviderBadge {
1463
+ display: inline-flex;
1464
+ align-items: center;
1465
+ gap: 4px;
1466
+ margin-top: 2px;
1467
+ padding: 3px 10px;
1468
+ border-radius: 999px;
1469
+ background: var(--agent-tint);
1470
+ border: 1px solid color-mix(in srgb, var(--agent-primary) 18%, transparent);
1471
+ color: var(--agent-muted);
1472
+ font-size: 11px;
1473
+ }
1474
+ .emptyProviderBadge strong {
1475
+ color: var(--agent-primary);
1476
+ font-weight: 600;
1477
+ }
450
1478
  .suggestions { width: 100%; display: flex; flex-direction: column; gap: 8px; }
451
1479
  .suggestion {
452
- padding: 10px 12px;
453
- border: 1px solid color-mix(in srgb, var(--agent-primary) 22%, transparent);
1480
+ padding: 9px 12px;
1481
+ border: 1px solid var(--agent-border);
454
1482
  border-radius: 10px;
455
- background: var(--agent-bg);
1483
+ background: var(--agent-page);
456
1484
  color: var(--agent-fg);
457
1485
  font: inherit;
458
1486
  font-size: 12.5px;
459
- font-weight: 600;
1487
+ font-weight: 550;
460
1488
  text-align: left;
461
1489
  cursor: pointer;
1490
+ transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
1491
+ }
1492
+ .suggestion:hover {
1493
+ border-color: color-mix(in srgb, var(--agent-primary) 35%, transparent);
1494
+ background: var(--agent-tint);
1495
+ color: var(--agent-primary);
462
1496
  }
463
- .suggestion:hover { background: var(--agent-tint); }
464
1497
 
465
1498
  /* ── Widgets ─────────────────────────────────────────────────── */
466
1499
  .card { border: 1px solid var(--agent-border); border-radius: 12px; background: var(--agent-bg); overflow: hidden; }
@@ -594,3 +1627,113 @@
594
1627
  }
595
1628
  .signInBtn:disabled { opacity: 0.55; cursor: not-allowed; }
596
1629
  .signInBtn .spinIcon { color: #fff; }
1630
+
1631
+ /* ── Context & Token Pill (OpenCode style) ─────────────────────── */
1632
+ .contextPillContainer {
1633
+ position: relative;
1634
+ display: inline-flex;
1635
+ align-items: center;
1636
+ user-select: none;
1637
+ }
1638
+ .contextPillBtn {
1639
+ display: inline-flex;
1640
+ align-items: center;
1641
+ justify-content: center;
1642
+ width: 28px;
1643
+ height: 28px;
1644
+ padding: 0;
1645
+ border: 0;
1646
+ border-radius: 8px;
1647
+ background: transparent;
1648
+ cursor: pointer;
1649
+ color: var(--agent-muted);
1650
+ transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
1651
+ }
1652
+ .contextPillBtn:hover:not(:disabled) {
1653
+ background: var(--agent-tint);
1654
+ color: var(--agent-fg);
1655
+ transform: scale(1.05);
1656
+ }
1657
+ .contextPillBtn:focus-visible {
1658
+ outline: 2px solid var(--agent-primary);
1659
+ outline-offset: 1px;
1660
+ }
1661
+ .contextPillBtn:disabled {
1662
+ opacity: 0.45;
1663
+ cursor: not-allowed;
1664
+ }
1665
+ .contextRingSvg {
1666
+ width: 17px;
1667
+ height: 17px;
1668
+ transform: rotate(-90deg);
1669
+ display: block;
1670
+ flex-shrink: 0;
1671
+ }
1672
+ .contextRingTrack {
1673
+ stroke: color-mix(in srgb, var(--agent-muted) 45%, transparent);
1674
+ fill: none;
1675
+ }
1676
+ .contextRingProgress {
1677
+ stroke: var(--agent-primary);
1678
+ fill: none;
1679
+ transition: stroke-dashoffset 0.35s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s ease;
1680
+ }
1681
+ .contextProgressWarn {
1682
+ stroke: #f59e0b !important;
1683
+ }
1684
+ .contextProgressDanger {
1685
+ stroke: #ef4444 !important;
1686
+ }
1687
+ .contextPopoverContent {
1688
+ background: var(--surface-card, var(--agent-bg)) !important;
1689
+ border: 1px solid var(--surface-border, var(--agent-border)) !important;
1690
+ border-radius: 10px !important;
1691
+ padding: 12px 14px !important;
1692
+ box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.2), 0 4px 12px -2px rgba(0, 0, 0, 0.1) !important;
1693
+ display: flex !important;
1694
+ flex-direction: column !important;
1695
+ gap: 8px !important;
1696
+ min-width: 195px !important;
1697
+ pointer-events: auto !important;
1698
+ user-select: none;
1699
+ color: var(--text-color, var(--agent-fg)) !important;
1700
+ }
1701
+ .contextPopoverBarTrack {
1702
+ width: 100%;
1703
+ height: 4px;
1704
+ border-radius: 2px;
1705
+ background: var(--agent-border);
1706
+ overflow: hidden;
1707
+ margin-bottom: 2px;
1708
+ }
1709
+ .contextPopoverBarFill {
1710
+ height: 100%;
1711
+ border-radius: 2px;
1712
+ background: var(--agent-primary);
1713
+ transition: width 0.3s ease;
1714
+ }
1715
+ .contextPopoverBarWarn {
1716
+ background: #f59e0b;
1717
+ }
1718
+ .contextPopoverBarDanger {
1719
+ background: #ef4444;
1720
+ }
1721
+ .contextCardRow {
1722
+ display: flex;
1723
+ align-items: center;
1724
+ justify-content: space-between;
1725
+ gap: 18px;
1726
+ font-size: 12px;
1727
+ line-height: 1.35;
1728
+ }
1729
+ .contextCardLabel {
1730
+ color: var(--agent-muted);
1731
+ font-weight: 500;
1732
+ }
1733
+ .contextCardValue {
1734
+ color: var(--agent-fg);
1735
+ font-weight: 600;
1736
+ font-variant-numeric: tabular-nums;
1737
+ text-align: right;
1738
+ }
1739
+